random: Add include checks for c++11 and <cstdint>.
[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 ENABLE_PARALLEL_FALSE
676 ENABLE_PARALLEL_TRUE
677 GLIBCXX_BUILD_DEBUG_FALSE
678 GLIBCXX_BUILD_DEBUG_TRUE
679 DEBUG_FLAGS
680 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
681 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
682 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
683 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
684 GLIBCXX_C_HEADERS_C_STD_FALSE
685 GLIBCXX_C_HEADERS_C_STD_TRUE
686 GLIBCXX_C_HEADERS_C_FALSE
687 GLIBCXX_C_HEADERS_C_TRUE
688 C_INCLUDE_DIR
689 ALLOCATOR_NAME
690 ALLOCATOR_H
691 CLOCALE_INTERNAL_H
692 CLOCALE_CC
693 CTIME_CC
694 CTIME_H
695 CNUMERIC_CC
696 CMONEY_CC
697 CMESSAGES_CC
698 CCTYPE_CC
699 CCOLLATE_CC
700 CCODECVT_CC
701 CMESSAGES_H
702 CLOCALE_H
703 USE_NLS
704 glibcxx_localedir
705 glibcxx_POFILES
706 glibcxx_MOFILES
707 check_msgfmt
708 BASIC_FILE_CC
709 BASIC_FILE_H
710 CSTDIO_H
711 SECTION_FLAGS
712 WERROR
713 glibcxx_PCHFLAGS
714 GLIBCXX_BUILD_PCH_FALSE
715 GLIBCXX_BUILD_PCH_TRUE
716 GLIBCXX_HOSTED_FALSE
717 GLIBCXX_HOSTED_TRUE
718 glibcxx_compiler_shared_flag
719 glibcxx_compiler_pic_flag
720 glibcxx_lt_pic_flag
721 enable_static
722 enable_shared
723 lt_host_flags
724 CXXCPP
725 OTOOL64
726 OTOOL
727 LIPO
728 NMEDIT
729 DSYMUTIL
730 OBJDUMP
731 NM
732 ac_ct_DUMPBIN
733 DUMPBIN
734 LD
735 FGREP
736 SED
737 LIBTOOL
738 EGREP
739 GREP
740 CPP
741 MAINT
742 MAINTAINER_MODE_FALSE
743 MAINTAINER_MODE_TRUE
744 RANLIB
745 AR
746 AS
747 LN_S
748 toplevel_srcdir
749 toplevel_builddir
750 glibcxx_srcdir
751 glibcxx_builddir
752 ac_ct_CXX
753 CXXFLAGS
754 CXX
755 OBJEXT
756 EXEEXT
757 ac_ct_CC
758 CPPFLAGS
759 LDFLAGS
760 CFLAGS
761 CC
762 am__untar
763 am__tar
764 AMTAR
765 am__leading_dot
766 SET_MAKE
767 AWK
768 mkdir_p
769 MKDIR_P
770 INSTALL_STRIP_PROGRAM
771 STRIP
772 install_sh
773 MAKEINFO
774 AUTOHEADER
775 AUTOMAKE
776 AUTOCONF
777 ACLOCAL
778 VERSION
779 PACKAGE
780 CYGPATH_W
781 am__isrc
782 INSTALL_DATA
783 INSTALL_SCRIPT
784 INSTALL_PROGRAM
785 target_os
786 target_vendor
787 target_cpu
788 target
789 host_os
790 host_vendor
791 host_cpu
792 host
793 build_os
794 build_vendor
795 build_cpu
796 build
797 multi_basedir
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL'
836 ac_subst_files=''
837 ac_user_opts='
838 enable_option_checking
839 enable_multilib
840 with_target_subdir
841 with_cross_host
842 with_newlib
843 enable_maintainer_mode
844 enable_shared
845 enable_static
846 with_pic
847 enable_fast_install
848 with_gnu_ld
849 enable_libtool_lock
850 enable_hosted_libstdcxx
851 enable_libstdcxx_verbose
852 enable_sjlj_exceptions
853 enable_libstdcxx_pch
854 enable_cstdio
855 enable_clocale
856 enable_nls
857 enable_libstdcxx_allocator
858 enable_cheaders
859 enable_long_long
860 enable_wchar_t
861 enable_c99
862 enable_concept_checks
863 enable_libstdcxx_debug_flags
864 enable_libstdcxx_debug
865 enable_cxx_flags
866 enable_fully_dynamic_string
867 enable_extern_template
868 with_python_dir
869 enable_werror
870 enable_libstdcxx_time
871 enable_tls
872 enable_rpath
873 with_libiconv_prefix
874 with_system_libunwind
875 enable_linux_futex
876 enable_symvers
877 enable_libstdcxx_visibility
878 enable_libstdcxx_threads
879 with_gxx_include_dir
880 enable_version_specific_runtime_libs
881 '
882 ac_precious_vars='build_alias
883 host_alias
884 target_alias
885 CC
886 CFLAGS
887 LDFLAGS
888 LIBS
889 CPPFLAGS
890 CXX
891 CXXFLAGS
892 CCC
893 CPP
894 CXXCPP
895 CXXFILT'
896
897
898 # Initialize some variables set by options.
899 ac_init_help=
900 ac_init_version=false
901 ac_unrecognized_opts=
902 ac_unrecognized_sep=
903 # The variables have the same names as the options, with
904 # dashes changed to underlines.
905 cache_file=/dev/null
906 exec_prefix=NONE
907 no_create=
908 no_recursion=
909 prefix=NONE
910 program_prefix=NONE
911 program_suffix=NONE
912 program_transform_name=s,x,x,
913 silent=
914 site=
915 srcdir=
916 verbose=
917 x_includes=NONE
918 x_libraries=NONE
919
920 # Installation directory options.
921 # These are left unexpanded so users can "make install exec_prefix=/foo"
922 # and all the variables that are supposed to be based on exec_prefix
923 # by default will actually change.
924 # Use braces instead of parens because sh, perl, etc. also accept them.
925 # (The list follows the same order as the GNU Coding Standards.)
926 bindir='${exec_prefix}/bin'
927 sbindir='${exec_prefix}/sbin'
928 libexecdir='${exec_prefix}/libexec'
929 datarootdir='${prefix}/share'
930 datadir='${datarootdir}'
931 sysconfdir='${prefix}/etc'
932 sharedstatedir='${prefix}/com'
933 localstatedir='${prefix}/var'
934 includedir='${prefix}/include'
935 oldincludedir='/usr/include'
936 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
937 infodir='${datarootdir}/info'
938 htmldir='${docdir}'
939 dvidir='${docdir}'
940 pdfdir='${docdir}'
941 psdir='${docdir}'
942 libdir='${exec_prefix}/lib'
943 localedir='${datarootdir}/locale'
944 mandir='${datarootdir}/man'
945
946 ac_prev=
947 ac_dashdash=
948 for ac_option
949 do
950 # If the previous option needs an argument, assign it.
951 if test -n "$ac_prev"; then
952 eval $ac_prev=\$ac_option
953 ac_prev=
954 continue
955 fi
956
957 case $ac_option in
958 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
959 *) ac_optarg=yes ;;
960 esac
961
962 # Accept the important Cygnus configure options, so we can diagnose typos.
963
964 case $ac_dashdash$ac_option in
965 --)
966 ac_dashdash=yes ;;
967
968 -bindir | --bindir | --bindi | --bind | --bin | --bi)
969 ac_prev=bindir ;;
970 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
971 bindir=$ac_optarg ;;
972
973 -build | --build | --buil | --bui | --bu)
974 ac_prev=build_alias ;;
975 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
976 build_alias=$ac_optarg ;;
977
978 -cache-file | --cache-file | --cache-fil | --cache-fi \
979 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
980 ac_prev=cache_file ;;
981 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
982 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
983 cache_file=$ac_optarg ;;
984
985 --config-cache | -C)
986 cache_file=config.cache ;;
987
988 -datadir | --datadir | --datadi | --datad)
989 ac_prev=datadir ;;
990 -datadir=* | --datadir=* | --datadi=* | --datad=*)
991 datadir=$ac_optarg ;;
992
993 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
994 | --dataroo | --dataro | --datar)
995 ac_prev=datarootdir ;;
996 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
997 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
998 datarootdir=$ac_optarg ;;
999
1000 -disable-* | --disable-*)
1001 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1004 as_fn_error "invalid feature name: $ac_useropt"
1005 ac_useropt_orig=$ac_useropt
1006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1007 case $ac_user_opts in
1008 *"
1009 "enable_$ac_useropt"
1010 "*) ;;
1011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1012 ac_unrecognized_sep=', ';;
1013 esac
1014 eval enable_$ac_useropt=no ;;
1015
1016 -docdir | --docdir | --docdi | --doc | --do)
1017 ac_prev=docdir ;;
1018 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1019 docdir=$ac_optarg ;;
1020
1021 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1022 ac_prev=dvidir ;;
1023 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1024 dvidir=$ac_optarg ;;
1025
1026 -enable-* | --enable-*)
1027 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1028 # Reject names that are not valid shell variable names.
1029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1030 as_fn_error "invalid feature name: $ac_useropt"
1031 ac_useropt_orig=$ac_useropt
1032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1033 case $ac_user_opts in
1034 *"
1035 "enable_$ac_useropt"
1036 "*) ;;
1037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1038 ac_unrecognized_sep=', ';;
1039 esac
1040 eval enable_$ac_useropt=\$ac_optarg ;;
1041
1042 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1043 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1044 | --exec | --exe | --ex)
1045 ac_prev=exec_prefix ;;
1046 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1047 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1048 | --exec=* | --exe=* | --ex=*)
1049 exec_prefix=$ac_optarg ;;
1050
1051 -gas | --gas | --ga | --g)
1052 # Obsolete; use --with-gas.
1053 with_gas=yes ;;
1054
1055 -help | --help | --hel | --he | -h)
1056 ac_init_help=long ;;
1057 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1058 ac_init_help=recursive ;;
1059 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1060 ac_init_help=short ;;
1061
1062 -host | --host | --hos | --ho)
1063 ac_prev=host_alias ;;
1064 -host=* | --host=* | --hos=* | --ho=*)
1065 host_alias=$ac_optarg ;;
1066
1067 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1068 ac_prev=htmldir ;;
1069 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1070 | --ht=*)
1071 htmldir=$ac_optarg ;;
1072
1073 -includedir | --includedir | --includedi | --included | --include \
1074 | --includ | --inclu | --incl | --inc)
1075 ac_prev=includedir ;;
1076 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1077 | --includ=* | --inclu=* | --incl=* | --inc=*)
1078 includedir=$ac_optarg ;;
1079
1080 -infodir | --infodir | --infodi | --infod | --info | --inf)
1081 ac_prev=infodir ;;
1082 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1083 infodir=$ac_optarg ;;
1084
1085 -libdir | --libdir | --libdi | --libd)
1086 ac_prev=libdir ;;
1087 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1088 libdir=$ac_optarg ;;
1089
1090 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1091 | --libexe | --libex | --libe)
1092 ac_prev=libexecdir ;;
1093 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1094 | --libexe=* | --libex=* | --libe=*)
1095 libexecdir=$ac_optarg ;;
1096
1097 -localedir | --localedir | --localedi | --localed | --locale)
1098 ac_prev=localedir ;;
1099 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1100 localedir=$ac_optarg ;;
1101
1102 -localstatedir | --localstatedir | --localstatedi | --localstated \
1103 | --localstate | --localstat | --localsta | --localst | --locals)
1104 ac_prev=localstatedir ;;
1105 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1106 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1107 localstatedir=$ac_optarg ;;
1108
1109 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1110 ac_prev=mandir ;;
1111 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1112 mandir=$ac_optarg ;;
1113
1114 -nfp | --nfp | --nf)
1115 # Obsolete; use --without-fp.
1116 with_fp=no ;;
1117
1118 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1119 | --no-cr | --no-c | -n)
1120 no_create=yes ;;
1121
1122 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1123 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1124 no_recursion=yes ;;
1125
1126 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1127 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1128 | --oldin | --oldi | --old | --ol | --o)
1129 ac_prev=oldincludedir ;;
1130 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1131 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1132 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1133 oldincludedir=$ac_optarg ;;
1134
1135 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1136 ac_prev=prefix ;;
1137 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1138 prefix=$ac_optarg ;;
1139
1140 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1141 | --program-pre | --program-pr | --program-p)
1142 ac_prev=program_prefix ;;
1143 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1144 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1145 program_prefix=$ac_optarg ;;
1146
1147 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1148 | --program-suf | --program-su | --program-s)
1149 ac_prev=program_suffix ;;
1150 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1151 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1152 program_suffix=$ac_optarg ;;
1153
1154 -program-transform-name | --program-transform-name \
1155 | --program-transform-nam | --program-transform-na \
1156 | --program-transform-n | --program-transform- \
1157 | --program-transform | --program-transfor \
1158 | --program-transfo | --program-transf \
1159 | --program-trans | --program-tran \
1160 | --progr-tra | --program-tr | --program-t)
1161 ac_prev=program_transform_name ;;
1162 -program-transform-name=* | --program-transform-name=* \
1163 | --program-transform-nam=* | --program-transform-na=* \
1164 | --program-transform-n=* | --program-transform-=* \
1165 | --program-transform=* | --program-transfor=* \
1166 | --program-transfo=* | --program-transf=* \
1167 | --program-trans=* | --program-tran=* \
1168 | --progr-tra=* | --program-tr=* | --program-t=*)
1169 program_transform_name=$ac_optarg ;;
1170
1171 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1172 ac_prev=pdfdir ;;
1173 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1174 pdfdir=$ac_optarg ;;
1175
1176 -psdir | --psdir | --psdi | --psd | --ps)
1177 ac_prev=psdir ;;
1178 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1179 psdir=$ac_optarg ;;
1180
1181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1182 | -silent | --silent | --silen | --sile | --sil)
1183 silent=yes ;;
1184
1185 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1186 ac_prev=sbindir ;;
1187 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1188 | --sbi=* | --sb=*)
1189 sbindir=$ac_optarg ;;
1190
1191 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1192 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1193 | --sharedst | --shareds | --shared | --share | --shar \
1194 | --sha | --sh)
1195 ac_prev=sharedstatedir ;;
1196 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1197 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1198 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1199 | --sha=* | --sh=*)
1200 sharedstatedir=$ac_optarg ;;
1201
1202 -site | --site | --sit)
1203 ac_prev=site ;;
1204 -site=* | --site=* | --sit=*)
1205 site=$ac_optarg ;;
1206
1207 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1208 ac_prev=srcdir ;;
1209 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1210 srcdir=$ac_optarg ;;
1211
1212 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1213 | --syscon | --sysco | --sysc | --sys | --sy)
1214 ac_prev=sysconfdir ;;
1215 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1216 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1217 sysconfdir=$ac_optarg ;;
1218
1219 -target | --target | --targe | --targ | --tar | --ta | --t)
1220 ac_prev=target_alias ;;
1221 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1222 target_alias=$ac_optarg ;;
1223
1224 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1225 verbose=yes ;;
1226
1227 -version | --version | --versio | --versi | --vers | -V)
1228 ac_init_version=: ;;
1229
1230 -with-* | --with-*)
1231 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1232 # Reject names that are not valid shell variable names.
1233 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1234 as_fn_error "invalid package name: $ac_useropt"
1235 ac_useropt_orig=$ac_useropt
1236 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1237 case $ac_user_opts in
1238 *"
1239 "with_$ac_useropt"
1240 "*) ;;
1241 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1242 ac_unrecognized_sep=', ';;
1243 esac
1244 eval with_$ac_useropt=\$ac_optarg ;;
1245
1246 -without-* | --without-*)
1247 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250 as_fn_error "invalid package name: $ac_useropt"
1251 ac_useropt_orig=$ac_useropt
1252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1254 *"
1255 "with_$ac_useropt"
1256 "*) ;;
1257 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1258 ac_unrecognized_sep=', ';;
1259 esac
1260 eval with_$ac_useropt=no ;;
1261
1262 --x)
1263 # Obsolete; use --with-x.
1264 with_x=yes ;;
1265
1266 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1267 | --x-incl | --x-inc | --x-in | --x-i)
1268 ac_prev=x_includes ;;
1269 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1270 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1271 x_includes=$ac_optarg ;;
1272
1273 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1274 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1275 ac_prev=x_libraries ;;
1276 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1277 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1278 x_libraries=$ac_optarg ;;
1279
1280 -*) as_fn_error "unrecognized option: \`$ac_option'
1281 Try \`$0 --help' for more information."
1282 ;;
1283
1284 *=*)
1285 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1286 # Reject names that are not valid shell variable names.
1287 case $ac_envvar in #(
1288 '' | [0-9]* | *[!_$as_cr_alnum]* )
1289 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1290 esac
1291 eval $ac_envvar=\$ac_optarg
1292 export $ac_envvar ;;
1293
1294 *)
1295 # FIXME: should be removed in autoconf 3.0.
1296 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1297 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1298 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1299 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1300 ;;
1301
1302 esac
1303 done
1304
1305 if test -n "$ac_prev"; then
1306 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1307 as_fn_error "missing argument to $ac_option"
1308 fi
1309
1310 if test -n "$ac_unrecognized_opts"; then
1311 case $enable_option_checking in
1312 no) ;;
1313 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1314 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1315 esac
1316 fi
1317
1318 # Check all directory arguments for consistency.
1319 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1320 datadir sysconfdir sharedstatedir localstatedir includedir \
1321 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1322 libdir localedir mandir
1323 do
1324 eval ac_val=\$$ac_var
1325 # Remove trailing slashes.
1326 case $ac_val in
1327 */ )
1328 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1329 eval $ac_var=\$ac_val;;
1330 esac
1331 # Be sure to have absolute directory names.
1332 case $ac_val in
1333 [\\/$]* | ?:[\\/]* ) continue;;
1334 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1335 esac
1336 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1337 done
1338
1339 # There might be people who depend on the old broken behavior: `$host'
1340 # used to hold the argument of --host etc.
1341 # FIXME: To remove some day.
1342 build=$build_alias
1343 host=$host_alias
1344 target=$target_alias
1345
1346 # FIXME: To remove some day.
1347 if test "x$host_alias" != x; then
1348 if test "x$build_alias" = x; then
1349 cross_compiling=maybe
1350 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1351 If a cross compiler is detected then cross compile mode will be used." >&2
1352 elif test "x$build_alias" != "x$host_alias"; then
1353 cross_compiling=yes
1354 fi
1355 fi
1356
1357 ac_tool_prefix=
1358 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1359
1360 test "$silent" = yes && exec 6>/dev/null
1361
1362
1363 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1364 ac_ls_di=`ls -di .` &&
1365 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1366 as_fn_error "working directory cannot be determined"
1367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1368 as_fn_error "pwd does not report name of working directory"
1369
1370
1371 # Find the source files, if location was not specified.
1372 if test -z "$srcdir"; then
1373 ac_srcdir_defaulted=yes
1374 # Try the directory containing this script, then the parent directory.
1375 ac_confdir=`$as_dirname -- "$as_myself" ||
1376 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1377 X"$as_myself" : 'X\(//\)[^/]' \| \
1378 X"$as_myself" : 'X\(//\)$' \| \
1379 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1380 $as_echo X"$as_myself" |
1381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1382 s//\1/
1383 q
1384 }
1385 /^X\(\/\/\)[^/].*/{
1386 s//\1/
1387 q
1388 }
1389 /^X\(\/\/\)$/{
1390 s//\1/
1391 q
1392 }
1393 /^X\(\/\).*/{
1394 s//\1/
1395 q
1396 }
1397 s/.*/./; q'`
1398 srcdir=$ac_confdir
1399 if test ! -r "$srcdir/$ac_unique_file"; then
1400 srcdir=..
1401 fi
1402 else
1403 ac_srcdir_defaulted=no
1404 fi
1405 if test ! -r "$srcdir/$ac_unique_file"; then
1406 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1407 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1408 fi
1409 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1410 ac_abs_confdir=`(
1411 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1412 pwd)`
1413 # When building in place, set srcdir=.
1414 if test "$ac_abs_confdir" = "$ac_pwd"; then
1415 srcdir=.
1416 fi
1417 # Remove unnecessary trailing slashes from srcdir.
1418 # Double slashes in file names in object file debugging info
1419 # mess up M-x gdb in Emacs.
1420 case $srcdir in
1421 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1422 esac
1423 for ac_var in $ac_precious_vars; do
1424 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1425 eval ac_env_${ac_var}_value=\$${ac_var}
1426 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1427 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1428 done
1429
1430 #
1431 # Report the --help message.
1432 #
1433 if test "$ac_init_help" = "long"; then
1434 # Omit some internal or obsolete options to make the list less imposing.
1435 # This message is too long to be a string in the A/UX 3.1 sh.
1436 cat <<_ACEOF
1437 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1438
1439 Usage: $0 [OPTION]... [VAR=VALUE]...
1440
1441 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1442 VAR=VALUE. See below for descriptions of some of the useful variables.
1443
1444 Defaults for the options are specified in brackets.
1445
1446 Configuration:
1447 -h, --help display this help and exit
1448 --help=short display options specific to this package
1449 --help=recursive display the short help of all the included packages
1450 -V, --version display version information and exit
1451 -q, --quiet, --silent do not print \`checking...' messages
1452 --cache-file=FILE cache test results in FILE [disabled]
1453 -C, --config-cache alias for \`--cache-file=config.cache'
1454 -n, --no-create do not create output files
1455 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1456
1457 Installation directories:
1458 --prefix=PREFIX install architecture-independent files in PREFIX
1459 [$ac_default_prefix]
1460 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1461 [PREFIX]
1462
1463 By default, \`make install' will install all the files in
1464 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1465 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1466 for instance \`--prefix=\$HOME'.
1467
1468 For better control, use the options below.
1469
1470 Fine tuning of the installation directories:
1471 --bindir=DIR user executables [EPREFIX/bin]
1472 --sbindir=DIR system admin executables [EPREFIX/sbin]
1473 --libexecdir=DIR program executables [EPREFIX/libexec]
1474 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1475 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1476 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1477 --libdir=DIR object code libraries [EPREFIX/lib]
1478 --includedir=DIR C header files [PREFIX/include]
1479 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1480 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1481 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1482 --infodir=DIR info documentation [DATAROOTDIR/info]
1483 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1484 --mandir=DIR man documentation [DATAROOTDIR/man]
1485 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1486 --htmldir=DIR html documentation [DOCDIR]
1487 --dvidir=DIR dvi documentation [DOCDIR]
1488 --pdfdir=DIR pdf documentation [DOCDIR]
1489 --psdir=DIR ps documentation [DOCDIR]
1490 _ACEOF
1491
1492 cat <<\_ACEOF
1493
1494 Program names:
1495 --program-prefix=PREFIX prepend PREFIX to installed program names
1496 --program-suffix=SUFFIX append SUFFIX to installed program names
1497 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1498
1499 System types:
1500 --build=BUILD configure for building on BUILD [guessed]
1501 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1502 --target=TARGET configure for building compilers for TARGET [HOST]
1503 _ACEOF
1504 fi
1505
1506 if test -n "$ac_init_help"; then
1507 case $ac_init_help in
1508 short | recursive ) echo "Configuration of package-unused version-unused:";;
1509 esac
1510 cat <<\_ACEOF
1511
1512 Optional Features:
1513 --disable-option-checking ignore unrecognized --enable/--with options
1514 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1515 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1516 --enable-multilib build many library versions (default)
1517 --enable-maintainer-mode enable make rules and dependencies not useful
1518 (and sometimes confusing) to the casual installer
1519 --enable-shared[=PKGS] build shared libraries [default=yes]
1520 --enable-static[=PKGS] build static libraries [default=yes]
1521 --enable-fast-install[=PKGS]
1522 optimize for fast installation [default=yes]
1523 --disable-libtool-lock avoid locking (might break parallel builds)
1524 --disable-hosted-libstdcxx
1525 only build freestanding C++ runtime support
1526 --disable-libstdcxx-verbose
1527 disable termination messages to standard error
1528 --enable-sjlj-exceptions
1529 force use of builtin_setjmp for exceptions
1530 [default=auto]
1531 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1532 [default=$is_hosted]
1533 --enable-cstdio[=PACKAGE]
1534 use target-specific I/O package [default=stdio]
1535 --enable-clocale[=MODEL]
1536 use MODEL for target locale package [default=auto]
1537 --enable-nls use Native Language Support (default)
1538 --enable-libstdcxx-allocator[=KIND]
1539 use KIND for target std::allocator base
1540 [default=auto]
1541 --enable-cheaders[=KIND]
1542 construct "C" headers for g++ [default=$c_model]
1543 --enable-long-long enable template specializations for 'long long'
1544 [default=yes]
1545 --enable-wchar_t enable template specializations for 'wchar_t'
1546 [default=yes]
1547 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1548 --enable-concept-checks use Boost-derived template checks [default=no]
1549 --enable-libstdcxx-debug-flags=FLAGS
1550 pass compiler FLAGS when building debug library
1551 [default="-gdwarf-4 -g3 -O0"]
1552 --enable-libstdcxx-debug
1553 build extra debug library [default=no]
1554 --enable-cxx-flags=FLAGS
1555 pass compiler FLAGS when building library [default=]
1556 --enable-fully-dynamic-string
1557 do not put empty strings in per-process static
1558 memory [default=no]
1559 --enable-extern-template
1560 enable extern template [default=yes]
1561 --enable-werror turns on -Werror [default=yes]
1562 --enable-libstdcxx-time[=KIND]
1563 use KIND for check type [default=no]
1564 --enable-tls Use thread-local storage [default=yes]
1565 --disable-rpath do not hardcode runtime library paths
1566 --enable-linux-futex use the Linux futex system call [default=default]
1567 --enable-symvers[=STYLE]
1568 enables symbol versioning of the shared library
1569 [default=yes]
1570 --enable-libstdcxx-visibility
1571 enables visibility safe usage [default=yes]
1572 --enable-libstdcxx-threads
1573 enable C++11 threads support [default=auto]
1574 --enable-version-specific-runtime-libs
1575 Specify that runtime libraries should be installed
1576 in a compiler-specific directory
1577
1578 Optional Packages:
1579 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1580 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1581 --with-target-subdir=SUBDIR
1582 configuring in a subdirectory
1583 --with-cross-host=HOST configuring with a cross compiler
1584 --with-newlib assume newlib as a system C library
1585 --with-pic try to use only PIC/non-PIC objects [default=use
1586 both]
1587 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1588 --with-python-dir the location to install Python modules. This path is
1589 relative starting from the prefix.
1590 --with-gnu-ld assume the C compiler uses GNU ld default=no
1591 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1592 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1593 --with-system-libunwind use installed libunwind
1594 --with-gxx-include-dir=DIR
1595 installation directory for include files
1596
1597 Some influential environment variables:
1598 CC C compiler command
1599 CFLAGS C compiler flags
1600 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1601 nonstandard directory <lib dir>
1602 LIBS libraries to pass to the linker, e.g. -l<library>
1603 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1604 you have headers in a nonstandard directory <include dir>
1605 CXX C++ compiler command
1606 CXXFLAGS C++ compiler flags
1607 CPP C preprocessor
1608 CXXCPP C++ preprocessor
1609 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1610 `c++filt', `gc++filt' on PATH.
1611
1612 Use these variables to override the choices made by `configure' or to help
1613 it to find libraries and programs with nonstandard names/locations.
1614
1615 Report bugs to the package provider.
1616 _ACEOF
1617 ac_status=$?
1618 fi
1619
1620 if test "$ac_init_help" = "recursive"; then
1621 # If there are subdirs, report their specific --help.
1622 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1623 test -d "$ac_dir" ||
1624 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1625 continue
1626 ac_builddir=.
1627
1628 case "$ac_dir" in
1629 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1630 *)
1631 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1632 # A ".." for each directory in $ac_dir_suffix.
1633 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1634 case $ac_top_builddir_sub in
1635 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1637 esac ;;
1638 esac
1639 ac_abs_top_builddir=$ac_pwd
1640 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1641 # for backward compatibility:
1642 ac_top_builddir=$ac_top_build_prefix
1643
1644 case $srcdir in
1645 .) # We are building in place.
1646 ac_srcdir=.
1647 ac_top_srcdir=$ac_top_builddir_sub
1648 ac_abs_top_srcdir=$ac_pwd ;;
1649 [\\/]* | ?:[\\/]* ) # Absolute name.
1650 ac_srcdir=$srcdir$ac_dir_suffix;
1651 ac_top_srcdir=$srcdir
1652 ac_abs_top_srcdir=$srcdir ;;
1653 *) # Relative name.
1654 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1655 ac_top_srcdir=$ac_top_build_prefix$srcdir
1656 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1657 esac
1658 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1659
1660 cd "$ac_dir" || { ac_status=$?; continue; }
1661 # Check for guested configure.
1662 if test -f "$ac_srcdir/configure.gnu"; then
1663 echo &&
1664 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1665 elif test -f "$ac_srcdir/configure"; then
1666 echo &&
1667 $SHELL "$ac_srcdir/configure" --help=recursive
1668 else
1669 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1670 fi || ac_status=$?
1671 cd "$ac_pwd" || { ac_status=$?; break; }
1672 done
1673 fi
1674
1675 test -n "$ac_init_help" && exit $ac_status
1676 if $ac_init_version; then
1677 cat <<\_ACEOF
1678 package-unused configure version-unused
1679 generated by GNU Autoconf 2.64
1680
1681 Copyright (C) 2009 Free Software Foundation, Inc.
1682 This configure script is free software; the Free Software Foundation
1683 gives unlimited permission to copy, distribute and modify it.
1684 _ACEOF
1685 exit
1686 fi
1687
1688 ## ------------------------ ##
1689 ## Autoconf initialization. ##
1690 ## ------------------------ ##
1691
1692 # ac_fn_c_try_compile LINENO
1693 # --------------------------
1694 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1695 ac_fn_c_try_compile ()
1696 {
1697 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1698 rm -f conftest.$ac_objext
1699 if { { ac_try="$ac_compile"
1700 case "(($ac_try" in
1701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1702 *) ac_try_echo=$ac_try;;
1703 esac
1704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1705 $as_echo "$ac_try_echo"; } >&5
1706 (eval "$ac_compile") 2>conftest.err
1707 ac_status=$?
1708 if test -s conftest.err; then
1709 grep -v '^ *+' conftest.err >conftest.er1
1710 cat conftest.er1 >&5
1711 mv -f conftest.er1 conftest.err
1712 fi
1713 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1714 test $ac_status = 0; } && {
1715 test -z "$ac_c_werror_flag" ||
1716 test ! -s conftest.err
1717 } && test -s conftest.$ac_objext; then :
1718 ac_retval=0
1719 else
1720 $as_echo "$as_me: failed program was:" >&5
1721 sed 's/^/| /' conftest.$ac_ext >&5
1722
1723 ac_retval=1
1724 fi
1725 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1726 return $ac_retval
1727
1728 } # ac_fn_c_try_compile
1729
1730 # ac_fn_cxx_try_compile LINENO
1731 # ----------------------------
1732 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1733 ac_fn_cxx_try_compile ()
1734 {
1735 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1736 rm -f conftest.$ac_objext
1737 if { { ac_try="$ac_compile"
1738 case "(($ac_try" in
1739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1740 *) ac_try_echo=$ac_try;;
1741 esac
1742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_compile") 2>conftest.err
1745 ac_status=$?
1746 if test -s conftest.err; then
1747 grep -v '^ *+' conftest.err >conftest.er1
1748 cat conftest.er1 >&5
1749 mv -f conftest.er1 conftest.err
1750 fi
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } && {
1753 test -z "$ac_cxx_werror_flag" ||
1754 test ! -s conftest.err
1755 } && test -s conftest.$ac_objext; then :
1756 ac_retval=0
1757 else
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.$ac_ext >&5
1760
1761 ac_retval=1
1762 fi
1763 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1764 return $ac_retval
1765
1766 } # ac_fn_cxx_try_compile
1767
1768 # ac_fn_c_try_cpp LINENO
1769 # ----------------------
1770 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1771 ac_fn_c_try_cpp ()
1772 {
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if { { ac_try="$ac_cpp conftest.$ac_ext"
1775 case "(($ac_try" in
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1778 esac
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1782 ac_status=$?
1783 if test -s conftest.err; then
1784 grep -v '^ *+' conftest.err >conftest.er1
1785 cat conftest.er1 >&5
1786 mv -f conftest.er1 conftest.err
1787 fi
1788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1789 test $ac_status = 0; } >/dev/null && {
1790 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1791 test ! -s conftest.err
1792 }; then :
1793 ac_retval=0
1794 else
1795 $as_echo "$as_me: failed program was:" >&5
1796 sed 's/^/| /' conftest.$ac_ext >&5
1797
1798 ac_retval=1
1799 fi
1800 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1801 return $ac_retval
1802
1803 } # ac_fn_c_try_cpp
1804
1805 # ac_fn_c_try_link LINENO
1806 # -----------------------
1807 # Try to link conftest.$ac_ext, and return whether this succeeded.
1808 ac_fn_c_try_link ()
1809 {
1810 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1811 rm -f conftest.$ac_objext conftest$ac_exeext
1812 if { { ac_try="$ac_link"
1813 case "(($ac_try" in
1814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1815 *) ac_try_echo=$ac_try;;
1816 esac
1817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1818 $as_echo "$ac_try_echo"; } >&5
1819 (eval "$ac_link") 2>conftest.err
1820 ac_status=$?
1821 if test -s conftest.err; then
1822 grep -v '^ *+' conftest.err >conftest.er1
1823 cat conftest.er1 >&5
1824 mv -f conftest.er1 conftest.err
1825 fi
1826 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1827 test $ac_status = 0; } && {
1828 test -z "$ac_c_werror_flag" ||
1829 test ! -s conftest.err
1830 } && test -s conftest$ac_exeext && {
1831 test "$cross_compiling" = yes ||
1832 $as_test_x conftest$ac_exeext
1833 }; then :
1834 ac_retval=0
1835 else
1836 $as_echo "$as_me: failed program was:" >&5
1837 sed 's/^/| /' conftest.$ac_ext >&5
1838
1839 ac_retval=1
1840 fi
1841 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1842 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1843 # interfere with the next link command; also delete a directory that is
1844 # left behind by Apple's compiler. We do this before executing the actions.
1845 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1846 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1847 return $ac_retval
1848
1849 } # ac_fn_c_try_link
1850
1851 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1852 # -------------------------------------------------------
1853 # Tests whether HEADER exists and can be compiled using the include files in
1854 # INCLUDES, setting the cache variable VAR accordingly.
1855 ac_fn_c_check_header_compile ()
1856 {
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1859 $as_echo_n "checking for $2... " >&6; }
1860 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1861 $as_echo_n "(cached) " >&6
1862 else
1863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1864 /* end confdefs.h. */
1865 $4
1866 #include <$2>
1867 _ACEOF
1868 if ac_fn_c_try_compile "$LINENO"; then :
1869 eval "$3=yes"
1870 else
1871 eval "$3=no"
1872 fi
1873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1874 fi
1875 eval ac_res=\$$3
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1877 $as_echo "$ac_res" >&6; }
1878 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1879
1880 } # ac_fn_c_check_header_compile
1881
1882 # ac_fn_c_try_run LINENO
1883 # ----------------------
1884 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1885 # that executables *can* be run.
1886 ac_fn_c_try_run ()
1887 {
1888 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1889 if { { ac_try="$ac_link"
1890 case "(($ac_try" in
1891 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1892 *) ac_try_echo=$ac_try;;
1893 esac
1894 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1895 $as_echo "$ac_try_echo"; } >&5
1896 (eval "$ac_link") 2>&5
1897 ac_status=$?
1898 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1899 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1900 { { case "(($ac_try" in
1901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1902 *) ac_try_echo=$ac_try;;
1903 esac
1904 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1905 $as_echo "$ac_try_echo"; } >&5
1906 (eval "$ac_try") 2>&5
1907 ac_status=$?
1908 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1909 test $ac_status = 0; }; }; then :
1910 ac_retval=0
1911 else
1912 $as_echo "$as_me: program exited with status $ac_status" >&5
1913 $as_echo "$as_me: failed program was:" >&5
1914 sed 's/^/| /' conftest.$ac_ext >&5
1915
1916 ac_retval=$ac_status
1917 fi
1918 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1919 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1920 return $ac_retval
1921
1922 } # ac_fn_c_try_run
1923
1924 # ac_fn_c_check_func LINENO FUNC VAR
1925 # ----------------------------------
1926 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1927 ac_fn_c_check_func ()
1928 {
1929 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1931 $as_echo_n "checking for $2... " >&6; }
1932 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1933 $as_echo_n "(cached) " >&6
1934 else
1935 if test x$gcc_no_link = xyes; then
1936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1937 fi
1938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1939 /* end confdefs.h. */
1940 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1941 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1942 #define $2 innocuous_$2
1943
1944 /* System header to define __stub macros and hopefully few prototypes,
1945 which can conflict with char $2 (); below.
1946 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1947 <limits.h> exists even on freestanding compilers. */
1948
1949 #ifdef __STDC__
1950 # include <limits.h>
1951 #else
1952 # include <assert.h>
1953 #endif
1954
1955 #undef $2
1956
1957 /* Override any GCC internal prototype to avoid an error.
1958 Use char because int might match the return type of a GCC
1959 builtin and then its argument prototype would still apply. */
1960 #ifdef __cplusplus
1961 extern "C"
1962 #endif
1963 char $2 ();
1964 /* The GNU C library defines this for functions which it implements
1965 to always fail with ENOSYS. Some functions are actually named
1966 something starting with __ and the normal name is an alias. */
1967 #if defined __stub_$2 || defined __stub___$2
1968 choke me
1969 #endif
1970
1971 int
1972 main ()
1973 {
1974 return $2 ();
1975 ;
1976 return 0;
1977 }
1978 _ACEOF
1979 if ac_fn_c_try_link "$LINENO"; then :
1980 eval "$3=yes"
1981 else
1982 eval "$3=no"
1983 fi
1984 rm -f core conftest.err conftest.$ac_objext \
1985 conftest$ac_exeext conftest.$ac_ext
1986 fi
1987 eval ac_res=\$$3
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1989 $as_echo "$ac_res" >&6; }
1990 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1991
1992 } # ac_fn_c_check_func
1993
1994 # ac_fn_cxx_try_cpp LINENO
1995 # ------------------------
1996 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1997 ac_fn_cxx_try_cpp ()
1998 {
1999 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2000 if { { ac_try="$ac_cpp conftest.$ac_ext"
2001 case "(($ac_try" in
2002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2003 *) ac_try_echo=$ac_try;;
2004 esac
2005 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2006 $as_echo "$ac_try_echo"; } >&5
2007 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2008 ac_status=$?
2009 if test -s conftest.err; then
2010 grep -v '^ *+' conftest.err >conftest.er1
2011 cat conftest.er1 >&5
2012 mv -f conftest.er1 conftest.err
2013 fi
2014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2015 test $ac_status = 0; } >/dev/null && {
2016 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2017 test ! -s conftest.err
2018 }; then :
2019 ac_retval=0
2020 else
2021 $as_echo "$as_me: failed program was:" >&5
2022 sed 's/^/| /' conftest.$ac_ext >&5
2023
2024 ac_retval=1
2025 fi
2026 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2027 return $ac_retval
2028
2029 } # ac_fn_cxx_try_cpp
2030
2031 # ac_fn_cxx_try_link LINENO
2032 # -------------------------
2033 # Try to link conftest.$ac_ext, and return whether this succeeded.
2034 ac_fn_cxx_try_link ()
2035 {
2036 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2037 rm -f conftest.$ac_objext conftest$ac_exeext
2038 if { { ac_try="$ac_link"
2039 case "(($ac_try" in
2040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2041 *) ac_try_echo=$ac_try;;
2042 esac
2043 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2044 $as_echo "$ac_try_echo"; } >&5
2045 (eval "$ac_link") 2>conftest.err
2046 ac_status=$?
2047 if test -s conftest.err; then
2048 grep -v '^ *+' conftest.err >conftest.er1
2049 cat conftest.er1 >&5
2050 mv -f conftest.er1 conftest.err
2051 fi
2052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2053 test $ac_status = 0; } && {
2054 test -z "$ac_cxx_werror_flag" ||
2055 test ! -s conftest.err
2056 } && test -s conftest$ac_exeext && {
2057 test "$cross_compiling" = yes ||
2058 $as_test_x conftest$ac_exeext
2059 }; then :
2060 ac_retval=0
2061 else
2062 $as_echo "$as_me: failed program was:" >&5
2063 sed 's/^/| /' conftest.$ac_ext >&5
2064
2065 ac_retval=1
2066 fi
2067 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2068 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2069 # interfere with the next link command; also delete a directory that is
2070 # left behind by Apple's compiler. We do this before executing the actions.
2071 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2072 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2073 return $ac_retval
2074
2075 } # ac_fn_cxx_try_link
2076
2077 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2078 # -------------------------------------------------------
2079 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2080 # the include files in INCLUDES and setting the cache variable VAR
2081 # accordingly.
2082 ac_fn_c_check_header_mongrel ()
2083 {
2084 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2085 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2087 $as_echo_n "checking for $2... " >&6; }
2088 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2089 $as_echo_n "(cached) " >&6
2090 fi
2091 eval ac_res=\$$3
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2093 $as_echo "$ac_res" >&6; }
2094 else
2095 # Is the header compilable?
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2097 $as_echo_n "checking $2 usability... " >&6; }
2098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2099 /* end confdefs.h. */
2100 $4
2101 #include <$2>
2102 _ACEOF
2103 if ac_fn_c_try_compile "$LINENO"; then :
2104 ac_header_compiler=yes
2105 else
2106 ac_header_compiler=no
2107 fi
2108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2110 $as_echo "$ac_header_compiler" >&6; }
2111
2112 # Is the header present?
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2114 $as_echo_n "checking $2 presence... " >&6; }
2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2116 /* end confdefs.h. */
2117 #include <$2>
2118 _ACEOF
2119 if ac_fn_c_try_cpp "$LINENO"; then :
2120 ac_header_preproc=yes
2121 else
2122 ac_header_preproc=no
2123 fi
2124 rm -f conftest.err conftest.$ac_ext
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2126 $as_echo "$ac_header_preproc" >&6; }
2127
2128 # So? What about this header?
2129 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2130 yes:no: )
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2132 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2134 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2135 ;;
2136 no:yes:* )
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2138 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2140 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2142 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2144 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2146 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2147 ;;
2148 esac
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2150 $as_echo_n "checking for $2... " >&6; }
2151 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2152 $as_echo_n "(cached) " >&6
2153 else
2154 eval "$3=\$ac_header_compiler"
2155 fi
2156 eval ac_res=\$$3
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2158 $as_echo "$ac_res" >&6; }
2159 fi
2160 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2161
2162 } # ac_fn_c_check_header_mongrel
2163
2164 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2165 # ---------------------------------------------------------
2166 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2167 # the include files in INCLUDES and setting the cache variable VAR
2168 # accordingly.
2169 ac_fn_cxx_check_header_mongrel ()
2170 {
2171 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2172 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2174 $as_echo_n "checking for $2... " >&6; }
2175 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2176 $as_echo_n "(cached) " >&6
2177 fi
2178 eval ac_res=\$$3
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2180 $as_echo "$ac_res" >&6; }
2181 else
2182 # Is the header compilable?
2183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2184 $as_echo_n "checking $2 usability... " >&6; }
2185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2186 /* end confdefs.h. */
2187 $4
2188 #include <$2>
2189 _ACEOF
2190 if ac_fn_cxx_try_compile "$LINENO"; then :
2191 ac_header_compiler=yes
2192 else
2193 ac_header_compiler=no
2194 fi
2195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2197 $as_echo "$ac_header_compiler" >&6; }
2198
2199 # Is the header present?
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2201 $as_echo_n "checking $2 presence... " >&6; }
2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2204 #include <$2>
2205 _ACEOF
2206 if ac_fn_cxx_try_cpp "$LINENO"; then :
2207 ac_header_preproc=yes
2208 else
2209 ac_header_preproc=no
2210 fi
2211 rm -f conftest.err conftest.$ac_ext
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2213 $as_echo "$ac_header_preproc" >&6; }
2214
2215 # So? What about this header?
2216 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2217 yes:no: )
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2219 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2221 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2222 ;;
2223 no:yes:* )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2225 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2227 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2229 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2231 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2233 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2234 ;;
2235 esac
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2237 $as_echo_n "checking for $2... " >&6; }
2238 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2239 $as_echo_n "(cached) " >&6
2240 else
2241 eval "$3=\$ac_header_compiler"
2242 fi
2243 eval ac_res=\$$3
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2245 $as_echo "$ac_res" >&6; }
2246 fi
2247 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2248
2249 } # ac_fn_cxx_check_header_mongrel
2250
2251 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2252 # --------------------------------------------
2253 # Tries to find the compile-time value of EXPR in a program that includes
2254 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2255 # computed
2256 ac_fn_c_compute_int ()
2257 {
2258 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2259 if test "$cross_compiling" = yes; then
2260 # Depending upon the size, compute the lo and hi bounds.
2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262 /* end confdefs.h. */
2263 $4
2264 int
2265 main ()
2266 {
2267 static int test_array [1 - 2 * !(($2) >= 0)];
2268 test_array [0] = 0
2269
2270 ;
2271 return 0;
2272 }
2273 _ACEOF
2274 if ac_fn_c_try_compile "$LINENO"; then :
2275 ac_lo=0 ac_mid=0
2276 while :; do
2277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2278 /* end confdefs.h. */
2279 $4
2280 int
2281 main ()
2282 {
2283 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2284 test_array [0] = 0
2285
2286 ;
2287 return 0;
2288 }
2289 _ACEOF
2290 if ac_fn_c_try_compile "$LINENO"; then :
2291 ac_hi=$ac_mid; break
2292 else
2293 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2294 if test $ac_lo -le $ac_mid; then
2295 ac_lo= ac_hi=
2296 break
2297 fi
2298 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2299 fi
2300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2301 done
2302 else
2303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2304 /* end confdefs.h. */
2305 $4
2306 int
2307 main ()
2308 {
2309 static int test_array [1 - 2 * !(($2) < 0)];
2310 test_array [0] = 0
2311
2312 ;
2313 return 0;
2314 }
2315 _ACEOF
2316 if ac_fn_c_try_compile "$LINENO"; then :
2317 ac_hi=-1 ac_mid=-1
2318 while :; do
2319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2320 /* end confdefs.h. */
2321 $4
2322 int
2323 main ()
2324 {
2325 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2326 test_array [0] = 0
2327
2328 ;
2329 return 0;
2330 }
2331 _ACEOF
2332 if ac_fn_c_try_compile "$LINENO"; then :
2333 ac_lo=$ac_mid; break
2334 else
2335 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2336 if test $ac_mid -le $ac_hi; then
2337 ac_lo= ac_hi=
2338 break
2339 fi
2340 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2341 fi
2342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2343 done
2344 else
2345 ac_lo= ac_hi=
2346 fi
2347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2348 fi
2349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2350 # Binary search between lo and hi bounds.
2351 while test "x$ac_lo" != "x$ac_hi"; do
2352 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2354 /* end confdefs.h. */
2355 $4
2356 int
2357 main ()
2358 {
2359 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2360 test_array [0] = 0
2361
2362 ;
2363 return 0;
2364 }
2365 _ACEOF
2366 if ac_fn_c_try_compile "$LINENO"; then :
2367 ac_hi=$ac_mid
2368 else
2369 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2370 fi
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 done
2373 case $ac_lo in #((
2374 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2375 '') ac_retval=1 ;;
2376 esac
2377 else
2378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2379 /* end confdefs.h. */
2380 $4
2381 static long int longval () { return $2; }
2382 static unsigned long int ulongval () { return $2; }
2383 #include <stdio.h>
2384 #include <stdlib.h>
2385 int
2386 main ()
2387 {
2388
2389 FILE *f = fopen ("conftest.val", "w");
2390 if (! f)
2391 return 1;
2392 if (($2) < 0)
2393 {
2394 long int i = longval ();
2395 if (i != ($2))
2396 return 1;
2397 fprintf (f, "%ld", i);
2398 }
2399 else
2400 {
2401 unsigned long int i = ulongval ();
2402 if (i != ($2))
2403 return 1;
2404 fprintf (f, "%lu", i);
2405 }
2406 /* Do not output a trailing newline, as this causes \r\n confusion
2407 on some platforms. */
2408 return ferror (f) || fclose (f) != 0;
2409
2410 ;
2411 return 0;
2412 }
2413 _ACEOF
2414 if ac_fn_c_try_run "$LINENO"; then :
2415 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2416 else
2417 ac_retval=1
2418 fi
2419 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2420 conftest.$ac_objext conftest.beam conftest.$ac_ext
2421 rm -f conftest.val
2422
2423 fi
2424 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2425 return $ac_retval
2426
2427 } # ac_fn_c_compute_int
2428
2429 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2430 # -------------------------------------------
2431 # Tests whether TYPE exists after having included INCLUDES, setting cache
2432 # variable VAR accordingly.
2433 ac_fn_c_check_type ()
2434 {
2435 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2437 $as_echo_n "checking for $2... " >&6; }
2438 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2439 $as_echo_n "(cached) " >&6
2440 else
2441 eval "$3=no"
2442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2443 /* end confdefs.h. */
2444 $4
2445 int
2446 main ()
2447 {
2448 if (sizeof ($2))
2449 return 0;
2450 ;
2451 return 0;
2452 }
2453 _ACEOF
2454 if ac_fn_c_try_compile "$LINENO"; then :
2455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2456 /* end confdefs.h. */
2457 $4
2458 int
2459 main ()
2460 {
2461 if (sizeof (($2)))
2462 return 0;
2463 ;
2464 return 0;
2465 }
2466 _ACEOF
2467 if ac_fn_c_try_compile "$LINENO"; then :
2468
2469 else
2470 eval "$3=yes"
2471 fi
2472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2473 fi
2474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2475 fi
2476 eval ac_res=\$$3
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2478 $as_echo "$ac_res" >&6; }
2479 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2480
2481 } # ac_fn_c_check_type
2482 cat >config.log <<_ACEOF
2483 This file contains any messages produced by compilers while
2484 running configure, to aid debugging if configure makes a mistake.
2485
2486 It was created by package-unused $as_me version-unused, which was
2487 generated by GNU Autoconf 2.64. Invocation command line was
2488
2489 $ $0 $@
2490
2491 _ACEOF
2492 exec 5>>config.log
2493 {
2494 cat <<_ASUNAME
2495 ## --------- ##
2496 ## Platform. ##
2497 ## --------- ##
2498
2499 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2500 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2501 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2502 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2503 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2504
2505 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2506 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2507
2508 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2509 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2510 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2511 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2512 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2513 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2514 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2515
2516 _ASUNAME
2517
2518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2519 for as_dir in $PATH
2520 do
2521 IFS=$as_save_IFS
2522 test -z "$as_dir" && as_dir=.
2523 $as_echo "PATH: $as_dir"
2524 done
2525 IFS=$as_save_IFS
2526
2527 } >&5
2528
2529 cat >&5 <<_ACEOF
2530
2531
2532 ## ----------- ##
2533 ## Core tests. ##
2534 ## ----------- ##
2535
2536 _ACEOF
2537
2538
2539 # Keep a trace of the command line.
2540 # Strip out --no-create and --no-recursion so they do not pile up.
2541 # Strip out --silent because we don't want to record it for future runs.
2542 # Also quote any args containing shell meta-characters.
2543 # Make two passes to allow for proper duplicate-argument suppression.
2544 ac_configure_args=
2545 ac_configure_args0=
2546 ac_configure_args1=
2547 ac_must_keep_next=false
2548 for ac_pass in 1 2
2549 do
2550 for ac_arg
2551 do
2552 case $ac_arg in
2553 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2554 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2555 | -silent | --silent | --silen | --sile | --sil)
2556 continue ;;
2557 *\'*)
2558 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2559 esac
2560 case $ac_pass in
2561 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2562 2)
2563 as_fn_append ac_configure_args1 " '$ac_arg'"
2564 if test $ac_must_keep_next = true; then
2565 ac_must_keep_next=false # Got value, back to normal.
2566 else
2567 case $ac_arg in
2568 *=* | --config-cache | -C | -disable-* | --disable-* \
2569 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2570 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2571 | -with-* | --with-* | -without-* | --without-* | --x)
2572 case "$ac_configure_args0 " in
2573 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2574 esac
2575 ;;
2576 -* ) ac_must_keep_next=true ;;
2577 esac
2578 fi
2579 as_fn_append ac_configure_args " '$ac_arg'"
2580 ;;
2581 esac
2582 done
2583 done
2584 { ac_configure_args0=; unset ac_configure_args0;}
2585 { ac_configure_args1=; unset ac_configure_args1;}
2586
2587 # When interrupted or exit'd, cleanup temporary files, and complete
2588 # config.log. We remove comments because anyway the quotes in there
2589 # would cause problems or look ugly.
2590 # WARNING: Use '\'' to represent an apostrophe within the trap.
2591 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2592 trap 'exit_status=$?
2593 # Save into config.log some information that might help in debugging.
2594 {
2595 echo
2596
2597 cat <<\_ASBOX
2598 ## ---------------- ##
2599 ## Cache variables. ##
2600 ## ---------------- ##
2601 _ASBOX
2602 echo
2603 # The following way of writing the cache mishandles newlines in values,
2604 (
2605 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2606 eval ac_val=\$$ac_var
2607 case $ac_val in #(
2608 *${as_nl}*)
2609 case $ac_var in #(
2610 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2612 esac
2613 case $ac_var in #(
2614 _ | IFS | as_nl) ;; #(
2615 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2616 *) { eval $ac_var=; unset $ac_var;} ;;
2617 esac ;;
2618 esac
2619 done
2620 (set) 2>&1 |
2621 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2622 *${as_nl}ac_space=\ *)
2623 sed -n \
2624 "s/'\''/'\''\\\\'\'''\''/g;
2625 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2626 ;; #(
2627 *)
2628 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2629 ;;
2630 esac |
2631 sort
2632 )
2633 echo
2634
2635 cat <<\_ASBOX
2636 ## ----------------- ##
2637 ## Output variables. ##
2638 ## ----------------- ##
2639 _ASBOX
2640 echo
2641 for ac_var in $ac_subst_vars
2642 do
2643 eval ac_val=\$$ac_var
2644 case $ac_val in
2645 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2646 esac
2647 $as_echo "$ac_var='\''$ac_val'\''"
2648 done | sort
2649 echo
2650
2651 if test -n "$ac_subst_files"; then
2652 cat <<\_ASBOX
2653 ## ------------------- ##
2654 ## File substitutions. ##
2655 ## ------------------- ##
2656 _ASBOX
2657 echo
2658 for ac_var in $ac_subst_files
2659 do
2660 eval ac_val=\$$ac_var
2661 case $ac_val in
2662 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2663 esac
2664 $as_echo "$ac_var='\''$ac_val'\''"
2665 done | sort
2666 echo
2667 fi
2668
2669 if test -s confdefs.h; then
2670 cat <<\_ASBOX
2671 ## ----------- ##
2672 ## confdefs.h. ##
2673 ## ----------- ##
2674 _ASBOX
2675 echo
2676 cat confdefs.h
2677 echo
2678 fi
2679 test "$ac_signal" != 0 &&
2680 $as_echo "$as_me: caught signal $ac_signal"
2681 $as_echo "$as_me: exit $exit_status"
2682 } >&5
2683 rm -f core *.core core.conftest.* &&
2684 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2685 exit $exit_status
2686 ' 0
2687 for ac_signal in 1 2 13 15; do
2688 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2689 done
2690 ac_signal=0
2691
2692 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2693 rm -f -r conftest* confdefs.h
2694
2695 $as_echo "/* confdefs.h */" > confdefs.h
2696
2697 # Predefined preprocessor variables.
2698
2699 cat >>confdefs.h <<_ACEOF
2700 #define PACKAGE_NAME "$PACKAGE_NAME"
2701 _ACEOF
2702
2703 cat >>confdefs.h <<_ACEOF
2704 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2705 _ACEOF
2706
2707 cat >>confdefs.h <<_ACEOF
2708 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2709 _ACEOF
2710
2711 cat >>confdefs.h <<_ACEOF
2712 #define PACKAGE_STRING "$PACKAGE_STRING"
2713 _ACEOF
2714
2715 cat >>confdefs.h <<_ACEOF
2716 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2717 _ACEOF
2718
2719 cat >>confdefs.h <<_ACEOF
2720 #define PACKAGE_URL "$PACKAGE_URL"
2721 _ACEOF
2722
2723
2724 # Let the site file select an alternate cache file if it wants to.
2725 # Prefer an explicitly selected file to automatically selected ones.
2726 ac_site_file1=NONE
2727 ac_site_file2=NONE
2728 if test -n "$CONFIG_SITE"; then
2729 ac_site_file1=$CONFIG_SITE
2730 elif test "x$prefix" != xNONE; then
2731 ac_site_file1=$prefix/share/config.site
2732 ac_site_file2=$prefix/etc/config.site
2733 else
2734 ac_site_file1=$ac_default_prefix/share/config.site
2735 ac_site_file2=$ac_default_prefix/etc/config.site
2736 fi
2737 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2738 do
2739 test "x$ac_site_file" = xNONE && continue
2740 if test -r "$ac_site_file"; then
2741 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2742 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2743 sed 's/^/| /' "$ac_site_file" >&5
2744 . "$ac_site_file"
2745 fi
2746 done
2747
2748 if test -r "$cache_file"; then
2749 # Some versions of bash will fail to source /dev/null (special
2750 # files actually), so we avoid doing that.
2751 if test -f "$cache_file"; then
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2753 $as_echo "$as_me: loading cache $cache_file" >&6;}
2754 case $cache_file in
2755 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2756 *) . "./$cache_file";;
2757 esac
2758 fi
2759 else
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2761 $as_echo "$as_me: creating cache $cache_file" >&6;}
2762 >$cache_file
2763 fi
2764
2765 # Check that the precious variables saved in the cache have kept the same
2766 # value.
2767 ac_cache_corrupted=false
2768 for ac_var in $ac_precious_vars; do
2769 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2770 eval ac_new_set=\$ac_env_${ac_var}_set
2771 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2772 eval ac_new_val=\$ac_env_${ac_var}_value
2773 case $ac_old_set,$ac_new_set in
2774 set,)
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2776 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2777 ac_cache_corrupted=: ;;
2778 ,set)
2779 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2780 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2781 ac_cache_corrupted=: ;;
2782 ,);;
2783 *)
2784 if test "x$ac_old_val" != "x$ac_new_val"; then
2785 # differences in whitespace do not lead to failure.
2786 ac_old_val_w=`echo x $ac_old_val`
2787 ac_new_val_w=`echo x $ac_new_val`
2788 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2790 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2791 ac_cache_corrupted=:
2792 else
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2794 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2795 eval $ac_var=\$ac_old_val
2796 fi
2797 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2798 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2800 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2801 fi;;
2802 esac
2803 # Pass precious variables to config.status.
2804 if test "$ac_new_set" = set; then
2805 case $ac_new_val in
2806 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2807 *) ac_arg=$ac_var=$ac_new_val ;;
2808 esac
2809 case " $ac_configure_args " in
2810 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2811 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2812 esac
2813 fi
2814 done
2815 if $ac_cache_corrupted; then
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2817 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2819 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2820 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2821 fi
2822 ## -------------------- ##
2823 ## Main body of script. ##
2824 ## -------------------- ##
2825
2826 ac_ext=c
2827 ac_cpp='$CPP $CPPFLAGS'
2828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2831
2832
2833
2834
2835
2836
2837 ac_config_headers="$ac_config_headers config.h"
2838
2839
2840 # This works around the fact that libtool configuration may change LD
2841 # for this particular configuration, but some shells, instead of
2842 # keeping the changes in LD private, export them just because LD is
2843 # exported. Only used at the end of this file.
2844 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2845
2846 # Find the rest of the source tree framework.
2847 # Default to --enable-multilib
2848 # Check whether --enable-multilib was given.
2849 if test "${enable_multilib+set}" = set; then :
2850 enableval=$enable_multilib; case "$enableval" in
2851 yes) multilib=yes ;;
2852 no) multilib=no ;;
2853 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2854 esac
2855 else
2856 multilib=yes
2857 fi
2858
2859
2860 # We may get other options which we leave undocumented:
2861 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2862 # See config-ml.in if you want the gory details.
2863
2864 if test "$srcdir" = "."; then
2865 if test "$with_target_subdir" != "."; then
2866 multi_basedir="$srcdir/$with_multisrctop../.."
2867 else
2868 multi_basedir="$srcdir/$with_multisrctop.."
2869 fi
2870 else
2871 multi_basedir="$srcdir/.."
2872 fi
2873
2874
2875 # Even if the default multilib is not a cross compilation,
2876 # it may be that some of the other multilibs are.
2877 if test $cross_compiling = no && test $multilib = yes \
2878 && test "x${with_multisubdir}" != x ; then
2879 cross_compiling=maybe
2880 fi
2881
2882 ac_config_commands="$ac_config_commands default-1"
2883
2884
2885 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2886 #
2887 # You will slowly go insane if you do not grok the following fact: when
2888 # building v3 as part of the compiler, the top-level /target/ becomes the
2889 # library's /host/. configure then causes --target to default to --host,
2890 # exactly like any other package using autoconf. Therefore, 'target' and
2891 # 'host' will always be the same. This makes sense both for native and
2892 # cross compilers, just think about it for a little while. :-)
2893 #
2894 # Also, if v3 is being configured as part of a cross compiler, the top-level
2895 # configure script will pass the "real" host as $with_cross_host.
2896 #
2897 # Do not delete or change the following two lines. For why, see
2898 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2899 ac_aux_dir=
2900 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2901 for ac_t in install-sh install.sh shtool; do
2902 if test -f "$ac_dir/$ac_t"; then
2903 ac_aux_dir=$ac_dir
2904 ac_install_sh="$ac_aux_dir/$ac_t -c"
2905 break 2
2906 fi
2907 done
2908 done
2909 if test -z "$ac_aux_dir"; then
2910 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2911 fi
2912
2913 # These three variables are undocumented and unsupported,
2914 # and are intended to be withdrawn in a future Autoconf release.
2915 # They can cause serious problems if a builder's source tree is in a directory
2916 # whose full name contains unusual characters.
2917 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2918 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2919 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2920
2921
2922 # Make sure we can run config.sub.
2923 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2924 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2925
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2927 $as_echo_n "checking build system type... " >&6; }
2928 if test "${ac_cv_build+set}" = set; then :
2929 $as_echo_n "(cached) " >&6
2930 else
2931 ac_build_alias=$build_alias
2932 test "x$ac_build_alias" = x &&
2933 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2934 test "x$ac_build_alias" = x &&
2935 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2936 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2937 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2938
2939 fi
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2941 $as_echo "$ac_cv_build" >&6; }
2942 case $ac_cv_build in
2943 *-*-*) ;;
2944 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2945 esac
2946 build=$ac_cv_build
2947 ac_save_IFS=$IFS; IFS='-'
2948 set x $ac_cv_build
2949 shift
2950 build_cpu=$1
2951 build_vendor=$2
2952 shift; shift
2953 # Remember, the first character of IFS is used to create $*,
2954 # except with old shells:
2955 build_os=$*
2956 IFS=$ac_save_IFS
2957 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2958
2959
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2961 $as_echo_n "checking host system type... " >&6; }
2962 if test "${ac_cv_host+set}" = set; then :
2963 $as_echo_n "(cached) " >&6
2964 else
2965 if test "x$host_alias" = x; then
2966 ac_cv_host=$ac_cv_build
2967 else
2968 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2969 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2970 fi
2971
2972 fi
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2974 $as_echo "$ac_cv_host" >&6; }
2975 case $ac_cv_host in
2976 *-*-*) ;;
2977 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2978 esac
2979 host=$ac_cv_host
2980 ac_save_IFS=$IFS; IFS='-'
2981 set x $ac_cv_host
2982 shift
2983 host_cpu=$1
2984 host_vendor=$2
2985 shift; shift
2986 # Remember, the first character of IFS is used to create $*,
2987 # except with old shells:
2988 host_os=$*
2989 IFS=$ac_save_IFS
2990 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2991
2992
2993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
2994 $as_echo_n "checking target system type... " >&6; }
2995 if test "${ac_cv_target+set}" = set; then :
2996 $as_echo_n "(cached) " >&6
2997 else
2998 if test "x$target_alias" = x; then
2999 ac_cv_target=$ac_cv_host
3000 else
3001 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3002 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3003 fi
3004
3005 fi
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3007 $as_echo "$ac_cv_target" >&6; }
3008 case $ac_cv_target in
3009 *-*-*) ;;
3010 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3011 esac
3012 target=$ac_cv_target
3013 ac_save_IFS=$IFS; IFS='-'
3014 set x $ac_cv_target
3015 shift
3016 target_cpu=$1
3017 target_vendor=$2
3018 shift; shift
3019 # Remember, the first character of IFS is used to create $*,
3020 # except with old shells:
3021 target_os=$*
3022 IFS=$ac_save_IFS
3023 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3024
3025
3026 # The aliases save the names the user supplied, while $host etc.
3027 # will get canonicalized.
3028 test -n "$target_alias" &&
3029 test "$program_prefix$program_suffix$program_transform_name" = \
3030 NONENONEs,x,x, &&
3031 program_prefix=${target_alias}-
3032
3033 target_alias=${target_alias-$host_alias}
3034
3035 # Handy for debugging:
3036 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3037
3038 if test "$build" != "$host"; then
3039 # We are being configured with some form of cross compiler.
3040 GLIBCXX_IS_NATIVE=false
3041 case "$host","$target" in
3042 # Darwin crosses can use the host system's libraries and headers,
3043 # because of the fat library support. Of course, it must be the
3044 # same version of Darwin on both sides. Allow the user to
3045 # just say --target=foo-darwin without a version number to mean
3046 # "the version on this system".
3047 *-*-darwin*,*-*-darwin*)
3048 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3049 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3050 if test $hostos = $targetos -o $targetos = darwin ; then
3051 GLIBCXX_IS_NATIVE=true
3052 fi
3053 ;;
3054
3055 *)
3056
3057 ;;
3058 esac
3059 else
3060 GLIBCXX_IS_NATIVE=true
3061 fi
3062
3063 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3064 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3065 # 1.x: minimum required version
3066 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3067 # of other PACKAGE_* variables will, however, and there's nothing
3068 # we can do about that; they come from AC_INIT).
3069 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3070 # file in the top srcdir, etc, etc), so stop complaining.
3071 # no-dependencies: turns off auto dependency generation (just for now)
3072 # no-dist: we don't want 'dist' and related rules.
3073 # -Wall: turns on all automake warnings...
3074 # -Wno-portability: ...except this one, since GNU make is now required.
3075 am__api_version='1.11'
3076
3077 # Find a good install program. We prefer a C program (faster),
3078 # so one script is as good as another. But avoid the broken or
3079 # incompatible versions:
3080 # SysV /etc/install, /usr/sbin/install
3081 # SunOS /usr/etc/install
3082 # IRIX /sbin/install
3083 # AIX /bin/install
3084 # AmigaOS /C/install, which installs bootblocks on floppy discs
3085 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3086 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3087 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3088 # OS/2's system install, which has a completely different semantic
3089 # ./install, which can be erroneously created by make from ./install.sh.
3090 # Reject install programs that cannot install multiple files.
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3092 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3093 if test -z "$INSTALL"; then
3094 if test "${ac_cv_path_install+set}" = set; then :
3095 $as_echo_n "(cached) " >&6
3096 else
3097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3098 for as_dir in $PATH
3099 do
3100 IFS=$as_save_IFS
3101 test -z "$as_dir" && as_dir=.
3102 # Account for people who put trailing slashes in PATH elements.
3103 case $as_dir/ in #((
3104 ./ | .// | /[cC]/* | \
3105 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3106 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3107 /usr/ucb/* ) ;;
3108 *)
3109 # OSF1 and SCO ODT 3.0 have their own names for install.
3110 # Don't use installbsd from OSF since it installs stuff as root
3111 # by default.
3112 for ac_prog in ginstall scoinst install; do
3113 for ac_exec_ext in '' $ac_executable_extensions; do
3114 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3115 if test $ac_prog = install &&
3116 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3117 # AIX install. It has an incompatible calling convention.
3118 :
3119 elif test $ac_prog = install &&
3120 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3121 # program-specific install script used by HP pwplus--don't use.
3122 :
3123 else
3124 rm -rf conftest.one conftest.two conftest.dir
3125 echo one > conftest.one
3126 echo two > conftest.two
3127 mkdir conftest.dir
3128 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3129 test -s conftest.one && test -s conftest.two &&
3130 test -s conftest.dir/conftest.one &&
3131 test -s conftest.dir/conftest.two
3132 then
3133 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3134 break 3
3135 fi
3136 fi
3137 fi
3138 done
3139 done
3140 ;;
3141 esac
3142
3143 done
3144 IFS=$as_save_IFS
3145
3146 rm -rf conftest.one conftest.two conftest.dir
3147
3148 fi
3149 if test "${ac_cv_path_install+set}" = set; then
3150 INSTALL=$ac_cv_path_install
3151 else
3152 # As a last resort, use the slow shell script. Don't cache a
3153 # value for INSTALL within a source directory, because that will
3154 # break other packages using the cache if that directory is
3155 # removed, or if the value is a relative name.
3156 INSTALL=$ac_install_sh
3157 fi
3158 fi
3159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3160 $as_echo "$INSTALL" >&6; }
3161
3162 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3163 # It thinks the first close brace ends the variable substitution.
3164 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3165
3166 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3167
3168 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3169
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3171 $as_echo_n "checking whether build environment is sane... " >&6; }
3172 # Just in case
3173 sleep 1
3174 echo timestamp > conftest.file
3175 # Reject unsafe characters in $srcdir or the absolute working directory
3176 # name. Accept space and tab only in the latter.
3177 am_lf='
3178 '
3179 case `pwd` in
3180 *[\\\"\#\$\&\'\`$am_lf]*)
3181 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3182 esac
3183 case $srcdir in
3184 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3185 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3186 esac
3187
3188 # Do `set' in a subshell so we don't clobber the current shell's
3189 # arguments. Must try -L first in case configure is actually a
3190 # symlink; some systems play weird games with the mod time of symlinks
3191 # (eg FreeBSD returns the mod time of the symlink's containing
3192 # directory).
3193 if (
3194 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3195 if test "$*" = "X"; then
3196 # -L didn't work.
3197 set X `ls -t "$srcdir/configure" conftest.file`
3198 fi
3199 rm -f conftest.file
3200 if test "$*" != "X $srcdir/configure conftest.file" \
3201 && test "$*" != "X conftest.file $srcdir/configure"; then
3202
3203 # If neither matched, then we have a broken ls. This can happen
3204 # if, for instance, CONFIG_SHELL is bash and it inherits a
3205 # broken ls alias from the environment. This has actually
3206 # happened. Such a system could not be considered "sane".
3207 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3208 alias in your environment" "$LINENO" 5
3209 fi
3210
3211 test "$2" = conftest.file
3212 )
3213 then
3214 # Ok.
3215 :
3216 else
3217 as_fn_error "newly created file is older than distributed files!
3218 Check your system clock" "$LINENO" 5
3219 fi
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3221 $as_echo "yes" >&6; }
3222 test "$program_prefix" != NONE &&
3223 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3224 # Use a double $ so make ignores it.
3225 test "$program_suffix" != NONE &&
3226 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3227 # Double any \ or $.
3228 # By default was `s,x,x', remove it if useless.
3229 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3230 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3231
3232 # expand $ac_aux_dir to an absolute path
3233 am_aux_dir=`cd $ac_aux_dir && pwd`
3234
3235 if test x"${MISSING+set}" != xset; then
3236 case $am_aux_dir in
3237 *\ * | *\ *)
3238 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3239 *)
3240 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3241 esac
3242 fi
3243 # Use eval to expand $SHELL
3244 if eval "$MISSING --run true"; then
3245 am_missing_run="$MISSING --run "
3246 else
3247 am_missing_run=
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3249 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3250 fi
3251
3252 if test x"${install_sh}" != xset; then
3253 case $am_aux_dir in
3254 *\ * | *\ *)
3255 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3256 *)
3257 install_sh="\${SHELL} $am_aux_dir/install-sh"
3258 esac
3259 fi
3260
3261 # Installed binaries are usually stripped using `strip' when the user
3262 # run `make install-strip'. However `strip' might not be the right
3263 # tool to use in cross-compilation environments, therefore Automake
3264 # will honor the `STRIP' environment variable to overrule this program.
3265 if test "$cross_compiling" != no; then
3266 if test -n "$ac_tool_prefix"; then
3267 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3268 set dummy ${ac_tool_prefix}strip; ac_word=$2
3269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3270 $as_echo_n "checking for $ac_word... " >&6; }
3271 if test "${ac_cv_prog_STRIP+set}" = set; then :
3272 $as_echo_n "(cached) " >&6
3273 else
3274 if test -n "$STRIP"; then
3275 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3276 else
3277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3278 for as_dir in $PATH
3279 do
3280 IFS=$as_save_IFS
3281 test -z "$as_dir" && as_dir=.
3282 for ac_exec_ext in '' $ac_executable_extensions; do
3283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3284 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3286 break 2
3287 fi
3288 done
3289 done
3290 IFS=$as_save_IFS
3291
3292 fi
3293 fi
3294 STRIP=$ac_cv_prog_STRIP
3295 if test -n "$STRIP"; then
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3297 $as_echo "$STRIP" >&6; }
3298 else
3299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3300 $as_echo "no" >&6; }
3301 fi
3302
3303
3304 fi
3305 if test -z "$ac_cv_prog_STRIP"; then
3306 ac_ct_STRIP=$STRIP
3307 # Extract the first word of "strip", so it can be a program name with args.
3308 set dummy strip; ac_word=$2
3309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3310 $as_echo_n "checking for $ac_word... " >&6; }
3311 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3312 $as_echo_n "(cached) " >&6
3313 else
3314 if test -n "$ac_ct_STRIP"; then
3315 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3316 else
3317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3318 for as_dir in $PATH
3319 do
3320 IFS=$as_save_IFS
3321 test -z "$as_dir" && as_dir=.
3322 for ac_exec_ext in '' $ac_executable_extensions; do
3323 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3324 ac_cv_prog_ac_ct_STRIP="strip"
3325 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 break 2
3327 fi
3328 done
3329 done
3330 IFS=$as_save_IFS
3331
3332 fi
3333 fi
3334 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3335 if test -n "$ac_ct_STRIP"; then
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3337 $as_echo "$ac_ct_STRIP" >&6; }
3338 else
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3340 $as_echo "no" >&6; }
3341 fi
3342
3343 if test "x$ac_ct_STRIP" = x; then
3344 STRIP=":"
3345 else
3346 case $cross_compiling:$ac_tool_warned in
3347 yes:)
3348 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3349 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3350 ac_tool_warned=yes ;;
3351 esac
3352 STRIP=$ac_ct_STRIP
3353 fi
3354 else
3355 STRIP="$ac_cv_prog_STRIP"
3356 fi
3357
3358 fi
3359 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3360
3361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3362 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3363 if test -z "$MKDIR_P"; then
3364 if test "${ac_cv_path_mkdir+set}" = set; then :
3365 $as_echo_n "(cached) " >&6
3366 else
3367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3368 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3369 do
3370 IFS=$as_save_IFS
3371 test -z "$as_dir" && as_dir=.
3372 for ac_prog in mkdir gmkdir; do
3373 for ac_exec_ext in '' $ac_executable_extensions; do
3374 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3375 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3376 'mkdir (GNU coreutils) '* | \
3377 'mkdir (coreutils) '* | \
3378 'mkdir (fileutils) '4.1*)
3379 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3380 break 3;;
3381 esac
3382 done
3383 done
3384 done
3385 IFS=$as_save_IFS
3386
3387 fi
3388
3389 if test "${ac_cv_path_mkdir+set}" = set; then
3390 MKDIR_P="$ac_cv_path_mkdir -p"
3391 else
3392 # As a last resort, use the slow shell script. Don't cache a
3393 # value for MKDIR_P within a source directory, because that will
3394 # break other packages using the cache if that directory is
3395 # removed, or if the value is a relative name.
3396 test -d ./--version && rmdir ./--version
3397 MKDIR_P="$ac_install_sh -d"
3398 fi
3399 fi
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3401 $as_echo "$MKDIR_P" >&6; }
3402
3403 mkdir_p="$MKDIR_P"
3404 case $mkdir_p in
3405 [\\/$]* | ?:[\\/]*) ;;
3406 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3407 esac
3408
3409 for ac_prog in gawk mawk nawk awk
3410 do
3411 # Extract the first word of "$ac_prog", so it can be a program name with args.
3412 set dummy $ac_prog; ac_word=$2
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3414 $as_echo_n "checking for $ac_word... " >&6; }
3415 if test "${ac_cv_prog_AWK+set}" = set; then :
3416 $as_echo_n "(cached) " >&6
3417 else
3418 if test -n "$AWK"; then
3419 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3420 else
3421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3422 for as_dir in $PATH
3423 do
3424 IFS=$as_save_IFS
3425 test -z "$as_dir" && as_dir=.
3426 for ac_exec_ext in '' $ac_executable_extensions; do
3427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3428 ac_cv_prog_AWK="$ac_prog"
3429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3430 break 2
3431 fi
3432 done
3433 done
3434 IFS=$as_save_IFS
3435
3436 fi
3437 fi
3438 AWK=$ac_cv_prog_AWK
3439 if test -n "$AWK"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3441 $as_echo "$AWK" >&6; }
3442 else
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3444 $as_echo "no" >&6; }
3445 fi
3446
3447
3448 test -n "$AWK" && break
3449 done
3450
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3452 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3453 set x ${MAKE-make}
3454 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3455 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3456 $as_echo_n "(cached) " >&6
3457 else
3458 cat >conftest.make <<\_ACEOF
3459 SHELL = /bin/sh
3460 all:
3461 @echo '@@@%%%=$(MAKE)=@@@%%%'
3462 _ACEOF
3463 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3464 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3465 *@@@%%%=?*=@@@%%%*)
3466 eval ac_cv_prog_make_${ac_make}_set=yes;;
3467 *)
3468 eval ac_cv_prog_make_${ac_make}_set=no;;
3469 esac
3470 rm -f conftest.make
3471 fi
3472 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3474 $as_echo "yes" >&6; }
3475 SET_MAKE=
3476 else
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3478 $as_echo "no" >&6; }
3479 SET_MAKE="MAKE=${MAKE-make}"
3480 fi
3481
3482 rm -rf .tst 2>/dev/null
3483 mkdir .tst 2>/dev/null
3484 if test -d .tst; then
3485 am__leading_dot=.
3486 else
3487 am__leading_dot=_
3488 fi
3489 rmdir .tst 2>/dev/null
3490
3491 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3492 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3493 # is not polluted with repeated "-I."
3494 am__isrc=' -I$(srcdir)'
3495 # test to see if srcdir already configured
3496 if test -f $srcdir/config.status; then
3497 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3498 fi
3499 fi
3500
3501 # test whether we have cygpath
3502 if test -z "$CYGPATH_W"; then
3503 if (cygpath --version) >/dev/null 2>/dev/null; then
3504 CYGPATH_W='cygpath -w'
3505 else
3506 CYGPATH_W=echo
3507 fi
3508 fi
3509
3510
3511 # Define the identity of the package.
3512 PACKAGE='libstdc++'
3513 VERSION='version-unused'
3514
3515
3516 # Some tools Automake needs.
3517
3518 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3519
3520
3521 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3522
3523
3524 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3525
3526
3527 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3528
3529
3530 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3531
3532 # We need awk for the "check" target. The system "awk" is bad on
3533 # some platforms.
3534 # Always define AMTAR for backward compatibility. Yes, it's still used
3535 # in the wild :-( We should find a proper way to deprecate it ...
3536 AMTAR='$${TAR-tar}'
3537
3538 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3539
3540
3541
3542
3543
3544
3545
3546
3547 # -fno-builtin must be present here so that a non-conflicting form of
3548 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3549
3550 save_CXXFLAGS="$CXXFLAGS"
3551 CXXFLAGS="$CXXFLAGS -fno-builtin"
3552 ac_ext=c
3553 ac_cpp='$CPP $CPPFLAGS'
3554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3557 if test -n "$ac_tool_prefix"; then
3558 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3559 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3561 $as_echo_n "checking for $ac_word... " >&6; }
3562 if test "${ac_cv_prog_CC+set}" = set; then :
3563 $as_echo_n "(cached) " >&6
3564 else
3565 if test -n "$CC"; then
3566 ac_cv_prog_CC="$CC" # Let the user override the test.
3567 else
3568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3569 for as_dir in $PATH
3570 do
3571 IFS=$as_save_IFS
3572 test -z "$as_dir" && as_dir=.
3573 for ac_exec_ext in '' $ac_executable_extensions; do
3574 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3575 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3577 break 2
3578 fi
3579 done
3580 done
3581 IFS=$as_save_IFS
3582
3583 fi
3584 fi
3585 CC=$ac_cv_prog_CC
3586 if test -n "$CC"; then
3587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3588 $as_echo "$CC" >&6; }
3589 else
3590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3591 $as_echo "no" >&6; }
3592 fi
3593
3594
3595 fi
3596 if test -z "$ac_cv_prog_CC"; then
3597 ac_ct_CC=$CC
3598 # Extract the first word of "gcc", so it can be a program name with args.
3599 set dummy gcc; ac_word=$2
3600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3601 $as_echo_n "checking for $ac_word... " >&6; }
3602 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3603 $as_echo_n "(cached) " >&6
3604 else
3605 if test -n "$ac_ct_CC"; then
3606 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3607 else
3608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3609 for as_dir in $PATH
3610 do
3611 IFS=$as_save_IFS
3612 test -z "$as_dir" && as_dir=.
3613 for ac_exec_ext in '' $ac_executable_extensions; do
3614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3615 ac_cv_prog_ac_ct_CC="gcc"
3616 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3617 break 2
3618 fi
3619 done
3620 done
3621 IFS=$as_save_IFS
3622
3623 fi
3624 fi
3625 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3626 if test -n "$ac_ct_CC"; then
3627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3628 $as_echo "$ac_ct_CC" >&6; }
3629 else
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3632 fi
3633
3634 if test "x$ac_ct_CC" = x; then
3635 CC=""
3636 else
3637 case $cross_compiling:$ac_tool_warned in
3638 yes:)
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3640 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3641 ac_tool_warned=yes ;;
3642 esac
3643 CC=$ac_ct_CC
3644 fi
3645 else
3646 CC="$ac_cv_prog_CC"
3647 fi
3648
3649 if test -z "$CC"; then
3650 if test -n "$ac_tool_prefix"; then
3651 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3652 set dummy ${ac_tool_prefix}cc; ac_word=$2
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3654 $as_echo_n "checking for $ac_word... " >&6; }
3655 if test "${ac_cv_prog_CC+set}" = set; then :
3656 $as_echo_n "(cached) " >&6
3657 else
3658 if test -n "$CC"; then
3659 ac_cv_prog_CC="$CC" # Let the user override the test.
3660 else
3661 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3662 for as_dir in $PATH
3663 do
3664 IFS=$as_save_IFS
3665 test -z "$as_dir" && as_dir=.
3666 for ac_exec_ext in '' $ac_executable_extensions; do
3667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3668 ac_cv_prog_CC="${ac_tool_prefix}cc"
3669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3670 break 2
3671 fi
3672 done
3673 done
3674 IFS=$as_save_IFS
3675
3676 fi
3677 fi
3678 CC=$ac_cv_prog_CC
3679 if test -n "$CC"; then
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3681 $as_echo "$CC" >&6; }
3682 else
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3684 $as_echo "no" >&6; }
3685 fi
3686
3687
3688 fi
3689 fi
3690 if test -z "$CC"; then
3691 # Extract the first word of "cc", so it can be a program name with args.
3692 set dummy cc; ac_word=$2
3693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3694 $as_echo_n "checking for $ac_word... " >&6; }
3695 if test "${ac_cv_prog_CC+set}" = set; then :
3696 $as_echo_n "(cached) " >&6
3697 else
3698 if test -n "$CC"; then
3699 ac_cv_prog_CC="$CC" # Let the user override the test.
3700 else
3701 ac_prog_rejected=no
3702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3703 for as_dir in $PATH
3704 do
3705 IFS=$as_save_IFS
3706 test -z "$as_dir" && as_dir=.
3707 for ac_exec_ext in '' $ac_executable_extensions; do
3708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3709 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3710 ac_prog_rejected=yes
3711 continue
3712 fi
3713 ac_cv_prog_CC="cc"
3714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3715 break 2
3716 fi
3717 done
3718 done
3719 IFS=$as_save_IFS
3720
3721 if test $ac_prog_rejected = yes; then
3722 # We found a bogon in the path, so make sure we never use it.
3723 set dummy $ac_cv_prog_CC
3724 shift
3725 if test $# != 0; then
3726 # We chose a different compiler from the bogus one.
3727 # However, it has the same basename, so the bogon will be chosen
3728 # first if we set CC to just the basename; use the full file name.
3729 shift
3730 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3731 fi
3732 fi
3733 fi
3734 fi
3735 CC=$ac_cv_prog_CC
3736 if test -n "$CC"; then
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3738 $as_echo "$CC" >&6; }
3739 else
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3741 $as_echo "no" >&6; }
3742 fi
3743
3744
3745 fi
3746 if test -z "$CC"; then
3747 if test -n "$ac_tool_prefix"; then
3748 for ac_prog in cl.exe
3749 do
3750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3753 $as_echo_n "checking for $ac_word... " >&6; }
3754 if test "${ac_cv_prog_CC+set}" = set; then :
3755 $as_echo_n "(cached) " >&6
3756 else
3757 if test -n "$CC"; then
3758 ac_cv_prog_CC="$CC" # Let the user override the test.
3759 else
3760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3761 for as_dir in $PATH
3762 do
3763 IFS=$as_save_IFS
3764 test -z "$as_dir" && as_dir=.
3765 for ac_exec_ext in '' $ac_executable_extensions; do
3766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3767 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 break 2
3770 fi
3771 done
3772 done
3773 IFS=$as_save_IFS
3774
3775 fi
3776 fi
3777 CC=$ac_cv_prog_CC
3778 if test -n "$CC"; then
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3780 $as_echo "$CC" >&6; }
3781 else
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3783 $as_echo "no" >&6; }
3784 fi
3785
3786
3787 test -n "$CC" && break
3788 done
3789 fi
3790 if test -z "$CC"; then
3791 ac_ct_CC=$CC
3792 for ac_prog in cl.exe
3793 do
3794 # Extract the first word of "$ac_prog", so it can be a program name with args.
3795 set dummy $ac_prog; ac_word=$2
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3797 $as_echo_n "checking for $ac_word... " >&6; }
3798 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3799 $as_echo_n "(cached) " >&6
3800 else
3801 if test -n "$ac_ct_CC"; then
3802 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3803 else
3804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3805 for as_dir in $PATH
3806 do
3807 IFS=$as_save_IFS
3808 test -z "$as_dir" && as_dir=.
3809 for ac_exec_ext in '' $ac_executable_extensions; do
3810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3811 ac_cv_prog_ac_ct_CC="$ac_prog"
3812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3813 break 2
3814 fi
3815 done
3816 done
3817 IFS=$as_save_IFS
3818
3819 fi
3820 fi
3821 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3822 if test -n "$ac_ct_CC"; then
3823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3824 $as_echo "$ac_ct_CC" >&6; }
3825 else
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3827 $as_echo "no" >&6; }
3828 fi
3829
3830
3831 test -n "$ac_ct_CC" && break
3832 done
3833
3834 if test "x$ac_ct_CC" = x; then
3835 CC=""
3836 else
3837 case $cross_compiling:$ac_tool_warned in
3838 yes:)
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3841 ac_tool_warned=yes ;;
3842 esac
3843 CC=$ac_ct_CC
3844 fi
3845 fi
3846
3847 fi
3848
3849
3850 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3851 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3852 as_fn_error "no acceptable C compiler found in \$PATH
3853 See \`config.log' for more details." "$LINENO" 5; }
3854
3855 # Provide some information about the compiler.
3856 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3857 set X $ac_compile
3858 ac_compiler=$2
3859 for ac_option in --version -v -V -qversion; do
3860 { { ac_try="$ac_compiler $ac_option >&5"
3861 case "(($ac_try" in
3862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3863 *) ac_try_echo=$ac_try;;
3864 esac
3865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3866 $as_echo "$ac_try_echo"; } >&5
3867 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3868 ac_status=$?
3869 if test -s conftest.err; then
3870 sed '10a\
3871 ... rest of stderr output deleted ...
3872 10q' conftest.err >conftest.er1
3873 cat conftest.er1 >&5
3874 rm -f conftest.er1 conftest.err
3875 fi
3876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3877 test $ac_status = 0; }
3878 done
3879
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3882
3883 int
3884 main ()
3885 {
3886
3887 ;
3888 return 0;
3889 }
3890 _ACEOF
3891 # FIXME: Cleanup?
3892 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3893 (eval $ac_link) 2>&5
3894 ac_status=$?
3895 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3896 test $ac_status = 0; }; then :
3897 gcc_no_link=no
3898 else
3899 gcc_no_link=yes
3900 fi
3901 if test x$gcc_no_link = xyes; then
3902 # Setting cross_compile will disable run tests; it will
3903 # also disable AC_CHECK_FILE but that's generally
3904 # correct if we can't link.
3905 cross_compiling=yes
3906 EXEEXT=
3907 else
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3910
3911 int
3912 main ()
3913 {
3914
3915 ;
3916 return 0;
3917 }
3918 _ACEOF
3919 ac_clean_files_save=$ac_clean_files
3920 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3921 # Try to create an executable without -o first, disregard a.out.
3922 # It will help us diagnose broken compilers, and finding out an intuition
3923 # of exeext.
3924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3925 $as_echo_n "checking for C compiler default output file name... " >&6; }
3926 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3927
3928 # The possible output files:
3929 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3930
3931 ac_rmfiles=
3932 for ac_file in $ac_files
3933 do
3934 case $ac_file in
3935 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3936 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3937 esac
3938 done
3939 rm -f $ac_rmfiles
3940
3941 if { { ac_try="$ac_link_default"
3942 case "(($ac_try" in
3943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3944 *) ac_try_echo=$ac_try;;
3945 esac
3946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3947 $as_echo "$ac_try_echo"; } >&5
3948 (eval "$ac_link_default") 2>&5
3949 ac_status=$?
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }; then :
3952 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3953 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3954 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3955 # so that the user can short-circuit this test for compilers unknown to
3956 # Autoconf.
3957 for ac_file in $ac_files ''
3958 do
3959 test -f "$ac_file" || continue
3960 case $ac_file in
3961 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3962 ;;
3963 [ab].out )
3964 # We found the default executable, but exeext='' is most
3965 # certainly right.
3966 break;;
3967 *.* )
3968 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3969 then :; else
3970 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3971 fi
3972 # We set ac_cv_exeext here because the later test for it is not
3973 # safe: cross compilers may not add the suffix if given an `-o'
3974 # argument, so we may need to know it at that point already.
3975 # Even if this section looks crufty: it has the advantage of
3976 # actually working.
3977 break;;
3978 * )
3979 break;;
3980 esac
3981 done
3982 test "$ac_cv_exeext" = no && ac_cv_exeext=
3983
3984 else
3985 ac_file=''
3986 fi
3987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3988 $as_echo "$ac_file" >&6; }
3989 if test -z "$ac_file"; then :
3990 $as_echo "$as_me: failed program was:" >&5
3991 sed 's/^/| /' conftest.$ac_ext >&5
3992
3993 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3994 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3995 { as_fn_set_status 77
3996 as_fn_error "C compiler cannot create executables
3997 See \`config.log' for more details." "$LINENO" 5; }; }
3998 fi
3999 ac_exeext=$ac_cv_exeext
4000
4001 # Check that the compiler produces executables we can run. If not, either
4002 # the compiler is broken, or we cross compile.
4003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4004 $as_echo_n "checking whether the C compiler works... " >&6; }
4005 # If not cross compiling, check that we can run a simple program.
4006 if test "$cross_compiling" != yes; then
4007 if { ac_try='./$ac_file'
4008 { { case "(($ac_try" in
4009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4010 *) ac_try_echo=$ac_try;;
4011 esac
4012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4013 $as_echo "$ac_try_echo"; } >&5
4014 (eval "$ac_try") 2>&5
4015 ac_status=$?
4016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4017 test $ac_status = 0; }; }; then
4018 cross_compiling=no
4019 else
4020 if test "$cross_compiling" = maybe; then
4021 cross_compiling=yes
4022 else
4023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4025 as_fn_error "cannot run C compiled programs.
4026 If you meant to cross compile, use \`--host'.
4027 See \`config.log' for more details." "$LINENO" 5; }
4028 fi
4029 fi
4030 fi
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4032 $as_echo "yes" >&6; }
4033
4034 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4035 ac_clean_files=$ac_clean_files_save
4036 # Check that the compiler produces executables we can run. If not, either
4037 # the compiler is broken, or we cross compile.
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4039 $as_echo_n "checking whether we are cross compiling... " >&6; }
4040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4041 $as_echo "$cross_compiling" >&6; }
4042
4043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4044 $as_echo_n "checking for suffix of executables... " >&6; }
4045 if { { ac_try="$ac_link"
4046 case "(($ac_try" in
4047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4048 *) ac_try_echo=$ac_try;;
4049 esac
4050 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4051 $as_echo "$ac_try_echo"; } >&5
4052 (eval "$ac_link") 2>&5
4053 ac_status=$?
4054 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4055 test $ac_status = 0; }; then :
4056 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4057 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4058 # work properly (i.e., refer to `conftest.exe'), while it won't with
4059 # `rm'.
4060 for ac_file in conftest.exe conftest conftest.*; do
4061 test -f "$ac_file" || continue
4062 case $ac_file in
4063 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4064 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4065 break;;
4066 * ) break;;
4067 esac
4068 done
4069 else
4070 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4071 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4072 as_fn_error "cannot compute suffix of executables: cannot compile and link
4073 See \`config.log' for more details." "$LINENO" 5; }
4074 fi
4075 rm -f conftest$ac_cv_exeext
4076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4077 $as_echo "$ac_cv_exeext" >&6; }
4078
4079 rm -f conftest.$ac_ext
4080 EXEEXT=$ac_cv_exeext
4081 ac_exeext=$EXEEXT
4082 fi
4083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4084 $as_echo_n "checking for suffix of object files... " >&6; }
4085 if test "${ac_cv_objext+set}" = set; then :
4086 $as_echo_n "(cached) " >&6
4087 else
4088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4089 /* end confdefs.h. */
4090
4091 int
4092 main ()
4093 {
4094
4095 ;
4096 return 0;
4097 }
4098 _ACEOF
4099 rm -f conftest.o conftest.obj
4100 if { { ac_try="$ac_compile"
4101 case "(($ac_try" in
4102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4103 *) ac_try_echo=$ac_try;;
4104 esac
4105 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4106 $as_echo "$ac_try_echo"; } >&5
4107 (eval "$ac_compile") 2>&5
4108 ac_status=$?
4109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4110 test $ac_status = 0; }; then :
4111 for ac_file in conftest.o conftest.obj conftest.*; do
4112 test -f "$ac_file" || continue;
4113 case $ac_file in
4114 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4115 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4116 break;;
4117 esac
4118 done
4119 else
4120 $as_echo "$as_me: failed program was:" >&5
4121 sed 's/^/| /' conftest.$ac_ext >&5
4122
4123 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4124 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4125 as_fn_error "cannot compute suffix of object files: cannot compile
4126 See \`config.log' for more details." "$LINENO" 5; }
4127 fi
4128 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4129 fi
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4131 $as_echo "$ac_cv_objext" >&6; }
4132 OBJEXT=$ac_cv_objext
4133 ac_objext=$OBJEXT
4134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4135 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4136 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4137 $as_echo_n "(cached) " >&6
4138 else
4139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4140 /* end confdefs.h. */
4141
4142 int
4143 main ()
4144 {
4145 #ifndef __GNUC__
4146 choke me
4147 #endif
4148
4149 ;
4150 return 0;
4151 }
4152 _ACEOF
4153 if ac_fn_c_try_compile "$LINENO"; then :
4154 ac_compiler_gnu=yes
4155 else
4156 ac_compiler_gnu=no
4157 fi
4158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4159 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4160
4161 fi
4162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4163 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4164 if test $ac_compiler_gnu = yes; then
4165 GCC=yes
4166 else
4167 GCC=
4168 fi
4169 ac_test_CFLAGS=${CFLAGS+set}
4170 ac_save_CFLAGS=$CFLAGS
4171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4172 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4173 if test "${ac_cv_prog_cc_g+set}" = set; then :
4174 $as_echo_n "(cached) " >&6
4175 else
4176 ac_save_c_werror_flag=$ac_c_werror_flag
4177 ac_c_werror_flag=yes
4178 ac_cv_prog_cc_g=no
4179 CFLAGS="-g"
4180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4181 /* end confdefs.h. */
4182
4183 int
4184 main ()
4185 {
4186
4187 ;
4188 return 0;
4189 }
4190 _ACEOF
4191 if ac_fn_c_try_compile "$LINENO"; then :
4192 ac_cv_prog_cc_g=yes
4193 else
4194 CFLAGS=""
4195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4196 /* end confdefs.h. */
4197
4198 int
4199 main ()
4200 {
4201
4202 ;
4203 return 0;
4204 }
4205 _ACEOF
4206 if ac_fn_c_try_compile "$LINENO"; then :
4207
4208 else
4209 ac_c_werror_flag=$ac_save_c_werror_flag
4210 CFLAGS="-g"
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4213
4214 int
4215 main ()
4216 {
4217
4218 ;
4219 return 0;
4220 }
4221 _ACEOF
4222 if ac_fn_c_try_compile "$LINENO"; then :
4223 ac_cv_prog_cc_g=yes
4224 fi
4225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4226 fi
4227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4228 fi
4229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4230 ac_c_werror_flag=$ac_save_c_werror_flag
4231 fi
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4233 $as_echo "$ac_cv_prog_cc_g" >&6; }
4234 if test "$ac_test_CFLAGS" = set; then
4235 CFLAGS=$ac_save_CFLAGS
4236 elif test $ac_cv_prog_cc_g = yes; then
4237 if test "$GCC" = yes; then
4238 CFLAGS="-g -O2"
4239 else
4240 CFLAGS="-g"
4241 fi
4242 else
4243 if test "$GCC" = yes; then
4244 CFLAGS="-O2"
4245 else
4246 CFLAGS=
4247 fi
4248 fi
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4250 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4251 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4252 $as_echo_n "(cached) " >&6
4253 else
4254 ac_cv_prog_cc_c89=no
4255 ac_save_CC=$CC
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4258 #include <stdarg.h>
4259 #include <stdio.h>
4260 #include <sys/types.h>
4261 #include <sys/stat.h>
4262 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4263 struct buf { int x; };
4264 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4265 static char *e (p, i)
4266 char **p;
4267 int i;
4268 {
4269 return p[i];
4270 }
4271 static char *f (char * (*g) (char **, int), char **p, ...)
4272 {
4273 char *s;
4274 va_list v;
4275 va_start (v,p);
4276 s = g (p, va_arg (v,int));
4277 va_end (v);
4278 return s;
4279 }
4280
4281 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4282 function prototypes and stuff, but not '\xHH' hex character constants.
4283 These don't provoke an error unfortunately, instead are silently treated
4284 as 'x'. The following induces an error, until -std is added to get
4285 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4286 array size at least. It's necessary to write '\x00'==0 to get something
4287 that's true only with -std. */
4288 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4289
4290 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4291 inside strings and character constants. */
4292 #define FOO(x) 'x'
4293 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4294
4295 int test (int i, double x);
4296 struct s1 {int (*f) (int a);};
4297 struct s2 {int (*f) (double a);};
4298 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4299 int argc;
4300 char **argv;
4301 int
4302 main ()
4303 {
4304 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4305 ;
4306 return 0;
4307 }
4308 _ACEOF
4309 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4310 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4311 do
4312 CC="$ac_save_CC $ac_arg"
4313 if ac_fn_c_try_compile "$LINENO"; then :
4314 ac_cv_prog_cc_c89=$ac_arg
4315 fi
4316 rm -f core conftest.err conftest.$ac_objext
4317 test "x$ac_cv_prog_cc_c89" != "xno" && break
4318 done
4319 rm -f conftest.$ac_ext
4320 CC=$ac_save_CC
4321
4322 fi
4323 # AC_CACHE_VAL
4324 case "x$ac_cv_prog_cc_c89" in
4325 x)
4326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4327 $as_echo "none needed" >&6; } ;;
4328 xno)
4329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4330 $as_echo "unsupported" >&6; } ;;
4331 *)
4332 CC="$CC $ac_cv_prog_cc_c89"
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4334 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4335 esac
4336 if test "x$ac_cv_prog_cc_c89" != xno; then :
4337
4338 fi
4339
4340 ac_ext=c
4341 ac_cpp='$CPP $CPPFLAGS'
4342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4345
4346 ac_ext=cpp
4347 ac_cpp='$CXXCPP $CPPFLAGS'
4348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4351 if test -z "$CXX"; then
4352 if test -n "$CCC"; then
4353 CXX=$CCC
4354 else
4355 if test -n "$ac_tool_prefix"; then
4356 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4357 do
4358 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4359 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4361 $as_echo_n "checking for $ac_word... " >&6; }
4362 if test "${ac_cv_prog_CXX+set}" = set; then :
4363 $as_echo_n "(cached) " >&6
4364 else
4365 if test -n "$CXX"; then
4366 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4367 else
4368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4369 for as_dir in $PATH
4370 do
4371 IFS=$as_save_IFS
4372 test -z "$as_dir" && as_dir=.
4373 for ac_exec_ext in '' $ac_executable_extensions; do
4374 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4375 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4376 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4377 break 2
4378 fi
4379 done
4380 done
4381 IFS=$as_save_IFS
4382
4383 fi
4384 fi
4385 CXX=$ac_cv_prog_CXX
4386 if test -n "$CXX"; then
4387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4388 $as_echo "$CXX" >&6; }
4389 else
4390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4391 $as_echo "no" >&6; }
4392 fi
4393
4394
4395 test -n "$CXX" && break
4396 done
4397 fi
4398 if test -z "$CXX"; then
4399 ac_ct_CXX=$CXX
4400 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4401 do
4402 # Extract the first word of "$ac_prog", so it can be a program name with args.
4403 set dummy $ac_prog; ac_word=$2
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4405 $as_echo_n "checking for $ac_word... " >&6; }
4406 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4407 $as_echo_n "(cached) " >&6
4408 else
4409 if test -n "$ac_ct_CXX"; then
4410 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4411 else
4412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4413 for as_dir in $PATH
4414 do
4415 IFS=$as_save_IFS
4416 test -z "$as_dir" && as_dir=.
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4419 ac_cv_prog_ac_ct_CXX="$ac_prog"
4420 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4421 break 2
4422 fi
4423 done
4424 done
4425 IFS=$as_save_IFS
4426
4427 fi
4428 fi
4429 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4430 if test -n "$ac_ct_CXX"; then
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4432 $as_echo "$ac_ct_CXX" >&6; }
4433 else
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4435 $as_echo "no" >&6; }
4436 fi
4437
4438
4439 test -n "$ac_ct_CXX" && break
4440 done
4441
4442 if test "x$ac_ct_CXX" = x; then
4443 CXX="g++"
4444 else
4445 case $cross_compiling:$ac_tool_warned in
4446 yes:)
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4448 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4449 ac_tool_warned=yes ;;
4450 esac
4451 CXX=$ac_ct_CXX
4452 fi
4453 fi
4454
4455 fi
4456 fi
4457 # Provide some information about the compiler.
4458 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4459 set X $ac_compile
4460 ac_compiler=$2
4461 for ac_option in --version -v -V -qversion; do
4462 { { ac_try="$ac_compiler $ac_option >&5"
4463 case "(($ac_try" in
4464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4465 *) ac_try_echo=$ac_try;;
4466 esac
4467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4468 $as_echo "$ac_try_echo"; } >&5
4469 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4470 ac_status=$?
4471 if test -s conftest.err; then
4472 sed '10a\
4473 ... rest of stderr output deleted ...
4474 10q' conftest.err >conftest.er1
4475 cat conftest.er1 >&5
4476 rm -f conftest.er1 conftest.err
4477 fi
4478 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4479 test $ac_status = 0; }
4480 done
4481
4482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4483 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4484 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4485 $as_echo_n "(cached) " >&6
4486 else
4487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4488 /* end confdefs.h. */
4489
4490 int
4491 main ()
4492 {
4493 #ifndef __GNUC__
4494 choke me
4495 #endif
4496
4497 ;
4498 return 0;
4499 }
4500 _ACEOF
4501 if ac_fn_cxx_try_compile "$LINENO"; then :
4502 ac_compiler_gnu=yes
4503 else
4504 ac_compiler_gnu=no
4505 fi
4506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4507 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4508
4509 fi
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4511 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4512 if test $ac_compiler_gnu = yes; then
4513 GXX=yes
4514 else
4515 GXX=
4516 fi
4517 ac_test_CXXFLAGS=${CXXFLAGS+set}
4518 ac_save_CXXFLAGS=$CXXFLAGS
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4520 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4521 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4522 $as_echo_n "(cached) " >&6
4523 else
4524 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4525 ac_cxx_werror_flag=yes
4526 ac_cv_prog_cxx_g=no
4527 CXXFLAGS="-g"
4528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4529 /* end confdefs.h. */
4530
4531 int
4532 main ()
4533 {
4534
4535 ;
4536 return 0;
4537 }
4538 _ACEOF
4539 if ac_fn_cxx_try_compile "$LINENO"; then :
4540 ac_cv_prog_cxx_g=yes
4541 else
4542 CXXFLAGS=""
4543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4544 /* end confdefs.h. */
4545
4546 int
4547 main ()
4548 {
4549
4550 ;
4551 return 0;
4552 }
4553 _ACEOF
4554 if ac_fn_cxx_try_compile "$LINENO"; then :
4555
4556 else
4557 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4558 CXXFLAGS="-g"
4559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4560 /* end confdefs.h. */
4561
4562 int
4563 main ()
4564 {
4565
4566 ;
4567 return 0;
4568 }
4569 _ACEOF
4570 if ac_fn_cxx_try_compile "$LINENO"; then :
4571 ac_cv_prog_cxx_g=yes
4572 fi
4573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4574 fi
4575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4576 fi
4577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4578 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4579 fi
4580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4581 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4582 if test "$ac_test_CXXFLAGS" = set; then
4583 CXXFLAGS=$ac_save_CXXFLAGS
4584 elif test $ac_cv_prog_cxx_g = yes; then
4585 if test "$GXX" = yes; then
4586 CXXFLAGS="-g -O2"
4587 else
4588 CXXFLAGS="-g"
4589 fi
4590 else
4591 if test "$GXX" = yes; then
4592 CXXFLAGS="-O2"
4593 else
4594 CXXFLAGS=
4595 fi
4596 fi
4597 ac_ext=c
4598 ac_cpp='$CPP $CPPFLAGS'
4599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4602
4603 CXXFLAGS="$save_CXXFLAGS"
4604
4605 # Runs configure.host, and assorted other critical bits. Sets
4606 # up critical shell variables.
4607
4608 ac_ext=c
4609 ac_cpp='$CPP $CPPFLAGS'
4610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4614 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4615 # On Suns, sometimes $CPP names a directory.
4616 if test -n "$CPP" && test -d "$CPP"; then
4617 CPP=
4618 fi
4619 if test -z "$CPP"; then
4620 if test "${ac_cv_prog_CPP+set}" = set; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 # Double quotes because CPP needs to be expanded
4624 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4625 do
4626 ac_preproc_ok=false
4627 for ac_c_preproc_warn_flag in '' yes
4628 do
4629 # Use a header file that comes with gcc, so configuring glibc
4630 # with a fresh cross-compiler works.
4631 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4632 # <limits.h> exists even on freestanding compilers.
4633 # On the NeXT, cc -E runs the code through the compiler's parser,
4634 # not just through cpp. "Syntax error" is here to catch this case.
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4637 #ifdef __STDC__
4638 # include <limits.h>
4639 #else
4640 # include <assert.h>
4641 #endif
4642 Syntax error
4643 _ACEOF
4644 if ac_fn_c_try_cpp "$LINENO"; then :
4645
4646 else
4647 # Broken: fails on valid input.
4648 continue
4649 fi
4650 rm -f conftest.err conftest.$ac_ext
4651
4652 # OK, works on sane cases. Now check whether nonexistent headers
4653 # can be detected and how.
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4656 #include <ac_nonexistent.h>
4657 _ACEOF
4658 if ac_fn_c_try_cpp "$LINENO"; then :
4659 # Broken: success on invalid input.
4660 continue
4661 else
4662 # Passes both tests.
4663 ac_preproc_ok=:
4664 break
4665 fi
4666 rm -f conftest.err conftest.$ac_ext
4667
4668 done
4669 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4670 rm -f conftest.err conftest.$ac_ext
4671 if $ac_preproc_ok; then :
4672 break
4673 fi
4674
4675 done
4676 ac_cv_prog_CPP=$CPP
4677
4678 fi
4679 CPP=$ac_cv_prog_CPP
4680 else
4681 ac_cv_prog_CPP=$CPP
4682 fi
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4684 $as_echo "$CPP" >&6; }
4685 ac_preproc_ok=false
4686 for ac_c_preproc_warn_flag in '' yes
4687 do
4688 # Use a header file that comes with gcc, so configuring glibc
4689 # with a fresh cross-compiler works.
4690 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4691 # <limits.h> exists even on freestanding compilers.
4692 # On the NeXT, cc -E runs the code through the compiler's parser,
4693 # not just through cpp. "Syntax error" is here to catch this case.
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4695 /* end confdefs.h. */
4696 #ifdef __STDC__
4697 # include <limits.h>
4698 #else
4699 # include <assert.h>
4700 #endif
4701 Syntax error
4702 _ACEOF
4703 if ac_fn_c_try_cpp "$LINENO"; then :
4704
4705 else
4706 # Broken: fails on valid input.
4707 continue
4708 fi
4709 rm -f conftest.err conftest.$ac_ext
4710
4711 # OK, works on sane cases. Now check whether nonexistent headers
4712 # can be detected and how.
4713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4714 /* end confdefs.h. */
4715 #include <ac_nonexistent.h>
4716 _ACEOF
4717 if ac_fn_c_try_cpp "$LINENO"; then :
4718 # Broken: success on invalid input.
4719 continue
4720 else
4721 # Passes both tests.
4722 ac_preproc_ok=:
4723 break
4724 fi
4725 rm -f conftest.err conftest.$ac_ext
4726
4727 done
4728 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4729 rm -f conftest.err conftest.$ac_ext
4730 if $ac_preproc_ok; then :
4731
4732 else
4733 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4734 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4735 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4736 See \`config.log' for more details." "$LINENO" 5; }
4737 fi
4738
4739 ac_ext=c
4740 ac_cpp='$CPP $CPPFLAGS'
4741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4744
4745
4746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4747 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4748 if test "${ac_cv_path_GREP+set}" = set; then :
4749 $as_echo_n "(cached) " >&6
4750 else
4751 if test -z "$GREP"; then
4752 ac_path_GREP_found=false
4753 # Loop through the user's path and test for each of PROGNAME-LIST
4754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4755 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4756 do
4757 IFS=$as_save_IFS
4758 test -z "$as_dir" && as_dir=.
4759 for ac_prog in grep ggrep; do
4760 for ac_exec_ext in '' $ac_executable_extensions; do
4761 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4762 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4763 # Check for GNU ac_path_GREP and select it if it is found.
4764 # Check for GNU $ac_path_GREP
4765 case `"$ac_path_GREP" --version 2>&1` in
4766 *GNU*)
4767 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4768 *)
4769 ac_count=0
4770 $as_echo_n 0123456789 >"conftest.in"
4771 while :
4772 do
4773 cat "conftest.in" "conftest.in" >"conftest.tmp"
4774 mv "conftest.tmp" "conftest.in"
4775 cp "conftest.in" "conftest.nl"
4776 $as_echo 'GREP' >> "conftest.nl"
4777 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4778 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4779 as_fn_arith $ac_count + 1 && ac_count=$as_val
4780 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4781 # Best one so far, save it but keep looking for a better one
4782 ac_cv_path_GREP="$ac_path_GREP"
4783 ac_path_GREP_max=$ac_count
4784 fi
4785 # 10*(2^10) chars as input seems more than enough
4786 test $ac_count -gt 10 && break
4787 done
4788 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4789 esac
4790
4791 $ac_path_GREP_found && break 3
4792 done
4793 done
4794 done
4795 IFS=$as_save_IFS
4796 if test -z "$ac_cv_path_GREP"; then
4797 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4798 fi
4799 else
4800 ac_cv_path_GREP=$GREP
4801 fi
4802
4803 fi
4804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4805 $as_echo "$ac_cv_path_GREP" >&6; }
4806 GREP="$ac_cv_path_GREP"
4807
4808
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4810 $as_echo_n "checking for egrep... " >&6; }
4811 if test "${ac_cv_path_EGREP+set}" = set; then :
4812 $as_echo_n "(cached) " >&6
4813 else
4814 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4815 then ac_cv_path_EGREP="$GREP -E"
4816 else
4817 if test -z "$EGREP"; then
4818 ac_path_EGREP_found=false
4819 # Loop through the user's path and test for each of PROGNAME-LIST
4820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4821 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4822 do
4823 IFS=$as_save_IFS
4824 test -z "$as_dir" && as_dir=.
4825 for ac_prog in egrep; do
4826 for ac_exec_ext in '' $ac_executable_extensions; do
4827 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4828 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4829 # Check for GNU ac_path_EGREP and select it if it is found.
4830 # Check for GNU $ac_path_EGREP
4831 case `"$ac_path_EGREP" --version 2>&1` in
4832 *GNU*)
4833 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4834 *)
4835 ac_count=0
4836 $as_echo_n 0123456789 >"conftest.in"
4837 while :
4838 do
4839 cat "conftest.in" "conftest.in" >"conftest.tmp"
4840 mv "conftest.tmp" "conftest.in"
4841 cp "conftest.in" "conftest.nl"
4842 $as_echo 'EGREP' >> "conftest.nl"
4843 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4844 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4845 as_fn_arith $ac_count + 1 && ac_count=$as_val
4846 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4847 # Best one so far, save it but keep looking for a better one
4848 ac_cv_path_EGREP="$ac_path_EGREP"
4849 ac_path_EGREP_max=$ac_count
4850 fi
4851 # 10*(2^10) chars as input seems more than enough
4852 test $ac_count -gt 10 && break
4853 done
4854 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4855 esac
4856
4857 $ac_path_EGREP_found && break 3
4858 done
4859 done
4860 done
4861 IFS=$as_save_IFS
4862 if test -z "$ac_cv_path_EGREP"; then
4863 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4864 fi
4865 else
4866 ac_cv_path_EGREP=$EGREP
4867 fi
4868
4869 fi
4870 fi
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4872 $as_echo "$ac_cv_path_EGREP" >&6; }
4873 EGREP="$ac_cv_path_EGREP"
4874
4875
4876
4877 # Keep these sync'd with the list in Makefile.am. The first provides an
4878 # expandable list at autoconf time; the second provides an expandable list
4879 # (i.e., shell variable) at configure time.
4880
4881 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4882
4883 # These need to be absolute paths, yet at the same time need to
4884 # canonicalize only relative paths, because then amd will not unmount
4885 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4886 glibcxx_builddir=`${PWDCMD-pwd}`
4887 case $srcdir in
4888 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4889 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4890 esac
4891 toplevel_builddir=${glibcxx_builddir}/..
4892 toplevel_srcdir=${glibcxx_srcdir}/..
4893
4894
4895
4896
4897
4898 # We use these options to decide which functions to include. They are
4899 # set from the top level.
4900
4901 # Check whether --with-target-subdir was given.
4902 if test "${with_target_subdir+set}" = set; then :
4903 withval=$with_target_subdir;
4904 fi
4905
4906
4907
4908 # Check whether --with-cross-host was given.
4909 if test "${with_cross_host+set}" = set; then :
4910 withval=$with_cross_host;
4911 fi
4912
4913
4914
4915 # Check whether --with-newlib was given.
4916 if test "${with_newlib+set}" = set; then :
4917 withval=$with_newlib;
4918 fi
4919
4920
4921 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4922 # available). Uncomment the next line to force a particular method.
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4924 $as_echo_n "checking whether ln -s works... " >&6; }
4925 LN_S=$as_ln_s
4926 if test "$LN_S" = "ln -s"; then
4927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4928 $as_echo "yes" >&6; }
4929 else
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4931 $as_echo "no, using $LN_S" >&6; }
4932 fi
4933
4934 #LN_S='cp -p'
4935
4936 if test -n "$ac_tool_prefix"; then
4937 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4938 set dummy ${ac_tool_prefix}as; ac_word=$2
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4940 $as_echo_n "checking for $ac_word... " >&6; }
4941 if test "${ac_cv_prog_AS+set}" = set; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 if test -n "$AS"; then
4945 ac_cv_prog_AS="$AS" # Let the user override the test.
4946 else
4947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4948 for as_dir in $PATH
4949 do
4950 IFS=$as_save_IFS
4951 test -z "$as_dir" && as_dir=.
4952 for ac_exec_ext in '' $ac_executable_extensions; do
4953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4954 ac_cv_prog_AS="${ac_tool_prefix}as"
4955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956 break 2
4957 fi
4958 done
4959 done
4960 IFS=$as_save_IFS
4961
4962 fi
4963 fi
4964 AS=$ac_cv_prog_AS
4965 if test -n "$AS"; then
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4967 $as_echo "$AS" >&6; }
4968 else
4969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4970 $as_echo "no" >&6; }
4971 fi
4972
4973
4974 fi
4975 if test -z "$ac_cv_prog_AS"; then
4976 ac_ct_AS=$AS
4977 # Extract the first word of "as", so it can be a program name with args.
4978 set dummy as; ac_word=$2
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4980 $as_echo_n "checking for $ac_word... " >&6; }
4981 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4982 $as_echo_n "(cached) " >&6
4983 else
4984 if test -n "$ac_ct_AS"; then
4985 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4986 else
4987 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4988 for as_dir in $PATH
4989 do
4990 IFS=$as_save_IFS
4991 test -z "$as_dir" && as_dir=.
4992 for ac_exec_ext in '' $ac_executable_extensions; do
4993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4994 ac_cv_prog_ac_ct_AS="as"
4995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4996 break 2
4997 fi
4998 done
4999 done
5000 IFS=$as_save_IFS
5001
5002 fi
5003 fi
5004 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5005 if test -n "$ac_ct_AS"; then
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5007 $as_echo "$ac_ct_AS" >&6; }
5008 else
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 $as_echo "no" >&6; }
5011 fi
5012
5013 if test "x$ac_ct_AS" = x; then
5014 AS=""
5015 else
5016 case $cross_compiling:$ac_tool_warned in
5017 yes:)
5018 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5019 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5020 ac_tool_warned=yes ;;
5021 esac
5022 AS=$ac_ct_AS
5023 fi
5024 else
5025 AS="$ac_cv_prog_AS"
5026 fi
5027
5028 if test -n "$ac_tool_prefix"; then
5029 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5030 set dummy ${ac_tool_prefix}ar; ac_word=$2
5031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032 $as_echo_n "checking for $ac_word... " >&6; }
5033 if test "${ac_cv_prog_AR+set}" = set; then :
5034 $as_echo_n "(cached) " >&6
5035 else
5036 if test -n "$AR"; then
5037 ac_cv_prog_AR="$AR" # Let the user override the test.
5038 else
5039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5040 for as_dir in $PATH
5041 do
5042 IFS=$as_save_IFS
5043 test -z "$as_dir" && as_dir=.
5044 for ac_exec_ext in '' $ac_executable_extensions; do
5045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5046 ac_cv_prog_AR="${ac_tool_prefix}ar"
5047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5048 break 2
5049 fi
5050 done
5051 done
5052 IFS=$as_save_IFS
5053
5054 fi
5055 fi
5056 AR=$ac_cv_prog_AR
5057 if test -n "$AR"; then
5058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5059 $as_echo "$AR" >&6; }
5060 else
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5062 $as_echo "no" >&6; }
5063 fi
5064
5065
5066 fi
5067 if test -z "$ac_cv_prog_AR"; then
5068 ac_ct_AR=$AR
5069 # Extract the first word of "ar", so it can be a program name with args.
5070 set dummy ar; ac_word=$2
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5072 $as_echo_n "checking for $ac_word... " >&6; }
5073 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5074 $as_echo_n "(cached) " >&6
5075 else
5076 if test -n "$ac_ct_AR"; then
5077 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5078 else
5079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5080 for as_dir in $PATH
5081 do
5082 IFS=$as_save_IFS
5083 test -z "$as_dir" && as_dir=.
5084 for ac_exec_ext in '' $ac_executable_extensions; do
5085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5086 ac_cv_prog_ac_ct_AR="ar"
5087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5088 break 2
5089 fi
5090 done
5091 done
5092 IFS=$as_save_IFS
5093
5094 fi
5095 fi
5096 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5097 if test -n "$ac_ct_AR"; then
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5099 $as_echo "$ac_ct_AR" >&6; }
5100 else
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5102 $as_echo "no" >&6; }
5103 fi
5104
5105 if test "x$ac_ct_AR" = x; then
5106 AR=""
5107 else
5108 case $cross_compiling:$ac_tool_warned in
5109 yes:)
5110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5112 ac_tool_warned=yes ;;
5113 esac
5114 AR=$ac_ct_AR
5115 fi
5116 else
5117 AR="$ac_cv_prog_AR"
5118 fi
5119
5120 if test -n "$ac_tool_prefix"; then
5121 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5122 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5124 $as_echo_n "checking for $ac_word... " >&6; }
5125 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5126 $as_echo_n "(cached) " >&6
5127 else
5128 if test -n "$RANLIB"; then
5129 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5130 else
5131 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5132 for as_dir in $PATH
5133 do
5134 IFS=$as_save_IFS
5135 test -z "$as_dir" && as_dir=.
5136 for ac_exec_ext in '' $ac_executable_extensions; do
5137 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5138 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5139 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5140 break 2
5141 fi
5142 done
5143 done
5144 IFS=$as_save_IFS
5145
5146 fi
5147 fi
5148 RANLIB=$ac_cv_prog_RANLIB
5149 if test -n "$RANLIB"; then
5150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5151 $as_echo "$RANLIB" >&6; }
5152 else
5153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5154 $as_echo "no" >&6; }
5155 fi
5156
5157
5158 fi
5159 if test -z "$ac_cv_prog_RANLIB"; then
5160 ac_ct_RANLIB=$RANLIB
5161 # Extract the first word of "ranlib", so it can be a program name with args.
5162 set dummy ranlib; ac_word=$2
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164 $as_echo_n "checking for $ac_word... " >&6; }
5165 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5166 $as_echo_n "(cached) " >&6
5167 else
5168 if test -n "$ac_ct_RANLIB"; then
5169 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5170 else
5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 for as_dir in $PATH
5173 do
5174 IFS=$as_save_IFS
5175 test -z "$as_dir" && as_dir=.
5176 for ac_exec_ext in '' $ac_executable_extensions; do
5177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5178 ac_cv_prog_ac_ct_RANLIB="ranlib"
5179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 break 2
5181 fi
5182 done
5183 done
5184 IFS=$as_save_IFS
5185
5186 fi
5187 fi
5188 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5189 if test -n "$ac_ct_RANLIB"; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5191 $as_echo "$ac_ct_RANLIB" >&6; }
5192 else
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5195 fi
5196
5197 if test "x$ac_ct_RANLIB" = x; then
5198 RANLIB="ranlib-not-found-in-path-error"
5199 else
5200 case $cross_compiling:$ac_tool_warned in
5201 yes:)
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5203 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5204 ac_tool_warned=yes ;;
5205 esac
5206 RANLIB=$ac_ct_RANLIB
5207 fi
5208 else
5209 RANLIB="$ac_cv_prog_RANLIB"
5210 fi
5211
5212
5213
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5215 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5216 # Check whether --enable-maintainer-mode was given.
5217 if test "${enable_maintainer_mode+set}" = set; then :
5218 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5219 else
5220 USE_MAINTAINER_MODE=no
5221 fi
5222
5223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5224 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5225 if test $USE_MAINTAINER_MODE = yes; then
5226 MAINTAINER_MODE_TRUE=
5227 MAINTAINER_MODE_FALSE='#'
5228 else
5229 MAINTAINER_MODE_TRUE='#'
5230 MAINTAINER_MODE_FALSE=
5231 fi
5232
5233 MAINT=$MAINTAINER_MODE_TRUE
5234
5235
5236
5237 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5238 # which are themselves conditionally expanded.
5239 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5240 ## other macros from doing the same. This should be automated.) -pme
5241
5242 # Check for C library flavor since GNU/Linux platforms use different
5243 # configuration directories depending on the C library in use.
5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5246
5247 #include <stdio.h>
5248 #if __UCLIBC__
5249 _using_uclibc
5250 #endif
5251
5252 _ACEOF
5253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5254 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5255 uclibc=yes
5256 else
5257 uclibc=no
5258 fi
5259 rm -f conftest*
5260
5261
5262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5263 /* end confdefs.h. */
5264
5265 #include <stdio.h>
5266 #if __BIONIC__
5267 _using_bionic
5268 #endif
5269
5270 _ACEOF
5271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5272 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5273 bionic=yes
5274 else
5275 bionic=no
5276 fi
5277 rm -f conftest*
5278
5279
5280 # Find platform-specific directories containing configuration info.
5281 # Also possibly modify flags used elsewhere, as needed by the platform.
5282
5283 . $glibcxx_srcdir/configure.host
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5285 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5287 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5288
5289
5290
5291 # Libtool setup.
5292 if test "x${with_newlib}" != "xyes"; then
5293 enable_dlopen=yes
5294
5295
5296
5297 fi
5298 case `pwd` in
5299 *\ * | *\ *)
5300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5301 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5302 esac
5303
5304
5305
5306 macro_version='2.2.7a'
5307 macro_revision='1.3134'
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321 ltmain="$ac_aux_dir/ltmain.sh"
5322
5323 # Backslashify metacharacters that are still active within
5324 # double-quoted strings.
5325 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5326
5327 # Same as above, but do not quote variable references.
5328 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5329
5330 # Sed substitution to delay expansion of an escaped shell variable in a
5331 # double_quote_subst'ed string.
5332 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5333
5334 # Sed substitution to delay expansion of an escaped single quote.
5335 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5336
5337 # Sed substitution to avoid accidental globbing in evaled expressions
5338 no_glob_subst='s/\*/\\\*/g'
5339
5340 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5341 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5342 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5343
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5345 $as_echo_n "checking how to print strings... " >&6; }
5346 # Test print first, because it will be a builtin if present.
5347 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5348 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5349 ECHO='print -r --'
5350 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5351 ECHO='printf %s\n'
5352 else
5353 # Use this function as a fallback that always works.
5354 func_fallback_echo ()
5355 {
5356 eval 'cat <<_LTECHO_EOF
5357 $1
5358 _LTECHO_EOF'
5359 }
5360 ECHO='func_fallback_echo'
5361 fi
5362
5363 # func_echo_all arg...
5364 # Invoke $ECHO with all args, space-separated.
5365 func_echo_all ()
5366 {
5367 $ECHO ""
5368 }
5369
5370 case "$ECHO" in
5371 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5372 $as_echo "printf" >&6; } ;;
5373 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5374 $as_echo "print -r" >&6; } ;;
5375 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5376 $as_echo "cat" >&6; } ;;
5377 esac
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5393 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5394 if test "${ac_cv_path_SED+set}" = set; then :
5395 $as_echo_n "(cached) " >&6
5396 else
5397 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5398 for ac_i in 1 2 3 4 5 6 7; do
5399 ac_script="$ac_script$as_nl$ac_script"
5400 done
5401 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5402 { ac_script=; unset ac_script;}
5403 if test -z "$SED"; then
5404 ac_path_SED_found=false
5405 # Loop through the user's path and test for each of PROGNAME-LIST
5406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5407 for as_dir in $PATH
5408 do
5409 IFS=$as_save_IFS
5410 test -z "$as_dir" && as_dir=.
5411 for ac_prog in sed gsed; do
5412 for ac_exec_ext in '' $ac_executable_extensions; do
5413 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5414 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5415 # Check for GNU ac_path_SED and select it if it is found.
5416 # Check for GNU $ac_path_SED
5417 case `"$ac_path_SED" --version 2>&1` in
5418 *GNU*)
5419 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5420 *)
5421 ac_count=0
5422 $as_echo_n 0123456789 >"conftest.in"
5423 while :
5424 do
5425 cat "conftest.in" "conftest.in" >"conftest.tmp"
5426 mv "conftest.tmp" "conftest.in"
5427 cp "conftest.in" "conftest.nl"
5428 $as_echo '' >> "conftest.nl"
5429 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5430 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5431 as_fn_arith $ac_count + 1 && ac_count=$as_val
5432 if test $ac_count -gt ${ac_path_SED_max-0}; then
5433 # Best one so far, save it but keep looking for a better one
5434 ac_cv_path_SED="$ac_path_SED"
5435 ac_path_SED_max=$ac_count
5436 fi
5437 # 10*(2^10) chars as input seems more than enough
5438 test $ac_count -gt 10 && break
5439 done
5440 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5441 esac
5442
5443 $ac_path_SED_found && break 3
5444 done
5445 done
5446 done
5447 IFS=$as_save_IFS
5448 if test -z "$ac_cv_path_SED"; then
5449 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5450 fi
5451 else
5452 ac_cv_path_SED=$SED
5453 fi
5454
5455 fi
5456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5457 $as_echo "$ac_cv_path_SED" >&6; }
5458 SED="$ac_cv_path_SED"
5459 rm -f conftest.sed
5460
5461 test -z "$SED" && SED=sed
5462 Xsed="$SED -e 1s/^X//"
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5475 $as_echo_n "checking for fgrep... " >&6; }
5476 if test "${ac_cv_path_FGREP+set}" = set; then :
5477 $as_echo_n "(cached) " >&6
5478 else
5479 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5480 then ac_cv_path_FGREP="$GREP -F"
5481 else
5482 if test -z "$FGREP"; then
5483 ac_path_FGREP_found=false
5484 # Loop through the user's path and test for each of PROGNAME-LIST
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5487 do
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_prog in fgrep; do
5491 for ac_exec_ext in '' $ac_executable_extensions; do
5492 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5493 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5494 # Check for GNU ac_path_FGREP and select it if it is found.
5495 # Check for GNU $ac_path_FGREP
5496 case `"$ac_path_FGREP" --version 2>&1` in
5497 *GNU*)
5498 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5499 *)
5500 ac_count=0
5501 $as_echo_n 0123456789 >"conftest.in"
5502 while :
5503 do
5504 cat "conftest.in" "conftest.in" >"conftest.tmp"
5505 mv "conftest.tmp" "conftest.in"
5506 cp "conftest.in" "conftest.nl"
5507 $as_echo 'FGREP' >> "conftest.nl"
5508 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5509 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5510 as_fn_arith $ac_count + 1 && ac_count=$as_val
5511 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5512 # Best one so far, save it but keep looking for a better one
5513 ac_cv_path_FGREP="$ac_path_FGREP"
5514 ac_path_FGREP_max=$ac_count
5515 fi
5516 # 10*(2^10) chars as input seems more than enough
5517 test $ac_count -gt 10 && break
5518 done
5519 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5520 esac
5521
5522 $ac_path_FGREP_found && break 3
5523 done
5524 done
5525 done
5526 IFS=$as_save_IFS
5527 if test -z "$ac_cv_path_FGREP"; then
5528 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5529 fi
5530 else
5531 ac_cv_path_FGREP=$FGREP
5532 fi
5533
5534 fi
5535 fi
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5537 $as_echo "$ac_cv_path_FGREP" >&6; }
5538 FGREP="$ac_cv_path_FGREP"
5539
5540
5541 test -z "$GREP" && GREP=grep
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561 # Check whether --with-gnu-ld was given.
5562 if test "${with_gnu_ld+set}" = set; then :
5563 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5564 else
5565 with_gnu_ld=no
5566 fi
5567
5568 ac_prog=ld
5569 if test "$GCC" = yes; then
5570 # Check if gcc -print-prog-name=ld gives a path.
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5572 $as_echo_n "checking for ld used by $CC... " >&6; }
5573 case $host in
5574 *-*-mingw*)
5575 # gcc leaves a trailing carriage return which upsets mingw
5576 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5577 *)
5578 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5579 esac
5580 case $ac_prog in
5581 # Accept absolute paths.
5582 [\\/]* | ?:[\\/]*)
5583 re_direlt='/[^/][^/]*/\.\./'
5584 # Canonicalize the pathname of ld
5585 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5586 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5587 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5588 done
5589 test -z "$LD" && LD="$ac_prog"
5590 ;;
5591 "")
5592 # If it fails, then pretend we aren't using GCC.
5593 ac_prog=ld
5594 ;;
5595 *)
5596 # If it is relative, then search for the first ld in PATH.
5597 with_gnu_ld=unknown
5598 ;;
5599 esac
5600 elif test "$with_gnu_ld" = yes; then
5601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5602 $as_echo_n "checking for GNU ld... " >&6; }
5603 else
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5605 $as_echo_n "checking for non-GNU ld... " >&6; }
5606 fi
5607 if test "${lt_cv_path_LD+set}" = set; then :
5608 $as_echo_n "(cached) " >&6
5609 else
5610 if test -z "$LD"; then
5611 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5612 for ac_dir in $PATH; do
5613 IFS="$lt_save_ifs"
5614 test -z "$ac_dir" && ac_dir=.
5615 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5616 lt_cv_path_LD="$ac_dir/$ac_prog"
5617 # Check to see if the program is GNU ld. I'd rather use --version,
5618 # but apparently some variants of GNU ld only accept -v.
5619 # Break only if it was the GNU/non-GNU ld that we prefer.
5620 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5621 *GNU* | *'with BFD'*)
5622 test "$with_gnu_ld" != no && break
5623 ;;
5624 *)
5625 test "$with_gnu_ld" != yes && break
5626 ;;
5627 esac
5628 fi
5629 done
5630 IFS="$lt_save_ifs"
5631 else
5632 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5633 fi
5634 fi
5635
5636 LD="$lt_cv_path_LD"
5637 if test -n "$LD"; then
5638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5639 $as_echo "$LD" >&6; }
5640 else
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5642 $as_echo "no" >&6; }
5643 fi
5644 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5646 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5647 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5650 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5651 case `$LD -v 2>&1 </dev/null` in
5652 *GNU* | *'with BFD'*)
5653 lt_cv_prog_gnu_ld=yes
5654 ;;
5655 *)
5656 lt_cv_prog_gnu_ld=no
5657 ;;
5658 esac
5659 fi
5660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5661 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5662 with_gnu_ld=$lt_cv_prog_gnu_ld
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5673 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5674 if test "${lt_cv_path_NM+set}" = set; then :
5675 $as_echo_n "(cached) " >&6
5676 else
5677 if test -n "$NM"; then
5678 # Let the user override the test.
5679 lt_cv_path_NM="$NM"
5680 else
5681 lt_nm_to_check="${ac_tool_prefix}nm"
5682 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5683 lt_nm_to_check="$lt_nm_to_check nm"
5684 fi
5685 for lt_tmp_nm in $lt_nm_to_check; do
5686 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5687 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5688 IFS="$lt_save_ifs"
5689 test -z "$ac_dir" && ac_dir=.
5690 tmp_nm="$ac_dir/$lt_tmp_nm"
5691 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5692 # Check to see if the nm accepts a BSD-compat flag.
5693 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5694 # nm: unknown option "B" ignored
5695 # Tru64's nm complains that /dev/null is an invalid object file
5696 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5697 */dev/null* | *'Invalid file or object type'*)
5698 lt_cv_path_NM="$tmp_nm -B"
5699 break
5700 ;;
5701 *)
5702 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5703 */dev/null*)
5704 lt_cv_path_NM="$tmp_nm -p"
5705 break
5706 ;;
5707 *)
5708 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5709 continue # so that we can try to find one that supports BSD flags
5710 ;;
5711 esac
5712 ;;
5713 esac
5714 fi
5715 done
5716 IFS="$lt_save_ifs"
5717 done
5718 : ${lt_cv_path_NM=no}
5719 fi
5720 fi
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5722 $as_echo "$lt_cv_path_NM" >&6; }
5723 if test "$lt_cv_path_NM" != "no"; then
5724 NM="$lt_cv_path_NM"
5725 else
5726 # Didn't find any BSD compatible name lister, look for dumpbin.
5727 if test -n "$DUMPBIN"; then :
5728 # Let the user override the test.
5729 else
5730 if test -n "$ac_tool_prefix"; then
5731 for ac_prog in dumpbin "link -dump"
5732 do
5733 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5734 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5736 $as_echo_n "checking for $ac_word... " >&6; }
5737 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5738 $as_echo_n "(cached) " >&6
5739 else
5740 if test -n "$DUMPBIN"; then
5741 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5742 else
5743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5744 for as_dir in $PATH
5745 do
5746 IFS=$as_save_IFS
5747 test -z "$as_dir" && as_dir=.
5748 for ac_exec_ext in '' $ac_executable_extensions; do
5749 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5750 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5751 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5752 break 2
5753 fi
5754 done
5755 done
5756 IFS=$as_save_IFS
5757
5758 fi
5759 fi
5760 DUMPBIN=$ac_cv_prog_DUMPBIN
5761 if test -n "$DUMPBIN"; then
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5763 $as_echo "$DUMPBIN" >&6; }
5764 else
5765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5766 $as_echo "no" >&6; }
5767 fi
5768
5769
5770 test -n "$DUMPBIN" && break
5771 done
5772 fi
5773 if test -z "$DUMPBIN"; then
5774 ac_ct_DUMPBIN=$DUMPBIN
5775 for ac_prog in dumpbin "link -dump"
5776 do
5777 # Extract the first word of "$ac_prog", so it can be a program name with args.
5778 set dummy $ac_prog; ac_word=$2
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5780 $as_echo_n "checking for $ac_word... " >&6; }
5781 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5782 $as_echo_n "(cached) " >&6
5783 else
5784 if test -n "$ac_ct_DUMPBIN"; then
5785 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5786 else
5787 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5788 for as_dir in $PATH
5789 do
5790 IFS=$as_save_IFS
5791 test -z "$as_dir" && as_dir=.
5792 for ac_exec_ext in '' $ac_executable_extensions; do
5793 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5794 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5795 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5796 break 2
5797 fi
5798 done
5799 done
5800 IFS=$as_save_IFS
5801
5802 fi
5803 fi
5804 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5805 if test -n "$ac_ct_DUMPBIN"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5807 $as_echo "$ac_ct_DUMPBIN" >&6; }
5808 else
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5810 $as_echo "no" >&6; }
5811 fi
5812
5813
5814 test -n "$ac_ct_DUMPBIN" && break
5815 done
5816
5817 if test "x$ac_ct_DUMPBIN" = x; then
5818 DUMPBIN=":"
5819 else
5820 case $cross_compiling:$ac_tool_warned in
5821 yes:)
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5823 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5824 ac_tool_warned=yes ;;
5825 esac
5826 DUMPBIN=$ac_ct_DUMPBIN
5827 fi
5828 fi
5829
5830 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5831 *COFF*)
5832 DUMPBIN="$DUMPBIN -symbols"
5833 ;;
5834 *)
5835 DUMPBIN=:
5836 ;;
5837 esac
5838 fi
5839
5840 if test "$DUMPBIN" != ":"; then
5841 NM="$DUMPBIN"
5842 fi
5843 fi
5844 test -z "$NM" && NM=nm
5845
5846
5847
5848
5849
5850
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5852 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5853 if test "${lt_cv_nm_interface+set}" = set; then :
5854 $as_echo_n "(cached) " >&6
5855 else
5856 lt_cv_nm_interface="BSD nm"
5857 echo "int some_variable = 0;" > conftest.$ac_ext
5858 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5859 (eval "$ac_compile" 2>conftest.err)
5860 cat conftest.err >&5
5861 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5862 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5863 cat conftest.err >&5
5864 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5865 cat conftest.out >&5
5866 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5867 lt_cv_nm_interface="MS dumpbin"
5868 fi
5869 rm -f conftest*
5870 fi
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5872 $as_echo "$lt_cv_nm_interface" >&6; }
5873
5874 # find the maximum length of command line arguments
5875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5876 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5877 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5878 $as_echo_n "(cached) " >&6
5879 else
5880 i=0
5881 teststring="ABCD"
5882
5883 case $build_os in
5884 msdosdjgpp*)
5885 # On DJGPP, this test can blow up pretty badly due to problems in libc
5886 # (any single argument exceeding 2000 bytes causes a buffer overrun
5887 # during glob expansion). Even if it were fixed, the result of this
5888 # check would be larger than it should be.
5889 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5890 ;;
5891
5892 gnu*)
5893 # Under GNU Hurd, this test is not required because there is
5894 # no limit to the length of command line arguments.
5895 # Libtool will interpret -1 as no limit whatsoever
5896 lt_cv_sys_max_cmd_len=-1;
5897 ;;
5898
5899 cygwin* | mingw* | cegcc*)
5900 # On Win9x/ME, this test blows up -- it succeeds, but takes
5901 # about 5 minutes as the teststring grows exponentially.
5902 # Worse, since 9x/ME are not pre-emptively multitasking,
5903 # you end up with a "frozen" computer, even though with patience
5904 # the test eventually succeeds (with a max line length of 256k).
5905 # Instead, let's just punt: use the minimum linelength reported by
5906 # all of the supported platforms: 8192 (on NT/2K/XP).
5907 lt_cv_sys_max_cmd_len=8192;
5908 ;;
5909
5910 mint*)
5911 # On MiNT this can take a long time and run out of memory.
5912 lt_cv_sys_max_cmd_len=8192;
5913 ;;
5914
5915 amigaos*)
5916 # On AmigaOS with pdksh, this test takes hours, literally.
5917 # So we just punt and use a minimum line length of 8192.
5918 lt_cv_sys_max_cmd_len=8192;
5919 ;;
5920
5921 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5922 # This has been around since 386BSD, at least. Likely further.
5923 if test -x /sbin/sysctl; then
5924 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5925 elif test -x /usr/sbin/sysctl; then
5926 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5927 else
5928 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5929 fi
5930 # And add a safety zone
5931 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5932 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5933 ;;
5934
5935 interix*)
5936 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5937 lt_cv_sys_max_cmd_len=196608
5938 ;;
5939
5940 osf*)
5941 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5942 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5943 # nice to cause kernel panics so lets avoid the loop below.
5944 # First set a reasonable default.
5945 lt_cv_sys_max_cmd_len=16384
5946 #
5947 if test -x /sbin/sysconfig; then
5948 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5949 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5950 esac
5951 fi
5952 ;;
5953 sco3.2v5*)
5954 lt_cv_sys_max_cmd_len=102400
5955 ;;
5956 sysv5* | sco5v6* | sysv4.2uw2*)
5957 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5958 if test -n "$kargmax"; then
5959 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5960 else
5961 lt_cv_sys_max_cmd_len=32768
5962 fi
5963 ;;
5964 *)
5965 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5966 if test -n "$lt_cv_sys_max_cmd_len"; then
5967 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5968 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5969 else
5970 # Make teststring a little bigger before we do anything with it.
5971 # a 1K string should be a reasonable start.
5972 for i in 1 2 3 4 5 6 7 8 ; do
5973 teststring=$teststring$teststring
5974 done
5975 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5976 # If test is not a shell built-in, we'll probably end up computing a
5977 # maximum length that is only half of the actual maximum length, but
5978 # we can't tell.
5979 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5980 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5981 test $i != 17 # 1/2 MB should be enough
5982 do
5983 i=`expr $i + 1`
5984 teststring=$teststring$teststring
5985 done
5986 # Only check the string length outside the loop.
5987 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5988 teststring=
5989 # Add a significant safety factor because C++ compilers can tack on
5990 # massive amounts of additional arguments before passing them to the
5991 # linker. It appears as though 1/2 is a usable value.
5992 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5993 fi
5994 ;;
5995 esac
5996
5997 fi
5998
5999 if test -n $lt_cv_sys_max_cmd_len ; then
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6001 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6002 else
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6004 $as_echo "none" >&6; }
6005 fi
6006 max_cmd_len=$lt_cv_sys_max_cmd_len
6007
6008
6009
6010
6011
6012
6013 : ${CP="cp -f"}
6014 : ${MV="mv -f"}
6015 : ${RM="rm -f"}
6016
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6018 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6019 # Try some XSI features
6020 xsi_shell=no
6021 ( _lt_dummy="a/b/c"
6022 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6023 = c,a/b,, \
6024 && eval 'test $(( 1 + 1 )) -eq 2 \
6025 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6026 && xsi_shell=yes
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6028 $as_echo "$xsi_shell" >&6; }
6029
6030
6031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6032 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6033 lt_shell_append=no
6034 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6035 >/dev/null 2>&1 \
6036 && lt_shell_append=yes
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6038 $as_echo "$lt_shell_append" >&6; }
6039
6040
6041 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6042 lt_unset=unset
6043 else
6044 lt_unset=false
6045 fi
6046
6047
6048
6049
6050
6051 # test EBCDIC or ASCII
6052 case `echo X|tr X '\101'` in
6053 A) # ASCII based system
6054 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6055 lt_SP2NL='tr \040 \012'
6056 lt_NL2SP='tr \015\012 \040\040'
6057 ;;
6058 *) # EBCDIC based system
6059 lt_SP2NL='tr \100 \n'
6060 lt_NL2SP='tr \r\n \100\100'
6061 ;;
6062 esac
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6073 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6074 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6075 $as_echo_n "(cached) " >&6
6076 else
6077 lt_cv_ld_reload_flag='-r'
6078 fi
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6080 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6081 reload_flag=$lt_cv_ld_reload_flag
6082 case $reload_flag in
6083 "" | " "*) ;;
6084 *) reload_flag=" $reload_flag" ;;
6085 esac
6086 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6087 case $host_os in
6088 darwin*)
6089 if test "$GCC" = yes; then
6090 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6091 else
6092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 fi
6094 ;;
6095 esac
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105 if test -n "$ac_tool_prefix"; then
6106 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6107 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109 $as_echo_n "checking for $ac_word... " >&6; }
6110 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6111 $as_echo_n "(cached) " >&6
6112 else
6113 if test -n "$OBJDUMP"; then
6114 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6115 else
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 for as_dir in $PATH
6118 do
6119 IFS=$as_save_IFS
6120 test -z "$as_dir" && as_dir=.
6121 for ac_exec_ext in '' $ac_executable_extensions; do
6122 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6123 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6124 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6125 break 2
6126 fi
6127 done
6128 done
6129 IFS=$as_save_IFS
6130
6131 fi
6132 fi
6133 OBJDUMP=$ac_cv_prog_OBJDUMP
6134 if test -n "$OBJDUMP"; then
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6136 $as_echo "$OBJDUMP" >&6; }
6137 else
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6139 $as_echo "no" >&6; }
6140 fi
6141
6142
6143 fi
6144 if test -z "$ac_cv_prog_OBJDUMP"; then
6145 ac_ct_OBJDUMP=$OBJDUMP
6146 # Extract the first word of "objdump", so it can be a program name with args.
6147 set dummy objdump; ac_word=$2
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 $as_echo_n "checking for $ac_word... " >&6; }
6150 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 if test -n "$ac_ct_OBJDUMP"; then
6154 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6155 else
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 for as_dir in $PATH
6158 do
6159 IFS=$as_save_IFS
6160 test -z "$as_dir" && as_dir=.
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6163 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6165 break 2
6166 fi
6167 done
6168 done
6169 IFS=$as_save_IFS
6170
6171 fi
6172 fi
6173 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6174 if test -n "$ac_ct_OBJDUMP"; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6176 $as_echo "$ac_ct_OBJDUMP" >&6; }
6177 else
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 $as_echo "no" >&6; }
6180 fi
6181
6182 if test "x$ac_ct_OBJDUMP" = x; then
6183 OBJDUMP="false"
6184 else
6185 case $cross_compiling:$ac_tool_warned in
6186 yes:)
6187 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6188 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6189 ac_tool_warned=yes ;;
6190 esac
6191 OBJDUMP=$ac_ct_OBJDUMP
6192 fi
6193 else
6194 OBJDUMP="$ac_cv_prog_OBJDUMP"
6195 fi
6196
6197 test -z "$OBJDUMP" && OBJDUMP=objdump
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6208 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6209 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6210 $as_echo_n "(cached) " >&6
6211 else
6212 lt_cv_file_magic_cmd='$MAGIC_CMD'
6213 lt_cv_file_magic_test_file=
6214 lt_cv_deplibs_check_method='unknown'
6215 # Need to set the preceding variable on all platforms that support
6216 # interlibrary dependencies.
6217 # 'none' -- dependencies not supported.
6218 # `unknown' -- same as none, but documents that we really don't know.
6219 # 'pass_all' -- all dependencies passed with no checks.
6220 # 'test_compile' -- check by making test program.
6221 # 'file_magic [[regex]]' -- check by looking for files in library path
6222 # which responds to the $file_magic_cmd with a given extended regex.
6223 # If you have `file' or equivalent on your system and you're not sure
6224 # whether `pass_all' will *always* work, you probably want this one.
6225
6226 case $host_os in
6227 aix[4-9]*)
6228 lt_cv_deplibs_check_method=pass_all
6229 ;;
6230
6231 beos*)
6232 lt_cv_deplibs_check_method=pass_all
6233 ;;
6234
6235 bsdi[45]*)
6236 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6237 lt_cv_file_magic_cmd='/usr/bin/file -L'
6238 lt_cv_file_magic_test_file=/shlib/libc.so
6239 ;;
6240
6241 cygwin*)
6242 # func_win32_libid is a shell function defined in ltmain.sh
6243 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6244 lt_cv_file_magic_cmd='func_win32_libid'
6245 ;;
6246
6247 mingw* | pw32*)
6248 # Base MSYS/MinGW do not provide the 'file' command needed by
6249 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6250 # unless we find 'file', for example because we are cross-compiling.
6251 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6252 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6253 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6254 lt_cv_file_magic_cmd='func_win32_libid'
6255 else
6256 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6257 lt_cv_file_magic_cmd='$OBJDUMP -f'
6258 fi
6259 ;;
6260
6261 cegcc*)
6262 # use the weaker test based on 'objdump'. See mingw*.
6263 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6264 lt_cv_file_magic_cmd='$OBJDUMP -f'
6265 ;;
6266
6267 darwin* | rhapsody*)
6268 lt_cv_deplibs_check_method=pass_all
6269 ;;
6270
6271 freebsd* | dragonfly*)
6272 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6273 case $host_cpu in
6274 i*86 )
6275 # Not sure whether the presence of OpenBSD here was a mistake.
6276 # Let's accept both of them until this is cleared up.
6277 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6278 lt_cv_file_magic_cmd=/usr/bin/file
6279 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6280 ;;
6281 esac
6282 else
6283 lt_cv_deplibs_check_method=pass_all
6284 fi
6285 ;;
6286
6287 gnu*)
6288 lt_cv_deplibs_check_method=pass_all
6289 ;;
6290
6291 haiku*)
6292 lt_cv_deplibs_check_method=pass_all
6293 ;;
6294
6295 hpux10.20* | hpux11*)
6296 lt_cv_file_magic_cmd=/usr/bin/file
6297 case $host_cpu in
6298 ia64*)
6299 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6300 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6301 ;;
6302 hppa*64*)
6303 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]'
6304 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6305 ;;
6306 *)
6307 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6308 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6309 ;;
6310 esac
6311 ;;
6312
6313 interix[3-9]*)
6314 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6315 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6316 ;;
6317
6318 irix5* | irix6* | nonstopux*)
6319 case $LD in
6320 *-32|*"-32 ") libmagic=32-bit;;
6321 *-n32|*"-n32 ") libmagic=N32;;
6322 *-64|*"-64 ") libmagic=64-bit;;
6323 *) libmagic=never-match;;
6324 esac
6325 lt_cv_deplibs_check_method=pass_all
6326 ;;
6327
6328 # This must be Linux ELF.
6329 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6330 lt_cv_deplibs_check_method=pass_all
6331 ;;
6332
6333 netbsd*)
6334 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6335 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6336 else
6337 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6338 fi
6339 ;;
6340
6341 newos6*)
6342 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6343 lt_cv_file_magic_cmd=/usr/bin/file
6344 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6345 ;;
6346
6347 *nto* | *qnx*)
6348 lt_cv_deplibs_check_method=pass_all
6349 ;;
6350
6351 openbsd*)
6352 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6353 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6354 else
6355 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6356 fi
6357 ;;
6358
6359 osf3* | osf4* | osf5*)
6360 lt_cv_deplibs_check_method=pass_all
6361 ;;
6362
6363 rdos*)
6364 lt_cv_deplibs_check_method=pass_all
6365 ;;
6366
6367 solaris*)
6368 lt_cv_deplibs_check_method=pass_all
6369 ;;
6370
6371 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6372 lt_cv_deplibs_check_method=pass_all
6373 ;;
6374
6375 sysv4 | sysv4.3*)
6376 case $host_vendor in
6377 motorola)
6378 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]'
6379 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6380 ;;
6381 ncr)
6382 lt_cv_deplibs_check_method=pass_all
6383 ;;
6384 sequent)
6385 lt_cv_file_magic_cmd='/bin/file'
6386 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6387 ;;
6388 sni)
6389 lt_cv_file_magic_cmd='/bin/file'
6390 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6391 lt_cv_file_magic_test_file=/lib/libc.so
6392 ;;
6393 siemens)
6394 lt_cv_deplibs_check_method=pass_all
6395 ;;
6396 pc)
6397 lt_cv_deplibs_check_method=pass_all
6398 ;;
6399 esac
6400 ;;
6401
6402 tpf*)
6403 lt_cv_deplibs_check_method=pass_all
6404 ;;
6405 esac
6406
6407 fi
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6409 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6410 file_magic_cmd=$lt_cv_file_magic_cmd
6411 deplibs_check_method=$lt_cv_deplibs_check_method
6412 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425 if test -n "$ac_tool_prefix"; then
6426 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6427 set dummy ${ac_tool_prefix}ar; ac_word=$2
6428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6429 $as_echo_n "checking for $ac_word... " >&6; }
6430 if test "${ac_cv_prog_AR+set}" = set; then :
6431 $as_echo_n "(cached) " >&6
6432 else
6433 if test -n "$AR"; then
6434 ac_cv_prog_AR="$AR" # Let the user override the test.
6435 else
6436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6437 for as_dir in $PATH
6438 do
6439 IFS=$as_save_IFS
6440 test -z "$as_dir" && as_dir=.
6441 for ac_exec_ext in '' $ac_executable_extensions; do
6442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6443 ac_cv_prog_AR="${ac_tool_prefix}ar"
6444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6445 break 2
6446 fi
6447 done
6448 done
6449 IFS=$as_save_IFS
6450
6451 fi
6452 fi
6453 AR=$ac_cv_prog_AR
6454 if test -n "$AR"; then
6455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6456 $as_echo "$AR" >&6; }
6457 else
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6459 $as_echo "no" >&6; }
6460 fi
6461
6462
6463 fi
6464 if test -z "$ac_cv_prog_AR"; then
6465 ac_ct_AR=$AR
6466 # Extract the first word of "ar", so it can be a program name with args.
6467 set dummy ar; ac_word=$2
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 $as_echo_n "checking for $ac_word... " >&6; }
6470 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6471 $as_echo_n "(cached) " >&6
6472 else
6473 if test -n "$ac_ct_AR"; then
6474 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6475 else
6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6477 for as_dir in $PATH
6478 do
6479 IFS=$as_save_IFS
6480 test -z "$as_dir" && as_dir=.
6481 for ac_exec_ext in '' $ac_executable_extensions; do
6482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6483 ac_cv_prog_ac_ct_AR="ar"
6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 break 2
6486 fi
6487 done
6488 done
6489 IFS=$as_save_IFS
6490
6491 fi
6492 fi
6493 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6494 if test -n "$ac_ct_AR"; then
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6496 $as_echo "$ac_ct_AR" >&6; }
6497 else
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 $as_echo "no" >&6; }
6500 fi
6501
6502 if test "x$ac_ct_AR" = x; then
6503 AR="false"
6504 else
6505 case $cross_compiling:$ac_tool_warned in
6506 yes:)
6507 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6508 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6509 ac_tool_warned=yes ;;
6510 esac
6511 AR=$ac_ct_AR
6512 fi
6513 else
6514 AR="$ac_cv_prog_AR"
6515 fi
6516
6517 test -z "$AR" && AR=ar
6518 test -z "$AR_FLAGS" && AR_FLAGS=cru
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530 if test -n "$ac_tool_prefix"; then
6531 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6532 set dummy ${ac_tool_prefix}strip; ac_word=$2
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6534 $as_echo_n "checking for $ac_word... " >&6; }
6535 if test "${ac_cv_prog_STRIP+set}" = set; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538 if test -n "$STRIP"; then
6539 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6540 else
6541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6542 for as_dir in $PATH
6543 do
6544 IFS=$as_save_IFS
6545 test -z "$as_dir" && as_dir=.
6546 for ac_exec_ext in '' $ac_executable_extensions; do
6547 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6548 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6549 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6550 break 2
6551 fi
6552 done
6553 done
6554 IFS=$as_save_IFS
6555
6556 fi
6557 fi
6558 STRIP=$ac_cv_prog_STRIP
6559 if test -n "$STRIP"; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6561 $as_echo "$STRIP" >&6; }
6562 else
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6564 $as_echo "no" >&6; }
6565 fi
6566
6567
6568 fi
6569 if test -z "$ac_cv_prog_STRIP"; then
6570 ac_ct_STRIP=$STRIP
6571 # Extract the first word of "strip", so it can be a program name with args.
6572 set dummy strip; ac_word=$2
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6574 $as_echo_n "checking for $ac_word... " >&6; }
6575 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6576 $as_echo_n "(cached) " >&6
6577 else
6578 if test -n "$ac_ct_STRIP"; then
6579 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6580 else
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582 for as_dir in $PATH
6583 do
6584 IFS=$as_save_IFS
6585 test -z "$as_dir" && as_dir=.
6586 for ac_exec_ext in '' $ac_executable_extensions; do
6587 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6588 ac_cv_prog_ac_ct_STRIP="strip"
6589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6590 break 2
6591 fi
6592 done
6593 done
6594 IFS=$as_save_IFS
6595
6596 fi
6597 fi
6598 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6599 if test -n "$ac_ct_STRIP"; then
6600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6601 $as_echo "$ac_ct_STRIP" >&6; }
6602 else
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6604 $as_echo "no" >&6; }
6605 fi
6606
6607 if test "x$ac_ct_STRIP" = x; then
6608 STRIP=":"
6609 else
6610 case $cross_compiling:$ac_tool_warned in
6611 yes:)
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6613 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6614 ac_tool_warned=yes ;;
6615 esac
6616 STRIP=$ac_ct_STRIP
6617 fi
6618 else
6619 STRIP="$ac_cv_prog_STRIP"
6620 fi
6621
6622 test -z "$STRIP" && STRIP=:
6623
6624
6625
6626
6627
6628
6629 if test -n "$ac_tool_prefix"; then
6630 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6631 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6633 $as_echo_n "checking for $ac_word... " >&6; }
6634 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6635 $as_echo_n "(cached) " >&6
6636 else
6637 if test -n "$RANLIB"; then
6638 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6639 else
6640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6641 for as_dir in $PATH
6642 do
6643 IFS=$as_save_IFS
6644 test -z "$as_dir" && as_dir=.
6645 for ac_exec_ext in '' $ac_executable_extensions; do
6646 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6647 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6648 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6649 break 2
6650 fi
6651 done
6652 done
6653 IFS=$as_save_IFS
6654
6655 fi
6656 fi
6657 RANLIB=$ac_cv_prog_RANLIB
6658 if test -n "$RANLIB"; then
6659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6660 $as_echo "$RANLIB" >&6; }
6661 else
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6663 $as_echo "no" >&6; }
6664 fi
6665
6666
6667 fi
6668 if test -z "$ac_cv_prog_RANLIB"; then
6669 ac_ct_RANLIB=$RANLIB
6670 # Extract the first word of "ranlib", so it can be a program name with args.
6671 set dummy ranlib; ac_word=$2
6672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6673 $as_echo_n "checking for $ac_word... " >&6; }
6674 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6675 $as_echo_n "(cached) " >&6
6676 else
6677 if test -n "$ac_ct_RANLIB"; then
6678 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6679 else
6680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6681 for as_dir in $PATH
6682 do
6683 IFS=$as_save_IFS
6684 test -z "$as_dir" && as_dir=.
6685 for ac_exec_ext in '' $ac_executable_extensions; do
6686 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6687 ac_cv_prog_ac_ct_RANLIB="ranlib"
6688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6689 break 2
6690 fi
6691 done
6692 done
6693 IFS=$as_save_IFS
6694
6695 fi
6696 fi
6697 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6698 if test -n "$ac_ct_RANLIB"; then
6699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6700 $as_echo "$ac_ct_RANLIB" >&6; }
6701 else
6702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6703 $as_echo "no" >&6; }
6704 fi
6705
6706 if test "x$ac_ct_RANLIB" = x; then
6707 RANLIB=":"
6708 else
6709 case $cross_compiling:$ac_tool_warned in
6710 yes:)
6711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6712 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6713 ac_tool_warned=yes ;;
6714 esac
6715 RANLIB=$ac_ct_RANLIB
6716 fi
6717 else
6718 RANLIB="$ac_cv_prog_RANLIB"
6719 fi
6720
6721 test -z "$RANLIB" && RANLIB=:
6722
6723
6724
6725
6726
6727
6728 # Determine commands to create old-style static archives.
6729 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6730 old_postinstall_cmds='chmod 644 $oldlib'
6731 old_postuninstall_cmds=
6732
6733 if test -n "$RANLIB"; then
6734 case $host_os in
6735 openbsd*)
6736 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6737 ;;
6738 *)
6739 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6740 ;;
6741 esac
6742 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6743 fi
6744
6745 case $host_os in
6746 darwin*)
6747 lock_old_archive_extraction=yes ;;
6748 *)
6749 lock_old_archive_extraction=no ;;
6750 esac
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
6790 # If no C compiler was specified, use CC.
6791 LTCC=${LTCC-"$CC"}
6792
6793 # If no C compiler flags were specified, use CFLAGS.
6794 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6795
6796 # Allow CC to be a program name with arguments.
6797 compiler=$CC
6798
6799
6800 # Check for command to grab the raw symbol name followed by C symbol from nm.
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6802 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6803 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6804 $as_echo_n "(cached) " >&6
6805 else
6806
6807 # These are sane defaults that work on at least a few old systems.
6808 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6809
6810 # Character class describing NM global symbol codes.
6811 symcode='[BCDEGRST]'
6812
6813 # Regexp to match symbols that can be accessed directly from C.
6814 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6815
6816 # Define system-specific variables.
6817 case $host_os in
6818 aix*)
6819 symcode='[BCDT]'
6820 ;;
6821 cygwin* | mingw* | pw32* | cegcc*)
6822 symcode='[ABCDGISTW]'
6823 ;;
6824 hpux*)
6825 if test "$host_cpu" = ia64; then
6826 symcode='[ABCDEGRST]'
6827 fi
6828 ;;
6829 irix* | nonstopux*)
6830 symcode='[BCDEGRST]'
6831 ;;
6832 osf*)
6833 symcode='[BCDEGQRST]'
6834 ;;
6835 solaris*)
6836 symcode='[BDRT]'
6837 ;;
6838 sco3.2v5*)
6839 symcode='[DT]'
6840 ;;
6841 sysv4.2uw2*)
6842 symcode='[DT]'
6843 ;;
6844 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6845 symcode='[ABDT]'
6846 ;;
6847 sysv4)
6848 symcode='[DFNSTU]'
6849 ;;
6850 esac
6851
6852 # If we're using GNU nm, then use its standard symbol codes.
6853 case `$NM -V 2>&1` in
6854 *GNU* | *'with BFD'*)
6855 symcode='[ABCDGIRSTW]' ;;
6856 esac
6857
6858 # Transform an extracted symbol line into a proper C declaration.
6859 # Some systems (esp. on ia64) link data and code symbols differently,
6860 # so use this general approach.
6861 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6862
6863 # Transform an extracted symbol line into symbol name and symbol address
6864 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6865 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'"
6866
6867 # Handle CRLF in mingw tool chain
6868 opt_cr=
6869 case $build_os in
6870 mingw*)
6871 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6872 ;;
6873 esac
6874
6875 # Try without a prefix underscore, then with it.
6876 for ac_symprfx in "" "_"; do
6877
6878 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6879 symxfrm="\\1 $ac_symprfx\\2 \\2"
6880
6881 # Write the raw and C identifiers.
6882 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6883 # Fake it for dumpbin and say T for any non-static function
6884 # and D for any global variable.
6885 # Also find C++ and __fastcall symbols from MSVC++,
6886 # which start with @ or ?.
6887 lt_cv_sys_global_symbol_pipe="$AWK '"\
6888 " {last_section=section; section=\$ 3};"\
6889 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6890 " \$ 0!~/External *\|/{next};"\
6891 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6892 " {if(hide[section]) next};"\
6893 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6894 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6895 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6896 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6897 " ' prfx=^$ac_symprfx"
6898 else
6899 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6900 fi
6901
6902 # Check to see that the pipe works correctly.
6903 pipe_works=no
6904
6905 rm -f conftest*
6906 cat > conftest.$ac_ext <<_LT_EOF
6907 #ifdef __cplusplus
6908 extern "C" {
6909 #endif
6910 char nm_test_var;
6911 void nm_test_func(void);
6912 void nm_test_func(void){}
6913 #ifdef __cplusplus
6914 }
6915 #endif
6916 int main(){nm_test_var='a';nm_test_func();return(0);}
6917 _LT_EOF
6918
6919 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6920 (eval $ac_compile) 2>&5
6921 ac_status=$?
6922 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6923 test $ac_status = 0; }; then
6924 # Now try to grab the symbols.
6925 nlist=conftest.nm
6926 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6927 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6928 ac_status=$?
6929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6930 test $ac_status = 0; } && test -s "$nlist"; then
6931 # Try sorting and uniquifying the output.
6932 if sort "$nlist" | uniq > "$nlist"T; then
6933 mv -f "$nlist"T "$nlist"
6934 else
6935 rm -f "$nlist"T
6936 fi
6937
6938 # Make sure that we snagged all the symbols we need.
6939 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6940 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6941 cat <<_LT_EOF > conftest.$ac_ext
6942 #ifdef __cplusplus
6943 extern "C" {
6944 #endif
6945
6946 _LT_EOF
6947 # Now generate the symbol file.
6948 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6949
6950 cat <<_LT_EOF >> conftest.$ac_ext
6951
6952 /* The mapping between symbol names and symbols. */
6953 const struct {
6954 const char *name;
6955 void *address;
6956 }
6957 lt__PROGRAM__LTX_preloaded_symbols[] =
6958 {
6959 { "@PROGRAM@", (void *) 0 },
6960 _LT_EOF
6961 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6962 cat <<\_LT_EOF >> conftest.$ac_ext
6963 {0, (void *) 0}
6964 };
6965
6966 /* This works around a problem in FreeBSD linker */
6967 #ifdef FREEBSD_WORKAROUND
6968 static const void *lt_preloaded_setup() {
6969 return lt__PROGRAM__LTX_preloaded_symbols;
6970 }
6971 #endif
6972
6973 #ifdef __cplusplus
6974 }
6975 #endif
6976 _LT_EOF
6977 # Now try linking the two files.
6978 mv conftest.$ac_objext conftstm.$ac_objext
6979 lt_save_LIBS="$LIBS"
6980 lt_save_CFLAGS="$CFLAGS"
6981 LIBS="conftstm.$ac_objext"
6982 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6983 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6984 (eval $ac_link) 2>&5
6985 ac_status=$?
6986 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6987 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6988 pipe_works=yes
6989 fi
6990 LIBS="$lt_save_LIBS"
6991 CFLAGS="$lt_save_CFLAGS"
6992 else
6993 echo "cannot find nm_test_func in $nlist" >&5
6994 fi
6995 else
6996 echo "cannot find nm_test_var in $nlist" >&5
6997 fi
6998 else
6999 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7000 fi
7001 else
7002 echo "$progname: failed program was:" >&5
7003 cat conftest.$ac_ext >&5
7004 fi
7005 rm -rf conftest* conftst*
7006
7007 # Do not use the global_symbol_pipe unless it works.
7008 if test "$pipe_works" = yes; then
7009 break
7010 else
7011 lt_cv_sys_global_symbol_pipe=
7012 fi
7013 done
7014
7015 fi
7016
7017 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7018 lt_cv_sys_global_symbol_to_cdecl=
7019 fi
7020 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7022 $as_echo "failed" >&6; }
7023 else
7024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7025 $as_echo "ok" >&6; }
7026 fi
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049 # Check whether --enable-libtool-lock was given.
7050 if test "${enable_libtool_lock+set}" = set; then :
7051 enableval=$enable_libtool_lock;
7052 fi
7053
7054 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7055
7056 # Some flags need to be propagated to the compiler or linker for good
7057 # libtool support.
7058 case $host in
7059 ia64-*-hpux*)
7060 # Find out which ABI we are using.
7061 echo 'int i;' > conftest.$ac_ext
7062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7063 (eval $ac_compile) 2>&5
7064 ac_status=$?
7065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7066 test $ac_status = 0; }; then
7067 case `/usr/bin/file conftest.$ac_objext` in
7068 *ELF-32*)
7069 HPUX_IA64_MODE="32"
7070 ;;
7071 *ELF-64*)
7072 HPUX_IA64_MODE="64"
7073 ;;
7074 esac
7075 fi
7076 rm -rf conftest*
7077 ;;
7078 *-*-irix6*)
7079 # Find out which ABI we are using.
7080 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7081 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7082 (eval $ac_compile) 2>&5
7083 ac_status=$?
7084 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7085 test $ac_status = 0; }; then
7086 if test "$lt_cv_prog_gnu_ld" = yes; then
7087 case `/usr/bin/file conftest.$ac_objext` in
7088 *32-bit*)
7089 LD="${LD-ld} -melf32bsmip"
7090 ;;
7091 *N32*)
7092 LD="${LD-ld} -melf32bmipn32"
7093 ;;
7094 *64-bit*)
7095 LD="${LD-ld} -melf64bmip"
7096 ;;
7097 esac
7098 else
7099 case `/usr/bin/file conftest.$ac_objext` in
7100 *32-bit*)
7101 LD="${LD-ld} -32"
7102 ;;
7103 *N32*)
7104 LD="${LD-ld} -n32"
7105 ;;
7106 *64-bit*)
7107 LD="${LD-ld} -64"
7108 ;;
7109 esac
7110 fi
7111 fi
7112 rm -rf conftest*
7113 ;;
7114
7115 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7116 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7117 # Find out which ABI we are using.
7118 echo 'int i;' > conftest.$ac_ext
7119 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7120 (eval $ac_compile) 2>&5
7121 ac_status=$?
7122 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7123 test $ac_status = 0; }; then
7124 case `/usr/bin/file conftest.o` in
7125 *32-bit*)
7126 case $host in
7127 x86_64-*kfreebsd*-gnu)
7128 LD="${LD-ld} -m elf_i386_fbsd"
7129 ;;
7130 x86_64-*linux*)
7131 case `/usr/bin/file conftest.o` in
7132 *x86-64*)
7133 LD="${LD-ld} -m elf32_x86_64"
7134 ;;
7135 *)
7136 LD="${LD-ld} -m elf_i386"
7137 ;;
7138 esac
7139 ;;
7140 ppc64-*linux*|powerpc64-*linux*)
7141 LD="${LD-ld} -m elf32ppclinux"
7142 ;;
7143 s390x-*linux*)
7144 LD="${LD-ld} -m elf_s390"
7145 ;;
7146 sparc64-*linux*)
7147 LD="${LD-ld} -m elf32_sparc"
7148 ;;
7149 esac
7150 ;;
7151 *64-bit*)
7152 case $host in
7153 x86_64-*kfreebsd*-gnu)
7154 LD="${LD-ld} -m elf_x86_64_fbsd"
7155 ;;
7156 x86_64-*linux*)
7157 LD="${LD-ld} -m elf_x86_64"
7158 ;;
7159 ppc*-*linux*|powerpc*-*linux*)
7160 LD="${LD-ld} -m elf64ppc"
7161 ;;
7162 s390*-*linux*|s390*-*tpf*)
7163 LD="${LD-ld} -m elf64_s390"
7164 ;;
7165 sparc*-*linux*)
7166 LD="${LD-ld} -m elf64_sparc"
7167 ;;
7168 esac
7169 ;;
7170 esac
7171 fi
7172 rm -rf conftest*
7173 ;;
7174
7175 *-*-sco3.2v5*)
7176 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7177 SAVE_CFLAGS="$CFLAGS"
7178 CFLAGS="$CFLAGS -belf"
7179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7180 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7181 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7182 $as_echo_n "(cached) " >&6
7183 else
7184 ac_ext=c
7185 ac_cpp='$CPP $CPPFLAGS'
7186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7189
7190 if test x$gcc_no_link = xyes; then
7191 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7192 fi
7193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7195
7196 int
7197 main ()
7198 {
7199
7200 ;
7201 return 0;
7202 }
7203 _ACEOF
7204 if ac_fn_c_try_link "$LINENO"; then :
7205 lt_cv_cc_needs_belf=yes
7206 else
7207 lt_cv_cc_needs_belf=no
7208 fi
7209 rm -f core conftest.err conftest.$ac_objext \
7210 conftest$ac_exeext conftest.$ac_ext
7211 ac_ext=c
7212 ac_cpp='$CPP $CPPFLAGS'
7213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7216
7217 fi
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7219 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7220 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7221 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7222 CFLAGS="$SAVE_CFLAGS"
7223 fi
7224 ;;
7225 sparc*-*solaris*)
7226 # Find out which ABI we are using.
7227 echo 'int i;' > conftest.$ac_ext
7228 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7229 (eval $ac_compile) 2>&5
7230 ac_status=$?
7231 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7232 test $ac_status = 0; }; then
7233 case `/usr/bin/file conftest.o` in
7234 *64-bit*)
7235 case $lt_cv_prog_gnu_ld in
7236 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7237 *)
7238 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7239 LD="${LD-ld} -64"
7240 fi
7241 ;;
7242 esac
7243 ;;
7244 esac
7245 fi
7246 rm -rf conftest*
7247 ;;
7248 esac
7249
7250 need_locks="$enable_libtool_lock"
7251
7252
7253 case $host_os in
7254 rhapsody* | darwin*)
7255 if test -n "$ac_tool_prefix"; then
7256 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7257 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7259 $as_echo_n "checking for $ac_word... " >&6; }
7260 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7261 $as_echo_n "(cached) " >&6
7262 else
7263 if test -n "$DSYMUTIL"; then
7264 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7265 else
7266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7267 for as_dir in $PATH
7268 do
7269 IFS=$as_save_IFS
7270 test -z "$as_dir" && as_dir=.
7271 for ac_exec_ext in '' $ac_executable_extensions; do
7272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7273 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7275 break 2
7276 fi
7277 done
7278 done
7279 IFS=$as_save_IFS
7280
7281 fi
7282 fi
7283 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7284 if test -n "$DSYMUTIL"; then
7285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7286 $as_echo "$DSYMUTIL" >&6; }
7287 else
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7289 $as_echo "no" >&6; }
7290 fi
7291
7292
7293 fi
7294 if test -z "$ac_cv_prog_DSYMUTIL"; then
7295 ac_ct_DSYMUTIL=$DSYMUTIL
7296 # Extract the first word of "dsymutil", so it can be a program name with args.
7297 set dummy dsymutil; ac_word=$2
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7299 $as_echo_n "checking for $ac_word... " >&6; }
7300 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7301 $as_echo_n "(cached) " >&6
7302 else
7303 if test -n "$ac_ct_DSYMUTIL"; then
7304 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7305 else
7306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7307 for as_dir in $PATH
7308 do
7309 IFS=$as_save_IFS
7310 test -z "$as_dir" && as_dir=.
7311 for ac_exec_ext in '' $ac_executable_extensions; do
7312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7313 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7315 break 2
7316 fi
7317 done
7318 done
7319 IFS=$as_save_IFS
7320
7321 fi
7322 fi
7323 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7324 if test -n "$ac_ct_DSYMUTIL"; then
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7326 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7327 else
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7329 $as_echo "no" >&6; }
7330 fi
7331
7332 if test "x$ac_ct_DSYMUTIL" = x; then
7333 DSYMUTIL=":"
7334 else
7335 case $cross_compiling:$ac_tool_warned in
7336 yes:)
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7339 ac_tool_warned=yes ;;
7340 esac
7341 DSYMUTIL=$ac_ct_DSYMUTIL
7342 fi
7343 else
7344 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7345 fi
7346
7347 if test -n "$ac_tool_prefix"; then
7348 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7349 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7351 $as_echo_n "checking for $ac_word... " >&6; }
7352 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7353 $as_echo_n "(cached) " >&6
7354 else
7355 if test -n "$NMEDIT"; then
7356 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7357 else
7358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7359 for as_dir in $PATH
7360 do
7361 IFS=$as_save_IFS
7362 test -z "$as_dir" && as_dir=.
7363 for ac_exec_ext in '' $ac_executable_extensions; do
7364 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7365 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7367 break 2
7368 fi
7369 done
7370 done
7371 IFS=$as_save_IFS
7372
7373 fi
7374 fi
7375 NMEDIT=$ac_cv_prog_NMEDIT
7376 if test -n "$NMEDIT"; then
7377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7378 $as_echo "$NMEDIT" >&6; }
7379 else
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7381 $as_echo "no" >&6; }
7382 fi
7383
7384
7385 fi
7386 if test -z "$ac_cv_prog_NMEDIT"; then
7387 ac_ct_NMEDIT=$NMEDIT
7388 # Extract the first word of "nmedit", so it can be a program name with args.
7389 set dummy nmedit; ac_word=$2
7390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7391 $as_echo_n "checking for $ac_word... " >&6; }
7392 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7393 $as_echo_n "(cached) " >&6
7394 else
7395 if test -n "$ac_ct_NMEDIT"; then
7396 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7397 else
7398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7399 for as_dir in $PATH
7400 do
7401 IFS=$as_save_IFS
7402 test -z "$as_dir" && as_dir=.
7403 for ac_exec_ext in '' $ac_executable_extensions; do
7404 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7405 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7407 break 2
7408 fi
7409 done
7410 done
7411 IFS=$as_save_IFS
7412
7413 fi
7414 fi
7415 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7416 if test -n "$ac_ct_NMEDIT"; then
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7418 $as_echo "$ac_ct_NMEDIT" >&6; }
7419 else
7420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7421 $as_echo "no" >&6; }
7422 fi
7423
7424 if test "x$ac_ct_NMEDIT" = x; then
7425 NMEDIT=":"
7426 else
7427 case $cross_compiling:$ac_tool_warned in
7428 yes:)
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7430 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7431 ac_tool_warned=yes ;;
7432 esac
7433 NMEDIT=$ac_ct_NMEDIT
7434 fi
7435 else
7436 NMEDIT="$ac_cv_prog_NMEDIT"
7437 fi
7438
7439 if test -n "$ac_tool_prefix"; then
7440 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7441 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7443 $as_echo_n "checking for $ac_word... " >&6; }
7444 if test "${ac_cv_prog_LIPO+set}" = set; then :
7445 $as_echo_n "(cached) " >&6
7446 else
7447 if test -n "$LIPO"; then
7448 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7449 else
7450 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7451 for as_dir in $PATH
7452 do
7453 IFS=$as_save_IFS
7454 test -z "$as_dir" && as_dir=.
7455 for ac_exec_ext in '' $ac_executable_extensions; do
7456 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7457 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7458 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7459 break 2
7460 fi
7461 done
7462 done
7463 IFS=$as_save_IFS
7464
7465 fi
7466 fi
7467 LIPO=$ac_cv_prog_LIPO
7468 if test -n "$LIPO"; then
7469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7470 $as_echo "$LIPO" >&6; }
7471 else
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7473 $as_echo "no" >&6; }
7474 fi
7475
7476
7477 fi
7478 if test -z "$ac_cv_prog_LIPO"; then
7479 ac_ct_LIPO=$LIPO
7480 # Extract the first word of "lipo", so it can be a program name with args.
7481 set dummy lipo; ac_word=$2
7482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7483 $as_echo_n "checking for $ac_word... " >&6; }
7484 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7485 $as_echo_n "(cached) " >&6
7486 else
7487 if test -n "$ac_ct_LIPO"; then
7488 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7489 else
7490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7491 for as_dir in $PATH
7492 do
7493 IFS=$as_save_IFS
7494 test -z "$as_dir" && as_dir=.
7495 for ac_exec_ext in '' $ac_executable_extensions; do
7496 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7497 ac_cv_prog_ac_ct_LIPO="lipo"
7498 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7499 break 2
7500 fi
7501 done
7502 done
7503 IFS=$as_save_IFS
7504
7505 fi
7506 fi
7507 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7508 if test -n "$ac_ct_LIPO"; then
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7510 $as_echo "$ac_ct_LIPO" >&6; }
7511 else
7512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7513 $as_echo "no" >&6; }
7514 fi
7515
7516 if test "x$ac_ct_LIPO" = x; then
7517 LIPO=":"
7518 else
7519 case $cross_compiling:$ac_tool_warned in
7520 yes:)
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7523 ac_tool_warned=yes ;;
7524 esac
7525 LIPO=$ac_ct_LIPO
7526 fi
7527 else
7528 LIPO="$ac_cv_prog_LIPO"
7529 fi
7530
7531 if test -n "$ac_tool_prefix"; then
7532 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7533 set dummy ${ac_tool_prefix}otool; ac_word=$2
7534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7535 $as_echo_n "checking for $ac_word... " >&6; }
7536 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7537 $as_echo_n "(cached) " >&6
7538 else
7539 if test -n "$OTOOL"; then
7540 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7541 else
7542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7543 for as_dir in $PATH
7544 do
7545 IFS=$as_save_IFS
7546 test -z "$as_dir" && as_dir=.
7547 for ac_exec_ext in '' $ac_executable_extensions; do
7548 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7549 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551 break 2
7552 fi
7553 done
7554 done
7555 IFS=$as_save_IFS
7556
7557 fi
7558 fi
7559 OTOOL=$ac_cv_prog_OTOOL
7560 if test -n "$OTOOL"; then
7561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7562 $as_echo "$OTOOL" >&6; }
7563 else
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7565 $as_echo "no" >&6; }
7566 fi
7567
7568
7569 fi
7570 if test -z "$ac_cv_prog_OTOOL"; then
7571 ac_ct_OTOOL=$OTOOL
7572 # Extract the first word of "otool", so it can be a program name with args.
7573 set dummy otool; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7577 $as_echo_n "(cached) " >&6
7578 else
7579 if test -n "$ac_ct_OTOOL"; then
7580 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7581 else
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 for as_dir in $PATH
7584 do
7585 IFS=$as_save_IFS
7586 test -z "$as_dir" && as_dir=.
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7589 ac_cv_prog_ac_ct_OTOOL="otool"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 break 2
7592 fi
7593 done
7594 done
7595 IFS=$as_save_IFS
7596
7597 fi
7598 fi
7599 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7600 if test -n "$ac_ct_OTOOL"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7602 $as_echo "$ac_ct_OTOOL" >&6; }
7603 else
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7606 fi
7607
7608 if test "x$ac_ct_OTOOL" = x; then
7609 OTOOL=":"
7610 else
7611 case $cross_compiling:$ac_tool_warned in
7612 yes:)
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7615 ac_tool_warned=yes ;;
7616 esac
7617 OTOOL=$ac_ct_OTOOL
7618 fi
7619 else
7620 OTOOL="$ac_cv_prog_OTOOL"
7621 fi
7622
7623 if test -n "$ac_tool_prefix"; then
7624 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7625 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7627 $as_echo_n "checking for $ac_word... " >&6; }
7628 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7629 $as_echo_n "(cached) " >&6
7630 else
7631 if test -n "$OTOOL64"; then
7632 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7633 else
7634 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7635 for as_dir in $PATH
7636 do
7637 IFS=$as_save_IFS
7638 test -z "$as_dir" && as_dir=.
7639 for ac_exec_ext in '' $ac_executable_extensions; do
7640 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7641 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7642 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7643 break 2
7644 fi
7645 done
7646 done
7647 IFS=$as_save_IFS
7648
7649 fi
7650 fi
7651 OTOOL64=$ac_cv_prog_OTOOL64
7652 if test -n "$OTOOL64"; then
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7654 $as_echo "$OTOOL64" >&6; }
7655 else
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7657 $as_echo "no" >&6; }
7658 fi
7659
7660
7661 fi
7662 if test -z "$ac_cv_prog_OTOOL64"; then
7663 ac_ct_OTOOL64=$OTOOL64
7664 # Extract the first word of "otool64", so it can be a program name with args.
7665 set dummy otool64; ac_word=$2
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7667 $as_echo_n "checking for $ac_word... " >&6; }
7668 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7669 $as_echo_n "(cached) " >&6
7670 else
7671 if test -n "$ac_ct_OTOOL64"; then
7672 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7673 else
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 for as_dir in $PATH
7676 do
7677 IFS=$as_save_IFS
7678 test -z "$as_dir" && as_dir=.
7679 for ac_exec_ext in '' $ac_executable_extensions; do
7680 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7681 ac_cv_prog_ac_ct_OTOOL64="otool64"
7682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7683 break 2
7684 fi
7685 done
7686 done
7687 IFS=$as_save_IFS
7688
7689 fi
7690 fi
7691 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7692 if test -n "$ac_ct_OTOOL64"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7694 $as_echo "$ac_ct_OTOOL64" >&6; }
7695 else
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697 $as_echo "no" >&6; }
7698 fi
7699
7700 if test "x$ac_ct_OTOOL64" = x; then
7701 OTOOL64=":"
7702 else
7703 case $cross_compiling:$ac_tool_warned in
7704 yes:)
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7706 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7707 ac_tool_warned=yes ;;
7708 esac
7709 OTOOL64=$ac_ct_OTOOL64
7710 fi
7711 else
7712 OTOOL64="$ac_cv_prog_OTOOL64"
7713 fi
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
7741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7742 $as_echo_n "checking for -single_module linker flag... " >&6; }
7743 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7744 $as_echo_n "(cached) " >&6
7745 else
7746 lt_cv_apple_cc_single_mod=no
7747 if test -z "${LT_MULTI_MODULE}"; then
7748 # By default we will add the -single_module flag. You can override
7749 # by either setting the environment variable LT_MULTI_MODULE
7750 # non-empty at configure time, or by adding -multi_module to the
7751 # link flags.
7752 rm -rf libconftest.dylib*
7753 echo "int foo(void){return 1;}" > conftest.c
7754 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7755 -dynamiclib -Wl,-single_module conftest.c" >&5
7756 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7757 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7758 _lt_result=$?
7759 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7760 lt_cv_apple_cc_single_mod=yes
7761 else
7762 cat conftest.err >&5
7763 fi
7764 rm -rf libconftest.dylib*
7765 rm -f conftest.*
7766 fi
7767 fi
7768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7769 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7771 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7772 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7773 $as_echo_n "(cached) " >&6
7774 else
7775 lt_cv_ld_exported_symbols_list=no
7776 save_LDFLAGS=$LDFLAGS
7777 echo "_main" > conftest.sym
7778 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7779 if test x$gcc_no_link = xyes; then
7780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7781 fi
7782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7783 /* end confdefs.h. */
7784
7785 int
7786 main ()
7787 {
7788
7789 ;
7790 return 0;
7791 }
7792 _ACEOF
7793 if ac_fn_c_try_link "$LINENO"; then :
7794 lt_cv_ld_exported_symbols_list=yes
7795 else
7796 lt_cv_ld_exported_symbols_list=no
7797 fi
7798 rm -f core conftest.err conftest.$ac_objext \
7799 conftest$ac_exeext conftest.$ac_ext
7800 LDFLAGS="$save_LDFLAGS"
7801
7802 fi
7803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7804 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7806 $as_echo_n "checking for -force_load linker flag... " >&6; }
7807 if test "${lt_cv_ld_force_load+set}" = set; then :
7808 $as_echo_n "(cached) " >&6
7809 else
7810 lt_cv_ld_force_load=no
7811 cat > conftest.c << _LT_EOF
7812 int forced_loaded() { return 2;}
7813 _LT_EOF
7814 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7815 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7816 echo "$AR cru libconftest.a conftest.o" >&5
7817 $AR cru libconftest.a conftest.o 2>&5
7818 cat > conftest.c << _LT_EOF
7819 int main() { return 0;}
7820 _LT_EOF
7821 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7822 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7823 _lt_result=$?
7824 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7825 lt_cv_ld_force_load=yes
7826 else
7827 cat conftest.err >&5
7828 fi
7829 rm -f conftest.err libconftest.a conftest conftest.c
7830 rm -rf conftest.dSYM
7831
7832 fi
7833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7834 $as_echo "$lt_cv_ld_force_load" >&6; }
7835 case $host_os in
7836 rhapsody* | darwin1.[012])
7837 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7838 darwin1.*)
7839 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7840 darwin*) # darwin 5.x on
7841 # if running on 10.5 or later, the deployment target defaults
7842 # to the OS version, if on x86, and 10.4, the deployment
7843 # target defaults to 10.4. Don't you love it?
7844 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7845 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7846 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7847 10.[012]*)
7848 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7849 10.*)
7850 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7851 esac
7852 ;;
7853 esac
7854 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7855 _lt_dar_single_mod='$single_module'
7856 fi
7857 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7858 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7859 else
7860 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7861 fi
7862 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7863 _lt_dsymutil='~$DSYMUTIL $lib || :'
7864 else
7865 _lt_dsymutil=
7866 fi
7867 ;;
7868 esac
7869
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7871 $as_echo_n "checking for ANSI C header files... " >&6; }
7872 if test "${ac_cv_header_stdc+set}" = set; then :
7873 $as_echo_n "(cached) " >&6
7874 else
7875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7876 /* end confdefs.h. */
7877 #include <stdlib.h>
7878 #include <stdarg.h>
7879 #include <string.h>
7880 #include <float.h>
7881
7882 int
7883 main ()
7884 {
7885
7886 ;
7887 return 0;
7888 }
7889 _ACEOF
7890 if ac_fn_c_try_compile "$LINENO"; then :
7891 ac_cv_header_stdc=yes
7892 else
7893 ac_cv_header_stdc=no
7894 fi
7895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7896
7897 if test $ac_cv_header_stdc = yes; then
7898 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7900 /* end confdefs.h. */
7901 #include <string.h>
7902
7903 _ACEOF
7904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7905 $EGREP "memchr" >/dev/null 2>&1; then :
7906
7907 else
7908 ac_cv_header_stdc=no
7909 fi
7910 rm -f conftest*
7911
7912 fi
7913
7914 if test $ac_cv_header_stdc = yes; then
7915 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7917 /* end confdefs.h. */
7918 #include <stdlib.h>
7919
7920 _ACEOF
7921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7922 $EGREP "free" >/dev/null 2>&1; then :
7923
7924 else
7925 ac_cv_header_stdc=no
7926 fi
7927 rm -f conftest*
7928
7929 fi
7930
7931 if test $ac_cv_header_stdc = yes; then
7932 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7933 if test "$cross_compiling" = yes; then :
7934 :
7935 else
7936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7937 /* end confdefs.h. */
7938 #include <ctype.h>
7939 #include <stdlib.h>
7940 #if ((' ' & 0x0FF) == 0x020)
7941 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7942 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7943 #else
7944 # define ISLOWER(c) \
7945 (('a' <= (c) && (c) <= 'i') \
7946 || ('j' <= (c) && (c) <= 'r') \
7947 || ('s' <= (c) && (c) <= 'z'))
7948 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7949 #endif
7950
7951 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7952 int
7953 main ()
7954 {
7955 int i;
7956 for (i = 0; i < 256; i++)
7957 if (XOR (islower (i), ISLOWER (i))
7958 || toupper (i) != TOUPPER (i))
7959 return 2;
7960 return 0;
7961 }
7962 _ACEOF
7963 if ac_fn_c_try_run "$LINENO"; then :
7964
7965 else
7966 ac_cv_header_stdc=no
7967 fi
7968 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7969 conftest.$ac_objext conftest.beam conftest.$ac_ext
7970 fi
7971
7972 fi
7973 fi
7974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7975 $as_echo "$ac_cv_header_stdc" >&6; }
7976 if test $ac_cv_header_stdc = yes; then
7977
7978 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7979
7980 fi
7981
7982 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7983 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7984 inttypes.h stdint.h unistd.h
7985 do :
7986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7987 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7988 "
7989 eval as_val=\$$as_ac_Header
7990 if test "x$as_val" = x""yes; then :
7991 cat >>confdefs.h <<_ACEOF
7992 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7993 _ACEOF
7994
7995 fi
7996
7997 done
7998
7999
8000 for ac_header in dlfcn.h
8001 do :
8002 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8003 "
8004 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8005 cat >>confdefs.h <<_ACEOF
8006 #define HAVE_DLFCN_H 1
8007 _ACEOF
8008
8009 fi
8010
8011 done
8012
8013
8014
8015
8016
8017
8018 # Set options
8019
8020
8021
8022
8023 enable_win32_dll=no
8024
8025
8026 # Check whether --enable-shared was given.
8027 if test "${enable_shared+set}" = set; then :
8028 enableval=$enable_shared; p=${PACKAGE-default}
8029 case $enableval in
8030 yes) enable_shared=yes ;;
8031 no) enable_shared=no ;;
8032 *)
8033 enable_shared=no
8034 # Look at the argument we got. We use all the common list separators.
8035 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8036 for pkg in $enableval; do
8037 IFS="$lt_save_ifs"
8038 if test "X$pkg" = "X$p"; then
8039 enable_shared=yes
8040 fi
8041 done
8042 IFS="$lt_save_ifs"
8043 ;;
8044 esac
8045 else
8046 enable_shared=yes
8047 fi
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057 # Check whether --enable-static was given.
8058 if test "${enable_static+set}" = set; then :
8059 enableval=$enable_static; p=${PACKAGE-default}
8060 case $enableval in
8061 yes) enable_static=yes ;;
8062 no) enable_static=no ;;
8063 *)
8064 enable_static=no
8065 # Look at the argument we got. We use all the common list separators.
8066 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8067 for pkg in $enableval; do
8068 IFS="$lt_save_ifs"
8069 if test "X$pkg" = "X$p"; then
8070 enable_static=yes
8071 fi
8072 done
8073 IFS="$lt_save_ifs"
8074 ;;
8075 esac
8076 else
8077 enable_static=yes
8078 fi
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089 # Check whether --with-pic was given.
8090 if test "${with_pic+set}" = set; then :
8091 withval=$with_pic; pic_mode="$withval"
8092 else
8093 pic_mode=default
8094 fi
8095
8096
8097 test -z "$pic_mode" && pic_mode=default
8098
8099
8100
8101
8102
8103
8104
8105 # Check whether --enable-fast-install was given.
8106 if test "${enable_fast_install+set}" = set; then :
8107 enableval=$enable_fast_install; p=${PACKAGE-default}
8108 case $enableval in
8109 yes) enable_fast_install=yes ;;
8110 no) enable_fast_install=no ;;
8111 *)
8112 enable_fast_install=no
8113 # Look at the argument we got. We use all the common list separators.
8114 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8115 for pkg in $enableval; do
8116 IFS="$lt_save_ifs"
8117 if test "X$pkg" = "X$p"; then
8118 enable_fast_install=yes
8119 fi
8120 done
8121 IFS="$lt_save_ifs"
8122 ;;
8123 esac
8124 else
8125 enable_fast_install=yes
8126 fi
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138 # This can be used to rebuild libtool when needed
8139 LIBTOOL_DEPS="$ltmain"
8140
8141 # Always use our own libtool.
8142 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
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
8169 test -z "$LN_S" && LN_S="ln -s"
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184 if test -n "${ZSH_VERSION+set}" ; then
8185 setopt NO_GLOB_SUBST
8186 fi
8187
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8189 $as_echo_n "checking for objdir... " >&6; }
8190 if test "${lt_cv_objdir+set}" = set; then :
8191 $as_echo_n "(cached) " >&6
8192 else
8193 rm -f .libs 2>/dev/null
8194 mkdir .libs 2>/dev/null
8195 if test -d .libs; then
8196 lt_cv_objdir=.libs
8197 else
8198 # MS-DOS does not allow filenames that begin with a dot.
8199 lt_cv_objdir=_libs
8200 fi
8201 rmdir .libs 2>/dev/null
8202 fi
8203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8204 $as_echo "$lt_cv_objdir" >&6; }
8205 objdir=$lt_cv_objdir
8206
8207
8208
8209
8210
8211 cat >>confdefs.h <<_ACEOF
8212 #define LT_OBJDIR "$lt_cv_objdir/"
8213 _ACEOF
8214
8215
8216
8217
8218 case $host_os in
8219 aix3*)
8220 # AIX sometimes has problems with the GCC collect2 program. For some
8221 # reason, if we set the COLLECT_NAMES environment variable, the problems
8222 # vanish in a puff of smoke.
8223 if test "X${COLLECT_NAMES+set}" != Xset; then
8224 COLLECT_NAMES=
8225 export COLLECT_NAMES
8226 fi
8227 ;;
8228 esac
8229
8230 # Global variables:
8231 ofile=libtool
8232 can_build_shared=yes
8233
8234 # All known linkers require a `.a' archive for static linking (except MSVC,
8235 # which needs '.lib').
8236 libext=a
8237
8238 with_gnu_ld="$lt_cv_prog_gnu_ld"
8239
8240 old_CC="$CC"
8241 old_CFLAGS="$CFLAGS"
8242
8243 # Set sane defaults for various variables
8244 test -z "$CC" && CC=cc
8245 test -z "$LTCC" && LTCC=$CC
8246 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8247 test -z "$LD" && LD=ld
8248 test -z "$ac_objext" && ac_objext=o
8249
8250 for cc_temp in $compiler""; do
8251 case $cc_temp in
8252 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8253 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8254 \-*) ;;
8255 *) break;;
8256 esac
8257 done
8258 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8259
8260
8261 # Only perform the check for file, if the check method requires it
8262 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8263 case $deplibs_check_method in
8264 file_magic*)
8265 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8267 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8268 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8269 $as_echo_n "(cached) " >&6
8270 else
8271 case $MAGIC_CMD in
8272 [\\/*] | ?:[\\/]*)
8273 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8274 ;;
8275 *)
8276 lt_save_MAGIC_CMD="$MAGIC_CMD"
8277 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8278 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8279 for ac_dir in $ac_dummy; do
8280 IFS="$lt_save_ifs"
8281 test -z "$ac_dir" && ac_dir=.
8282 if test -f $ac_dir/${ac_tool_prefix}file; then
8283 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8284 if test -n "$file_magic_test_file"; then
8285 case $deplibs_check_method in
8286 "file_magic "*)
8287 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8288 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8289 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8290 $EGREP "$file_magic_regex" > /dev/null; then
8291 :
8292 else
8293 cat <<_LT_EOF 1>&2
8294
8295 *** Warning: the command libtool uses to detect shared libraries,
8296 *** $file_magic_cmd, produces output that libtool cannot recognize.
8297 *** The result is that libtool may fail to recognize shared libraries
8298 *** as such. This will affect the creation of libtool libraries that
8299 *** depend on shared libraries, but programs linked with such libtool
8300 *** libraries will work regardless of this problem. Nevertheless, you
8301 *** may want to report the problem to your system manager and/or to
8302 *** bug-libtool@gnu.org
8303
8304 _LT_EOF
8305 fi ;;
8306 esac
8307 fi
8308 break
8309 fi
8310 done
8311 IFS="$lt_save_ifs"
8312 MAGIC_CMD="$lt_save_MAGIC_CMD"
8313 ;;
8314 esac
8315 fi
8316
8317 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8318 if test -n "$MAGIC_CMD"; then
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8320 $as_echo "$MAGIC_CMD" >&6; }
8321 else
8322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8323 $as_echo "no" >&6; }
8324 fi
8325
8326
8327
8328
8329
8330 if test -z "$lt_cv_path_MAGIC_CMD"; then
8331 if test -n "$ac_tool_prefix"; then
8332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8333 $as_echo_n "checking for file... " >&6; }
8334 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8335 $as_echo_n "(cached) " >&6
8336 else
8337 case $MAGIC_CMD in
8338 [\\/*] | ?:[\\/]*)
8339 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8340 ;;
8341 *)
8342 lt_save_MAGIC_CMD="$MAGIC_CMD"
8343 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8344 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8345 for ac_dir in $ac_dummy; do
8346 IFS="$lt_save_ifs"
8347 test -z "$ac_dir" && ac_dir=.
8348 if test -f $ac_dir/file; then
8349 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8350 if test -n "$file_magic_test_file"; then
8351 case $deplibs_check_method in
8352 "file_magic "*)
8353 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8354 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8355 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8356 $EGREP "$file_magic_regex" > /dev/null; then
8357 :
8358 else
8359 cat <<_LT_EOF 1>&2
8360
8361 *** Warning: the command libtool uses to detect shared libraries,
8362 *** $file_magic_cmd, produces output that libtool cannot recognize.
8363 *** The result is that libtool may fail to recognize shared libraries
8364 *** as such. This will affect the creation of libtool libraries that
8365 *** depend on shared libraries, but programs linked with such libtool
8366 *** libraries will work regardless of this problem. Nevertheless, you
8367 *** may want to report the problem to your system manager and/or to
8368 *** bug-libtool@gnu.org
8369
8370 _LT_EOF
8371 fi ;;
8372 esac
8373 fi
8374 break
8375 fi
8376 done
8377 IFS="$lt_save_ifs"
8378 MAGIC_CMD="$lt_save_MAGIC_CMD"
8379 ;;
8380 esac
8381 fi
8382
8383 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8384 if test -n "$MAGIC_CMD"; then
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8386 $as_echo "$MAGIC_CMD" >&6; }
8387 else
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8389 $as_echo "no" >&6; }
8390 fi
8391
8392
8393 else
8394 MAGIC_CMD=:
8395 fi
8396 fi
8397
8398 fi
8399 ;;
8400 esac
8401
8402 # Use C for the default configuration in the libtool script
8403
8404 lt_save_CC="$CC"
8405 ac_ext=c
8406 ac_cpp='$CPP $CPPFLAGS'
8407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8410
8411
8412 # Source file extension for C test sources.
8413 ac_ext=c
8414
8415 # Object file extension for compiled C test sources.
8416 objext=o
8417 objext=$objext
8418
8419 # Code to be used in simple compile tests
8420 lt_simple_compile_test_code="int some_variable = 0;"
8421
8422 # Code to be used in simple link tests
8423 lt_simple_link_test_code='int main(){return(0);}'
8424
8425
8426
8427
8428
8429
8430
8431 # If no C compiler was specified, use CC.
8432 LTCC=${LTCC-"$CC"}
8433
8434 # If no C compiler flags were specified, use CFLAGS.
8435 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8436
8437 # Allow CC to be a program name with arguments.
8438 compiler=$CC
8439
8440 # Save the default compiler, since it gets overwritten when the other
8441 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8442 compiler_DEFAULT=$CC
8443
8444 # save warnings/boilerplate of simple test code
8445 ac_outfile=conftest.$ac_objext
8446 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8447 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8448 _lt_compiler_boilerplate=`cat conftest.err`
8449 $RM conftest*
8450
8451 ac_outfile=conftest.$ac_objext
8452 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8453 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8454 _lt_linker_boilerplate=`cat conftest.err`
8455 $RM -r conftest*
8456
8457
8458 ## CAVEAT EMPTOR:
8459 ## There is no encapsulation within the following macros, do not change
8460 ## the running order or otherwise move them around unless you know exactly
8461 ## what you are doing...
8462 if test -n "$compiler"; then
8463
8464 lt_prog_compiler_no_builtin_flag=
8465
8466 if test "$GCC" = yes; then
8467 case $cc_basename in
8468 nvcc*)
8469 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8470 *)
8471 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8472 esac
8473
8474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8475 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8476 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8477 $as_echo_n "(cached) " >&6
8478 else
8479 lt_cv_prog_compiler_rtti_exceptions=no
8480 ac_outfile=conftest.$ac_objext
8481 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8482 lt_compiler_flag="-fno-rtti -fno-exceptions"
8483 # Insert the option either (1) after the last *FLAGS variable, or
8484 # (2) before a word containing "conftest.", or (3) at the end.
8485 # Note that $ac_compile itself does not contain backslashes and begins
8486 # with a dollar sign (not a hyphen), so the echo should work correctly.
8487 # The option is referenced via a variable to avoid confusing sed.
8488 lt_compile=`echo "$ac_compile" | $SED \
8489 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8490 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8491 -e 's:$: $lt_compiler_flag:'`
8492 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8493 (eval "$lt_compile" 2>conftest.err)
8494 ac_status=$?
8495 cat conftest.err >&5
8496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8497 if (exit $ac_status) && test -s "$ac_outfile"; then
8498 # The compiler can only warn and ignore the option if not recognized
8499 # So say no if there are warnings other than the usual output.
8500 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8501 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8502 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8503 lt_cv_prog_compiler_rtti_exceptions=yes
8504 fi
8505 fi
8506 $RM conftest*
8507
8508 fi
8509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8510 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8511
8512 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8513 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8514 else
8515 :
8516 fi
8517
8518 fi
8519
8520
8521
8522
8523
8524
8525 lt_prog_compiler_wl=
8526 lt_prog_compiler_pic=
8527 lt_prog_compiler_static=
8528
8529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8530 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8531
8532 if test "$GCC" = yes; then
8533 lt_prog_compiler_wl='-Wl,'
8534 lt_prog_compiler_static='-static'
8535
8536 case $host_os in
8537 aix*)
8538 # All AIX code is PIC.
8539 if test "$host_cpu" = ia64; then
8540 # AIX 5 now supports IA64 processor
8541 lt_prog_compiler_static='-Bstatic'
8542 fi
8543 lt_prog_compiler_pic='-fPIC'
8544 ;;
8545
8546 amigaos*)
8547 case $host_cpu in
8548 powerpc)
8549 # see comment about AmigaOS4 .so support
8550 lt_prog_compiler_pic='-fPIC'
8551 ;;
8552 m68k)
8553 # FIXME: we need at least 68020 code to build shared libraries, but
8554 # adding the `-m68020' flag to GCC prevents building anything better,
8555 # like `-m68040'.
8556 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8557 ;;
8558 esac
8559 ;;
8560
8561 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8562 # PIC is the default for these OSes.
8563 ;;
8564
8565 mingw* | cygwin* | pw32* | os2* | cegcc*)
8566 # This hack is so that the source file can tell whether it is being
8567 # built for inclusion in a dll (and should export symbols for example).
8568 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8569 # (--disable-auto-import) libraries
8570 lt_prog_compiler_pic='-DDLL_EXPORT'
8571 ;;
8572
8573 darwin* | rhapsody*)
8574 # PIC is the default on this platform
8575 # Common symbols not allowed in MH_DYLIB files
8576 lt_prog_compiler_pic='-fno-common'
8577 ;;
8578
8579 haiku*)
8580 # PIC is the default for Haiku.
8581 # The "-static" flag exists, but is broken.
8582 lt_prog_compiler_static=
8583 ;;
8584
8585 hpux*)
8586 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8587 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8588 # sets the default TLS model and affects inlining.
8589 case $host_cpu in
8590 hppa*64*)
8591 # +Z the default
8592 ;;
8593 *)
8594 lt_prog_compiler_pic='-fPIC'
8595 ;;
8596 esac
8597 ;;
8598
8599 interix[3-9]*)
8600 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8601 # Instead, we relocate shared libraries at runtime.
8602 ;;
8603
8604 msdosdjgpp*)
8605 # Just because we use GCC doesn't mean we suddenly get shared libraries
8606 # on systems that don't support them.
8607 lt_prog_compiler_can_build_shared=no
8608 enable_shared=no
8609 ;;
8610
8611 *nto* | *qnx*)
8612 # QNX uses GNU C++, but need to define -shared option too, otherwise
8613 # it will coredump.
8614 lt_prog_compiler_pic='-fPIC -shared'
8615 ;;
8616
8617 sysv4*MP*)
8618 if test -d /usr/nec; then
8619 lt_prog_compiler_pic=-Kconform_pic
8620 fi
8621 ;;
8622
8623 *)
8624 lt_prog_compiler_pic='-fPIC'
8625 ;;
8626 esac
8627
8628 case $cc_basename in
8629 nvcc*) # Cuda Compiler Driver 2.2
8630 lt_prog_compiler_wl='-Xlinker '
8631 lt_prog_compiler_pic='-Xcompiler -fPIC'
8632 ;;
8633 esac
8634 else
8635 # PORTME Check for flag to pass linker flags through the system compiler.
8636 case $host_os in
8637 aix*)
8638 lt_prog_compiler_wl='-Wl,'
8639 if test "$host_cpu" = ia64; then
8640 # AIX 5 now supports IA64 processor
8641 lt_prog_compiler_static='-Bstatic'
8642 else
8643 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8644 fi
8645 ;;
8646
8647 mingw* | cygwin* | pw32* | os2* | cegcc*)
8648 # This hack is so that the source file can tell whether it is being
8649 # built for inclusion in a dll (and should export symbols for example).
8650 lt_prog_compiler_pic='-DDLL_EXPORT'
8651 ;;
8652
8653 hpux9* | hpux10* | hpux11*)
8654 lt_prog_compiler_wl='-Wl,'
8655 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8656 # not for PA HP-UX.
8657 case $host_cpu in
8658 hppa*64*|ia64*)
8659 # +Z the default
8660 ;;
8661 *)
8662 lt_prog_compiler_pic='+Z'
8663 ;;
8664 esac
8665 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8666 lt_prog_compiler_static='${wl}-a ${wl}archive'
8667 ;;
8668
8669 irix5* | irix6* | nonstopux*)
8670 lt_prog_compiler_wl='-Wl,'
8671 # PIC (with -KPIC) is the default.
8672 lt_prog_compiler_static='-non_shared'
8673 ;;
8674
8675 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8676 case $cc_basename in
8677 # old Intel for x86_64 which still supported -KPIC.
8678 ecc*)
8679 lt_prog_compiler_wl='-Wl,'
8680 lt_prog_compiler_pic='-KPIC'
8681 lt_prog_compiler_static='-static'
8682 ;;
8683 # icc used to be incompatible with GCC.
8684 # ICC 10 doesn't accept -KPIC any more.
8685 icc* | ifort*)
8686 lt_prog_compiler_wl='-Wl,'
8687 lt_prog_compiler_pic='-fPIC'
8688 lt_prog_compiler_static='-static'
8689 ;;
8690 # Lahey Fortran 8.1.
8691 lf95*)
8692 lt_prog_compiler_wl='-Wl,'
8693 lt_prog_compiler_pic='--shared'
8694 lt_prog_compiler_static='--static'
8695 ;;
8696 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8697 # Portland Group compilers (*not* the Pentium gcc compiler,
8698 # which looks to be a dead project)
8699 lt_prog_compiler_wl='-Wl,'
8700 lt_prog_compiler_pic='-fpic'
8701 lt_prog_compiler_static='-Bstatic'
8702 ;;
8703 ccc*)
8704 lt_prog_compiler_wl='-Wl,'
8705 # All Alpha code is PIC.
8706 lt_prog_compiler_static='-non_shared'
8707 ;;
8708 xl* | bgxl* | bgf* | mpixl*)
8709 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8710 lt_prog_compiler_wl='-Wl,'
8711 lt_prog_compiler_pic='-qpic'
8712 lt_prog_compiler_static='-qstaticlink'
8713 ;;
8714 *)
8715 case `$CC -V 2>&1 | sed 5q` in
8716 *Sun\ F* | *Sun*Fortran*)
8717 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8718 lt_prog_compiler_pic='-KPIC'
8719 lt_prog_compiler_static='-Bstatic'
8720 lt_prog_compiler_wl=''
8721 ;;
8722 *Sun\ C*)
8723 # Sun C 5.9
8724 lt_prog_compiler_pic='-KPIC'
8725 lt_prog_compiler_static='-Bstatic'
8726 lt_prog_compiler_wl='-Wl,'
8727 ;;
8728 esac
8729 ;;
8730 esac
8731 ;;
8732
8733 newsos6)
8734 lt_prog_compiler_pic='-KPIC'
8735 lt_prog_compiler_static='-Bstatic'
8736 ;;
8737
8738 *nto* | *qnx*)
8739 # QNX uses GNU C++, but need to define -shared option too, otherwise
8740 # it will coredump.
8741 lt_prog_compiler_pic='-fPIC -shared'
8742 ;;
8743
8744 osf3* | osf4* | osf5*)
8745 lt_prog_compiler_wl='-Wl,'
8746 # All OSF/1 code is PIC.
8747 lt_prog_compiler_static='-non_shared'
8748 ;;
8749
8750 rdos*)
8751 lt_prog_compiler_static='-non_shared'
8752 ;;
8753
8754 solaris*)
8755 lt_prog_compiler_pic='-KPIC'
8756 lt_prog_compiler_static='-Bstatic'
8757 case $cc_basename in
8758 f77* | f90* | f95*)
8759 lt_prog_compiler_wl='-Qoption ld ';;
8760 *)
8761 lt_prog_compiler_wl='-Wl,';;
8762 esac
8763 ;;
8764
8765 sunos4*)
8766 lt_prog_compiler_wl='-Qoption ld '
8767 lt_prog_compiler_pic='-PIC'
8768 lt_prog_compiler_static='-Bstatic'
8769 ;;
8770
8771 sysv4 | sysv4.2uw2* | sysv4.3*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='-KPIC'
8774 lt_prog_compiler_static='-Bstatic'
8775 ;;
8776
8777 sysv4*MP*)
8778 if test -d /usr/nec ;then
8779 lt_prog_compiler_pic='-Kconform_pic'
8780 lt_prog_compiler_static='-Bstatic'
8781 fi
8782 ;;
8783
8784 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8785 lt_prog_compiler_wl='-Wl,'
8786 lt_prog_compiler_pic='-KPIC'
8787 lt_prog_compiler_static='-Bstatic'
8788 ;;
8789
8790 unicos*)
8791 lt_prog_compiler_wl='-Wl,'
8792 lt_prog_compiler_can_build_shared=no
8793 ;;
8794
8795 uts4*)
8796 lt_prog_compiler_pic='-pic'
8797 lt_prog_compiler_static='-Bstatic'
8798 ;;
8799
8800 *)
8801 lt_prog_compiler_can_build_shared=no
8802 ;;
8803 esac
8804 fi
8805
8806 case $host_os in
8807 # For platforms which do not support PIC, -DPIC is meaningless:
8808 *djgpp*)
8809 lt_prog_compiler_pic=
8810 ;;
8811 *)
8812 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8813 ;;
8814 esac
8815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8816 $as_echo "$lt_prog_compiler_pic" >&6; }
8817
8818
8819
8820
8821
8822
8823 #
8824 # Check to make sure the PIC flag actually works.
8825 #
8826 if test -n "$lt_prog_compiler_pic"; then
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8828 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8829 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8830 $as_echo_n "(cached) " >&6
8831 else
8832 lt_cv_prog_compiler_pic_works=no
8833 ac_outfile=conftest.$ac_objext
8834 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8835 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8836 # Insert the option either (1) after the last *FLAGS variable, or
8837 # (2) before a word containing "conftest.", or (3) at the end.
8838 # Note that $ac_compile itself does not contain backslashes and begins
8839 # with a dollar sign (not a hyphen), so the echo should work correctly.
8840 # The option is referenced via a variable to avoid confusing sed.
8841 lt_compile=`echo "$ac_compile" | $SED \
8842 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8843 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8844 -e 's:$: $lt_compiler_flag:'`
8845 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8846 (eval "$lt_compile" 2>conftest.err)
8847 ac_status=$?
8848 cat conftest.err >&5
8849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8850 if (exit $ac_status) && test -s "$ac_outfile"; then
8851 # The compiler can only warn and ignore the option if not recognized
8852 # So say no if there are warnings other than the usual output.
8853 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8854 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8855 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8856 lt_cv_prog_compiler_pic_works=yes
8857 fi
8858 fi
8859 $RM conftest*
8860
8861 fi
8862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8863 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8864
8865 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8866 case $lt_prog_compiler_pic in
8867 "" | " "*) ;;
8868 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8869 esac
8870 else
8871 lt_prog_compiler_pic=
8872 lt_prog_compiler_can_build_shared=no
8873 fi
8874
8875 fi
8876
8877
8878
8879
8880
8881
8882 #
8883 # Check to make sure the static flag actually works.
8884 #
8885 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8887 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8888 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8889 $as_echo_n "(cached) " >&6
8890 else
8891 lt_cv_prog_compiler_static_works=no
8892 save_LDFLAGS="$LDFLAGS"
8893 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8896 # The linker can only warn and ignore the option if not recognized
8897 # So say no if there are warnings
8898 if test -s conftest.err; then
8899 # Append any errors to the config.log.
8900 cat conftest.err 1>&5
8901 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8903 if diff conftest.exp conftest.er2 >/dev/null; then
8904 lt_cv_prog_compiler_static_works=yes
8905 fi
8906 else
8907 lt_cv_prog_compiler_static_works=yes
8908 fi
8909 fi
8910 $RM -r conftest*
8911 LDFLAGS="$save_LDFLAGS"
8912
8913 fi
8914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8915 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8916
8917 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8918 :
8919 else
8920 lt_prog_compiler_static=
8921 fi
8922
8923
8924
8925
8926
8927
8928
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8930 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8931 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8932 $as_echo_n "(cached) " >&6
8933 else
8934 lt_cv_prog_compiler_c_o=no
8935 $RM -r conftest 2>/dev/null
8936 mkdir conftest
8937 cd conftest
8938 mkdir out
8939 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8940
8941 lt_compiler_flag="-o out/conftest2.$ac_objext"
8942 # Insert the option either (1) after the last *FLAGS variable, or
8943 # (2) before a word containing "conftest.", or (3) at the end.
8944 # Note that $ac_compile itself does not contain backslashes and begins
8945 # with a dollar sign (not a hyphen), so the echo should work correctly.
8946 lt_compile=`echo "$ac_compile" | $SED \
8947 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8948 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8949 -e 's:$: $lt_compiler_flag:'`
8950 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8951 (eval "$lt_compile" 2>out/conftest.err)
8952 ac_status=$?
8953 cat out/conftest.err >&5
8954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8955 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8956 then
8957 # The compiler can only warn and ignore the option if not recognized
8958 # So say no if there are warnings
8959 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8960 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8961 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8962 lt_cv_prog_compiler_c_o=yes
8963 fi
8964 fi
8965 chmod u+w . 2>&5
8966 $RM conftest*
8967 # SGI C++ compiler will create directory out/ii_files/ for
8968 # template instantiation
8969 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8970 $RM out/* && rmdir out
8971 cd ..
8972 $RM -r conftest
8973 $RM conftest*
8974
8975 fi
8976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8977 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8978
8979
8980
8981
8982
8983
8984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8985 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8986 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8987 $as_echo_n "(cached) " >&6
8988 else
8989 lt_cv_prog_compiler_c_o=no
8990 $RM -r conftest 2>/dev/null
8991 mkdir conftest
8992 cd conftest
8993 mkdir out
8994 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8995
8996 lt_compiler_flag="-o out/conftest2.$ac_objext"
8997 # Insert the option either (1) after the last *FLAGS variable, or
8998 # (2) before a word containing "conftest.", or (3) at the end.
8999 # Note that $ac_compile itself does not contain backslashes and begins
9000 # with a dollar sign (not a hyphen), so the echo should work correctly.
9001 lt_compile=`echo "$ac_compile" | $SED \
9002 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9003 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9004 -e 's:$: $lt_compiler_flag:'`
9005 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9006 (eval "$lt_compile" 2>out/conftest.err)
9007 ac_status=$?
9008 cat out/conftest.err >&5
9009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9010 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9011 then
9012 # The compiler can only warn and ignore the option if not recognized
9013 # So say no if there are warnings
9014 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9015 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9016 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9017 lt_cv_prog_compiler_c_o=yes
9018 fi
9019 fi
9020 chmod u+w . 2>&5
9021 $RM conftest*
9022 # SGI C++ compiler will create directory out/ii_files/ for
9023 # template instantiation
9024 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9025 $RM out/* && rmdir out
9026 cd ..
9027 $RM -r conftest
9028 $RM conftest*
9029
9030 fi
9031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9032 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9033
9034
9035
9036
9037 hard_links="nottested"
9038 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9039 # do not overwrite the value of need_locks provided by the user
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9041 $as_echo_n "checking if we can lock with hard links... " >&6; }
9042 hard_links=yes
9043 $RM conftest*
9044 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9045 touch conftest.a
9046 ln conftest.a conftest.b 2>&5 || hard_links=no
9047 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9049 $as_echo "$hard_links" >&6; }
9050 if test "$hard_links" = no; then
9051 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9052 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9053 need_locks=warn
9054 fi
9055 else
9056 need_locks=no
9057 fi
9058
9059
9060
9061
9062
9063
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9065 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9066
9067 runpath_var=
9068 allow_undefined_flag=
9069 always_export_symbols=no
9070 archive_cmds=
9071 archive_expsym_cmds=
9072 compiler_needs_object=no
9073 enable_shared_with_static_runtimes=no
9074 export_dynamic_flag_spec=
9075 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9076 hardcode_automatic=no
9077 hardcode_direct=no
9078 hardcode_direct_absolute=no
9079 hardcode_libdir_flag_spec=
9080 hardcode_libdir_flag_spec_ld=
9081 hardcode_libdir_separator=
9082 hardcode_minus_L=no
9083 hardcode_shlibpath_var=unsupported
9084 inherit_rpath=no
9085 link_all_deplibs=unknown
9086 module_cmds=
9087 module_expsym_cmds=
9088 old_archive_from_new_cmds=
9089 old_archive_from_expsyms_cmds=
9090 thread_safe_flag_spec=
9091 whole_archive_flag_spec=
9092 # include_expsyms should be a list of space-separated symbols to be *always*
9093 # included in the symbol list
9094 include_expsyms=
9095 # exclude_expsyms can be an extended regexp of symbols to exclude
9096 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9097 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9098 # as well as any symbol that contains `d'.
9099 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9100 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9101 # platforms (ab)use it in PIC code, but their linkers get confused if
9102 # the symbol is explicitly referenced. Since portable code cannot
9103 # rely on this symbol name, it's probably fine to never include it in
9104 # preloaded symbol tables.
9105 # Exclude shared library initialization/finalization symbols.
9106 extract_expsyms_cmds=
9107
9108 case $host_os in
9109 cygwin* | mingw* | pw32* | cegcc*)
9110 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9111 # When not using gcc, we currently assume that we are using
9112 # Microsoft Visual C++.
9113 if test "$GCC" != yes; then
9114 with_gnu_ld=no
9115 fi
9116 ;;
9117 interix*)
9118 # we just hope/assume this is gcc and not c89 (= MSVC++)
9119 with_gnu_ld=yes
9120 ;;
9121 openbsd*)
9122 with_gnu_ld=no
9123 ;;
9124 esac
9125
9126 ld_shlibs=yes
9127
9128 # On some targets, GNU ld is compatible enough with the native linker
9129 # that we're better off using the native interface for both.
9130 lt_use_gnu_ld_interface=no
9131 if test "$with_gnu_ld" = yes; then
9132 case $host_os in
9133 aix*)
9134 # The AIX port of GNU ld has always aspired to compatibility
9135 # with the native linker. However, as the warning in the GNU ld
9136 # block says, versions before 2.19.5* couldn't really create working
9137 # shared libraries, regardless of the interface used.
9138 case `$LD -v 2>&1` in
9139 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9140 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9141 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9142 *)
9143 lt_use_gnu_ld_interface=yes
9144 ;;
9145 esac
9146 ;;
9147 *)
9148 lt_use_gnu_ld_interface=yes
9149 ;;
9150 esac
9151 fi
9152
9153 if test "$lt_use_gnu_ld_interface" = yes; then
9154 # If archive_cmds runs LD, not CC, wlarc should be empty
9155 wlarc='${wl}'
9156
9157 # Set some defaults for GNU ld with shared library support. These
9158 # are reset later if shared libraries are not supported. Putting them
9159 # here allows them to be overridden if necessary.
9160 runpath_var=LD_RUN_PATH
9161 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9162 export_dynamic_flag_spec='${wl}--export-dynamic'
9163 # ancient GNU ld didn't support --whole-archive et. al.
9164 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9165 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9166 else
9167 whole_archive_flag_spec=
9168 fi
9169 supports_anon_versioning=no
9170 case `$LD -v 2>&1` in
9171 *GNU\ gold*) supports_anon_versioning=yes ;;
9172 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9173 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9174 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9175 *\ 2.11.*) ;; # other 2.11 versions
9176 *) supports_anon_versioning=yes ;;
9177 esac
9178
9179 # See if GNU ld supports shared libraries.
9180 case $host_os in
9181 aix[3-9]*)
9182 # On AIX/PPC, the GNU linker is very broken
9183 if test "$host_cpu" != ia64; then
9184 ld_shlibs=no
9185 cat <<_LT_EOF 1>&2
9186
9187 *** Warning: the GNU linker, at least up to release 2.19, is reported
9188 *** to be unable to reliably create shared libraries on AIX.
9189 *** Therefore, libtool is disabling shared libraries support. If you
9190 *** really care for shared libraries, you may want to install binutils
9191 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9192 *** You will then need to restart the configuration process.
9193
9194 _LT_EOF
9195 fi
9196 ;;
9197
9198 amigaos*)
9199 case $host_cpu in
9200 powerpc)
9201 # see comment about AmigaOS4 .so support
9202 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9203 archive_expsym_cmds=''
9204 ;;
9205 m68k)
9206 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)'
9207 hardcode_libdir_flag_spec='-L$libdir'
9208 hardcode_minus_L=yes
9209 ;;
9210 esac
9211 ;;
9212
9213 beos*)
9214 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9215 allow_undefined_flag=unsupported
9216 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9217 # support --undefined. This deserves some investigation. FIXME
9218 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9219 else
9220 ld_shlibs=no
9221 fi
9222 ;;
9223
9224 cygwin* | mingw* | pw32* | cegcc*)
9225 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9226 # as there is no search path for DLLs.
9227 hardcode_libdir_flag_spec='-L$libdir'
9228 export_dynamic_flag_spec='${wl}--export-all-symbols'
9229 allow_undefined_flag=unsupported
9230 always_export_symbols=no
9231 enable_shared_with_static_runtimes=yes
9232 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9233
9234 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9235 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9236 # If the export-symbols file already is a .def file (1st line
9237 # is EXPORTS), use it as is; otherwise, prepend...
9238 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9239 cp $export_symbols $output_objdir/$soname.def;
9240 else
9241 echo EXPORTS > $output_objdir/$soname.def;
9242 cat $export_symbols >> $output_objdir/$soname.def;
9243 fi~
9244 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9245 else
9246 ld_shlibs=no
9247 fi
9248 ;;
9249
9250 haiku*)
9251 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9252 link_all_deplibs=yes
9253 ;;
9254
9255 interix[3-9]*)
9256 hardcode_direct=no
9257 hardcode_shlibpath_var=no
9258 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9259 export_dynamic_flag_spec='${wl}-E'
9260 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9261 # Instead, shared libraries are loaded at an image base (0x10000000 by
9262 # default) and relocated if they conflict, which is a slow very memory
9263 # consuming and fragmenting process. To avoid this, we pick a random,
9264 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9265 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9266 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9267 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'
9268 ;;
9269
9270 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9271 tmp_diet=no
9272 if test "$host_os" = linux-dietlibc; then
9273 case $cc_basename in
9274 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9275 esac
9276 fi
9277 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9278 && test "$tmp_diet" = no
9279 then
9280 tmp_addflag=
9281 tmp_sharedflag='-shared'
9282 case $cc_basename,$host_cpu in
9283 pgcc*) # Portland Group C compiler
9284 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'
9285 tmp_addflag=' $pic_flag'
9286 ;;
9287 pgf77* | pgf90* | pgf95* | pgfortran*)
9288 # Portland Group f77 and f90 compilers
9289 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'
9290 tmp_addflag=' $pic_flag -Mnomain' ;;
9291 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9292 tmp_addflag=' -i_dynamic' ;;
9293 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9294 tmp_addflag=' -i_dynamic -nofor_main' ;;
9295 ifc* | ifort*) # Intel Fortran compiler
9296 tmp_addflag=' -nofor_main' ;;
9297 lf95*) # Lahey Fortran 8.1
9298 whole_archive_flag_spec=
9299 tmp_sharedflag='--shared' ;;
9300 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9301 tmp_sharedflag='-qmkshrobj'
9302 tmp_addflag= ;;
9303 nvcc*) # Cuda Compiler Driver 2.2
9304 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'
9305 compiler_needs_object=yes
9306 ;;
9307 esac
9308 case `$CC -V 2>&1 | sed 5q` in
9309 *Sun\ C*) # Sun C 5.9
9310 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'
9311 compiler_needs_object=yes
9312 tmp_sharedflag='-G' ;;
9313 *Sun\ F*) # Sun Fortran 8.3
9314 tmp_sharedflag='-G' ;;
9315 esac
9316 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9317
9318 if test "x$supports_anon_versioning" = xyes; then
9319 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9320 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9321 echo "local: *; };" >> $output_objdir/$libname.ver~
9322 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9323 fi
9324
9325 case $cc_basename in
9326 xlf* | bgf* | bgxlf* | mpixlf*)
9327 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9328 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9329 hardcode_libdir_flag_spec=
9330 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9331 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9332 if test "x$supports_anon_versioning" = xyes; then
9333 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9334 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9335 echo "local: *; };" >> $output_objdir/$libname.ver~
9336 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9337 fi
9338 ;;
9339 esac
9340 else
9341 ld_shlibs=no
9342 fi
9343 ;;
9344
9345 netbsd*)
9346 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9347 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9348 wlarc=
9349 else
9350 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9351 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9352 fi
9353 ;;
9354
9355 solaris*)
9356 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9357 ld_shlibs=no
9358 cat <<_LT_EOF 1>&2
9359
9360 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9361 *** create shared libraries on Solaris systems. Therefore, libtool
9362 *** is disabling shared libraries support. We urge you to upgrade GNU
9363 *** binutils to release 2.9.1 or newer. Another option is to modify
9364 *** your PATH or compiler configuration so that the native linker is
9365 *** used, and then restart.
9366
9367 _LT_EOF
9368 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9369 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9370 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9371 else
9372 ld_shlibs=no
9373 fi
9374 ;;
9375
9376 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9377 case `$LD -v 2>&1` in
9378 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9379 ld_shlibs=no
9380 cat <<_LT_EOF 1>&2
9381
9382 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9383 *** reliably create shared libraries on SCO systems. Therefore, libtool
9384 *** is disabling shared libraries support. We urge you to upgrade GNU
9385 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9386 *** your PATH or compiler configuration so that the native linker is
9387 *** used, and then restart.
9388
9389 _LT_EOF
9390 ;;
9391 *)
9392 # For security reasons, it is highly recommended that you always
9393 # use absolute paths for naming shared libraries, and exclude the
9394 # DT_RUNPATH tag from executables and libraries. But doing so
9395 # requires that you compile everything twice, which is a pain.
9396 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9397 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9398 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9399 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9400 else
9401 ld_shlibs=no
9402 fi
9403 ;;
9404 esac
9405 ;;
9406
9407 sunos4*)
9408 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9409 wlarc=
9410 hardcode_direct=yes
9411 hardcode_shlibpath_var=no
9412 ;;
9413
9414 *)
9415 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9416 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9417 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9418 else
9419 ld_shlibs=no
9420 fi
9421 ;;
9422 esac
9423
9424 if test "$ld_shlibs" = no; then
9425 runpath_var=
9426 hardcode_libdir_flag_spec=
9427 export_dynamic_flag_spec=
9428 whole_archive_flag_spec=
9429 fi
9430 else
9431 # PORTME fill in a description of your system's linker (not GNU ld)
9432 case $host_os in
9433 aix3*)
9434 allow_undefined_flag=unsupported
9435 always_export_symbols=yes
9436 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'
9437 # Note: this linker hardcodes the directories in LIBPATH if there
9438 # are no directories specified by -L.
9439 hardcode_minus_L=yes
9440 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9441 # Neither direct hardcoding nor static linking is supported with a
9442 # broken collect2.
9443 hardcode_direct=unsupported
9444 fi
9445 ;;
9446
9447 aix[4-9]*)
9448 if test "$host_cpu" = ia64; then
9449 # On IA64, the linker does run time linking by default, so we don't
9450 # have to do anything special.
9451 aix_use_runtimelinking=no
9452 exp_sym_flag='-Bexport'
9453 no_entry_flag=""
9454 else
9455 # If we're using GNU nm, then we don't want the "-C" option.
9456 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9457 # Also, AIX nm treats weak defined symbols like other global
9458 # defined symbols, whereas GNU nm marks them as "W".
9459 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9460 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'
9461 else
9462 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'
9463 fi
9464 aix_use_runtimelinking=no
9465
9466 # Test if we are trying to use run time linking or normal
9467 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9468 # need to do runtime linking.
9469 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9470 for ld_flag in $LDFLAGS; do
9471 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9472 aix_use_runtimelinking=yes
9473 break
9474 fi
9475 done
9476 ;;
9477 esac
9478
9479 exp_sym_flag='-bexport'
9480 no_entry_flag='-bnoentry'
9481 fi
9482
9483 # When large executables or shared objects are built, AIX ld can
9484 # have problems creating the table of contents. If linking a library
9485 # or program results in "error TOC overflow" add -mminimal-toc to
9486 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9487 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9488
9489 archive_cmds=''
9490 hardcode_direct=yes
9491 hardcode_direct_absolute=yes
9492 hardcode_libdir_separator=':'
9493 link_all_deplibs=yes
9494 file_list_spec='${wl}-f,'
9495
9496 if test "$GCC" = yes; then
9497 case $host_os in aix4.[012]|aix4.[012].*)
9498 # We only want to do this on AIX 4.2 and lower, the check
9499 # below for broken collect2 doesn't work under 4.3+
9500 collect2name=`${CC} -print-prog-name=collect2`
9501 if test -f "$collect2name" &&
9502 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9503 then
9504 # We have reworked collect2
9505 :
9506 else
9507 # We have old collect2
9508 hardcode_direct=unsupported
9509 # It fails to find uninstalled libraries when the uninstalled
9510 # path is not listed in the libpath. Setting hardcode_minus_L
9511 # to unsupported forces relinking
9512 hardcode_minus_L=yes
9513 hardcode_libdir_flag_spec='-L$libdir'
9514 hardcode_libdir_separator=
9515 fi
9516 ;;
9517 esac
9518 shared_flag='-shared'
9519 if test "$aix_use_runtimelinking" = yes; then
9520 shared_flag="$shared_flag "'${wl}-G'
9521 fi
9522 else
9523 # not using gcc
9524 if test "$host_cpu" = ia64; then
9525 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9526 # chokes on -Wl,-G. The following line is correct:
9527 shared_flag='-G'
9528 else
9529 if test "$aix_use_runtimelinking" = yes; then
9530 shared_flag='${wl}-G'
9531 else
9532 shared_flag='${wl}-bM:SRE'
9533 fi
9534 fi
9535 fi
9536
9537 export_dynamic_flag_spec='${wl}-bexpall'
9538 # It seems that -bexpall does not export symbols beginning with
9539 # underscore (_), so it is better to generate a list of symbols to export.
9540 always_export_symbols=yes
9541 if test "$aix_use_runtimelinking" = yes; then
9542 # Warning - without using the other runtime loading flags (-brtl),
9543 # -berok will link without error, but may produce a broken library.
9544 allow_undefined_flag='-berok'
9545 # Determine the default libpath from the value encoded in an
9546 # empty executable.
9547 if test x$gcc_no_link = xyes; then
9548 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9549 fi
9550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9551 /* end confdefs.h. */
9552
9553 int
9554 main ()
9555 {
9556
9557 ;
9558 return 0;
9559 }
9560 _ACEOF
9561 if ac_fn_c_try_link "$LINENO"; then :
9562
9563 lt_aix_libpath_sed='
9564 /Import File Strings/,/^$/ {
9565 /^0/ {
9566 s/^0 *\(.*\)$/\1/
9567 p
9568 }
9569 }'
9570 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9571 # Check for a 64-bit object if we didn't find anything.
9572 if test -z "$aix_libpath"; then
9573 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9574 fi
9575 fi
9576 rm -f core conftest.err conftest.$ac_objext \
9577 conftest$ac_exeext conftest.$ac_ext
9578 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9579
9580 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9581 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"
9582 else
9583 if test "$host_cpu" = ia64; then
9584 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9585 allow_undefined_flag="-z nodefs"
9586 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"
9587 else
9588 # Determine the default libpath from the value encoded in an
9589 # empty executable.
9590 if test x$gcc_no_link = xyes; then
9591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9592 fi
9593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9594 /* end confdefs.h. */
9595
9596 int
9597 main ()
9598 {
9599
9600 ;
9601 return 0;
9602 }
9603 _ACEOF
9604 if ac_fn_c_try_link "$LINENO"; then :
9605
9606 lt_aix_libpath_sed='
9607 /Import File Strings/,/^$/ {
9608 /^0/ {
9609 s/^0 *\(.*\)$/\1/
9610 p
9611 }
9612 }'
9613 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9614 # Check for a 64-bit object if we didn't find anything.
9615 if test -z "$aix_libpath"; then
9616 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9617 fi
9618 fi
9619 rm -f core conftest.err conftest.$ac_objext \
9620 conftest$ac_exeext conftest.$ac_ext
9621 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9622
9623 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9624 # Warning - without using the other run time loading flags,
9625 # -berok will link without error, but may produce a broken library.
9626 no_undefined_flag=' ${wl}-bernotok'
9627 allow_undefined_flag=' ${wl}-berok'
9628 if test "$with_gnu_ld" = yes; then
9629 # We only use this code for GNU lds that support --whole-archive.
9630 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9631 else
9632 # Exported symbols can be pulled into shared objects from archives
9633 whole_archive_flag_spec='$convenience'
9634 fi
9635 archive_cmds_need_lc=yes
9636 # This is similar to how AIX traditionally builds its shared libraries.
9637 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'
9638 fi
9639 fi
9640 ;;
9641
9642 amigaos*)
9643 case $host_cpu in
9644 powerpc)
9645 # see comment about AmigaOS4 .so support
9646 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9647 archive_expsym_cmds=''
9648 ;;
9649 m68k)
9650 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)'
9651 hardcode_libdir_flag_spec='-L$libdir'
9652 hardcode_minus_L=yes
9653 ;;
9654 esac
9655 ;;
9656
9657 bsdi[45]*)
9658 export_dynamic_flag_spec=-rdynamic
9659 ;;
9660
9661 cygwin* | mingw* | pw32* | cegcc*)
9662 # When not using gcc, we currently assume that we are using
9663 # Microsoft Visual C++.
9664 # hardcode_libdir_flag_spec is actually meaningless, as there is
9665 # no search path for DLLs.
9666 hardcode_libdir_flag_spec=' '
9667 allow_undefined_flag=unsupported
9668 # Tell ltmain to make .lib files, not .a files.
9669 libext=lib
9670 # Tell ltmain to make .dll files, not .so files.
9671 shrext_cmds=".dll"
9672 # FIXME: Setting linknames here is a bad hack.
9673 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9674 # The linker will automatically build a .lib file if we build a DLL.
9675 old_archive_from_new_cmds='true'
9676 # FIXME: Should let the user specify the lib program.
9677 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9678 fix_srcfile_path='`cygpath -w "$srcfile"`'
9679 enable_shared_with_static_runtimes=yes
9680 ;;
9681
9682 darwin* | rhapsody*)
9683
9684
9685 archive_cmds_need_lc=no
9686 hardcode_direct=no
9687 hardcode_automatic=yes
9688 hardcode_shlibpath_var=unsupported
9689 if test "$lt_cv_ld_force_load" = "yes"; then
9690 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\"`'
9691 else
9692 whole_archive_flag_spec=''
9693 fi
9694 link_all_deplibs=yes
9695 allow_undefined_flag="$_lt_dar_allow_undefined"
9696 case $cc_basename in
9697 ifort*) _lt_dar_can_shared=yes ;;
9698 *) _lt_dar_can_shared=$GCC ;;
9699 esac
9700 if test "$_lt_dar_can_shared" = "yes"; then
9701 output_verbose_link_cmd=func_echo_all
9702 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9703 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9704 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}"
9705 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}"
9706
9707 else
9708 ld_shlibs=no
9709 fi
9710
9711 ;;
9712
9713 dgux*)
9714 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9715 hardcode_libdir_flag_spec='-L$libdir'
9716 hardcode_shlibpath_var=no
9717 ;;
9718
9719 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9720 # support. Future versions do this automatically, but an explicit c++rt0.o
9721 # does not break anything, and helps significantly (at the cost of a little
9722 # extra space).
9723 freebsd2.2*)
9724 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9725 hardcode_libdir_flag_spec='-R$libdir'
9726 hardcode_direct=yes
9727 hardcode_shlibpath_var=no
9728 ;;
9729
9730 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9731 freebsd2.*)
9732 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9733 hardcode_direct=yes
9734 hardcode_minus_L=yes
9735 hardcode_shlibpath_var=no
9736 ;;
9737
9738 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9739 freebsd* | dragonfly*)
9740 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9741 hardcode_libdir_flag_spec='-R$libdir'
9742 hardcode_direct=yes
9743 hardcode_shlibpath_var=no
9744 ;;
9745
9746 hpux9*)
9747 if test "$GCC" = yes; then
9748 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'
9749 else
9750 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'
9751 fi
9752 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9753 hardcode_libdir_separator=:
9754 hardcode_direct=yes
9755
9756 # hardcode_minus_L: Not really in the search PATH,
9757 # but as the default location of the library.
9758 hardcode_minus_L=yes
9759 export_dynamic_flag_spec='${wl}-E'
9760 ;;
9761
9762 hpux10*)
9763 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9764 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9765 else
9766 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9767 fi
9768 if test "$with_gnu_ld" = no; then
9769 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9770 hardcode_libdir_flag_spec_ld='+b $libdir'
9771 hardcode_libdir_separator=:
9772 hardcode_direct=yes
9773 hardcode_direct_absolute=yes
9774 export_dynamic_flag_spec='${wl}-E'
9775 # hardcode_minus_L: Not really in the search PATH,
9776 # but as the default location of the library.
9777 hardcode_minus_L=yes
9778 fi
9779 ;;
9780
9781 hpux11*)
9782 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9783 case $host_cpu in
9784 hppa*64*)
9785 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9786 ;;
9787 ia64*)
9788 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9789 ;;
9790 *)
9791 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9792 ;;
9793 esac
9794 else
9795 case $host_cpu in
9796 hppa*64*)
9797 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9798 ;;
9799 ia64*)
9800 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9801 ;;
9802 *)
9803
9804 # Older versions of the 11.00 compiler do not understand -b yet
9805 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9807 $as_echo_n "checking if $CC understands -b... " >&6; }
9808 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9809 $as_echo_n "(cached) " >&6
9810 else
9811 lt_cv_prog_compiler__b=no
9812 save_LDFLAGS="$LDFLAGS"
9813 LDFLAGS="$LDFLAGS -b"
9814 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9815 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9816 # The linker can only warn and ignore the option if not recognized
9817 # So say no if there are warnings
9818 if test -s conftest.err; then
9819 # Append any errors to the config.log.
9820 cat conftest.err 1>&5
9821 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9822 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9823 if diff conftest.exp conftest.er2 >/dev/null; then
9824 lt_cv_prog_compiler__b=yes
9825 fi
9826 else
9827 lt_cv_prog_compiler__b=yes
9828 fi
9829 fi
9830 $RM -r conftest*
9831 LDFLAGS="$save_LDFLAGS"
9832
9833 fi
9834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9835 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9836
9837 if test x"$lt_cv_prog_compiler__b" = xyes; then
9838 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9839 else
9840 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9841 fi
9842
9843 ;;
9844 esac
9845 fi
9846 if test "$with_gnu_ld" = no; then
9847 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9848 hardcode_libdir_separator=:
9849
9850 case $host_cpu in
9851 hppa*64*|ia64*)
9852 hardcode_direct=no
9853 hardcode_shlibpath_var=no
9854 ;;
9855 *)
9856 hardcode_direct=yes
9857 hardcode_direct_absolute=yes
9858 export_dynamic_flag_spec='${wl}-E'
9859
9860 # hardcode_minus_L: Not really in the search PATH,
9861 # but as the default location of the library.
9862 hardcode_minus_L=yes
9863 ;;
9864 esac
9865 fi
9866 ;;
9867
9868 irix5* | irix6* | nonstopux*)
9869 if test "$GCC" = yes; then
9870 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'
9871 # Try to use the -exported_symbol ld option, if it does not
9872 # work, assume that -exports_file does not work either and
9873 # implicitly export all symbols.
9874 save_LDFLAGS="$LDFLAGS"
9875 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9876 if test x$gcc_no_link = xyes; then
9877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9878 fi
9879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9880 /* end confdefs.h. */
9881 int foo(void) {}
9882 _ACEOF
9883 if ac_fn_c_try_link "$LINENO"; then :
9884 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'
9885
9886 fi
9887 rm -f core conftest.err conftest.$ac_objext \
9888 conftest$ac_exeext conftest.$ac_ext
9889 LDFLAGS="$save_LDFLAGS"
9890 else
9891 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'
9892 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'
9893 fi
9894 archive_cmds_need_lc='no'
9895 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9896 hardcode_libdir_separator=:
9897 inherit_rpath=yes
9898 link_all_deplibs=yes
9899 ;;
9900
9901 netbsd*)
9902 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9903 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9904 else
9905 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9906 fi
9907 hardcode_libdir_flag_spec='-R$libdir'
9908 hardcode_direct=yes
9909 hardcode_shlibpath_var=no
9910 ;;
9911
9912 newsos6)
9913 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9914 hardcode_direct=yes
9915 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9916 hardcode_libdir_separator=:
9917 hardcode_shlibpath_var=no
9918 ;;
9919
9920 *nto* | *qnx*)
9921 ;;
9922
9923 openbsd*)
9924 if test -f /usr/libexec/ld.so; then
9925 hardcode_direct=yes
9926 hardcode_shlibpath_var=no
9927 hardcode_direct_absolute=yes
9928 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9929 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9930 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9931 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9932 export_dynamic_flag_spec='${wl}-E'
9933 else
9934 case $host_os in
9935 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9936 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9937 hardcode_libdir_flag_spec='-R$libdir'
9938 ;;
9939 *)
9940 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9941 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9942 ;;
9943 esac
9944 fi
9945 else
9946 ld_shlibs=no
9947 fi
9948 ;;
9949
9950 os2*)
9951 hardcode_libdir_flag_spec='-L$libdir'
9952 hardcode_minus_L=yes
9953 allow_undefined_flag=unsupported
9954 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'
9955 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9956 ;;
9957
9958 osf3*)
9959 if test "$GCC" = yes; then
9960 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9961 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'
9962 else
9963 allow_undefined_flag=' -expect_unresolved \*'
9964 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'
9965 fi
9966 archive_cmds_need_lc='no'
9967 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9968 hardcode_libdir_separator=:
9969 ;;
9970
9971 osf4* | osf5*) # as osf3* with the addition of -msym flag
9972 if test "$GCC" = yes; then
9973 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9974 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'
9975 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9976 else
9977 allow_undefined_flag=' -expect_unresolved \*'
9978 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'
9979 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~
9980 $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'
9981
9982 # Both c and cxx compiler support -rpath directly
9983 hardcode_libdir_flag_spec='-rpath $libdir'
9984 fi
9985 archive_cmds_need_lc='no'
9986 hardcode_libdir_separator=:
9987 ;;
9988
9989 solaris*)
9990 no_undefined_flag=' -z defs'
9991 if test "$GCC" = yes; then
9992 wlarc='${wl}'
9993 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9994 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9995 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9996 else
9997 case `$CC -V 2>&1` in
9998 *"Compilers 5.0"*)
9999 wlarc=''
10000 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10001 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10002 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10003 ;;
10004 *)
10005 wlarc='${wl}'
10006 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10007 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10008 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10009 ;;
10010 esac
10011 fi
10012 hardcode_libdir_flag_spec='-R$libdir'
10013 hardcode_shlibpath_var=no
10014 case $host_os in
10015 solaris2.[0-5] | solaris2.[0-5].*) ;;
10016 *)
10017 # The compiler driver will combine and reorder linker options,
10018 # but understands `-z linker_flag'. GCC discards it without `$wl',
10019 # but is careful enough not to reorder.
10020 # Supported since Solaris 2.6 (maybe 2.5.1?)
10021 if test "$GCC" = yes; then
10022 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10023 else
10024 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10025 fi
10026 ;;
10027 esac
10028 link_all_deplibs=yes
10029 ;;
10030
10031 sunos4*)
10032 if test "x$host_vendor" = xsequent; then
10033 # Use $CC to link under sequent, because it throws in some extra .o
10034 # files that make .init and .fini sections work.
10035 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10036 else
10037 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10038 fi
10039 hardcode_libdir_flag_spec='-L$libdir'
10040 hardcode_direct=yes
10041 hardcode_minus_L=yes
10042 hardcode_shlibpath_var=no
10043 ;;
10044
10045 sysv4)
10046 case $host_vendor in
10047 sni)
10048 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10049 hardcode_direct=yes # is this really true???
10050 ;;
10051 siemens)
10052 ## LD is ld it makes a PLAMLIB
10053 ## CC just makes a GrossModule.
10054 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10055 reload_cmds='$CC -r -o $output$reload_objs'
10056 hardcode_direct=no
10057 ;;
10058 motorola)
10059 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10060 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10061 ;;
10062 esac
10063 runpath_var='LD_RUN_PATH'
10064 hardcode_shlibpath_var=no
10065 ;;
10066
10067 sysv4.3*)
10068 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10069 hardcode_shlibpath_var=no
10070 export_dynamic_flag_spec='-Bexport'
10071 ;;
10072
10073 sysv4*MP*)
10074 if test -d /usr/nec; then
10075 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10076 hardcode_shlibpath_var=no
10077 runpath_var=LD_RUN_PATH
10078 hardcode_runpath_var=yes
10079 ld_shlibs=yes
10080 fi
10081 ;;
10082
10083 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10084 no_undefined_flag='${wl}-z,text'
10085 archive_cmds_need_lc=no
10086 hardcode_shlibpath_var=no
10087 runpath_var='LD_RUN_PATH'
10088
10089 if test "$GCC" = yes; then
10090 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10091 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10092 else
10093 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10094 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10095 fi
10096 ;;
10097
10098 sysv5* | sco3.2v5* | sco5v6*)
10099 # Note: We can NOT use -z defs as we might desire, because we do not
10100 # link with -lc, and that would cause any symbols used from libc to
10101 # always be unresolved, which means just about no library would
10102 # ever link correctly. If we're not using GNU ld we use -z text
10103 # though, which does catch some bad symbols but isn't as heavy-handed
10104 # as -z defs.
10105 no_undefined_flag='${wl}-z,text'
10106 allow_undefined_flag='${wl}-z,nodefs'
10107 archive_cmds_need_lc=no
10108 hardcode_shlibpath_var=no
10109 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10110 hardcode_libdir_separator=':'
10111 link_all_deplibs=yes
10112 export_dynamic_flag_spec='${wl}-Bexport'
10113 runpath_var='LD_RUN_PATH'
10114
10115 if test "$GCC" = yes; then
10116 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10118 else
10119 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10120 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10121 fi
10122 ;;
10123
10124 uts4*)
10125 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10126 hardcode_libdir_flag_spec='-L$libdir'
10127 hardcode_shlibpath_var=no
10128 ;;
10129
10130 *)
10131 ld_shlibs=no
10132 ;;
10133 esac
10134
10135 if test x$host_vendor = xsni; then
10136 case $host in
10137 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10138 export_dynamic_flag_spec='${wl}-Blargedynsym'
10139 ;;
10140 esac
10141 fi
10142 fi
10143
10144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10145 $as_echo "$ld_shlibs" >&6; }
10146 test "$ld_shlibs" = no && can_build_shared=no
10147
10148 with_gnu_ld=$with_gnu_ld
10149
10150
10151
10152
10153
10154
10155
10156
10157
10158
10159
10160
10161
10162
10163
10164 #
10165 # Do we need to explicitly link libc?
10166 #
10167 case "x$archive_cmds_need_lc" in
10168 x|xyes)
10169 # Assume -lc should be added
10170 archive_cmds_need_lc=yes
10171
10172 if test "$enable_shared" = yes && test "$GCC" = yes; then
10173 case $archive_cmds in
10174 *'~'*)
10175 # FIXME: we may have to deal with multi-command sequences.
10176 ;;
10177 '$CC '*)
10178 # Test whether the compiler implicitly links with -lc since on some
10179 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10180 # to ld, don't add -lc before -lgcc.
10181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10182 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10183 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10184 $as_echo_n "(cached) " >&6
10185 else
10186 $RM conftest*
10187 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10188
10189 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10190 (eval $ac_compile) 2>&5
10191 ac_status=$?
10192 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10193 test $ac_status = 0; } 2>conftest.err; then
10194 soname=conftest
10195 lib=conftest
10196 libobjs=conftest.$ac_objext
10197 deplibs=
10198 wl=$lt_prog_compiler_wl
10199 pic_flag=$lt_prog_compiler_pic
10200 compiler_flags=-v
10201 linker_flags=-v
10202 verstring=
10203 output_objdir=.
10204 libname=conftest
10205 lt_save_allow_undefined_flag=$allow_undefined_flag
10206 allow_undefined_flag=
10207 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10208 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10209 ac_status=$?
10210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10211 test $ac_status = 0; }
10212 then
10213 lt_cv_archive_cmds_need_lc=no
10214 else
10215 lt_cv_archive_cmds_need_lc=yes
10216 fi
10217 allow_undefined_flag=$lt_save_allow_undefined_flag
10218 else
10219 cat conftest.err 1>&5
10220 fi
10221 $RM conftest*
10222
10223 fi
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10225 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10226 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10227 ;;
10228 esac
10229 fi
10230 ;;
10231 esac
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
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10390 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10391
10392 if test "$GCC" = yes; then
10393 case $host_os in
10394 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10395 *) lt_awk_arg="/^libraries:/" ;;
10396 esac
10397 case $host_os in
10398 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10399 *) lt_sed_strip_eq="s,=/,/,g" ;;
10400 esac
10401 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10402 case $lt_search_path_spec in
10403 *\;*)
10404 # if the path contains ";" then we assume it to be the separator
10405 # otherwise default to the standard path separator (i.e. ":") - it is
10406 # assumed that no part of a normal pathname contains ";" but that should
10407 # okay in the real world where ";" in dirpaths is itself problematic.
10408 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10409 ;;
10410 *)
10411 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10412 ;;
10413 esac
10414 # Ok, now we have the path, separated by spaces, we can step through it
10415 # and add multilib dir if necessary.
10416 lt_tmp_lt_search_path_spec=
10417 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10418 for lt_sys_path in $lt_search_path_spec; do
10419 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10420 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10421 else
10422 test -d "$lt_sys_path" && \
10423 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10424 fi
10425 done
10426 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10427 BEGIN {RS=" "; FS="/|\n";} {
10428 lt_foo="";
10429 lt_count=0;
10430 for (lt_i = NF; lt_i > 0; lt_i--) {
10431 if ($lt_i != "" && $lt_i != ".") {
10432 if ($lt_i == "..") {
10433 lt_count++;
10434 } else {
10435 if (lt_count == 0) {
10436 lt_foo="/" $lt_i lt_foo;
10437 } else {
10438 lt_count--;
10439 }
10440 }
10441 }
10442 }
10443 if (lt_foo != "") { lt_freq[lt_foo]++; }
10444 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10445 }'`
10446 # AWK program above erroneously prepends '/' to C:/dos/paths
10447 # for these hosts.
10448 case $host_os in
10449 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10450 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10451 esac
10452 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10453 else
10454 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10455 fi
10456 library_names_spec=
10457 libname_spec='lib$name'
10458 soname_spec=
10459 shrext_cmds=".so"
10460 postinstall_cmds=
10461 postuninstall_cmds=
10462 finish_cmds=
10463 finish_eval=
10464 shlibpath_var=
10465 shlibpath_overrides_runpath=unknown
10466 version_type=none
10467 dynamic_linker="$host_os ld.so"
10468 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10469 need_lib_prefix=unknown
10470 hardcode_into_libs=no
10471
10472 # when you set need_version to no, make sure it does not cause -set_version
10473 # flags to be left without arguments
10474 need_version=unknown
10475
10476 case $host_os in
10477 aix3*)
10478 version_type=linux
10479 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10480 shlibpath_var=LIBPATH
10481
10482 # AIX 3 has no versioning support, so we append a major version to the name.
10483 soname_spec='${libname}${release}${shared_ext}$major'
10484 ;;
10485
10486 aix[4-9]*)
10487 version_type=linux
10488 need_lib_prefix=no
10489 need_version=no
10490 hardcode_into_libs=yes
10491 if test "$host_cpu" = ia64; then
10492 # AIX 5 supports IA64
10493 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10494 shlibpath_var=LD_LIBRARY_PATH
10495 else
10496 # With GCC up to 2.95.x, collect2 would create an import file
10497 # for dependence libraries. The import file would start with
10498 # the line `#! .'. This would cause the generated library to
10499 # depend on `.', always an invalid library. This was fixed in
10500 # development snapshots of GCC prior to 3.0.
10501 case $host_os in
10502 aix4 | aix4.[01] | aix4.[01].*)
10503 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10504 echo ' yes '
10505 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10506 :
10507 else
10508 can_build_shared=no
10509 fi
10510 ;;
10511 esac
10512 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10513 # soname into executable. Probably we can add versioning support to
10514 # collect2, so additional links can be useful in future.
10515 if test "$aix_use_runtimelinking" = yes; then
10516 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10517 # instead of lib<name>.a to let people know that these are not
10518 # typical AIX shared libraries.
10519 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10520 else
10521 # We preserve .a as extension for shared libraries through AIX4.2
10522 # and later when we are not doing run time linking.
10523 library_names_spec='${libname}${release}.a $libname.a'
10524 soname_spec='${libname}${release}${shared_ext}$major'
10525 fi
10526 shlibpath_var=LIBPATH
10527 fi
10528 ;;
10529
10530 amigaos*)
10531 case $host_cpu in
10532 powerpc)
10533 # Since July 2007 AmigaOS4 officially supports .so libraries.
10534 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10535 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10536 ;;
10537 m68k)
10538 library_names_spec='$libname.ixlibrary $libname.a'
10539 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10540 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'
10541 ;;
10542 esac
10543 ;;
10544
10545 beos*)
10546 library_names_spec='${libname}${shared_ext}'
10547 dynamic_linker="$host_os ld.so"
10548 shlibpath_var=LIBRARY_PATH
10549 ;;
10550
10551 bsdi[45]*)
10552 version_type=linux
10553 need_version=no
10554 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10555 soname_spec='${libname}${release}${shared_ext}$major'
10556 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10557 shlibpath_var=LD_LIBRARY_PATH
10558 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10559 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10560 # the default ld.so.conf also contains /usr/contrib/lib and
10561 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10562 # libtool to hard-code these into programs
10563 ;;
10564
10565 cygwin* | mingw* | pw32* | cegcc*)
10566 version_type=windows
10567 shrext_cmds=".dll"
10568 need_version=no
10569 need_lib_prefix=no
10570
10571 case $GCC,$host_os in
10572 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10573 library_names_spec='$libname.dll.a'
10574 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10575 postinstall_cmds='base_file=`basename \${file}`~
10576 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10577 dldir=$destdir/`dirname \$dlpath`~
10578 test -d \$dldir || mkdir -p \$dldir~
10579 $install_prog $dir/$dlname \$dldir/$dlname~
10580 chmod a+x \$dldir/$dlname~
10581 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10582 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10583 fi'
10584 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10585 dlpath=$dir/\$dldll~
10586 $RM \$dlpath'
10587 shlibpath_overrides_runpath=yes
10588
10589 case $host_os in
10590 cygwin*)
10591 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10592 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10593
10594 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10595 ;;
10596 mingw* | cegcc*)
10597 # MinGW DLLs use traditional 'lib' prefix
10598 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10599 ;;
10600 pw32*)
10601 # pw32 DLLs use 'pw' prefix rather than 'lib'
10602 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10603 ;;
10604 esac
10605 ;;
10606
10607 *)
10608 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10609 ;;
10610 esac
10611 dynamic_linker='Win32 ld.exe'
10612 # FIXME: first we should search . and the directory the executable is in
10613 shlibpath_var=PATH
10614 ;;
10615
10616 darwin* | rhapsody*)
10617 dynamic_linker="$host_os dyld"
10618 version_type=darwin
10619 need_lib_prefix=no
10620 need_version=no
10621 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10622 soname_spec='${libname}${release}${major}$shared_ext'
10623 shlibpath_overrides_runpath=yes
10624 shlibpath_var=DYLD_LIBRARY_PATH
10625 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10626
10627 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10628 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10629 ;;
10630
10631 dgux*)
10632 version_type=linux
10633 need_lib_prefix=no
10634 need_version=no
10635 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10636 soname_spec='${libname}${release}${shared_ext}$major'
10637 shlibpath_var=LD_LIBRARY_PATH
10638 ;;
10639
10640 freebsd* | dragonfly*)
10641 # DragonFly does not have aout. When/if they implement a new
10642 # versioning mechanism, adjust this.
10643 if test -x /usr/bin/objformat; then
10644 objformat=`/usr/bin/objformat`
10645 else
10646 case $host_os in
10647 freebsd[23].*) objformat=aout ;;
10648 *) objformat=elf ;;
10649 esac
10650 fi
10651 version_type=freebsd-$objformat
10652 case $version_type in
10653 freebsd-elf*)
10654 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10655 need_version=no
10656 need_lib_prefix=no
10657 ;;
10658 freebsd-*)
10659 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10660 need_version=yes
10661 ;;
10662 esac
10663 shlibpath_var=LD_LIBRARY_PATH
10664 case $host_os in
10665 freebsd2.*)
10666 shlibpath_overrides_runpath=yes
10667 ;;
10668 freebsd3.[01]* | freebsdelf3.[01]*)
10669 shlibpath_overrides_runpath=yes
10670 hardcode_into_libs=yes
10671 ;;
10672 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10673 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10674 shlibpath_overrides_runpath=no
10675 hardcode_into_libs=yes
10676 ;;
10677 *) # from 4.6 on, and DragonFly
10678 shlibpath_overrides_runpath=yes
10679 hardcode_into_libs=yes
10680 ;;
10681 esac
10682 ;;
10683
10684 gnu*)
10685 version_type=linux
10686 need_lib_prefix=no
10687 need_version=no
10688 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10689 soname_spec='${libname}${release}${shared_ext}$major'
10690 shlibpath_var=LD_LIBRARY_PATH
10691 hardcode_into_libs=yes
10692 ;;
10693
10694 haiku*)
10695 version_type=linux
10696 need_lib_prefix=no
10697 need_version=no
10698 dynamic_linker="$host_os runtime_loader"
10699 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10700 soname_spec='${libname}${release}${shared_ext}$major'
10701 shlibpath_var=LIBRARY_PATH
10702 shlibpath_overrides_runpath=yes
10703 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10704 hardcode_into_libs=yes
10705 ;;
10706
10707 hpux9* | hpux10* | hpux11*)
10708 # Give a soname corresponding to the major version so that dld.sl refuses to
10709 # link against other versions.
10710 version_type=sunos
10711 need_lib_prefix=no
10712 need_version=no
10713 case $host_cpu in
10714 ia64*)
10715 shrext_cmds='.so'
10716 hardcode_into_libs=yes
10717 dynamic_linker="$host_os dld.so"
10718 shlibpath_var=LD_LIBRARY_PATH
10719 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10721 soname_spec='${libname}${release}${shared_ext}$major'
10722 if test "X$HPUX_IA64_MODE" = X32; then
10723 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10724 else
10725 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10726 fi
10727 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10728 ;;
10729 hppa*64*)
10730 shrext_cmds='.sl'
10731 hardcode_into_libs=yes
10732 dynamic_linker="$host_os dld.sl"
10733 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10734 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10736 soname_spec='${libname}${release}${shared_ext}$major'
10737 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10738 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10739 ;;
10740 *)
10741 shrext_cmds='.sl'
10742 dynamic_linker="$host_os dld.sl"
10743 shlibpath_var=SHLIB_PATH
10744 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10746 soname_spec='${libname}${release}${shared_ext}$major'
10747 ;;
10748 esac
10749 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10750 postinstall_cmds='chmod 555 $lib'
10751 # or fails outright, so override atomically:
10752 install_override_mode=555
10753 ;;
10754
10755 interix[3-9]*)
10756 version_type=linux
10757 need_lib_prefix=no
10758 need_version=no
10759 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10760 soname_spec='${libname}${release}${shared_ext}$major'
10761 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10762 shlibpath_var=LD_LIBRARY_PATH
10763 shlibpath_overrides_runpath=no
10764 hardcode_into_libs=yes
10765 ;;
10766
10767 irix5* | irix6* | nonstopux*)
10768 case $host_os in
10769 nonstopux*) version_type=nonstopux ;;
10770 *)
10771 if test "$lt_cv_prog_gnu_ld" = yes; then
10772 version_type=linux
10773 else
10774 version_type=irix
10775 fi ;;
10776 esac
10777 need_lib_prefix=no
10778 need_version=no
10779 soname_spec='${libname}${release}${shared_ext}$major'
10780 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10781 case $host_os in
10782 irix5* | nonstopux*)
10783 libsuff= shlibsuff=
10784 ;;
10785 *)
10786 case $LD in # libtool.m4 will add one of these switches to LD
10787 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10788 libsuff= shlibsuff= libmagic=32-bit;;
10789 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10790 libsuff=32 shlibsuff=N32 libmagic=N32;;
10791 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10792 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10793 *) libsuff= shlibsuff= libmagic=never-match;;
10794 esac
10795 ;;
10796 esac
10797 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10798 shlibpath_overrides_runpath=no
10799 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10800 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10801 hardcode_into_libs=yes
10802 ;;
10803
10804 # No shared lib support for Linux oldld, aout, or coff.
10805 linux*oldld* | linux*aout* | linux*coff*)
10806 dynamic_linker=no
10807 ;;
10808
10809 # This must be Linux ELF.
10810 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10811 version_type=linux
10812 need_lib_prefix=no
10813 need_version=no
10814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10815 soname_spec='${libname}${release}${shared_ext}$major'
10816 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10817 shlibpath_var=LD_LIBRARY_PATH
10818 shlibpath_overrides_runpath=no
10819
10820 # Some binutils ld are patched to set DT_RUNPATH
10821 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10822 $as_echo_n "(cached) " >&6
10823 else
10824 lt_cv_shlibpath_overrides_runpath=no
10825 save_LDFLAGS=$LDFLAGS
10826 save_libdir=$libdir
10827 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10828 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10829 if test x$gcc_no_link = xyes; then
10830 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10831 fi
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10834
10835 int
10836 main ()
10837 {
10838
10839 ;
10840 return 0;
10841 }
10842 _ACEOF
10843 if ac_fn_c_try_link "$LINENO"; then :
10844 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10845 lt_cv_shlibpath_overrides_runpath=yes
10846 fi
10847 fi
10848 rm -f core conftest.err conftest.$ac_objext \
10849 conftest$ac_exeext conftest.$ac_ext
10850 LDFLAGS=$save_LDFLAGS
10851 libdir=$save_libdir
10852
10853 fi
10854
10855 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10856
10857 # This implies no fast_install, which is unacceptable.
10858 # Some rework will be needed to allow for fast_install
10859 # before this can be enabled.
10860 hardcode_into_libs=yes
10861
10862 # Append ld.so.conf contents to the search path
10863 if test -f /etc/ld.so.conf; then
10864 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' ' '`
10865 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10866 fi
10867
10868 # We used to test for /lib/ld.so.1 and disable shared libraries on
10869 # powerpc, because MkLinux only supported shared libraries with the
10870 # GNU dynamic linker. Since this was broken with cross compilers,
10871 # most powerpc-linux boxes support dynamic linking these days and
10872 # people can always --disable-shared, the test was removed, and we
10873 # assume the GNU/Linux dynamic linker is in use.
10874 dynamic_linker='GNU/Linux ld.so'
10875 ;;
10876
10877 netbsd*)
10878 version_type=sunos
10879 need_lib_prefix=no
10880 need_version=no
10881 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10883 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10884 dynamic_linker='NetBSD (a.out) ld.so'
10885 else
10886 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10887 soname_spec='${libname}${release}${shared_ext}$major'
10888 dynamic_linker='NetBSD ld.elf_so'
10889 fi
10890 shlibpath_var=LD_LIBRARY_PATH
10891 shlibpath_overrides_runpath=yes
10892 hardcode_into_libs=yes
10893 ;;
10894
10895 newsos6)
10896 version_type=linux
10897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10898 shlibpath_var=LD_LIBRARY_PATH
10899 shlibpath_overrides_runpath=yes
10900 ;;
10901
10902 *nto* | *qnx*)
10903 version_type=qnx
10904 need_lib_prefix=no
10905 need_version=no
10906 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10907 soname_spec='${libname}${release}${shared_ext}$major'
10908 shlibpath_var=LD_LIBRARY_PATH
10909 shlibpath_overrides_runpath=no
10910 hardcode_into_libs=yes
10911 dynamic_linker='ldqnx.so'
10912 ;;
10913
10914 openbsd*)
10915 version_type=sunos
10916 sys_lib_dlsearch_path_spec="/usr/lib"
10917 need_lib_prefix=no
10918 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10919 case $host_os in
10920 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10921 *) need_version=no ;;
10922 esac
10923 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10924 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10925 shlibpath_var=LD_LIBRARY_PATH
10926 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10927 case $host_os in
10928 openbsd2.[89] | openbsd2.[89].*)
10929 shlibpath_overrides_runpath=no
10930 ;;
10931 *)
10932 shlibpath_overrides_runpath=yes
10933 ;;
10934 esac
10935 else
10936 shlibpath_overrides_runpath=yes
10937 fi
10938 ;;
10939
10940 os2*)
10941 libname_spec='$name'
10942 shrext_cmds=".dll"
10943 need_lib_prefix=no
10944 library_names_spec='$libname${shared_ext} $libname.a'
10945 dynamic_linker='OS/2 ld.exe'
10946 shlibpath_var=LIBPATH
10947 ;;
10948
10949 osf3* | osf4* | osf5*)
10950 version_type=osf
10951 need_lib_prefix=no
10952 need_version=no
10953 soname_spec='${libname}${release}${shared_ext}$major'
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10955 shlibpath_var=LD_LIBRARY_PATH
10956 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10957 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10958 ;;
10959
10960 rdos*)
10961 dynamic_linker=no
10962 ;;
10963
10964 solaris*)
10965 version_type=linux
10966 need_lib_prefix=no
10967 need_version=no
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes
10972 hardcode_into_libs=yes
10973 # ldd complains unless libraries are executable
10974 postinstall_cmds='chmod +x $lib'
10975 ;;
10976
10977 sunos4*)
10978 version_type=sunos
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10980 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10981 shlibpath_var=LD_LIBRARY_PATH
10982 shlibpath_overrides_runpath=yes
10983 if test "$with_gnu_ld" = yes; then
10984 need_lib_prefix=no
10985 fi
10986 need_version=yes
10987 ;;
10988
10989 sysv4 | sysv4.3*)
10990 version_type=linux
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992 soname_spec='${libname}${release}${shared_ext}$major'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 case $host_vendor in
10995 sni)
10996 shlibpath_overrides_runpath=no
10997 need_lib_prefix=no
10998 runpath_var=LD_RUN_PATH
10999 ;;
11000 siemens)
11001 need_lib_prefix=no
11002 ;;
11003 motorola)
11004 need_lib_prefix=no
11005 need_version=no
11006 shlibpath_overrides_runpath=no
11007 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11008 ;;
11009 esac
11010 ;;
11011
11012 sysv4*MP*)
11013 if test -d /usr/nec ;then
11014 version_type=linux
11015 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11016 soname_spec='$libname${shared_ext}.$major'
11017 shlibpath_var=LD_LIBRARY_PATH
11018 fi
11019 ;;
11020
11021 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11022 version_type=freebsd-elf
11023 need_lib_prefix=no
11024 need_version=no
11025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11026 soname_spec='${libname}${release}${shared_ext}$major'
11027 shlibpath_var=LD_LIBRARY_PATH
11028 shlibpath_overrides_runpath=yes
11029 hardcode_into_libs=yes
11030 if test "$with_gnu_ld" = yes; then
11031 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11032 else
11033 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11034 case $host_os in
11035 sco3.2v5*)
11036 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11037 ;;
11038 esac
11039 fi
11040 sys_lib_dlsearch_path_spec='/usr/lib'
11041 ;;
11042
11043 tpf*)
11044 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11045 version_type=linux
11046 need_lib_prefix=no
11047 need_version=no
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 shlibpath_var=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath=no
11051 hardcode_into_libs=yes
11052 ;;
11053
11054 uts4*)
11055 version_type=linux
11056 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11057 soname_spec='${libname}${release}${shared_ext}$major'
11058 shlibpath_var=LD_LIBRARY_PATH
11059 ;;
11060
11061 *)
11062 dynamic_linker=no
11063 ;;
11064 esac
11065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11066 $as_echo "$dynamic_linker" >&6; }
11067 test "$dynamic_linker" = no && can_build_shared=no
11068
11069 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11070 if test "$GCC" = yes; then
11071 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11072 fi
11073
11074 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11075 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11076 fi
11077 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11078 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11079 fi
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
11172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11173 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11174 hardcode_action=
11175 if test -n "$hardcode_libdir_flag_spec" ||
11176 test -n "$runpath_var" ||
11177 test "X$hardcode_automatic" = "Xyes" ; then
11178
11179 # We can hardcode non-existent directories.
11180 if test "$hardcode_direct" != no &&
11181 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11182 # have to relink, otherwise we might link with an installed library
11183 # when we should be linking with a yet-to-be-installed one
11184 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11185 test "$hardcode_minus_L" != no; then
11186 # Linking always hardcodes the temporary library directory.
11187 hardcode_action=relink
11188 else
11189 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11190 hardcode_action=immediate
11191 fi
11192 else
11193 # We cannot hardcode anything, or else we can only hardcode existing
11194 # directories.
11195 hardcode_action=unsupported
11196 fi
11197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11198 $as_echo "$hardcode_action" >&6; }
11199
11200 if test "$hardcode_action" = relink ||
11201 test "$inherit_rpath" = yes; then
11202 # Fast installation is not supported
11203 enable_fast_install=no
11204 elif test "$shlibpath_overrides_runpath" = yes ||
11205 test "$enable_shared" = no; then
11206 # Fast installation is not necessary
11207 enable_fast_install=needless
11208 fi
11209
11210
11211
11212
11213
11214
11215 if test "x$enable_dlopen" != xyes; then
11216 enable_dlopen=unknown
11217 enable_dlopen_self=unknown
11218 enable_dlopen_self_static=unknown
11219 else
11220 lt_cv_dlopen=no
11221 lt_cv_dlopen_libs=
11222
11223 case $host_os in
11224 beos*)
11225 lt_cv_dlopen="load_add_on"
11226 lt_cv_dlopen_libs=
11227 lt_cv_dlopen_self=yes
11228 ;;
11229
11230 mingw* | pw32* | cegcc*)
11231 lt_cv_dlopen="LoadLibrary"
11232 lt_cv_dlopen_libs=
11233 ;;
11234
11235 cygwin*)
11236 lt_cv_dlopen="dlopen"
11237 lt_cv_dlopen_libs=
11238 ;;
11239
11240 darwin*)
11241 # if libdl is installed we need to link against it
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11243 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11244 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11245 $as_echo_n "(cached) " >&6
11246 else
11247 ac_check_lib_save_LIBS=$LIBS
11248 LIBS="-ldl $LIBS"
11249 if test x$gcc_no_link = xyes; then
11250 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11251 fi
11252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11253 /* end confdefs.h. */
11254
11255 /* Override any GCC internal prototype to avoid an error.
11256 Use char because int might match the return type of a GCC
11257 builtin and then its argument prototype would still apply. */
11258 #ifdef __cplusplus
11259 extern "C"
11260 #endif
11261 char dlopen ();
11262 int
11263 main ()
11264 {
11265 return dlopen ();
11266 ;
11267 return 0;
11268 }
11269 _ACEOF
11270 if ac_fn_c_try_link "$LINENO"; then :
11271 ac_cv_lib_dl_dlopen=yes
11272 else
11273 ac_cv_lib_dl_dlopen=no
11274 fi
11275 rm -f core conftest.err conftest.$ac_objext \
11276 conftest$ac_exeext conftest.$ac_ext
11277 LIBS=$ac_check_lib_save_LIBS
11278 fi
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11280 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11281 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11282 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11283 else
11284
11285 lt_cv_dlopen="dyld"
11286 lt_cv_dlopen_libs=
11287 lt_cv_dlopen_self=yes
11288
11289 fi
11290
11291 ;;
11292
11293 *)
11294 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11295 if test "x$ac_cv_func_shl_load" = x""yes; then :
11296 lt_cv_dlopen="shl_load"
11297 else
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11299 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11300 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11301 $as_echo_n "(cached) " >&6
11302 else
11303 ac_check_lib_save_LIBS=$LIBS
11304 LIBS="-ldld $LIBS"
11305 if test x$gcc_no_link = xyes; then
11306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11307 fi
11308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11309 /* end confdefs.h. */
11310
11311 /* Override any GCC internal prototype to avoid an error.
11312 Use char because int might match the return type of a GCC
11313 builtin and then its argument prototype would still apply. */
11314 #ifdef __cplusplus
11315 extern "C"
11316 #endif
11317 char shl_load ();
11318 int
11319 main ()
11320 {
11321 return shl_load ();
11322 ;
11323 return 0;
11324 }
11325 _ACEOF
11326 if ac_fn_c_try_link "$LINENO"; then :
11327 ac_cv_lib_dld_shl_load=yes
11328 else
11329 ac_cv_lib_dld_shl_load=no
11330 fi
11331 rm -f core conftest.err conftest.$ac_objext \
11332 conftest$ac_exeext conftest.$ac_ext
11333 LIBS=$ac_check_lib_save_LIBS
11334 fi
11335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11336 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11337 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11338 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11339 else
11340 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11341 if test "x$ac_cv_func_dlopen" = x""yes; then :
11342 lt_cv_dlopen="dlopen"
11343 else
11344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11345 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11346 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11347 $as_echo_n "(cached) " >&6
11348 else
11349 ac_check_lib_save_LIBS=$LIBS
11350 LIBS="-ldl $LIBS"
11351 if test x$gcc_no_link = xyes; then
11352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11353 fi
11354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11355 /* end confdefs.h. */
11356
11357 /* Override any GCC internal prototype to avoid an error.
11358 Use char because int might match the return type of a GCC
11359 builtin and then its argument prototype would still apply. */
11360 #ifdef __cplusplus
11361 extern "C"
11362 #endif
11363 char dlopen ();
11364 int
11365 main ()
11366 {
11367 return dlopen ();
11368 ;
11369 return 0;
11370 }
11371 _ACEOF
11372 if ac_fn_c_try_link "$LINENO"; then :
11373 ac_cv_lib_dl_dlopen=yes
11374 else
11375 ac_cv_lib_dl_dlopen=no
11376 fi
11377 rm -f core conftest.err conftest.$ac_objext \
11378 conftest$ac_exeext conftest.$ac_ext
11379 LIBS=$ac_check_lib_save_LIBS
11380 fi
11381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11382 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11383 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11384 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11385 else
11386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11387 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11388 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11389 $as_echo_n "(cached) " >&6
11390 else
11391 ac_check_lib_save_LIBS=$LIBS
11392 LIBS="-lsvld $LIBS"
11393 if test x$gcc_no_link = xyes; then
11394 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11395 fi
11396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11397 /* end confdefs.h. */
11398
11399 /* Override any GCC internal prototype to avoid an error.
11400 Use char because int might match the return type of a GCC
11401 builtin and then its argument prototype would still apply. */
11402 #ifdef __cplusplus
11403 extern "C"
11404 #endif
11405 char dlopen ();
11406 int
11407 main ()
11408 {
11409 return dlopen ();
11410 ;
11411 return 0;
11412 }
11413 _ACEOF
11414 if ac_fn_c_try_link "$LINENO"; then :
11415 ac_cv_lib_svld_dlopen=yes
11416 else
11417 ac_cv_lib_svld_dlopen=no
11418 fi
11419 rm -f core conftest.err conftest.$ac_objext \
11420 conftest$ac_exeext conftest.$ac_ext
11421 LIBS=$ac_check_lib_save_LIBS
11422 fi
11423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11424 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11425 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11426 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11427 else
11428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11429 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11430 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11431 $as_echo_n "(cached) " >&6
11432 else
11433 ac_check_lib_save_LIBS=$LIBS
11434 LIBS="-ldld $LIBS"
11435 if test x$gcc_no_link = xyes; then
11436 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11437 fi
11438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11439 /* end confdefs.h. */
11440
11441 /* Override any GCC internal prototype to avoid an error.
11442 Use char because int might match the return type of a GCC
11443 builtin and then its argument prototype would still apply. */
11444 #ifdef __cplusplus
11445 extern "C"
11446 #endif
11447 char dld_link ();
11448 int
11449 main ()
11450 {
11451 return dld_link ();
11452 ;
11453 return 0;
11454 }
11455 _ACEOF
11456 if ac_fn_c_try_link "$LINENO"; then :
11457 ac_cv_lib_dld_dld_link=yes
11458 else
11459 ac_cv_lib_dld_dld_link=no
11460 fi
11461 rm -f core conftest.err conftest.$ac_objext \
11462 conftest$ac_exeext conftest.$ac_ext
11463 LIBS=$ac_check_lib_save_LIBS
11464 fi
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11466 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11467 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11468 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11469 fi
11470
11471
11472 fi
11473
11474
11475 fi
11476
11477
11478 fi
11479
11480
11481 fi
11482
11483
11484 fi
11485
11486 ;;
11487 esac
11488
11489 if test "x$lt_cv_dlopen" != xno; then
11490 enable_dlopen=yes
11491 else
11492 enable_dlopen=no
11493 fi
11494
11495 case $lt_cv_dlopen in
11496 dlopen)
11497 save_CPPFLAGS="$CPPFLAGS"
11498 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11499
11500 save_LDFLAGS="$LDFLAGS"
11501 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11502
11503 save_LIBS="$LIBS"
11504 LIBS="$lt_cv_dlopen_libs $LIBS"
11505
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11507 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11508 if test "${lt_cv_dlopen_self+set}" = set; then :
11509 $as_echo_n "(cached) " >&6
11510 else
11511 if test "$cross_compiling" = yes; then :
11512 lt_cv_dlopen_self=cross
11513 else
11514 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11515 lt_status=$lt_dlunknown
11516 cat > conftest.$ac_ext <<_LT_EOF
11517 #line 11517 "configure"
11518 #include "confdefs.h"
11519
11520 #if HAVE_DLFCN_H
11521 #include <dlfcn.h>
11522 #endif
11523
11524 #include <stdio.h>
11525
11526 #ifdef RTLD_GLOBAL
11527 # define LT_DLGLOBAL RTLD_GLOBAL
11528 #else
11529 # ifdef DL_GLOBAL
11530 # define LT_DLGLOBAL DL_GLOBAL
11531 # else
11532 # define LT_DLGLOBAL 0
11533 # endif
11534 #endif
11535
11536 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11537 find out it does not work in some platform. */
11538 #ifndef LT_DLLAZY_OR_NOW
11539 # ifdef RTLD_LAZY
11540 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11541 # else
11542 # ifdef DL_LAZY
11543 # define LT_DLLAZY_OR_NOW DL_LAZY
11544 # else
11545 # ifdef RTLD_NOW
11546 # define LT_DLLAZY_OR_NOW RTLD_NOW
11547 # else
11548 # ifdef DL_NOW
11549 # define LT_DLLAZY_OR_NOW DL_NOW
11550 # else
11551 # define LT_DLLAZY_OR_NOW 0
11552 # endif
11553 # endif
11554 # endif
11555 # endif
11556 #endif
11557
11558 /* When -fvisbility=hidden is used, assume the code has been annotated
11559 correspondingly for the symbols needed. */
11560 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11561 void fnord () __attribute__((visibility("default")));
11562 #endif
11563
11564 void fnord () { int i=42; }
11565 int main ()
11566 {
11567 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11568 int status = $lt_dlunknown;
11569
11570 if (self)
11571 {
11572 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11573 else
11574 {
11575 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11576 else puts (dlerror ());
11577 }
11578 /* dlclose (self); */
11579 }
11580 else
11581 puts (dlerror ());
11582
11583 return status;
11584 }
11585 _LT_EOF
11586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11587 (eval $ac_link) 2>&5
11588 ac_status=$?
11589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11590 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11591 (./conftest; exit; ) >&5 2>/dev/null
11592 lt_status=$?
11593 case x$lt_status in
11594 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11595 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11596 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11597 esac
11598 else :
11599 # compilation failed
11600 lt_cv_dlopen_self=no
11601 fi
11602 fi
11603 rm -fr conftest*
11604
11605
11606 fi
11607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11608 $as_echo "$lt_cv_dlopen_self" >&6; }
11609
11610 if test "x$lt_cv_dlopen_self" = xyes; then
11611 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11613 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11614 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11615 $as_echo_n "(cached) " >&6
11616 else
11617 if test "$cross_compiling" = yes; then :
11618 lt_cv_dlopen_self_static=cross
11619 else
11620 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11621 lt_status=$lt_dlunknown
11622 cat > conftest.$ac_ext <<_LT_EOF
11623 #line 11623 "configure"
11624 #include "confdefs.h"
11625
11626 #if HAVE_DLFCN_H
11627 #include <dlfcn.h>
11628 #endif
11629
11630 #include <stdio.h>
11631
11632 #ifdef RTLD_GLOBAL
11633 # define LT_DLGLOBAL RTLD_GLOBAL
11634 #else
11635 # ifdef DL_GLOBAL
11636 # define LT_DLGLOBAL DL_GLOBAL
11637 # else
11638 # define LT_DLGLOBAL 0
11639 # endif
11640 #endif
11641
11642 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11643 find out it does not work in some platform. */
11644 #ifndef LT_DLLAZY_OR_NOW
11645 # ifdef RTLD_LAZY
11646 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11647 # else
11648 # ifdef DL_LAZY
11649 # define LT_DLLAZY_OR_NOW DL_LAZY
11650 # else
11651 # ifdef RTLD_NOW
11652 # define LT_DLLAZY_OR_NOW RTLD_NOW
11653 # else
11654 # ifdef DL_NOW
11655 # define LT_DLLAZY_OR_NOW DL_NOW
11656 # else
11657 # define LT_DLLAZY_OR_NOW 0
11658 # endif
11659 # endif
11660 # endif
11661 # endif
11662 #endif
11663
11664 /* When -fvisbility=hidden is used, assume the code has been annotated
11665 correspondingly for the symbols needed. */
11666 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11667 void fnord () __attribute__((visibility("default")));
11668 #endif
11669
11670 void fnord () { int i=42; }
11671 int main ()
11672 {
11673 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11674 int status = $lt_dlunknown;
11675
11676 if (self)
11677 {
11678 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11679 else
11680 {
11681 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11682 else puts (dlerror ());
11683 }
11684 /* dlclose (self); */
11685 }
11686 else
11687 puts (dlerror ());
11688
11689 return status;
11690 }
11691 _LT_EOF
11692 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11693 (eval $ac_link) 2>&5
11694 ac_status=$?
11695 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11696 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11697 (./conftest; exit; ) >&5 2>/dev/null
11698 lt_status=$?
11699 case x$lt_status in
11700 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11701 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11702 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11703 esac
11704 else :
11705 # compilation failed
11706 lt_cv_dlopen_self_static=no
11707 fi
11708 fi
11709 rm -fr conftest*
11710
11711
11712 fi
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11714 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11715 fi
11716
11717 CPPFLAGS="$save_CPPFLAGS"
11718 LDFLAGS="$save_LDFLAGS"
11719 LIBS="$save_LIBS"
11720 ;;
11721 esac
11722
11723 case $lt_cv_dlopen_self in
11724 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11725 *) enable_dlopen_self=unknown ;;
11726 esac
11727
11728 case $lt_cv_dlopen_self_static in
11729 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11730 *) enable_dlopen_self_static=unknown ;;
11731 esac
11732 fi
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750 striplib=
11751 old_striplib=
11752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11753 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11754 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11755 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11756 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11758 $as_echo "yes" >&6; }
11759 else
11760 # FIXME - insert some real tests, host_os isn't really good enough
11761 case $host_os in
11762 darwin*)
11763 if test -n "$STRIP" ; then
11764 striplib="$STRIP -x"
11765 old_striplib="$STRIP -S"
11766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11767 $as_echo "yes" >&6; }
11768 else
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11770 $as_echo "no" >&6; }
11771 fi
11772 ;;
11773 *)
11774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11775 $as_echo "no" >&6; }
11776 ;;
11777 esac
11778 fi
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788
11789
11790
11791 # Report which library types will actually be built
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11793 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11795 $as_echo "$can_build_shared" >&6; }
11796
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11798 $as_echo_n "checking whether to build shared libraries... " >&6; }
11799 test "$can_build_shared" = "no" && enable_shared=no
11800
11801 # On AIX, shared libraries and static libraries use the same namespace, and
11802 # are all built from PIC.
11803 case $host_os in
11804 aix3*)
11805 test "$enable_shared" = yes && enable_static=no
11806 if test -n "$RANLIB"; then
11807 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11808 postinstall_cmds='$RANLIB $lib'
11809 fi
11810 ;;
11811
11812 aix[4-9]*)
11813 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11814 test "$enable_shared" = yes && enable_static=no
11815 fi
11816 ;;
11817 esac
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11819 $as_echo "$enable_shared" >&6; }
11820
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11822 $as_echo_n "checking whether to build static libraries... " >&6; }
11823 # Make sure either enable_shared or enable_static is yes.
11824 test "$enable_shared" = yes || enable_static=yes
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11826 $as_echo "$enable_static" >&6; }
11827
11828
11829
11830
11831 fi
11832 ac_ext=c
11833 ac_cpp='$CPP $CPPFLAGS'
11834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11837
11838 CC="$lt_save_CC"
11839
11840 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11841 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11842 (test "X$CXX" != "Xg++"))) ; then
11843 ac_ext=cpp
11844 ac_cpp='$CXXCPP $CPPFLAGS'
11845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11849 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11850 if test -z "$CXXCPP"; then
11851 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11852 $as_echo_n "(cached) " >&6
11853 else
11854 # Double quotes because CXXCPP needs to be expanded
11855 for CXXCPP in "$CXX -E" "/lib/cpp"
11856 do
11857 ac_preproc_ok=false
11858 for ac_cxx_preproc_warn_flag in '' yes
11859 do
11860 # Use a header file that comes with gcc, so configuring glibc
11861 # with a fresh cross-compiler works.
11862 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11863 # <limits.h> exists even on freestanding compilers.
11864 # On the NeXT, cc -E runs the code through the compiler's parser,
11865 # not just through cpp. "Syntax error" is here to catch this case.
11866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11868 #ifdef __STDC__
11869 # include <limits.h>
11870 #else
11871 # include <assert.h>
11872 #endif
11873 Syntax error
11874 _ACEOF
11875 if ac_fn_cxx_try_cpp "$LINENO"; then :
11876
11877 else
11878 # Broken: fails on valid input.
11879 continue
11880 fi
11881 rm -f conftest.err conftest.$ac_ext
11882
11883 # OK, works on sane cases. Now check whether nonexistent headers
11884 # can be detected and how.
11885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11886 /* end confdefs.h. */
11887 #include <ac_nonexistent.h>
11888 _ACEOF
11889 if ac_fn_cxx_try_cpp "$LINENO"; then :
11890 # Broken: success on invalid input.
11891 continue
11892 else
11893 # Passes both tests.
11894 ac_preproc_ok=:
11895 break
11896 fi
11897 rm -f conftest.err conftest.$ac_ext
11898
11899 done
11900 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11901 rm -f conftest.err conftest.$ac_ext
11902 if $ac_preproc_ok; then :
11903 break
11904 fi
11905
11906 done
11907 ac_cv_prog_CXXCPP=$CXXCPP
11908
11909 fi
11910 CXXCPP=$ac_cv_prog_CXXCPP
11911 else
11912 ac_cv_prog_CXXCPP=$CXXCPP
11913 fi
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11915 $as_echo "$CXXCPP" >&6; }
11916 ac_preproc_ok=false
11917 for ac_cxx_preproc_warn_flag in '' yes
11918 do
11919 # Use a header file that comes with gcc, so configuring glibc
11920 # with a fresh cross-compiler works.
11921 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11922 # <limits.h> exists even on freestanding compilers.
11923 # On the NeXT, cc -E runs the code through the compiler's parser,
11924 # not just through cpp. "Syntax error" is here to catch this case.
11925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11926 /* end confdefs.h. */
11927 #ifdef __STDC__
11928 # include <limits.h>
11929 #else
11930 # include <assert.h>
11931 #endif
11932 Syntax error
11933 _ACEOF
11934 if ac_fn_cxx_try_cpp "$LINENO"; then :
11935
11936 else
11937 # Broken: fails on valid input.
11938 continue
11939 fi
11940 rm -f conftest.err conftest.$ac_ext
11941
11942 # OK, works on sane cases. Now check whether nonexistent headers
11943 # can be detected and how.
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11946 #include <ac_nonexistent.h>
11947 _ACEOF
11948 if ac_fn_cxx_try_cpp "$LINENO"; then :
11949 # Broken: success on invalid input.
11950 continue
11951 else
11952 # Passes both tests.
11953 ac_preproc_ok=:
11954 break
11955 fi
11956 rm -f conftest.err conftest.$ac_ext
11957
11958 done
11959 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11960 rm -f conftest.err conftest.$ac_ext
11961 if $ac_preproc_ok; then :
11962
11963 else
11964 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11966 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11967 See \`config.log' for more details." "$LINENO" 5; }
11968 fi
11969
11970 ac_ext=c
11971 ac_cpp='$CPP $CPPFLAGS'
11972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11975
11976 else
11977 _lt_caught_CXX_error=yes
11978 fi
11979
11980 ac_ext=cpp
11981 ac_cpp='$CXXCPP $CPPFLAGS'
11982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11985
11986 archive_cmds_need_lc_CXX=no
11987 allow_undefined_flag_CXX=
11988 always_export_symbols_CXX=no
11989 archive_expsym_cmds_CXX=
11990 compiler_needs_object_CXX=no
11991 export_dynamic_flag_spec_CXX=
11992 hardcode_direct_CXX=no
11993 hardcode_direct_absolute_CXX=no
11994 hardcode_libdir_flag_spec_CXX=
11995 hardcode_libdir_flag_spec_ld_CXX=
11996 hardcode_libdir_separator_CXX=
11997 hardcode_minus_L_CXX=no
11998 hardcode_shlibpath_var_CXX=unsupported
11999 hardcode_automatic_CXX=no
12000 inherit_rpath_CXX=no
12001 module_cmds_CXX=
12002 module_expsym_cmds_CXX=
12003 link_all_deplibs_CXX=unknown
12004 old_archive_cmds_CXX=$old_archive_cmds
12005 reload_flag_CXX=$reload_flag
12006 reload_cmds_CXX=$reload_cmds
12007 no_undefined_flag_CXX=
12008 whole_archive_flag_spec_CXX=
12009 enable_shared_with_static_runtimes_CXX=no
12010
12011 # Source file extension for C++ test sources.
12012 ac_ext=cpp
12013
12014 # Object file extension for compiled C++ test sources.
12015 objext=o
12016 objext_CXX=$objext
12017
12018 # No sense in running all these tests if we already determined that
12019 # the CXX compiler isn't working. Some variables (like enable_shared)
12020 # are currently assumed to apply to all compilers on this platform,
12021 # and will be corrupted by setting them based on a non-working compiler.
12022 if test "$_lt_caught_CXX_error" != yes; then
12023 # Code to be used in simple compile tests
12024 lt_simple_compile_test_code="int some_variable = 0;"
12025
12026 # Code to be used in simple link tests
12027 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12028
12029 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12030
12031
12032
12033
12034
12035
12036 # If no C compiler was specified, use CC.
12037 LTCC=${LTCC-"$CC"}
12038
12039 # If no C compiler flags were specified, use CFLAGS.
12040 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12041
12042 # Allow CC to be a program name with arguments.
12043 compiler=$CC
12044
12045
12046 # save warnings/boilerplate of simple test code
12047 ac_outfile=conftest.$ac_objext
12048 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12049 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12050 _lt_compiler_boilerplate=`cat conftest.err`
12051 $RM conftest*
12052
12053 ac_outfile=conftest.$ac_objext
12054 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12055 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12056 _lt_linker_boilerplate=`cat conftest.err`
12057 $RM -r conftest*
12058
12059
12060 # Allow CC to be a program name with arguments.
12061 lt_save_CC=$CC
12062 lt_save_LD=$LD
12063 lt_save_GCC=$GCC
12064 GCC=$GXX
12065 lt_save_with_gnu_ld=$with_gnu_ld
12066 lt_save_path_LD=$lt_cv_path_LD
12067 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12068 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12069 else
12070 $as_unset lt_cv_prog_gnu_ld
12071 fi
12072 if test -n "${lt_cv_path_LDCXX+set}"; then
12073 lt_cv_path_LD=$lt_cv_path_LDCXX
12074 else
12075 $as_unset lt_cv_path_LD
12076 fi
12077 test -z "${LDCXX+set}" || LD=$LDCXX
12078 CC=${CXX-"c++"}
12079 compiler=$CC
12080 compiler_CXX=$CC
12081 for cc_temp in $compiler""; do
12082 case $cc_temp in
12083 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12084 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12085 \-*) ;;
12086 *) break;;
12087 esac
12088 done
12089 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12090
12091
12092 if test -n "$compiler"; then
12093 # We don't want -fno-exception when compiling C++ code, so set the
12094 # no_builtin_flag separately
12095 if test "$GXX" = yes; then
12096 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12097 else
12098 lt_prog_compiler_no_builtin_flag_CXX=
12099 fi
12100
12101 if test "$GXX" = yes; then
12102 # Set up default GNU C++ configuration
12103
12104
12105
12106 # Check whether --with-gnu-ld was given.
12107 if test "${with_gnu_ld+set}" = set; then :
12108 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12109 else
12110 with_gnu_ld=no
12111 fi
12112
12113 ac_prog=ld
12114 if test "$GCC" = yes; then
12115 # Check if gcc -print-prog-name=ld gives a path.
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12117 $as_echo_n "checking for ld used by $CC... " >&6; }
12118 case $host in
12119 *-*-mingw*)
12120 # gcc leaves a trailing carriage return which upsets mingw
12121 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12122 *)
12123 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12124 esac
12125 case $ac_prog in
12126 # Accept absolute paths.
12127 [\\/]* | ?:[\\/]*)
12128 re_direlt='/[^/][^/]*/\.\./'
12129 # Canonicalize the pathname of ld
12130 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12131 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12132 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12133 done
12134 test -z "$LD" && LD="$ac_prog"
12135 ;;
12136 "")
12137 # If it fails, then pretend we aren't using GCC.
12138 ac_prog=ld
12139 ;;
12140 *)
12141 # If it is relative, then search for the first ld in PATH.
12142 with_gnu_ld=unknown
12143 ;;
12144 esac
12145 elif test "$with_gnu_ld" = yes; then
12146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12147 $as_echo_n "checking for GNU ld... " >&6; }
12148 else
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12150 $as_echo_n "checking for non-GNU ld... " >&6; }
12151 fi
12152 if test "${lt_cv_path_LD+set}" = set; then :
12153 $as_echo_n "(cached) " >&6
12154 else
12155 if test -z "$LD"; then
12156 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12157 for ac_dir in $PATH; do
12158 IFS="$lt_save_ifs"
12159 test -z "$ac_dir" && ac_dir=.
12160 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12161 lt_cv_path_LD="$ac_dir/$ac_prog"
12162 # Check to see if the program is GNU ld. I'd rather use --version,
12163 # but apparently some variants of GNU ld only accept -v.
12164 # Break only if it was the GNU/non-GNU ld that we prefer.
12165 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12166 *GNU* | *'with BFD'*)
12167 test "$with_gnu_ld" != no && break
12168 ;;
12169 *)
12170 test "$with_gnu_ld" != yes && break
12171 ;;
12172 esac
12173 fi
12174 done
12175 IFS="$lt_save_ifs"
12176 else
12177 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12178 fi
12179 fi
12180
12181 LD="$lt_cv_path_LD"
12182 if test -n "$LD"; then
12183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12184 $as_echo "$LD" >&6; }
12185 else
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12187 $as_echo "no" >&6; }
12188 fi
12189 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12191 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12192 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12193 $as_echo_n "(cached) " >&6
12194 else
12195 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12196 case `$LD -v 2>&1 </dev/null` in
12197 *GNU* | *'with BFD'*)
12198 lt_cv_prog_gnu_ld=yes
12199 ;;
12200 *)
12201 lt_cv_prog_gnu_ld=no
12202 ;;
12203 esac
12204 fi
12205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12206 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12207 with_gnu_ld=$lt_cv_prog_gnu_ld
12208
12209
12210
12211
12212
12213
12214
12215 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12216 # archiving commands below assume that GNU ld is being used.
12217 if test "$with_gnu_ld" = yes; then
12218 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12219 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'
12220
12221 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12222 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12223
12224 # If archive_cmds runs LD, not CC, wlarc should be empty
12225 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12226 # investigate it a little bit more. (MM)
12227 wlarc='${wl}'
12228
12229 # ancient GNU ld didn't support --whole-archive et. al.
12230 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12231 $GREP 'no-whole-archive' > /dev/null; then
12232 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12233 else
12234 whole_archive_flag_spec_CXX=
12235 fi
12236 else
12237 with_gnu_ld=no
12238 wlarc=
12239
12240 # A generic and very simple default shared library creation
12241 # command for GNU C++ for the case where it uses the native
12242 # linker, instead of GNU ld. If possible, this setting should
12243 # overridden to take advantage of the native linker features on
12244 # the platform it is being used on.
12245 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12246 fi
12247
12248 # Commands to make compiler produce verbose output that lists
12249 # what "hidden" libraries, object files and flags are used when
12250 # linking a shared library.
12251 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12252
12253 else
12254 GXX=no
12255 with_gnu_ld=no
12256 wlarc=
12257 fi
12258
12259 # PORTME: fill in a description of your system's C++ link characteristics
12260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12261 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12262 ld_shlibs_CXX=yes
12263 case $host_os in
12264 aix3*)
12265 # FIXME: insert proper C++ library support
12266 ld_shlibs_CXX=no
12267 ;;
12268 aix[4-9]*)
12269 if test "$host_cpu" = ia64; then
12270 # On IA64, the linker does run time linking by default, so we don't
12271 # have to do anything special.
12272 aix_use_runtimelinking=no
12273 exp_sym_flag='-Bexport'
12274 no_entry_flag=""
12275 else
12276 aix_use_runtimelinking=no
12277
12278 # Test if we are trying to use run time linking or normal
12279 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12280 # need to do runtime linking.
12281 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12282 for ld_flag in $LDFLAGS; do
12283 case $ld_flag in
12284 *-brtl*)
12285 aix_use_runtimelinking=yes
12286 break
12287 ;;
12288 esac
12289 done
12290 ;;
12291 esac
12292
12293 exp_sym_flag='-bexport'
12294 no_entry_flag='-bnoentry'
12295 fi
12296
12297 # When large executables or shared objects are built, AIX ld can
12298 # have problems creating the table of contents. If linking a library
12299 # or program results in "error TOC overflow" add -mminimal-toc to
12300 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12301 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12302
12303 archive_cmds_CXX=''
12304 hardcode_direct_CXX=yes
12305 hardcode_direct_absolute_CXX=yes
12306 hardcode_libdir_separator_CXX=':'
12307 link_all_deplibs_CXX=yes
12308 file_list_spec_CXX='${wl}-f,'
12309
12310 if test "$GXX" = yes; then
12311 case $host_os in aix4.[012]|aix4.[012].*)
12312 # We only want to do this on AIX 4.2 and lower, the check
12313 # below for broken collect2 doesn't work under 4.3+
12314 collect2name=`${CC} -print-prog-name=collect2`
12315 if test -f "$collect2name" &&
12316 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12317 then
12318 # We have reworked collect2
12319 :
12320 else
12321 # We have old collect2
12322 hardcode_direct_CXX=unsupported
12323 # It fails to find uninstalled libraries when the uninstalled
12324 # path is not listed in the libpath. Setting hardcode_minus_L
12325 # to unsupported forces relinking
12326 hardcode_minus_L_CXX=yes
12327 hardcode_libdir_flag_spec_CXX='-L$libdir'
12328 hardcode_libdir_separator_CXX=
12329 fi
12330 esac
12331 shared_flag='-shared'
12332 if test "$aix_use_runtimelinking" = yes; then
12333 shared_flag="$shared_flag "'${wl}-G'
12334 fi
12335 else
12336 # not using gcc
12337 if test "$host_cpu" = ia64; then
12338 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12339 # chokes on -Wl,-G. The following line is correct:
12340 shared_flag='-G'
12341 else
12342 if test "$aix_use_runtimelinking" = yes; then
12343 shared_flag='${wl}-G'
12344 else
12345 shared_flag='${wl}-bM:SRE'
12346 fi
12347 fi
12348 fi
12349
12350 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12351 # It seems that -bexpall does not export symbols beginning with
12352 # underscore (_), so it is better to generate a list of symbols to
12353 # export.
12354 always_export_symbols_CXX=yes
12355 if test "$aix_use_runtimelinking" = yes; then
12356 # Warning - without using the other runtime loading flags (-brtl),
12357 # -berok will link without error, but may produce a broken library.
12358 allow_undefined_flag_CXX='-berok'
12359 # Determine the default libpath from the value encoded in an empty
12360 # executable.
12361 if test x$gcc_no_link = xyes; then
12362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12363 fi
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12366
12367 int
12368 main ()
12369 {
12370
12371 ;
12372 return 0;
12373 }
12374 _ACEOF
12375 if ac_fn_cxx_try_link "$LINENO"; then :
12376
12377 lt_aix_libpath_sed='
12378 /Import File Strings/,/^$/ {
12379 /^0/ {
12380 s/^0 *\(.*\)$/\1/
12381 p
12382 }
12383 }'
12384 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12385 # Check for a 64-bit object if we didn't find anything.
12386 if test -z "$aix_libpath"; then
12387 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12388 fi
12389 fi
12390 rm -f core conftest.err conftest.$ac_objext \
12391 conftest$ac_exeext conftest.$ac_ext
12392 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12393
12394 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12395
12396 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"
12397 else
12398 if test "$host_cpu" = ia64; then
12399 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12400 allow_undefined_flag_CXX="-z nodefs"
12401 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"
12402 else
12403 # Determine the default libpath from the value encoded in an
12404 # empty executable.
12405 if test x$gcc_no_link = xyes; then
12406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12407 fi
12408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12409 /* end confdefs.h. */
12410
12411 int
12412 main ()
12413 {
12414
12415 ;
12416 return 0;
12417 }
12418 _ACEOF
12419 if ac_fn_cxx_try_link "$LINENO"; then :
12420
12421 lt_aix_libpath_sed='
12422 /Import File Strings/,/^$/ {
12423 /^0/ {
12424 s/^0 *\(.*\)$/\1/
12425 p
12426 }
12427 }'
12428 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12429 # Check for a 64-bit object if we didn't find anything.
12430 if test -z "$aix_libpath"; then
12431 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12432 fi
12433 fi
12434 rm -f core conftest.err conftest.$ac_objext \
12435 conftest$ac_exeext conftest.$ac_ext
12436 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12437
12438 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12439 # Warning - without using the other run time loading flags,
12440 # -berok will link without error, but may produce a broken library.
12441 no_undefined_flag_CXX=' ${wl}-bernotok'
12442 allow_undefined_flag_CXX=' ${wl}-berok'
12443 if test "$with_gnu_ld" = yes; then
12444 # We only use this code for GNU lds that support --whole-archive.
12445 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12446 else
12447 # Exported symbols can be pulled into shared objects from archives
12448 whole_archive_flag_spec_CXX='$convenience'
12449 fi
12450 archive_cmds_need_lc_CXX=yes
12451 # This is similar to how AIX traditionally builds its shared
12452 # libraries.
12453 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'
12454 fi
12455 fi
12456 ;;
12457
12458 beos*)
12459 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12460 allow_undefined_flag_CXX=unsupported
12461 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12462 # support --undefined. This deserves some investigation. FIXME
12463 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12464 else
12465 ld_shlibs_CXX=no
12466 fi
12467 ;;
12468
12469 chorus*)
12470 case $cc_basename in
12471 *)
12472 # FIXME: insert proper C++ library support
12473 ld_shlibs_CXX=no
12474 ;;
12475 esac
12476 ;;
12477
12478 cygwin* | mingw* | pw32* | cegcc*)
12479 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12480 # as there is no search path for DLLs.
12481 hardcode_libdir_flag_spec_CXX='-L$libdir'
12482 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12483 allow_undefined_flag_CXX=unsupported
12484 always_export_symbols_CXX=no
12485 enable_shared_with_static_runtimes_CXX=yes
12486
12487 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12488 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'
12489 # If the export-symbols file already is a .def file (1st line
12490 # is EXPORTS), use it as is; otherwise, prepend...
12491 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12492 cp $export_symbols $output_objdir/$soname.def;
12493 else
12494 echo EXPORTS > $output_objdir/$soname.def;
12495 cat $export_symbols >> $output_objdir/$soname.def;
12496 fi~
12497 $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'
12498 else
12499 ld_shlibs_CXX=no
12500 fi
12501 ;;
12502 darwin* | rhapsody*)
12503
12504
12505 archive_cmds_need_lc_CXX=no
12506 hardcode_direct_CXX=no
12507 hardcode_automatic_CXX=yes
12508 hardcode_shlibpath_var_CXX=unsupported
12509 if test "$lt_cv_ld_force_load" = "yes"; then
12510 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\"`'
12511 else
12512 whole_archive_flag_spec_CXX=''
12513 fi
12514 link_all_deplibs_CXX=yes
12515 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12516 case $cc_basename in
12517 ifort*) _lt_dar_can_shared=yes ;;
12518 *) _lt_dar_can_shared=$GCC ;;
12519 esac
12520 if test "$_lt_dar_can_shared" = "yes"; then
12521 output_verbose_link_cmd=func_echo_all
12522 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}"
12523 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12524 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}"
12525 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}"
12526 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12527 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}"
12528 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}"
12529 fi
12530
12531 else
12532 ld_shlibs_CXX=no
12533 fi
12534
12535 ;;
12536
12537 dgux*)
12538 case $cc_basename in
12539 ec++*)
12540 # FIXME: insert proper C++ library support
12541 ld_shlibs_CXX=no
12542 ;;
12543 ghcx*)
12544 # Green Hills C++ Compiler
12545 # FIXME: insert proper C++ library support
12546 ld_shlibs_CXX=no
12547 ;;
12548 *)
12549 # FIXME: insert proper C++ library support
12550 ld_shlibs_CXX=no
12551 ;;
12552 esac
12553 ;;
12554
12555 freebsd2.*)
12556 # C++ shared libraries reported to be fairly broken before
12557 # switch to ELF
12558 ld_shlibs_CXX=no
12559 ;;
12560
12561 freebsd-elf*)
12562 archive_cmds_need_lc_CXX=no
12563 ;;
12564
12565 freebsd* | dragonfly*)
12566 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12567 # conventions
12568 ld_shlibs_CXX=yes
12569 ;;
12570
12571 gnu*)
12572 ;;
12573
12574 haiku*)
12575 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12576 link_all_deplibs_CXX=yes
12577 ;;
12578
12579 hpux9*)
12580 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12581 hardcode_libdir_separator_CXX=:
12582 export_dynamic_flag_spec_CXX='${wl}-E'
12583 hardcode_direct_CXX=yes
12584 hardcode_minus_L_CXX=yes # Not in the search PATH,
12585 # but as the default
12586 # location of the library.
12587
12588 case $cc_basename in
12589 CC*)
12590 # FIXME: insert proper C++ library support
12591 ld_shlibs_CXX=no
12592 ;;
12593 aCC*)
12594 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'
12595 # Commands to make compiler produce verbose output that lists
12596 # what "hidden" libraries, object files and flags are used when
12597 # linking a shared library.
12598 #
12599 # There doesn't appear to be a way to prevent this compiler from
12600 # explicitly linking system object files so we need to strip them
12601 # from the output so that they don't get included in the library
12602 # dependencies.
12603 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"'
12604 ;;
12605 *)
12606 if test "$GXX" = yes; then
12607 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'
12608 else
12609 # FIXME: insert proper C++ library support
12610 ld_shlibs_CXX=no
12611 fi
12612 ;;
12613 esac
12614 ;;
12615
12616 hpux10*|hpux11*)
12617 if test $with_gnu_ld = no; then
12618 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12619 hardcode_libdir_separator_CXX=:
12620
12621 case $host_cpu in
12622 hppa*64*|ia64*)
12623 ;;
12624 *)
12625 export_dynamic_flag_spec_CXX='${wl}-E'
12626 ;;
12627 esac
12628 fi
12629 case $host_cpu in
12630 hppa*64*|ia64*)
12631 hardcode_direct_CXX=no
12632 hardcode_shlibpath_var_CXX=no
12633 ;;
12634 *)
12635 hardcode_direct_CXX=yes
12636 hardcode_direct_absolute_CXX=yes
12637 hardcode_minus_L_CXX=yes # Not in the search PATH,
12638 # but as the default
12639 # location of the library.
12640 ;;
12641 esac
12642
12643 case $cc_basename in
12644 CC*)
12645 # FIXME: insert proper C++ library support
12646 ld_shlibs_CXX=no
12647 ;;
12648 aCC*)
12649 case $host_cpu in
12650 hppa*64*)
12651 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12652 ;;
12653 ia64*)
12654 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12655 ;;
12656 *)
12657 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12658 ;;
12659 esac
12660 # Commands to make compiler produce verbose output that lists
12661 # what "hidden" libraries, object files and flags are used when
12662 # linking a shared library.
12663 #
12664 # There doesn't appear to be a way to prevent this compiler from
12665 # explicitly linking system object files so we need to strip them
12666 # from the output so that they don't get included in the library
12667 # dependencies.
12668 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"'
12669 ;;
12670 *)
12671 if test "$GXX" = yes; then
12672 if test $with_gnu_ld = no; then
12673 case $host_cpu in
12674 hppa*64*)
12675 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12676 ;;
12677 ia64*)
12678 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12679 ;;
12680 *)
12681 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'
12682 ;;
12683 esac
12684 fi
12685 else
12686 # FIXME: insert proper C++ library support
12687 ld_shlibs_CXX=no
12688 fi
12689 ;;
12690 esac
12691 ;;
12692
12693 interix[3-9]*)
12694 hardcode_direct_CXX=no
12695 hardcode_shlibpath_var_CXX=no
12696 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12697 export_dynamic_flag_spec_CXX='${wl}-E'
12698 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12699 # Instead, shared libraries are loaded at an image base (0x10000000 by
12700 # default) and relocated if they conflict, which is a slow very memory
12701 # consuming and fragmenting process. To avoid this, we pick a random,
12702 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12703 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12704 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'
12705 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'
12706 ;;
12707 irix5* | irix6*)
12708 case $cc_basename in
12709 CC*)
12710 # SGI C++
12711 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'
12712
12713 # Archives containing C++ object files must be created using
12714 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12715 # necessary to make sure instantiated templates are included
12716 # in the archive.
12717 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12718 ;;
12719 *)
12720 if test "$GXX" = yes; then
12721 if test "$with_gnu_ld" = no; then
12722 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'
12723 else
12724 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'
12725 fi
12726 fi
12727 link_all_deplibs_CXX=yes
12728 ;;
12729 esac
12730 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12731 hardcode_libdir_separator_CXX=:
12732 inherit_rpath_CXX=yes
12733 ;;
12734
12735 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12736 case $cc_basename in
12737 KCC*)
12738 # Kuck and Associates, Inc. (KAI) C++ Compiler
12739
12740 # KCC will only create a shared library if the output file
12741 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12742 # to its proper name (with version) after linking.
12743 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'
12744 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'
12745 # Commands to make compiler produce verbose output that lists
12746 # what "hidden" libraries, object files and flags are used when
12747 # linking a shared library.
12748 #
12749 # There doesn't appear to be a way to prevent this compiler from
12750 # explicitly linking system object files so we need to strip them
12751 # from the output so that they don't get included in the library
12752 # dependencies.
12753 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"'
12754
12755 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12756 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12757
12758 # Archives containing C++ object files must be created using
12759 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12760 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12761 ;;
12762 icpc* | ecpc* )
12763 # Intel C++
12764 with_gnu_ld=yes
12765 # version 8.0 and above of icpc choke on multiply defined symbols
12766 # if we add $predep_objects and $postdep_objects, however 7.1 and
12767 # earlier do not add the objects themselves.
12768 case `$CC -V 2>&1` in
12769 *"Version 7."*)
12770 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12771 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'
12772 ;;
12773 *) # Version 8.0 or newer
12774 tmp_idyn=
12775 case $host_cpu in
12776 ia64*) tmp_idyn=' -i_dynamic';;
12777 esac
12778 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12779 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'
12780 ;;
12781 esac
12782 archive_cmds_need_lc_CXX=no
12783 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12784 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12785 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12786 ;;
12787 pgCC* | pgcpp*)
12788 # Portland Group C++ compiler
12789 case `$CC -V` in
12790 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12791 prelink_cmds_CXX='tpldir=Template.dir~
12792 rm -rf $tpldir~
12793 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12794 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12795 old_archive_cmds_CXX='tpldir=Template.dir~
12796 rm -rf $tpldir~
12797 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12798 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12799 $RANLIB $oldlib'
12800 archive_cmds_CXX='tpldir=Template.dir~
12801 rm -rf $tpldir~
12802 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12803 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12804 archive_expsym_cmds_CXX='tpldir=Template.dir~
12805 rm -rf $tpldir~
12806 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12807 $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'
12808 ;;
12809 *) # Version 6 and above use weak symbols
12810 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12811 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'
12812 ;;
12813 esac
12814
12815 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12816 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12817 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'
12818 ;;
12819 cxx*)
12820 # Compaq C++
12821 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12822 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'
12823
12824 runpath_var=LD_RUN_PATH
12825 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12826 hardcode_libdir_separator_CXX=:
12827
12828 # Commands to make compiler produce verbose output that lists
12829 # what "hidden" libraries, object files and flags are used when
12830 # linking a shared library.
12831 #
12832 # There doesn't appear to be a way to prevent this compiler from
12833 # explicitly linking system object files so we need to strip them
12834 # from the output so that they don't get included in the library
12835 # dependencies.
12836 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'
12837 ;;
12838 xl* | mpixl* | bgxl*)
12839 # IBM XL 8.0 on PPC, with GNU ld
12840 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12841 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12842 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12843 if test "x$supports_anon_versioning" = xyes; then
12844 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12845 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12846 echo "local: *; };" >> $output_objdir/$libname.ver~
12847 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12848 fi
12849 ;;
12850 *)
12851 case `$CC -V 2>&1 | sed 5q` in
12852 *Sun\ C*)
12853 # Sun C++ 5.9
12854 no_undefined_flag_CXX=' -zdefs'
12855 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12856 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'
12857 hardcode_libdir_flag_spec_CXX='-R$libdir'
12858 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'
12859 compiler_needs_object_CXX=yes
12860
12861 # Not sure whether something based on
12862 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12863 # would be better.
12864 output_verbose_link_cmd='func_echo_all'
12865
12866 # Archives containing C++ object files must be created using
12867 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12868 # necessary to make sure instantiated templates are included
12869 # in the archive.
12870 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12871 ;;
12872 esac
12873 ;;
12874 esac
12875 ;;
12876
12877 lynxos*)
12878 # FIXME: insert proper C++ library support
12879 ld_shlibs_CXX=no
12880 ;;
12881
12882 m88k*)
12883 # FIXME: insert proper C++ library support
12884 ld_shlibs_CXX=no
12885 ;;
12886
12887 mvs*)
12888 case $cc_basename in
12889 cxx*)
12890 # FIXME: insert proper C++ library support
12891 ld_shlibs_CXX=no
12892 ;;
12893 *)
12894 # FIXME: insert proper C++ library support
12895 ld_shlibs_CXX=no
12896 ;;
12897 esac
12898 ;;
12899
12900 netbsd*)
12901 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12902 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12903 wlarc=
12904 hardcode_libdir_flag_spec_CXX='-R$libdir'
12905 hardcode_direct_CXX=yes
12906 hardcode_shlibpath_var_CXX=no
12907 fi
12908 # Workaround some broken pre-1.5 toolchains
12909 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12910 ;;
12911
12912 *nto* | *qnx*)
12913 ld_shlibs_CXX=yes
12914 ;;
12915
12916 openbsd2*)
12917 # C++ shared libraries are fairly broken
12918 ld_shlibs_CXX=no
12919 ;;
12920
12921 openbsd*)
12922 if test -f /usr/libexec/ld.so; then
12923 hardcode_direct_CXX=yes
12924 hardcode_shlibpath_var_CXX=no
12925 hardcode_direct_absolute_CXX=yes
12926 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12927 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12928 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12929 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12930 export_dynamic_flag_spec_CXX='${wl}-E'
12931 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12932 fi
12933 output_verbose_link_cmd=func_echo_all
12934 else
12935 ld_shlibs_CXX=no
12936 fi
12937 ;;
12938
12939 osf3* | osf4* | osf5*)
12940 case $cc_basename in
12941 KCC*)
12942 # Kuck and Associates, Inc. (KAI) C++ Compiler
12943
12944 # KCC will only create a shared library if the output file
12945 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12946 # to its proper name (with version) after linking.
12947 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'
12948
12949 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12950 hardcode_libdir_separator_CXX=:
12951
12952 # Archives containing C++ object files must be created using
12953 # the KAI C++ compiler.
12954 case $host in
12955 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12956 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12957 esac
12958 ;;
12959 RCC*)
12960 # Rational C++ 2.4.1
12961 # FIXME: insert proper C++ library support
12962 ld_shlibs_CXX=no
12963 ;;
12964 cxx*)
12965 case $host in
12966 osf3*)
12967 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12968 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'
12969 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12970 ;;
12971 *)
12972 allow_undefined_flag_CXX=' -expect_unresolved \*'
12973 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'
12974 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12975 echo "-hidden">> $lib.exp~
12976 $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~
12977 $RM $lib.exp'
12978 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12979 ;;
12980 esac
12981
12982 hardcode_libdir_separator_CXX=:
12983
12984 # Commands to make compiler produce verbose output that lists
12985 # what "hidden" libraries, object files and flags are used when
12986 # linking a shared library.
12987 #
12988 # There doesn't appear to be a way to prevent this compiler from
12989 # explicitly linking system object files so we need to strip them
12990 # from the output so that they don't get included in the library
12991 # dependencies.
12992 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"'
12993 ;;
12994 *)
12995 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12996 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12997 case $host in
12998 osf3*)
12999 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'
13000 ;;
13001 *)
13002 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'
13003 ;;
13004 esac
13005
13006 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13007 hardcode_libdir_separator_CXX=:
13008
13009 # Commands to make compiler produce verbose output that lists
13010 # what "hidden" libraries, object files and flags are used when
13011 # linking a shared library.
13012 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13013
13014 else
13015 # FIXME: insert proper C++ library support
13016 ld_shlibs_CXX=no
13017 fi
13018 ;;
13019 esac
13020 ;;
13021
13022 psos*)
13023 # FIXME: insert proper C++ library support
13024 ld_shlibs_CXX=no
13025 ;;
13026
13027 sunos4*)
13028 case $cc_basename in
13029 CC*)
13030 # Sun C++ 4.x
13031 # FIXME: insert proper C++ library support
13032 ld_shlibs_CXX=no
13033 ;;
13034 lcc*)
13035 # Lucid
13036 # FIXME: insert proper C++ library support
13037 ld_shlibs_CXX=no
13038 ;;
13039 *)
13040 # FIXME: insert proper C++ library support
13041 ld_shlibs_CXX=no
13042 ;;
13043 esac
13044 ;;
13045
13046 solaris*)
13047 case $cc_basename in
13048 CC*)
13049 # Sun C++ 4.2, 5.x and Centerline C++
13050 archive_cmds_need_lc_CXX=yes
13051 no_undefined_flag_CXX=' -zdefs'
13052 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13053 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13054 $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'
13055
13056 hardcode_libdir_flag_spec_CXX='-R$libdir'
13057 hardcode_shlibpath_var_CXX=no
13058 case $host_os in
13059 solaris2.[0-5] | solaris2.[0-5].*) ;;
13060 *)
13061 # The compiler driver will combine and reorder linker options,
13062 # but understands `-z linker_flag'.
13063 # Supported since Solaris 2.6 (maybe 2.5.1?)
13064 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13065 ;;
13066 esac
13067 link_all_deplibs_CXX=yes
13068
13069 output_verbose_link_cmd='func_echo_all'
13070
13071 # Archives containing C++ object files must be created using
13072 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13073 # necessary to make sure instantiated templates are included
13074 # in the archive.
13075 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13076 ;;
13077 gcx*)
13078 # Green Hills C++ Compiler
13079 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13080
13081 # The C++ compiler must be used to create the archive.
13082 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13083 ;;
13084 *)
13085 # GNU C++ compiler with Solaris linker
13086 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13087 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13088 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13089 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13090 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13091 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13092
13093 # Commands to make compiler produce verbose output that lists
13094 # what "hidden" libraries, object files and flags are used when
13095 # linking a shared library.
13096 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13097 else
13098 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13099 # platform.
13100 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13101 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13102 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13103
13104 # Commands to make compiler produce verbose output that lists
13105 # what "hidden" libraries, object files and flags are used when
13106 # linking a shared library.
13107 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13108 fi
13109
13110 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13111 case $host_os in
13112 solaris2.[0-5] | solaris2.[0-5].*) ;;
13113 *)
13114 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13115 ;;
13116 esac
13117 fi
13118 ;;
13119 esac
13120 ;;
13121
13122 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13123 no_undefined_flag_CXX='${wl}-z,text'
13124 archive_cmds_need_lc_CXX=no
13125 hardcode_shlibpath_var_CXX=no
13126 runpath_var='LD_RUN_PATH'
13127
13128 case $cc_basename in
13129 CC*)
13130 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13131 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13132 ;;
13133 *)
13134 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13136 ;;
13137 esac
13138 ;;
13139
13140 sysv5* | sco3.2v5* | sco5v6*)
13141 # Note: We can NOT use -z defs as we might desire, because we do not
13142 # link with -lc, and that would cause any symbols used from libc to
13143 # always be unresolved, which means just about no library would
13144 # ever link correctly. If we're not using GNU ld we use -z text
13145 # though, which does catch some bad symbols but isn't as heavy-handed
13146 # as -z defs.
13147 no_undefined_flag_CXX='${wl}-z,text'
13148 allow_undefined_flag_CXX='${wl}-z,nodefs'
13149 archive_cmds_need_lc_CXX=no
13150 hardcode_shlibpath_var_CXX=no
13151 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13152 hardcode_libdir_separator_CXX=':'
13153 link_all_deplibs_CXX=yes
13154 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13155 runpath_var='LD_RUN_PATH'
13156
13157 case $cc_basename in
13158 CC*)
13159 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13160 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13161 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13162 '"$old_archive_cmds_CXX"
13163 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13164 '"$reload_cmds_CXX"
13165 ;;
13166 *)
13167 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13168 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13169 ;;
13170 esac
13171 ;;
13172
13173 tandem*)
13174 case $cc_basename in
13175 NCC*)
13176 # NonStop-UX NCC 3.20
13177 # FIXME: insert proper C++ library support
13178 ld_shlibs_CXX=no
13179 ;;
13180 *)
13181 # FIXME: insert proper C++ library support
13182 ld_shlibs_CXX=no
13183 ;;
13184 esac
13185 ;;
13186
13187 vxworks*)
13188 # FIXME: insert proper C++ library support
13189 ld_shlibs_CXX=no
13190 ;;
13191
13192 *)
13193 # FIXME: insert proper C++ library support
13194 ld_shlibs_CXX=no
13195 ;;
13196 esac
13197
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13199 $as_echo "$ld_shlibs_CXX" >&6; }
13200 test "$ld_shlibs_CXX" = no && can_build_shared=no
13201
13202 GCC_CXX="$GXX"
13203 LD_CXX="$LD"
13204
13205 ## CAVEAT EMPTOR:
13206 ## There is no encapsulation within the following macros, do not change
13207 ## the running order or otherwise move them around unless you know exactly
13208 ## what you are doing...
13209 # Dependencies to place before and after the object being linked:
13210 predep_objects_CXX=
13211 postdep_objects_CXX=
13212 predeps_CXX=
13213 postdeps_CXX=
13214 compiler_lib_search_path_CXX=
13215
13216 cat > conftest.$ac_ext <<_LT_EOF
13217 class Foo
13218 {
13219 public:
13220 Foo (void) { a = 0; }
13221 private:
13222 int a;
13223 };
13224 _LT_EOF
13225
13226 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13227 (eval $ac_compile) 2>&5
13228 ac_status=$?
13229 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13230 test $ac_status = 0; }; then
13231 # Parse the compiler output and extract the necessary
13232 # objects, libraries and library flags.
13233
13234 # Sentinel used to keep track of whether or not we are before
13235 # the conftest object file.
13236 pre_test_object_deps_done=no
13237
13238 for p in `eval "$output_verbose_link_cmd"`; do
13239 case $p in
13240
13241 -L* | -R* | -l*)
13242 # Some compilers place space between "-{L,R}" and the path.
13243 # Remove the space.
13244 if test $p = "-L" ||
13245 test $p = "-R"; then
13246 prev=$p
13247 continue
13248 else
13249 prev=
13250 fi
13251
13252 if test "$pre_test_object_deps_done" = no; then
13253 case $p in
13254 -L* | -R*)
13255 # Internal compiler library paths should come after those
13256 # provided the user. The postdeps already come after the
13257 # user supplied libs so there is no need to process them.
13258 if test -z "$compiler_lib_search_path_CXX"; then
13259 compiler_lib_search_path_CXX="${prev}${p}"
13260 else
13261 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13262 fi
13263 ;;
13264 # The "-l" case would never come before the object being
13265 # linked, so don't bother handling this case.
13266 esac
13267 else
13268 if test -z "$postdeps_CXX"; then
13269 postdeps_CXX="${prev}${p}"
13270 else
13271 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13272 fi
13273 fi
13274 ;;
13275
13276 *.$objext)
13277 # This assumes that the test object file only shows up
13278 # once in the compiler output.
13279 if test "$p" = "conftest.$objext"; then
13280 pre_test_object_deps_done=yes
13281 continue
13282 fi
13283
13284 if test "$pre_test_object_deps_done" = no; then
13285 if test -z "$predep_objects_CXX"; then
13286 predep_objects_CXX="$p"
13287 else
13288 predep_objects_CXX="$predep_objects_CXX $p"
13289 fi
13290 else
13291 if test -z "$postdep_objects_CXX"; then
13292 postdep_objects_CXX="$p"
13293 else
13294 postdep_objects_CXX="$postdep_objects_CXX $p"
13295 fi
13296 fi
13297 ;;
13298
13299 *) ;; # Ignore the rest.
13300
13301 esac
13302 done
13303
13304 # Clean up.
13305 rm -f a.out a.exe
13306 else
13307 echo "libtool.m4: error: problem compiling CXX test program"
13308 fi
13309
13310 $RM -f confest.$objext
13311
13312 # PORTME: override above test on systems where it is broken
13313 case $host_os in
13314 interix[3-9]*)
13315 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13316 # hack all around it, let's just trust "g++" to DTRT.
13317 predep_objects_CXX=
13318 postdep_objects_CXX=
13319 postdeps_CXX=
13320 ;;
13321
13322 linux*)
13323 case `$CC -V 2>&1 | sed 5q` in
13324 *Sun\ C*)
13325 # Sun C++ 5.9
13326
13327 # The more standards-conforming stlport4 library is
13328 # incompatible with the Cstd library. Avoid specifying
13329 # it if it's in CXXFLAGS. Ignore libCrun as
13330 # -library=stlport4 depends on it.
13331 case " $CXX $CXXFLAGS " in
13332 *" -library=stlport4 "*)
13333 solaris_use_stlport4=yes
13334 ;;
13335 esac
13336
13337 if test "$solaris_use_stlport4" != yes; then
13338 postdeps_CXX='-library=Cstd -library=Crun'
13339 fi
13340 ;;
13341 esac
13342 ;;
13343
13344 solaris*)
13345 case $cc_basename in
13346 CC*)
13347 # The more standards-conforming stlport4 library is
13348 # incompatible with the Cstd library. Avoid specifying
13349 # it if it's in CXXFLAGS. Ignore libCrun as
13350 # -library=stlport4 depends on it.
13351 case " $CXX $CXXFLAGS " in
13352 *" -library=stlport4 "*)
13353 solaris_use_stlport4=yes
13354 ;;
13355 esac
13356
13357 # Adding this requires a known-good setup of shared libraries for
13358 # Sun compiler versions before 5.6, else PIC objects from an old
13359 # archive will be linked into the output, leading to subtle bugs.
13360 if test "$solaris_use_stlport4" != yes; then
13361 postdeps_CXX='-library=Cstd -library=Crun'
13362 fi
13363 ;;
13364 esac
13365 ;;
13366 esac
13367
13368
13369 case " $postdeps_CXX " in
13370 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13371 esac
13372 compiler_lib_search_dirs_CXX=
13373 if test -n "${compiler_lib_search_path_CXX}"; then
13374 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13375 fi
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
13407 lt_prog_compiler_wl_CXX=
13408 lt_prog_compiler_pic_CXX=
13409 lt_prog_compiler_static_CXX=
13410
13411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13412 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13413
13414 # C++ specific cases for pic, static, wl, etc.
13415 if test "$GXX" = yes; then
13416 lt_prog_compiler_wl_CXX='-Wl,'
13417 lt_prog_compiler_static_CXX='-static'
13418
13419 case $host_os in
13420 aix*)
13421 # All AIX code is PIC.
13422 if test "$host_cpu" = ia64; then
13423 # AIX 5 now supports IA64 processor
13424 lt_prog_compiler_static_CXX='-Bstatic'
13425 fi
13426 lt_prog_compiler_pic_CXX='-fPIC'
13427 ;;
13428
13429 amigaos*)
13430 case $host_cpu in
13431 powerpc)
13432 # see comment about AmigaOS4 .so support
13433 lt_prog_compiler_pic_CXX='-fPIC'
13434 ;;
13435 m68k)
13436 # FIXME: we need at least 68020 code to build shared libraries, but
13437 # adding the `-m68020' flag to GCC prevents building anything better,
13438 # like `-m68040'.
13439 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13440 ;;
13441 esac
13442 ;;
13443
13444 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13445 # PIC is the default for these OSes.
13446 ;;
13447 mingw* | cygwin* | os2* | pw32* | cegcc*)
13448 # This hack is so that the source file can tell whether it is being
13449 # built for inclusion in a dll (and should export symbols for example).
13450 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13451 # (--disable-auto-import) libraries
13452 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13453 ;;
13454 darwin* | rhapsody*)
13455 # PIC is the default on this platform
13456 # Common symbols not allowed in MH_DYLIB files
13457 lt_prog_compiler_pic_CXX='-fno-common'
13458 ;;
13459 *djgpp*)
13460 # DJGPP does not support shared libraries at all
13461 lt_prog_compiler_pic_CXX=
13462 ;;
13463 haiku*)
13464 # PIC is the default for Haiku.
13465 # The "-static" flag exists, but is broken.
13466 lt_prog_compiler_static_CXX=
13467 ;;
13468 interix[3-9]*)
13469 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13470 # Instead, we relocate shared libraries at runtime.
13471 ;;
13472 sysv4*MP*)
13473 if test -d /usr/nec; then
13474 lt_prog_compiler_pic_CXX=-Kconform_pic
13475 fi
13476 ;;
13477 hpux*)
13478 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13479 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13480 # sets the default TLS model and affects inlining.
13481 case $host_cpu in
13482 hppa*64*)
13483 ;;
13484 *)
13485 lt_prog_compiler_pic_CXX='-fPIC'
13486 ;;
13487 esac
13488 ;;
13489 *qnx* | *nto*)
13490 # QNX uses GNU C++, but need to define -shared option too, otherwise
13491 # it will coredump.
13492 lt_prog_compiler_pic_CXX='-fPIC -shared'
13493 ;;
13494 *)
13495 lt_prog_compiler_pic_CXX='-fPIC'
13496 ;;
13497 esac
13498 else
13499 case $host_os in
13500 aix[4-9]*)
13501 # All AIX code is PIC.
13502 if test "$host_cpu" = ia64; then
13503 # AIX 5 now supports IA64 processor
13504 lt_prog_compiler_static_CXX='-Bstatic'
13505 else
13506 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13507 fi
13508 ;;
13509 chorus*)
13510 case $cc_basename in
13511 cxch68*)
13512 # Green Hills C++ Compiler
13513 # _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"
13514 ;;
13515 esac
13516 ;;
13517 dgux*)
13518 case $cc_basename in
13519 ec++*)
13520 lt_prog_compiler_pic_CXX='-KPIC'
13521 ;;
13522 ghcx*)
13523 # Green Hills C++ Compiler
13524 lt_prog_compiler_pic_CXX='-pic'
13525 ;;
13526 *)
13527 ;;
13528 esac
13529 ;;
13530 freebsd* | dragonfly*)
13531 # FreeBSD uses GNU C++
13532 ;;
13533 hpux9* | hpux10* | hpux11*)
13534 case $cc_basename in
13535 CC*)
13536 lt_prog_compiler_wl_CXX='-Wl,'
13537 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13538 if test "$host_cpu" != ia64; then
13539 lt_prog_compiler_pic_CXX='+Z'
13540 fi
13541 ;;
13542 aCC*)
13543 lt_prog_compiler_wl_CXX='-Wl,'
13544 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13545 case $host_cpu in
13546 hppa*64*|ia64*)
13547 # +Z the default
13548 ;;
13549 *)
13550 lt_prog_compiler_pic_CXX='+Z'
13551 ;;
13552 esac
13553 ;;
13554 *)
13555 ;;
13556 esac
13557 ;;
13558 interix*)
13559 # This is c89, which is MS Visual C++ (no shared libs)
13560 # Anyone wants to do a port?
13561 ;;
13562 irix5* | irix6* | nonstopux*)
13563 case $cc_basename in
13564 CC*)
13565 lt_prog_compiler_wl_CXX='-Wl,'
13566 lt_prog_compiler_static_CXX='-non_shared'
13567 # CC pic flag -KPIC is the default.
13568 ;;
13569 *)
13570 ;;
13571 esac
13572 ;;
13573 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13574 case $cc_basename in
13575 KCC*)
13576 # KAI C++ Compiler
13577 lt_prog_compiler_wl_CXX='--backend -Wl,'
13578 lt_prog_compiler_pic_CXX='-fPIC'
13579 ;;
13580 ecpc* )
13581 # old Intel C++ for x86_64 which still supported -KPIC.
13582 lt_prog_compiler_wl_CXX='-Wl,'
13583 lt_prog_compiler_pic_CXX='-KPIC'
13584 lt_prog_compiler_static_CXX='-static'
13585 ;;
13586 icpc* )
13587 # Intel C++, used to be incompatible with GCC.
13588 # ICC 10 doesn't accept -KPIC any more.
13589 lt_prog_compiler_wl_CXX='-Wl,'
13590 lt_prog_compiler_pic_CXX='-fPIC'
13591 lt_prog_compiler_static_CXX='-static'
13592 ;;
13593 pgCC* | pgcpp*)
13594 # Portland Group C++ compiler
13595 lt_prog_compiler_wl_CXX='-Wl,'
13596 lt_prog_compiler_pic_CXX='-fpic'
13597 lt_prog_compiler_static_CXX='-Bstatic'
13598 ;;
13599 cxx*)
13600 # Compaq C++
13601 # Make sure the PIC flag is empty. It appears that all Alpha
13602 # Linux and Compaq Tru64 Unix objects are PIC.
13603 lt_prog_compiler_pic_CXX=
13604 lt_prog_compiler_static_CXX='-non_shared'
13605 ;;
13606 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13607 # IBM XL 8.0, 9.0 on PPC and BlueGene
13608 lt_prog_compiler_wl_CXX='-Wl,'
13609 lt_prog_compiler_pic_CXX='-qpic'
13610 lt_prog_compiler_static_CXX='-qstaticlink'
13611 ;;
13612 *)
13613 case `$CC -V 2>&1 | sed 5q` in
13614 *Sun\ C*)
13615 # Sun C++ 5.9
13616 lt_prog_compiler_pic_CXX='-KPIC'
13617 lt_prog_compiler_static_CXX='-Bstatic'
13618 lt_prog_compiler_wl_CXX='-Qoption ld '
13619 ;;
13620 esac
13621 ;;
13622 esac
13623 ;;
13624 lynxos*)
13625 ;;
13626 m88k*)
13627 ;;
13628 mvs*)
13629 case $cc_basename in
13630 cxx*)
13631 lt_prog_compiler_pic_CXX='-W c,exportall'
13632 ;;
13633 *)
13634 ;;
13635 esac
13636 ;;
13637 netbsd*)
13638 ;;
13639 *qnx* | *nto*)
13640 # QNX uses GNU C++, but need to define -shared option too, otherwise
13641 # it will coredump.
13642 lt_prog_compiler_pic_CXX='-fPIC -shared'
13643 ;;
13644 osf3* | osf4* | osf5*)
13645 case $cc_basename in
13646 KCC*)
13647 lt_prog_compiler_wl_CXX='--backend -Wl,'
13648 ;;
13649 RCC*)
13650 # Rational C++ 2.4.1
13651 lt_prog_compiler_pic_CXX='-pic'
13652 ;;
13653 cxx*)
13654 # Digital/Compaq C++
13655 lt_prog_compiler_wl_CXX='-Wl,'
13656 # Make sure the PIC flag is empty. It appears that all Alpha
13657 # Linux and Compaq Tru64 Unix objects are PIC.
13658 lt_prog_compiler_pic_CXX=
13659 lt_prog_compiler_static_CXX='-non_shared'
13660 ;;
13661 *)
13662 ;;
13663 esac
13664 ;;
13665 psos*)
13666 ;;
13667 solaris*)
13668 case $cc_basename in
13669 CC*)
13670 # Sun C++ 4.2, 5.x and Centerline C++
13671 lt_prog_compiler_pic_CXX='-KPIC'
13672 lt_prog_compiler_static_CXX='-Bstatic'
13673 lt_prog_compiler_wl_CXX='-Qoption ld '
13674 ;;
13675 gcx*)
13676 # Green Hills C++ Compiler
13677 lt_prog_compiler_pic_CXX='-PIC'
13678 ;;
13679 *)
13680 ;;
13681 esac
13682 ;;
13683 sunos4*)
13684 case $cc_basename in
13685 CC*)
13686 # Sun C++ 4.x
13687 lt_prog_compiler_pic_CXX='-pic'
13688 lt_prog_compiler_static_CXX='-Bstatic'
13689 ;;
13690 lcc*)
13691 # Lucid
13692 lt_prog_compiler_pic_CXX='-pic'
13693 ;;
13694 *)
13695 ;;
13696 esac
13697 ;;
13698 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13699 case $cc_basename in
13700 CC*)
13701 lt_prog_compiler_wl_CXX='-Wl,'
13702 lt_prog_compiler_pic_CXX='-KPIC'
13703 lt_prog_compiler_static_CXX='-Bstatic'
13704 ;;
13705 esac
13706 ;;
13707 tandem*)
13708 case $cc_basename in
13709 NCC*)
13710 # NonStop-UX NCC 3.20
13711 lt_prog_compiler_pic_CXX='-KPIC'
13712 ;;
13713 *)
13714 ;;
13715 esac
13716 ;;
13717 vxworks*)
13718 ;;
13719 *)
13720 lt_prog_compiler_can_build_shared_CXX=no
13721 ;;
13722 esac
13723 fi
13724
13725 case $host_os in
13726 # For platforms which do not support PIC, -DPIC is meaningless:
13727 *djgpp*)
13728 lt_prog_compiler_pic_CXX=
13729 ;;
13730 *)
13731 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13732 ;;
13733 esac
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13735 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13736
13737
13738
13739 #
13740 # Check to make sure the PIC flag actually works.
13741 #
13742 if test -n "$lt_prog_compiler_pic_CXX"; then
13743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13744 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13745 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13746 $as_echo_n "(cached) " >&6
13747 else
13748 lt_cv_prog_compiler_pic_works_CXX=no
13749 ac_outfile=conftest.$ac_objext
13750 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13751 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13752 # Insert the option either (1) after the last *FLAGS variable, or
13753 # (2) before a word containing "conftest.", or (3) at the end.
13754 # Note that $ac_compile itself does not contain backslashes and begins
13755 # with a dollar sign (not a hyphen), so the echo should work correctly.
13756 # The option is referenced via a variable to avoid confusing sed.
13757 lt_compile=`echo "$ac_compile" | $SED \
13758 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13759 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13760 -e 's:$: $lt_compiler_flag:'`
13761 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13762 (eval "$lt_compile" 2>conftest.err)
13763 ac_status=$?
13764 cat conftest.err >&5
13765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13766 if (exit $ac_status) && test -s "$ac_outfile"; then
13767 # The compiler can only warn and ignore the option if not recognized
13768 # So say no if there are warnings other than the usual output.
13769 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13770 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13771 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13772 lt_cv_prog_compiler_pic_works_CXX=yes
13773 fi
13774 fi
13775 $RM conftest*
13776
13777 fi
13778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13779 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13780
13781 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13782 case $lt_prog_compiler_pic_CXX in
13783 "" | " "*) ;;
13784 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13785 esac
13786 else
13787 lt_prog_compiler_pic_CXX=
13788 lt_prog_compiler_can_build_shared_CXX=no
13789 fi
13790
13791 fi
13792
13793
13794
13795 #
13796 # Check to make sure the static flag actually works.
13797 #
13798 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13800 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13801 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13802 $as_echo_n "(cached) " >&6
13803 else
13804 lt_cv_prog_compiler_static_works_CXX=no
13805 save_LDFLAGS="$LDFLAGS"
13806 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13807 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13808 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13809 # The linker can only warn and ignore the option if not recognized
13810 # So say no if there are warnings
13811 if test -s conftest.err; then
13812 # Append any errors to the config.log.
13813 cat conftest.err 1>&5
13814 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13815 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13816 if diff conftest.exp conftest.er2 >/dev/null; then
13817 lt_cv_prog_compiler_static_works_CXX=yes
13818 fi
13819 else
13820 lt_cv_prog_compiler_static_works_CXX=yes
13821 fi
13822 fi
13823 $RM -r conftest*
13824 LDFLAGS="$save_LDFLAGS"
13825
13826 fi
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13828 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13829
13830 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13831 :
13832 else
13833 lt_prog_compiler_static_CXX=
13834 fi
13835
13836
13837
13838
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13840 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13841 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13842 $as_echo_n "(cached) " >&6
13843 else
13844 lt_cv_prog_compiler_c_o_CXX=no
13845 $RM -r conftest 2>/dev/null
13846 mkdir conftest
13847 cd conftest
13848 mkdir out
13849 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13850
13851 lt_compiler_flag="-o out/conftest2.$ac_objext"
13852 # Insert the option either (1) after the last *FLAGS variable, or
13853 # (2) before a word containing "conftest.", or (3) at the end.
13854 # Note that $ac_compile itself does not contain backslashes and begins
13855 # with a dollar sign (not a hyphen), so the echo should work correctly.
13856 lt_compile=`echo "$ac_compile" | $SED \
13857 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13858 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13859 -e 's:$: $lt_compiler_flag:'`
13860 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13861 (eval "$lt_compile" 2>out/conftest.err)
13862 ac_status=$?
13863 cat out/conftest.err >&5
13864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13865 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13866 then
13867 # The compiler can only warn and ignore the option if not recognized
13868 # So say no if there are warnings
13869 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13870 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13871 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13872 lt_cv_prog_compiler_c_o_CXX=yes
13873 fi
13874 fi
13875 chmod u+w . 2>&5
13876 $RM conftest*
13877 # SGI C++ compiler will create directory out/ii_files/ for
13878 # template instantiation
13879 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13880 $RM out/* && rmdir out
13881 cd ..
13882 $RM -r conftest
13883 $RM conftest*
13884
13885 fi
13886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13887 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13888
13889
13890
13891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13892 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13893 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13894 $as_echo_n "(cached) " >&6
13895 else
13896 lt_cv_prog_compiler_c_o_CXX=no
13897 $RM -r conftest 2>/dev/null
13898 mkdir conftest
13899 cd conftest
13900 mkdir out
13901 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13902
13903 lt_compiler_flag="-o out/conftest2.$ac_objext"
13904 # Insert the option either (1) after the last *FLAGS variable, or
13905 # (2) before a word containing "conftest.", or (3) at the end.
13906 # Note that $ac_compile itself does not contain backslashes and begins
13907 # with a dollar sign (not a hyphen), so the echo should work correctly.
13908 lt_compile=`echo "$ac_compile" | $SED \
13909 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13910 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13911 -e 's:$: $lt_compiler_flag:'`
13912 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13913 (eval "$lt_compile" 2>out/conftest.err)
13914 ac_status=$?
13915 cat out/conftest.err >&5
13916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13917 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13918 then
13919 # The compiler can only warn and ignore the option if not recognized
13920 # So say no if there are warnings
13921 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13922 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13923 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13924 lt_cv_prog_compiler_c_o_CXX=yes
13925 fi
13926 fi
13927 chmod u+w . 2>&5
13928 $RM conftest*
13929 # SGI C++ compiler will create directory out/ii_files/ for
13930 # template instantiation
13931 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13932 $RM out/* && rmdir out
13933 cd ..
13934 $RM -r conftest
13935 $RM conftest*
13936
13937 fi
13938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13939 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13940
13941
13942
13943
13944 hard_links="nottested"
13945 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13946 # do not overwrite the value of need_locks provided by the user
13947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13948 $as_echo_n "checking if we can lock with hard links... " >&6; }
13949 hard_links=yes
13950 $RM conftest*
13951 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13952 touch conftest.a
13953 ln conftest.a conftest.b 2>&5 || hard_links=no
13954 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13956 $as_echo "$hard_links" >&6; }
13957 if test "$hard_links" = no; then
13958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13959 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13960 need_locks=warn
13961 fi
13962 else
13963 need_locks=no
13964 fi
13965
13966
13967
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13969 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13970
13971 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13972 case $host_os in
13973 aix[4-9]*)
13974 # If we're using GNU nm, then we don't want the "-C" option.
13975 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13976 # Also, AIX nm treats weak defined symbols like other global defined
13977 # symbols, whereas GNU nm marks them as "W".
13978 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13979 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'
13980 else
13981 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'
13982 fi
13983 ;;
13984 pw32*)
13985 export_symbols_cmds_CXX="$ltdll_cmds"
13986 ;;
13987 cygwin* | mingw* | cegcc*)
13988 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'
13989 ;;
13990 *)
13991 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13992 ;;
13993 esac
13994 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13995
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13997 $as_echo "$ld_shlibs_CXX" >&6; }
13998 test "$ld_shlibs_CXX" = no && can_build_shared=no
13999
14000 with_gnu_ld_CXX=$with_gnu_ld
14001
14002
14003
14004
14005
14006
14007 #
14008 # Do we need to explicitly link libc?
14009 #
14010 case "x$archive_cmds_need_lc_CXX" in
14011 x|xyes)
14012 # Assume -lc should be added
14013 archive_cmds_need_lc_CXX=yes
14014
14015 if test "$enable_shared" = yes && test "$GCC" = yes; then
14016 case $archive_cmds_CXX in
14017 *'~'*)
14018 # FIXME: we may have to deal with multi-command sequences.
14019 ;;
14020 '$CC '*)
14021 # Test whether the compiler implicitly links with -lc since on some
14022 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14023 # to ld, don't add -lc before -lgcc.
14024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14025 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14026 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14027 $as_echo_n "(cached) " >&6
14028 else
14029 $RM conftest*
14030 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14031
14032 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14033 (eval $ac_compile) 2>&5
14034 ac_status=$?
14035 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14036 test $ac_status = 0; } 2>conftest.err; then
14037 soname=conftest
14038 lib=conftest
14039 libobjs=conftest.$ac_objext
14040 deplibs=
14041 wl=$lt_prog_compiler_wl_CXX
14042 pic_flag=$lt_prog_compiler_pic_CXX
14043 compiler_flags=-v
14044 linker_flags=-v
14045 verstring=
14046 output_objdir=.
14047 libname=conftest
14048 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14049 allow_undefined_flag_CXX=
14050 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14051 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14052 ac_status=$?
14053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14054 test $ac_status = 0; }
14055 then
14056 lt_cv_archive_cmds_need_lc_CXX=no
14057 else
14058 lt_cv_archive_cmds_need_lc_CXX=yes
14059 fi
14060 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14061 else
14062 cat conftest.err 1>&5
14063 fi
14064 $RM conftest*
14065
14066 fi
14067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14068 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14069 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14070 ;;
14071 esac
14072 fi
14073 ;;
14074 esac
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
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14140 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14141
14142 library_names_spec=
14143 libname_spec='lib$name'
14144 soname_spec=
14145 shrext_cmds=".so"
14146 postinstall_cmds=
14147 postuninstall_cmds=
14148 finish_cmds=
14149 finish_eval=
14150 shlibpath_var=
14151 shlibpath_overrides_runpath=unknown
14152 version_type=none
14153 dynamic_linker="$host_os ld.so"
14154 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14155 need_lib_prefix=unknown
14156 hardcode_into_libs=no
14157
14158 # when you set need_version to no, make sure it does not cause -set_version
14159 # flags to be left without arguments
14160 need_version=unknown
14161
14162 case $host_os in
14163 aix3*)
14164 version_type=linux
14165 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14166 shlibpath_var=LIBPATH
14167
14168 # AIX 3 has no versioning support, so we append a major version to the name.
14169 soname_spec='${libname}${release}${shared_ext}$major'
14170 ;;
14171
14172 aix[4-9]*)
14173 version_type=linux
14174 need_lib_prefix=no
14175 need_version=no
14176 hardcode_into_libs=yes
14177 if test "$host_cpu" = ia64; then
14178 # AIX 5 supports IA64
14179 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14180 shlibpath_var=LD_LIBRARY_PATH
14181 else
14182 # With GCC up to 2.95.x, collect2 would create an import file
14183 # for dependence libraries. The import file would start with
14184 # the line `#! .'. This would cause the generated library to
14185 # depend on `.', always an invalid library. This was fixed in
14186 # development snapshots of GCC prior to 3.0.
14187 case $host_os in
14188 aix4 | aix4.[01] | aix4.[01].*)
14189 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14190 echo ' yes '
14191 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14192 :
14193 else
14194 can_build_shared=no
14195 fi
14196 ;;
14197 esac
14198 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14199 # soname into executable. Probably we can add versioning support to
14200 # collect2, so additional links can be useful in future.
14201 if test "$aix_use_runtimelinking" = yes; then
14202 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14203 # instead of lib<name>.a to let people know that these are not
14204 # typical AIX shared libraries.
14205 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14206 else
14207 # We preserve .a as extension for shared libraries through AIX4.2
14208 # and later when we are not doing run time linking.
14209 library_names_spec='${libname}${release}.a $libname.a'
14210 soname_spec='${libname}${release}${shared_ext}$major'
14211 fi
14212 shlibpath_var=LIBPATH
14213 fi
14214 ;;
14215
14216 amigaos*)
14217 case $host_cpu in
14218 powerpc)
14219 # Since July 2007 AmigaOS4 officially supports .so libraries.
14220 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14221 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14222 ;;
14223 m68k)
14224 library_names_spec='$libname.ixlibrary $libname.a'
14225 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14226 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'
14227 ;;
14228 esac
14229 ;;
14230
14231 beos*)
14232 library_names_spec='${libname}${shared_ext}'
14233 dynamic_linker="$host_os ld.so"
14234 shlibpath_var=LIBRARY_PATH
14235 ;;
14236
14237 bsdi[45]*)
14238 version_type=linux
14239 need_version=no
14240 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14241 soname_spec='${libname}${release}${shared_ext}$major'
14242 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14243 shlibpath_var=LD_LIBRARY_PATH
14244 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14245 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14246 # the default ld.so.conf also contains /usr/contrib/lib and
14247 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14248 # libtool to hard-code these into programs
14249 ;;
14250
14251 cygwin* | mingw* | pw32* | cegcc*)
14252 version_type=windows
14253 shrext_cmds=".dll"
14254 need_version=no
14255 need_lib_prefix=no
14256
14257 case $GCC,$host_os in
14258 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14259 library_names_spec='$libname.dll.a'
14260 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14261 postinstall_cmds='base_file=`basename \${file}`~
14262 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14263 dldir=$destdir/`dirname \$dlpath`~
14264 test -d \$dldir || mkdir -p \$dldir~
14265 $install_prog $dir/$dlname \$dldir/$dlname~
14266 chmod a+x \$dldir/$dlname~
14267 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14268 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14269 fi'
14270 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14271 dlpath=$dir/\$dldll~
14272 $RM \$dlpath'
14273 shlibpath_overrides_runpath=yes
14274
14275 case $host_os in
14276 cygwin*)
14277 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14278 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14279
14280 ;;
14281 mingw* | cegcc*)
14282 # MinGW DLLs use traditional 'lib' prefix
14283 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14284 ;;
14285 pw32*)
14286 # pw32 DLLs use 'pw' prefix rather than 'lib'
14287 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14288 ;;
14289 esac
14290 ;;
14291
14292 *)
14293 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14294 ;;
14295 esac
14296 dynamic_linker='Win32 ld.exe'
14297 # FIXME: first we should search . and the directory the executable is in
14298 shlibpath_var=PATH
14299 ;;
14300
14301 darwin* | rhapsody*)
14302 dynamic_linker="$host_os dyld"
14303 version_type=darwin
14304 need_lib_prefix=no
14305 need_version=no
14306 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14307 soname_spec='${libname}${release}${major}$shared_ext'
14308 shlibpath_overrides_runpath=yes
14309 shlibpath_var=DYLD_LIBRARY_PATH
14310 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14311
14312 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14313 ;;
14314
14315 dgux*)
14316 version_type=linux
14317 need_lib_prefix=no
14318 need_version=no
14319 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14320 soname_spec='${libname}${release}${shared_ext}$major'
14321 shlibpath_var=LD_LIBRARY_PATH
14322 ;;
14323
14324 freebsd* | dragonfly*)
14325 # DragonFly does not have aout. When/if they implement a new
14326 # versioning mechanism, adjust this.
14327 if test -x /usr/bin/objformat; then
14328 objformat=`/usr/bin/objformat`
14329 else
14330 case $host_os in
14331 freebsd[23].*) objformat=aout ;;
14332 *) objformat=elf ;;
14333 esac
14334 fi
14335 version_type=freebsd-$objformat
14336 case $version_type in
14337 freebsd-elf*)
14338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14339 need_version=no
14340 need_lib_prefix=no
14341 ;;
14342 freebsd-*)
14343 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14344 need_version=yes
14345 ;;
14346 esac
14347 shlibpath_var=LD_LIBRARY_PATH
14348 case $host_os in
14349 freebsd2.*)
14350 shlibpath_overrides_runpath=yes
14351 ;;
14352 freebsd3.[01]* | freebsdelf3.[01]*)
14353 shlibpath_overrides_runpath=yes
14354 hardcode_into_libs=yes
14355 ;;
14356 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14357 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14358 shlibpath_overrides_runpath=no
14359 hardcode_into_libs=yes
14360 ;;
14361 *) # from 4.6 on, and DragonFly
14362 shlibpath_overrides_runpath=yes
14363 hardcode_into_libs=yes
14364 ;;
14365 esac
14366 ;;
14367
14368 gnu*)
14369 version_type=linux
14370 need_lib_prefix=no
14371 need_version=no
14372 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14373 soname_spec='${libname}${release}${shared_ext}$major'
14374 shlibpath_var=LD_LIBRARY_PATH
14375 hardcode_into_libs=yes
14376 ;;
14377
14378 haiku*)
14379 version_type=linux
14380 need_lib_prefix=no
14381 need_version=no
14382 dynamic_linker="$host_os runtime_loader"
14383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14384 soname_spec='${libname}${release}${shared_ext}$major'
14385 shlibpath_var=LIBRARY_PATH
14386 shlibpath_overrides_runpath=yes
14387 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14388 hardcode_into_libs=yes
14389 ;;
14390
14391 hpux9* | hpux10* | hpux11*)
14392 # Give a soname corresponding to the major version so that dld.sl refuses to
14393 # link against other versions.
14394 version_type=sunos
14395 need_lib_prefix=no
14396 need_version=no
14397 case $host_cpu in
14398 ia64*)
14399 shrext_cmds='.so'
14400 hardcode_into_libs=yes
14401 dynamic_linker="$host_os dld.so"
14402 shlibpath_var=LD_LIBRARY_PATH
14403 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14404 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14405 soname_spec='${libname}${release}${shared_ext}$major'
14406 if test "X$HPUX_IA64_MODE" = X32; then
14407 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14408 else
14409 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14410 fi
14411 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14412 ;;
14413 hppa*64*)
14414 shrext_cmds='.sl'
14415 hardcode_into_libs=yes
14416 dynamic_linker="$host_os dld.sl"
14417 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14418 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14419 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14420 soname_spec='${libname}${release}${shared_ext}$major'
14421 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14422 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14423 ;;
14424 *)
14425 shrext_cmds='.sl'
14426 dynamic_linker="$host_os dld.sl"
14427 shlibpath_var=SHLIB_PATH
14428 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14429 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14430 soname_spec='${libname}${release}${shared_ext}$major'
14431 ;;
14432 esac
14433 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14434 postinstall_cmds='chmod 555 $lib'
14435 # or fails outright, so override atomically:
14436 install_override_mode=555
14437 ;;
14438
14439 interix[3-9]*)
14440 version_type=linux
14441 need_lib_prefix=no
14442 need_version=no
14443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14444 soname_spec='${libname}${release}${shared_ext}$major'
14445 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14446 shlibpath_var=LD_LIBRARY_PATH
14447 shlibpath_overrides_runpath=no
14448 hardcode_into_libs=yes
14449 ;;
14450
14451 irix5* | irix6* | nonstopux*)
14452 case $host_os in
14453 nonstopux*) version_type=nonstopux ;;
14454 *)
14455 if test "$lt_cv_prog_gnu_ld" = yes; then
14456 version_type=linux
14457 else
14458 version_type=irix
14459 fi ;;
14460 esac
14461 need_lib_prefix=no
14462 need_version=no
14463 soname_spec='${libname}${release}${shared_ext}$major'
14464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14465 case $host_os in
14466 irix5* | nonstopux*)
14467 libsuff= shlibsuff=
14468 ;;
14469 *)
14470 case $LD in # libtool.m4 will add one of these switches to LD
14471 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14472 libsuff= shlibsuff= libmagic=32-bit;;
14473 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14474 libsuff=32 shlibsuff=N32 libmagic=N32;;
14475 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14476 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14477 *) libsuff= shlibsuff= libmagic=never-match;;
14478 esac
14479 ;;
14480 esac
14481 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14482 shlibpath_overrides_runpath=no
14483 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14484 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14485 hardcode_into_libs=yes
14486 ;;
14487
14488 # No shared lib support for Linux oldld, aout, or coff.
14489 linux*oldld* | linux*aout* | linux*coff*)
14490 dynamic_linker=no
14491 ;;
14492
14493 # This must be Linux ELF.
14494 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14495 version_type=linux
14496 need_lib_prefix=no
14497 need_version=no
14498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14499 soname_spec='${libname}${release}${shared_ext}$major'
14500 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14501 shlibpath_var=LD_LIBRARY_PATH
14502 shlibpath_overrides_runpath=no
14503
14504 # Some binutils ld are patched to set DT_RUNPATH
14505 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14506 $as_echo_n "(cached) " >&6
14507 else
14508 lt_cv_shlibpath_overrides_runpath=no
14509 save_LDFLAGS=$LDFLAGS
14510 save_libdir=$libdir
14511 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14512 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14513 if test x$gcc_no_link = xyes; then
14514 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14515 fi
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14518
14519 int
14520 main ()
14521 {
14522
14523 ;
14524 return 0;
14525 }
14526 _ACEOF
14527 if ac_fn_cxx_try_link "$LINENO"; then :
14528 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14529 lt_cv_shlibpath_overrides_runpath=yes
14530 fi
14531 fi
14532 rm -f core conftest.err conftest.$ac_objext \
14533 conftest$ac_exeext conftest.$ac_ext
14534 LDFLAGS=$save_LDFLAGS
14535 libdir=$save_libdir
14536
14537 fi
14538
14539 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14540
14541 # This implies no fast_install, which is unacceptable.
14542 # Some rework will be needed to allow for fast_install
14543 # before this can be enabled.
14544 hardcode_into_libs=yes
14545
14546 # Append ld.so.conf contents to the search path
14547 if test -f /etc/ld.so.conf; then
14548 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' ' '`
14549 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14550 fi
14551
14552 # We used to test for /lib/ld.so.1 and disable shared libraries on
14553 # powerpc, because MkLinux only supported shared libraries with the
14554 # GNU dynamic linker. Since this was broken with cross compilers,
14555 # most powerpc-linux boxes support dynamic linking these days and
14556 # people can always --disable-shared, the test was removed, and we
14557 # assume the GNU/Linux dynamic linker is in use.
14558 dynamic_linker='GNU/Linux ld.so'
14559 ;;
14560
14561 netbsd*)
14562 version_type=sunos
14563 need_lib_prefix=no
14564 need_version=no
14565 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14567 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14568 dynamic_linker='NetBSD (a.out) ld.so'
14569 else
14570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14571 soname_spec='${libname}${release}${shared_ext}$major'
14572 dynamic_linker='NetBSD ld.elf_so'
14573 fi
14574 shlibpath_var=LD_LIBRARY_PATH
14575 shlibpath_overrides_runpath=yes
14576 hardcode_into_libs=yes
14577 ;;
14578
14579 newsos6)
14580 version_type=linux
14581 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14582 shlibpath_var=LD_LIBRARY_PATH
14583 shlibpath_overrides_runpath=yes
14584 ;;
14585
14586 *nto* | *qnx*)
14587 version_type=qnx
14588 need_lib_prefix=no
14589 need_version=no
14590 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14591 soname_spec='${libname}${release}${shared_ext}$major'
14592 shlibpath_var=LD_LIBRARY_PATH
14593 shlibpath_overrides_runpath=no
14594 hardcode_into_libs=yes
14595 dynamic_linker='ldqnx.so'
14596 ;;
14597
14598 openbsd*)
14599 version_type=sunos
14600 sys_lib_dlsearch_path_spec="/usr/lib"
14601 need_lib_prefix=no
14602 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14603 case $host_os in
14604 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14605 *) need_version=no ;;
14606 esac
14607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14608 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14609 shlibpath_var=LD_LIBRARY_PATH
14610 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14611 case $host_os in
14612 openbsd2.[89] | openbsd2.[89].*)
14613 shlibpath_overrides_runpath=no
14614 ;;
14615 *)
14616 shlibpath_overrides_runpath=yes
14617 ;;
14618 esac
14619 else
14620 shlibpath_overrides_runpath=yes
14621 fi
14622 ;;
14623
14624 os2*)
14625 libname_spec='$name'
14626 shrext_cmds=".dll"
14627 need_lib_prefix=no
14628 library_names_spec='$libname${shared_ext} $libname.a'
14629 dynamic_linker='OS/2 ld.exe'
14630 shlibpath_var=LIBPATH
14631 ;;
14632
14633 osf3* | osf4* | osf5*)
14634 version_type=osf
14635 need_lib_prefix=no
14636 need_version=no
14637 soname_spec='${libname}${release}${shared_ext}$major'
14638 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14639 shlibpath_var=LD_LIBRARY_PATH
14640 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14641 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14642 ;;
14643
14644 rdos*)
14645 dynamic_linker=no
14646 ;;
14647
14648 solaris*)
14649 version_type=linux
14650 need_lib_prefix=no
14651 need_version=no
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14657 # ldd complains unless libraries are executable
14658 postinstall_cmds='chmod +x $lib'
14659 ;;
14660
14661 sunos4*)
14662 version_type=sunos
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14664 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14665 shlibpath_var=LD_LIBRARY_PATH
14666 shlibpath_overrides_runpath=yes
14667 if test "$with_gnu_ld" = yes; then
14668 need_lib_prefix=no
14669 fi
14670 need_version=yes
14671 ;;
14672
14673 sysv4 | sysv4.3*)
14674 version_type=linux
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14676 soname_spec='${libname}${release}${shared_ext}$major'
14677 shlibpath_var=LD_LIBRARY_PATH
14678 case $host_vendor in
14679 sni)
14680 shlibpath_overrides_runpath=no
14681 need_lib_prefix=no
14682 runpath_var=LD_RUN_PATH
14683 ;;
14684 siemens)
14685 need_lib_prefix=no
14686 ;;
14687 motorola)
14688 need_lib_prefix=no
14689 need_version=no
14690 shlibpath_overrides_runpath=no
14691 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14692 ;;
14693 esac
14694 ;;
14695
14696 sysv4*MP*)
14697 if test -d /usr/nec ;then
14698 version_type=linux
14699 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14700 soname_spec='$libname${shared_ext}.$major'
14701 shlibpath_var=LD_LIBRARY_PATH
14702 fi
14703 ;;
14704
14705 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14706 version_type=freebsd-elf
14707 need_lib_prefix=no
14708 need_version=no
14709 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14710 soname_spec='${libname}${release}${shared_ext}$major'
14711 shlibpath_var=LD_LIBRARY_PATH
14712 shlibpath_overrides_runpath=yes
14713 hardcode_into_libs=yes
14714 if test "$with_gnu_ld" = yes; then
14715 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14716 else
14717 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14718 case $host_os in
14719 sco3.2v5*)
14720 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14721 ;;
14722 esac
14723 fi
14724 sys_lib_dlsearch_path_spec='/usr/lib'
14725 ;;
14726
14727 tpf*)
14728 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14729 version_type=linux
14730 need_lib_prefix=no
14731 need_version=no
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 shlibpath_var=LD_LIBRARY_PATH
14734 shlibpath_overrides_runpath=no
14735 hardcode_into_libs=yes
14736 ;;
14737
14738 uts4*)
14739 version_type=linux
14740 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14741 soname_spec='${libname}${release}${shared_ext}$major'
14742 shlibpath_var=LD_LIBRARY_PATH
14743 ;;
14744
14745 *)
14746 dynamic_linker=no
14747 ;;
14748 esac
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14750 $as_echo "$dynamic_linker" >&6; }
14751 test "$dynamic_linker" = no && can_build_shared=no
14752
14753 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14754 if test "$GCC" = yes; then
14755 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14756 fi
14757
14758 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14759 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14760 fi
14761 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14762 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14763 fi
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
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14803 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14804 hardcode_action_CXX=
14805 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14806 test -n "$runpath_var_CXX" ||
14807 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14808
14809 # We can hardcode non-existent directories.
14810 if test "$hardcode_direct_CXX" != no &&
14811 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14812 # have to relink, otherwise we might link with an installed library
14813 # when we should be linking with a yet-to-be-installed one
14814 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14815 test "$hardcode_minus_L_CXX" != no; then
14816 # Linking always hardcodes the temporary library directory.
14817 hardcode_action_CXX=relink
14818 else
14819 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14820 hardcode_action_CXX=immediate
14821 fi
14822 else
14823 # We cannot hardcode anything, or else we can only hardcode existing
14824 # directories.
14825 hardcode_action_CXX=unsupported
14826 fi
14827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14828 $as_echo "$hardcode_action_CXX" >&6; }
14829
14830 if test "$hardcode_action_CXX" = relink ||
14831 test "$inherit_rpath_CXX" = yes; then
14832 # Fast installation is not supported
14833 enable_fast_install=no
14834 elif test "$shlibpath_overrides_runpath" = yes ||
14835 test "$enable_shared" = no; then
14836 # Fast installation is not necessary
14837 enable_fast_install=needless
14838 fi
14839
14840
14841
14842
14843
14844
14845
14846 fi # test -n "$compiler"
14847
14848 CC=$lt_save_CC
14849 LDCXX=$LD
14850 LD=$lt_save_LD
14851 GCC=$lt_save_GCC
14852 with_gnu_ld=$lt_save_with_gnu_ld
14853 lt_cv_path_LDCXX=$lt_cv_path_LD
14854 lt_cv_path_LD=$lt_save_path_LD
14855 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14856 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14857 fi # test "$_lt_caught_CXX_error" != yes
14858
14859 ac_ext=c
14860 ac_cpp='$CPP $CPPFLAGS'
14861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14864
14865
14866
14867
14868
14869
14870
14871
14872
14873
14874
14875
14876
14877 ac_config_commands="$ac_config_commands libtool"
14878
14879
14880
14881
14882 # Only expand once:
14883
14884
14885
14886
14887
14888 case $host in
14889 *-cygwin* | *-mingw*)
14890 # 'host' will be top-level target in the case of a target lib,
14891 # we must compare to with_cross_host to decide if this is a native
14892 # or cross-compiler and select where to install dlls appropriately.
14893 if test -n "$with_cross_host" &&
14894 test x"$with_cross_host" != x"no"; then
14895 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14896 else
14897 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14898 fi
14899 ;;
14900 *)
14901 lt_host_flags=
14902 ;;
14903 esac
14904
14905
14906
14907
14908
14909
14910 # libtool variables for C++ shared and position-independent compiles.
14911 #
14912 # Use glibcxx_lt_pic_flag to designate the automake variable
14913 # used to encapsulate the default libtool approach to creating objects
14914 # with position-independent code. Default: -prefer-pic.
14915 #
14916 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14917 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14918 #
14919 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14920 # creating position-independent objects. This varies with the target
14921 # hardware and operating system, but is often: -DPIC -fPIC.
14922 if test "$enable_shared" = yes; then
14923 glibcxx_lt_pic_flag="-prefer-pic"
14924 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14925 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14926
14927 else
14928 glibcxx_lt_pic_flag=
14929 glibcxx_compiler_pic_flag=
14930 glibcxx_compiler_shared_flag=
14931 fi
14932
14933
14934
14935
14936 # Override the libtool's pic_flag and pic_mode.
14937 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14938 # NB: this impacts --with-pic and --without-pic.
14939 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14940 pic_mode='default'
14941
14942 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14943 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14944
14945 # Possibly disable most of the library.
14946 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14947 ## than just ignoring the results. Faster /and/ more correct, win win.
14948
14949 # Check whether --enable-hosted-libstdcxx was given.
14950 if test "${enable_hosted_libstdcxx+set}" = set; then :
14951 enableval=$enable_hosted_libstdcxx;
14952 else
14953 case "$host" in
14954 arm*-*-symbianelf*)
14955 enable_hosted_libstdcxx=no
14956 ;;
14957 *)
14958 enable_hosted_libstdcxx=yes
14959 ;;
14960 esac
14961 fi
14962
14963 if test "$enable_hosted_libstdcxx" = no; then
14964 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14965 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14966 is_hosted=no
14967 hosted_define=0
14968 enable_abi_check=no
14969 enable_libstdcxx_pch=no
14970 else
14971 is_hosted=yes
14972 hosted_define=1
14973 fi
14974
14975
14976 cat >>confdefs.h <<_ACEOF
14977 #define _GLIBCXX_HOSTED $hosted_define
14978 _ACEOF
14979
14980
14981
14982 # Enable descriptive messages to standard output on termination.
14983
14984 # Check whether --enable-libstdcxx-verbose was given.
14985 if test "${enable_libstdcxx_verbose+set}" = set; then :
14986 enableval=$enable_libstdcxx_verbose;
14987 else
14988 enable_libstdcxx_verbose=yes
14989 fi
14990
14991 if test x"$enable_libstdcxx_verbose" = xyes; then
14992 verbose_define=1
14993 else
14994 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
14995 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
14996 verbose_define=0
14997 fi
14998
14999 cat >>confdefs.h <<_ACEOF
15000 #define _GLIBCXX_VERBOSE $verbose_define
15001 _ACEOF
15002
15003
15004
15005 # Enable compiler support that doesn't require linking.
15006
15007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15008 $as_echo_n "checking for exception model to use... " >&6; }
15009
15010 ac_ext=cpp
15011 ac_cpp='$CXXCPP $CPPFLAGS'
15012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15015
15016 # Check whether --enable-sjlj-exceptions was given.
15017 if test "${enable_sjlj_exceptions+set}" = set; then :
15018 enableval=$enable_sjlj_exceptions;
15019 case "$enableval" in
15020 yes|no|auto) ;;
15021 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15022 esac
15023
15024 else
15025 enable_sjlj_exceptions=auto
15026 fi
15027
15028
15029
15030 if test $enable_sjlj_exceptions = auto; then
15031 # Botheration. Now we've got to detect the exception model. Link tests
15032 # against libgcc.a are problematic since we've not been given proper -L
15033 # bits for single-tree newlib and libgloss.
15034 #
15035 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15036 cat > conftest.$ac_ext << EOF
15037 #line 15037 "configure"
15038 struct S { ~S(); };
15039 void bar();
15040 void foo()
15041 {
15042 S s;
15043 bar();
15044 }
15045 EOF
15046 old_CXXFLAGS="$CXXFLAGS"
15047 CXXFLAGS=-S
15048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15049 (eval $ac_compile) 2>&5
15050 ac_status=$?
15051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15052 test $ac_status = 0; }; then
15053 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15054 enable_sjlj_exceptions=yes
15055 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15056 enable_sjlj_exceptions=no
15057 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15058 enable_sjlj_exceptions=no
15059 fi
15060 fi
15061 CXXFLAGS="$old_CXXFLAGS"
15062 rm -f conftest*
15063 fi
15064
15065 # This is a tad weird, for hysterical raisins. We have to map
15066 # enable/disable to two different models.
15067 case $enable_sjlj_exceptions in
15068 yes)
15069
15070 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15071
15072 ac_exception_model_name=sjlj
15073 ;;
15074 no)
15075 ac_exception_model_name="call frame"
15076 ;;
15077 *)
15078 as_fn_error "unable to detect exception model" "$LINENO" 5
15079 ;;
15080 esac
15081 ac_ext=c
15082 ac_cpp='$CPP $CPPFLAGS'
15083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15086
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15088 $as_echo "$ac_exception_model_name" >&6; }
15089
15090
15091 # Check whether --enable-libstdcxx-pch was given.
15092 if test "${enable_libstdcxx_pch+set}" = set; then :
15093 enableval=$enable_libstdcxx_pch;
15094 case "$enableval" in
15095 yes|no) ;;
15096 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15097 esac
15098
15099 else
15100 enable_libstdcxx_pch=$is_hosted
15101 fi
15102
15103
15104 if test $enable_libstdcxx_pch = yes; then
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15106 $as_echo_n "checking for compiler with PCH support... " >&6; }
15107 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15108 $as_echo_n "(cached) " >&6
15109 else
15110 ac_save_CXXFLAGS="$CXXFLAGS"
15111 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15112
15113 ac_ext=cpp
15114 ac_cpp='$CXXCPP $CPPFLAGS'
15115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15118
15119 echo '#include <math.h>' > conftest.h
15120 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15121 -o conftest.h.gch 1>&5 2>&1 &&
15122 echo '#error "pch failed"' > conftest.h &&
15123 echo '#include "conftest.h"' > conftest.cc &&
15124 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15125 then
15126 glibcxx_cv_prog_CXX_pch=yes
15127 else
15128 glibcxx_cv_prog_CXX_pch=no
15129 fi
15130 rm -f conftest*
15131 CXXFLAGS=$ac_save_CXXFLAGS
15132 ac_ext=c
15133 ac_cpp='$CPP $CPPFLAGS'
15134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15137
15138
15139 fi
15140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15141 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15142 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15143 fi
15144
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15146 $as_echo_n "checking for enabled PCH... " >&6; }
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15148 $as_echo "$enable_libstdcxx_pch" >&6; }
15149
15150
15151 if test $enable_libstdcxx_pch = yes; then
15152 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15153 else
15154 glibcxx_PCHFLAGS=""
15155 fi
15156
15157
15158
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15160 $as_echo_n "checking for thread model used by GCC... " >&6; }
15161 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15163 $as_echo "$target_thread_file" >&6; }
15164
15165
15166
15167 ac_ext=cpp
15168 ac_cpp='$CXXCPP $CPPFLAGS'
15169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15172
15173 old_CXXFLAGS="$CXXFLAGS"
15174
15175 # Do link tests if possible, instead asm tests, limited to some platforms
15176 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15177 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15178 atomic_builtins_link_tests=no
15179 if test x$gcc_no_link != xyes; then
15180 # Can do link tests. Limit to some tested platforms
15181 case "$host" in
15182 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15183 atomic_builtins_link_tests=yes
15184 ;;
15185 esac
15186 fi
15187
15188 if test x$atomic_builtins_link_tests = xyes; then
15189
15190 # Do link tests.
15191
15192 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15193
15194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15195 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15196 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15197 $as_echo_n "(cached) " >&6
15198 else
15199
15200 if test x$gcc_no_link = xyes; then
15201 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15202 fi
15203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15204 /* end confdefs.h. */
15205
15206 int
15207 main ()
15208 {
15209 typedef bool atomic_type;
15210 atomic_type c1;
15211 atomic_type c2;
15212 atomic_type c3(0);
15213 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15214 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15215 __ATOMIC_RELAXED);
15216 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15217 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15218
15219 ;
15220 return 0;
15221 }
15222 _ACEOF
15223 if ac_fn_cxx_try_link "$LINENO"; then :
15224 glibcxx_cv_atomic_bool=yes
15225 else
15226 glibcxx_cv_atomic_bool=no
15227 fi
15228 rm -f core conftest.err conftest.$ac_objext \
15229 conftest$ac_exeext conftest.$ac_ext
15230
15231 fi
15232
15233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15234 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15235
15236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15237 $as_echo_n "checking for atomic builtins for short... " >&6; }
15238 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15239 $as_echo_n "(cached) " >&6
15240 else
15241
15242 if test x$gcc_no_link = xyes; then
15243 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15244 fi
15245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15246 /* end confdefs.h. */
15247
15248 int
15249 main ()
15250 {
15251 typedef short atomic_type;
15252 atomic_type c1;
15253 atomic_type c2;
15254 atomic_type c3(0);
15255 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15256 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15257 __ATOMIC_RELAXED);
15258 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15259 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15260
15261 ;
15262 return 0;
15263 }
15264 _ACEOF
15265 if ac_fn_cxx_try_link "$LINENO"; then :
15266 glibcxx_cv_atomic_short=yes
15267 else
15268 glibcxx_cv_atomic_short=no
15269 fi
15270 rm -f core conftest.err conftest.$ac_objext \
15271 conftest$ac_exeext conftest.$ac_ext
15272
15273 fi
15274
15275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15276 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15277
15278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15279 $as_echo_n "checking for atomic builtins for int... " >&6; }
15280 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15281 $as_echo_n "(cached) " >&6
15282 else
15283
15284 if test x$gcc_no_link = xyes; then
15285 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15286 fi
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15288 /* end confdefs.h. */
15289
15290 int
15291 main ()
15292 {
15293 typedef int atomic_type;
15294 atomic_type c1;
15295 atomic_type c2;
15296 atomic_type c3(0);
15297 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15298 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15299 __ATOMIC_RELAXED);
15300 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15301 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15302
15303 ;
15304 return 0;
15305 }
15306 _ACEOF
15307 if ac_fn_cxx_try_link "$LINENO"; then :
15308 glibcxx_cv_atomic_int=yes
15309 else
15310 glibcxx_cv_atomic_int=no
15311 fi
15312 rm -f core conftest.err conftest.$ac_objext \
15313 conftest$ac_exeext conftest.$ac_ext
15314
15315 fi
15316
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15318 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15319
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15321 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15322 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325
15326 if test x$gcc_no_link = xyes; then
15327 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15328 fi
15329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15330 /* end confdefs.h. */
15331
15332 int
15333 main ()
15334 {
15335 typedef long long atomic_type;
15336 atomic_type c1;
15337 atomic_type c2;
15338 atomic_type c3(0);
15339 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15340 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15341 __ATOMIC_RELAXED);
15342 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15343 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15344
15345 ;
15346 return 0;
15347 }
15348 _ACEOF
15349 if ac_fn_cxx_try_link "$LINENO"; then :
15350 glibcxx_cv_atomic_long_long=yes
15351 else
15352 glibcxx_cv_atomic_long_long=no
15353 fi
15354 rm -f core conftest.err conftest.$ac_objext \
15355 conftest$ac_exeext conftest.$ac_ext
15356
15357 fi
15358
15359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15360 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15361
15362 else
15363
15364 # Do asm tests.
15365
15366 # Compile unoptimized.
15367 CXXFLAGS='-O0 -S'
15368
15369 # Fake what AC_TRY_COMPILE does.
15370
15371 cat > conftest.$ac_ext << EOF
15372 #line 15372 "configure"
15373 int main()
15374 {
15375 typedef bool atomic_type;
15376 atomic_type c1;
15377 atomic_type c2;
15378 atomic_type c3(0);
15379 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15380 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15381 __ATOMIC_RELAXED);
15382 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15383 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15384
15385 return 0;
15386 }
15387 EOF
15388
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15390 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15391 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15392 (eval $ac_compile) 2>&5
15393 ac_status=$?
15394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15395 test $ac_status = 0; }; then
15396 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15397 glibcxx_cv_atomic_bool=no
15398 else
15399 glibcxx_cv_atomic_bool=yes
15400 fi
15401 fi
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15403 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15404 rm -f conftest*
15405
15406 cat > conftest.$ac_ext << EOF
15407 #line 15407 "configure"
15408 int main()
15409 {
15410 typedef short atomic_type;
15411 atomic_type c1;
15412 atomic_type c2;
15413 atomic_type c3(0);
15414 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15415 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15416 __ATOMIC_RELAXED);
15417 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15418 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15419
15420 return 0;
15421 }
15422 EOF
15423
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15425 $as_echo_n "checking for atomic builtins for short... " >&6; }
15426 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15427 (eval $ac_compile) 2>&5
15428 ac_status=$?
15429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15430 test $ac_status = 0; }; then
15431 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15432 glibcxx_cv_atomic_short=no
15433 else
15434 glibcxx_cv_atomic_short=yes
15435 fi
15436 fi
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15438 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15439 rm -f conftest*
15440
15441 cat > conftest.$ac_ext << EOF
15442 #line 15442 "configure"
15443 int main()
15444 {
15445 // NB: _Atomic_word not necessarily int.
15446 typedef int atomic_type;
15447 atomic_type c1;
15448 atomic_type c2;
15449 atomic_type c3(0);
15450 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15451 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15452 __ATOMIC_RELAXED);
15453 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15454 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15455
15456 return 0;
15457 }
15458 EOF
15459
15460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15461 $as_echo_n "checking for atomic builtins for int... " >&6; }
15462 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15463 (eval $ac_compile) 2>&5
15464 ac_status=$?
15465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15466 test $ac_status = 0; }; then
15467 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15468 glibcxx_cv_atomic_int=no
15469 else
15470 glibcxx_cv_atomic_int=yes
15471 fi
15472 fi
15473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15474 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15475 rm -f conftest*
15476
15477 cat > conftest.$ac_ext << EOF
15478 #line 15478 "configure"
15479 int main()
15480 {
15481 typedef long long atomic_type;
15482 atomic_type c1;
15483 atomic_type c2;
15484 atomic_type c3(0);
15485 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15486 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15487 __ATOMIC_RELAXED);
15488 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15489 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15490
15491 return 0;
15492 }
15493 EOF
15494
15495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15496 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15497 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15498 (eval $ac_compile) 2>&5
15499 ac_status=$?
15500 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15501 test $ac_status = 0; }; then
15502 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15503 glibcxx_cv_atomic_long_long=no
15504 else
15505 glibcxx_cv_atomic_long_long=yes
15506 fi
15507 fi
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15509 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15510 rm -f conftest*
15511
15512 fi
15513
15514 CXXFLAGS="$old_CXXFLAGS"
15515 ac_ext=c
15516 ac_cpp='$CPP $CPPFLAGS'
15517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15520
15521
15522 # Set atomicity_dir to builtins if all but the long long test above passes.
15523 if test $glibcxx_cv_atomic_bool = yes \
15524 && test $glibcxx_cv_atomic_short = yes \
15525 && test $glibcxx_cv_atomic_int = yes; then
15526
15527 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15528
15529 atomicity_dir=cpu/generic/atomicity_builtins
15530 fi
15531
15532 # If still generic, set to mutex.
15533 if test $atomicity_dir = "cpu/generic" ; then
15534 atomicity_dir=cpu/generic/atomicity_mutex
15535 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15536 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15537 if test "x$target_thread_file" = xsingle; then
15538 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15539 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15541 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15542 else
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15544 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15546 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15547 fi
15548 fi
15549
15550
15551
15552
15553 # Fake what AC_TRY_COMPILE does, without linking as this is
15554 # unnecessary for this test.
15555
15556 cat > conftest.$ac_ext << EOF
15557 #line 15557 "configure"
15558 int main()
15559 {
15560 _Decimal32 d1;
15561 _Decimal64 d2;
15562 _Decimal128 d3;
15563 return 0;
15564 }
15565 EOF
15566
15567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15568 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15569 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15570 (eval $ac_compile) 2>&5
15571 ac_status=$?
15572 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15573 test $ac_status = 0; }; then
15574
15575 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15576
15577 enable_dfp=yes
15578 else
15579 enable_dfp=no
15580 fi
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15582 $as_echo "$enable_dfp" >&6; }
15583 rm -f conftest*
15584
15585
15586
15587
15588 ac_ext=cpp
15589 ac_cpp='$CXXCPP $CPPFLAGS'
15590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15593
15594
15595 # Fake what AC_TRY_COMPILE does, without linking as this is
15596 # unnecessary for this test.
15597
15598 cat > conftest.$ac_ext << EOF
15599 #line 15599 "configure"
15600 template<typename T1, typename T2>
15601 struct same
15602 { typedef T2 type; };
15603
15604 template<typename T>
15605 struct same<T, T>;
15606
15607 int main()
15608 {
15609 typename same<long, __int128>::type i1;
15610 typename same<long long, __int128>::type i2;
15611 }
15612 EOF
15613
15614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15615 $as_echo_n "checking for __int128... " >&6; }
15616 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15617 (eval $ac_compile) 2>&5
15618 ac_status=$?
15619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15620 test $ac_status = 0; }; then
15621
15622 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15623
15624 enable_int128=yes
15625 else
15626 enable_int128=no
15627 fi
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15629 $as_echo "$enable_int128" >&6; }
15630 rm -f conftest*
15631
15632 cat > conftest.$ac_ext << EOF
15633 #line 15633 "configure"
15634 template<typename T1, typename T2>
15635 struct same
15636 { typedef T2 type; };
15637
15638 template<typename T>
15639 struct same<T, T>;
15640
15641 int main()
15642 {
15643 typename same<double, __float128>::type f1;
15644 typename same<long double, __float128>::type f2;
15645 }
15646 EOF
15647
15648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15649 $as_echo_n "checking for __float128... " >&6; }
15650 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15651 (eval $ac_compile) 2>&5
15652 ac_status=$?
15653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15654 test $ac_status = 0; }; then
15655
15656 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15657
15658 enable_float128=yes
15659 else
15660 enable_float128=no
15661 fi
15662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15663 $as_echo "$enable_float128" >&6; }
15664 rm -f conftest*
15665
15666 ac_ext=c
15667 ac_cpp='$CPP $CPPFLAGS'
15668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15671
15672
15673
15674 # Checks for compiler support that doesn't require linking.
15675
15676 # All these tests are for C++; save the language and the compiler flags.
15677 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15678 # found in GLIBCXX_CONFIGURE.
15679
15680 ac_ext=cpp
15681 ac_cpp='$CXXCPP $CPPFLAGS'
15682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15685
15686 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15687 ac_save_CXXFLAGS="$CXXFLAGS"
15688
15689 # Check for maintainer-mode bits.
15690 if test x"$USE_MAINTAINER_MODE" = xno; then
15691 WERROR=''
15692 else
15693 WERROR='-Werror'
15694 fi
15695
15696 # Check for -ffunction-sections -fdata-sections
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15698 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15699 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15701 /* end confdefs.h. */
15702 int foo; void bar() { };
15703 int
15704 main ()
15705 {
15706
15707 ;
15708 return 0;
15709 }
15710 _ACEOF
15711 if ac_fn_cxx_try_compile "$LINENO"; then :
15712 ac_fdsections=yes
15713 else
15714 ac_fdsections=no
15715 fi
15716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15717 if test "$ac_test_CXXFLAGS" = set; then
15718 CXXFLAGS="$ac_save_CXXFLAGS"
15719 else
15720 # this is the suspicious part
15721 CXXFLAGS=''
15722 fi
15723 if test x"$ac_fdsections" = x"yes"; then
15724 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15725 fi
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15727 $as_echo "$ac_fdsections" >&6; }
15728
15729 ac_ext=c
15730 ac_cpp='$CPP $CPPFLAGS'
15731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15734
15735
15736
15737
15738
15739 # Enable all the variable C++ runtime options that don't require linking.
15740
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15742 $as_echo_n "checking for underlying I/O to use... " >&6; }
15743 # Check whether --enable-cstdio was given.
15744 if test "${enable_cstdio+set}" = set; then :
15745 enableval=$enable_cstdio;
15746 case "$enableval" in
15747 stdio) ;;
15748 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15749 esac
15750
15751 else
15752 enable_cstdio=stdio
15753 fi
15754
15755
15756
15757 # Now that libio has been removed, you can have any color you want as long
15758 # as it's black. This is one big no-op until other packages are added, but
15759 # showing the framework never hurts.
15760 case ${enable_cstdio} in
15761 stdio)
15762 CSTDIO_H=config/io/c_io_stdio.h
15763 BASIC_FILE_H=config/io/basic_file_stdio.h
15764 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15766 $as_echo "stdio" >&6; }
15767 ;;
15768 esac
15769
15770
15771
15772
15773
15774
15775 # Check whether --enable-clocale was given.
15776 if test "${enable_clocale+set}" = set; then :
15777 enableval=$enable_clocale;
15778 case "$enableval" in
15779 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15780 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15781 esac
15782
15783 else
15784 enable_clocale=auto
15785 fi
15786
15787
15788
15789 # Deal with gettext issues. Default to not using it (=no) until we detect
15790 # support for it later. Let the user turn it off via --e/d, but let that
15791 # default to on for easier handling.
15792 USE_NLS=no
15793 # Check whether --enable-nls was given.
15794 if test "${enable_nls+set}" = set; then :
15795 enableval=$enable_nls;
15796 else
15797 enable_nls=yes
15798 fi
15799
15800
15801 # Either a known package, or "auto"
15802 if test $enable_clocale = no || test $enable_clocale = yes; then
15803 enable_clocale=auto
15804 fi
15805 enable_clocale_flag=$enable_clocale
15806
15807 # Probe for locale model to use if none specified.
15808 # Default to "generic".
15809 if test $enable_clocale_flag = auto; then
15810 case ${target_os} in
15811 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15812 enable_clocale_flag=gnu
15813 ;;
15814 darwin* | freebsd*)
15815 enable_clocale_flag=darwin
15816 ;;
15817 *)
15818 if test x"$with_newlib" = x"yes"; then
15819 enable_clocale_flag=newlib
15820 else
15821 enable_clocale_flag=generic
15822 fi
15823 ;;
15824 esac
15825 fi
15826
15827 # Sanity check model, and test for special functionality.
15828 if test $enable_clocale_flag = gnu; then
15829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15830 /* end confdefs.h. */
15831
15832 #include <features.h>
15833 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15834 _GLIBCXX_ok
15835 #endif
15836
15837 _ACEOF
15838 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15839 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15840 enable_clocale_flag=gnu
15841 else
15842 enable_clocale_flag=generic
15843 fi
15844 rm -f conftest*
15845
15846
15847 # Set it to scream when it hurts.
15848 ac_save_CFLAGS="$CFLAGS"
15849 CFLAGS="-Wimplicit-function-declaration -Werror"
15850
15851 # Use strxfrm_l if available.
15852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15853 /* end confdefs.h. */
15854 #define _GNU_SOURCE 1
15855 #include <string.h>
15856 #include <locale.h>
15857 int
15858 main ()
15859 {
15860 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15861 ;
15862 return 0;
15863 }
15864 _ACEOF
15865 if ac_fn_c_try_compile "$LINENO"; then :
15866
15867 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15868
15869 fi
15870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15871
15872 # Use strerror_l if available.
15873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15875 #define _GNU_SOURCE 1
15876 #include <string.h>
15877 #include <locale.h>
15878 int
15879 main ()
15880 {
15881 __locale_t loc; strerror_l(5, loc);
15882 ;
15883 return 0;
15884 }
15885 _ACEOF
15886 if ac_fn_c_try_compile "$LINENO"; then :
15887
15888 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15889
15890 fi
15891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15892
15893 CFLAGS="$ac_save_CFLAGS"
15894 fi
15895
15896 # Perhaps use strerror_r if available, and strerror_l isn't.
15897 ac_save_CFLAGS="$CFLAGS"
15898 CFLAGS="-Wimplicit-function-declaration -Werror"
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 #define _GNU_SOURCE 1
15902 #include <string.h>
15903 #include <locale.h>
15904 int
15905 main ()
15906 {
15907 char s[128]; strerror_r(5, s, 128);
15908 ;
15909 return 0;
15910 }
15911 _ACEOF
15912 if ac_fn_c_try_compile "$LINENO"; then :
15913
15914 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15915
15916 fi
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15918 CFLAGS="$ac_save_CFLAGS"
15919
15920 # Set configure bits for specified locale package
15921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15922 $as_echo_n "checking for C locale to use... " >&6; }
15923 case ${enable_clocale_flag} in
15924 generic)
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15926 $as_echo "generic" >&6; }
15927
15928 CLOCALE_H=config/locale/generic/c_locale.h
15929 CLOCALE_CC=config/locale/generic/c_locale.cc
15930 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15931 CCOLLATE_CC=config/locale/generic/collate_members.cc
15932 CCTYPE_CC=config/locale/generic/ctype_members.cc
15933 CMESSAGES_H=config/locale/generic/messages_members.h
15934 CMESSAGES_CC=config/locale/generic/messages_members.cc
15935 CMONEY_CC=config/locale/generic/monetary_members.cc
15936 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15937 CTIME_H=config/locale/generic/time_members.h
15938 CTIME_CC=config/locale/generic/time_members.cc
15939 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15940 ;;
15941 darwin)
15942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15943 $as_echo "darwin or freebsd" >&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/darwin/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
15959 gnu)
15960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
15961 $as_echo "gnu" >&6; }
15962
15963 # Declare intention to use gettext, and add support for specific
15964 # languages.
15965 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15966 ALL_LINGUAS="de fr"
15967
15968 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15969 # Extract the first word of "msgfmt", so it can be a program name with args.
15970 set dummy msgfmt; ac_word=$2
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15972 $as_echo_n "checking for $ac_word... " >&6; }
15973 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
15974 $as_echo_n "(cached) " >&6
15975 else
15976 if test -n "$check_msgfmt"; then
15977 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15978 else
15979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15980 for as_dir in $PATH
15981 do
15982 IFS=$as_save_IFS
15983 test -z "$as_dir" && as_dir=.
15984 for ac_exec_ext in '' $ac_executable_extensions; do
15985 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15986 ac_cv_prog_check_msgfmt="yes"
15987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15988 break 2
15989 fi
15990 done
15991 done
15992 IFS=$as_save_IFS
15993
15994 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15995 fi
15996 fi
15997 check_msgfmt=$ac_cv_prog_check_msgfmt
15998 if test -n "$check_msgfmt"; then
15999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16000 $as_echo "$check_msgfmt" >&6; }
16001 else
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16003 $as_echo "no" >&6; }
16004 fi
16005
16006
16007 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16008 USE_NLS=yes
16009 fi
16010 # Export the build objects.
16011 for ling in $ALL_LINGUAS; do \
16012 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16013 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16014 done
16015
16016
16017
16018 CLOCALE_H=config/locale/gnu/c_locale.h
16019 CLOCALE_CC=config/locale/gnu/c_locale.cc
16020 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16021 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16022 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16023 CMESSAGES_H=config/locale/gnu/messages_members.h
16024 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16025 CMONEY_CC=config/locale/gnu/monetary_members.cc
16026 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16027 CTIME_H=config/locale/gnu/time_members.h
16028 CTIME_CC=config/locale/gnu/time_members.cc
16029 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16030 ;;
16031 ieee_1003.1-2001)
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16033 $as_echo "IEEE 1003.1" >&6; }
16034
16035 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16036 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16037 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16038 CCOLLATE_CC=config/locale/generic/collate_members.cc
16039 CCTYPE_CC=config/locale/generic/ctype_members.cc
16040 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16041 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16042 CMONEY_CC=config/locale/generic/monetary_members.cc
16043 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16044 CTIME_H=config/locale/generic/time_members.h
16045 CTIME_CC=config/locale/generic/time_members.cc
16046 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16047 ;;
16048 newlib)
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16050 $as_echo "newlib" >&6; }
16051
16052 CLOCALE_H=config/locale/generic/c_locale.h
16053 CLOCALE_CC=config/locale/generic/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/newlib/ctype_members.cc
16057 CMESSAGES_H=config/locale/generic/messages_members.h
16058 CMESSAGES_CC=config/locale/generic/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 esac
16066
16067 # This is where the testsuite looks for locale catalogs, using the
16068 # -DLOCALEDIR define during testsuite compilation.
16069 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16070
16071
16072 # A standalone libintl (e.g., GNU libintl) may be in use.
16073 if test $USE_NLS = yes; then
16074 for ac_header in libintl.h
16075 do :
16076 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16077 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16078 cat >>confdefs.h <<_ACEOF
16079 #define HAVE_LIBINTL_H 1
16080 _ACEOF
16081
16082 else
16083 USE_NLS=no
16084 fi
16085
16086 done
16087
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16089 $as_echo_n "checking for library containing gettext... " >&6; }
16090 if test "${ac_cv_search_gettext+set}" = set; then :
16091 $as_echo_n "(cached) " >&6
16092 else
16093 ac_func_search_save_LIBS=$LIBS
16094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16095 /* end confdefs.h. */
16096
16097 /* Override any GCC internal prototype to avoid an error.
16098 Use char because int might match the return type of a GCC
16099 builtin and then its argument prototype would still apply. */
16100 #ifdef __cplusplus
16101 extern "C"
16102 #endif
16103 char gettext ();
16104 int
16105 main ()
16106 {
16107 return gettext ();
16108 ;
16109 return 0;
16110 }
16111 _ACEOF
16112 for ac_lib in '' intl; do
16113 if test -z "$ac_lib"; then
16114 ac_res="none required"
16115 else
16116 ac_res=-l$ac_lib
16117 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16118 fi
16119 if test x$gcc_no_link = xyes; then
16120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16121 fi
16122 if ac_fn_c_try_link "$LINENO"; then :
16123 ac_cv_search_gettext=$ac_res
16124 fi
16125 rm -f core conftest.err conftest.$ac_objext \
16126 conftest$ac_exeext
16127 if test "${ac_cv_search_gettext+set}" = set; then :
16128 break
16129 fi
16130 done
16131 if test "${ac_cv_search_gettext+set}" = set; then :
16132
16133 else
16134 ac_cv_search_gettext=no
16135 fi
16136 rm conftest.$ac_ext
16137 LIBS=$ac_func_search_save_LIBS
16138 fi
16139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16140 $as_echo "$ac_cv_search_gettext" >&6; }
16141 ac_res=$ac_cv_search_gettext
16142 if test "$ac_res" != no; then :
16143 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16144
16145 else
16146 USE_NLS=no
16147 fi
16148
16149 fi
16150 if test $USE_NLS = yes; then
16151
16152 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16153
16154 fi
16155
16156
16157
16158
16159
16160
16161
16162
16163
16164
16165
16166
16167
16168
16169
16170
16171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16172 $as_echo_n "checking for std::allocator base class... " >&6; }
16173 # Check whether --enable-libstdcxx-allocator was given.
16174 if test "${enable_libstdcxx_allocator+set}" = set; then :
16175 enableval=$enable_libstdcxx_allocator;
16176 case "$enableval" in
16177 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16178 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16179 esac
16180
16181 else
16182 enable_libstdcxx_allocator=auto
16183 fi
16184
16185
16186
16187 # If they didn't use this option switch, or if they specified --enable
16188 # with no specific model, we'll have to look for one. If they
16189 # specified --disable (???), do likewise.
16190 if test $enable_libstdcxx_allocator = no ||
16191 test $enable_libstdcxx_allocator = yes;
16192 then
16193 enable_libstdcxx_allocator=auto
16194 fi
16195
16196 # Either a known package, or "auto". Auto implies the default choice
16197 # for a particular platform.
16198 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16199
16200 # Probe for host-specific support if no specific model is specified.
16201 # Default to "new".
16202 if test $enable_libstdcxx_allocator_flag = auto; then
16203 case ${target_os} in
16204 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16205 enable_libstdcxx_allocator_flag=new
16206 ;;
16207 *)
16208 enable_libstdcxx_allocator_flag=new
16209 ;;
16210 esac
16211 fi
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16213 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16214
16215
16216 # Set configure bits for specified locale package
16217 case ${enable_libstdcxx_allocator_flag} in
16218 bitmap)
16219 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16220 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16221 ;;
16222 malloc)
16223 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16224 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16225 ;;
16226 mt)
16227 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16228 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16229 ;;
16230 new)
16231 ALLOCATOR_H=config/allocator/new_allocator_base.h
16232 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16233 ;;
16234 pool)
16235 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16236 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16237 ;;
16238 esac
16239
16240
16241
16242
16243
16244 # Check whether --enable-cheaders was given.
16245 if test "${enable_cheaders+set}" = set; then :
16246 enableval=$enable_cheaders;
16247 case "$enableval" in
16248 c|c_std|c_global) ;;
16249 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16250 esac
16251
16252 else
16253 enable_cheaders=$c_model
16254 fi
16255
16256
16257 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16258 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16259
16260 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16261
16262 # Allow overrides to configure.host here.
16263 if test $enable_cheaders = c_global; then
16264 c_compatibility=yes
16265 fi
16266
16267
16268
16269
16270
16271
16272
16273 # Check whether --enable-long-long was given.
16274 if test "${enable_long_long+set}" = set; then :
16275 enableval=$enable_long_long;
16276 case "$enableval" in
16277 yes|no) ;;
16278 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16279 esac
16280
16281 else
16282 enable_long_long=yes
16283 fi
16284
16285
16286 if test $enable_long_long = yes; then
16287
16288 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16289
16290 fi
16291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16292 $as_echo_n "checking for enabled long long specializations... " >&6; }
16293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16294 $as_echo "$enable_long_long" >&6; }
16295
16296
16297 # Check whether --enable-wchar_t was given.
16298 if test "${enable_wchar_t+set}" = set; then :
16299 enableval=$enable_wchar_t;
16300 case "$enableval" in
16301 yes|no) ;;
16302 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16303 esac
16304
16305 else
16306 enable_wchar_t=yes
16307 fi
16308
16309
16310
16311 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16312 for ac_header in wchar.h
16313 do :
16314 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16315 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16316 cat >>confdefs.h <<_ACEOF
16317 #define HAVE_WCHAR_H 1
16318 _ACEOF
16319 ac_has_wchar_h=yes
16320 else
16321 ac_has_wchar_h=no
16322 fi
16323
16324 done
16325
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16327 $as_echo_n "checking for mbstate_t... " >&6; }
16328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16329 /* end confdefs.h. */
16330 #include <wchar.h>
16331 int
16332 main ()
16333 {
16334 mbstate_t teststate;
16335 ;
16336 return 0;
16337 }
16338 _ACEOF
16339 if ac_fn_c_try_compile "$LINENO"; then :
16340 have_mbstate_t=yes
16341 else
16342 have_mbstate_t=no
16343 fi
16344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16346 $as_echo "$have_mbstate_t" >&6; }
16347 if test x"$have_mbstate_t" = xyes; then
16348
16349 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16350
16351 fi
16352
16353 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16354 # ac_has_wchar_h.
16355 for ac_header in wctype.h
16356 do :
16357 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16358 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16359 cat >>confdefs.h <<_ACEOF
16360 #define HAVE_WCTYPE_H 1
16361 _ACEOF
16362 ac_has_wctype_h=yes
16363 else
16364 ac_has_wctype_h=no
16365 fi
16366
16367 done
16368
16369
16370 if test x"$enable_wchar_t" = x"yes"; then
16371
16372
16373 ac_ext=cpp
16374 ac_cpp='$CXXCPP $CPPFLAGS'
16375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16378
16379
16380 if test x"$ac_has_wchar_h" = xyes &&
16381 test x"$ac_has_wctype_h" = xyes; then
16382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16383 /* end confdefs.h. */
16384 #include <wchar.h>
16385 #include <stddef.h>
16386 wint_t i;
16387 long l = WEOF;
16388 long j = WCHAR_MIN;
16389 long k = WCHAR_MAX;
16390 namespace test
16391 {
16392 using ::btowc;
16393 using ::fgetwc;
16394 using ::fgetws;
16395 using ::fputwc;
16396 using ::fputws;
16397 using ::fwide;
16398 using ::fwprintf;
16399 using ::fwscanf;
16400 using ::getwc;
16401 using ::getwchar;
16402 using ::mbrlen;
16403 using ::mbrtowc;
16404 using ::mbsinit;
16405 using ::mbsrtowcs;
16406 using ::putwc;
16407 using ::putwchar;
16408 using ::swprintf;
16409 using ::swscanf;
16410 using ::ungetwc;
16411 using ::vfwprintf;
16412 using ::vswprintf;
16413 using ::vwprintf;
16414 using ::wcrtomb;
16415 using ::wcscat;
16416 using ::wcschr;
16417 using ::wcscmp;
16418 using ::wcscoll;
16419 using ::wcscpy;
16420 using ::wcscspn;
16421 using ::wcsftime;
16422 using ::wcslen;
16423 using ::wcsncat;
16424 using ::wcsncmp;
16425 using ::wcsncpy;
16426 using ::wcspbrk;
16427 using ::wcsrchr;
16428 using ::wcsrtombs;
16429 using ::wcsspn;
16430 using ::wcsstr;
16431 using ::wcstod;
16432 using ::wcstok;
16433 using ::wcstol;
16434 using ::wcstoul;
16435 using ::wcsxfrm;
16436 using ::wctob;
16437 using ::wmemchr;
16438 using ::wmemcmp;
16439 using ::wmemcpy;
16440 using ::wmemmove;
16441 using ::wmemset;
16442 using ::wprintf;
16443 using ::wscanf;
16444 }
16445
16446 int
16447 main ()
16448 {
16449
16450 ;
16451 return 0;
16452 }
16453 _ACEOF
16454 if ac_fn_cxx_try_compile "$LINENO"; then :
16455
16456 else
16457 enable_wchar_t=no
16458 fi
16459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16460 else
16461 enable_wchar_t=no
16462 fi
16463
16464 ac_ext=c
16465 ac_cpp='$CPP $CPPFLAGS'
16466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16469
16470 fi
16471
16472 if test x"$enable_wchar_t" = x"yes"; then
16473
16474 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16475
16476 fi
16477
16478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16479 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16481 $as_echo "$enable_wchar_t" >&6; }
16482
16483
16484
16485 # Check whether --enable-c99 was given.
16486 if test "${enable_c99+set}" = set; then :
16487 enableval=$enable_c99;
16488 case "$enableval" in
16489 yes|no) ;;
16490 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16491 esac
16492
16493 else
16494 enable_c99=yes
16495 fi
16496
16497
16498
16499 if test x"$enable_c99" = x"yes"; then
16500
16501
16502 ac_ext=cpp
16503 ac_cpp='$CXXCPP $CPPFLAGS'
16504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16507
16508
16509 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16510 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16511 # spuriously enabled.
16512 # Long term, -std=c++0x could be even better, could manage to explicitely
16513 # request C99 facilities to the underlying C headers.
16514 ac_save_CXXFLAGS="$CXXFLAGS"
16515 CXXFLAGS="$CXXFLAGS -std=c++98"
16516 ac_save_LIBS="$LIBS"
16517 ac_save_gcc_no_link="$gcc_no_link"
16518
16519 if test x$gcc_no_link != xyes; then
16520 # Use -fno-exceptions to that the C driver can link these tests without
16521 # hitting undefined references to personality routines.
16522 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16524 $as_echo_n "checking for sin in -lm... " >&6; }
16525 if test "${ac_cv_lib_m_sin+set}" = set; then :
16526 $as_echo_n "(cached) " >&6
16527 else
16528 ac_check_lib_save_LIBS=$LIBS
16529 LIBS="-lm $LIBS"
16530 if test x$gcc_no_link = xyes; then
16531 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16532 fi
16533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16534 /* end confdefs.h. */
16535
16536 /* Override any GCC internal prototype to avoid an error.
16537 Use char because int might match the return type of a GCC
16538 builtin and then its argument prototype would still apply. */
16539 #ifdef __cplusplus
16540 extern "C"
16541 #endif
16542 char sin ();
16543 int
16544 main ()
16545 {
16546 return sin ();
16547 ;
16548 return 0;
16549 }
16550 _ACEOF
16551 if ac_fn_cxx_try_link "$LINENO"; then :
16552 ac_cv_lib_m_sin=yes
16553 else
16554 ac_cv_lib_m_sin=no
16555 fi
16556 rm -f core conftest.err conftest.$ac_objext \
16557 conftest$ac_exeext conftest.$ac_ext
16558 LIBS=$ac_check_lib_save_LIBS
16559 fi
16560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16561 $as_echo "$ac_cv_lib_m_sin" >&6; }
16562 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16563
16564 LIBS="$LIBS -lm"
16565
16566 else
16567
16568 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16569 gcc_no_link=yes
16570
16571 fi
16572
16573 fi
16574
16575 # Check for the existence of <math.h> functions used if C99 is enabled.
16576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16577 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16578 if test "${glibcxx_cv_c99_math+set}" = set; then :
16579 $as_echo_n "(cached) " >&6
16580 else
16581
16582 if test x$gcc_no_link = xyes; then
16583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16584 /* end confdefs.h. */
16585 #include <math.h>
16586 volatile double d1, d2;
16587 volatile int i;
16588 int
16589 main ()
16590 {
16591 i = fpclassify(d1);
16592 i = isfinite(d1);
16593 i = isinf(d1);
16594 i = isnan(d1);
16595 i = isnormal(d1);
16596 i = signbit(d1);
16597 i = isgreater(d1, d2);
16598 i = isgreaterequal(d1, d2);
16599 i = isless(d1, d2);
16600 i = islessequal(d1, d2);
16601 i = islessgreater(d1, d2);
16602 i = islessgreater(d1, d2);
16603 i = isunordered(d1, d2);
16604
16605 ;
16606 return 0;
16607 }
16608 _ACEOF
16609 if ac_fn_cxx_try_compile "$LINENO"; then :
16610 glibcxx_cv_c99_math=yes
16611 else
16612 glibcxx_cv_c99_math=no
16613 fi
16614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16615 else
16616 if test x$gcc_no_link = xyes; then
16617 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16618 fi
16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16621 #include <math.h>
16622 volatile double d1, d2;
16623 volatile int i;
16624 int
16625 main ()
16626 {
16627 i = fpclassify(d1);
16628 i = isfinite(d1);
16629 i = isinf(d1);
16630 i = isnan(d1);
16631 i = isnormal(d1);
16632 i = signbit(d1);
16633 i = isgreater(d1, d2);
16634 i = isgreaterequal(d1, d2);
16635 i = isless(d1, d2);
16636 i = islessequal(d1, d2);
16637 i = islessgreater(d1, d2);
16638 i = islessgreater(d1, d2);
16639 i = isunordered(d1, d2);
16640
16641 ;
16642 return 0;
16643 }
16644 _ACEOF
16645 if ac_fn_cxx_try_link "$LINENO"; then :
16646 glibcxx_cv_c99_math=yes
16647 else
16648 glibcxx_cv_c99_math=no
16649 fi
16650 rm -f core conftest.err conftest.$ac_objext \
16651 conftest$ac_exeext conftest.$ac_ext
16652 fi
16653
16654 fi
16655
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16657 $as_echo "$glibcxx_cv_c99_math" >&6; }
16658 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16659
16660 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16661
16662 fi
16663
16664 # Check for the existence of <complex.h> complex math functions.
16665 # This is necessary even though libstdc++ uses the builtin versions
16666 # of these functions, because if the builtin cannot be used, a reference
16667 # to the library function is emitted.
16668 for ac_header in tgmath.h
16669 do :
16670 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16671 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16672 cat >>confdefs.h <<_ACEOF
16673 #define HAVE_TGMATH_H 1
16674 _ACEOF
16675 ac_has_tgmath_h=yes
16676 else
16677 ac_has_tgmath_h=no
16678 fi
16679
16680 done
16681
16682 for ac_header in complex.h
16683 do :
16684 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16685 if test "x$ac_cv_header_complex_h" = x""yes; then :
16686 cat >>confdefs.h <<_ACEOF
16687 #define HAVE_COMPLEX_H 1
16688 _ACEOF
16689 ac_has_complex_h=yes
16690 else
16691 ac_has_complex_h=no
16692 fi
16693
16694 done
16695
16696 glibcxx_cv_c99_complex=no;
16697 if test x"$ac_has_complex_h" = x"yes"; then
16698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16699 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16700 if test x$gcc_no_link = xyes; then
16701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16702 /* end confdefs.h. */
16703 #include <complex.h>
16704 typedef __complex__ float float_type;
16705 typedef __complex__ double double_type;
16706 typedef __complex__ long double ld_type;
16707 volatile float_type tmpf;
16708 volatile double_type tmpd;
16709 volatile ld_type tmpld;
16710 volatile float f;
16711 volatile double d;
16712 volatile long double ld;
16713 int
16714 main ()
16715 {
16716 f = cabsf(tmpf);
16717 f = cargf(tmpf);
16718 tmpf = ccosf(tmpf);
16719 tmpf = ccoshf(tmpf);
16720 tmpf = cexpf(tmpf);
16721 tmpf = clogf(tmpf);
16722 tmpf = csinf(tmpf);
16723 tmpf = csinhf(tmpf);
16724 tmpf = csqrtf(tmpf);
16725 tmpf = ctanf(tmpf);
16726 tmpf = ctanhf(tmpf);
16727 tmpf = cpowf(tmpf, tmpf);
16728 tmpf = cprojf(tmpf);
16729 d = cabs(tmpd);
16730 d = carg(tmpd);
16731 tmpd = ccos(tmpd);
16732 tmpd = ccosh(tmpd);
16733 tmpd = cexp(tmpd);
16734 tmpd = clog(tmpd);
16735 tmpd = csin(tmpd);
16736 tmpd = csinh(tmpd);
16737 tmpd = csqrt(tmpd);
16738 tmpd = ctan(tmpd);
16739 tmpd = ctanh(tmpd);
16740 tmpd = cpow(tmpd, tmpd);
16741 tmpd = cproj(tmpd);
16742 ld = cabsl(tmpld);
16743 ld = cargl(tmpld);
16744 tmpld = ccosl(tmpld);
16745 tmpld = ccoshl(tmpld);
16746 tmpld = cexpl(tmpld);
16747 tmpld = clogl(tmpld);
16748 tmpld = csinl(tmpld);
16749 tmpld = csinhl(tmpld);
16750 tmpld = csqrtl(tmpld);
16751 tmpld = ctanl(tmpld);
16752 tmpld = ctanhl(tmpld);
16753 tmpld = cpowl(tmpld, tmpld);
16754 tmpld = cprojl(tmpld);
16755
16756 ;
16757 return 0;
16758 }
16759 _ACEOF
16760 if ac_fn_cxx_try_compile "$LINENO"; then :
16761 glibcxx_cv_c99_complex=yes
16762 else
16763 glibcxx_cv_c99_complex=no
16764 fi
16765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16766 else
16767 if test x$gcc_no_link = xyes; then
16768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16769 fi
16770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16771 /* end confdefs.h. */
16772 #include <complex.h>
16773 typedef __complex__ float float_type;
16774 typedef __complex__ double double_type;
16775 typedef __complex__ long double ld_type;
16776 volatile float_type tmpf;
16777 volatile double_type tmpd;
16778 volatile ld_type tmpld;
16779 volatile float f;
16780 volatile double d;
16781 volatile long double ld;
16782 int
16783 main ()
16784 {
16785 f = cabsf(tmpf);
16786 f = cargf(tmpf);
16787 tmpf = ccosf(tmpf);
16788 tmpf = ccoshf(tmpf);
16789 tmpf = cexpf(tmpf);
16790 tmpf = clogf(tmpf);
16791 tmpf = csinf(tmpf);
16792 tmpf = csinhf(tmpf);
16793 tmpf = csqrtf(tmpf);
16794 tmpf = ctanf(tmpf);
16795 tmpf = ctanhf(tmpf);
16796 tmpf = cpowf(tmpf, tmpf);
16797 tmpf = cprojf(tmpf);
16798 d = cabs(tmpd);
16799 d = carg(tmpd);
16800 tmpd = ccos(tmpd);
16801 tmpd = ccosh(tmpd);
16802 tmpd = cexp(tmpd);
16803 tmpd = clog(tmpd);
16804 tmpd = csin(tmpd);
16805 tmpd = csinh(tmpd);
16806 tmpd = csqrt(tmpd);
16807 tmpd = ctan(tmpd);
16808 tmpd = ctanh(tmpd);
16809 tmpd = cpow(tmpd, tmpd);
16810 tmpd = cproj(tmpd);
16811 ld = cabsl(tmpld);
16812 ld = cargl(tmpld);
16813 tmpld = ccosl(tmpld);
16814 tmpld = ccoshl(tmpld);
16815 tmpld = cexpl(tmpld);
16816 tmpld = clogl(tmpld);
16817 tmpld = csinl(tmpld);
16818 tmpld = csinhl(tmpld);
16819 tmpld = csqrtl(tmpld);
16820 tmpld = ctanl(tmpld);
16821 tmpld = ctanhl(tmpld);
16822 tmpld = cpowl(tmpld, tmpld);
16823 tmpld = cprojl(tmpld);
16824
16825 ;
16826 return 0;
16827 }
16828 _ACEOF
16829 if ac_fn_cxx_try_link "$LINENO"; then :
16830 glibcxx_cv_c99_complex=yes
16831 else
16832 glibcxx_cv_c99_complex=no
16833 fi
16834 rm -f core conftest.err conftest.$ac_objext \
16835 conftest$ac_exeext conftest.$ac_ext
16836 fi
16837 fi
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16839 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16840 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16841
16842 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16843
16844 fi
16845
16846 # Check for the existence in <stdio.h> of vscanf, et. al.
16847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16848 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16849 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16850 $as_echo_n "(cached) " >&6
16851 else
16852
16853 if test x$gcc_no_link = xyes; then
16854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16855 /* end confdefs.h. */
16856 #include <stdio.h>
16857 #include <stdarg.h>
16858 void foo(char* fmt, ...)
16859 {
16860 va_list args; va_start(args, fmt);
16861 vfscanf(stderr, "%i", args);
16862 vscanf("%i", args);
16863 vsnprintf(fmt, 0, "%i", args);
16864 vsscanf(fmt, "%i", args);
16865 }
16866 int
16867 main ()
16868 {
16869 snprintf("12", 0, "%i");
16870 ;
16871 return 0;
16872 }
16873 _ACEOF
16874 if ac_fn_cxx_try_compile "$LINENO"; then :
16875 glibcxx_cv_c99_stdio=yes
16876 else
16877 glibcxx_cv_c99_stdio=no
16878 fi
16879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16880 else
16881 if test x$gcc_no_link = xyes; then
16882 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16883 fi
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886 #include <stdio.h>
16887 #include <stdarg.h>
16888 void foo(char* fmt, ...)
16889 {
16890 va_list args; va_start(args, fmt);
16891 vfscanf(stderr, "%i", args);
16892 vscanf("%i", args);
16893 vsnprintf(fmt, 0, "%i", args);
16894 vsscanf(fmt, "%i", args);
16895 }
16896 int
16897 main ()
16898 {
16899 snprintf("12", 0, "%i");
16900 ;
16901 return 0;
16902 }
16903 _ACEOF
16904 if ac_fn_cxx_try_link "$LINENO"; then :
16905 glibcxx_cv_c99_stdio=yes
16906 else
16907 glibcxx_cv_c99_stdio=no
16908 fi
16909 rm -f core conftest.err conftest.$ac_objext \
16910 conftest$ac_exeext conftest.$ac_ext
16911 fi
16912
16913 fi
16914
16915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16916 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16917
16918 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16920 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16921 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16922 $as_echo_n "(cached) " >&6
16923 else
16924
16925 if test x$gcc_no_link = xyes; then
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h. */
16928 #include <stdlib.h>
16929 volatile float f;
16930 volatile long double ld;
16931 volatile unsigned long long ll;
16932 lldiv_t mydivt;
16933 int
16934 main ()
16935 {
16936 char* tmp;
16937 f = strtof("gnu", &tmp);
16938 ld = strtold("gnu", &tmp);
16939 ll = strtoll("gnu", &tmp, 10);
16940 ll = strtoull("gnu", &tmp, 10);
16941 ll = llabs(10);
16942 mydivt = lldiv(10,1);
16943 ll = mydivt.quot;
16944 ll = mydivt.rem;
16945 ll = atoll("10");
16946 _Exit(0);
16947
16948 ;
16949 return 0;
16950 }
16951 _ACEOF
16952 if ac_fn_cxx_try_compile "$LINENO"; then :
16953 glibcxx_cv_c99_stdlib=yes
16954 else
16955 glibcxx_cv_c99_stdlib=no
16956 fi
16957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16958 else
16959 if test x$gcc_no_link = xyes; then
16960 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16961 fi
16962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16963 /* end confdefs.h. */
16964 #include <stdlib.h>
16965 volatile float f;
16966 volatile long double ld;
16967 volatile unsigned long long ll;
16968 lldiv_t mydivt;
16969 int
16970 main ()
16971 {
16972 char* tmp;
16973 f = strtof("gnu", &tmp);
16974 ld = strtold("gnu", &tmp);
16975 ll = strtoll("gnu", &tmp, 10);
16976 ll = strtoull("gnu", &tmp, 10);
16977 ll = llabs(10);
16978 mydivt = lldiv(10,1);
16979 ll = mydivt.quot;
16980 ll = mydivt.rem;
16981 ll = atoll("10");
16982 _Exit(0);
16983
16984 ;
16985 return 0;
16986 }
16987 _ACEOF
16988 if ac_fn_cxx_try_link "$LINENO"; then :
16989 glibcxx_cv_c99_stdlib=yes
16990 else
16991 glibcxx_cv_c99_stdlib=no
16992 fi
16993 rm -f core conftest.err conftest.$ac_objext \
16994 conftest$ac_exeext conftest.$ac_ext
16995 fi
16996
16997 fi
16998
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17000 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17001
17002 # Check for the existence in <wchar.h> of wcstold, etc.
17003 glibcxx_cv_c99_wchar=no;
17004 if test x"$ac_has_wchar_h" = xyes &&
17005 test x"$ac_has_wctype_h" = xyes; then
17006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17007 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <wchar.h>
17011 namespace test
17012 {
17013 using ::wcstold;
17014 using ::wcstoll;
17015 using ::wcstoull;
17016 }
17017
17018 int
17019 main ()
17020 {
17021
17022 ;
17023 return 0;
17024 }
17025 _ACEOF
17026 if ac_fn_cxx_try_compile "$LINENO"; then :
17027 glibcxx_cv_c99_wchar=yes
17028 else
17029 glibcxx_cv_c99_wchar=no
17030 fi
17031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17032
17033 # Checks for wide character functions that may not be present.
17034 # Injection of these is wrapped with guard macros.
17035 # NB: only put functions here, instead of immediately above, if
17036 # absolutely necessary.
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #include <wchar.h>
17040 namespace test { using ::vfwscanf; }
17041 int
17042 main ()
17043 {
17044
17045 ;
17046 return 0;
17047 }
17048 _ACEOF
17049 if ac_fn_cxx_try_compile "$LINENO"; then :
17050
17051 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17052
17053 fi
17054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17055
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 #include <wchar.h>
17059 namespace test { using ::vswscanf; }
17060 int
17061 main ()
17062 {
17063
17064 ;
17065 return 0;
17066 }
17067 _ACEOF
17068 if ac_fn_cxx_try_compile "$LINENO"; then :
17069
17070 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17071
17072 fi
17073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17074
17075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17076 /* end confdefs.h. */
17077 #include <wchar.h>
17078 namespace test { using ::vwscanf; }
17079 int
17080 main ()
17081 {
17082
17083 ;
17084 return 0;
17085 }
17086 _ACEOF
17087 if ac_fn_cxx_try_compile "$LINENO"; then :
17088
17089 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17090
17091 fi
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093
17094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17095 /* end confdefs.h. */
17096 #include <wchar.h>
17097 namespace test { using ::wcstof; }
17098 int
17099 main ()
17100 {
17101
17102 ;
17103 return 0;
17104 }
17105 _ACEOF
17106 if ac_fn_cxx_try_compile "$LINENO"; then :
17107
17108 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17109
17110 fi
17111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17112
17113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17114 /* end confdefs.h. */
17115 #include <wctype.h>
17116 int
17117 main ()
17118 {
17119 wint_t t; int i = iswblank(t);
17120 ;
17121 return 0;
17122 }
17123 _ACEOF
17124 if ac_fn_cxx_try_compile "$LINENO"; then :
17125
17126 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17127
17128 fi
17129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130
17131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17132 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17133 fi
17134
17135 # Option parsed, now set things appropriately.
17136 if test x"$glibcxx_cv_c99_math" = x"no" ||
17137 test x"$glibcxx_cv_c99_complex" = x"no" ||
17138 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17139 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17140 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17141 enable_c99=no;
17142 else
17143
17144 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17145
17146 fi
17147
17148 gcc_no_link="$ac_save_gcc_no_link"
17149 LIBS="$ac_save_LIBS"
17150 CXXFLAGS="$ac_save_CXXFLAGS"
17151 ac_ext=c
17152 ac_cpp='$CPP $CPPFLAGS'
17153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17156
17157 fi
17158
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17160 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17162 $as_echo "$enable_c99" >&6; }
17163
17164
17165 # Check whether --enable-concept-checks was given.
17166 if test "${enable_concept_checks+set}" = set; then :
17167 enableval=$enable_concept_checks;
17168 case "$enableval" in
17169 yes|no) ;;
17170 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17171 esac
17172
17173 else
17174 enable_concept_checks=no
17175 fi
17176
17177
17178 if test $enable_concept_checks = yes; then
17179
17180 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17181
17182 fi
17183
17184
17185 # Check whether --enable-libstdcxx-debug-flags was given.
17186 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17187 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17188 xno | x) enable_libstdcxx_debug_flags= ;;
17189 x-*) ;;
17190 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17191 esac
17192 else
17193 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17194 fi
17195
17196
17197
17198 # Option parsed, now set things appropriately
17199 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17200
17201
17202 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17203 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17204
17205
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17207 $as_echo_n "checking for additional debug build... " >&6; }
17208 # Check whether --enable-libstdcxx-debug was given.
17209 if test "${enable_libstdcxx_debug+set}" = set; then :
17210 enableval=$enable_libstdcxx_debug;
17211 case "$enableval" in
17212 yes|no) ;;
17213 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17214 esac
17215
17216 else
17217 enable_libstdcxx_debug=no
17218 fi
17219
17220
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17222 $as_echo "$enable_libstdcxx_debug" >&6; }
17223
17224
17225
17226
17227 enable_parallel=no;
17228
17229 # See if configured libgomp/omp.h exists. (libgomp may be in
17230 # noconfigdirs but not explicitly disabled.)
17231 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17232 enable_parallel=yes;
17233 else
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17235 $as_echo "$as_me: target-libgomp not built" >&6;}
17236 fi
17237
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17239 $as_echo_n "checking for parallel mode support... " >&6; }
17240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17241 $as_echo "$enable_parallel" >&6; }
17242
17243
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17245 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17246 # Check whether --enable-cxx-flags was given.
17247 if test "${enable_cxx_flags+set}" = set; then :
17248 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17249 xno | x) enable_cxx_flags= ;;
17250 x-*) ;;
17251 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17252 esac
17253 else
17254 enable_cxx_flags=
17255 fi
17256
17257
17258
17259 # Run through flags (either default or command-line) and set anything
17260 # extra (e.g., #defines) that must accompany particular g++ options.
17261 if test -n "$enable_cxx_flags"; then
17262 for f in $enable_cxx_flags; do
17263 case "$f" in
17264 -fhonor-std) ;;
17265 -*) ;;
17266 *) # and we're trying to pass /what/ exactly?
17267 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17268 esac
17269 done
17270 fi
17271
17272 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17274 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17275
17276
17277
17278 # Check whether --enable-fully-dynamic-string was given.
17279 if test "${enable_fully_dynamic_string+set}" = set; then :
17280 enableval=$enable_fully_dynamic_string;
17281 case "$enableval" in
17282 yes|no) ;;
17283 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17284 esac
17285
17286 else
17287 enable_fully_dynamic_string=no
17288 fi
17289
17290
17291 if test $enable_fully_dynamic_string = yes; then
17292 enable_fully_dynamic_string_def=1
17293 else
17294 enable_fully_dynamic_string_def=0
17295 fi
17296
17297 cat >>confdefs.h <<_ACEOF
17298 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17299 _ACEOF
17300
17301
17302
17303
17304 # Check whether --enable-extern-template was given.
17305 if test "${enable_extern_template+set}" = set; then :
17306 enableval=$enable_extern_template;
17307 case "$enableval" in
17308 yes|no) ;;
17309 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17310 esac
17311
17312 else
17313 enable_extern_template=yes
17314 fi
17315
17316
17317
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17319 $as_echo_n "checking for extern template support... " >&6; }
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17321 $as_echo "$enable_extern_template" >&6; }
17322
17323
17324
17325
17326
17327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17328 $as_echo_n "checking for custom python install directory... " >&6; }
17329
17330 # Check whether --with-python-dir was given.
17331 if test "${with_python_dir+set}" = set; then :
17332 withval=$with_python_dir; with_python_dir=$withval
17333 else
17334 with_python_dir="no"
17335 fi
17336
17337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17338 $as_echo "${with_python_dir}" >&6; }
17339
17340 # Needed for installing Python modules during make install.
17341 python_mod_dir="${with_python_dir}"
17342
17343
17344
17345
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17347 $as_echo_n "checking for -Werror... " >&6; }
17348 # Check whether --enable-werror was given.
17349 if test "${enable_werror+set}" = set; then :
17350 enableval=$enable_werror;
17351 case "$enableval" in
17352 yes|no) ;;
17353 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17354 esac
17355
17356 else
17357 enable_werror=yes
17358 fi
17359
17360
17361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17362 $as_echo "$enable_werror" >&6; }
17363
17364
17365
17366 # Checks for operating systems support that doesn't require linking.
17367
17368
17369
17370 ac_ext=cpp
17371 ac_cpp='$CXXCPP $CPPFLAGS'
17372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17375
17376
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17378 $as_echo_n "checking for gets declaration... " >&6; }
17379 if test "${glibcxx_cv_gets+set}" = set; then :
17380 $as_echo_n "(cached) " >&6
17381 else
17382
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 #include <stdio.h>
17386 namespace test
17387 {
17388 using ::gets;
17389 }
17390
17391 _ACEOF
17392 if ac_fn_cxx_try_compile "$LINENO"; then :
17393 glibcxx_cv_gets=yes
17394 else
17395 glibcxx_cv_gets=no
17396
17397 fi
17398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17399 fi
17400
17401
17402 if test $glibcxx_cv_gets = yes; then
17403
17404 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17405
17406 fi
17407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17408 $as_echo "$glibcxx_cv_gets" >&6; }
17409
17410 ac_ext=c
17411 ac_cpp='$CPP $CPPFLAGS'
17412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17415
17416
17417
17418
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17420 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17421 if test "${glibcxx_cv_system_error1+set}" = set; then :
17422 $as_echo_n "(cached) " >&6
17423 else
17424
17425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426 /* end confdefs.h. */
17427 #include <errno.h>
17428 int
17429 main ()
17430 {
17431 int i = EOWNERDEAD;
17432 ;
17433 return 0;
17434 }
17435 _ACEOF
17436 if ac_fn_c_try_compile "$LINENO"; then :
17437 glibcxx_cv_system_error1=yes
17438 else
17439 glibcxx_cv_system_error1=no
17440 fi
17441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17442
17443 fi
17444
17445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17446 $as_echo "$glibcxx_cv_system_error1" >&6; }
17447 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17448
17449 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17450
17451 fi
17452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17453 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17454 if test "${glibcxx_cv_system_error2+set}" = set; then :
17455 $as_echo_n "(cached) " >&6
17456 else
17457
17458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17459 /* end confdefs.h. */
17460 #include <errno.h>
17461 int
17462 main ()
17463 {
17464 int i = ENOTRECOVERABLE;
17465 ;
17466 return 0;
17467 }
17468 _ACEOF
17469 if ac_fn_c_try_compile "$LINENO"; then :
17470 glibcxx_cv_system_error2=yes
17471 else
17472 glibcxx_cv_system_error2=no
17473 fi
17474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17475
17476 fi
17477
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17479 $as_echo "$glibcxx_cv_system_error2" >&6; }
17480 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17481
17482 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17483
17484 fi
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17486 $as_echo_n "checking for ENOLINK... " >&6; }
17487 if test "${glibcxx_cv_system_error3+set}" = set; then :
17488 $as_echo_n "(cached) " >&6
17489 else
17490
17491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17492 /* end confdefs.h. */
17493 #include <errno.h>
17494 int
17495 main ()
17496 {
17497 int i = ENOLINK;
17498 ;
17499 return 0;
17500 }
17501 _ACEOF
17502 if ac_fn_c_try_compile "$LINENO"; then :
17503 glibcxx_cv_system_error3=yes
17504 else
17505 glibcxx_cv_system_error3=no
17506 fi
17507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17508
17509 fi
17510
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17512 $as_echo "$glibcxx_cv_system_error3" >&6; }
17513 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17514
17515 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17516
17517 fi
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17519 $as_echo_n "checking for EPROTO... " >&6; }
17520 if test "${glibcxx_cv_system_error4+set}" = set; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17523
17524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17525 /* end confdefs.h. */
17526 #include <errno.h>
17527 int
17528 main ()
17529 {
17530 int i = EPROTO;
17531 ;
17532 return 0;
17533 }
17534 _ACEOF
17535 if ac_fn_c_try_compile "$LINENO"; then :
17536 glibcxx_cv_system_error4=yes
17537 else
17538 glibcxx_cv_system_error4=no
17539 fi
17540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17541
17542 fi
17543
17544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17545 $as_echo "$glibcxx_cv_system_error4" >&6; }
17546 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17547
17548 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17549
17550 fi
17551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17552 $as_echo_n "checking for ENODATA... " >&6; }
17553 if test "${glibcxx_cv_system_error5+set}" = set; then :
17554 $as_echo_n "(cached) " >&6
17555 else
17556
17557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17558 /* end confdefs.h. */
17559 #include <errno.h>
17560 int
17561 main ()
17562 {
17563 int i = ENODATA;
17564 ;
17565 return 0;
17566 }
17567 _ACEOF
17568 if ac_fn_c_try_compile "$LINENO"; then :
17569 glibcxx_cv_system_error5=yes
17570 else
17571 glibcxx_cv_system_error5=no
17572 fi
17573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17574
17575 fi
17576
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17578 $as_echo "$glibcxx_cv_system_error5" >&6; }
17579 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17580
17581 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17582
17583 fi
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17585 $as_echo_n "checking for ENOSR... " >&6; }
17586 if test "${glibcxx_cv_system_error6+set}" = set; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589
17590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17591 /* end confdefs.h. */
17592 #include <errno.h>
17593 int
17594 main ()
17595 {
17596 int i = ENOSR;
17597 ;
17598 return 0;
17599 }
17600 _ACEOF
17601 if ac_fn_c_try_compile "$LINENO"; then :
17602 glibcxx_cv_system_error6=yes
17603 else
17604 glibcxx_cv_system_error6=no
17605 fi
17606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17607
17608 fi
17609
17610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17611 $as_echo "$glibcxx_cv_system_error6" >&6; }
17612 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17613
17614 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17615
17616 fi
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17618 $as_echo_n "checking for ENOSTR... " >&6; }
17619 if test "${glibcxx_cv_system_error7+set}" = set; then :
17620 $as_echo_n "(cached) " >&6
17621 else
17622
17623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17624 /* end confdefs.h. */
17625 #include <errno.h>
17626 int
17627 main ()
17628 {
17629 int i = ENOSTR;
17630 ;
17631 return 0;
17632 }
17633 _ACEOF
17634 if ac_fn_c_try_compile "$LINENO"; then :
17635 glibcxx_cv_system_error7=yes
17636 else
17637 glibcxx_cv_system_error7=no
17638 fi
17639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17640
17641 fi
17642
17643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17644 $as_echo "$glibcxx_cv_system_error7" >&6; }
17645 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17646
17647 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17648
17649 fi
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17651 $as_echo_n "checking for ETIME... " >&6; }
17652 if test "${glibcxx_cv_system_error8+set}" = set; then :
17653 $as_echo_n "(cached) " >&6
17654 else
17655
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <errno.h>
17659 int
17660 main ()
17661 {
17662 int i = ETIME;
17663 ;
17664 return 0;
17665 }
17666 _ACEOF
17667 if ac_fn_c_try_compile "$LINENO"; then :
17668 glibcxx_cv_system_error8=yes
17669 else
17670 glibcxx_cv_system_error8=no
17671 fi
17672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17673
17674 fi
17675
17676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17677 $as_echo "$glibcxx_cv_system_error8" >&6; }
17678 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17679
17680 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17681
17682 fi
17683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17684 $as_echo_n "checking for EBADMSG... " >&6; }
17685 if test "${glibcxx_cv_system_error9+set}" = set; then :
17686 $as_echo_n "(cached) " >&6
17687 else
17688
17689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17690 /* end confdefs.h. */
17691 #include <errno.h>
17692 int
17693 main ()
17694 {
17695 int i = EBADMSG;
17696 ;
17697 return 0;
17698 }
17699 _ACEOF
17700 if ac_fn_c_try_compile "$LINENO"; then :
17701 glibcxx_cv_system_error9=yes
17702 else
17703 glibcxx_cv_system_error9=no
17704 fi
17705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17706
17707 fi
17708
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17710 $as_echo "$glibcxx_cv_system_error9" >&6; }
17711 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17712
17713 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17714
17715 fi
17716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17717 $as_echo_n "checking for ECANCELED... " >&6; }
17718 if test "${glibcxx_cv_system_error10+set}" = set; then :
17719 $as_echo_n "(cached) " >&6
17720 else
17721
17722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17723 /* end confdefs.h. */
17724 #include <errno.h>
17725 int
17726 main ()
17727 {
17728 int i = ECANCELED;
17729 ;
17730 return 0;
17731 }
17732 _ACEOF
17733 if ac_fn_c_try_compile "$LINENO"; then :
17734 glibcxx_cv_system_error10=yes
17735 else
17736 glibcxx_cv_system_error10=no
17737 fi
17738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17739
17740 fi
17741
17742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17743 $as_echo "$glibcxx_cv_system_error10" >&6; }
17744 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17745
17746 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17747
17748 fi
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17750 $as_echo_n "checking for EOVERFLOW... " >&6; }
17751 if test "${glibcxx_cv_system_error11+set}" = set; then :
17752 $as_echo_n "(cached) " >&6
17753 else
17754
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17757 #include <errno.h>
17758 int
17759 main ()
17760 {
17761 int i = EOVERFLOW;
17762 ;
17763 return 0;
17764 }
17765 _ACEOF
17766 if ac_fn_c_try_compile "$LINENO"; then :
17767 glibcxx_cv_system_error11=yes
17768 else
17769 glibcxx_cv_system_error11=no
17770 fi
17771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17772
17773 fi
17774
17775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17776 $as_echo "$glibcxx_cv_system_error11" >&6; }
17777 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17778
17779 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17780
17781 fi
17782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17783 $as_echo_n "checking for ENOTSUP... " >&6; }
17784 if test "${glibcxx_cv_system_error12+set}" = set; then :
17785 $as_echo_n "(cached) " >&6
17786 else
17787
17788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17789 /* end confdefs.h. */
17790 #include <errno.h>
17791 int
17792 main ()
17793 {
17794 int i = ENOTSUP;
17795 ;
17796 return 0;
17797 }
17798 _ACEOF
17799 if ac_fn_c_try_compile "$LINENO"; then :
17800 glibcxx_cv_system_error12=yes
17801 else
17802 glibcxx_cv_system_error12=no
17803 fi
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805
17806 fi
17807
17808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17809 $as_echo "$glibcxx_cv_system_error12" >&6; }
17810 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17811
17812 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17813
17814 fi
17815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17816 $as_echo_n "checking for EIDRM... " >&6; }
17817 if test "${glibcxx_cv_system_error13+set}" = set; then :
17818 $as_echo_n "(cached) " >&6
17819 else
17820
17821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17822 /* end confdefs.h. */
17823 #include <errno.h>
17824 int
17825 main ()
17826 {
17827 int i = EIDRM;
17828 ;
17829 return 0;
17830 }
17831 _ACEOF
17832 if ac_fn_c_try_compile "$LINENO"; then :
17833 glibcxx_cv_system_error13=yes
17834 else
17835 glibcxx_cv_system_error13=no
17836 fi
17837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17838
17839 fi
17840
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17842 $as_echo "$glibcxx_cv_system_error13" >&6; }
17843 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17844
17845 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17846
17847 fi
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17849 $as_echo_n "checking for ETXTBSY... " >&6; }
17850 if test "${glibcxx_cv_system_error14+set}" = set; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17853
17854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17855 /* end confdefs.h. */
17856 #include <errno.h>
17857 int
17858 main ()
17859 {
17860 int i = ETXTBSY;
17861 ;
17862 return 0;
17863 }
17864 _ACEOF
17865 if ac_fn_c_try_compile "$LINENO"; then :
17866 glibcxx_cv_system_error14=yes
17867 else
17868 glibcxx_cv_system_error14=no
17869 fi
17870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17871
17872 fi
17873
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17875 $as_echo "$glibcxx_cv_system_error14" >&6; }
17876 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17877
17878 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17879
17880 fi
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17882 $as_echo_n "checking for ECHILD... " >&6; }
17883 if test "${glibcxx_cv_system_error15+set}" = set; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17886
17887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17888 /* end confdefs.h. */
17889 #include <errno.h>
17890 int
17891 main ()
17892 {
17893 int i = ECHILD;
17894 ;
17895 return 0;
17896 }
17897 _ACEOF
17898 if ac_fn_c_try_compile "$LINENO"; then :
17899 glibcxx_cv_system_error15=yes
17900 else
17901 glibcxx_cv_system_error15=no
17902 fi
17903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17904
17905 fi
17906
17907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
17908 $as_echo "$glibcxx_cv_system_error15" >&6; }
17909 if test x"$glibcxx_cv_system_error15" = x"yes"; then
17910
17911 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
17912
17913 fi
17914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
17915 $as_echo_n "checking for ENOSPC... " >&6; }
17916 if test "${glibcxx_cv_system_error16+set}" = set; then :
17917 $as_echo_n "(cached) " >&6
17918 else
17919
17920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17921 /* end confdefs.h. */
17922 #include <errno.h>
17923 int
17924 main ()
17925 {
17926 int i = ENOSPC;
17927 ;
17928 return 0;
17929 }
17930 _ACEOF
17931 if ac_fn_c_try_compile "$LINENO"; then :
17932 glibcxx_cv_system_error16=yes
17933 else
17934 glibcxx_cv_system_error16=no
17935 fi
17936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17937
17938 fi
17939
17940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
17941 $as_echo "$glibcxx_cv_system_error16" >&6; }
17942 if test x"$glibcxx_cv_system_error16" = x"yes"; then
17943
17944 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
17945
17946 fi
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
17948 $as_echo_n "checking for EPERM... " >&6; }
17949 if test "${glibcxx_cv_system_error17+set}" = set; then :
17950 $as_echo_n "(cached) " >&6
17951 else
17952
17953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17954 /* end confdefs.h. */
17955 #include <errno.h>
17956 int
17957 main ()
17958 {
17959 int i = EPERM;
17960 ;
17961 return 0;
17962 }
17963 _ACEOF
17964 if ac_fn_c_try_compile "$LINENO"; then :
17965 glibcxx_cv_system_error17=yes
17966 else
17967 glibcxx_cv_system_error17=no
17968 fi
17969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17970
17971 fi
17972
17973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
17974 $as_echo "$glibcxx_cv_system_error17" >&6; }
17975 if test x"$glibcxx_cv_system_error17" = x"yes"; then
17976
17977 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
17978
17979 fi
17980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
17981 $as_echo_n "checking for ETIMEDOUT... " >&6; }
17982 if test "${glibcxx_cv_system_error18+set}" = set; then :
17983 $as_echo_n "(cached) " >&6
17984 else
17985
17986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17987 /* end confdefs.h. */
17988 #include <errno.h>
17989 int
17990 main ()
17991 {
17992 int i = ETIMEDOUT;
17993 ;
17994 return 0;
17995 }
17996 _ACEOF
17997 if ac_fn_c_try_compile "$LINENO"; then :
17998 glibcxx_cv_system_error18=yes
17999 else
18000 glibcxx_cv_system_error18=no
18001 fi
18002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18003
18004 fi
18005
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18007 $as_echo "$glibcxx_cv_system_error18" >&6; }
18008 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18009
18010 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18011
18012 fi
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18014 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18015 if test "${glibcxx_cv_system_error19+set}" = set; then :
18016 $as_echo_n "(cached) " >&6
18017 else
18018
18019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18020 /* end confdefs.h. */
18021 #include <errno.h>
18022 int
18023 main ()
18024 {
18025 int i = EWOULDBLOCK;
18026 ;
18027 return 0;
18028 }
18029 _ACEOF
18030 if ac_fn_c_try_compile "$LINENO"; then :
18031 glibcxx_cv_system_error19=yes
18032 else
18033 glibcxx_cv_system_error19=no
18034 fi
18035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18036
18037 fi
18038
18039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18040 $as_echo "$glibcxx_cv_system_error19" >&6; }
18041 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18042
18043 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18044
18045 fi
18046
18047
18048
18049 # For the streamoff typedef.
18050
18051
18052
18053 ac_ext=cpp
18054 ac_cpp='$CXXCPP $CPPFLAGS'
18055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18058
18059
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18061 $as_echo_n "checking for int64_t... " >&6; }
18062 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18063 $as_echo_n "(cached) " >&6
18064 else
18065
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18068 #include <stdint.h>
18069 int
18070 main ()
18071 {
18072 int64_t var;
18073 ;
18074 return 0;
18075 }
18076 _ACEOF
18077 if ac_fn_cxx_try_compile "$LINENO"; then :
18078 glibcxx_cv_INT64_T=yes
18079 else
18080 glibcxx_cv_INT64_T=no
18081 fi
18082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18083
18084 fi
18085
18086
18087 if test $glibcxx_cv_INT64_T = yes; then
18088
18089 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18090
18091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18092 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18093
18094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18095 $as_echo_n "checking for int64_t as long... " >&6; }
18096 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18097 $as_echo_n "(cached) " >&6
18098 else
18099
18100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18101 /* end confdefs.h. */
18102 #include <stdint.h>
18103 template<typename, typename> struct same { enum { value = -1 }; };
18104 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18105 int array[same<int64_t, long>::value];
18106 int
18107 main ()
18108 {
18109
18110 ;
18111 return 0;
18112 }
18113 _ACEOF
18114 if ac_fn_cxx_try_compile "$LINENO"; then :
18115 glibcxx_cv_int64_t_long=yes
18116 else
18117 glibcxx_cv_int64_t_long=no
18118 fi
18119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18120
18121 fi
18122
18123
18124 if test $glibcxx_cv_int64_t_long = yes; then
18125
18126 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18127
18128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18129 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18130 fi
18131
18132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18133 $as_echo_n "checking for int64_t as long long... " >&6; }
18134 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18135 $as_echo_n "(cached) " >&6
18136 else
18137
18138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18139 /* end confdefs.h. */
18140 #include <stdint.h>
18141 template<typename, typename> struct same { enum { value = -1 }; };
18142 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18143 int array[same<int64_t, long long>::value];
18144 int
18145 main ()
18146 {
18147
18148 ;
18149 return 0;
18150 }
18151 _ACEOF
18152 if ac_fn_cxx_try_compile "$LINENO"; then :
18153 glibcxx_cv_int64_t_long_long=yes
18154 else
18155 glibcxx_cv_int64_t_long_long=no
18156 fi
18157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18158
18159 fi
18160
18161
18162 if test $glibcxx_cv_int64_t_long_long = yes; then
18163
18164 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18165
18166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18167 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18168 fi
18169 fi
18170
18171 ac_ext=c
18172 ac_cpp='$CPP $CPPFLAGS'
18173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18176
18177
18178
18179 # For LFS support.
18180
18181
18182 ac_ext=cpp
18183 ac_cpp='$CXXCPP $CPPFLAGS'
18184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18187
18188 ac_save_CXXFLAGS="$CXXFLAGS"
18189 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18191 $as_echo_n "checking for LFS support... " >&6; }
18192 if test "${glibcxx_cv_LFS+set}" = set; then :
18193 $as_echo_n "(cached) " >&6
18194 else
18195
18196 if test x$gcc_no_link = xyes; then
18197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18198 /* end confdefs.h. */
18199 #include <unistd.h>
18200 #include <stdio.h>
18201 #include <sys/stat.h>
18202
18203 int
18204 main ()
18205 {
18206 FILE* fp;
18207 fopen64("t", "w");
18208 fseeko64(fp, 0, SEEK_CUR);
18209 ftello64(fp);
18210 lseek64(1, 0, SEEK_CUR);
18211 struct stat64 buf;
18212 fstat64(1, &buf);
18213 ;
18214 return 0;
18215 }
18216 _ACEOF
18217 if ac_fn_cxx_try_compile "$LINENO"; then :
18218 glibcxx_cv_LFS=yes
18219 else
18220 glibcxx_cv_LFS=no
18221 fi
18222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18223 else
18224 if test x$gcc_no_link = xyes; then
18225 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18226 fi
18227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h. */
18229 #include <unistd.h>
18230 #include <stdio.h>
18231 #include <sys/stat.h>
18232
18233 int
18234 main ()
18235 {
18236 FILE* fp;
18237 fopen64("t", "w");
18238 fseeko64(fp, 0, SEEK_CUR);
18239 ftello64(fp);
18240 lseek64(1, 0, SEEK_CUR);
18241 struct stat64 buf;
18242 fstat64(1, &buf);
18243 ;
18244 return 0;
18245 }
18246 _ACEOF
18247 if ac_fn_cxx_try_link "$LINENO"; then :
18248 glibcxx_cv_LFS=yes
18249 else
18250 glibcxx_cv_LFS=no
18251 fi
18252 rm -f core conftest.err conftest.$ac_objext \
18253 conftest$ac_exeext conftest.$ac_ext
18254 fi
18255
18256 fi
18257
18258 if test $glibcxx_cv_LFS = yes; then
18259
18260 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18261
18262 fi
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18264 $as_echo "$glibcxx_cv_LFS" >&6; }
18265 CXXFLAGS="$ac_save_CXXFLAGS"
18266 ac_ext=c
18267 ac_cpp='$CPP $CPPFLAGS'
18268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18271
18272
18273
18274 # For showmanyc_helper().
18275 for ac_header in sys/ioctl.h sys/filio.h
18276 do :
18277 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18278 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18279 eval as_val=\$$as_ac_Header
18280 if test "x$as_val" = x""yes; then :
18281 cat >>confdefs.h <<_ACEOF
18282 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18283 _ACEOF
18284
18285 fi
18286
18287 done
18288
18289
18290
18291
18292 ac_ext=cpp
18293 ac_cpp='$CXXCPP $CPPFLAGS'
18294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18297
18298 ac_save_CXXFLAGS="$CXXFLAGS"
18299 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18300
18301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18302 $as_echo_n "checking for poll... " >&6; }
18303 if test "${glibcxx_cv_POLL+set}" = set; then :
18304 $as_echo_n "(cached) " >&6
18305 else
18306
18307 if test x$gcc_no_link = xyes; then
18308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18309 /* end confdefs.h. */
18310 #include <poll.h>
18311 int
18312 main ()
18313 {
18314 struct pollfd pfd[1];
18315 pfd[0].events = POLLIN;
18316 poll(pfd, 1, 0);
18317 ;
18318 return 0;
18319 }
18320 _ACEOF
18321 if ac_fn_cxx_try_compile "$LINENO"; then :
18322 glibcxx_cv_POLL=yes
18323 else
18324 glibcxx_cv_POLL=no
18325 fi
18326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18327 else
18328 if test x$gcc_no_link = xyes; then
18329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18330 fi
18331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18332 /* end confdefs.h. */
18333 #include <poll.h>
18334 int
18335 main ()
18336 {
18337 struct pollfd pfd[1];
18338 pfd[0].events = POLLIN;
18339 poll(pfd, 1, 0);
18340 ;
18341 return 0;
18342 }
18343 _ACEOF
18344 if ac_fn_cxx_try_link "$LINENO"; then :
18345 glibcxx_cv_POLL=yes
18346 else
18347 glibcxx_cv_POLL=no
18348 fi
18349 rm -f core conftest.err conftest.$ac_objext \
18350 conftest$ac_exeext conftest.$ac_ext
18351 fi
18352
18353 fi
18354
18355 if test $glibcxx_cv_POLL = yes; then
18356
18357 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18358
18359 fi
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18361 $as_echo "$glibcxx_cv_POLL" >&6; }
18362
18363 CXXFLAGS="$ac_save_CXXFLAGS"
18364 ac_ext=c
18365 ac_cpp='$CPP $CPPFLAGS'
18366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18369
18370
18371
18372
18373
18374 ac_ext=cpp
18375 ac_cpp='$CXXCPP $CPPFLAGS'
18376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18379
18380 ac_save_CXXFLAGS="$CXXFLAGS"
18381 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18382
18383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18384 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18385 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18386 $as_echo_n "(cached) " >&6
18387 else
18388
18389 if test x$gcc_no_link = xyes; then
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18392 #include <sys/stat.h>
18393 int
18394 main ()
18395 {
18396 struct stat buffer;
18397 fstat(0, &buffer);
18398 S_ISREG(buffer.st_mode);
18399 ;
18400 return 0;
18401 }
18402 _ACEOF
18403 if ac_fn_cxx_try_compile "$LINENO"; then :
18404 glibcxx_cv_S_ISREG=yes
18405 else
18406 glibcxx_cv_S_ISREG=no
18407 fi
18408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18409 else
18410 if test x$gcc_no_link = xyes; then
18411 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18412 fi
18413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18414 /* end confdefs.h. */
18415 #include <sys/stat.h>
18416 int
18417 main ()
18418 {
18419 struct stat buffer;
18420 fstat(0, &buffer);
18421 S_ISREG(buffer.st_mode);
18422 ;
18423 return 0;
18424 }
18425 _ACEOF
18426 if ac_fn_cxx_try_link "$LINENO"; then :
18427 glibcxx_cv_S_ISREG=yes
18428 else
18429 glibcxx_cv_S_ISREG=no
18430 fi
18431 rm -f core conftest.err conftest.$ac_objext \
18432 conftest$ac_exeext conftest.$ac_ext
18433 fi
18434
18435 fi
18436
18437 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18438 $as_echo_n "(cached) " >&6
18439 else
18440
18441 if test x$gcc_no_link = xyes; then
18442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18443 /* end confdefs.h. */
18444 #include <sys/stat.h>
18445 int
18446 main ()
18447 {
18448 struct stat buffer;
18449 fstat(0, &buffer);
18450 S_IFREG & buffer.st_mode;
18451 ;
18452 return 0;
18453 }
18454 _ACEOF
18455 if ac_fn_cxx_try_compile "$LINENO"; then :
18456 glibcxx_cv_S_IFREG=yes
18457 else
18458 glibcxx_cv_S_IFREG=no
18459 fi
18460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18461 else
18462 if test x$gcc_no_link = xyes; then
18463 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18464 fi
18465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18466 /* end confdefs.h. */
18467 #include <sys/stat.h>
18468 int
18469 main ()
18470 {
18471 struct stat buffer;
18472 fstat(0, &buffer);
18473 S_IFREG & buffer.st_mode;
18474 ;
18475 return 0;
18476 }
18477 _ACEOF
18478 if ac_fn_cxx_try_link "$LINENO"; then :
18479 glibcxx_cv_S_IFREG=yes
18480 else
18481 glibcxx_cv_S_IFREG=no
18482 fi
18483 rm -f core conftest.err conftest.$ac_objext \
18484 conftest$ac_exeext conftest.$ac_ext
18485 fi
18486
18487 fi
18488
18489 res=no
18490 if test $glibcxx_cv_S_ISREG = yes; then
18491
18492 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18493
18494 res=S_ISREG
18495 elif test $glibcxx_cv_S_IFREG = yes; then
18496
18497 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18498
18499 res=S_IFREG
18500 fi
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18502 $as_echo "$res" >&6; }
18503
18504 CXXFLAGS="$ac_save_CXXFLAGS"
18505 ac_ext=c
18506 ac_cpp='$CPP $CPPFLAGS'
18507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18510
18511
18512
18513 # For xsputn_2().
18514 for ac_header in sys/uio.h
18515 do :
18516 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18517 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18518 cat >>confdefs.h <<_ACEOF
18519 #define HAVE_SYS_UIO_H 1
18520 _ACEOF
18521
18522 fi
18523
18524 done
18525
18526
18527
18528
18529 ac_ext=cpp
18530 ac_cpp='$CXXCPP $CPPFLAGS'
18531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18534
18535 ac_save_CXXFLAGS="$CXXFLAGS"
18536 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18537
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18539 $as_echo_n "checking for writev... " >&6; }
18540 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18541 $as_echo_n "(cached) " >&6
18542 else
18543
18544 if test x$gcc_no_link = xyes; then
18545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18546 /* end confdefs.h. */
18547 #include <sys/uio.h>
18548 int
18549 main ()
18550 {
18551 struct iovec iov[2];
18552 writev(0, iov, 0);
18553 ;
18554 return 0;
18555 }
18556 _ACEOF
18557 if ac_fn_cxx_try_compile "$LINENO"; then :
18558 glibcxx_cv_WRITEV=yes
18559 else
18560 glibcxx_cv_WRITEV=no
18561 fi
18562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18563 else
18564 if test x$gcc_no_link = xyes; then
18565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18566 fi
18567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18568 /* end confdefs.h. */
18569 #include <sys/uio.h>
18570 int
18571 main ()
18572 {
18573 struct iovec iov[2];
18574 writev(0, iov, 0);
18575 ;
18576 return 0;
18577 }
18578 _ACEOF
18579 if ac_fn_cxx_try_link "$LINENO"; then :
18580 glibcxx_cv_WRITEV=yes
18581 else
18582 glibcxx_cv_WRITEV=no
18583 fi
18584 rm -f core conftest.err conftest.$ac_objext \
18585 conftest$ac_exeext conftest.$ac_ext
18586 fi
18587
18588 fi
18589
18590 if test $glibcxx_cv_WRITEV = yes; then
18591
18592 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18593
18594 fi
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18596 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18597
18598 CXXFLAGS="$ac_save_CXXFLAGS"
18599 ac_ext=c
18600 ac_cpp='$CPP $CPPFLAGS'
18601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18604
18605
18606
18607 # For C99 support to TR1.
18608
18609
18610
18611 ac_ext=cpp
18612 ac_cpp='$CXXCPP $CPPFLAGS'
18613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18616
18617
18618 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18619 # undefined and fake C99 facilities may be spuriously enabled.
18620 ac_save_CXXFLAGS="$CXXFLAGS"
18621 CXXFLAGS="$CXXFLAGS -std=c++98"
18622
18623 # Check for the existence of <complex.h> complex math functions used
18624 # by tr1/complex.
18625 for ac_header in complex.h
18626 do :
18627 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18628 if test "x$ac_cv_header_complex_h" = x""yes; then :
18629 cat >>confdefs.h <<_ACEOF
18630 #define HAVE_COMPLEX_H 1
18631 _ACEOF
18632 ac_has_complex_h=yes
18633 else
18634 ac_has_complex_h=no
18635 fi
18636
18637 done
18638
18639 ac_c99_complex_tr1=no;
18640 if test x"$ac_has_complex_h" = x"yes"; then
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18642 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645 #include <complex.h>
18646 int
18647 main ()
18648 {
18649 typedef __complex__ float float_type; float_type tmpf;
18650 cacosf(tmpf);
18651 casinf(tmpf);
18652 catanf(tmpf);
18653 cacoshf(tmpf);
18654 casinhf(tmpf);
18655 catanhf(tmpf);
18656 typedef __complex__ double double_type; double_type tmpd;
18657 cacos(tmpd);
18658 casin(tmpd);
18659 catan(tmpd);
18660 cacosh(tmpd);
18661 casinh(tmpd);
18662 catanh(tmpd);
18663 typedef __complex__ long double ld_type; ld_type tmpld;
18664 cacosl(tmpld);
18665 casinl(tmpld);
18666 catanl(tmpld);
18667 cacoshl(tmpld);
18668 casinhl(tmpld);
18669 catanhl(tmpld);
18670
18671 ;
18672 return 0;
18673 }
18674 _ACEOF
18675 if ac_fn_cxx_try_compile "$LINENO"; then :
18676 ac_c99_complex_tr1=yes
18677 else
18678 ac_c99_complex_tr1=no
18679 fi
18680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 fi
18682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18683 $as_echo "$ac_c99_complex_tr1" >&6; }
18684 if test x"$ac_c99_complex_tr1" = x"yes"; then
18685
18686 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18687
18688 fi
18689
18690 # Check for the existence of <ctype.h> functions.
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18692 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18693 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18694 $as_echo_n "(cached) " >&6
18695 else
18696
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 #include <ctype.h>
18700 int
18701 main ()
18702 {
18703 int ch;
18704 int ret;
18705 ret = isblank(ch);
18706
18707 ;
18708 return 0;
18709 }
18710 _ACEOF
18711 if ac_fn_cxx_try_compile "$LINENO"; then :
18712 glibcxx_cv_c99_ctype_tr1=yes
18713 else
18714 glibcxx_cv_c99_ctype_tr1=no
18715 fi
18716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717
18718 fi
18719
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18721 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18722 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18723
18724 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18725
18726 fi
18727
18728 # Check for the existence of <fenv.h> functions.
18729 for ac_header in fenv.h
18730 do :
18731 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18732 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18733 cat >>confdefs.h <<_ACEOF
18734 #define HAVE_FENV_H 1
18735 _ACEOF
18736 ac_has_fenv_h=yes
18737 else
18738 ac_has_fenv_h=no
18739 fi
18740
18741 done
18742
18743 ac_c99_fenv_tr1=no;
18744 if test x"$ac_has_fenv_h" = x"yes"; then
18745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18746 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18748 /* end confdefs.h. */
18749 #include <fenv.h>
18750 int
18751 main ()
18752 {
18753 int except, mode;
18754 fexcept_t* pflag;
18755 fenv_t* penv;
18756 int ret;
18757 ret = feclearexcept(except);
18758 ret = fegetexceptflag(pflag, except);
18759 ret = feraiseexcept(except);
18760 ret = fesetexceptflag(pflag, except);
18761 ret = fetestexcept(except);
18762 ret = fegetround();
18763 ret = fesetround(mode);
18764 ret = fegetenv(penv);
18765 ret = feholdexcept(penv);
18766 ret = fesetenv(penv);
18767 ret = feupdateenv(penv);
18768
18769 ;
18770 return 0;
18771 }
18772 _ACEOF
18773 if ac_fn_cxx_try_compile "$LINENO"; then :
18774 ac_c99_fenv_tr1=yes
18775 else
18776 ac_c99_fenv_tr1=no
18777 fi
18778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18779 fi
18780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18781 $as_echo "$ac_c99_fenv_tr1" >&6; }
18782 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18783
18784 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18785
18786 fi
18787
18788 # Check for the existence of <stdint.h> types.
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18790 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18791 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18792 $as_echo_n "(cached) " >&6
18793 else
18794
18795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18796 /* end confdefs.h. */
18797 #define __STDC_LIMIT_MACROS
18798 #define __STDC_CONSTANT_MACROS
18799 #include <stdint.h>
18800 int
18801 main ()
18802 {
18803 typedef int8_t my_int8_t;
18804 my_int8_t i8 = INT8_MIN;
18805 i8 = INT8_MAX;
18806 typedef int16_t my_int16_t;
18807 my_int16_t i16 = INT16_MIN;
18808 i16 = INT16_MAX;
18809 typedef int32_t my_int32_t;
18810 my_int32_t i32 = INT32_MIN;
18811 i32 = INT32_MAX;
18812 typedef int64_t my_int64_t;
18813 my_int64_t i64 = INT64_MIN;
18814 i64 = INT64_MAX;
18815 typedef int_fast8_t my_int_fast8_t;
18816 my_int_fast8_t if8 = INT_FAST8_MIN;
18817 if8 = INT_FAST8_MAX;
18818 typedef int_fast16_t my_int_fast16_t;
18819 my_int_fast16_t if16 = INT_FAST16_MIN;
18820 if16 = INT_FAST16_MAX;
18821 typedef int_fast32_t my_int_fast32_t;
18822 my_int_fast32_t if32 = INT_FAST32_MIN;
18823 if32 = INT_FAST32_MAX;
18824 typedef int_fast64_t my_int_fast64_t;
18825 my_int_fast64_t if64 = INT_FAST64_MIN;
18826 if64 = INT_FAST64_MAX;
18827 typedef int_least8_t my_int_least8_t;
18828 my_int_least8_t il8 = INT_LEAST8_MIN;
18829 il8 = INT_LEAST8_MAX;
18830 typedef int_least16_t my_int_least16_t;
18831 my_int_least16_t il16 = INT_LEAST16_MIN;
18832 il16 = INT_LEAST16_MAX;
18833 typedef int_least32_t my_int_least32_t;
18834 my_int_least32_t il32 = INT_LEAST32_MIN;
18835 il32 = INT_LEAST32_MAX;
18836 typedef int_least64_t my_int_least64_t;
18837 my_int_least64_t il64 = INT_LEAST64_MIN;
18838 il64 = INT_LEAST64_MAX;
18839 typedef intmax_t my_intmax_t;
18840 my_intmax_t im = INTMAX_MAX;
18841 im = INTMAX_MIN;
18842 typedef intptr_t my_intptr_t;
18843 my_intptr_t ip = INTPTR_MAX;
18844 ip = INTPTR_MIN;
18845 typedef uint8_t my_uint8_t;
18846 my_uint8_t ui8 = UINT8_MAX;
18847 ui8 = UINT8_MAX;
18848 typedef uint16_t my_uint16_t;
18849 my_uint16_t ui16 = UINT16_MAX;
18850 ui16 = UINT16_MAX;
18851 typedef uint32_t my_uint32_t;
18852 my_uint32_t ui32 = UINT32_MAX;
18853 ui32 = UINT32_MAX;
18854 typedef uint64_t my_uint64_t;
18855 my_uint64_t ui64 = UINT64_MAX;
18856 ui64 = UINT64_MAX;
18857 typedef uint_fast8_t my_uint_fast8_t;
18858 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18859 uif8 = UINT_FAST8_MAX;
18860 typedef uint_fast16_t my_uint_fast16_t;
18861 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18862 uif16 = UINT_FAST16_MAX;
18863 typedef uint_fast32_t my_uint_fast32_t;
18864 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18865 uif32 = UINT_FAST32_MAX;
18866 typedef uint_fast64_t my_uint_fast64_t;
18867 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18868 uif64 = UINT_FAST64_MAX;
18869 typedef uint_least8_t my_uint_least8_t;
18870 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18871 uil8 = UINT_LEAST8_MAX;
18872 typedef uint_least16_t my_uint_least16_t;
18873 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18874 uil16 = UINT_LEAST16_MAX;
18875 typedef uint_least32_t my_uint_least32_t;
18876 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18877 uil32 = UINT_LEAST32_MAX;
18878 typedef uint_least64_t my_uint_least64_t;
18879 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18880 uil64 = UINT_LEAST64_MAX;
18881 typedef uintmax_t my_uintmax_t;
18882 my_uintmax_t uim = UINTMAX_MAX;
18883 uim = UINTMAX_MAX;
18884 typedef uintptr_t my_uintptr_t;
18885 my_uintptr_t uip = UINTPTR_MAX;
18886 uip = UINTPTR_MAX;
18887
18888 ;
18889 return 0;
18890 }
18891 _ACEOF
18892 if ac_fn_cxx_try_compile "$LINENO"; then :
18893 glibcxx_cv_c99_stdint_tr1=yes
18894 else
18895 glibcxx_cv_c99_stdint_tr1=no
18896 fi
18897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18898
18899 fi
18900
18901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
18902 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
18903 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
18904
18905 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
18906
18907 fi
18908
18909 # Check for the existence of <math.h> functions.
18910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
18911 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
18912 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
18913 $as_echo_n "(cached) " >&6
18914 else
18915
18916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18917 /* end confdefs.h. */
18918 #include <math.h>
18919 int
18920 main ()
18921 {
18922 typedef double_t my_double_t;
18923 typedef float_t my_float_t;
18924 acosh(0.0);
18925 acoshf(0.0f);
18926 acoshl(0.0l);
18927 asinh(0.0);
18928 asinhf(0.0f);
18929 asinhl(0.0l);
18930 atanh(0.0);
18931 atanhf(0.0f);
18932 atanhl(0.0l);
18933 cbrt(0.0);
18934 cbrtf(0.0f);
18935 cbrtl(0.0l);
18936 copysign(0.0, 0.0);
18937 copysignf(0.0f, 0.0f);
18938 copysignl(0.0l, 0.0l);
18939 erf(0.0);
18940 erff(0.0f);
18941 erfl(0.0l);
18942 erfc(0.0);
18943 erfcf(0.0f);
18944 erfcl(0.0l);
18945 exp2(0.0);
18946 exp2f(0.0f);
18947 exp2l(0.0l);
18948 expm1(0.0);
18949 expm1f(0.0f);
18950 expm1l(0.0l);
18951 fdim(0.0, 0.0);
18952 fdimf(0.0f, 0.0f);
18953 fdiml(0.0l, 0.0l);
18954 fma(0.0, 0.0, 0.0);
18955 fmaf(0.0f, 0.0f, 0.0f);
18956 fmal(0.0l, 0.0l, 0.0l);
18957 fmax(0.0, 0.0);
18958 fmaxf(0.0f, 0.0f);
18959 fmaxl(0.0l, 0.0l);
18960 fmin(0.0, 0.0);
18961 fminf(0.0f, 0.0f);
18962 fminl(0.0l, 0.0l);
18963 hypot(0.0, 0.0);
18964 hypotf(0.0f, 0.0f);
18965 hypotl(0.0l, 0.0l);
18966 ilogb(0.0);
18967 ilogbf(0.0f);
18968 ilogbl(0.0l);
18969 lgamma(0.0);
18970 lgammaf(0.0f);
18971 lgammal(0.0l);
18972 llrint(0.0);
18973 llrintf(0.0f);
18974 llrintl(0.0l);
18975 llround(0.0);
18976 llroundf(0.0f);
18977 llroundl(0.0l);
18978 log1p(0.0);
18979 log1pf(0.0f);
18980 log1pl(0.0l);
18981 log2(0.0);
18982 log2f(0.0f);
18983 log2l(0.0l);
18984 logb(0.0);
18985 logbf(0.0f);
18986 logbl(0.0l);
18987 lrint(0.0);
18988 lrintf(0.0f);
18989 lrintl(0.0l);
18990 lround(0.0);
18991 lroundf(0.0f);
18992 lroundl(0.0l);
18993 nan(0);
18994 nanf(0);
18995 nanl(0);
18996 nearbyint(0.0);
18997 nearbyintf(0.0f);
18998 nearbyintl(0.0l);
18999 nextafter(0.0, 0.0);
19000 nextafterf(0.0f, 0.0f);
19001 nextafterl(0.0l, 0.0l);
19002 nexttoward(0.0, 0.0);
19003 nexttowardf(0.0f, 0.0f);
19004 nexttowardl(0.0l, 0.0l);
19005 remainder(0.0, 0.0);
19006 remainderf(0.0f, 0.0f);
19007 remainderl(0.0l, 0.0l);
19008 remquo(0.0, 0.0, 0);
19009 remquof(0.0f, 0.0f, 0);
19010 remquol(0.0l, 0.0l, 0);
19011 rint(0.0);
19012 rintf(0.0f);
19013 rintl(0.0l);
19014 round(0.0);
19015 roundf(0.0f);
19016 roundl(0.0l);
19017 scalbln(0.0, 0l);
19018 scalblnf(0.0f, 0l);
19019 scalblnl(0.0l, 0l);
19020 scalbn(0.0, 0);
19021 scalbnf(0.0f, 0);
19022 scalbnl(0.0l, 0);
19023 tgamma(0.0);
19024 tgammaf(0.0f);
19025 tgammal(0.0l);
19026 trunc(0.0);
19027 truncf(0.0f);
19028 truncl(0.0l);
19029
19030 ;
19031 return 0;
19032 }
19033 _ACEOF
19034 if ac_fn_cxx_try_compile "$LINENO"; then :
19035 glibcxx_cv_c99_math_tr1=yes
19036 else
19037 glibcxx_cv_c99_math_tr1=no
19038 fi
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040
19041 fi
19042
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19044 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19045 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19046
19047 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19048
19049 fi
19050
19051 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19052 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19053 ac_c99_inttypes_tr1=no;
19054 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19056 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19058 /* end confdefs.h. */
19059 #include <inttypes.h>
19060 int
19061 main ()
19062 {
19063 intmax_t i, numer, denom, base;
19064 const char* s;
19065 char** endptr;
19066 intmax_t ret = imaxabs(i);
19067 imaxdiv_t dret = imaxdiv(numer, denom);
19068 ret = strtoimax(s, endptr, base);
19069 uintmax_t uret = strtoumax(s, endptr, base);
19070
19071 ;
19072 return 0;
19073 }
19074 _ACEOF
19075 if ac_fn_cxx_try_compile "$LINENO"; then :
19076 ac_c99_inttypes_tr1=yes
19077 else
19078 ac_c99_inttypes_tr1=no
19079 fi
19080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19081 fi
19082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19083 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19084 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19085
19086 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19087
19088 fi
19089
19090 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19091 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19092 ac_c99_inttypes_wchar_t_tr1=no;
19093 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19095 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19097 /* end confdefs.h. */
19098 #include <inttypes.h>
19099 int
19100 main ()
19101 {
19102 intmax_t base;
19103 const wchar_t* s;
19104 wchar_t** endptr;
19105 intmax_t ret = wcstoimax(s, endptr, base);
19106 uintmax_t uret = wcstoumax(s, endptr, base);
19107
19108 ;
19109 return 0;
19110 }
19111 _ACEOF
19112 if ac_fn_cxx_try_compile "$LINENO"; then :
19113 ac_c99_inttypes_wchar_t_tr1=yes
19114 else
19115 ac_c99_inttypes_wchar_t_tr1=no
19116 fi
19117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19118 fi
19119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19120 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19121 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19122
19123 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19124
19125 fi
19126
19127 # Check for the existence of the <stdbool.h> header.
19128 for ac_header in stdbool.h
19129 do :
19130 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19131 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19132 cat >>confdefs.h <<_ACEOF
19133 #define HAVE_STDBOOL_H 1
19134 _ACEOF
19135
19136 fi
19137
19138 done
19139
19140
19141 # Check for the existence of the <stdalign.h> header.
19142 for ac_header in stdalign.h
19143 do :
19144 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19145 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19146 cat >>confdefs.h <<_ACEOF
19147 #define HAVE_STDALIGN_H 1
19148 _ACEOF
19149
19150 fi
19151
19152 done
19153
19154
19155 CXXFLAGS="$ac_save_CXXFLAGS"
19156 ac_ext=c
19157 ac_cpp='$CPP $CPPFLAGS'
19158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19161
19162
19163
19164 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19165
19166
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19168 $as_echo_n "checking for the value of EOF... " >&6; }
19169 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19170 $as_echo_n "(cached) " >&6
19171 else
19172
19173 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19174
19175 else
19176 as_fn_error "computing EOF failed" "$LINENO" 5
19177 fi
19178
19179
19180 fi
19181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19182 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19183
19184 cat >>confdefs.h <<_ACEOF
19185 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19186 _ACEOF
19187
19188
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19190 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19191 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19192 $as_echo_n "(cached) " >&6
19193 else
19194
19195 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19196
19197 else
19198 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19199 fi
19200
19201
19202 fi
19203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19204 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19205
19206 cat >>confdefs.h <<_ACEOF
19207 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19208 _ACEOF
19209
19210
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19212 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19213 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19214 $as_echo_n "(cached) " >&6
19215 else
19216
19217 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19218
19219 else
19220 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19221 fi
19222
19223
19224 fi
19225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19226 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19227
19228 cat >>confdefs.h <<_ACEOF
19229 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19230 _ACEOF
19231
19232
19233
19234 # For gettimeofday support.
19235
19236
19237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19238 $as_echo_n "checking for gettimeofday... " >&6; }
19239
19240
19241 ac_ext=cpp
19242 ac_cpp='$CXXCPP $CPPFLAGS'
19243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19246
19247 ac_save_CXXFLAGS="$CXXFLAGS"
19248 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19249
19250 ac_has_gettimeofday=no;
19251 for ac_header in sys/time.h
19252 do :
19253 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19254 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19255 cat >>confdefs.h <<_ACEOF
19256 #define HAVE_SYS_TIME_H 1
19257 _ACEOF
19258 ac_has_sys_time_h=yes
19259 else
19260 ac_has_sys_time_h=no
19261 fi
19262
19263 done
19264
19265 if test x"$ac_has_sys_time_h" = x"yes"; then
19266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19267 $as_echo_n "checking for gettimeofday... " >&6; }
19268 if test x$gcc_no_link = xyes; then
19269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19270 /* end confdefs.h. */
19271 #include <sys/time.h>
19272 int
19273 main ()
19274 {
19275 timeval tv; gettimeofday(&tv, 0);
19276 ;
19277 return 0;
19278 }
19279 _ACEOF
19280 if ac_fn_cxx_try_compile "$LINENO"; then :
19281 ac_has_gettimeofday=yes
19282 else
19283 ac_has_gettimeofday=no
19284 fi
19285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19286 else
19287 if test x$gcc_no_link = xyes; then
19288 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19289 fi
19290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19291 /* end confdefs.h. */
19292 #include <sys/time.h>
19293 int
19294 main ()
19295 {
19296 timeval tv; gettimeofday(&tv, 0);
19297 ;
19298 return 0;
19299 }
19300 _ACEOF
19301 if ac_fn_cxx_try_link "$LINENO"; then :
19302 ac_has_gettimeofday=yes
19303 else
19304 ac_has_gettimeofday=no
19305 fi
19306 rm -f core conftest.err conftest.$ac_objext \
19307 conftest$ac_exeext conftest.$ac_ext
19308 fi
19309
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19311 $as_echo "$ac_has_gettimeofday" >&6; }
19312 fi
19313
19314 if test x"$ac_has_gettimeofday" = x"yes"; then
19315
19316 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19317
19318 fi
19319
19320 CXXFLAGS="$ac_save_CXXFLAGS"
19321 ac_ext=c
19322 ac_cpp='$CPP $CPPFLAGS'
19323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19326
19327
19328
19329 # For clock_gettime, nanosleep and sched_yield support.
19330 # NB: The default is [no], because otherwise it requires linking.
19331
19332
19333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime, nanosleep and sched_yield" >&5
19334 $as_echo_n "checking for clock_gettime, nanosleep and sched_yield... " >&6; }
19335 # Check whether --enable-libstdcxx-time was given.
19336 if test "${enable_libstdcxx_time+set}" = set; then :
19337 enableval=$enable_libstdcxx_time;
19338 case "$enableval" in
19339 yes|no|rt) ;;
19340 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19341 esac
19342
19343 else
19344 enable_libstdcxx_time=no
19345 fi
19346
19347
19348
19349
19350 ac_ext=cpp
19351 ac_cpp='$CXXCPP $CPPFLAGS'
19352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19355
19356 ac_save_CXXFLAGS="$CXXFLAGS"
19357 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19358 ac_save_LIBS="$LIBS"
19359
19360 ac_has_clock_monotonic=no
19361 ac_has_clock_realtime=no
19362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_time" >&5
19363 $as_echo "$enable_libstdcxx_time" >&6; }
19364
19365 if test x"$enable_libstdcxx_time" != x"no"; then
19366
19367 if test x"$enable_libstdcxx_time" = x"rt"; then
19368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19369 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19370 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19371 $as_echo_n "(cached) " >&6
19372 else
19373 ac_func_search_save_LIBS=$LIBS
19374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19375 /* end confdefs.h. */
19376
19377 /* Override any GCC internal prototype to avoid an error.
19378 Use char because int might match the return type of a GCC
19379 builtin and then its argument prototype would still apply. */
19380 #ifdef __cplusplus
19381 extern "C"
19382 #endif
19383 char clock_gettime ();
19384 int
19385 main ()
19386 {
19387 return clock_gettime ();
19388 ;
19389 return 0;
19390 }
19391 _ACEOF
19392 for ac_lib in '' rt posix4; do
19393 if test -z "$ac_lib"; then
19394 ac_res="none required"
19395 else
19396 ac_res=-l$ac_lib
19397 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19398 fi
19399 if test x$gcc_no_link = xyes; then
19400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19401 fi
19402 if ac_fn_cxx_try_link "$LINENO"; then :
19403 ac_cv_search_clock_gettime=$ac_res
19404 fi
19405 rm -f core conftest.err conftest.$ac_objext \
19406 conftest$ac_exeext
19407 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19408 break
19409 fi
19410 done
19411 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19412
19413 else
19414 ac_cv_search_clock_gettime=no
19415 fi
19416 rm conftest.$ac_ext
19417 LIBS=$ac_func_search_save_LIBS
19418 fi
19419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19420 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19421 ac_res=$ac_cv_search_clock_gettime
19422 if test "$ac_res" != no; then :
19423 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19424
19425 fi
19426
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19428 $as_echo_n "checking for library containing nanosleep... " >&6; }
19429 if test "${ac_cv_search_nanosleep+set}" = set; then :
19430 $as_echo_n "(cached) " >&6
19431 else
19432 ac_func_search_save_LIBS=$LIBS
19433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19434 /* end confdefs.h. */
19435
19436 /* Override any GCC internal prototype to avoid an error.
19437 Use char because int might match the return type of a GCC
19438 builtin and then its argument prototype would still apply. */
19439 #ifdef __cplusplus
19440 extern "C"
19441 #endif
19442 char nanosleep ();
19443 int
19444 main ()
19445 {
19446 return nanosleep ();
19447 ;
19448 return 0;
19449 }
19450 _ACEOF
19451 for ac_lib in '' rt posix4; do
19452 if test -z "$ac_lib"; then
19453 ac_res="none required"
19454 else
19455 ac_res=-l$ac_lib
19456 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19457 fi
19458 if test x$gcc_no_link = xyes; then
19459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19460 fi
19461 if ac_fn_cxx_try_link "$LINENO"; then :
19462 ac_cv_search_nanosleep=$ac_res
19463 fi
19464 rm -f core conftest.err conftest.$ac_objext \
19465 conftest$ac_exeext
19466 if test "${ac_cv_search_nanosleep+set}" = set; then :
19467 break
19468 fi
19469 done
19470 if test "${ac_cv_search_nanosleep+set}" = set; then :
19471
19472 else
19473 ac_cv_search_nanosleep=no
19474 fi
19475 rm conftest.$ac_ext
19476 LIBS=$ac_func_search_save_LIBS
19477 fi
19478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19479 $as_echo "$ac_cv_search_nanosleep" >&6; }
19480 ac_res=$ac_cv_search_nanosleep
19481 if test "$ac_res" != no; then :
19482 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19483
19484 fi
19485
19486 else
19487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19488 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19489 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19490 $as_echo_n "(cached) " >&6
19491 else
19492 ac_func_search_save_LIBS=$LIBS
19493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19494 /* end confdefs.h. */
19495
19496 /* Override any GCC internal prototype to avoid an error.
19497 Use char because int might match the return type of a GCC
19498 builtin and then its argument prototype would still apply. */
19499 #ifdef __cplusplus
19500 extern "C"
19501 #endif
19502 char clock_gettime ();
19503 int
19504 main ()
19505 {
19506 return clock_gettime ();
19507 ;
19508 return 0;
19509 }
19510 _ACEOF
19511 for ac_lib in '' posix4; do
19512 if test -z "$ac_lib"; then
19513 ac_res="none required"
19514 else
19515 ac_res=-l$ac_lib
19516 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19517 fi
19518 if test x$gcc_no_link = xyes; then
19519 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19520 fi
19521 if ac_fn_cxx_try_link "$LINENO"; then :
19522 ac_cv_search_clock_gettime=$ac_res
19523 fi
19524 rm -f core conftest.err conftest.$ac_objext \
19525 conftest$ac_exeext
19526 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19527 break
19528 fi
19529 done
19530 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19531
19532 else
19533 ac_cv_search_clock_gettime=no
19534 fi
19535 rm conftest.$ac_ext
19536 LIBS=$ac_func_search_save_LIBS
19537 fi
19538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19539 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19540 ac_res=$ac_cv_search_clock_gettime
19541 if test "$ac_res" != no; then :
19542 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19543
19544 fi
19545
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19547 $as_echo_n "checking for library containing nanosleep... " >&6; }
19548 if test "${ac_cv_search_nanosleep+set}" = set; then :
19549 $as_echo_n "(cached) " >&6
19550 else
19551 ac_func_search_save_LIBS=$LIBS
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19554
19555 /* Override any GCC internal prototype to avoid an error.
19556 Use char because int might match the return type of a GCC
19557 builtin and then its argument prototype would still apply. */
19558 #ifdef __cplusplus
19559 extern "C"
19560 #endif
19561 char nanosleep ();
19562 int
19563 main ()
19564 {
19565 return nanosleep ();
19566 ;
19567 return 0;
19568 }
19569 _ACEOF
19570 for ac_lib in '' posix4; do
19571 if test -z "$ac_lib"; then
19572 ac_res="none required"
19573 else
19574 ac_res=-l$ac_lib
19575 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19576 fi
19577 if test x$gcc_no_link = xyes; then
19578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19579 fi
19580 if ac_fn_cxx_try_link "$LINENO"; then :
19581 ac_cv_search_nanosleep=$ac_res
19582 fi
19583 rm -f core conftest.err conftest.$ac_objext \
19584 conftest$ac_exeext
19585 if test "${ac_cv_search_nanosleep+set}" = set; then :
19586 break
19587 fi
19588 done
19589 if test "${ac_cv_search_nanosleep+set}" = set; then :
19590
19591 else
19592 ac_cv_search_nanosleep=no
19593 fi
19594 rm conftest.$ac_ext
19595 LIBS=$ac_func_search_save_LIBS
19596 fi
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19598 $as_echo "$ac_cv_search_nanosleep" >&6; }
19599 ac_res=$ac_cv_search_nanosleep
19600 if test "$ac_res" != no; then :
19601 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19602
19603 fi
19604
19605 fi
19606
19607 case "$ac_cv_search_clock_gettime" in
19608 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19609 ;;
19610 esac
19611 case "$ac_cv_search_nanosleep" in
19612 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19613 ;;
19614 esac
19615
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19617 $as_echo_n "checking for library containing sched_yield... " >&6; }
19618 if test "${ac_cv_search_sched_yield+set}" = set; then :
19619 $as_echo_n "(cached) " >&6
19620 else
19621 ac_func_search_save_LIBS=$LIBS
19622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19623 /* end confdefs.h. */
19624
19625 /* Override any GCC internal prototype to avoid an error.
19626 Use char because int might match the return type of a GCC
19627 builtin and then its argument prototype would still apply. */
19628 #ifdef __cplusplus
19629 extern "C"
19630 #endif
19631 char sched_yield ();
19632 int
19633 main ()
19634 {
19635 return sched_yield ();
19636 ;
19637 return 0;
19638 }
19639 _ACEOF
19640 for ac_lib in '' rt posix4; do
19641 if test -z "$ac_lib"; then
19642 ac_res="none required"
19643 else
19644 ac_res=-l$ac_lib
19645 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19646 fi
19647 if test x$gcc_no_link = xyes; then
19648 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19649 fi
19650 if ac_fn_cxx_try_link "$LINENO"; then :
19651 ac_cv_search_sched_yield=$ac_res
19652 fi
19653 rm -f core conftest.err conftest.$ac_objext \
19654 conftest$ac_exeext
19655 if test "${ac_cv_search_sched_yield+set}" = set; then :
19656 break
19657 fi
19658 done
19659 if test "${ac_cv_search_sched_yield+set}" = set; then :
19660
19661 else
19662 ac_cv_search_sched_yield=no
19663 fi
19664 rm conftest.$ac_ext
19665 LIBS=$ac_func_search_save_LIBS
19666 fi
19667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19668 $as_echo "$ac_cv_search_sched_yield" >&6; }
19669 ac_res=$ac_cv_search_sched_yield
19670 if test "$ac_res" != no; then :
19671 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19672
19673 fi
19674
19675
19676 case "$ac_cv_search_sched_yield" in
19677 -lposix4*)
19678 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19679
19680 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19681
19682 ;;
19683 -lrt*)
19684 if test x"$enable_libstdcxx_time" = x"rt"; then
19685 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19686
19687 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19688
19689 fi
19690 ;;
19691 *)
19692
19693 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
19694
19695 ;;
19696 esac
19697
19698 for ac_header in unistd.h
19699 do :
19700 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19701 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19702 cat >>confdefs.h <<_ACEOF
19703 #define HAVE_UNISTD_H 1
19704 _ACEOF
19705 ac_has_unistd_h=yes
19706 else
19707 ac_has_unistd_h=no
19708 fi
19709
19710 done
19711
19712
19713 if test x"$ac_has_unistd_h" = x"yes"; then
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19715 $as_echo_n "checking for monotonic clock... " >&6; }
19716 if test x$gcc_no_link = xyes; then
19717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19718 fi
19719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19720 /* end confdefs.h. */
19721 #include <unistd.h>
19722 #include <time.h>
19723
19724 int
19725 main ()
19726 {
19727 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19728 timespec tp;
19729 #endif
19730 clock_gettime(CLOCK_MONOTONIC, &tp);
19731
19732 ;
19733 return 0;
19734 }
19735 _ACEOF
19736 if ac_fn_cxx_try_link "$LINENO"; then :
19737 ac_has_clock_monotonic=yes
19738 else
19739 ac_has_clock_monotonic=no
19740 fi
19741 rm -f core conftest.err conftest.$ac_objext \
19742 conftest$ac_exeext conftest.$ac_ext
19743
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19745 $as_echo "$ac_has_clock_monotonic" >&6; }
19746
19747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19748 $as_echo_n "checking for realtime clock... " >&6; }
19749 if test x$gcc_no_link = xyes; then
19750 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19751 fi
19752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19753 /* end confdefs.h. */
19754 #include <unistd.h>
19755 #include <time.h>
19756
19757 int
19758 main ()
19759 {
19760 #if _POSIX_TIMERS > 0
19761 timespec tp;
19762 #endif
19763 clock_gettime(CLOCK_REALTIME, &tp);
19764
19765 ;
19766 return 0;
19767 }
19768 _ACEOF
19769 if ac_fn_cxx_try_link "$LINENO"; then :
19770 ac_has_clock_realtime=yes
19771 else
19772 ac_has_clock_realtime=no
19773 fi
19774 rm -f core conftest.err conftest.$ac_objext \
19775 conftest$ac_exeext conftest.$ac_ext
19776
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19778 $as_echo "$ac_has_clock_realtime" >&6; }
19779
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19781 $as_echo_n "checking for nanosleep... " >&6; }
19782 if test x$gcc_no_link = xyes; then
19783 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19784 fi
19785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19786 /* end confdefs.h. */
19787 #include <unistd.h>
19788 #include <time.h>
19789
19790 int
19791 main ()
19792 {
19793 #if _POSIX_TIMERS > 0
19794 timespec tp;
19795 #endif
19796 nanosleep(&tp, 0);
19797
19798 ;
19799 return 0;
19800 }
19801 _ACEOF
19802 if ac_fn_cxx_try_link "$LINENO"; then :
19803 ac_has_nanosleep=yes
19804 else
19805 ac_has_nanosleep=no
19806 fi
19807 rm -f core conftest.err conftest.$ac_objext \
19808 conftest$ac_exeext conftest.$ac_ext
19809
19810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19811 $as_echo "$ac_has_nanosleep" >&6; }
19812 fi
19813 fi
19814
19815 if test x"$ac_has_clock_monotonic" = x"yes"; then
19816
19817 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
19818
19819 fi
19820
19821 if test x"$ac_has_clock_realtime" = x"yes"; then
19822
19823 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
19824
19825 fi
19826
19827 if test x"$ac_has_nanosleep" = x"yes"; then
19828
19829 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
19830
19831 fi
19832
19833
19834
19835 CXXFLAGS="$ac_save_CXXFLAGS"
19836 LIBS="$ac_save_LIBS"
19837 ac_ext=c
19838 ac_cpp='$CPP $CPPFLAGS'
19839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19842
19843
19844
19845
19846 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
19847 if test "x$ac_cv_header_locale_h" = x""yes; then :
19848
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
19850 $as_echo_n "checking for LC_MESSAGES... " >&6; }
19851 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
19852 $as_echo_n "(cached) " >&6
19853 else
19854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19855 /* end confdefs.h. */
19856 #include <locale.h>
19857 int
19858 main ()
19859 {
19860 return LC_MESSAGES
19861 ;
19862 return 0;
19863 }
19864 _ACEOF
19865 if ac_fn_c_try_compile "$LINENO"; then :
19866 ac_cv_val_LC_MESSAGES=yes
19867 else
19868 ac_cv_val_LC_MESSAGES=no
19869 fi
19870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19871 fi
19872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
19873 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
19874 if test $ac_cv_val_LC_MESSAGES = yes; then
19875
19876 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
19877
19878 fi
19879
19880 fi
19881
19882
19883
19884
19885 # For hardware_concurrency
19886 for ac_header in sys/sysinfo.h
19887 do :
19888 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
19889 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
19890 cat >>confdefs.h <<_ACEOF
19891 #define HAVE_SYS_SYSINFO_H 1
19892 _ACEOF
19893
19894 fi
19895
19896 done
19897
19898
19899
19900
19901 ac_ext=cpp
19902 ac_cpp='$CXXCPP $CPPFLAGS'
19903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19906
19907 ac_save_CXXFLAGS="$CXXFLAGS"
19908 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19909
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
19911 $as_echo_n "checking for get_nprocs... " >&6; }
19912 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
19913 $as_echo_n "(cached) " >&6
19914 else
19915
19916 if test x$gcc_no_link = xyes; then
19917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19918 /* end confdefs.h. */
19919 #include <sys/sysinfo.h>
19920 int
19921 main ()
19922 {
19923 int n = get_nprocs();
19924 ;
19925 return 0;
19926 }
19927 _ACEOF
19928 if ac_fn_cxx_try_compile "$LINENO"; then :
19929 glibcxx_cv_GET_NPROCS=yes
19930 else
19931 glibcxx_cv_GET_NPROCS=no
19932 fi
19933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19934 else
19935 if test x$gcc_no_link = xyes; then
19936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19937 fi
19938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19939 /* end confdefs.h. */
19940 #include <sys/sysinfo.h>
19941 int
19942 main ()
19943 {
19944 int n = get_nprocs();
19945 ;
19946 return 0;
19947 }
19948 _ACEOF
19949 if ac_fn_cxx_try_link "$LINENO"; then :
19950 glibcxx_cv_GET_NPROCS=yes
19951 else
19952 glibcxx_cv_GET_NPROCS=no
19953 fi
19954 rm -f core conftest.err conftest.$ac_objext \
19955 conftest$ac_exeext conftest.$ac_ext
19956 fi
19957
19958 fi
19959
19960 if test $glibcxx_cv_GET_NPROCS = yes; then
19961
19962 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
19963
19964 fi
19965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
19966 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
19967
19968 CXXFLAGS="$ac_save_CXXFLAGS"
19969 ac_ext=c
19970 ac_cpp='$CPP $CPPFLAGS'
19971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19974
19975
19976 for ac_header in unistd.h
19977 do :
19978 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19979 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19980 cat >>confdefs.h <<_ACEOF
19981 #define HAVE_UNISTD_H 1
19982 _ACEOF
19983
19984 fi
19985
19986 done
19987
19988
19989
19990
19991 ac_ext=cpp
19992 ac_cpp='$CXXCPP $CPPFLAGS'
19993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19996
19997 ac_save_CXXFLAGS="$CXXFLAGS"
19998 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19999
20000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20001 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20002 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20003 $as_echo_n "(cached) " >&6
20004 else
20005
20006 if test x$gcc_no_link = xyes; then
20007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20008 /* end confdefs.h. */
20009 #include <unistd.h>
20010 int
20011 main ()
20012 {
20013 int n = sysconf(_SC_NPROCESSORS_ONLN);
20014 ;
20015 return 0;
20016 }
20017 _ACEOF
20018 if ac_fn_cxx_try_compile "$LINENO"; then :
20019 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20020 else
20021 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20022 fi
20023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20024 else
20025 if test x$gcc_no_link = xyes; then
20026 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20027 fi
20028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20029 /* end confdefs.h. */
20030 #include <unistd.h>
20031 int
20032 main ()
20033 {
20034 int n = sysconf(_SC_NPROCESSORS_ONLN);
20035 ;
20036 return 0;
20037 }
20038 _ACEOF
20039 if ac_fn_cxx_try_link "$LINENO"; then :
20040 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20041 else
20042 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20043 fi
20044 rm -f core conftest.err conftest.$ac_objext \
20045 conftest$ac_exeext conftest.$ac_ext
20046 fi
20047
20048 fi
20049
20050 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20051
20052 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20053
20054 fi
20055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20056 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20057
20058 CXXFLAGS="$ac_save_CXXFLAGS"
20059 ac_ext=c
20060 ac_cpp='$CPP $CPPFLAGS'
20061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20064
20065
20066
20067
20068
20069 ac_ext=cpp
20070 ac_cpp='$CXXCPP $CPPFLAGS'
20071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20074
20075 ac_save_CXXFLAGS="$CXXFLAGS"
20076 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20077
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20079 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20080 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20081 $as_echo_n "(cached) " >&6
20082 else
20083
20084 if test x$gcc_no_link = xyes; then
20085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20086 /* end confdefs.h. */
20087 #include <unistd.h>
20088 int
20089 main ()
20090 {
20091 int n = sysconf(_SC_NPROC_ONLN);
20092 ;
20093 return 0;
20094 }
20095 _ACEOF
20096 if ac_fn_cxx_try_compile "$LINENO"; then :
20097 glibcxx_cv_SC_NPROC_ONLN=yes
20098 else
20099 glibcxx_cv_SC_NPROC_ONLN=no
20100 fi
20101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20102 else
20103 if test x$gcc_no_link = xyes; then
20104 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20105 fi
20106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20107 /* end confdefs.h. */
20108 #include <unistd.h>
20109 int
20110 main ()
20111 {
20112 int n = sysconf(_SC_NPROC_ONLN);
20113 ;
20114 return 0;
20115 }
20116 _ACEOF
20117 if ac_fn_cxx_try_link "$LINENO"; then :
20118 glibcxx_cv_SC_NPROC_ONLN=yes
20119 else
20120 glibcxx_cv_SC_NPROC_ONLN=no
20121 fi
20122 rm -f core conftest.err conftest.$ac_objext \
20123 conftest$ac_exeext conftest.$ac_ext
20124 fi
20125
20126 fi
20127
20128 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20129
20130 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20131
20132 fi
20133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20134 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20135
20136 CXXFLAGS="$ac_save_CXXFLAGS"
20137 ac_ext=c
20138 ac_cpp='$CPP $CPPFLAGS'
20139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20142
20143
20144
20145
20146
20147 ac_ext=cpp
20148 ac_cpp='$CXXCPP $CPPFLAGS'
20149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20152
20153 ac_save_CXXFLAGS="$CXXFLAGS"
20154 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20155
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20157 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20158 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20159 $as_echo_n "(cached) " >&6
20160 else
20161
20162 if test x$gcc_no_link = xyes; then
20163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20164 /* end confdefs.h. */
20165 #include <pthread.h>
20166 int
20167 main ()
20168 {
20169 int n = pthread_num_processors_np();
20170 ;
20171 return 0;
20172 }
20173 _ACEOF
20174 if ac_fn_cxx_try_compile "$LINENO"; then :
20175 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20176 else
20177 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20178 fi
20179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20180 else
20181 if test x$gcc_no_link = xyes; then
20182 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20183 fi
20184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20185 /* end confdefs.h. */
20186 #include <pthread.h>
20187 int
20188 main ()
20189 {
20190 int n = pthread_num_processors_np();
20191 ;
20192 return 0;
20193 }
20194 _ACEOF
20195 if ac_fn_cxx_try_link "$LINENO"; then :
20196 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20197 else
20198 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20199 fi
20200 rm -f core conftest.err conftest.$ac_objext \
20201 conftest$ac_exeext conftest.$ac_ext
20202 fi
20203
20204 fi
20205
20206 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20207
20208 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20209
20210 fi
20211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20212 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20213
20214 CXXFLAGS="$ac_save_CXXFLAGS"
20215 ac_ext=c
20216 ac_cpp='$CPP $CPPFLAGS'
20217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20220
20221
20222
20223
20224
20225 ac_ext=cpp
20226 ac_cpp='$CXXCPP $CPPFLAGS'
20227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20230
20231 ac_save_CXXFLAGS="$CXXFLAGS"
20232 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20233
20234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20235 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20236 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20237 $as_echo_n "(cached) " >&6
20238 else
20239
20240 if test x$gcc_no_link = xyes; then
20241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20242 /* end confdefs.h. */
20243
20244 #include <stddef.h>
20245 #include <sys/sysctl.h>
20246
20247 int
20248 main ()
20249 {
20250
20251 int count;
20252 size_t size = sizeof(count);
20253 int mib[] = { CTL_HW, HW_NCPU };
20254 sysctl(mib, 2, &count, &size, NULL, 0);
20255
20256 ;
20257 return 0;
20258 }
20259 _ACEOF
20260 if ac_fn_cxx_try_compile "$LINENO"; then :
20261 glibcxx_cv_SYSCTL_HW_NCPU=yes
20262 else
20263 glibcxx_cv_SYSCTL_HW_NCPU=no
20264 fi
20265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20266 else
20267 if test x$gcc_no_link = xyes; then
20268 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20269 fi
20270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20271 /* end confdefs.h. */
20272
20273 #include <stddef.h>
20274 #include <sys/sysctl.h>
20275
20276 int
20277 main ()
20278 {
20279
20280 int count;
20281 size_t size = sizeof(count);
20282 int mib[] = { CTL_HW, HW_NCPU };
20283 sysctl(mib, 2, &count, &size, NULL, 0);
20284
20285 ;
20286 return 0;
20287 }
20288 _ACEOF
20289 if ac_fn_cxx_try_link "$LINENO"; then :
20290 glibcxx_cv_SYSCTL_HW_NCPU=yes
20291 else
20292 glibcxx_cv_SYSCTL_HW_NCPU=no
20293 fi
20294 rm -f core conftest.err conftest.$ac_objext \
20295 conftest$ac_exeext conftest.$ac_ext
20296 fi
20297
20298 fi
20299
20300 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20301
20302 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20303
20304 fi
20305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20306 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20307
20308 CXXFLAGS="$ac_save_CXXFLAGS"
20309 ac_ext=c
20310 ac_cpp='$CPP $CPPFLAGS'
20311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20314
20315
20316
20317 # Check for available headers.
20318 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20319 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20320 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20321 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20322 wchar.h wctype.h
20323 do :
20324 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20325 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20326 eval as_val=\$$as_ac_Header
20327 if test "x$as_val" = x""yes; then :
20328 cat >>confdefs.h <<_ACEOF
20329 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20330 _ACEOF
20331
20332 fi
20333
20334 done
20335
20336
20337 # Only do link tests if native. Else, hardcode.
20338 if $GLIBCXX_IS_NATIVE; then
20339
20340 # We can do more elaborate tests that assume a working linker.
20341 CANADIAN=no
20342
20343
20344
20345 # Check whether --with-gnu-ld was given.
20346 if test "${with_gnu_ld+set}" = set; then :
20347 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20348 else
20349 with_gnu_ld=no
20350 fi
20351
20352 ac_prog=ld
20353 if test "$GCC" = yes; then
20354 # Check if gcc -print-prog-name=ld gives a path.
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20356 $as_echo_n "checking for ld used by $CC... " >&6; }
20357 case $host in
20358 *-*-mingw*)
20359 # gcc leaves a trailing carriage return which upsets mingw
20360 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20361 *)
20362 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20363 esac
20364 case $ac_prog in
20365 # Accept absolute paths.
20366 [\\/]* | ?:[\\/]*)
20367 re_direlt='/[^/][^/]*/\.\./'
20368 # Canonicalize the pathname of ld
20369 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20370 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20371 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20372 done
20373 test -z "$LD" && LD="$ac_prog"
20374 ;;
20375 "")
20376 # If it fails, then pretend we aren't using GCC.
20377 ac_prog=ld
20378 ;;
20379 *)
20380 # If it is relative, then search for the first ld in PATH.
20381 with_gnu_ld=unknown
20382 ;;
20383 esac
20384 elif test "$with_gnu_ld" = yes; then
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20386 $as_echo_n "checking for GNU ld... " >&6; }
20387 else
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20389 $as_echo_n "checking for non-GNU ld... " >&6; }
20390 fi
20391 if test "${lt_cv_path_LD+set}" = set; then :
20392 $as_echo_n "(cached) " >&6
20393 else
20394 if test -z "$LD"; then
20395 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20396 for ac_dir in $PATH; do
20397 IFS="$lt_save_ifs"
20398 test -z "$ac_dir" && ac_dir=.
20399 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20400 lt_cv_path_LD="$ac_dir/$ac_prog"
20401 # Check to see if the program is GNU ld. I'd rather use --version,
20402 # but apparently some variants of GNU ld only accept -v.
20403 # Break only if it was the GNU/non-GNU ld that we prefer.
20404 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20405 *GNU* | *'with BFD'*)
20406 test "$with_gnu_ld" != no && break
20407 ;;
20408 *)
20409 test "$with_gnu_ld" != yes && break
20410 ;;
20411 esac
20412 fi
20413 done
20414 IFS="$lt_save_ifs"
20415 else
20416 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20417 fi
20418 fi
20419
20420 LD="$lt_cv_path_LD"
20421 if test -n "$LD"; then
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20423 $as_echo "$LD" >&6; }
20424 else
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20426 $as_echo "no" >&6; }
20427 fi
20428 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20430 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20431 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20432 $as_echo_n "(cached) " >&6
20433 else
20434 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20435 case `$LD -v 2>&1 </dev/null` in
20436 *GNU* | *'with BFD'*)
20437 lt_cv_prog_gnu_ld=yes
20438 ;;
20439 *)
20440 lt_cv_prog_gnu_ld=no
20441 ;;
20442 esac
20443 fi
20444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20445 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20446 with_gnu_ld=$lt_cv_prog_gnu_ld
20447
20448
20449
20450
20451
20452
20453
20454 # If we're not using GNU ld, then there's no point in even trying these
20455 # tests. Check for that first. We should have already tested for gld
20456 # by now (in libtool), but require it now just to be safe...
20457 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20458 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20459
20460
20461
20462 # The name set by libtool depends on the version of libtool. Shame on us
20463 # for depending on an impl detail, but c'est la vie. Older versions used
20464 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20465 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20466 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20467 # set (hence we're using an older libtool), then set it.
20468 if test x${with_gnu_ld+set} != xset; then
20469 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20470 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20471 with_gnu_ld=no
20472 else
20473 with_gnu_ld=$ac_cv_prog_gnu_ld
20474 fi
20475 fi
20476
20477 # Start by getting the version number. I think the libtool test already
20478 # does some of this, but throws away the result.
20479 glibcxx_ld_is_gold=no
20480 if test x"$with_gnu_ld" = x"yes"; then
20481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20482 $as_echo_n "checking for ld version... " >&6; }
20483
20484 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20485 glibcxx_ld_is_gold=yes
20486 fi
20487 ldver=`$LD --version 2>/dev/null |
20488 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'`
20489
20490 glibcxx_gnu_ld_version=`echo $ldver | \
20491 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20493 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20494 fi
20495
20496 # Set --gc-sections.
20497 glibcxx_have_gc_sections=no
20498 if test "$glibcxx_ld_is_gold" = "yes"; then
20499 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20500 glibcxx_have_gc_sections=yes
20501 fi
20502 else
20503 glibcxx_gcsections_min_ld=21602
20504 if test x"$with_gnu_ld" = x"yes" &&
20505 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20506 glibcxx_have_gc_sections=yes
20507 fi
20508 fi
20509 if test "$glibcxx_have_gc_sections" = "yes"; then
20510 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20511 # NB: This flag only works reliably after 2.16.1. Configure tests
20512 # for this are difficult, so hard wire a value that should work.
20513
20514 ac_test_CFLAGS="${CFLAGS+set}"
20515 ac_save_CFLAGS="$CFLAGS"
20516 CFLAGS='-Wl,--gc-sections'
20517
20518 # Check for -Wl,--gc-sections
20519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20520 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20521 if test x$gcc_no_link = xyes; then
20522 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20523 fi
20524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20525 /* end confdefs.h. */
20526 int one(void) { return 1; }
20527 int two(void) { return 2; }
20528
20529 int
20530 main ()
20531 {
20532 two();
20533 ;
20534 return 0;
20535 }
20536 _ACEOF
20537 if ac_fn_c_try_link "$LINENO"; then :
20538 ac_gcsections=yes
20539 else
20540 ac_gcsections=no
20541 fi
20542 rm -f core conftest.err conftest.$ac_objext \
20543 conftest$ac_exeext conftest.$ac_ext
20544 if test "$ac_gcsections" = "yes"; then
20545 rm -f conftest.c
20546 touch conftest.c
20547 if $CC -c conftest.c; then
20548 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20549 grep "Warning: gc-sections option ignored" > /dev/null; then
20550 ac_gcsections=no
20551 fi
20552 fi
20553 rm -f conftest.c conftest.o conftest
20554 fi
20555 if test "$ac_gcsections" = "yes"; then
20556 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20557 fi
20558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20559 $as_echo "$ac_gcsections" >&6; }
20560
20561 if test "$ac_test_CFLAGS" = set; then
20562 CFLAGS="$ac_save_CFLAGS"
20563 else
20564 # this is the suspicious part
20565 CFLAGS=''
20566 fi
20567 fi
20568
20569 # Set -z,relro.
20570 # Note this is only for shared objects.
20571 ac_ld_relro=no
20572 if test x"$with_gnu_ld" = x"yes"; then
20573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
20574 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
20575 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
20576 if test -n "$cxx_z_relo"; then
20577 OPT_LDFLAGS="-Wl,-z,relro"
20578 ac_ld_relro=yes
20579 fi
20580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
20581 $as_echo "$ac_ld_relro" >&6; }
20582 fi
20583
20584 # Set linker optimization flags.
20585 if test x"$with_gnu_ld" = x"yes"; then
20586 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
20587 fi
20588
20589
20590
20591
20592
20593 ac_test_CXXFLAGS="${CXXFLAGS+set}"
20594 ac_save_CXXFLAGS="$CXXFLAGS"
20595 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
20596
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
20598 $as_echo_n "checking for sin in -lm... " >&6; }
20599 if test "${ac_cv_lib_m_sin+set}" = set; then :
20600 $as_echo_n "(cached) " >&6
20601 else
20602 ac_check_lib_save_LIBS=$LIBS
20603 LIBS="-lm $LIBS"
20604 if test x$gcc_no_link = xyes; then
20605 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20606 fi
20607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20608 /* end confdefs.h. */
20609
20610 /* Override any GCC internal prototype to avoid an error.
20611 Use char because int might match the return type of a GCC
20612 builtin and then its argument prototype would still apply. */
20613 #ifdef __cplusplus
20614 extern "C"
20615 #endif
20616 char sin ();
20617 int
20618 main ()
20619 {
20620 return sin ();
20621 ;
20622 return 0;
20623 }
20624 _ACEOF
20625 if ac_fn_c_try_link "$LINENO"; then :
20626 ac_cv_lib_m_sin=yes
20627 else
20628 ac_cv_lib_m_sin=no
20629 fi
20630 rm -f core conftest.err conftest.$ac_objext \
20631 conftest$ac_exeext conftest.$ac_ext
20632 LIBS=$ac_check_lib_save_LIBS
20633 fi
20634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
20635 $as_echo "$ac_cv_lib_m_sin" >&6; }
20636 if test "x$ac_cv_lib_m_sin" = x""yes; then :
20637 libm="-lm"
20638 fi
20639
20640 ac_save_LIBS="$LIBS"
20641 LIBS="$LIBS $libm"
20642
20643
20644
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
20646 $as_echo_n "checking for isinf declaration... " >&6; }
20647 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
20648 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
20649 $as_echo_n "(cached) " >&6
20650 else
20651
20652
20653 ac_ext=cpp
20654 ac_cpp='$CXXCPP $CPPFLAGS'
20655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20658
20659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20660 /* end confdefs.h. */
20661 #include <math.h>
20662 #ifdef HAVE_IEEEFP_H
20663 #include <ieeefp.h>
20664 #endif
20665
20666 int
20667 main ()
20668 {
20669 isinf(0);
20670 ;
20671 return 0;
20672 }
20673 _ACEOF
20674 if ac_fn_cxx_try_compile "$LINENO"; then :
20675 glibcxx_cv_func_isinf_use=yes
20676 else
20677 glibcxx_cv_func_isinf_use=no
20678 fi
20679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20680 ac_ext=c
20681 ac_cpp='$CPP $CPPFLAGS'
20682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20685
20686
20687 fi
20688
20689 fi
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
20691 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
20692
20693 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
20694 for ac_func in isinf
20695 do :
20696 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
20697 if test "x$ac_cv_func_isinf" = x""yes; then :
20698 cat >>confdefs.h <<_ACEOF
20699 #define HAVE_ISINF 1
20700 _ACEOF
20701
20702 fi
20703 done
20704
20705 else
20706
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
20708 $as_echo_n "checking for _isinf declaration... " >&6; }
20709 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
20710 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
20711 $as_echo_n "(cached) " >&6
20712 else
20713
20714
20715 ac_ext=cpp
20716 ac_cpp='$CXXCPP $CPPFLAGS'
20717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20720
20721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20722 /* end confdefs.h. */
20723 #include <math.h>
20724 #ifdef HAVE_IEEEFP_H
20725 #include <ieeefp.h>
20726 #endif
20727
20728 int
20729 main ()
20730 {
20731 _isinf(0);
20732 ;
20733 return 0;
20734 }
20735 _ACEOF
20736 if ac_fn_cxx_try_compile "$LINENO"; then :
20737 glibcxx_cv_func__isinf_use=yes
20738 else
20739 glibcxx_cv_func__isinf_use=no
20740 fi
20741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20742 ac_ext=c
20743 ac_cpp='$CPP $CPPFLAGS'
20744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20747
20748
20749 fi
20750
20751 fi
20752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
20753 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
20754
20755 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
20756 for ac_func in _isinf
20757 do :
20758 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
20759 if test "x$ac_cv_func__isinf" = x""yes; then :
20760 cat >>confdefs.h <<_ACEOF
20761 #define HAVE__ISINF 1
20762 _ACEOF
20763
20764 fi
20765 done
20766
20767 fi
20768 fi
20769
20770
20771
20772
20773
20774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
20775 $as_echo_n "checking for isnan declaration... " >&6; }
20776 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
20777 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
20778 $as_echo_n "(cached) " >&6
20779 else
20780
20781
20782 ac_ext=cpp
20783 ac_cpp='$CXXCPP $CPPFLAGS'
20784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20787
20788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20789 /* end confdefs.h. */
20790 #include <math.h>
20791 #ifdef HAVE_IEEEFP_H
20792 #include <ieeefp.h>
20793 #endif
20794
20795 int
20796 main ()
20797 {
20798 isnan(0);
20799 ;
20800 return 0;
20801 }
20802 _ACEOF
20803 if ac_fn_cxx_try_compile "$LINENO"; then :
20804 glibcxx_cv_func_isnan_use=yes
20805 else
20806 glibcxx_cv_func_isnan_use=no
20807 fi
20808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20809 ac_ext=c
20810 ac_cpp='$CPP $CPPFLAGS'
20811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20814
20815
20816 fi
20817
20818 fi
20819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
20820 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
20821
20822 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
20823 for ac_func in isnan
20824 do :
20825 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
20826 if test "x$ac_cv_func_isnan" = x""yes; then :
20827 cat >>confdefs.h <<_ACEOF
20828 #define HAVE_ISNAN 1
20829 _ACEOF
20830
20831 fi
20832 done
20833
20834 else
20835
20836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
20837 $as_echo_n "checking for _isnan declaration... " >&6; }
20838 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
20839 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
20840 $as_echo_n "(cached) " >&6
20841 else
20842
20843
20844 ac_ext=cpp
20845 ac_cpp='$CXXCPP $CPPFLAGS'
20846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20849
20850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20851 /* end confdefs.h. */
20852 #include <math.h>
20853 #ifdef HAVE_IEEEFP_H
20854 #include <ieeefp.h>
20855 #endif
20856
20857 int
20858 main ()
20859 {
20860 _isnan(0);
20861 ;
20862 return 0;
20863 }
20864 _ACEOF
20865 if ac_fn_cxx_try_compile "$LINENO"; then :
20866 glibcxx_cv_func__isnan_use=yes
20867 else
20868 glibcxx_cv_func__isnan_use=no
20869 fi
20870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20871 ac_ext=c
20872 ac_cpp='$CPP $CPPFLAGS'
20873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20876
20877
20878 fi
20879
20880 fi
20881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
20882 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
20883
20884 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
20885 for ac_func in _isnan
20886 do :
20887 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
20888 if test "x$ac_cv_func__isnan" = x""yes; then :
20889 cat >>confdefs.h <<_ACEOF
20890 #define HAVE__ISNAN 1
20891 _ACEOF
20892
20893 fi
20894 done
20895
20896 fi
20897 fi
20898
20899
20900
20901
20902
20903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
20904 $as_echo_n "checking for finite declaration... " >&6; }
20905 if test x${glibcxx_cv_func_finite_use+set} != xset; then
20906 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
20907 $as_echo_n "(cached) " >&6
20908 else
20909
20910
20911 ac_ext=cpp
20912 ac_cpp='$CXXCPP $CPPFLAGS'
20913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20916
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20919 #include <math.h>
20920 #ifdef HAVE_IEEEFP_H
20921 #include <ieeefp.h>
20922 #endif
20923
20924 int
20925 main ()
20926 {
20927 finite(0);
20928 ;
20929 return 0;
20930 }
20931 _ACEOF
20932 if ac_fn_cxx_try_compile "$LINENO"; then :
20933 glibcxx_cv_func_finite_use=yes
20934 else
20935 glibcxx_cv_func_finite_use=no
20936 fi
20937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20938 ac_ext=c
20939 ac_cpp='$CPP $CPPFLAGS'
20940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20943
20944
20945 fi
20946
20947 fi
20948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
20949 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
20950
20951 if test x$glibcxx_cv_func_finite_use = x"yes"; then
20952 for ac_func in finite
20953 do :
20954 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
20955 if test "x$ac_cv_func_finite" = x""yes; then :
20956 cat >>confdefs.h <<_ACEOF
20957 #define HAVE_FINITE 1
20958 _ACEOF
20959
20960 fi
20961 done
20962
20963 else
20964
20965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
20966 $as_echo_n "checking for _finite declaration... " >&6; }
20967 if test x${glibcxx_cv_func__finite_use+set} != xset; then
20968 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
20969 $as_echo_n "(cached) " >&6
20970 else
20971
20972
20973 ac_ext=cpp
20974 ac_cpp='$CXXCPP $CPPFLAGS'
20975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20978
20979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20980 /* end confdefs.h. */
20981 #include <math.h>
20982 #ifdef HAVE_IEEEFP_H
20983 #include <ieeefp.h>
20984 #endif
20985
20986 int
20987 main ()
20988 {
20989 _finite(0);
20990 ;
20991 return 0;
20992 }
20993 _ACEOF
20994 if ac_fn_cxx_try_compile "$LINENO"; then :
20995 glibcxx_cv_func__finite_use=yes
20996 else
20997 glibcxx_cv_func__finite_use=no
20998 fi
20999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21000 ac_ext=c
21001 ac_cpp='$CPP $CPPFLAGS'
21002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21005
21006
21007 fi
21008
21009 fi
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21011 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21012
21013 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21014 for ac_func in _finite
21015 do :
21016 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21017 if test "x$ac_cv_func__finite" = x""yes; then :
21018 cat >>confdefs.h <<_ACEOF
21019 #define HAVE__FINITE 1
21020 _ACEOF
21021
21022 fi
21023 done
21024
21025 fi
21026 fi
21027
21028
21029
21030
21031
21032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21033 $as_echo_n "checking for sincos declaration... " >&6; }
21034 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21035 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21036 $as_echo_n "(cached) " >&6
21037 else
21038
21039
21040 ac_ext=cpp
21041 ac_cpp='$CXXCPP $CPPFLAGS'
21042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21045
21046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21047 /* end confdefs.h. */
21048 #include <math.h>
21049 int
21050 main ()
21051 {
21052 sincos(0, 0, 0);
21053 ;
21054 return 0;
21055 }
21056 _ACEOF
21057 if ac_fn_cxx_try_compile "$LINENO"; then :
21058 glibcxx_cv_func_sincos_use=yes
21059 else
21060 glibcxx_cv_func_sincos_use=no
21061 fi
21062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21063 ac_ext=c
21064 ac_cpp='$CPP $CPPFLAGS'
21065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21068
21069
21070 fi
21071
21072 fi
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21074 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21075
21076 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21077 for ac_func in sincos
21078 do :
21079 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21080 if test "x$ac_cv_func_sincos" = x""yes; then :
21081 cat >>confdefs.h <<_ACEOF
21082 #define HAVE_SINCOS 1
21083 _ACEOF
21084
21085 fi
21086 done
21087
21088 else
21089
21090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21091 $as_echo_n "checking for _sincos declaration... " >&6; }
21092 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21093 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21094 $as_echo_n "(cached) " >&6
21095 else
21096
21097
21098 ac_ext=cpp
21099 ac_cpp='$CXXCPP $CPPFLAGS'
21100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21103
21104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21105 /* end confdefs.h. */
21106 #include <math.h>
21107 int
21108 main ()
21109 {
21110 _sincos(0, 0, 0);
21111 ;
21112 return 0;
21113 }
21114 _ACEOF
21115 if ac_fn_cxx_try_compile "$LINENO"; then :
21116 glibcxx_cv_func__sincos_use=yes
21117 else
21118 glibcxx_cv_func__sincos_use=no
21119 fi
21120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21121 ac_ext=c
21122 ac_cpp='$CPP $CPPFLAGS'
21123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21126
21127
21128 fi
21129
21130 fi
21131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21132 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21133
21134 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21135 for ac_func in _sincos
21136 do :
21137 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21138 if test "x$ac_cv_func__sincos" = x""yes; then :
21139 cat >>confdefs.h <<_ACEOF
21140 #define HAVE__SINCOS 1
21141 _ACEOF
21142
21143 fi
21144 done
21145
21146 fi
21147 fi
21148
21149
21150
21151
21152
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21154 $as_echo_n "checking for fpclass declaration... " >&6; }
21155 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21156 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21157 $as_echo_n "(cached) " >&6
21158 else
21159
21160
21161 ac_ext=cpp
21162 ac_cpp='$CXXCPP $CPPFLAGS'
21163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21166
21167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21168 /* end confdefs.h. */
21169 #include <math.h>
21170 #ifdef HAVE_IEEEFP_H
21171 #include <ieeefp.h>
21172 #endif
21173
21174 int
21175 main ()
21176 {
21177 fpclass(0);
21178 ;
21179 return 0;
21180 }
21181 _ACEOF
21182 if ac_fn_cxx_try_compile "$LINENO"; then :
21183 glibcxx_cv_func_fpclass_use=yes
21184 else
21185 glibcxx_cv_func_fpclass_use=no
21186 fi
21187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21188 ac_ext=c
21189 ac_cpp='$CPP $CPPFLAGS'
21190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21193
21194
21195 fi
21196
21197 fi
21198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21199 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21200
21201 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21202 for ac_func in fpclass
21203 do :
21204 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21205 if test "x$ac_cv_func_fpclass" = x""yes; then :
21206 cat >>confdefs.h <<_ACEOF
21207 #define HAVE_FPCLASS 1
21208 _ACEOF
21209
21210 fi
21211 done
21212
21213 else
21214
21215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21216 $as_echo_n "checking for _fpclass declaration... " >&6; }
21217 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21218 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21219 $as_echo_n "(cached) " >&6
21220 else
21221
21222
21223 ac_ext=cpp
21224 ac_cpp='$CXXCPP $CPPFLAGS'
21225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21228
21229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21230 /* end confdefs.h. */
21231 #include <math.h>
21232 #ifdef HAVE_IEEEFP_H
21233 #include <ieeefp.h>
21234 #endif
21235
21236 int
21237 main ()
21238 {
21239 _fpclass(0);
21240 ;
21241 return 0;
21242 }
21243 _ACEOF
21244 if ac_fn_cxx_try_compile "$LINENO"; then :
21245 glibcxx_cv_func__fpclass_use=yes
21246 else
21247 glibcxx_cv_func__fpclass_use=no
21248 fi
21249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21250 ac_ext=c
21251 ac_cpp='$CPP $CPPFLAGS'
21252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21255
21256
21257 fi
21258
21259 fi
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21261 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21262
21263 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21264 for ac_func in _fpclass
21265 do :
21266 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21267 if test "x$ac_cv_func__fpclass" = x""yes; then :
21268 cat >>confdefs.h <<_ACEOF
21269 #define HAVE__FPCLASS 1
21270 _ACEOF
21271
21272 fi
21273 done
21274
21275 fi
21276 fi
21277
21278
21279
21280
21281
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21283 $as_echo_n "checking for qfpclass declaration... " >&6; }
21284 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21285 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21286 $as_echo_n "(cached) " >&6
21287 else
21288
21289
21290 ac_ext=cpp
21291 ac_cpp='$CXXCPP $CPPFLAGS'
21292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21295
21296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21297 /* end confdefs.h. */
21298 #include <math.h>
21299 #ifdef HAVE_IEEEFP_H
21300 #include <ieeefp.h>
21301 #endif
21302
21303 int
21304 main ()
21305 {
21306 qfpclass(0);
21307 ;
21308 return 0;
21309 }
21310 _ACEOF
21311 if ac_fn_cxx_try_compile "$LINENO"; then :
21312 glibcxx_cv_func_qfpclass_use=yes
21313 else
21314 glibcxx_cv_func_qfpclass_use=no
21315 fi
21316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21317 ac_ext=c
21318 ac_cpp='$CPP $CPPFLAGS'
21319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21322
21323
21324 fi
21325
21326 fi
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21328 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21329
21330 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21331 for ac_func in qfpclass
21332 do :
21333 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21334 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21335 cat >>confdefs.h <<_ACEOF
21336 #define HAVE_QFPCLASS 1
21337 _ACEOF
21338
21339 fi
21340 done
21341
21342 else
21343
21344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21345 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21346 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21347 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21348 $as_echo_n "(cached) " >&6
21349 else
21350
21351
21352 ac_ext=cpp
21353 ac_cpp='$CXXCPP $CPPFLAGS'
21354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21357
21358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21359 /* end confdefs.h. */
21360 #include <math.h>
21361 #ifdef HAVE_IEEEFP_H
21362 #include <ieeefp.h>
21363 #endif
21364
21365 int
21366 main ()
21367 {
21368 _qfpclass(0);
21369 ;
21370 return 0;
21371 }
21372 _ACEOF
21373 if ac_fn_cxx_try_compile "$LINENO"; then :
21374 glibcxx_cv_func__qfpclass_use=yes
21375 else
21376 glibcxx_cv_func__qfpclass_use=no
21377 fi
21378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21379 ac_ext=c
21380 ac_cpp='$CPP $CPPFLAGS'
21381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21384
21385
21386 fi
21387
21388 fi
21389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21390 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21391
21392 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21393 for ac_func in _qfpclass
21394 do :
21395 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21396 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21397 cat >>confdefs.h <<_ACEOF
21398 #define HAVE__QFPCLASS 1
21399 _ACEOF
21400
21401 fi
21402 done
21403
21404 fi
21405 fi
21406
21407
21408
21409
21410
21411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21412 $as_echo_n "checking for hypot declaration... " >&6; }
21413 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21414 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21415 $as_echo_n "(cached) " >&6
21416 else
21417
21418
21419 ac_ext=cpp
21420 ac_cpp='$CXXCPP $CPPFLAGS'
21421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21424
21425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21426 /* end confdefs.h. */
21427 #include <math.h>
21428 int
21429 main ()
21430 {
21431 hypot(0, 0);
21432 ;
21433 return 0;
21434 }
21435 _ACEOF
21436 if ac_fn_cxx_try_compile "$LINENO"; then :
21437 glibcxx_cv_func_hypot_use=yes
21438 else
21439 glibcxx_cv_func_hypot_use=no
21440 fi
21441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21442 ac_ext=c
21443 ac_cpp='$CPP $CPPFLAGS'
21444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21447
21448
21449 fi
21450
21451 fi
21452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21453 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21454
21455 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21456 for ac_func in hypot
21457 do :
21458 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21459 if test "x$ac_cv_func_hypot" = x""yes; then :
21460 cat >>confdefs.h <<_ACEOF
21461 #define HAVE_HYPOT 1
21462 _ACEOF
21463
21464 fi
21465 done
21466
21467 else
21468
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21470 $as_echo_n "checking for _hypot declaration... " >&6; }
21471 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21472 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21473 $as_echo_n "(cached) " >&6
21474 else
21475
21476
21477 ac_ext=cpp
21478 ac_cpp='$CXXCPP $CPPFLAGS'
21479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21482
21483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21484 /* end confdefs.h. */
21485 #include <math.h>
21486 int
21487 main ()
21488 {
21489 _hypot(0, 0);
21490 ;
21491 return 0;
21492 }
21493 _ACEOF
21494 if ac_fn_cxx_try_compile "$LINENO"; then :
21495 glibcxx_cv_func__hypot_use=yes
21496 else
21497 glibcxx_cv_func__hypot_use=no
21498 fi
21499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21500 ac_ext=c
21501 ac_cpp='$CPP $CPPFLAGS'
21502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21505
21506
21507 fi
21508
21509 fi
21510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21511 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21512
21513 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21514 for ac_func in _hypot
21515 do :
21516 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21517 if test "x$ac_cv_func__hypot" = x""yes; then :
21518 cat >>confdefs.h <<_ACEOF
21519 #define HAVE__HYPOT 1
21520 _ACEOF
21521
21522 fi
21523 done
21524
21525 fi
21526 fi
21527
21528
21529
21530
21531
21532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21533 $as_echo_n "checking for float trig functions... " >&6; }
21534 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21535 $as_echo_n "(cached) " >&6
21536 else
21537
21538
21539 ac_ext=cpp
21540 ac_cpp='$CXXCPP $CPPFLAGS'
21541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21544
21545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21546 /* end confdefs.h. */
21547 #include <math.h>
21548 int
21549 main ()
21550 {
21551 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21552 ;
21553 return 0;
21554 }
21555 _ACEOF
21556 if ac_fn_cxx_try_compile "$LINENO"; then :
21557 glibcxx_cv_func_float_trig_use=yes
21558 else
21559 glibcxx_cv_func_float_trig_use=no
21560 fi
21561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21562 ac_ext=c
21563 ac_cpp='$CPP $CPPFLAGS'
21564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21567
21568 fi
21569
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
21571 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
21572 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21573 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21574 do :
21575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21577 eval as_val=\$$as_ac_var
21578 if test "x$as_val" = x""yes; then :
21579 cat >>confdefs.h <<_ACEOF
21580 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21581 _ACEOF
21582
21583 fi
21584 done
21585
21586 else
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
21588 $as_echo_n "checking for _float trig functions... " >&6; }
21589 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
21590 $as_echo_n "(cached) " >&6
21591 else
21592
21593
21594 ac_ext=cpp
21595 ac_cpp='$CXXCPP $CPPFLAGS'
21596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21599
21600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21601 /* end confdefs.h. */
21602 #include <math.h>
21603 int
21604 main ()
21605 {
21606 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
21607 ;
21608 return 0;
21609 }
21610 _ACEOF
21611 if ac_fn_cxx_try_compile "$LINENO"; then :
21612 glibcxx_cv_func__float_trig_use=yes
21613 else
21614 glibcxx_cv_func__float_trig_use=no
21615 fi
21616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21617 ac_ext=c
21618 ac_cpp='$CPP $CPPFLAGS'
21619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21622
21623 fi
21624
21625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
21626 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
21627 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
21628 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
21629 do :
21630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21632 eval as_val=\$$as_ac_var
21633 if test "x$as_val" = x""yes; then :
21634 cat >>confdefs.h <<_ACEOF
21635 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21636 _ACEOF
21637
21638 fi
21639 done
21640
21641 fi
21642 fi
21643
21644
21645
21646
21647
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
21649 $as_echo_n "checking for float round functions... " >&6; }
21650 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
21651 $as_echo_n "(cached) " >&6
21652 else
21653
21654
21655 ac_ext=cpp
21656 ac_cpp='$CXXCPP $CPPFLAGS'
21657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21660
21661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21662 /* end confdefs.h. */
21663 #include <math.h>
21664 int
21665 main ()
21666 {
21667 ceilf (0); floorf (0);
21668 ;
21669 return 0;
21670 }
21671 _ACEOF
21672 if ac_fn_cxx_try_compile "$LINENO"; then :
21673 glibcxx_cv_func_float_round_use=yes
21674 else
21675 glibcxx_cv_func_float_round_use=no
21676 fi
21677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21678 ac_ext=c
21679 ac_cpp='$CPP $CPPFLAGS'
21680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21683
21684 fi
21685
21686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
21687 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
21688 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
21689 for ac_func in ceilf floorf
21690 do :
21691 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21692 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21693 eval as_val=\$$as_ac_var
21694 if test "x$as_val" = x""yes; then :
21695 cat >>confdefs.h <<_ACEOF
21696 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21697 _ACEOF
21698
21699 fi
21700 done
21701
21702 else
21703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
21704 $as_echo_n "checking for _float round functions... " >&6; }
21705 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
21706 $as_echo_n "(cached) " >&6
21707 else
21708
21709
21710 ac_ext=cpp
21711 ac_cpp='$CXXCPP $CPPFLAGS'
21712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21715
21716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21717 /* end confdefs.h. */
21718 #include <math.h>
21719 int
21720 main ()
21721 {
21722 _ceilf (0); _floorf (0);
21723 ;
21724 return 0;
21725 }
21726 _ACEOF
21727 if ac_fn_cxx_try_compile "$LINENO"; then :
21728 glibcxx_cv_func__float_round_use=yes
21729 else
21730 glibcxx_cv_func__float_round_use=no
21731 fi
21732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21733 ac_ext=c
21734 ac_cpp='$CPP $CPPFLAGS'
21735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21738
21739 fi
21740
21741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
21742 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
21743 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
21744 for ac_func in _ceilf _floorf
21745 do :
21746 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21748 eval as_val=\$$as_ac_var
21749 if test "x$as_val" = x""yes; then :
21750 cat >>confdefs.h <<_ACEOF
21751 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21752 _ACEOF
21753
21754 fi
21755 done
21756
21757 fi
21758 fi
21759
21760
21761
21762
21763
21764
21765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
21766 $as_echo_n "checking for expf declaration... " >&6; }
21767 if test x${glibcxx_cv_func_expf_use+set} != xset; then
21768 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
21769 $as_echo_n "(cached) " >&6
21770 else
21771
21772
21773 ac_ext=cpp
21774 ac_cpp='$CXXCPP $CPPFLAGS'
21775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21778
21779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21780 /* end confdefs.h. */
21781 #include <math.h>
21782 #ifdef HAVE_IEEEFP_H
21783 #include <ieeefp.h>
21784 #endif
21785
21786 int
21787 main ()
21788 {
21789 expf(0);
21790 ;
21791 return 0;
21792 }
21793 _ACEOF
21794 if ac_fn_cxx_try_compile "$LINENO"; then :
21795 glibcxx_cv_func_expf_use=yes
21796 else
21797 glibcxx_cv_func_expf_use=no
21798 fi
21799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21800 ac_ext=c
21801 ac_cpp='$CPP $CPPFLAGS'
21802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21805
21806
21807 fi
21808
21809 fi
21810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
21811 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
21812
21813 if test x$glibcxx_cv_func_expf_use = x"yes"; then
21814 for ac_func in expf
21815 do :
21816 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
21817 if test "x$ac_cv_func_expf" = x""yes; then :
21818 cat >>confdefs.h <<_ACEOF
21819 #define HAVE_EXPF 1
21820 _ACEOF
21821
21822 fi
21823 done
21824
21825 else
21826
21827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
21828 $as_echo_n "checking for _expf declaration... " >&6; }
21829 if test x${glibcxx_cv_func__expf_use+set} != xset; then
21830 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
21831 $as_echo_n "(cached) " >&6
21832 else
21833
21834
21835 ac_ext=cpp
21836 ac_cpp='$CXXCPP $CPPFLAGS'
21837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21840
21841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21842 /* end confdefs.h. */
21843 #include <math.h>
21844 #ifdef HAVE_IEEEFP_H
21845 #include <ieeefp.h>
21846 #endif
21847
21848 int
21849 main ()
21850 {
21851 _expf(0);
21852 ;
21853 return 0;
21854 }
21855 _ACEOF
21856 if ac_fn_cxx_try_compile "$LINENO"; then :
21857 glibcxx_cv_func__expf_use=yes
21858 else
21859 glibcxx_cv_func__expf_use=no
21860 fi
21861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21862 ac_ext=c
21863 ac_cpp='$CPP $CPPFLAGS'
21864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21867
21868
21869 fi
21870
21871 fi
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
21873 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
21874
21875 if test x$glibcxx_cv_func__expf_use = x"yes"; then
21876 for ac_func in _expf
21877 do :
21878 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
21879 if test "x$ac_cv_func__expf" = x""yes; then :
21880 cat >>confdefs.h <<_ACEOF
21881 #define HAVE__EXPF 1
21882 _ACEOF
21883
21884 fi
21885 done
21886
21887 fi
21888 fi
21889
21890
21891
21892
21893
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
21895 $as_echo_n "checking for isnanf declaration... " >&6; }
21896 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
21897 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
21898 $as_echo_n "(cached) " >&6
21899 else
21900
21901
21902 ac_ext=cpp
21903 ac_cpp='$CXXCPP $CPPFLAGS'
21904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21907
21908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21909 /* end confdefs.h. */
21910 #include <math.h>
21911 #ifdef HAVE_IEEEFP_H
21912 #include <ieeefp.h>
21913 #endif
21914
21915 int
21916 main ()
21917 {
21918 isnanf(0);
21919 ;
21920 return 0;
21921 }
21922 _ACEOF
21923 if ac_fn_cxx_try_compile "$LINENO"; then :
21924 glibcxx_cv_func_isnanf_use=yes
21925 else
21926 glibcxx_cv_func_isnanf_use=no
21927 fi
21928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21929 ac_ext=c
21930 ac_cpp='$CPP $CPPFLAGS'
21931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21934
21935
21936 fi
21937
21938 fi
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
21940 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
21941
21942 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
21943 for ac_func in isnanf
21944 do :
21945 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
21946 if test "x$ac_cv_func_isnanf" = x""yes; then :
21947 cat >>confdefs.h <<_ACEOF
21948 #define HAVE_ISNANF 1
21949 _ACEOF
21950
21951 fi
21952 done
21953
21954 else
21955
21956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
21957 $as_echo_n "checking for _isnanf declaration... " >&6; }
21958 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
21959 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
21960 $as_echo_n "(cached) " >&6
21961 else
21962
21963
21964 ac_ext=cpp
21965 ac_cpp='$CXXCPP $CPPFLAGS'
21966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21969
21970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21971 /* end confdefs.h. */
21972 #include <math.h>
21973 #ifdef HAVE_IEEEFP_H
21974 #include <ieeefp.h>
21975 #endif
21976
21977 int
21978 main ()
21979 {
21980 _isnanf(0);
21981 ;
21982 return 0;
21983 }
21984 _ACEOF
21985 if ac_fn_cxx_try_compile "$LINENO"; then :
21986 glibcxx_cv_func__isnanf_use=yes
21987 else
21988 glibcxx_cv_func__isnanf_use=no
21989 fi
21990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21991 ac_ext=c
21992 ac_cpp='$CPP $CPPFLAGS'
21993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21996
21997
21998 fi
21999
22000 fi
22001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22002 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22003
22004 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22005 for ac_func in _isnanf
22006 do :
22007 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22008 if test "x$ac_cv_func__isnanf" = x""yes; then :
22009 cat >>confdefs.h <<_ACEOF
22010 #define HAVE__ISNANF 1
22011 _ACEOF
22012
22013 fi
22014 done
22015
22016 fi
22017 fi
22018
22019
22020
22021
22022
22023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22024 $as_echo_n "checking for isinff declaration... " >&6; }
22025 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22026 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22027 $as_echo_n "(cached) " >&6
22028 else
22029
22030
22031 ac_ext=cpp
22032 ac_cpp='$CXXCPP $CPPFLAGS'
22033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22036
22037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22038 /* end confdefs.h. */
22039 #include <math.h>
22040 #ifdef HAVE_IEEEFP_H
22041 #include <ieeefp.h>
22042 #endif
22043
22044 int
22045 main ()
22046 {
22047 isinff(0);
22048 ;
22049 return 0;
22050 }
22051 _ACEOF
22052 if ac_fn_cxx_try_compile "$LINENO"; then :
22053 glibcxx_cv_func_isinff_use=yes
22054 else
22055 glibcxx_cv_func_isinff_use=no
22056 fi
22057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22058 ac_ext=c
22059 ac_cpp='$CPP $CPPFLAGS'
22060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22063
22064
22065 fi
22066
22067 fi
22068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22069 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22070
22071 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22072 for ac_func in isinff
22073 do :
22074 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22075 if test "x$ac_cv_func_isinff" = x""yes; then :
22076 cat >>confdefs.h <<_ACEOF
22077 #define HAVE_ISINFF 1
22078 _ACEOF
22079
22080 fi
22081 done
22082
22083 else
22084
22085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22086 $as_echo_n "checking for _isinff declaration... " >&6; }
22087 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22088 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22089 $as_echo_n "(cached) " >&6
22090 else
22091
22092
22093 ac_ext=cpp
22094 ac_cpp='$CXXCPP $CPPFLAGS'
22095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22098
22099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22100 /* end confdefs.h. */
22101 #include <math.h>
22102 #ifdef HAVE_IEEEFP_H
22103 #include <ieeefp.h>
22104 #endif
22105
22106 int
22107 main ()
22108 {
22109 _isinff(0);
22110 ;
22111 return 0;
22112 }
22113 _ACEOF
22114 if ac_fn_cxx_try_compile "$LINENO"; then :
22115 glibcxx_cv_func__isinff_use=yes
22116 else
22117 glibcxx_cv_func__isinff_use=no
22118 fi
22119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22120 ac_ext=c
22121 ac_cpp='$CPP $CPPFLAGS'
22122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22125
22126
22127 fi
22128
22129 fi
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22131 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22132
22133 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22134 for ac_func in _isinff
22135 do :
22136 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22137 if test "x$ac_cv_func__isinff" = x""yes; then :
22138 cat >>confdefs.h <<_ACEOF
22139 #define HAVE__ISINFF 1
22140 _ACEOF
22141
22142 fi
22143 done
22144
22145 fi
22146 fi
22147
22148
22149
22150
22151
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22153 $as_echo_n "checking for atan2f declaration... " >&6; }
22154 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22155 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22156 $as_echo_n "(cached) " >&6
22157 else
22158
22159
22160 ac_ext=cpp
22161 ac_cpp='$CXXCPP $CPPFLAGS'
22162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22165
22166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22167 /* end confdefs.h. */
22168 #include <math.h>
22169 int
22170 main ()
22171 {
22172 atan2f(0, 0);
22173 ;
22174 return 0;
22175 }
22176 _ACEOF
22177 if ac_fn_cxx_try_compile "$LINENO"; then :
22178 glibcxx_cv_func_atan2f_use=yes
22179 else
22180 glibcxx_cv_func_atan2f_use=no
22181 fi
22182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22183 ac_ext=c
22184 ac_cpp='$CPP $CPPFLAGS'
22185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22188
22189
22190 fi
22191
22192 fi
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22194 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22195
22196 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22197 for ac_func in atan2f
22198 do :
22199 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22200 if test "x$ac_cv_func_atan2f" = x""yes; then :
22201 cat >>confdefs.h <<_ACEOF
22202 #define HAVE_ATAN2F 1
22203 _ACEOF
22204
22205 fi
22206 done
22207
22208 else
22209
22210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22211 $as_echo_n "checking for _atan2f declaration... " >&6; }
22212 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22213 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22214 $as_echo_n "(cached) " >&6
22215 else
22216
22217
22218 ac_ext=cpp
22219 ac_cpp='$CXXCPP $CPPFLAGS'
22220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22223
22224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22225 /* end confdefs.h. */
22226 #include <math.h>
22227 int
22228 main ()
22229 {
22230 _atan2f(0, 0);
22231 ;
22232 return 0;
22233 }
22234 _ACEOF
22235 if ac_fn_cxx_try_compile "$LINENO"; then :
22236 glibcxx_cv_func__atan2f_use=yes
22237 else
22238 glibcxx_cv_func__atan2f_use=no
22239 fi
22240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22241 ac_ext=c
22242 ac_cpp='$CPP $CPPFLAGS'
22243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22246
22247
22248 fi
22249
22250 fi
22251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22252 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22253
22254 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22255 for ac_func in _atan2f
22256 do :
22257 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22258 if test "x$ac_cv_func__atan2f" = x""yes; then :
22259 cat >>confdefs.h <<_ACEOF
22260 #define HAVE__ATAN2F 1
22261 _ACEOF
22262
22263 fi
22264 done
22265
22266 fi
22267 fi
22268
22269
22270
22271
22272
22273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22274 $as_echo_n "checking for fabsf declaration... " >&6; }
22275 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22276 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22277 $as_echo_n "(cached) " >&6
22278 else
22279
22280
22281 ac_ext=cpp
22282 ac_cpp='$CXXCPP $CPPFLAGS'
22283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22286
22287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22288 /* end confdefs.h. */
22289 #include <math.h>
22290 #ifdef HAVE_IEEEFP_H
22291 #include <ieeefp.h>
22292 #endif
22293
22294 int
22295 main ()
22296 {
22297 fabsf(0);
22298 ;
22299 return 0;
22300 }
22301 _ACEOF
22302 if ac_fn_cxx_try_compile "$LINENO"; then :
22303 glibcxx_cv_func_fabsf_use=yes
22304 else
22305 glibcxx_cv_func_fabsf_use=no
22306 fi
22307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22308 ac_ext=c
22309 ac_cpp='$CPP $CPPFLAGS'
22310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22313
22314
22315 fi
22316
22317 fi
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22319 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22320
22321 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22322 for ac_func in fabsf
22323 do :
22324 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22325 if test "x$ac_cv_func_fabsf" = x""yes; then :
22326 cat >>confdefs.h <<_ACEOF
22327 #define HAVE_FABSF 1
22328 _ACEOF
22329
22330 fi
22331 done
22332
22333 else
22334
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22336 $as_echo_n "checking for _fabsf declaration... " >&6; }
22337 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22338 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22339 $as_echo_n "(cached) " >&6
22340 else
22341
22342
22343 ac_ext=cpp
22344 ac_cpp='$CXXCPP $CPPFLAGS'
22345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22348
22349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22350 /* end confdefs.h. */
22351 #include <math.h>
22352 #ifdef HAVE_IEEEFP_H
22353 #include <ieeefp.h>
22354 #endif
22355
22356 int
22357 main ()
22358 {
22359 _fabsf(0);
22360 ;
22361 return 0;
22362 }
22363 _ACEOF
22364 if ac_fn_cxx_try_compile "$LINENO"; then :
22365 glibcxx_cv_func__fabsf_use=yes
22366 else
22367 glibcxx_cv_func__fabsf_use=no
22368 fi
22369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22370 ac_ext=c
22371 ac_cpp='$CPP $CPPFLAGS'
22372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22375
22376
22377 fi
22378
22379 fi
22380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22381 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22382
22383 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22384 for ac_func in _fabsf
22385 do :
22386 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22387 if test "x$ac_cv_func__fabsf" = x""yes; then :
22388 cat >>confdefs.h <<_ACEOF
22389 #define HAVE__FABSF 1
22390 _ACEOF
22391
22392 fi
22393 done
22394
22395 fi
22396 fi
22397
22398
22399
22400
22401
22402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22403 $as_echo_n "checking for fmodf declaration... " >&6; }
22404 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22405 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22406 $as_echo_n "(cached) " >&6
22407 else
22408
22409
22410 ac_ext=cpp
22411 ac_cpp='$CXXCPP $CPPFLAGS'
22412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22415
22416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h. */
22418 #include <math.h>
22419 int
22420 main ()
22421 {
22422 fmodf(0, 0);
22423 ;
22424 return 0;
22425 }
22426 _ACEOF
22427 if ac_fn_cxx_try_compile "$LINENO"; then :
22428 glibcxx_cv_func_fmodf_use=yes
22429 else
22430 glibcxx_cv_func_fmodf_use=no
22431 fi
22432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22433 ac_ext=c
22434 ac_cpp='$CPP $CPPFLAGS'
22435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22438
22439
22440 fi
22441
22442 fi
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22444 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22445
22446 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22447 for ac_func in fmodf
22448 do :
22449 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22450 if test "x$ac_cv_func_fmodf" = x""yes; then :
22451 cat >>confdefs.h <<_ACEOF
22452 #define HAVE_FMODF 1
22453 _ACEOF
22454
22455 fi
22456 done
22457
22458 else
22459
22460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22461 $as_echo_n "checking for _fmodf declaration... " >&6; }
22462 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22463 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22464 $as_echo_n "(cached) " >&6
22465 else
22466
22467
22468 ac_ext=cpp
22469 ac_cpp='$CXXCPP $CPPFLAGS'
22470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22473
22474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22475 /* end confdefs.h. */
22476 #include <math.h>
22477 int
22478 main ()
22479 {
22480 _fmodf(0, 0);
22481 ;
22482 return 0;
22483 }
22484 _ACEOF
22485 if ac_fn_cxx_try_compile "$LINENO"; then :
22486 glibcxx_cv_func__fmodf_use=yes
22487 else
22488 glibcxx_cv_func__fmodf_use=no
22489 fi
22490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22491 ac_ext=c
22492 ac_cpp='$CPP $CPPFLAGS'
22493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22496
22497
22498 fi
22499
22500 fi
22501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22502 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22503
22504 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22505 for ac_func in _fmodf
22506 do :
22507 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22508 if test "x$ac_cv_func__fmodf" = x""yes; then :
22509 cat >>confdefs.h <<_ACEOF
22510 #define HAVE__FMODF 1
22511 _ACEOF
22512
22513 fi
22514 done
22515
22516 fi
22517 fi
22518
22519
22520
22521
22522
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22524 $as_echo_n "checking for frexpf declaration... " >&6; }
22525 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22526 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22527 $as_echo_n "(cached) " >&6
22528 else
22529
22530
22531 ac_ext=cpp
22532 ac_cpp='$CXXCPP $CPPFLAGS'
22533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536
22537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22538 /* end confdefs.h. */
22539 #include <math.h>
22540 int
22541 main ()
22542 {
22543 frexpf(0, 0);
22544 ;
22545 return 0;
22546 }
22547 _ACEOF
22548 if ac_fn_cxx_try_compile "$LINENO"; then :
22549 glibcxx_cv_func_frexpf_use=yes
22550 else
22551 glibcxx_cv_func_frexpf_use=no
22552 fi
22553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22554 ac_ext=c
22555 ac_cpp='$CPP $CPPFLAGS'
22556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22559
22560
22561 fi
22562
22563 fi
22564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22565 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22566
22567 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22568 for ac_func in frexpf
22569 do :
22570 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
22571 if test "x$ac_cv_func_frexpf" = x""yes; then :
22572 cat >>confdefs.h <<_ACEOF
22573 #define HAVE_FREXPF 1
22574 _ACEOF
22575
22576 fi
22577 done
22578
22579 else
22580
22581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
22582 $as_echo_n "checking for _frexpf declaration... " >&6; }
22583 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
22584 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
22585 $as_echo_n "(cached) " >&6
22586 else
22587
22588
22589 ac_ext=cpp
22590 ac_cpp='$CXXCPP $CPPFLAGS'
22591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22594
22595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22596 /* end confdefs.h. */
22597 #include <math.h>
22598 int
22599 main ()
22600 {
22601 _frexpf(0, 0);
22602 ;
22603 return 0;
22604 }
22605 _ACEOF
22606 if ac_fn_cxx_try_compile "$LINENO"; then :
22607 glibcxx_cv_func__frexpf_use=yes
22608 else
22609 glibcxx_cv_func__frexpf_use=no
22610 fi
22611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22612 ac_ext=c
22613 ac_cpp='$CPP $CPPFLAGS'
22614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22617
22618
22619 fi
22620
22621 fi
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
22623 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
22624
22625 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
22626 for ac_func in _frexpf
22627 do :
22628 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
22629 if test "x$ac_cv_func__frexpf" = x""yes; then :
22630 cat >>confdefs.h <<_ACEOF
22631 #define HAVE__FREXPF 1
22632 _ACEOF
22633
22634 fi
22635 done
22636
22637 fi
22638 fi
22639
22640
22641
22642
22643
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
22645 $as_echo_n "checking for hypotf declaration... " >&6; }
22646 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
22647 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
22648 $as_echo_n "(cached) " >&6
22649 else
22650
22651
22652 ac_ext=cpp
22653 ac_cpp='$CXXCPP $CPPFLAGS'
22654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22657
22658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22659 /* end confdefs.h. */
22660 #include <math.h>
22661 int
22662 main ()
22663 {
22664 hypotf(0, 0);
22665 ;
22666 return 0;
22667 }
22668 _ACEOF
22669 if ac_fn_cxx_try_compile "$LINENO"; then :
22670 glibcxx_cv_func_hypotf_use=yes
22671 else
22672 glibcxx_cv_func_hypotf_use=no
22673 fi
22674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22675 ac_ext=c
22676 ac_cpp='$CPP $CPPFLAGS'
22677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22680
22681
22682 fi
22683
22684 fi
22685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
22686 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
22687
22688 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
22689 for ac_func in hypotf
22690 do :
22691 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
22692 if test "x$ac_cv_func_hypotf" = x""yes; then :
22693 cat >>confdefs.h <<_ACEOF
22694 #define HAVE_HYPOTF 1
22695 _ACEOF
22696
22697 fi
22698 done
22699
22700 else
22701
22702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
22703 $as_echo_n "checking for _hypotf declaration... " >&6; }
22704 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
22705 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
22706 $as_echo_n "(cached) " >&6
22707 else
22708
22709
22710 ac_ext=cpp
22711 ac_cpp='$CXXCPP $CPPFLAGS'
22712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22715
22716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22717 /* end confdefs.h. */
22718 #include <math.h>
22719 int
22720 main ()
22721 {
22722 _hypotf(0, 0);
22723 ;
22724 return 0;
22725 }
22726 _ACEOF
22727 if ac_fn_cxx_try_compile "$LINENO"; then :
22728 glibcxx_cv_func__hypotf_use=yes
22729 else
22730 glibcxx_cv_func__hypotf_use=no
22731 fi
22732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22733 ac_ext=c
22734 ac_cpp='$CPP $CPPFLAGS'
22735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22738
22739
22740 fi
22741
22742 fi
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
22744 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
22745
22746 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
22747 for ac_func in _hypotf
22748 do :
22749 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
22750 if test "x$ac_cv_func__hypotf" = x""yes; then :
22751 cat >>confdefs.h <<_ACEOF
22752 #define HAVE__HYPOTF 1
22753 _ACEOF
22754
22755 fi
22756 done
22757
22758 fi
22759 fi
22760
22761
22762
22763
22764
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
22766 $as_echo_n "checking for ldexpf declaration... " >&6; }
22767 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
22768 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
22769 $as_echo_n "(cached) " >&6
22770 else
22771
22772
22773 ac_ext=cpp
22774 ac_cpp='$CXXCPP $CPPFLAGS'
22775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22778
22779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22780 /* end confdefs.h. */
22781 #include <math.h>
22782 int
22783 main ()
22784 {
22785 ldexpf(0, 0);
22786 ;
22787 return 0;
22788 }
22789 _ACEOF
22790 if ac_fn_cxx_try_compile "$LINENO"; then :
22791 glibcxx_cv_func_ldexpf_use=yes
22792 else
22793 glibcxx_cv_func_ldexpf_use=no
22794 fi
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 ac_ext=c
22797 ac_cpp='$CPP $CPPFLAGS'
22798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22801
22802
22803 fi
22804
22805 fi
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
22807 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
22808
22809 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
22810 for ac_func in ldexpf
22811 do :
22812 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
22813 if test "x$ac_cv_func_ldexpf" = x""yes; then :
22814 cat >>confdefs.h <<_ACEOF
22815 #define HAVE_LDEXPF 1
22816 _ACEOF
22817
22818 fi
22819 done
22820
22821 else
22822
22823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
22824 $as_echo_n "checking for _ldexpf declaration... " >&6; }
22825 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
22826 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
22827 $as_echo_n "(cached) " >&6
22828 else
22829
22830
22831 ac_ext=cpp
22832 ac_cpp='$CXXCPP $CPPFLAGS'
22833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22836
22837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22838 /* end confdefs.h. */
22839 #include <math.h>
22840 int
22841 main ()
22842 {
22843 _ldexpf(0, 0);
22844 ;
22845 return 0;
22846 }
22847 _ACEOF
22848 if ac_fn_cxx_try_compile "$LINENO"; then :
22849 glibcxx_cv_func__ldexpf_use=yes
22850 else
22851 glibcxx_cv_func__ldexpf_use=no
22852 fi
22853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22854 ac_ext=c
22855 ac_cpp='$CPP $CPPFLAGS'
22856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22859
22860
22861 fi
22862
22863 fi
22864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
22865 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
22866
22867 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
22868 for ac_func in _ldexpf
22869 do :
22870 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
22871 if test "x$ac_cv_func__ldexpf" = x""yes; then :
22872 cat >>confdefs.h <<_ACEOF
22873 #define HAVE__LDEXPF 1
22874 _ACEOF
22875
22876 fi
22877 done
22878
22879 fi
22880 fi
22881
22882
22883
22884
22885
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
22887 $as_echo_n "checking for logf declaration... " >&6; }
22888 if test x${glibcxx_cv_func_logf_use+set} != xset; then
22889 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
22890 $as_echo_n "(cached) " >&6
22891 else
22892
22893
22894 ac_ext=cpp
22895 ac_cpp='$CXXCPP $CPPFLAGS'
22896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22899
22900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22901 /* end confdefs.h. */
22902 #include <math.h>
22903 #ifdef HAVE_IEEEFP_H
22904 #include <ieeefp.h>
22905 #endif
22906
22907 int
22908 main ()
22909 {
22910 logf(0);
22911 ;
22912 return 0;
22913 }
22914 _ACEOF
22915 if ac_fn_cxx_try_compile "$LINENO"; then :
22916 glibcxx_cv_func_logf_use=yes
22917 else
22918 glibcxx_cv_func_logf_use=no
22919 fi
22920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22921 ac_ext=c
22922 ac_cpp='$CPP $CPPFLAGS'
22923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22926
22927
22928 fi
22929
22930 fi
22931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
22932 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
22933
22934 if test x$glibcxx_cv_func_logf_use = x"yes"; then
22935 for ac_func in logf
22936 do :
22937 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
22938 if test "x$ac_cv_func_logf" = x""yes; then :
22939 cat >>confdefs.h <<_ACEOF
22940 #define HAVE_LOGF 1
22941 _ACEOF
22942
22943 fi
22944 done
22945
22946 else
22947
22948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
22949 $as_echo_n "checking for _logf declaration... " >&6; }
22950 if test x${glibcxx_cv_func__logf_use+set} != xset; then
22951 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
22952 $as_echo_n "(cached) " >&6
22953 else
22954
22955
22956 ac_ext=cpp
22957 ac_cpp='$CXXCPP $CPPFLAGS'
22958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22961
22962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22963 /* end confdefs.h. */
22964 #include <math.h>
22965 #ifdef HAVE_IEEEFP_H
22966 #include <ieeefp.h>
22967 #endif
22968
22969 int
22970 main ()
22971 {
22972 _logf(0);
22973 ;
22974 return 0;
22975 }
22976 _ACEOF
22977 if ac_fn_cxx_try_compile "$LINENO"; then :
22978 glibcxx_cv_func__logf_use=yes
22979 else
22980 glibcxx_cv_func__logf_use=no
22981 fi
22982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22983 ac_ext=c
22984 ac_cpp='$CPP $CPPFLAGS'
22985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22988
22989
22990 fi
22991
22992 fi
22993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
22994 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
22995
22996 if test x$glibcxx_cv_func__logf_use = x"yes"; then
22997 for ac_func in _logf
22998 do :
22999 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23000 if test "x$ac_cv_func__logf" = x""yes; then :
23001 cat >>confdefs.h <<_ACEOF
23002 #define HAVE__LOGF 1
23003 _ACEOF
23004
23005 fi
23006 done
23007
23008 fi
23009 fi
23010
23011
23012
23013
23014
23015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23016 $as_echo_n "checking for log10f declaration... " >&6; }
23017 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23018 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23019 $as_echo_n "(cached) " >&6
23020 else
23021
23022
23023 ac_ext=cpp
23024 ac_cpp='$CXXCPP $CPPFLAGS'
23025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23028
23029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23030 /* end confdefs.h. */
23031 #include <math.h>
23032 #ifdef HAVE_IEEEFP_H
23033 #include <ieeefp.h>
23034 #endif
23035
23036 int
23037 main ()
23038 {
23039 log10f(0);
23040 ;
23041 return 0;
23042 }
23043 _ACEOF
23044 if ac_fn_cxx_try_compile "$LINENO"; then :
23045 glibcxx_cv_func_log10f_use=yes
23046 else
23047 glibcxx_cv_func_log10f_use=no
23048 fi
23049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23050 ac_ext=c
23051 ac_cpp='$CPP $CPPFLAGS'
23052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23055
23056
23057 fi
23058
23059 fi
23060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23061 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23062
23063 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23064 for ac_func in log10f
23065 do :
23066 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23067 if test "x$ac_cv_func_log10f" = x""yes; then :
23068 cat >>confdefs.h <<_ACEOF
23069 #define HAVE_LOG10F 1
23070 _ACEOF
23071
23072 fi
23073 done
23074
23075 else
23076
23077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23078 $as_echo_n "checking for _log10f declaration... " >&6; }
23079 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23080 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23081 $as_echo_n "(cached) " >&6
23082 else
23083
23084
23085 ac_ext=cpp
23086 ac_cpp='$CXXCPP $CPPFLAGS'
23087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23090
23091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23092 /* end confdefs.h. */
23093 #include <math.h>
23094 #ifdef HAVE_IEEEFP_H
23095 #include <ieeefp.h>
23096 #endif
23097
23098 int
23099 main ()
23100 {
23101 _log10f(0);
23102 ;
23103 return 0;
23104 }
23105 _ACEOF
23106 if ac_fn_cxx_try_compile "$LINENO"; then :
23107 glibcxx_cv_func__log10f_use=yes
23108 else
23109 glibcxx_cv_func__log10f_use=no
23110 fi
23111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23112 ac_ext=c
23113 ac_cpp='$CPP $CPPFLAGS'
23114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23117
23118
23119 fi
23120
23121 fi
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23123 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23124
23125 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23126 for ac_func in _log10f
23127 do :
23128 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23129 if test "x$ac_cv_func__log10f" = x""yes; then :
23130 cat >>confdefs.h <<_ACEOF
23131 #define HAVE__LOG10F 1
23132 _ACEOF
23133
23134 fi
23135 done
23136
23137 fi
23138 fi
23139
23140
23141
23142
23143
23144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23145 $as_echo_n "checking for modff declaration... " >&6; }
23146 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23147 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23148 $as_echo_n "(cached) " >&6
23149 else
23150
23151
23152 ac_ext=cpp
23153 ac_cpp='$CXXCPP $CPPFLAGS'
23154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23157
23158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23159 /* end confdefs.h. */
23160 #include <math.h>
23161 int
23162 main ()
23163 {
23164 modff(0, 0);
23165 ;
23166 return 0;
23167 }
23168 _ACEOF
23169 if ac_fn_cxx_try_compile "$LINENO"; then :
23170 glibcxx_cv_func_modff_use=yes
23171 else
23172 glibcxx_cv_func_modff_use=no
23173 fi
23174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23175 ac_ext=c
23176 ac_cpp='$CPP $CPPFLAGS'
23177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23180
23181
23182 fi
23183
23184 fi
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23186 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23187
23188 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23189 for ac_func in modff
23190 do :
23191 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23192 if test "x$ac_cv_func_modff" = x""yes; then :
23193 cat >>confdefs.h <<_ACEOF
23194 #define HAVE_MODFF 1
23195 _ACEOF
23196
23197 fi
23198 done
23199
23200 else
23201
23202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23203 $as_echo_n "checking for _modff declaration... " >&6; }
23204 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23205 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23206 $as_echo_n "(cached) " >&6
23207 else
23208
23209
23210 ac_ext=cpp
23211 ac_cpp='$CXXCPP $CPPFLAGS'
23212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23215
23216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23217 /* end confdefs.h. */
23218 #include <math.h>
23219 int
23220 main ()
23221 {
23222 _modff(0, 0);
23223 ;
23224 return 0;
23225 }
23226 _ACEOF
23227 if ac_fn_cxx_try_compile "$LINENO"; then :
23228 glibcxx_cv_func__modff_use=yes
23229 else
23230 glibcxx_cv_func__modff_use=no
23231 fi
23232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23233 ac_ext=c
23234 ac_cpp='$CPP $CPPFLAGS'
23235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23238
23239
23240 fi
23241
23242 fi
23243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23244 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23245
23246 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23247 for ac_func in _modff
23248 do :
23249 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23250 if test "x$ac_cv_func__modff" = x""yes; then :
23251 cat >>confdefs.h <<_ACEOF
23252 #define HAVE__MODFF 1
23253 _ACEOF
23254
23255 fi
23256 done
23257
23258 fi
23259 fi
23260
23261
23262
23263
23264
23265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23266 $as_echo_n "checking for modf declaration... " >&6; }
23267 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23268 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23269 $as_echo_n "(cached) " >&6
23270 else
23271
23272
23273 ac_ext=cpp
23274 ac_cpp='$CXXCPP $CPPFLAGS'
23275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23278
23279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23280 /* end confdefs.h. */
23281 #include <math.h>
23282 int
23283 main ()
23284 {
23285 modf(0, 0);
23286 ;
23287 return 0;
23288 }
23289 _ACEOF
23290 if ac_fn_cxx_try_compile "$LINENO"; then :
23291 glibcxx_cv_func_modf_use=yes
23292 else
23293 glibcxx_cv_func_modf_use=no
23294 fi
23295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23296 ac_ext=c
23297 ac_cpp='$CPP $CPPFLAGS'
23298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23301
23302
23303 fi
23304
23305 fi
23306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23307 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23308
23309 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23310 for ac_func in modf
23311 do :
23312 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23313 if test "x$ac_cv_func_modf" = x""yes; then :
23314 cat >>confdefs.h <<_ACEOF
23315 #define HAVE_MODF 1
23316 _ACEOF
23317
23318 fi
23319 done
23320
23321 else
23322
23323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23324 $as_echo_n "checking for _modf declaration... " >&6; }
23325 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23326 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23327 $as_echo_n "(cached) " >&6
23328 else
23329
23330
23331 ac_ext=cpp
23332 ac_cpp='$CXXCPP $CPPFLAGS'
23333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23336
23337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23338 /* end confdefs.h. */
23339 #include <math.h>
23340 int
23341 main ()
23342 {
23343 _modf(0, 0);
23344 ;
23345 return 0;
23346 }
23347 _ACEOF
23348 if ac_fn_cxx_try_compile "$LINENO"; then :
23349 glibcxx_cv_func__modf_use=yes
23350 else
23351 glibcxx_cv_func__modf_use=no
23352 fi
23353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23354 ac_ext=c
23355 ac_cpp='$CPP $CPPFLAGS'
23356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23359
23360
23361 fi
23362
23363 fi
23364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23365 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23366
23367 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23368 for ac_func in _modf
23369 do :
23370 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23371 if test "x$ac_cv_func__modf" = x""yes; then :
23372 cat >>confdefs.h <<_ACEOF
23373 #define HAVE__MODF 1
23374 _ACEOF
23375
23376 fi
23377 done
23378
23379 fi
23380 fi
23381
23382
23383
23384
23385
23386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23387 $as_echo_n "checking for powf declaration... " >&6; }
23388 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23389 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23390 $as_echo_n "(cached) " >&6
23391 else
23392
23393
23394 ac_ext=cpp
23395 ac_cpp='$CXXCPP $CPPFLAGS'
23396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23399
23400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23401 /* end confdefs.h. */
23402 #include <math.h>
23403 int
23404 main ()
23405 {
23406 powf(0, 0);
23407 ;
23408 return 0;
23409 }
23410 _ACEOF
23411 if ac_fn_cxx_try_compile "$LINENO"; then :
23412 glibcxx_cv_func_powf_use=yes
23413 else
23414 glibcxx_cv_func_powf_use=no
23415 fi
23416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23417 ac_ext=c
23418 ac_cpp='$CPP $CPPFLAGS'
23419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23422
23423
23424 fi
23425
23426 fi
23427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23428 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23429
23430 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23431 for ac_func in powf
23432 do :
23433 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23434 if test "x$ac_cv_func_powf" = x""yes; then :
23435 cat >>confdefs.h <<_ACEOF
23436 #define HAVE_POWF 1
23437 _ACEOF
23438
23439 fi
23440 done
23441
23442 else
23443
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23445 $as_echo_n "checking for _powf declaration... " >&6; }
23446 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23447 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23448 $as_echo_n "(cached) " >&6
23449 else
23450
23451
23452 ac_ext=cpp
23453 ac_cpp='$CXXCPP $CPPFLAGS'
23454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23457
23458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23459 /* end confdefs.h. */
23460 #include <math.h>
23461 int
23462 main ()
23463 {
23464 _powf(0, 0);
23465 ;
23466 return 0;
23467 }
23468 _ACEOF
23469 if ac_fn_cxx_try_compile "$LINENO"; then :
23470 glibcxx_cv_func__powf_use=yes
23471 else
23472 glibcxx_cv_func__powf_use=no
23473 fi
23474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23475 ac_ext=c
23476 ac_cpp='$CPP $CPPFLAGS'
23477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23480
23481
23482 fi
23483
23484 fi
23485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23486 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23487
23488 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23489 for ac_func in _powf
23490 do :
23491 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23492 if test "x$ac_cv_func__powf" = x""yes; then :
23493 cat >>confdefs.h <<_ACEOF
23494 #define HAVE__POWF 1
23495 _ACEOF
23496
23497 fi
23498 done
23499
23500 fi
23501 fi
23502
23503
23504
23505
23506
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23508 $as_echo_n "checking for sqrtf declaration... " >&6; }
23509 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23510 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23511 $as_echo_n "(cached) " >&6
23512 else
23513
23514
23515 ac_ext=cpp
23516 ac_cpp='$CXXCPP $CPPFLAGS'
23517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23520
23521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23522 /* end confdefs.h. */
23523 #include <math.h>
23524 #ifdef HAVE_IEEEFP_H
23525 #include <ieeefp.h>
23526 #endif
23527
23528 int
23529 main ()
23530 {
23531 sqrtf(0);
23532 ;
23533 return 0;
23534 }
23535 _ACEOF
23536 if ac_fn_cxx_try_compile "$LINENO"; then :
23537 glibcxx_cv_func_sqrtf_use=yes
23538 else
23539 glibcxx_cv_func_sqrtf_use=no
23540 fi
23541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23542 ac_ext=c
23543 ac_cpp='$CPP $CPPFLAGS'
23544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23547
23548
23549 fi
23550
23551 fi
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23553 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23554
23555 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23556 for ac_func in sqrtf
23557 do :
23558 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23559 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23560 cat >>confdefs.h <<_ACEOF
23561 #define HAVE_SQRTF 1
23562 _ACEOF
23563
23564 fi
23565 done
23566
23567 else
23568
23569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
23570 $as_echo_n "checking for _sqrtf declaration... " >&6; }
23571 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
23572 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
23573 $as_echo_n "(cached) " >&6
23574 else
23575
23576
23577 ac_ext=cpp
23578 ac_cpp='$CXXCPP $CPPFLAGS'
23579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23582
23583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23584 /* end confdefs.h. */
23585 #include <math.h>
23586 #ifdef HAVE_IEEEFP_H
23587 #include <ieeefp.h>
23588 #endif
23589
23590 int
23591 main ()
23592 {
23593 _sqrtf(0);
23594 ;
23595 return 0;
23596 }
23597 _ACEOF
23598 if ac_fn_cxx_try_compile "$LINENO"; then :
23599 glibcxx_cv_func__sqrtf_use=yes
23600 else
23601 glibcxx_cv_func__sqrtf_use=no
23602 fi
23603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23604 ac_ext=c
23605 ac_cpp='$CPP $CPPFLAGS'
23606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23609
23610
23611 fi
23612
23613 fi
23614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
23615 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
23616
23617 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
23618 for ac_func in _sqrtf
23619 do :
23620 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
23621 if test "x$ac_cv_func__sqrtf" = x""yes; then :
23622 cat >>confdefs.h <<_ACEOF
23623 #define HAVE__SQRTF 1
23624 _ACEOF
23625
23626 fi
23627 done
23628
23629 fi
23630 fi
23631
23632
23633
23634
23635
23636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
23637 $as_echo_n "checking for sincosf declaration... " >&6; }
23638 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
23639 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
23640 $as_echo_n "(cached) " >&6
23641 else
23642
23643
23644 ac_ext=cpp
23645 ac_cpp='$CXXCPP $CPPFLAGS'
23646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23649
23650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23651 /* end confdefs.h. */
23652 #include <math.h>
23653 int
23654 main ()
23655 {
23656 sincosf(0, 0, 0);
23657 ;
23658 return 0;
23659 }
23660 _ACEOF
23661 if ac_fn_cxx_try_compile "$LINENO"; then :
23662 glibcxx_cv_func_sincosf_use=yes
23663 else
23664 glibcxx_cv_func_sincosf_use=no
23665 fi
23666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23667 ac_ext=c
23668 ac_cpp='$CPP $CPPFLAGS'
23669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23672
23673
23674 fi
23675
23676 fi
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
23678 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
23679
23680 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
23681 for ac_func in sincosf
23682 do :
23683 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
23684 if test "x$ac_cv_func_sincosf" = x""yes; then :
23685 cat >>confdefs.h <<_ACEOF
23686 #define HAVE_SINCOSF 1
23687 _ACEOF
23688
23689 fi
23690 done
23691
23692 else
23693
23694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
23695 $as_echo_n "checking for _sincosf declaration... " >&6; }
23696 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
23697 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
23698 $as_echo_n "(cached) " >&6
23699 else
23700
23701
23702 ac_ext=cpp
23703 ac_cpp='$CXXCPP $CPPFLAGS'
23704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23707
23708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23709 /* end confdefs.h. */
23710 #include <math.h>
23711 int
23712 main ()
23713 {
23714 _sincosf(0, 0, 0);
23715 ;
23716 return 0;
23717 }
23718 _ACEOF
23719 if ac_fn_cxx_try_compile "$LINENO"; then :
23720 glibcxx_cv_func__sincosf_use=yes
23721 else
23722 glibcxx_cv_func__sincosf_use=no
23723 fi
23724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23725 ac_ext=c
23726 ac_cpp='$CPP $CPPFLAGS'
23727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23730
23731
23732 fi
23733
23734 fi
23735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
23736 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
23737
23738 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
23739 for ac_func in _sincosf
23740 do :
23741 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
23742 if test "x$ac_cv_func__sincosf" = x""yes; then :
23743 cat >>confdefs.h <<_ACEOF
23744 #define HAVE__SINCOSF 1
23745 _ACEOF
23746
23747 fi
23748 done
23749
23750 fi
23751 fi
23752
23753
23754
23755
23756
23757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
23758 $as_echo_n "checking for finitef declaration... " >&6; }
23759 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
23760 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
23761 $as_echo_n "(cached) " >&6
23762 else
23763
23764
23765 ac_ext=cpp
23766 ac_cpp='$CXXCPP $CPPFLAGS'
23767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23770
23771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23772 /* end confdefs.h. */
23773 #include <math.h>
23774 #ifdef HAVE_IEEEFP_H
23775 #include <ieeefp.h>
23776 #endif
23777
23778 int
23779 main ()
23780 {
23781 finitef(0);
23782 ;
23783 return 0;
23784 }
23785 _ACEOF
23786 if ac_fn_cxx_try_compile "$LINENO"; then :
23787 glibcxx_cv_func_finitef_use=yes
23788 else
23789 glibcxx_cv_func_finitef_use=no
23790 fi
23791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23792 ac_ext=c
23793 ac_cpp='$CPP $CPPFLAGS'
23794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23797
23798
23799 fi
23800
23801 fi
23802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
23803 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
23804
23805 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
23806 for ac_func in finitef
23807 do :
23808 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
23809 if test "x$ac_cv_func_finitef" = x""yes; then :
23810 cat >>confdefs.h <<_ACEOF
23811 #define HAVE_FINITEF 1
23812 _ACEOF
23813
23814 fi
23815 done
23816
23817 else
23818
23819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
23820 $as_echo_n "checking for _finitef declaration... " >&6; }
23821 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
23822 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
23823 $as_echo_n "(cached) " >&6
23824 else
23825
23826
23827 ac_ext=cpp
23828 ac_cpp='$CXXCPP $CPPFLAGS'
23829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23832
23833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23834 /* end confdefs.h. */
23835 #include <math.h>
23836 #ifdef HAVE_IEEEFP_H
23837 #include <ieeefp.h>
23838 #endif
23839
23840 int
23841 main ()
23842 {
23843 _finitef(0);
23844 ;
23845 return 0;
23846 }
23847 _ACEOF
23848 if ac_fn_cxx_try_compile "$LINENO"; then :
23849 glibcxx_cv_func__finitef_use=yes
23850 else
23851 glibcxx_cv_func__finitef_use=no
23852 fi
23853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23854 ac_ext=c
23855 ac_cpp='$CPP $CPPFLAGS'
23856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23859
23860
23861 fi
23862
23863 fi
23864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
23865 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
23866
23867 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
23868 for ac_func in _finitef
23869 do :
23870 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
23871 if test "x$ac_cv_func__finitef" = x""yes; then :
23872 cat >>confdefs.h <<_ACEOF
23873 #define HAVE__FINITEF 1
23874 _ACEOF
23875
23876 fi
23877 done
23878
23879 fi
23880 fi
23881
23882
23883
23884
23885
23886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
23887 $as_echo_n "checking for long double trig functions... " >&6; }
23888 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
23889 $as_echo_n "(cached) " >&6
23890 else
23891
23892
23893 ac_ext=cpp
23894 ac_cpp='$CXXCPP $CPPFLAGS'
23895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23898
23899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23900 /* end confdefs.h. */
23901 #include <math.h>
23902 int
23903 main ()
23904 {
23905 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
23906 ;
23907 return 0;
23908 }
23909 _ACEOF
23910 if ac_fn_cxx_try_compile "$LINENO"; then :
23911 glibcxx_cv_func_long_double_trig_use=yes
23912 else
23913 glibcxx_cv_func_long_double_trig_use=no
23914 fi
23915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23916 ac_ext=c
23917 ac_cpp='$CPP $CPPFLAGS'
23918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23921
23922 fi
23923
23924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
23925 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
23926 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
23927 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
23928 do :
23929 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23930 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23931 eval as_val=\$$as_ac_var
23932 if test "x$as_val" = x""yes; then :
23933 cat >>confdefs.h <<_ACEOF
23934 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23935 _ACEOF
23936
23937 fi
23938 done
23939
23940 else
23941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
23942 $as_echo_n "checking for _long double trig functions... " >&6; }
23943 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
23944 $as_echo_n "(cached) " >&6
23945 else
23946
23947
23948 ac_ext=cpp
23949 ac_cpp='$CXXCPP $CPPFLAGS'
23950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23953
23954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23955 /* end confdefs.h. */
23956 #include <math.h>
23957 int
23958 main ()
23959 {
23960 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
23961 ;
23962 return 0;
23963 }
23964 _ACEOF
23965 if ac_fn_cxx_try_compile "$LINENO"; then :
23966 glibcxx_cv_func__long_double_trig_use=yes
23967 else
23968 glibcxx_cv_func__long_double_trig_use=no
23969 fi
23970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23971 ac_ext=c
23972 ac_cpp='$CPP $CPPFLAGS'
23973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23976
23977 fi
23978
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
23980 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
23981 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
23982 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
23983 do :
23984 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23985 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23986 eval as_val=\$$as_ac_var
23987 if test "x$as_val" = x""yes; then :
23988 cat >>confdefs.h <<_ACEOF
23989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23990 _ACEOF
23991
23992 fi
23993 done
23994
23995 fi
23996 fi
23997
23998
23999
24000
24001
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24003 $as_echo_n "checking for long double round functions... " >&6; }
24004 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24005 $as_echo_n "(cached) " >&6
24006 else
24007
24008
24009 ac_ext=cpp
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24014
24015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24016 /* end confdefs.h. */
24017 #include <math.h>
24018 int
24019 main ()
24020 {
24021 ceill (0); floorl (0);
24022 ;
24023 return 0;
24024 }
24025 _ACEOF
24026 if ac_fn_cxx_try_compile "$LINENO"; then :
24027 glibcxx_cv_func_long_double_round_use=yes
24028 else
24029 glibcxx_cv_func_long_double_round_use=no
24030 fi
24031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24032 ac_ext=c
24033 ac_cpp='$CPP $CPPFLAGS'
24034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24037
24038 fi
24039
24040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24041 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24042 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24043 for ac_func in ceill floorl
24044 do :
24045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24047 eval as_val=\$$as_ac_var
24048 if test "x$as_val" = x""yes; then :
24049 cat >>confdefs.h <<_ACEOF
24050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24051 _ACEOF
24052
24053 fi
24054 done
24055
24056 else
24057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24058 $as_echo_n "checking for _long double round functions... " >&6; }
24059 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24060 $as_echo_n "(cached) " >&6
24061 else
24062
24063
24064 ac_ext=cpp
24065 ac_cpp='$CXXCPP $CPPFLAGS'
24066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24069
24070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24071 /* end confdefs.h. */
24072 #include <math.h>
24073 int
24074 main ()
24075 {
24076 _ceill (0); _floorl (0);
24077 ;
24078 return 0;
24079 }
24080 _ACEOF
24081 if ac_fn_cxx_try_compile "$LINENO"; then :
24082 glibcxx_cv_func__long_double_round_use=yes
24083 else
24084 glibcxx_cv_func__long_double_round_use=no
24085 fi
24086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24087 ac_ext=c
24088 ac_cpp='$CPP $CPPFLAGS'
24089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24092
24093 fi
24094
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24096 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24097 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24098 for ac_func in _ceill _floorl
24099 do :
24100 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24101 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24102 eval as_val=\$$as_ac_var
24103 if test "x$as_val" = x""yes; then :
24104 cat >>confdefs.h <<_ACEOF
24105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24106 _ACEOF
24107
24108 fi
24109 done
24110
24111 fi
24112 fi
24113
24114
24115
24116
24117
24118
24119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24120 $as_echo_n "checking for isnanl declaration... " >&6; }
24121 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24122 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24123 $as_echo_n "(cached) " >&6
24124 else
24125
24126
24127 ac_ext=cpp
24128 ac_cpp='$CXXCPP $CPPFLAGS'
24129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24132
24133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24134 /* end confdefs.h. */
24135 #include <math.h>
24136 #ifdef HAVE_IEEEFP_H
24137 #include <ieeefp.h>
24138 #endif
24139
24140 int
24141 main ()
24142 {
24143 isnanl(0);
24144 ;
24145 return 0;
24146 }
24147 _ACEOF
24148 if ac_fn_cxx_try_compile "$LINENO"; then :
24149 glibcxx_cv_func_isnanl_use=yes
24150 else
24151 glibcxx_cv_func_isnanl_use=no
24152 fi
24153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24154 ac_ext=c
24155 ac_cpp='$CPP $CPPFLAGS'
24156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24159
24160
24161 fi
24162
24163 fi
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24165 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24166
24167 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24168 for ac_func in isnanl
24169 do :
24170 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24171 if test "x$ac_cv_func_isnanl" = x""yes; then :
24172 cat >>confdefs.h <<_ACEOF
24173 #define HAVE_ISNANL 1
24174 _ACEOF
24175
24176 fi
24177 done
24178
24179 else
24180
24181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24182 $as_echo_n "checking for _isnanl declaration... " >&6; }
24183 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24184 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24185 $as_echo_n "(cached) " >&6
24186 else
24187
24188
24189 ac_ext=cpp
24190 ac_cpp='$CXXCPP $CPPFLAGS'
24191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24194
24195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24196 /* end confdefs.h. */
24197 #include <math.h>
24198 #ifdef HAVE_IEEEFP_H
24199 #include <ieeefp.h>
24200 #endif
24201
24202 int
24203 main ()
24204 {
24205 _isnanl(0);
24206 ;
24207 return 0;
24208 }
24209 _ACEOF
24210 if ac_fn_cxx_try_compile "$LINENO"; then :
24211 glibcxx_cv_func__isnanl_use=yes
24212 else
24213 glibcxx_cv_func__isnanl_use=no
24214 fi
24215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24216 ac_ext=c
24217 ac_cpp='$CPP $CPPFLAGS'
24218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24221
24222
24223 fi
24224
24225 fi
24226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24227 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24228
24229 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24230 for ac_func in _isnanl
24231 do :
24232 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24233 if test "x$ac_cv_func__isnanl" = x""yes; then :
24234 cat >>confdefs.h <<_ACEOF
24235 #define HAVE__ISNANL 1
24236 _ACEOF
24237
24238 fi
24239 done
24240
24241 fi
24242 fi
24243
24244
24245
24246
24247
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24249 $as_echo_n "checking for isinfl declaration... " >&6; }
24250 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24251 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24252 $as_echo_n "(cached) " >&6
24253 else
24254
24255
24256 ac_ext=cpp
24257 ac_cpp='$CXXCPP $CPPFLAGS'
24258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24261
24262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24263 /* end confdefs.h. */
24264 #include <math.h>
24265 #ifdef HAVE_IEEEFP_H
24266 #include <ieeefp.h>
24267 #endif
24268
24269 int
24270 main ()
24271 {
24272 isinfl(0);
24273 ;
24274 return 0;
24275 }
24276 _ACEOF
24277 if ac_fn_cxx_try_compile "$LINENO"; then :
24278 glibcxx_cv_func_isinfl_use=yes
24279 else
24280 glibcxx_cv_func_isinfl_use=no
24281 fi
24282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24283 ac_ext=c
24284 ac_cpp='$CPP $CPPFLAGS'
24285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24288
24289
24290 fi
24291
24292 fi
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24294 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24295
24296 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24297 for ac_func in isinfl
24298 do :
24299 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24300 if test "x$ac_cv_func_isinfl" = x""yes; then :
24301 cat >>confdefs.h <<_ACEOF
24302 #define HAVE_ISINFL 1
24303 _ACEOF
24304
24305 fi
24306 done
24307
24308 else
24309
24310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24311 $as_echo_n "checking for _isinfl declaration... " >&6; }
24312 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24313 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24314 $as_echo_n "(cached) " >&6
24315 else
24316
24317
24318 ac_ext=cpp
24319 ac_cpp='$CXXCPP $CPPFLAGS'
24320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24323
24324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24325 /* end confdefs.h. */
24326 #include <math.h>
24327 #ifdef HAVE_IEEEFP_H
24328 #include <ieeefp.h>
24329 #endif
24330
24331 int
24332 main ()
24333 {
24334 _isinfl(0);
24335 ;
24336 return 0;
24337 }
24338 _ACEOF
24339 if ac_fn_cxx_try_compile "$LINENO"; then :
24340 glibcxx_cv_func__isinfl_use=yes
24341 else
24342 glibcxx_cv_func__isinfl_use=no
24343 fi
24344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24345 ac_ext=c
24346 ac_cpp='$CPP $CPPFLAGS'
24347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24350
24351
24352 fi
24353
24354 fi
24355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24356 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24357
24358 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24359 for ac_func in _isinfl
24360 do :
24361 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24362 if test "x$ac_cv_func__isinfl" = x""yes; then :
24363 cat >>confdefs.h <<_ACEOF
24364 #define HAVE__ISINFL 1
24365 _ACEOF
24366
24367 fi
24368 done
24369
24370 fi
24371 fi
24372
24373
24374
24375
24376
24377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24378 $as_echo_n "checking for atan2l declaration... " >&6; }
24379 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24380 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24381 $as_echo_n "(cached) " >&6
24382 else
24383
24384
24385 ac_ext=cpp
24386 ac_cpp='$CXXCPP $CPPFLAGS'
24387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24390
24391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24392 /* end confdefs.h. */
24393 #include <math.h>
24394 int
24395 main ()
24396 {
24397 atan2l(0, 0);
24398 ;
24399 return 0;
24400 }
24401 _ACEOF
24402 if ac_fn_cxx_try_compile "$LINENO"; then :
24403 glibcxx_cv_func_atan2l_use=yes
24404 else
24405 glibcxx_cv_func_atan2l_use=no
24406 fi
24407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24408 ac_ext=c
24409 ac_cpp='$CPP $CPPFLAGS'
24410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24413
24414
24415 fi
24416
24417 fi
24418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24419 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24420
24421 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24422 for ac_func in atan2l
24423 do :
24424 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24425 if test "x$ac_cv_func_atan2l" = x""yes; then :
24426 cat >>confdefs.h <<_ACEOF
24427 #define HAVE_ATAN2L 1
24428 _ACEOF
24429
24430 fi
24431 done
24432
24433 else
24434
24435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24436 $as_echo_n "checking for _atan2l declaration... " >&6; }
24437 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24438 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24439 $as_echo_n "(cached) " >&6
24440 else
24441
24442
24443 ac_ext=cpp
24444 ac_cpp='$CXXCPP $CPPFLAGS'
24445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24448
24449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24450 /* end confdefs.h. */
24451 #include <math.h>
24452 int
24453 main ()
24454 {
24455 _atan2l(0, 0);
24456 ;
24457 return 0;
24458 }
24459 _ACEOF
24460 if ac_fn_cxx_try_compile "$LINENO"; then :
24461 glibcxx_cv_func__atan2l_use=yes
24462 else
24463 glibcxx_cv_func__atan2l_use=no
24464 fi
24465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24466 ac_ext=c
24467 ac_cpp='$CPP $CPPFLAGS'
24468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24471
24472
24473 fi
24474
24475 fi
24476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24477 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24478
24479 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24480 for ac_func in _atan2l
24481 do :
24482 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24483 if test "x$ac_cv_func__atan2l" = x""yes; then :
24484 cat >>confdefs.h <<_ACEOF
24485 #define HAVE__ATAN2L 1
24486 _ACEOF
24487
24488 fi
24489 done
24490
24491 fi
24492 fi
24493
24494
24495
24496
24497
24498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24499 $as_echo_n "checking for expl declaration... " >&6; }
24500 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24501 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24502 $as_echo_n "(cached) " >&6
24503 else
24504
24505
24506 ac_ext=cpp
24507 ac_cpp='$CXXCPP $CPPFLAGS'
24508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24511
24512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24513 /* end confdefs.h. */
24514 #include <math.h>
24515 #ifdef HAVE_IEEEFP_H
24516 #include <ieeefp.h>
24517 #endif
24518
24519 int
24520 main ()
24521 {
24522 expl(0);
24523 ;
24524 return 0;
24525 }
24526 _ACEOF
24527 if ac_fn_cxx_try_compile "$LINENO"; then :
24528 glibcxx_cv_func_expl_use=yes
24529 else
24530 glibcxx_cv_func_expl_use=no
24531 fi
24532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24533 ac_ext=c
24534 ac_cpp='$CPP $CPPFLAGS'
24535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24538
24539
24540 fi
24541
24542 fi
24543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24544 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24545
24546 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24547 for ac_func in expl
24548 do :
24549 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24550 if test "x$ac_cv_func_expl" = x""yes; then :
24551 cat >>confdefs.h <<_ACEOF
24552 #define HAVE_EXPL 1
24553 _ACEOF
24554
24555 fi
24556 done
24557
24558 else
24559
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24561 $as_echo_n "checking for _expl declaration... " >&6; }
24562 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24563 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24564 $as_echo_n "(cached) " >&6
24565 else
24566
24567
24568 ac_ext=cpp
24569 ac_cpp='$CXXCPP $CPPFLAGS'
24570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573
24574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24575 /* end confdefs.h. */
24576 #include <math.h>
24577 #ifdef HAVE_IEEEFP_H
24578 #include <ieeefp.h>
24579 #endif
24580
24581 int
24582 main ()
24583 {
24584 _expl(0);
24585 ;
24586 return 0;
24587 }
24588 _ACEOF
24589 if ac_fn_cxx_try_compile "$LINENO"; then :
24590 glibcxx_cv_func__expl_use=yes
24591 else
24592 glibcxx_cv_func__expl_use=no
24593 fi
24594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24595 ac_ext=c
24596 ac_cpp='$CPP $CPPFLAGS'
24597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24600
24601
24602 fi
24603
24604 fi
24605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
24606 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
24607
24608 if test x$glibcxx_cv_func__expl_use = x"yes"; then
24609 for ac_func in _expl
24610 do :
24611 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
24612 if test "x$ac_cv_func__expl" = x""yes; then :
24613 cat >>confdefs.h <<_ACEOF
24614 #define HAVE__EXPL 1
24615 _ACEOF
24616
24617 fi
24618 done
24619
24620 fi
24621 fi
24622
24623
24624
24625
24626
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
24628 $as_echo_n "checking for fabsl declaration... " >&6; }
24629 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
24630 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
24631 $as_echo_n "(cached) " >&6
24632 else
24633
24634
24635 ac_ext=cpp
24636 ac_cpp='$CXXCPP $CPPFLAGS'
24637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24640
24641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24642 /* end confdefs.h. */
24643 #include <math.h>
24644 #ifdef HAVE_IEEEFP_H
24645 #include <ieeefp.h>
24646 #endif
24647
24648 int
24649 main ()
24650 {
24651 fabsl(0);
24652 ;
24653 return 0;
24654 }
24655 _ACEOF
24656 if ac_fn_cxx_try_compile "$LINENO"; then :
24657 glibcxx_cv_func_fabsl_use=yes
24658 else
24659 glibcxx_cv_func_fabsl_use=no
24660 fi
24661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24662 ac_ext=c
24663 ac_cpp='$CPP $CPPFLAGS'
24664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24667
24668
24669 fi
24670
24671 fi
24672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
24673 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
24674
24675 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
24676 for ac_func in fabsl
24677 do :
24678 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
24679 if test "x$ac_cv_func_fabsl" = x""yes; then :
24680 cat >>confdefs.h <<_ACEOF
24681 #define HAVE_FABSL 1
24682 _ACEOF
24683
24684 fi
24685 done
24686
24687 else
24688
24689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
24690 $as_echo_n "checking for _fabsl declaration... " >&6; }
24691 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
24692 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
24693 $as_echo_n "(cached) " >&6
24694 else
24695
24696
24697 ac_ext=cpp
24698 ac_cpp='$CXXCPP $CPPFLAGS'
24699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24702
24703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24704 /* end confdefs.h. */
24705 #include <math.h>
24706 #ifdef HAVE_IEEEFP_H
24707 #include <ieeefp.h>
24708 #endif
24709
24710 int
24711 main ()
24712 {
24713 _fabsl(0);
24714 ;
24715 return 0;
24716 }
24717 _ACEOF
24718 if ac_fn_cxx_try_compile "$LINENO"; then :
24719 glibcxx_cv_func__fabsl_use=yes
24720 else
24721 glibcxx_cv_func__fabsl_use=no
24722 fi
24723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24724 ac_ext=c
24725 ac_cpp='$CPP $CPPFLAGS'
24726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24729
24730
24731 fi
24732
24733 fi
24734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
24735 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
24736
24737 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
24738 for ac_func in _fabsl
24739 do :
24740 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
24741 if test "x$ac_cv_func__fabsl" = x""yes; then :
24742 cat >>confdefs.h <<_ACEOF
24743 #define HAVE__FABSL 1
24744 _ACEOF
24745
24746 fi
24747 done
24748
24749 fi
24750 fi
24751
24752
24753
24754
24755
24756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
24757 $as_echo_n "checking for fmodl declaration... " >&6; }
24758 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
24759 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
24760 $as_echo_n "(cached) " >&6
24761 else
24762
24763
24764 ac_ext=cpp
24765 ac_cpp='$CXXCPP $CPPFLAGS'
24766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24769
24770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24771 /* end confdefs.h. */
24772 #include <math.h>
24773 int
24774 main ()
24775 {
24776 fmodl(0, 0);
24777 ;
24778 return 0;
24779 }
24780 _ACEOF
24781 if ac_fn_cxx_try_compile "$LINENO"; then :
24782 glibcxx_cv_func_fmodl_use=yes
24783 else
24784 glibcxx_cv_func_fmodl_use=no
24785 fi
24786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24787 ac_ext=c
24788 ac_cpp='$CPP $CPPFLAGS'
24789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24792
24793
24794 fi
24795
24796 fi
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
24798 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
24799
24800 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
24801 for ac_func in fmodl
24802 do :
24803 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
24804 if test "x$ac_cv_func_fmodl" = x""yes; then :
24805 cat >>confdefs.h <<_ACEOF
24806 #define HAVE_FMODL 1
24807 _ACEOF
24808
24809 fi
24810 done
24811
24812 else
24813
24814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
24815 $as_echo_n "checking for _fmodl declaration... " >&6; }
24816 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
24817 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
24818 $as_echo_n "(cached) " >&6
24819 else
24820
24821
24822 ac_ext=cpp
24823 ac_cpp='$CXXCPP $CPPFLAGS'
24824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24827
24828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24829 /* end confdefs.h. */
24830 #include <math.h>
24831 int
24832 main ()
24833 {
24834 _fmodl(0, 0);
24835 ;
24836 return 0;
24837 }
24838 _ACEOF
24839 if ac_fn_cxx_try_compile "$LINENO"; then :
24840 glibcxx_cv_func__fmodl_use=yes
24841 else
24842 glibcxx_cv_func__fmodl_use=no
24843 fi
24844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24845 ac_ext=c
24846 ac_cpp='$CPP $CPPFLAGS'
24847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24850
24851
24852 fi
24853
24854 fi
24855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
24856 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
24857
24858 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
24859 for ac_func in _fmodl
24860 do :
24861 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
24862 if test "x$ac_cv_func__fmodl" = x""yes; then :
24863 cat >>confdefs.h <<_ACEOF
24864 #define HAVE__FMODL 1
24865 _ACEOF
24866
24867 fi
24868 done
24869
24870 fi
24871 fi
24872
24873
24874
24875
24876
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
24878 $as_echo_n "checking for frexpl declaration... " >&6; }
24879 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
24880 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
24881 $as_echo_n "(cached) " >&6
24882 else
24883
24884
24885 ac_ext=cpp
24886 ac_cpp='$CXXCPP $CPPFLAGS'
24887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24890
24891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24892 /* end confdefs.h. */
24893 #include <math.h>
24894 int
24895 main ()
24896 {
24897 frexpl(0, 0);
24898 ;
24899 return 0;
24900 }
24901 _ACEOF
24902 if ac_fn_cxx_try_compile "$LINENO"; then :
24903 glibcxx_cv_func_frexpl_use=yes
24904 else
24905 glibcxx_cv_func_frexpl_use=no
24906 fi
24907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24908 ac_ext=c
24909 ac_cpp='$CPP $CPPFLAGS'
24910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24913
24914
24915 fi
24916
24917 fi
24918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
24919 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
24920
24921 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
24922 for ac_func in frexpl
24923 do :
24924 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
24925 if test "x$ac_cv_func_frexpl" = x""yes; then :
24926 cat >>confdefs.h <<_ACEOF
24927 #define HAVE_FREXPL 1
24928 _ACEOF
24929
24930 fi
24931 done
24932
24933 else
24934
24935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
24936 $as_echo_n "checking for _frexpl declaration... " >&6; }
24937 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
24938 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
24939 $as_echo_n "(cached) " >&6
24940 else
24941
24942
24943 ac_ext=cpp
24944 ac_cpp='$CXXCPP $CPPFLAGS'
24945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24948
24949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24950 /* end confdefs.h. */
24951 #include <math.h>
24952 int
24953 main ()
24954 {
24955 _frexpl(0, 0);
24956 ;
24957 return 0;
24958 }
24959 _ACEOF
24960 if ac_fn_cxx_try_compile "$LINENO"; then :
24961 glibcxx_cv_func__frexpl_use=yes
24962 else
24963 glibcxx_cv_func__frexpl_use=no
24964 fi
24965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24966 ac_ext=c
24967 ac_cpp='$CPP $CPPFLAGS'
24968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24971
24972
24973 fi
24974
24975 fi
24976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
24977 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
24978
24979 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
24980 for ac_func in _frexpl
24981 do :
24982 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
24983 if test "x$ac_cv_func__frexpl" = x""yes; then :
24984 cat >>confdefs.h <<_ACEOF
24985 #define HAVE__FREXPL 1
24986 _ACEOF
24987
24988 fi
24989 done
24990
24991 fi
24992 fi
24993
24994
24995
24996
24997
24998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
24999 $as_echo_n "checking for hypotl declaration... " >&6; }
25000 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25001 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25002 $as_echo_n "(cached) " >&6
25003 else
25004
25005
25006 ac_ext=cpp
25007 ac_cpp='$CXXCPP $CPPFLAGS'
25008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25011
25012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25013 /* end confdefs.h. */
25014 #include <math.h>
25015 int
25016 main ()
25017 {
25018 hypotl(0, 0);
25019 ;
25020 return 0;
25021 }
25022 _ACEOF
25023 if ac_fn_cxx_try_compile "$LINENO"; then :
25024 glibcxx_cv_func_hypotl_use=yes
25025 else
25026 glibcxx_cv_func_hypotl_use=no
25027 fi
25028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25029 ac_ext=c
25030 ac_cpp='$CPP $CPPFLAGS'
25031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25034
25035
25036 fi
25037
25038 fi
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25040 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25041
25042 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25043 for ac_func in hypotl
25044 do :
25045 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25046 if test "x$ac_cv_func_hypotl" = x""yes; then :
25047 cat >>confdefs.h <<_ACEOF
25048 #define HAVE_HYPOTL 1
25049 _ACEOF
25050
25051 fi
25052 done
25053
25054 else
25055
25056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25057 $as_echo_n "checking for _hypotl declaration... " >&6; }
25058 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25059 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25060 $as_echo_n "(cached) " >&6
25061 else
25062
25063
25064 ac_ext=cpp
25065 ac_cpp='$CXXCPP $CPPFLAGS'
25066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25069
25070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25071 /* end confdefs.h. */
25072 #include <math.h>
25073 int
25074 main ()
25075 {
25076 _hypotl(0, 0);
25077 ;
25078 return 0;
25079 }
25080 _ACEOF
25081 if ac_fn_cxx_try_compile "$LINENO"; then :
25082 glibcxx_cv_func__hypotl_use=yes
25083 else
25084 glibcxx_cv_func__hypotl_use=no
25085 fi
25086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25087 ac_ext=c
25088 ac_cpp='$CPP $CPPFLAGS'
25089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25092
25093
25094 fi
25095
25096 fi
25097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25098 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25099
25100 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25101 for ac_func in _hypotl
25102 do :
25103 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25104 if test "x$ac_cv_func__hypotl" = x""yes; then :
25105 cat >>confdefs.h <<_ACEOF
25106 #define HAVE__HYPOTL 1
25107 _ACEOF
25108
25109 fi
25110 done
25111
25112 fi
25113 fi
25114
25115
25116
25117
25118
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25120 $as_echo_n "checking for ldexpl declaration... " >&6; }
25121 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25122 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25123 $as_echo_n "(cached) " >&6
25124 else
25125
25126
25127 ac_ext=cpp
25128 ac_cpp='$CXXCPP $CPPFLAGS'
25129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25132
25133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25134 /* end confdefs.h. */
25135 #include <math.h>
25136 int
25137 main ()
25138 {
25139 ldexpl(0, 0);
25140 ;
25141 return 0;
25142 }
25143 _ACEOF
25144 if ac_fn_cxx_try_compile "$LINENO"; then :
25145 glibcxx_cv_func_ldexpl_use=yes
25146 else
25147 glibcxx_cv_func_ldexpl_use=no
25148 fi
25149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25150 ac_ext=c
25151 ac_cpp='$CPP $CPPFLAGS'
25152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25155
25156
25157 fi
25158
25159 fi
25160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25161 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25162
25163 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25164 for ac_func in ldexpl
25165 do :
25166 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25167 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25168 cat >>confdefs.h <<_ACEOF
25169 #define HAVE_LDEXPL 1
25170 _ACEOF
25171
25172 fi
25173 done
25174
25175 else
25176
25177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25178 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25179 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25180 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25181 $as_echo_n "(cached) " >&6
25182 else
25183
25184
25185 ac_ext=cpp
25186 ac_cpp='$CXXCPP $CPPFLAGS'
25187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25190
25191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25192 /* end confdefs.h. */
25193 #include <math.h>
25194 int
25195 main ()
25196 {
25197 _ldexpl(0, 0);
25198 ;
25199 return 0;
25200 }
25201 _ACEOF
25202 if ac_fn_cxx_try_compile "$LINENO"; then :
25203 glibcxx_cv_func__ldexpl_use=yes
25204 else
25205 glibcxx_cv_func__ldexpl_use=no
25206 fi
25207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25208 ac_ext=c
25209 ac_cpp='$CPP $CPPFLAGS'
25210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25213
25214
25215 fi
25216
25217 fi
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25219 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25220
25221 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25222 for ac_func in _ldexpl
25223 do :
25224 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25225 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25226 cat >>confdefs.h <<_ACEOF
25227 #define HAVE__LDEXPL 1
25228 _ACEOF
25229
25230 fi
25231 done
25232
25233 fi
25234 fi
25235
25236
25237
25238
25239
25240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25241 $as_echo_n "checking for logl declaration... " >&6; }
25242 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25243 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25244 $as_echo_n "(cached) " >&6
25245 else
25246
25247
25248 ac_ext=cpp
25249 ac_cpp='$CXXCPP $CPPFLAGS'
25250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25253
25254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25255 /* end confdefs.h. */
25256 #include <math.h>
25257 #ifdef HAVE_IEEEFP_H
25258 #include <ieeefp.h>
25259 #endif
25260
25261 int
25262 main ()
25263 {
25264 logl(0);
25265 ;
25266 return 0;
25267 }
25268 _ACEOF
25269 if ac_fn_cxx_try_compile "$LINENO"; then :
25270 glibcxx_cv_func_logl_use=yes
25271 else
25272 glibcxx_cv_func_logl_use=no
25273 fi
25274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25275 ac_ext=c
25276 ac_cpp='$CPP $CPPFLAGS'
25277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25280
25281
25282 fi
25283
25284 fi
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25286 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25287
25288 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25289 for ac_func in logl
25290 do :
25291 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25292 if test "x$ac_cv_func_logl" = x""yes; then :
25293 cat >>confdefs.h <<_ACEOF
25294 #define HAVE_LOGL 1
25295 _ACEOF
25296
25297 fi
25298 done
25299
25300 else
25301
25302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25303 $as_echo_n "checking for _logl declaration... " >&6; }
25304 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25305 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25306 $as_echo_n "(cached) " >&6
25307 else
25308
25309
25310 ac_ext=cpp
25311 ac_cpp='$CXXCPP $CPPFLAGS'
25312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25315
25316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25317 /* end confdefs.h. */
25318 #include <math.h>
25319 #ifdef HAVE_IEEEFP_H
25320 #include <ieeefp.h>
25321 #endif
25322
25323 int
25324 main ()
25325 {
25326 _logl(0);
25327 ;
25328 return 0;
25329 }
25330 _ACEOF
25331 if ac_fn_cxx_try_compile "$LINENO"; then :
25332 glibcxx_cv_func__logl_use=yes
25333 else
25334 glibcxx_cv_func__logl_use=no
25335 fi
25336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25337 ac_ext=c
25338 ac_cpp='$CPP $CPPFLAGS'
25339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25342
25343
25344 fi
25345
25346 fi
25347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25348 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25349
25350 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25351 for ac_func in _logl
25352 do :
25353 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25354 if test "x$ac_cv_func__logl" = x""yes; then :
25355 cat >>confdefs.h <<_ACEOF
25356 #define HAVE__LOGL 1
25357 _ACEOF
25358
25359 fi
25360 done
25361
25362 fi
25363 fi
25364
25365
25366
25367
25368
25369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25370 $as_echo_n "checking for log10l declaration... " >&6; }
25371 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25372 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25373 $as_echo_n "(cached) " >&6
25374 else
25375
25376
25377 ac_ext=cpp
25378 ac_cpp='$CXXCPP $CPPFLAGS'
25379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25382
25383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25384 /* end confdefs.h. */
25385 #include <math.h>
25386 #ifdef HAVE_IEEEFP_H
25387 #include <ieeefp.h>
25388 #endif
25389
25390 int
25391 main ()
25392 {
25393 log10l(0);
25394 ;
25395 return 0;
25396 }
25397 _ACEOF
25398 if ac_fn_cxx_try_compile "$LINENO"; then :
25399 glibcxx_cv_func_log10l_use=yes
25400 else
25401 glibcxx_cv_func_log10l_use=no
25402 fi
25403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25404 ac_ext=c
25405 ac_cpp='$CPP $CPPFLAGS'
25406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25409
25410
25411 fi
25412
25413 fi
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25415 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25416
25417 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25418 for ac_func in log10l
25419 do :
25420 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25421 if test "x$ac_cv_func_log10l" = x""yes; then :
25422 cat >>confdefs.h <<_ACEOF
25423 #define HAVE_LOG10L 1
25424 _ACEOF
25425
25426 fi
25427 done
25428
25429 else
25430
25431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25432 $as_echo_n "checking for _log10l declaration... " >&6; }
25433 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25434 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25435 $as_echo_n "(cached) " >&6
25436 else
25437
25438
25439 ac_ext=cpp
25440 ac_cpp='$CXXCPP $CPPFLAGS'
25441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25444
25445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25446 /* end confdefs.h. */
25447 #include <math.h>
25448 #ifdef HAVE_IEEEFP_H
25449 #include <ieeefp.h>
25450 #endif
25451
25452 int
25453 main ()
25454 {
25455 _log10l(0);
25456 ;
25457 return 0;
25458 }
25459 _ACEOF
25460 if ac_fn_cxx_try_compile "$LINENO"; then :
25461 glibcxx_cv_func__log10l_use=yes
25462 else
25463 glibcxx_cv_func__log10l_use=no
25464 fi
25465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25466 ac_ext=c
25467 ac_cpp='$CPP $CPPFLAGS'
25468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25471
25472
25473 fi
25474
25475 fi
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25477 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25478
25479 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25480 for ac_func in _log10l
25481 do :
25482 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25483 if test "x$ac_cv_func__log10l" = x""yes; then :
25484 cat >>confdefs.h <<_ACEOF
25485 #define HAVE__LOG10L 1
25486 _ACEOF
25487
25488 fi
25489 done
25490
25491 fi
25492 fi
25493
25494
25495
25496
25497
25498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25499 $as_echo_n "checking for modfl declaration... " >&6; }
25500 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25501 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25502 $as_echo_n "(cached) " >&6
25503 else
25504
25505
25506 ac_ext=cpp
25507 ac_cpp='$CXXCPP $CPPFLAGS'
25508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25511
25512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25513 /* end confdefs.h. */
25514 #include <math.h>
25515 int
25516 main ()
25517 {
25518 modfl(0, 0);
25519 ;
25520 return 0;
25521 }
25522 _ACEOF
25523 if ac_fn_cxx_try_compile "$LINENO"; then :
25524 glibcxx_cv_func_modfl_use=yes
25525 else
25526 glibcxx_cv_func_modfl_use=no
25527 fi
25528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25529 ac_ext=c
25530 ac_cpp='$CPP $CPPFLAGS'
25531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25534
25535
25536 fi
25537
25538 fi
25539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25540 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25541
25542 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25543 for ac_func in modfl
25544 do :
25545 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25546 if test "x$ac_cv_func_modfl" = x""yes; then :
25547 cat >>confdefs.h <<_ACEOF
25548 #define HAVE_MODFL 1
25549 _ACEOF
25550
25551 fi
25552 done
25553
25554 else
25555
25556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25557 $as_echo_n "checking for _modfl declaration... " >&6; }
25558 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25559 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25560 $as_echo_n "(cached) " >&6
25561 else
25562
25563
25564 ac_ext=cpp
25565 ac_cpp='$CXXCPP $CPPFLAGS'
25566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25569
25570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25571 /* end confdefs.h. */
25572 #include <math.h>
25573 int
25574 main ()
25575 {
25576 _modfl(0, 0);
25577 ;
25578 return 0;
25579 }
25580 _ACEOF
25581 if ac_fn_cxx_try_compile "$LINENO"; then :
25582 glibcxx_cv_func__modfl_use=yes
25583 else
25584 glibcxx_cv_func__modfl_use=no
25585 fi
25586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25587 ac_ext=c
25588 ac_cpp='$CPP $CPPFLAGS'
25589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25592
25593
25594 fi
25595
25596 fi
25597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
25598 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
25599
25600 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
25601 for ac_func in _modfl
25602 do :
25603 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
25604 if test "x$ac_cv_func__modfl" = x""yes; then :
25605 cat >>confdefs.h <<_ACEOF
25606 #define HAVE__MODFL 1
25607 _ACEOF
25608
25609 fi
25610 done
25611
25612 fi
25613 fi
25614
25615
25616
25617
25618
25619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
25620 $as_echo_n "checking for powl declaration... " >&6; }
25621 if test x${glibcxx_cv_func_powl_use+set} != xset; then
25622 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
25623 $as_echo_n "(cached) " >&6
25624 else
25625
25626
25627 ac_ext=cpp
25628 ac_cpp='$CXXCPP $CPPFLAGS'
25629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25632
25633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25634 /* end confdefs.h. */
25635 #include <math.h>
25636 int
25637 main ()
25638 {
25639 powl(0, 0);
25640 ;
25641 return 0;
25642 }
25643 _ACEOF
25644 if ac_fn_cxx_try_compile "$LINENO"; then :
25645 glibcxx_cv_func_powl_use=yes
25646 else
25647 glibcxx_cv_func_powl_use=no
25648 fi
25649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25650 ac_ext=c
25651 ac_cpp='$CPP $CPPFLAGS'
25652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25655
25656
25657 fi
25658
25659 fi
25660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
25661 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
25662
25663 if test x$glibcxx_cv_func_powl_use = x"yes"; then
25664 for ac_func in powl
25665 do :
25666 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
25667 if test "x$ac_cv_func_powl" = x""yes; then :
25668 cat >>confdefs.h <<_ACEOF
25669 #define HAVE_POWL 1
25670 _ACEOF
25671
25672 fi
25673 done
25674
25675 else
25676
25677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
25678 $as_echo_n "checking for _powl declaration... " >&6; }
25679 if test x${glibcxx_cv_func__powl_use+set} != xset; then
25680 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
25681 $as_echo_n "(cached) " >&6
25682 else
25683
25684
25685 ac_ext=cpp
25686 ac_cpp='$CXXCPP $CPPFLAGS'
25687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25690
25691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25692 /* end confdefs.h. */
25693 #include <math.h>
25694 int
25695 main ()
25696 {
25697 _powl(0, 0);
25698 ;
25699 return 0;
25700 }
25701 _ACEOF
25702 if ac_fn_cxx_try_compile "$LINENO"; then :
25703 glibcxx_cv_func__powl_use=yes
25704 else
25705 glibcxx_cv_func__powl_use=no
25706 fi
25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25708 ac_ext=c
25709 ac_cpp='$CPP $CPPFLAGS'
25710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25713
25714
25715 fi
25716
25717 fi
25718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
25719 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
25720
25721 if test x$glibcxx_cv_func__powl_use = x"yes"; then
25722 for ac_func in _powl
25723 do :
25724 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
25725 if test "x$ac_cv_func__powl" = x""yes; then :
25726 cat >>confdefs.h <<_ACEOF
25727 #define HAVE__POWL 1
25728 _ACEOF
25729
25730 fi
25731 done
25732
25733 fi
25734 fi
25735
25736
25737
25738
25739
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
25741 $as_echo_n "checking for sqrtl declaration... " >&6; }
25742 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
25743 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
25744 $as_echo_n "(cached) " >&6
25745 else
25746
25747
25748 ac_ext=cpp
25749 ac_cpp='$CXXCPP $CPPFLAGS'
25750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25753
25754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25755 /* end confdefs.h. */
25756 #include <math.h>
25757 #ifdef HAVE_IEEEFP_H
25758 #include <ieeefp.h>
25759 #endif
25760
25761 int
25762 main ()
25763 {
25764 sqrtl(0);
25765 ;
25766 return 0;
25767 }
25768 _ACEOF
25769 if ac_fn_cxx_try_compile "$LINENO"; then :
25770 glibcxx_cv_func_sqrtl_use=yes
25771 else
25772 glibcxx_cv_func_sqrtl_use=no
25773 fi
25774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25775 ac_ext=c
25776 ac_cpp='$CPP $CPPFLAGS'
25777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25780
25781
25782 fi
25783
25784 fi
25785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
25786 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
25787
25788 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
25789 for ac_func in sqrtl
25790 do :
25791 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
25792 if test "x$ac_cv_func_sqrtl" = x""yes; then :
25793 cat >>confdefs.h <<_ACEOF
25794 #define HAVE_SQRTL 1
25795 _ACEOF
25796
25797 fi
25798 done
25799
25800 else
25801
25802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
25803 $as_echo_n "checking for _sqrtl declaration... " >&6; }
25804 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
25805 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
25806 $as_echo_n "(cached) " >&6
25807 else
25808
25809
25810 ac_ext=cpp
25811 ac_cpp='$CXXCPP $CPPFLAGS'
25812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25815
25816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25817 /* end confdefs.h. */
25818 #include <math.h>
25819 #ifdef HAVE_IEEEFP_H
25820 #include <ieeefp.h>
25821 #endif
25822
25823 int
25824 main ()
25825 {
25826 _sqrtl(0);
25827 ;
25828 return 0;
25829 }
25830 _ACEOF
25831 if ac_fn_cxx_try_compile "$LINENO"; then :
25832 glibcxx_cv_func__sqrtl_use=yes
25833 else
25834 glibcxx_cv_func__sqrtl_use=no
25835 fi
25836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25837 ac_ext=c
25838 ac_cpp='$CPP $CPPFLAGS'
25839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25842
25843
25844 fi
25845
25846 fi
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
25848 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
25849
25850 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
25851 for ac_func in _sqrtl
25852 do :
25853 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
25854 if test "x$ac_cv_func__sqrtl" = x""yes; then :
25855 cat >>confdefs.h <<_ACEOF
25856 #define HAVE__SQRTL 1
25857 _ACEOF
25858
25859 fi
25860 done
25861
25862 fi
25863 fi
25864
25865
25866
25867
25868
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
25870 $as_echo_n "checking for sincosl declaration... " >&6; }
25871 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
25872 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
25873 $as_echo_n "(cached) " >&6
25874 else
25875
25876
25877 ac_ext=cpp
25878 ac_cpp='$CXXCPP $CPPFLAGS'
25879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25882
25883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25884 /* end confdefs.h. */
25885 #include <math.h>
25886 int
25887 main ()
25888 {
25889 sincosl(0, 0, 0);
25890 ;
25891 return 0;
25892 }
25893 _ACEOF
25894 if ac_fn_cxx_try_compile "$LINENO"; then :
25895 glibcxx_cv_func_sincosl_use=yes
25896 else
25897 glibcxx_cv_func_sincosl_use=no
25898 fi
25899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25900 ac_ext=c
25901 ac_cpp='$CPP $CPPFLAGS'
25902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25905
25906
25907 fi
25908
25909 fi
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
25911 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
25912
25913 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
25914 for ac_func in sincosl
25915 do :
25916 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
25917 if test "x$ac_cv_func_sincosl" = x""yes; then :
25918 cat >>confdefs.h <<_ACEOF
25919 #define HAVE_SINCOSL 1
25920 _ACEOF
25921
25922 fi
25923 done
25924
25925 else
25926
25927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
25928 $as_echo_n "checking for _sincosl declaration... " >&6; }
25929 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
25930 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
25931 $as_echo_n "(cached) " >&6
25932 else
25933
25934
25935 ac_ext=cpp
25936 ac_cpp='$CXXCPP $CPPFLAGS'
25937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25940
25941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25942 /* end confdefs.h. */
25943 #include <math.h>
25944 int
25945 main ()
25946 {
25947 _sincosl(0, 0, 0);
25948 ;
25949 return 0;
25950 }
25951 _ACEOF
25952 if ac_fn_cxx_try_compile "$LINENO"; then :
25953 glibcxx_cv_func__sincosl_use=yes
25954 else
25955 glibcxx_cv_func__sincosl_use=no
25956 fi
25957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25958 ac_ext=c
25959 ac_cpp='$CPP $CPPFLAGS'
25960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25963
25964
25965 fi
25966
25967 fi
25968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
25969 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
25970
25971 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
25972 for ac_func in _sincosl
25973 do :
25974 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
25975 if test "x$ac_cv_func__sincosl" = x""yes; then :
25976 cat >>confdefs.h <<_ACEOF
25977 #define HAVE__SINCOSL 1
25978 _ACEOF
25979
25980 fi
25981 done
25982
25983 fi
25984 fi
25985
25986
25987
25988
25989
25990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
25991 $as_echo_n "checking for finitel declaration... " >&6; }
25992 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
25993 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
25994 $as_echo_n "(cached) " >&6
25995 else
25996
25997
25998 ac_ext=cpp
25999 ac_cpp='$CXXCPP $CPPFLAGS'
26000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26003
26004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26005 /* end confdefs.h. */
26006 #include <math.h>
26007 #ifdef HAVE_IEEEFP_H
26008 #include <ieeefp.h>
26009 #endif
26010
26011 int
26012 main ()
26013 {
26014 finitel(0);
26015 ;
26016 return 0;
26017 }
26018 _ACEOF
26019 if ac_fn_cxx_try_compile "$LINENO"; then :
26020 glibcxx_cv_func_finitel_use=yes
26021 else
26022 glibcxx_cv_func_finitel_use=no
26023 fi
26024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26025 ac_ext=c
26026 ac_cpp='$CPP $CPPFLAGS'
26027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26030
26031
26032 fi
26033
26034 fi
26035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26036 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26037
26038 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26039 for ac_func in finitel
26040 do :
26041 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26042 if test "x$ac_cv_func_finitel" = x""yes; then :
26043 cat >>confdefs.h <<_ACEOF
26044 #define HAVE_FINITEL 1
26045 _ACEOF
26046
26047 fi
26048 done
26049
26050 else
26051
26052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26053 $as_echo_n "checking for _finitel declaration... " >&6; }
26054 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26055 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26056 $as_echo_n "(cached) " >&6
26057 else
26058
26059
26060 ac_ext=cpp
26061 ac_cpp='$CXXCPP $CPPFLAGS'
26062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26065
26066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26067 /* end confdefs.h. */
26068 #include <math.h>
26069 #ifdef HAVE_IEEEFP_H
26070 #include <ieeefp.h>
26071 #endif
26072
26073 int
26074 main ()
26075 {
26076 _finitel(0);
26077 ;
26078 return 0;
26079 }
26080 _ACEOF
26081 if ac_fn_cxx_try_compile "$LINENO"; then :
26082 glibcxx_cv_func__finitel_use=yes
26083 else
26084 glibcxx_cv_func__finitel_use=no
26085 fi
26086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26087 ac_ext=c
26088 ac_cpp='$CPP $CPPFLAGS'
26089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26092
26093
26094 fi
26095
26096 fi
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26098 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26099
26100 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26101 for ac_func in _finitel
26102 do :
26103 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26104 if test "x$ac_cv_func__finitel" = x""yes; then :
26105 cat >>confdefs.h <<_ACEOF
26106 #define HAVE__FINITEL 1
26107 _ACEOF
26108
26109 fi
26110 done
26111
26112 fi
26113 fi
26114
26115
26116
26117
26118 LIBS="$ac_save_LIBS"
26119 CXXFLAGS="$ac_save_CXXFLAGS"
26120
26121
26122 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26123 ac_save_CXXFLAGS="$CXXFLAGS"
26124 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26125
26126
26127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26128 $as_echo_n "checking for strtold declaration... " >&6; }
26129 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26130 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26131 $as_echo_n "(cached) " >&6
26132 else
26133
26134
26135 ac_ext=cpp
26136 ac_cpp='$CXXCPP $CPPFLAGS'
26137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26140
26141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26142 /* end confdefs.h. */
26143 #include <stdlib.h>
26144 int
26145 main ()
26146 {
26147 strtold(0, 0);
26148 ;
26149 return 0;
26150 }
26151 _ACEOF
26152 if ac_fn_cxx_try_compile "$LINENO"; then :
26153 glibcxx_cv_func_strtold_use=yes
26154 else
26155 glibcxx_cv_func_strtold_use=no
26156 fi
26157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26158 ac_ext=c
26159 ac_cpp='$CPP $CPPFLAGS'
26160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26163
26164
26165 fi
26166
26167 fi
26168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26169 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26170 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26171 for ac_func in strtold
26172 do :
26173 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26174 if test "x$ac_cv_func_strtold" = x""yes; then :
26175 cat >>confdefs.h <<_ACEOF
26176 #define HAVE_STRTOLD 1
26177 _ACEOF
26178
26179 fi
26180 done
26181
26182 fi
26183
26184
26185
26186
26187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26188 $as_echo_n "checking for strtof declaration... " >&6; }
26189 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26190 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26191 $as_echo_n "(cached) " >&6
26192 else
26193
26194
26195 ac_ext=cpp
26196 ac_cpp='$CXXCPP $CPPFLAGS'
26197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26200
26201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26202 /* end confdefs.h. */
26203 #include <stdlib.h>
26204 int
26205 main ()
26206 {
26207 strtof(0, 0);
26208 ;
26209 return 0;
26210 }
26211 _ACEOF
26212 if ac_fn_cxx_try_compile "$LINENO"; then :
26213 glibcxx_cv_func_strtof_use=yes
26214 else
26215 glibcxx_cv_func_strtof_use=no
26216 fi
26217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26218 ac_ext=c
26219 ac_cpp='$CPP $CPPFLAGS'
26220 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26221 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26222 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26223
26224
26225 fi
26226
26227 fi
26228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26229 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26230 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26231 for ac_func in strtof
26232 do :
26233 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26234 if test "x$ac_cv_func_strtof" = x""yes; then :
26235 cat >>confdefs.h <<_ACEOF
26236 #define HAVE_STRTOF 1
26237 _ACEOF
26238
26239 fi
26240 done
26241
26242 fi
26243
26244
26245
26246
26247 CXXFLAGS="$ac_save_CXXFLAGS"
26248
26249
26250 # For /dev/random and /dev/urandom for TR1.
26251
26252
26253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26254 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26255 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26256 $as_echo_n "(cached) " >&6
26257 else
26258
26259 if test -r /dev/random && test -r /dev/urandom; then
26260 glibcxx_cv_random_tr1=yes;
26261 else
26262 glibcxx_cv_random_tr1=no;
26263 fi
26264
26265 fi
26266
26267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26268 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26269
26270 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26271
26272 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26273
26274 fi
26275
26276
26277
26278 # For TLS support.
26279
26280
26281 # Check whether --enable-tls was given.
26282 if test "${enable_tls+set}" = set; then :
26283 enableval=$enable_tls;
26284 case "$enableval" in
26285 yes|no) ;;
26286 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26287 esac
26288
26289 else
26290 enable_tls=yes
26291 fi
26292
26293
26294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26295 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26296 if test "${gcc_cv_have_tls+set}" = set; then :
26297 $as_echo_n "(cached) " >&6
26298 else
26299
26300 if test "$cross_compiling" = yes; then :
26301 if test x$gcc_no_link = xyes; then
26302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26303 fi
26304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26305 /* end confdefs.h. */
26306 __thread int a; int b; int main() { return a = b; }
26307 _ACEOF
26308 if ac_fn_c_try_link "$LINENO"; then :
26309 chktls_save_LDFLAGS="$LDFLAGS"
26310 case $host in
26311 *-*-linux*)
26312 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26313 ;;
26314 esac
26315 chktls_save_CFLAGS="$CFLAGS"
26316 CFLAGS="-fPIC $CFLAGS"
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 int f() { return 0; }
26323 _ACEOF
26324 if ac_fn_c_try_link "$LINENO"; then :
26325 if test x$gcc_no_link = xyes; then
26326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26327 fi
26328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26329 /* end confdefs.h. */
26330 __thread int a; int b; int f() { return a = b; }
26331 _ACEOF
26332 if ac_fn_c_try_link "$LINENO"; then :
26333 gcc_cv_have_tls=yes
26334 else
26335 gcc_cv_have_tls=no
26336 fi
26337 rm -f core conftest.err conftest.$ac_objext \
26338 conftest$ac_exeext conftest.$ac_ext
26339 else
26340 gcc_cv_have_tls=yes
26341 fi
26342 rm -f core conftest.err conftest.$ac_objext \
26343 conftest$ac_exeext conftest.$ac_ext
26344 CFLAGS="$chktls_save_CFLAGS"
26345 LDFLAGS="$chktls_save_LDFLAGS"
26346 else
26347 gcc_cv_have_tls=no
26348 fi
26349 rm -f core conftest.err conftest.$ac_objext \
26350 conftest$ac_exeext conftest.$ac_ext
26351
26352
26353 else
26354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26355 /* end confdefs.h. */
26356 __thread int a; int b; int main() { return a = b; }
26357 _ACEOF
26358 if ac_fn_c_try_run "$LINENO"; then :
26359 chktls_save_LDFLAGS="$LDFLAGS"
26360 LDFLAGS="-static $LDFLAGS"
26361 if test x$gcc_no_link = xyes; then
26362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26363 fi
26364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26365 /* end confdefs.h. */
26366 int main() { return 0; }
26367 _ACEOF
26368 if ac_fn_c_try_link "$LINENO"; then :
26369 if test "$cross_compiling" = yes; then :
26370 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26371 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26372 as_fn_error "cannot run test program while cross compiling
26373 See \`config.log' for more details." "$LINENO" 5; }
26374 else
26375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26376 /* end confdefs.h. */
26377 __thread int a; int b; int main() { return a = b; }
26378 _ACEOF
26379 if ac_fn_c_try_run "$LINENO"; then :
26380 gcc_cv_have_tls=yes
26381 else
26382 gcc_cv_have_tls=no
26383 fi
26384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26385 conftest.$ac_objext conftest.beam conftest.$ac_ext
26386 fi
26387
26388 else
26389 gcc_cv_have_tls=yes
26390 fi
26391 rm -f core conftest.err conftest.$ac_objext \
26392 conftest$ac_exeext conftest.$ac_ext
26393 LDFLAGS="$chktls_save_LDFLAGS"
26394 if test $gcc_cv_have_tls = yes; then
26395 chktls_save_CFLAGS="$CFLAGS"
26396 thread_CFLAGS=failed
26397 for flag in '' '-pthread' '-lpthread'; do
26398 CFLAGS="$flag $chktls_save_CFLAGS"
26399 if test x$gcc_no_link = xyes; then
26400 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26401 fi
26402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26403 /* end confdefs.h. */
26404 #include <pthread.h>
26405 void *g(void *d) { return NULL; }
26406 int
26407 main ()
26408 {
26409 pthread_t t; pthread_create(&t,NULL,g,NULL);
26410 ;
26411 return 0;
26412 }
26413 _ACEOF
26414 if ac_fn_c_try_link "$LINENO"; then :
26415 thread_CFLAGS="$flag"
26416 fi
26417 rm -f core conftest.err conftest.$ac_objext \
26418 conftest$ac_exeext conftest.$ac_ext
26419 if test "X$thread_CFLAGS" != Xfailed; then
26420 break
26421 fi
26422 done
26423 CFLAGS="$chktls_save_CFLAGS"
26424 if test "X$thread_CFLAGS" != Xfailed; then
26425 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26426 if test "$cross_compiling" = yes; then :
26427 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26428 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26429 as_fn_error "cannot run test program while cross compiling
26430 See \`config.log' for more details." "$LINENO" 5; }
26431 else
26432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26433 /* end confdefs.h. */
26434 #include <pthread.h>
26435 __thread int a;
26436 static int *volatile a_in_other_thread;
26437 static void *
26438 thread_func (void *arg)
26439 {
26440 a_in_other_thread = &a;
26441 return (void *)0;
26442 }
26443 int
26444 main ()
26445 {
26446 pthread_t thread;
26447 void *thread_retval;
26448 int *volatile a_in_main_thread;
26449 a_in_main_thread = &a;
26450 if (pthread_create (&thread, (pthread_attr_t *)0,
26451 thread_func, (void *)0))
26452 return 0;
26453 if (pthread_join (thread, &thread_retval))
26454 return 0;
26455 return (a_in_other_thread == a_in_main_thread);
26456 ;
26457 return 0;
26458 }
26459 _ACEOF
26460 if ac_fn_c_try_run "$LINENO"; then :
26461 gcc_cv_have_tls=yes
26462 else
26463 gcc_cv_have_tls=no
26464 fi
26465 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26466 conftest.$ac_objext conftest.beam conftest.$ac_ext
26467 fi
26468
26469 CFLAGS="$chktls_save_CFLAGS"
26470 fi
26471 fi
26472 else
26473 gcc_cv_have_tls=no
26474 fi
26475 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26476 conftest.$ac_objext conftest.beam conftest.$ac_ext
26477 fi
26478
26479 fi
26480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
26481 $as_echo "$gcc_cv_have_tls" >&6; }
26482 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
26483
26484 $as_echo "#define HAVE_TLS 1" >>confdefs.h
26485
26486 fi
26487
26488 # For iconv support.
26489
26490 if test "X$prefix" = "XNONE"; then
26491 acl_final_prefix="$ac_default_prefix"
26492 else
26493 acl_final_prefix="$prefix"
26494 fi
26495 if test "X$exec_prefix" = "XNONE"; then
26496 acl_final_exec_prefix='${prefix}'
26497 else
26498 acl_final_exec_prefix="$exec_prefix"
26499 fi
26500 acl_save_prefix="$prefix"
26501 prefix="$acl_final_prefix"
26502 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
26503 prefix="$acl_save_prefix"
26504
26505
26506 # Check whether --with-gnu-ld was given.
26507 if test "${with_gnu_ld+set}" = set; then :
26508 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
26509 else
26510 with_gnu_ld=no
26511 fi
26512
26513 # Prepare PATH_SEPARATOR.
26514 # The user is always right.
26515 if test "${PATH_SEPARATOR+set}" != set; then
26516 echo "#! /bin/sh" >conf$$.sh
26517 echo "exit 0" >>conf$$.sh
26518 chmod +x conf$$.sh
26519 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
26520 PATH_SEPARATOR=';'
26521 else
26522 PATH_SEPARATOR=:
26523 fi
26524 rm -f conf$$.sh
26525 fi
26526 ac_prog=ld
26527 if test "$GCC" = yes; then
26528 # Check if gcc -print-prog-name=ld gives a path.
26529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
26530 $as_echo_n "checking for ld used by GCC... " >&6; }
26531 case $host in
26532 *-*-mingw*)
26533 # gcc leaves a trailing carriage return which upsets mingw
26534 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
26535 *)
26536 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
26537 esac
26538 case $ac_prog in
26539 # Accept absolute paths.
26540 [\\/]* | [A-Za-z]:[\\/]*)
26541 re_direlt='/[^/][^/]*/\.\./'
26542 # Canonicalize the path of ld
26543 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
26544 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
26545 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
26546 done
26547 test -z "$LD" && LD="$ac_prog"
26548 ;;
26549 "")
26550 # If it fails, then pretend we aren't using GCC.
26551 ac_prog=ld
26552 ;;
26553 *)
26554 # If it is relative, then search for the first ld in PATH.
26555 with_gnu_ld=unknown
26556 ;;
26557 esac
26558 elif test "$with_gnu_ld" = yes; then
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
26560 $as_echo_n "checking for GNU ld... " >&6; }
26561 else
26562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
26563 $as_echo_n "checking for non-GNU ld... " >&6; }
26564 fi
26565 if test "${acl_cv_path_LD+set}" = set; then :
26566 $as_echo_n "(cached) " >&6
26567 else
26568 if test -z "$LD"; then
26569 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
26570 for ac_dir in $PATH; do
26571 test -z "$ac_dir" && ac_dir=.
26572 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
26573 acl_cv_path_LD="$ac_dir/$ac_prog"
26574 # Check to see if the program is GNU ld. I'd rather use --version,
26575 # but apparently some GNU ld's only accept -v.
26576 # Break only if it was the GNU/non-GNU ld that we prefer.
26577 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
26578 test "$with_gnu_ld" != no && break
26579 else
26580 test "$with_gnu_ld" != yes && break
26581 fi
26582 fi
26583 done
26584 IFS="$ac_save_ifs"
26585 else
26586 acl_cv_path_LD="$LD" # Let the user override the test with a path.
26587 fi
26588 fi
26589
26590 LD="$acl_cv_path_LD"
26591 if test -n "$LD"; then
26592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
26593 $as_echo "$LD" >&6; }
26594 else
26595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26596 $as_echo "no" >&6; }
26597 fi
26598 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
26599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
26600 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
26601 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
26602 $as_echo_n "(cached) " >&6
26603 else
26604 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
26605 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
26606 acl_cv_prog_gnu_ld=yes
26607 else
26608 acl_cv_prog_gnu_ld=no
26609 fi
26610 fi
26611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
26612 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
26613 with_gnu_ld=$acl_cv_prog_gnu_ld
26614
26615
26616
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
26618 $as_echo_n "checking for shared library run path origin... " >&6; }
26619 if test "${acl_cv_rpath+set}" = set; then :
26620 $as_echo_n "(cached) " >&6
26621 else
26622
26623 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
26624 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
26625 . ./conftest.sh
26626 rm -f ./conftest.sh
26627 acl_cv_rpath=done
26628
26629 fi
26630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
26631 $as_echo "$acl_cv_rpath" >&6; }
26632 wl="$acl_cv_wl"
26633 libext="$acl_cv_libext"
26634 shlibext="$acl_cv_shlibext"
26635 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
26636 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
26637 hardcode_direct="$acl_cv_hardcode_direct"
26638 hardcode_minus_L="$acl_cv_hardcode_minus_L"
26639 # Check whether --enable-rpath was given.
26640 if test "${enable_rpath+set}" = set; then :
26641 enableval=$enable_rpath; :
26642 else
26643 enable_rpath=yes
26644 fi
26645
26646
26647
26648
26649
26650
26651
26652
26653 use_additional=yes
26654
26655 acl_save_prefix="$prefix"
26656 prefix="$acl_final_prefix"
26657 acl_save_exec_prefix="$exec_prefix"
26658 exec_prefix="$acl_final_exec_prefix"
26659
26660 eval additional_includedir=\"$includedir\"
26661 eval additional_libdir=\"$libdir\"
26662
26663 exec_prefix="$acl_save_exec_prefix"
26664 prefix="$acl_save_prefix"
26665
26666
26667 # Check whether --with-libiconv-prefix was given.
26668 if test "${with_libiconv_prefix+set}" = set; then :
26669 withval=$with_libiconv_prefix;
26670 if test "X$withval" = "Xno"; then
26671 use_additional=no
26672 else
26673 if test "X$withval" = "X"; then
26674
26675 acl_save_prefix="$prefix"
26676 prefix="$acl_final_prefix"
26677 acl_save_exec_prefix="$exec_prefix"
26678 exec_prefix="$acl_final_exec_prefix"
26679
26680 eval additional_includedir=\"$includedir\"
26681 eval additional_libdir=\"$libdir\"
26682
26683 exec_prefix="$acl_save_exec_prefix"
26684 prefix="$acl_save_prefix"
26685
26686 else
26687 additional_includedir="$withval/include"
26688 additional_libdir="$withval/lib"
26689 fi
26690 fi
26691
26692 fi
26693
26694 LIBICONV=
26695 LTLIBICONV=
26696 INCICONV=
26697 rpathdirs=
26698 ltrpathdirs=
26699 names_already_handled=
26700 names_next_round='iconv '
26701 while test -n "$names_next_round"; do
26702 names_this_round="$names_next_round"
26703 names_next_round=
26704 for name in $names_this_round; do
26705 already_handled=
26706 for n in $names_already_handled; do
26707 if test "$n" = "$name"; then
26708 already_handled=yes
26709 break
26710 fi
26711 done
26712 if test -z "$already_handled"; then
26713 names_already_handled="$names_already_handled $name"
26714 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26715 eval value=\"\$HAVE_LIB$uppername\"
26716 if test -n "$value"; then
26717 if test "$value" = yes; then
26718 eval value=\"\$LIB$uppername\"
26719 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
26720 eval value=\"\$LTLIB$uppername\"
26721 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
26722 else
26723 :
26724 fi
26725 else
26726 found_dir=
26727 found_la=
26728 found_so=
26729 found_a=
26730 if test $use_additional = yes; then
26731 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
26732 found_dir="$additional_libdir"
26733 found_so="$additional_libdir/lib$name.$shlibext"
26734 if test -f "$additional_libdir/lib$name.la"; then
26735 found_la="$additional_libdir/lib$name.la"
26736 fi
26737 else
26738 if test -f "$additional_libdir/lib$name.$libext"; then
26739 found_dir="$additional_libdir"
26740 found_a="$additional_libdir/lib$name.$libext"
26741 if test -f "$additional_libdir/lib$name.la"; then
26742 found_la="$additional_libdir/lib$name.la"
26743 fi
26744 fi
26745 fi
26746 fi
26747 if test "X$found_dir" = "X"; then
26748 for x in $LDFLAGS $LTLIBICONV; do
26749
26750 acl_save_prefix="$prefix"
26751 prefix="$acl_final_prefix"
26752 acl_save_exec_prefix="$exec_prefix"
26753 exec_prefix="$acl_final_exec_prefix"
26754 eval x=\"$x\"
26755 exec_prefix="$acl_save_exec_prefix"
26756 prefix="$acl_save_prefix"
26757
26758 case "$x" in
26759 -L*)
26760 dir=`echo "X$x" | sed -e 's/^X-L//'`
26761 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
26762 found_dir="$dir"
26763 found_so="$dir/lib$name.$shlibext"
26764 if test -f "$dir/lib$name.la"; then
26765 found_la="$dir/lib$name.la"
26766 fi
26767 else
26768 if test -f "$dir/lib$name.$libext"; then
26769 found_dir="$dir"
26770 found_a="$dir/lib$name.$libext"
26771 if test -f "$dir/lib$name.la"; then
26772 found_la="$dir/lib$name.la"
26773 fi
26774 fi
26775 fi
26776 ;;
26777 esac
26778 if test "X$found_dir" != "X"; then
26779 break
26780 fi
26781 done
26782 fi
26783 if test "X$found_dir" != "X"; then
26784 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
26785 if test "X$found_so" != "X"; then
26786 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
26787 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26788 else
26789 haveit=
26790 for x in $ltrpathdirs; do
26791 if test "X$x" = "X$found_dir"; then
26792 haveit=yes
26793 break
26794 fi
26795 done
26796 if test -z "$haveit"; then
26797 ltrpathdirs="$ltrpathdirs $found_dir"
26798 fi
26799 if test "$hardcode_direct" = yes; then
26800 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26801 else
26802 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
26803 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26804 haveit=
26805 for x in $rpathdirs; do
26806 if test "X$x" = "X$found_dir"; then
26807 haveit=yes
26808 break
26809 fi
26810 done
26811 if test -z "$haveit"; then
26812 rpathdirs="$rpathdirs $found_dir"
26813 fi
26814 else
26815 haveit=
26816 for x in $LDFLAGS $LIBICONV; do
26817
26818 acl_save_prefix="$prefix"
26819 prefix="$acl_final_prefix"
26820 acl_save_exec_prefix="$exec_prefix"
26821 exec_prefix="$acl_final_exec_prefix"
26822 eval x=\"$x\"
26823 exec_prefix="$acl_save_exec_prefix"
26824 prefix="$acl_save_prefix"
26825
26826 if test "X$x" = "X-L$found_dir"; then
26827 haveit=yes
26828 break
26829 fi
26830 done
26831 if test -z "$haveit"; then
26832 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
26833 fi
26834 if test "$hardcode_minus_L" != no; then
26835 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
26836 else
26837 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26838 fi
26839 fi
26840 fi
26841 fi
26842 else
26843 if test "X$found_a" != "X"; then
26844 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
26845 else
26846 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
26847 fi
26848 fi
26849 additional_includedir=
26850 case "$found_dir" in
26851 */lib | */lib/)
26852 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
26853 additional_includedir="$basedir/include"
26854 ;;
26855 esac
26856 if test "X$additional_includedir" != "X"; then
26857 if test "X$additional_includedir" != "X/usr/include"; then
26858 haveit=
26859 if test "X$additional_includedir" = "X/usr/local/include"; then
26860 if test -n "$GCC"; then
26861 case $host_os in
26862 linux*) haveit=yes;;
26863 esac
26864 fi
26865 fi
26866 if test -z "$haveit"; then
26867 for x in $CPPFLAGS $INCICONV; do
26868
26869 acl_save_prefix="$prefix"
26870 prefix="$acl_final_prefix"
26871 acl_save_exec_prefix="$exec_prefix"
26872 exec_prefix="$acl_final_exec_prefix"
26873 eval x=\"$x\"
26874 exec_prefix="$acl_save_exec_prefix"
26875 prefix="$acl_save_prefix"
26876
26877 if test "X$x" = "X-I$additional_includedir"; then
26878 haveit=yes
26879 break
26880 fi
26881 done
26882 if test -z "$haveit"; then
26883 if test -d "$additional_includedir"; then
26884 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
26885 fi
26886 fi
26887 fi
26888 fi
26889 fi
26890 if test -n "$found_la"; then
26891 save_libdir="$libdir"
26892 case "$found_la" in
26893 */* | *\\*) . "$found_la" ;;
26894 *) . "./$found_la" ;;
26895 esac
26896 libdir="$save_libdir"
26897 for dep in $dependency_libs; do
26898 case "$dep" in
26899 -L*)
26900 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26901 if test "X$additional_libdir" != "X/usr/lib"; then
26902 haveit=
26903 if test "X$additional_libdir" = "X/usr/local/lib"; then
26904 if test -n "$GCC"; then
26905 case $host_os in
26906 linux*) haveit=yes;;
26907 esac
26908 fi
26909 fi
26910 if test -z "$haveit"; then
26911 haveit=
26912 for x in $LDFLAGS $LIBICONV; do
26913
26914 acl_save_prefix="$prefix"
26915 prefix="$acl_final_prefix"
26916 acl_save_exec_prefix="$exec_prefix"
26917 exec_prefix="$acl_final_exec_prefix"
26918 eval x=\"$x\"
26919 exec_prefix="$acl_save_exec_prefix"
26920 prefix="$acl_save_prefix"
26921
26922 if test "X$x" = "X-L$additional_libdir"; then
26923 haveit=yes
26924 break
26925 fi
26926 done
26927 if test -z "$haveit"; then
26928 if test -d "$additional_libdir"; then
26929 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
26930 fi
26931 fi
26932 haveit=
26933 for x in $LDFLAGS $LTLIBICONV; do
26934
26935 acl_save_prefix="$prefix"
26936 prefix="$acl_final_prefix"
26937 acl_save_exec_prefix="$exec_prefix"
26938 exec_prefix="$acl_final_exec_prefix"
26939 eval x=\"$x\"
26940 exec_prefix="$acl_save_exec_prefix"
26941 prefix="$acl_save_prefix"
26942
26943 if test "X$x" = "X-L$additional_libdir"; then
26944 haveit=yes
26945 break
26946 fi
26947 done
26948 if test -z "$haveit"; then
26949 if test -d "$additional_libdir"; then
26950 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
26951 fi
26952 fi
26953 fi
26954 fi
26955 ;;
26956 -R*)
26957 dir=`echo "X$dep" | sed -e 's/^X-R//'`
26958 if test "$enable_rpath" != no; then
26959 haveit=
26960 for x in $rpathdirs; do
26961 if test "X$x" = "X$dir"; then
26962 haveit=yes
26963 break
26964 fi
26965 done
26966 if test -z "$haveit"; then
26967 rpathdirs="$rpathdirs $dir"
26968 fi
26969 haveit=
26970 for x in $ltrpathdirs; do
26971 if test "X$x" = "X$dir"; then
26972 haveit=yes
26973 break
26974 fi
26975 done
26976 if test -z "$haveit"; then
26977 ltrpathdirs="$ltrpathdirs $dir"
26978 fi
26979 fi
26980 ;;
26981 -l*)
26982 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
26983 ;;
26984 *.la)
26985 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
26986 ;;
26987 *)
26988 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
26989 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
26990 ;;
26991 esac
26992 done
26993 fi
26994 else
26995 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
26996 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
26997 fi
26998 fi
26999 fi
27000 done
27001 done
27002 if test "X$rpathdirs" != "X"; then
27003 if test -n "$hardcode_libdir_separator"; then
27004 alldirs=
27005 for found_dir in $rpathdirs; do
27006 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27007 done
27008 acl_save_libdir="$libdir"
27009 libdir="$alldirs"
27010 eval flag=\"$hardcode_libdir_flag_spec\"
27011 libdir="$acl_save_libdir"
27012 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27013 else
27014 for found_dir in $rpathdirs; do
27015 acl_save_libdir="$libdir"
27016 libdir="$found_dir"
27017 eval flag=\"$hardcode_libdir_flag_spec\"
27018 libdir="$acl_save_libdir"
27019 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27020 done
27021 fi
27022 fi
27023 if test "X$ltrpathdirs" != "X"; then
27024 for found_dir in $ltrpathdirs; do
27025 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27026 done
27027 fi
27028
27029
27030
27031
27032
27033
27034
27035 am_save_CPPFLAGS="$CPPFLAGS"
27036
27037 for element in $INCICONV; do
27038 haveit=
27039 for x in $CPPFLAGS; do
27040
27041 acl_save_prefix="$prefix"
27042 prefix="$acl_final_prefix"
27043 acl_save_exec_prefix="$exec_prefix"
27044 exec_prefix="$acl_final_exec_prefix"
27045 eval x=\"$x\"
27046 exec_prefix="$acl_save_exec_prefix"
27047 prefix="$acl_save_prefix"
27048
27049 if test "X$x" = "X$element"; then
27050 haveit=yes
27051 break
27052 fi
27053 done
27054 if test -z "$haveit"; then
27055 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27056 fi
27057 done
27058
27059
27060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27061 $as_echo_n "checking for iconv... " >&6; }
27062 if test "${am_cv_func_iconv+set}" = set; then :
27063 $as_echo_n "(cached) " >&6
27064 else
27065
27066 am_cv_func_iconv="no, consider installing GNU libiconv"
27067 am_cv_lib_iconv=no
27068 if test x$gcc_no_link = xyes; then
27069 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27070 fi
27071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27072 /* end confdefs.h. */
27073 #include <stdlib.h>
27074 #include <iconv.h>
27075 int
27076 main ()
27077 {
27078 iconv_t cd = iconv_open("","");
27079 iconv(cd,NULL,NULL,NULL,NULL);
27080 iconv_close(cd);
27081 ;
27082 return 0;
27083 }
27084 _ACEOF
27085 if ac_fn_c_try_link "$LINENO"; then :
27086 am_cv_func_iconv=yes
27087 fi
27088 rm -f core conftest.err conftest.$ac_objext \
27089 conftest$ac_exeext conftest.$ac_ext
27090 if test "$am_cv_func_iconv" != yes; then
27091 am_save_LIBS="$LIBS"
27092 LIBS="$LIBS $LIBICONV"
27093 if test x$gcc_no_link = xyes; then
27094 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27095 fi
27096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27097 /* end confdefs.h. */
27098 #include <stdlib.h>
27099 #include <iconv.h>
27100 int
27101 main ()
27102 {
27103 iconv_t cd = iconv_open("","");
27104 iconv(cd,NULL,NULL,NULL,NULL);
27105 iconv_close(cd);
27106 ;
27107 return 0;
27108 }
27109 _ACEOF
27110 if ac_fn_c_try_link "$LINENO"; then :
27111 am_cv_lib_iconv=yes
27112 am_cv_func_iconv=yes
27113 fi
27114 rm -f core conftest.err conftest.$ac_objext \
27115 conftest$ac_exeext conftest.$ac_ext
27116 LIBS="$am_save_LIBS"
27117 fi
27118
27119 fi
27120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27121 $as_echo "$am_cv_func_iconv" >&6; }
27122 if test "$am_cv_func_iconv" = yes; then
27123
27124 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27125
27126 fi
27127 if test "$am_cv_lib_iconv" = yes; then
27128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27129 $as_echo_n "checking how to link with libiconv... " >&6; }
27130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27131 $as_echo "$LIBICONV" >&6; }
27132 else
27133 CPPFLAGS="$am_save_CPPFLAGS"
27134 LIBICONV=
27135 LTLIBICONV=
27136 fi
27137
27138
27139
27140 if test "$am_cv_func_iconv" = yes; then
27141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27142 $as_echo_n "checking for iconv declaration... " >&6; }
27143 if test "${am_cv_proto_iconv+set}" = set; then :
27144 $as_echo_n "(cached) " >&6
27145 else
27146
27147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27148 /* end confdefs.h. */
27149
27150 #include <stdlib.h>
27151 #include <iconv.h>
27152 extern
27153 #ifdef __cplusplus
27154 "C"
27155 #endif
27156 #if defined(__STDC__) || defined(__cplusplus)
27157 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27158 #else
27159 size_t iconv();
27160 #endif
27161
27162 int
27163 main ()
27164 {
27165
27166 ;
27167 return 0;
27168 }
27169 _ACEOF
27170 if ac_fn_c_try_compile "$LINENO"; then :
27171 am_cv_proto_iconv_arg1=""
27172 else
27173 am_cv_proto_iconv_arg1="const"
27174 fi
27175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27176 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);"
27177 fi
27178
27179 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27181 }$am_cv_proto_iconv" >&5
27182 $as_echo "${ac_t:-
27183 }$am_cv_proto_iconv" >&6; }
27184
27185 cat >>confdefs.h <<_ACEOF
27186 #define ICONV_CONST $am_cv_proto_iconv_arg1
27187 _ACEOF
27188
27189 fi
27190
27191
27192 else
27193
27194 # This lets us hard-code the functionality we know we'll have in the cross
27195 # target environment. "Let" is a sugar-coated word placed on an especially
27196 # dull and tedious hack, actually.
27197 #
27198 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27199 # that involve linking, can't be used:
27200 # "cannot open sim-crt0.o"
27201 # "cannot open crt0.o"
27202 # etc. All this is because there currently exists no unified, consistent
27203 # way for top level CC information to be passed down to target directories:
27204 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27205 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27206 # crosses can be removed.
27207
27208 # If Canadian cross, then don't pick up tools from the build directory.
27209 # Used only in GLIBCXX_EXPORT_INCLUDES.
27210 if test -n "$with_cross_host" &&
27211 test x"$build_alias" != x"$with_cross_host" &&
27212 test x"$build" != x"$target";
27213 then
27214 CANADIAN=yes
27215 else
27216 CANADIAN=no
27217 fi
27218
27219 # Construct crosses by hand, eliminating bits that need ld...
27220 # GLIBCXX_CHECK_MATH_SUPPORT
27221
27222 # First, test for "known" system libraries. We may be using newlib even
27223 # on a hosted environment.
27224 if test "x${with_newlib}" = "xyes"; then
27225 os_include_dir="os/newlib"
27226 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27227
27228
27229 # GLIBCXX_CHECK_STDLIB_SUPPORT
27230 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27231
27232
27233 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27234
27235 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27236
27237 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27238
27239 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27240
27241 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27242
27243 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27244
27245 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27246
27247 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27248
27249 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27250
27251 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27252
27253 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27254
27255 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27256
27257 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27258
27259 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27260
27261 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27262
27263 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27264
27265 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27266
27267 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27268
27269 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27270
27271 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27272
27273 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27274
27275 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27276
27277
27278 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27279
27280 else
27281
27282 # Base decisions on target environment.
27283 case "${host}" in
27284 arm*-*-symbianelf*)
27285 # This is a freestanding configuration; there is nothing to do here.
27286 ;;
27287
27288 mips*-sde-elf*)
27289 # These definitions are for the SDE C library rather than newlib.
27290 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27291
27292
27293 # All these tests are for C++; save the language and the compiler flags.
27294 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27295 # found in GLIBCXX_CONFIGURE.
27296
27297 ac_ext=cpp
27298 ac_cpp='$CXXCPP $CPPFLAGS'
27299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27302
27303 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27304 ac_save_CXXFLAGS="$CXXFLAGS"
27305
27306 # Check for maintainer-mode bits.
27307 if test x"$USE_MAINTAINER_MODE" = xno; then
27308 WERROR=''
27309 else
27310 WERROR='-Werror'
27311 fi
27312
27313 # Check for -ffunction-sections -fdata-sections
27314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27315 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27316 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27318 /* end confdefs.h. */
27319 int foo; void bar() { };
27320 int
27321 main ()
27322 {
27323
27324 ;
27325 return 0;
27326 }
27327 _ACEOF
27328 if ac_fn_cxx_try_compile "$LINENO"; then :
27329 ac_fdsections=yes
27330 else
27331 ac_fdsections=no
27332 fi
27333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27334 if test "$ac_test_CXXFLAGS" = set; then
27335 CXXFLAGS="$ac_save_CXXFLAGS"
27336 else
27337 # this is the suspicious part
27338 CXXFLAGS=''
27339 fi
27340 if test x"$ac_fdsections" = x"yes"; then
27341 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27342 fi
27343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27344 $as_echo "$ac_fdsections" >&6; }
27345
27346 ac_ext=c
27347 ac_cpp='$CPP $CPPFLAGS'
27348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27351
27352
27353
27354
27355
27356 # If we're not using GNU ld, then there's no point in even trying these
27357 # tests. Check for that first. We should have already tested for gld
27358 # by now (in libtool), but require it now just to be safe...
27359 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27360 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27361
27362
27363
27364 # The name set by libtool depends on the version of libtool. Shame on us
27365 # for depending on an impl detail, but c'est la vie. Older versions used
27366 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27367 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27368 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27369 # set (hence we're using an older libtool), then set it.
27370 if test x${with_gnu_ld+set} != xset; then
27371 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27372 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27373 with_gnu_ld=no
27374 else
27375 with_gnu_ld=$ac_cv_prog_gnu_ld
27376 fi
27377 fi
27378
27379 # Start by getting the version number. I think the libtool test already
27380 # does some of this, but throws away the result.
27381 glibcxx_ld_is_gold=no
27382 if test x"$with_gnu_ld" = x"yes"; then
27383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27384 $as_echo_n "checking for ld version... " >&6; }
27385
27386 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27387 glibcxx_ld_is_gold=yes
27388 fi
27389 ldver=`$LD --version 2>/dev/null |
27390 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'`
27391
27392 glibcxx_gnu_ld_version=`echo $ldver | \
27393 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27395 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27396 fi
27397
27398 # Set --gc-sections.
27399 glibcxx_have_gc_sections=no
27400 if test "$glibcxx_ld_is_gold" = "yes"; then
27401 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27402 glibcxx_have_gc_sections=yes
27403 fi
27404 else
27405 glibcxx_gcsections_min_ld=21602
27406 if test x"$with_gnu_ld" = x"yes" &&
27407 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27408 glibcxx_have_gc_sections=yes
27409 fi
27410 fi
27411 if test "$glibcxx_have_gc_sections" = "yes"; then
27412 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27413 # NB: This flag only works reliably after 2.16.1. Configure tests
27414 # for this are difficult, so hard wire a value that should work.
27415
27416 ac_test_CFLAGS="${CFLAGS+set}"
27417 ac_save_CFLAGS="$CFLAGS"
27418 CFLAGS='-Wl,--gc-sections'
27419
27420 # Check for -Wl,--gc-sections
27421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27422 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27423 if test x$gcc_no_link = xyes; then
27424 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27425 fi
27426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27427 /* end confdefs.h. */
27428 int one(void) { return 1; }
27429 int two(void) { return 2; }
27430
27431 int
27432 main ()
27433 {
27434 two();
27435 ;
27436 return 0;
27437 }
27438 _ACEOF
27439 if ac_fn_c_try_link "$LINENO"; then :
27440 ac_gcsections=yes
27441 else
27442 ac_gcsections=no
27443 fi
27444 rm -f core conftest.err conftest.$ac_objext \
27445 conftest$ac_exeext conftest.$ac_ext
27446 if test "$ac_gcsections" = "yes"; then
27447 rm -f conftest.c
27448 touch conftest.c
27449 if $CC -c conftest.c; then
27450 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
27451 grep "Warning: gc-sections option ignored" > /dev/null; then
27452 ac_gcsections=no
27453 fi
27454 fi
27455 rm -f conftest.c conftest.o conftest
27456 fi
27457 if test "$ac_gcsections" = "yes"; then
27458 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
27459 fi
27460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
27461 $as_echo "$ac_gcsections" >&6; }
27462
27463 if test "$ac_test_CFLAGS" = set; then
27464 CFLAGS="$ac_save_CFLAGS"
27465 else
27466 # this is the suspicious part
27467 CFLAGS=''
27468 fi
27469 fi
27470
27471 # Set -z,relro.
27472 # Note this is only for shared objects.
27473 ac_ld_relro=no
27474 if test x"$with_gnu_ld" = x"yes"; then
27475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
27476 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
27477 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
27478 if test -n "$cxx_z_relo"; then
27479 OPT_LDFLAGS="-Wl,-z,relro"
27480 ac_ld_relro=yes
27481 fi
27482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
27483 $as_echo "$ac_ld_relro" >&6; }
27484 fi
27485
27486 # Set linker optimization flags.
27487 if test x"$with_gnu_ld" = x"yes"; then
27488 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
27489 fi
27490
27491
27492
27493
27494
27495 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27496 ac_save_CXXFLAGS="$CXXFLAGS"
27497 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27498
27499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
27500 $as_echo_n "checking for sin in -lm... " >&6; }
27501 if test "${ac_cv_lib_m_sin+set}" = set; then :
27502 $as_echo_n "(cached) " >&6
27503 else
27504 ac_check_lib_save_LIBS=$LIBS
27505 LIBS="-lm $LIBS"
27506 if test x$gcc_no_link = xyes; then
27507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27508 fi
27509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27510 /* end confdefs.h. */
27511
27512 /* Override any GCC internal prototype to avoid an error.
27513 Use char because int might match the return type of a GCC
27514 builtin and then its argument prototype would still apply. */
27515 #ifdef __cplusplus
27516 extern "C"
27517 #endif
27518 char sin ();
27519 int
27520 main ()
27521 {
27522 return sin ();
27523 ;
27524 return 0;
27525 }
27526 _ACEOF
27527 if ac_fn_c_try_link "$LINENO"; then :
27528 ac_cv_lib_m_sin=yes
27529 else
27530 ac_cv_lib_m_sin=no
27531 fi
27532 rm -f core conftest.err conftest.$ac_objext \
27533 conftest$ac_exeext conftest.$ac_ext
27534 LIBS=$ac_check_lib_save_LIBS
27535 fi
27536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
27537 $as_echo "$ac_cv_lib_m_sin" >&6; }
27538 if test "x$ac_cv_lib_m_sin" = x""yes; then :
27539 libm="-lm"
27540 fi
27541
27542 ac_save_LIBS="$LIBS"
27543 LIBS="$LIBS $libm"
27544
27545
27546
27547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
27548 $as_echo_n "checking for isinf declaration... " >&6; }
27549 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
27550 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
27551 $as_echo_n "(cached) " >&6
27552 else
27553
27554
27555 ac_ext=cpp
27556 ac_cpp='$CXXCPP $CPPFLAGS'
27557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27560
27561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27562 /* end confdefs.h. */
27563 #include <math.h>
27564 #ifdef HAVE_IEEEFP_H
27565 #include <ieeefp.h>
27566 #endif
27567
27568 int
27569 main ()
27570 {
27571 isinf(0);
27572 ;
27573 return 0;
27574 }
27575 _ACEOF
27576 if ac_fn_cxx_try_compile "$LINENO"; then :
27577 glibcxx_cv_func_isinf_use=yes
27578 else
27579 glibcxx_cv_func_isinf_use=no
27580 fi
27581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27582 ac_ext=c
27583 ac_cpp='$CPP $CPPFLAGS'
27584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27587
27588
27589 fi
27590
27591 fi
27592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
27593 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
27594
27595 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
27596 for ac_func in isinf
27597 do :
27598 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
27599 if test "x$ac_cv_func_isinf" = x""yes; then :
27600 cat >>confdefs.h <<_ACEOF
27601 #define HAVE_ISINF 1
27602 _ACEOF
27603
27604 fi
27605 done
27606
27607 else
27608
27609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
27610 $as_echo_n "checking for _isinf declaration... " >&6; }
27611 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
27612 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
27613 $as_echo_n "(cached) " >&6
27614 else
27615
27616
27617 ac_ext=cpp
27618 ac_cpp='$CXXCPP $CPPFLAGS'
27619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27622
27623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27624 /* end confdefs.h. */
27625 #include <math.h>
27626 #ifdef HAVE_IEEEFP_H
27627 #include <ieeefp.h>
27628 #endif
27629
27630 int
27631 main ()
27632 {
27633 _isinf(0);
27634 ;
27635 return 0;
27636 }
27637 _ACEOF
27638 if ac_fn_cxx_try_compile "$LINENO"; then :
27639 glibcxx_cv_func__isinf_use=yes
27640 else
27641 glibcxx_cv_func__isinf_use=no
27642 fi
27643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27644 ac_ext=c
27645 ac_cpp='$CPP $CPPFLAGS'
27646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27649
27650
27651 fi
27652
27653 fi
27654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
27655 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
27656
27657 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
27658 for ac_func in _isinf
27659 do :
27660 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
27661 if test "x$ac_cv_func__isinf" = x""yes; then :
27662 cat >>confdefs.h <<_ACEOF
27663 #define HAVE__ISINF 1
27664 _ACEOF
27665
27666 fi
27667 done
27668
27669 fi
27670 fi
27671
27672
27673
27674
27675
27676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
27677 $as_echo_n "checking for isnan declaration... " >&6; }
27678 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
27679 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
27680 $as_echo_n "(cached) " >&6
27681 else
27682
27683
27684 ac_ext=cpp
27685 ac_cpp='$CXXCPP $CPPFLAGS'
27686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27689
27690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27691 /* end confdefs.h. */
27692 #include <math.h>
27693 #ifdef HAVE_IEEEFP_H
27694 #include <ieeefp.h>
27695 #endif
27696
27697 int
27698 main ()
27699 {
27700 isnan(0);
27701 ;
27702 return 0;
27703 }
27704 _ACEOF
27705 if ac_fn_cxx_try_compile "$LINENO"; then :
27706 glibcxx_cv_func_isnan_use=yes
27707 else
27708 glibcxx_cv_func_isnan_use=no
27709 fi
27710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27711 ac_ext=c
27712 ac_cpp='$CPP $CPPFLAGS'
27713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27716
27717
27718 fi
27719
27720 fi
27721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
27722 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
27723
27724 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
27725 for ac_func in isnan
27726 do :
27727 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
27728 if test "x$ac_cv_func_isnan" = x""yes; then :
27729 cat >>confdefs.h <<_ACEOF
27730 #define HAVE_ISNAN 1
27731 _ACEOF
27732
27733 fi
27734 done
27735
27736 else
27737
27738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
27739 $as_echo_n "checking for _isnan declaration... " >&6; }
27740 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
27741 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
27742 $as_echo_n "(cached) " >&6
27743 else
27744
27745
27746 ac_ext=cpp
27747 ac_cpp='$CXXCPP $CPPFLAGS'
27748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27751
27752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27753 /* end confdefs.h. */
27754 #include <math.h>
27755 #ifdef HAVE_IEEEFP_H
27756 #include <ieeefp.h>
27757 #endif
27758
27759 int
27760 main ()
27761 {
27762 _isnan(0);
27763 ;
27764 return 0;
27765 }
27766 _ACEOF
27767 if ac_fn_cxx_try_compile "$LINENO"; then :
27768 glibcxx_cv_func__isnan_use=yes
27769 else
27770 glibcxx_cv_func__isnan_use=no
27771 fi
27772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27773 ac_ext=c
27774 ac_cpp='$CPP $CPPFLAGS'
27775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27778
27779
27780 fi
27781
27782 fi
27783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
27784 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
27785
27786 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
27787 for ac_func in _isnan
27788 do :
27789 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
27790 if test "x$ac_cv_func__isnan" = x""yes; then :
27791 cat >>confdefs.h <<_ACEOF
27792 #define HAVE__ISNAN 1
27793 _ACEOF
27794
27795 fi
27796 done
27797
27798 fi
27799 fi
27800
27801
27802
27803
27804
27805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
27806 $as_echo_n "checking for finite declaration... " >&6; }
27807 if test x${glibcxx_cv_func_finite_use+set} != xset; then
27808 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
27809 $as_echo_n "(cached) " >&6
27810 else
27811
27812
27813 ac_ext=cpp
27814 ac_cpp='$CXXCPP $CPPFLAGS'
27815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27818
27819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27820 /* end confdefs.h. */
27821 #include <math.h>
27822 #ifdef HAVE_IEEEFP_H
27823 #include <ieeefp.h>
27824 #endif
27825
27826 int
27827 main ()
27828 {
27829 finite(0);
27830 ;
27831 return 0;
27832 }
27833 _ACEOF
27834 if ac_fn_cxx_try_compile "$LINENO"; then :
27835 glibcxx_cv_func_finite_use=yes
27836 else
27837 glibcxx_cv_func_finite_use=no
27838 fi
27839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27840 ac_ext=c
27841 ac_cpp='$CPP $CPPFLAGS'
27842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27845
27846
27847 fi
27848
27849 fi
27850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
27851 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
27852
27853 if test x$glibcxx_cv_func_finite_use = x"yes"; then
27854 for ac_func in finite
27855 do :
27856 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
27857 if test "x$ac_cv_func_finite" = x""yes; then :
27858 cat >>confdefs.h <<_ACEOF
27859 #define HAVE_FINITE 1
27860 _ACEOF
27861
27862 fi
27863 done
27864
27865 else
27866
27867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
27868 $as_echo_n "checking for _finite declaration... " >&6; }
27869 if test x${glibcxx_cv_func__finite_use+set} != xset; then
27870 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
27871 $as_echo_n "(cached) " >&6
27872 else
27873
27874
27875 ac_ext=cpp
27876 ac_cpp='$CXXCPP $CPPFLAGS'
27877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27880
27881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27882 /* end confdefs.h. */
27883 #include <math.h>
27884 #ifdef HAVE_IEEEFP_H
27885 #include <ieeefp.h>
27886 #endif
27887
27888 int
27889 main ()
27890 {
27891 _finite(0);
27892 ;
27893 return 0;
27894 }
27895 _ACEOF
27896 if ac_fn_cxx_try_compile "$LINENO"; then :
27897 glibcxx_cv_func__finite_use=yes
27898 else
27899 glibcxx_cv_func__finite_use=no
27900 fi
27901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27902 ac_ext=c
27903 ac_cpp='$CPP $CPPFLAGS'
27904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27907
27908
27909 fi
27910
27911 fi
27912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
27913 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
27914
27915 if test x$glibcxx_cv_func__finite_use = x"yes"; then
27916 for ac_func in _finite
27917 do :
27918 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
27919 if test "x$ac_cv_func__finite" = x""yes; then :
27920 cat >>confdefs.h <<_ACEOF
27921 #define HAVE__FINITE 1
27922 _ACEOF
27923
27924 fi
27925 done
27926
27927 fi
27928 fi
27929
27930
27931
27932
27933
27934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
27935 $as_echo_n "checking for sincos declaration... " >&6; }
27936 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
27937 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
27938 $as_echo_n "(cached) " >&6
27939 else
27940
27941
27942 ac_ext=cpp
27943 ac_cpp='$CXXCPP $CPPFLAGS'
27944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27947
27948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27949 /* end confdefs.h. */
27950 #include <math.h>
27951 int
27952 main ()
27953 {
27954 sincos(0, 0, 0);
27955 ;
27956 return 0;
27957 }
27958 _ACEOF
27959 if ac_fn_cxx_try_compile "$LINENO"; then :
27960 glibcxx_cv_func_sincos_use=yes
27961 else
27962 glibcxx_cv_func_sincos_use=no
27963 fi
27964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27965 ac_ext=c
27966 ac_cpp='$CPP $CPPFLAGS'
27967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27970
27971
27972 fi
27973
27974 fi
27975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
27976 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
27977
27978 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
27979 for ac_func in sincos
27980 do :
27981 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
27982 if test "x$ac_cv_func_sincos" = x""yes; then :
27983 cat >>confdefs.h <<_ACEOF
27984 #define HAVE_SINCOS 1
27985 _ACEOF
27986
27987 fi
27988 done
27989
27990 else
27991
27992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
27993 $as_echo_n "checking for _sincos declaration... " >&6; }
27994 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
27995 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
27996 $as_echo_n "(cached) " >&6
27997 else
27998
27999
28000 ac_ext=cpp
28001 ac_cpp='$CXXCPP $CPPFLAGS'
28002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28005
28006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28007 /* end confdefs.h. */
28008 #include <math.h>
28009 int
28010 main ()
28011 {
28012 _sincos(0, 0, 0);
28013 ;
28014 return 0;
28015 }
28016 _ACEOF
28017 if ac_fn_cxx_try_compile "$LINENO"; then :
28018 glibcxx_cv_func__sincos_use=yes
28019 else
28020 glibcxx_cv_func__sincos_use=no
28021 fi
28022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28023 ac_ext=c
28024 ac_cpp='$CPP $CPPFLAGS'
28025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28028
28029
28030 fi
28031
28032 fi
28033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28034 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28035
28036 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28037 for ac_func in _sincos
28038 do :
28039 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28040 if test "x$ac_cv_func__sincos" = x""yes; then :
28041 cat >>confdefs.h <<_ACEOF
28042 #define HAVE__SINCOS 1
28043 _ACEOF
28044
28045 fi
28046 done
28047
28048 fi
28049 fi
28050
28051
28052
28053
28054
28055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28056 $as_echo_n "checking for fpclass declaration... " >&6; }
28057 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28058 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28059 $as_echo_n "(cached) " >&6
28060 else
28061
28062
28063 ac_ext=cpp
28064 ac_cpp='$CXXCPP $CPPFLAGS'
28065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28068
28069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28070 /* end confdefs.h. */
28071 #include <math.h>
28072 #ifdef HAVE_IEEEFP_H
28073 #include <ieeefp.h>
28074 #endif
28075
28076 int
28077 main ()
28078 {
28079 fpclass(0);
28080 ;
28081 return 0;
28082 }
28083 _ACEOF
28084 if ac_fn_cxx_try_compile "$LINENO"; then :
28085 glibcxx_cv_func_fpclass_use=yes
28086 else
28087 glibcxx_cv_func_fpclass_use=no
28088 fi
28089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28090 ac_ext=c
28091 ac_cpp='$CPP $CPPFLAGS'
28092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28095
28096
28097 fi
28098
28099 fi
28100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28101 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28102
28103 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28104 for ac_func in fpclass
28105 do :
28106 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28107 if test "x$ac_cv_func_fpclass" = x""yes; then :
28108 cat >>confdefs.h <<_ACEOF
28109 #define HAVE_FPCLASS 1
28110 _ACEOF
28111
28112 fi
28113 done
28114
28115 else
28116
28117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28118 $as_echo_n "checking for _fpclass declaration... " >&6; }
28119 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28120 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28121 $as_echo_n "(cached) " >&6
28122 else
28123
28124
28125 ac_ext=cpp
28126 ac_cpp='$CXXCPP $CPPFLAGS'
28127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28130
28131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28132 /* end confdefs.h. */
28133 #include <math.h>
28134 #ifdef HAVE_IEEEFP_H
28135 #include <ieeefp.h>
28136 #endif
28137
28138 int
28139 main ()
28140 {
28141 _fpclass(0);
28142 ;
28143 return 0;
28144 }
28145 _ACEOF
28146 if ac_fn_cxx_try_compile "$LINENO"; then :
28147 glibcxx_cv_func__fpclass_use=yes
28148 else
28149 glibcxx_cv_func__fpclass_use=no
28150 fi
28151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28152 ac_ext=c
28153 ac_cpp='$CPP $CPPFLAGS'
28154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28157
28158
28159 fi
28160
28161 fi
28162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28163 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28164
28165 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28166 for ac_func in _fpclass
28167 do :
28168 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28169 if test "x$ac_cv_func__fpclass" = x""yes; then :
28170 cat >>confdefs.h <<_ACEOF
28171 #define HAVE__FPCLASS 1
28172 _ACEOF
28173
28174 fi
28175 done
28176
28177 fi
28178 fi
28179
28180
28181
28182
28183
28184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28185 $as_echo_n "checking for qfpclass declaration... " >&6; }
28186 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28187 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28188 $as_echo_n "(cached) " >&6
28189 else
28190
28191
28192 ac_ext=cpp
28193 ac_cpp='$CXXCPP $CPPFLAGS'
28194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28197
28198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28199 /* end confdefs.h. */
28200 #include <math.h>
28201 #ifdef HAVE_IEEEFP_H
28202 #include <ieeefp.h>
28203 #endif
28204
28205 int
28206 main ()
28207 {
28208 qfpclass(0);
28209 ;
28210 return 0;
28211 }
28212 _ACEOF
28213 if ac_fn_cxx_try_compile "$LINENO"; then :
28214 glibcxx_cv_func_qfpclass_use=yes
28215 else
28216 glibcxx_cv_func_qfpclass_use=no
28217 fi
28218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28219 ac_ext=c
28220 ac_cpp='$CPP $CPPFLAGS'
28221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28224
28225
28226 fi
28227
28228 fi
28229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28230 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28231
28232 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28233 for ac_func in qfpclass
28234 do :
28235 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28236 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28237 cat >>confdefs.h <<_ACEOF
28238 #define HAVE_QFPCLASS 1
28239 _ACEOF
28240
28241 fi
28242 done
28243
28244 else
28245
28246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28247 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28248 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28249 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28250 $as_echo_n "(cached) " >&6
28251 else
28252
28253
28254 ac_ext=cpp
28255 ac_cpp='$CXXCPP $CPPFLAGS'
28256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28259
28260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28261 /* end confdefs.h. */
28262 #include <math.h>
28263 #ifdef HAVE_IEEEFP_H
28264 #include <ieeefp.h>
28265 #endif
28266
28267 int
28268 main ()
28269 {
28270 _qfpclass(0);
28271 ;
28272 return 0;
28273 }
28274 _ACEOF
28275 if ac_fn_cxx_try_compile "$LINENO"; then :
28276 glibcxx_cv_func__qfpclass_use=yes
28277 else
28278 glibcxx_cv_func__qfpclass_use=no
28279 fi
28280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28281 ac_ext=c
28282 ac_cpp='$CPP $CPPFLAGS'
28283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28286
28287
28288 fi
28289
28290 fi
28291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28292 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28293
28294 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28295 for ac_func in _qfpclass
28296 do :
28297 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28298 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28299 cat >>confdefs.h <<_ACEOF
28300 #define HAVE__QFPCLASS 1
28301 _ACEOF
28302
28303 fi
28304 done
28305
28306 fi
28307 fi
28308
28309
28310
28311
28312
28313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28314 $as_echo_n "checking for hypot declaration... " >&6; }
28315 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28316 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28317 $as_echo_n "(cached) " >&6
28318 else
28319
28320
28321 ac_ext=cpp
28322 ac_cpp='$CXXCPP $CPPFLAGS'
28323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28326
28327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28328 /* end confdefs.h. */
28329 #include <math.h>
28330 int
28331 main ()
28332 {
28333 hypot(0, 0);
28334 ;
28335 return 0;
28336 }
28337 _ACEOF
28338 if ac_fn_cxx_try_compile "$LINENO"; then :
28339 glibcxx_cv_func_hypot_use=yes
28340 else
28341 glibcxx_cv_func_hypot_use=no
28342 fi
28343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28344 ac_ext=c
28345 ac_cpp='$CPP $CPPFLAGS'
28346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28349
28350
28351 fi
28352
28353 fi
28354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28355 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28356
28357 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28358 for ac_func in hypot
28359 do :
28360 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28361 if test "x$ac_cv_func_hypot" = x""yes; then :
28362 cat >>confdefs.h <<_ACEOF
28363 #define HAVE_HYPOT 1
28364 _ACEOF
28365
28366 fi
28367 done
28368
28369 else
28370
28371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28372 $as_echo_n "checking for _hypot declaration... " >&6; }
28373 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28374 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28375 $as_echo_n "(cached) " >&6
28376 else
28377
28378
28379 ac_ext=cpp
28380 ac_cpp='$CXXCPP $CPPFLAGS'
28381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28384
28385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28386 /* end confdefs.h. */
28387 #include <math.h>
28388 int
28389 main ()
28390 {
28391 _hypot(0, 0);
28392 ;
28393 return 0;
28394 }
28395 _ACEOF
28396 if ac_fn_cxx_try_compile "$LINENO"; then :
28397 glibcxx_cv_func__hypot_use=yes
28398 else
28399 glibcxx_cv_func__hypot_use=no
28400 fi
28401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28402 ac_ext=c
28403 ac_cpp='$CPP $CPPFLAGS'
28404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28407
28408
28409 fi
28410
28411 fi
28412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28413 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28414
28415 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28416 for ac_func in _hypot
28417 do :
28418 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28419 if test "x$ac_cv_func__hypot" = x""yes; then :
28420 cat >>confdefs.h <<_ACEOF
28421 #define HAVE__HYPOT 1
28422 _ACEOF
28423
28424 fi
28425 done
28426
28427 fi
28428 fi
28429
28430
28431
28432
28433
28434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28435 $as_echo_n "checking for float trig functions... " >&6; }
28436 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
28437 $as_echo_n "(cached) " >&6
28438 else
28439
28440
28441 ac_ext=cpp
28442 ac_cpp='$CXXCPP $CPPFLAGS'
28443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28446
28447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28448 /* end confdefs.h. */
28449 #include <math.h>
28450 int
28451 main ()
28452 {
28453 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
28454 ;
28455 return 0;
28456 }
28457 _ACEOF
28458 if ac_fn_cxx_try_compile "$LINENO"; then :
28459 glibcxx_cv_func_float_trig_use=yes
28460 else
28461 glibcxx_cv_func_float_trig_use=no
28462 fi
28463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28464 ac_ext=c
28465 ac_cpp='$CPP $CPPFLAGS'
28466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28469
28470 fi
28471
28472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
28473 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
28474 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
28475 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
28476 do :
28477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28479 eval as_val=\$$as_ac_var
28480 if test "x$as_val" = x""yes; then :
28481 cat >>confdefs.h <<_ACEOF
28482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28483 _ACEOF
28484
28485 fi
28486 done
28487
28488 else
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
28490 $as_echo_n "checking for _float trig functions... " >&6; }
28491 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
28492 $as_echo_n "(cached) " >&6
28493 else
28494
28495
28496 ac_ext=cpp
28497 ac_cpp='$CXXCPP $CPPFLAGS'
28498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28501
28502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28503 /* end confdefs.h. */
28504 #include <math.h>
28505 int
28506 main ()
28507 {
28508 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
28509 ;
28510 return 0;
28511 }
28512 _ACEOF
28513 if ac_fn_cxx_try_compile "$LINENO"; then :
28514 glibcxx_cv_func__float_trig_use=yes
28515 else
28516 glibcxx_cv_func__float_trig_use=no
28517 fi
28518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28519 ac_ext=c
28520 ac_cpp='$CPP $CPPFLAGS'
28521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28524
28525 fi
28526
28527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
28528 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
28529 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
28530 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
28531 do :
28532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28534 eval as_val=\$$as_ac_var
28535 if test "x$as_val" = x""yes; then :
28536 cat >>confdefs.h <<_ACEOF
28537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28538 _ACEOF
28539
28540 fi
28541 done
28542
28543 fi
28544 fi
28545
28546
28547
28548
28549
28550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
28551 $as_echo_n "checking for float round functions... " >&6; }
28552 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
28553 $as_echo_n "(cached) " >&6
28554 else
28555
28556
28557 ac_ext=cpp
28558 ac_cpp='$CXXCPP $CPPFLAGS'
28559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28562
28563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28564 /* end confdefs.h. */
28565 #include <math.h>
28566 int
28567 main ()
28568 {
28569 ceilf (0); floorf (0);
28570 ;
28571 return 0;
28572 }
28573 _ACEOF
28574 if ac_fn_cxx_try_compile "$LINENO"; then :
28575 glibcxx_cv_func_float_round_use=yes
28576 else
28577 glibcxx_cv_func_float_round_use=no
28578 fi
28579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28580 ac_ext=c
28581 ac_cpp='$CPP $CPPFLAGS'
28582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28585
28586 fi
28587
28588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
28589 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
28590 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
28591 for ac_func in ceilf floorf
28592 do :
28593 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28594 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28595 eval as_val=\$$as_ac_var
28596 if test "x$as_val" = x""yes; then :
28597 cat >>confdefs.h <<_ACEOF
28598 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28599 _ACEOF
28600
28601 fi
28602 done
28603
28604 else
28605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
28606 $as_echo_n "checking for _float round functions... " >&6; }
28607 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
28608 $as_echo_n "(cached) " >&6
28609 else
28610
28611
28612 ac_ext=cpp
28613 ac_cpp='$CXXCPP $CPPFLAGS'
28614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28617
28618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28619 /* end confdefs.h. */
28620 #include <math.h>
28621 int
28622 main ()
28623 {
28624 _ceilf (0); _floorf (0);
28625 ;
28626 return 0;
28627 }
28628 _ACEOF
28629 if ac_fn_cxx_try_compile "$LINENO"; then :
28630 glibcxx_cv_func__float_round_use=yes
28631 else
28632 glibcxx_cv_func__float_round_use=no
28633 fi
28634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28635 ac_ext=c
28636 ac_cpp='$CPP $CPPFLAGS'
28637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28640
28641 fi
28642
28643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
28644 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
28645 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
28646 for ac_func in _ceilf _floorf
28647 do :
28648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28650 eval as_val=\$$as_ac_var
28651 if test "x$as_val" = x""yes; then :
28652 cat >>confdefs.h <<_ACEOF
28653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28654 _ACEOF
28655
28656 fi
28657 done
28658
28659 fi
28660 fi
28661
28662
28663
28664
28665
28666
28667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
28668 $as_echo_n "checking for expf declaration... " >&6; }
28669 if test x${glibcxx_cv_func_expf_use+set} != xset; then
28670 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
28671 $as_echo_n "(cached) " >&6
28672 else
28673
28674
28675 ac_ext=cpp
28676 ac_cpp='$CXXCPP $CPPFLAGS'
28677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28680
28681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28682 /* end confdefs.h. */
28683 #include <math.h>
28684 #ifdef HAVE_IEEEFP_H
28685 #include <ieeefp.h>
28686 #endif
28687
28688 int
28689 main ()
28690 {
28691 expf(0);
28692 ;
28693 return 0;
28694 }
28695 _ACEOF
28696 if ac_fn_cxx_try_compile "$LINENO"; then :
28697 glibcxx_cv_func_expf_use=yes
28698 else
28699 glibcxx_cv_func_expf_use=no
28700 fi
28701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28702 ac_ext=c
28703 ac_cpp='$CPP $CPPFLAGS'
28704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28707
28708
28709 fi
28710
28711 fi
28712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
28713 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
28714
28715 if test x$glibcxx_cv_func_expf_use = x"yes"; then
28716 for ac_func in expf
28717 do :
28718 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
28719 if test "x$ac_cv_func_expf" = x""yes; then :
28720 cat >>confdefs.h <<_ACEOF
28721 #define HAVE_EXPF 1
28722 _ACEOF
28723
28724 fi
28725 done
28726
28727 else
28728
28729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
28730 $as_echo_n "checking for _expf declaration... " >&6; }
28731 if test x${glibcxx_cv_func__expf_use+set} != xset; then
28732 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
28733 $as_echo_n "(cached) " >&6
28734 else
28735
28736
28737 ac_ext=cpp
28738 ac_cpp='$CXXCPP $CPPFLAGS'
28739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28742
28743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28744 /* end confdefs.h. */
28745 #include <math.h>
28746 #ifdef HAVE_IEEEFP_H
28747 #include <ieeefp.h>
28748 #endif
28749
28750 int
28751 main ()
28752 {
28753 _expf(0);
28754 ;
28755 return 0;
28756 }
28757 _ACEOF
28758 if ac_fn_cxx_try_compile "$LINENO"; then :
28759 glibcxx_cv_func__expf_use=yes
28760 else
28761 glibcxx_cv_func__expf_use=no
28762 fi
28763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28764 ac_ext=c
28765 ac_cpp='$CPP $CPPFLAGS'
28766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28769
28770
28771 fi
28772
28773 fi
28774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
28775 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
28776
28777 if test x$glibcxx_cv_func__expf_use = x"yes"; then
28778 for ac_func in _expf
28779 do :
28780 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
28781 if test "x$ac_cv_func__expf" = x""yes; then :
28782 cat >>confdefs.h <<_ACEOF
28783 #define HAVE__EXPF 1
28784 _ACEOF
28785
28786 fi
28787 done
28788
28789 fi
28790 fi
28791
28792
28793
28794
28795
28796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
28797 $as_echo_n "checking for isnanf declaration... " >&6; }
28798 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
28799 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
28800 $as_echo_n "(cached) " >&6
28801 else
28802
28803
28804 ac_ext=cpp
28805 ac_cpp='$CXXCPP $CPPFLAGS'
28806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28809
28810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28811 /* end confdefs.h. */
28812 #include <math.h>
28813 #ifdef HAVE_IEEEFP_H
28814 #include <ieeefp.h>
28815 #endif
28816
28817 int
28818 main ()
28819 {
28820 isnanf(0);
28821 ;
28822 return 0;
28823 }
28824 _ACEOF
28825 if ac_fn_cxx_try_compile "$LINENO"; then :
28826 glibcxx_cv_func_isnanf_use=yes
28827 else
28828 glibcxx_cv_func_isnanf_use=no
28829 fi
28830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28831 ac_ext=c
28832 ac_cpp='$CPP $CPPFLAGS'
28833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28836
28837
28838 fi
28839
28840 fi
28841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
28842 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
28843
28844 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
28845 for ac_func in isnanf
28846 do :
28847 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
28848 if test "x$ac_cv_func_isnanf" = x""yes; then :
28849 cat >>confdefs.h <<_ACEOF
28850 #define HAVE_ISNANF 1
28851 _ACEOF
28852
28853 fi
28854 done
28855
28856 else
28857
28858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
28859 $as_echo_n "checking for _isnanf declaration... " >&6; }
28860 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28861 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
28862 $as_echo_n "(cached) " >&6
28863 else
28864
28865
28866 ac_ext=cpp
28867 ac_cpp='$CXXCPP $CPPFLAGS'
28868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28871
28872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28873 /* end confdefs.h. */
28874 #include <math.h>
28875 #ifdef HAVE_IEEEFP_H
28876 #include <ieeefp.h>
28877 #endif
28878
28879 int
28880 main ()
28881 {
28882 _isnanf(0);
28883 ;
28884 return 0;
28885 }
28886 _ACEOF
28887 if ac_fn_cxx_try_compile "$LINENO"; then :
28888 glibcxx_cv_func__isnanf_use=yes
28889 else
28890 glibcxx_cv_func__isnanf_use=no
28891 fi
28892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28893 ac_ext=c
28894 ac_cpp='$CPP $CPPFLAGS'
28895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28898
28899
28900 fi
28901
28902 fi
28903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
28904 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
28905
28906 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28907 for ac_func in _isnanf
28908 do :
28909 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
28910 if test "x$ac_cv_func__isnanf" = x""yes; then :
28911 cat >>confdefs.h <<_ACEOF
28912 #define HAVE__ISNANF 1
28913 _ACEOF
28914
28915 fi
28916 done
28917
28918 fi
28919 fi
28920
28921
28922
28923
28924
28925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
28926 $as_echo_n "checking for isinff declaration... " >&6; }
28927 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28928 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
28929 $as_echo_n "(cached) " >&6
28930 else
28931
28932
28933 ac_ext=cpp
28934 ac_cpp='$CXXCPP $CPPFLAGS'
28935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28938
28939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28940 /* end confdefs.h. */
28941 #include <math.h>
28942 #ifdef HAVE_IEEEFP_H
28943 #include <ieeefp.h>
28944 #endif
28945
28946 int
28947 main ()
28948 {
28949 isinff(0);
28950 ;
28951 return 0;
28952 }
28953 _ACEOF
28954 if ac_fn_cxx_try_compile "$LINENO"; then :
28955 glibcxx_cv_func_isinff_use=yes
28956 else
28957 glibcxx_cv_func_isinff_use=no
28958 fi
28959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28960 ac_ext=c
28961 ac_cpp='$CPP $CPPFLAGS'
28962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28965
28966
28967 fi
28968
28969 fi
28970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
28971 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
28972
28973 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28974 for ac_func in isinff
28975 do :
28976 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
28977 if test "x$ac_cv_func_isinff" = x""yes; then :
28978 cat >>confdefs.h <<_ACEOF
28979 #define HAVE_ISINFF 1
28980 _ACEOF
28981
28982 fi
28983 done
28984
28985 else
28986
28987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
28988 $as_echo_n "checking for _isinff declaration... " >&6; }
28989 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28990 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
28991 $as_echo_n "(cached) " >&6
28992 else
28993
28994
28995 ac_ext=cpp
28996 ac_cpp='$CXXCPP $CPPFLAGS'
28997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29000
29001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29002 /* end confdefs.h. */
29003 #include <math.h>
29004 #ifdef HAVE_IEEEFP_H
29005 #include <ieeefp.h>
29006 #endif
29007
29008 int
29009 main ()
29010 {
29011 _isinff(0);
29012 ;
29013 return 0;
29014 }
29015 _ACEOF
29016 if ac_fn_cxx_try_compile "$LINENO"; then :
29017 glibcxx_cv_func__isinff_use=yes
29018 else
29019 glibcxx_cv_func__isinff_use=no
29020 fi
29021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29022 ac_ext=c
29023 ac_cpp='$CPP $CPPFLAGS'
29024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29027
29028
29029 fi
29030
29031 fi
29032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29033 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29034
29035 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29036 for ac_func in _isinff
29037 do :
29038 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29039 if test "x$ac_cv_func__isinff" = x""yes; then :
29040 cat >>confdefs.h <<_ACEOF
29041 #define HAVE__ISINFF 1
29042 _ACEOF
29043
29044 fi
29045 done
29046
29047 fi
29048 fi
29049
29050
29051
29052
29053
29054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29055 $as_echo_n "checking for atan2f declaration... " >&6; }
29056 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29057 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29058 $as_echo_n "(cached) " >&6
29059 else
29060
29061
29062 ac_ext=cpp
29063 ac_cpp='$CXXCPP $CPPFLAGS'
29064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29067
29068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29069 /* end confdefs.h. */
29070 #include <math.h>
29071 int
29072 main ()
29073 {
29074 atan2f(0, 0);
29075 ;
29076 return 0;
29077 }
29078 _ACEOF
29079 if ac_fn_cxx_try_compile "$LINENO"; then :
29080 glibcxx_cv_func_atan2f_use=yes
29081 else
29082 glibcxx_cv_func_atan2f_use=no
29083 fi
29084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29085 ac_ext=c
29086 ac_cpp='$CPP $CPPFLAGS'
29087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29090
29091
29092 fi
29093
29094 fi
29095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29096 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29097
29098 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29099 for ac_func in atan2f
29100 do :
29101 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29102 if test "x$ac_cv_func_atan2f" = x""yes; then :
29103 cat >>confdefs.h <<_ACEOF
29104 #define HAVE_ATAN2F 1
29105 _ACEOF
29106
29107 fi
29108 done
29109
29110 else
29111
29112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29113 $as_echo_n "checking for _atan2f declaration... " >&6; }
29114 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29115 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29116 $as_echo_n "(cached) " >&6
29117 else
29118
29119
29120 ac_ext=cpp
29121 ac_cpp='$CXXCPP $CPPFLAGS'
29122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29125
29126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29127 /* end confdefs.h. */
29128 #include <math.h>
29129 int
29130 main ()
29131 {
29132 _atan2f(0, 0);
29133 ;
29134 return 0;
29135 }
29136 _ACEOF
29137 if ac_fn_cxx_try_compile "$LINENO"; then :
29138 glibcxx_cv_func__atan2f_use=yes
29139 else
29140 glibcxx_cv_func__atan2f_use=no
29141 fi
29142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29143 ac_ext=c
29144 ac_cpp='$CPP $CPPFLAGS'
29145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29148
29149
29150 fi
29151
29152 fi
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29154 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29155
29156 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29157 for ac_func in _atan2f
29158 do :
29159 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29160 if test "x$ac_cv_func__atan2f" = x""yes; then :
29161 cat >>confdefs.h <<_ACEOF
29162 #define HAVE__ATAN2F 1
29163 _ACEOF
29164
29165 fi
29166 done
29167
29168 fi
29169 fi
29170
29171
29172
29173
29174
29175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29176 $as_echo_n "checking for fabsf declaration... " >&6; }
29177 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29178 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29179 $as_echo_n "(cached) " >&6
29180 else
29181
29182
29183 ac_ext=cpp
29184 ac_cpp='$CXXCPP $CPPFLAGS'
29185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29188
29189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29190 /* end confdefs.h. */
29191 #include <math.h>
29192 #ifdef HAVE_IEEEFP_H
29193 #include <ieeefp.h>
29194 #endif
29195
29196 int
29197 main ()
29198 {
29199 fabsf(0);
29200 ;
29201 return 0;
29202 }
29203 _ACEOF
29204 if ac_fn_cxx_try_compile "$LINENO"; then :
29205 glibcxx_cv_func_fabsf_use=yes
29206 else
29207 glibcxx_cv_func_fabsf_use=no
29208 fi
29209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29210 ac_ext=c
29211 ac_cpp='$CPP $CPPFLAGS'
29212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29215
29216
29217 fi
29218
29219 fi
29220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29221 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29222
29223 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29224 for ac_func in fabsf
29225 do :
29226 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29227 if test "x$ac_cv_func_fabsf" = x""yes; then :
29228 cat >>confdefs.h <<_ACEOF
29229 #define HAVE_FABSF 1
29230 _ACEOF
29231
29232 fi
29233 done
29234
29235 else
29236
29237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29238 $as_echo_n "checking for _fabsf declaration... " >&6; }
29239 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29240 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29241 $as_echo_n "(cached) " >&6
29242 else
29243
29244
29245 ac_ext=cpp
29246 ac_cpp='$CXXCPP $CPPFLAGS'
29247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29250
29251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29252 /* end confdefs.h. */
29253 #include <math.h>
29254 #ifdef HAVE_IEEEFP_H
29255 #include <ieeefp.h>
29256 #endif
29257
29258 int
29259 main ()
29260 {
29261 _fabsf(0);
29262 ;
29263 return 0;
29264 }
29265 _ACEOF
29266 if ac_fn_cxx_try_compile "$LINENO"; then :
29267 glibcxx_cv_func__fabsf_use=yes
29268 else
29269 glibcxx_cv_func__fabsf_use=no
29270 fi
29271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29272 ac_ext=c
29273 ac_cpp='$CPP $CPPFLAGS'
29274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29277
29278
29279 fi
29280
29281 fi
29282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29283 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29284
29285 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29286 for ac_func in _fabsf
29287 do :
29288 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29289 if test "x$ac_cv_func__fabsf" = x""yes; then :
29290 cat >>confdefs.h <<_ACEOF
29291 #define HAVE__FABSF 1
29292 _ACEOF
29293
29294 fi
29295 done
29296
29297 fi
29298 fi
29299
29300
29301
29302
29303
29304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29305 $as_echo_n "checking for fmodf declaration... " >&6; }
29306 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29307 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29308 $as_echo_n "(cached) " >&6
29309 else
29310
29311
29312 ac_ext=cpp
29313 ac_cpp='$CXXCPP $CPPFLAGS'
29314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29317
29318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29319 /* end confdefs.h. */
29320 #include <math.h>
29321 int
29322 main ()
29323 {
29324 fmodf(0, 0);
29325 ;
29326 return 0;
29327 }
29328 _ACEOF
29329 if ac_fn_cxx_try_compile "$LINENO"; then :
29330 glibcxx_cv_func_fmodf_use=yes
29331 else
29332 glibcxx_cv_func_fmodf_use=no
29333 fi
29334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29335 ac_ext=c
29336 ac_cpp='$CPP $CPPFLAGS'
29337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29340
29341
29342 fi
29343
29344 fi
29345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29346 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29347
29348 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29349 for ac_func in fmodf
29350 do :
29351 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29352 if test "x$ac_cv_func_fmodf" = x""yes; then :
29353 cat >>confdefs.h <<_ACEOF
29354 #define HAVE_FMODF 1
29355 _ACEOF
29356
29357 fi
29358 done
29359
29360 else
29361
29362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29363 $as_echo_n "checking for _fmodf declaration... " >&6; }
29364 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29365 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29366 $as_echo_n "(cached) " >&6
29367 else
29368
29369
29370 ac_ext=cpp
29371 ac_cpp='$CXXCPP $CPPFLAGS'
29372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29375
29376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29377 /* end confdefs.h. */
29378 #include <math.h>
29379 int
29380 main ()
29381 {
29382 _fmodf(0, 0);
29383 ;
29384 return 0;
29385 }
29386 _ACEOF
29387 if ac_fn_cxx_try_compile "$LINENO"; then :
29388 glibcxx_cv_func__fmodf_use=yes
29389 else
29390 glibcxx_cv_func__fmodf_use=no
29391 fi
29392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29393 ac_ext=c
29394 ac_cpp='$CPP $CPPFLAGS'
29395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29398
29399
29400 fi
29401
29402 fi
29403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29404 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29405
29406 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29407 for ac_func in _fmodf
29408 do :
29409 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29410 if test "x$ac_cv_func__fmodf" = x""yes; then :
29411 cat >>confdefs.h <<_ACEOF
29412 #define HAVE__FMODF 1
29413 _ACEOF
29414
29415 fi
29416 done
29417
29418 fi
29419 fi
29420
29421
29422
29423
29424
29425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29426 $as_echo_n "checking for frexpf declaration... " >&6; }
29427 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29428 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29429 $as_echo_n "(cached) " >&6
29430 else
29431
29432
29433 ac_ext=cpp
29434 ac_cpp='$CXXCPP $CPPFLAGS'
29435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29438
29439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29440 /* end confdefs.h. */
29441 #include <math.h>
29442 int
29443 main ()
29444 {
29445 frexpf(0, 0);
29446 ;
29447 return 0;
29448 }
29449 _ACEOF
29450 if ac_fn_cxx_try_compile "$LINENO"; then :
29451 glibcxx_cv_func_frexpf_use=yes
29452 else
29453 glibcxx_cv_func_frexpf_use=no
29454 fi
29455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29456 ac_ext=c
29457 ac_cpp='$CPP $CPPFLAGS'
29458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29461
29462
29463 fi
29464
29465 fi
29466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
29467 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
29468
29469 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29470 for ac_func in frexpf
29471 do :
29472 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
29473 if test "x$ac_cv_func_frexpf" = x""yes; then :
29474 cat >>confdefs.h <<_ACEOF
29475 #define HAVE_FREXPF 1
29476 _ACEOF
29477
29478 fi
29479 done
29480
29481 else
29482
29483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
29484 $as_echo_n "checking for _frexpf declaration... " >&6; }
29485 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29486 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
29487 $as_echo_n "(cached) " >&6
29488 else
29489
29490
29491 ac_ext=cpp
29492 ac_cpp='$CXXCPP $CPPFLAGS'
29493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29496
29497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29498 /* end confdefs.h. */
29499 #include <math.h>
29500 int
29501 main ()
29502 {
29503 _frexpf(0, 0);
29504 ;
29505 return 0;
29506 }
29507 _ACEOF
29508 if ac_fn_cxx_try_compile "$LINENO"; then :
29509 glibcxx_cv_func__frexpf_use=yes
29510 else
29511 glibcxx_cv_func__frexpf_use=no
29512 fi
29513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29514 ac_ext=c
29515 ac_cpp='$CPP $CPPFLAGS'
29516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29519
29520
29521 fi
29522
29523 fi
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
29525 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
29526
29527 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29528 for ac_func in _frexpf
29529 do :
29530 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
29531 if test "x$ac_cv_func__frexpf" = x""yes; then :
29532 cat >>confdefs.h <<_ACEOF
29533 #define HAVE__FREXPF 1
29534 _ACEOF
29535
29536 fi
29537 done
29538
29539 fi
29540 fi
29541
29542
29543
29544
29545
29546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
29547 $as_echo_n "checking for hypotf declaration... " >&6; }
29548 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
29549 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
29550 $as_echo_n "(cached) " >&6
29551 else
29552
29553
29554 ac_ext=cpp
29555 ac_cpp='$CXXCPP $CPPFLAGS'
29556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29559
29560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29561 /* end confdefs.h. */
29562 #include <math.h>
29563 int
29564 main ()
29565 {
29566 hypotf(0, 0);
29567 ;
29568 return 0;
29569 }
29570 _ACEOF
29571 if ac_fn_cxx_try_compile "$LINENO"; then :
29572 glibcxx_cv_func_hypotf_use=yes
29573 else
29574 glibcxx_cv_func_hypotf_use=no
29575 fi
29576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29577 ac_ext=c
29578 ac_cpp='$CPP $CPPFLAGS'
29579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29582
29583
29584 fi
29585
29586 fi
29587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
29588 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
29589
29590 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
29591 for ac_func in hypotf
29592 do :
29593 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
29594 if test "x$ac_cv_func_hypotf" = x""yes; then :
29595 cat >>confdefs.h <<_ACEOF
29596 #define HAVE_HYPOTF 1
29597 _ACEOF
29598
29599 fi
29600 done
29601
29602 else
29603
29604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
29605 $as_echo_n "checking for _hypotf declaration... " >&6; }
29606 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
29607 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
29608 $as_echo_n "(cached) " >&6
29609 else
29610
29611
29612 ac_ext=cpp
29613 ac_cpp='$CXXCPP $CPPFLAGS'
29614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29617
29618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29619 /* end confdefs.h. */
29620 #include <math.h>
29621 int
29622 main ()
29623 {
29624 _hypotf(0, 0);
29625 ;
29626 return 0;
29627 }
29628 _ACEOF
29629 if ac_fn_cxx_try_compile "$LINENO"; then :
29630 glibcxx_cv_func__hypotf_use=yes
29631 else
29632 glibcxx_cv_func__hypotf_use=no
29633 fi
29634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29635 ac_ext=c
29636 ac_cpp='$CPP $CPPFLAGS'
29637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29640
29641
29642 fi
29643
29644 fi
29645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
29646 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
29647
29648 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
29649 for ac_func in _hypotf
29650 do :
29651 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
29652 if test "x$ac_cv_func__hypotf" = x""yes; then :
29653 cat >>confdefs.h <<_ACEOF
29654 #define HAVE__HYPOTF 1
29655 _ACEOF
29656
29657 fi
29658 done
29659
29660 fi
29661 fi
29662
29663
29664
29665
29666
29667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
29668 $as_echo_n "checking for ldexpf declaration... " >&6; }
29669 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
29670 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
29671 $as_echo_n "(cached) " >&6
29672 else
29673
29674
29675 ac_ext=cpp
29676 ac_cpp='$CXXCPP $CPPFLAGS'
29677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29680
29681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29682 /* end confdefs.h. */
29683 #include <math.h>
29684 int
29685 main ()
29686 {
29687 ldexpf(0, 0);
29688 ;
29689 return 0;
29690 }
29691 _ACEOF
29692 if ac_fn_cxx_try_compile "$LINENO"; then :
29693 glibcxx_cv_func_ldexpf_use=yes
29694 else
29695 glibcxx_cv_func_ldexpf_use=no
29696 fi
29697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29698 ac_ext=c
29699 ac_cpp='$CPP $CPPFLAGS'
29700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29703
29704
29705 fi
29706
29707 fi
29708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
29709 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
29710
29711 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
29712 for ac_func in ldexpf
29713 do :
29714 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
29715 if test "x$ac_cv_func_ldexpf" = x""yes; then :
29716 cat >>confdefs.h <<_ACEOF
29717 #define HAVE_LDEXPF 1
29718 _ACEOF
29719
29720 fi
29721 done
29722
29723 else
29724
29725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
29726 $as_echo_n "checking for _ldexpf declaration... " >&6; }
29727 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
29728 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
29729 $as_echo_n "(cached) " >&6
29730 else
29731
29732
29733 ac_ext=cpp
29734 ac_cpp='$CXXCPP $CPPFLAGS'
29735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29738
29739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29740 /* end confdefs.h. */
29741 #include <math.h>
29742 int
29743 main ()
29744 {
29745 _ldexpf(0, 0);
29746 ;
29747 return 0;
29748 }
29749 _ACEOF
29750 if ac_fn_cxx_try_compile "$LINENO"; then :
29751 glibcxx_cv_func__ldexpf_use=yes
29752 else
29753 glibcxx_cv_func__ldexpf_use=no
29754 fi
29755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29756 ac_ext=c
29757 ac_cpp='$CPP $CPPFLAGS'
29758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29761
29762
29763 fi
29764
29765 fi
29766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
29767 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
29768
29769 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
29770 for ac_func in _ldexpf
29771 do :
29772 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
29773 if test "x$ac_cv_func__ldexpf" = x""yes; then :
29774 cat >>confdefs.h <<_ACEOF
29775 #define HAVE__LDEXPF 1
29776 _ACEOF
29777
29778 fi
29779 done
29780
29781 fi
29782 fi
29783
29784
29785
29786
29787
29788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
29789 $as_echo_n "checking for logf declaration... " >&6; }
29790 if test x${glibcxx_cv_func_logf_use+set} != xset; then
29791 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
29792 $as_echo_n "(cached) " >&6
29793 else
29794
29795
29796 ac_ext=cpp
29797 ac_cpp='$CXXCPP $CPPFLAGS'
29798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29801
29802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29803 /* end confdefs.h. */
29804 #include <math.h>
29805 #ifdef HAVE_IEEEFP_H
29806 #include <ieeefp.h>
29807 #endif
29808
29809 int
29810 main ()
29811 {
29812 logf(0);
29813 ;
29814 return 0;
29815 }
29816 _ACEOF
29817 if ac_fn_cxx_try_compile "$LINENO"; then :
29818 glibcxx_cv_func_logf_use=yes
29819 else
29820 glibcxx_cv_func_logf_use=no
29821 fi
29822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29823 ac_ext=c
29824 ac_cpp='$CPP $CPPFLAGS'
29825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29828
29829
29830 fi
29831
29832 fi
29833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
29834 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
29835
29836 if test x$glibcxx_cv_func_logf_use = x"yes"; then
29837 for ac_func in logf
29838 do :
29839 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
29840 if test "x$ac_cv_func_logf" = x""yes; then :
29841 cat >>confdefs.h <<_ACEOF
29842 #define HAVE_LOGF 1
29843 _ACEOF
29844
29845 fi
29846 done
29847
29848 else
29849
29850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
29851 $as_echo_n "checking for _logf declaration... " >&6; }
29852 if test x${glibcxx_cv_func__logf_use+set} != xset; then
29853 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
29854 $as_echo_n "(cached) " >&6
29855 else
29856
29857
29858 ac_ext=cpp
29859 ac_cpp='$CXXCPP $CPPFLAGS'
29860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29863
29864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29865 /* end confdefs.h. */
29866 #include <math.h>
29867 #ifdef HAVE_IEEEFP_H
29868 #include <ieeefp.h>
29869 #endif
29870
29871 int
29872 main ()
29873 {
29874 _logf(0);
29875 ;
29876 return 0;
29877 }
29878 _ACEOF
29879 if ac_fn_cxx_try_compile "$LINENO"; then :
29880 glibcxx_cv_func__logf_use=yes
29881 else
29882 glibcxx_cv_func__logf_use=no
29883 fi
29884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29885 ac_ext=c
29886 ac_cpp='$CPP $CPPFLAGS'
29887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29890
29891
29892 fi
29893
29894 fi
29895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
29896 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
29897
29898 if test x$glibcxx_cv_func__logf_use = x"yes"; then
29899 for ac_func in _logf
29900 do :
29901 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
29902 if test "x$ac_cv_func__logf" = x""yes; then :
29903 cat >>confdefs.h <<_ACEOF
29904 #define HAVE__LOGF 1
29905 _ACEOF
29906
29907 fi
29908 done
29909
29910 fi
29911 fi
29912
29913
29914
29915
29916
29917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
29918 $as_echo_n "checking for log10f declaration... " >&6; }
29919 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
29920 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
29921 $as_echo_n "(cached) " >&6
29922 else
29923
29924
29925 ac_ext=cpp
29926 ac_cpp='$CXXCPP $CPPFLAGS'
29927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29930
29931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29932 /* end confdefs.h. */
29933 #include <math.h>
29934 #ifdef HAVE_IEEEFP_H
29935 #include <ieeefp.h>
29936 #endif
29937
29938 int
29939 main ()
29940 {
29941 log10f(0);
29942 ;
29943 return 0;
29944 }
29945 _ACEOF
29946 if ac_fn_cxx_try_compile "$LINENO"; then :
29947 glibcxx_cv_func_log10f_use=yes
29948 else
29949 glibcxx_cv_func_log10f_use=no
29950 fi
29951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29952 ac_ext=c
29953 ac_cpp='$CPP $CPPFLAGS'
29954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29957
29958
29959 fi
29960
29961 fi
29962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
29963 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
29964
29965 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
29966 for ac_func in log10f
29967 do :
29968 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
29969 if test "x$ac_cv_func_log10f" = x""yes; then :
29970 cat >>confdefs.h <<_ACEOF
29971 #define HAVE_LOG10F 1
29972 _ACEOF
29973
29974 fi
29975 done
29976
29977 else
29978
29979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
29980 $as_echo_n "checking for _log10f declaration... " >&6; }
29981 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
29982 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
29983 $as_echo_n "(cached) " >&6
29984 else
29985
29986
29987 ac_ext=cpp
29988 ac_cpp='$CXXCPP $CPPFLAGS'
29989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29992
29993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29994 /* end confdefs.h. */
29995 #include <math.h>
29996 #ifdef HAVE_IEEEFP_H
29997 #include <ieeefp.h>
29998 #endif
29999
30000 int
30001 main ()
30002 {
30003 _log10f(0);
30004 ;
30005 return 0;
30006 }
30007 _ACEOF
30008 if ac_fn_cxx_try_compile "$LINENO"; then :
30009 glibcxx_cv_func__log10f_use=yes
30010 else
30011 glibcxx_cv_func__log10f_use=no
30012 fi
30013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30014 ac_ext=c
30015 ac_cpp='$CPP $CPPFLAGS'
30016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30019
30020
30021 fi
30022
30023 fi
30024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30025 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30026
30027 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30028 for ac_func in _log10f
30029 do :
30030 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30031 if test "x$ac_cv_func__log10f" = x""yes; then :
30032 cat >>confdefs.h <<_ACEOF
30033 #define HAVE__LOG10F 1
30034 _ACEOF
30035
30036 fi
30037 done
30038
30039 fi
30040 fi
30041
30042
30043
30044
30045
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30047 $as_echo_n "checking for modff declaration... " >&6; }
30048 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30049 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30050 $as_echo_n "(cached) " >&6
30051 else
30052
30053
30054 ac_ext=cpp
30055 ac_cpp='$CXXCPP $CPPFLAGS'
30056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30059
30060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30061 /* end confdefs.h. */
30062 #include <math.h>
30063 int
30064 main ()
30065 {
30066 modff(0, 0);
30067 ;
30068 return 0;
30069 }
30070 _ACEOF
30071 if ac_fn_cxx_try_compile "$LINENO"; then :
30072 glibcxx_cv_func_modff_use=yes
30073 else
30074 glibcxx_cv_func_modff_use=no
30075 fi
30076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30077 ac_ext=c
30078 ac_cpp='$CPP $CPPFLAGS'
30079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30082
30083
30084 fi
30085
30086 fi
30087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30088 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30089
30090 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30091 for ac_func in modff
30092 do :
30093 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30094 if test "x$ac_cv_func_modff" = x""yes; then :
30095 cat >>confdefs.h <<_ACEOF
30096 #define HAVE_MODFF 1
30097 _ACEOF
30098
30099 fi
30100 done
30101
30102 else
30103
30104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30105 $as_echo_n "checking for _modff declaration... " >&6; }
30106 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30107 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30108 $as_echo_n "(cached) " >&6
30109 else
30110
30111
30112 ac_ext=cpp
30113 ac_cpp='$CXXCPP $CPPFLAGS'
30114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30117
30118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30119 /* end confdefs.h. */
30120 #include <math.h>
30121 int
30122 main ()
30123 {
30124 _modff(0, 0);
30125 ;
30126 return 0;
30127 }
30128 _ACEOF
30129 if ac_fn_cxx_try_compile "$LINENO"; then :
30130 glibcxx_cv_func__modff_use=yes
30131 else
30132 glibcxx_cv_func__modff_use=no
30133 fi
30134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30135 ac_ext=c
30136 ac_cpp='$CPP $CPPFLAGS'
30137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30140
30141
30142 fi
30143
30144 fi
30145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30146 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30147
30148 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30149 for ac_func in _modff
30150 do :
30151 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30152 if test "x$ac_cv_func__modff" = x""yes; then :
30153 cat >>confdefs.h <<_ACEOF
30154 #define HAVE__MODFF 1
30155 _ACEOF
30156
30157 fi
30158 done
30159
30160 fi
30161 fi
30162
30163
30164
30165
30166
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30168 $as_echo_n "checking for modf declaration... " >&6; }
30169 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30170 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30171 $as_echo_n "(cached) " >&6
30172 else
30173
30174
30175 ac_ext=cpp
30176 ac_cpp='$CXXCPP $CPPFLAGS'
30177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30180
30181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30182 /* end confdefs.h. */
30183 #include <math.h>
30184 int
30185 main ()
30186 {
30187 modf(0, 0);
30188 ;
30189 return 0;
30190 }
30191 _ACEOF
30192 if ac_fn_cxx_try_compile "$LINENO"; then :
30193 glibcxx_cv_func_modf_use=yes
30194 else
30195 glibcxx_cv_func_modf_use=no
30196 fi
30197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30198 ac_ext=c
30199 ac_cpp='$CPP $CPPFLAGS'
30200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30203
30204
30205 fi
30206
30207 fi
30208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30209 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30210
30211 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30212 for ac_func in modf
30213 do :
30214 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30215 if test "x$ac_cv_func_modf" = x""yes; then :
30216 cat >>confdefs.h <<_ACEOF
30217 #define HAVE_MODF 1
30218 _ACEOF
30219
30220 fi
30221 done
30222
30223 else
30224
30225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30226 $as_echo_n "checking for _modf declaration... " >&6; }
30227 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30228 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30229 $as_echo_n "(cached) " >&6
30230 else
30231
30232
30233 ac_ext=cpp
30234 ac_cpp='$CXXCPP $CPPFLAGS'
30235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30238
30239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30240 /* end confdefs.h. */
30241 #include <math.h>
30242 int
30243 main ()
30244 {
30245 _modf(0, 0);
30246 ;
30247 return 0;
30248 }
30249 _ACEOF
30250 if ac_fn_cxx_try_compile "$LINENO"; then :
30251 glibcxx_cv_func__modf_use=yes
30252 else
30253 glibcxx_cv_func__modf_use=no
30254 fi
30255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30256 ac_ext=c
30257 ac_cpp='$CPP $CPPFLAGS'
30258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30261
30262
30263 fi
30264
30265 fi
30266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30267 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30268
30269 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30270 for ac_func in _modf
30271 do :
30272 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30273 if test "x$ac_cv_func__modf" = x""yes; then :
30274 cat >>confdefs.h <<_ACEOF
30275 #define HAVE__MODF 1
30276 _ACEOF
30277
30278 fi
30279 done
30280
30281 fi
30282 fi
30283
30284
30285
30286
30287
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30289 $as_echo_n "checking for powf declaration... " >&6; }
30290 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30291 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30292 $as_echo_n "(cached) " >&6
30293 else
30294
30295
30296 ac_ext=cpp
30297 ac_cpp='$CXXCPP $CPPFLAGS'
30298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30301
30302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30303 /* end confdefs.h. */
30304 #include <math.h>
30305 int
30306 main ()
30307 {
30308 powf(0, 0);
30309 ;
30310 return 0;
30311 }
30312 _ACEOF
30313 if ac_fn_cxx_try_compile "$LINENO"; then :
30314 glibcxx_cv_func_powf_use=yes
30315 else
30316 glibcxx_cv_func_powf_use=no
30317 fi
30318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30319 ac_ext=c
30320 ac_cpp='$CPP $CPPFLAGS'
30321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30324
30325
30326 fi
30327
30328 fi
30329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30330 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30331
30332 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30333 for ac_func in powf
30334 do :
30335 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30336 if test "x$ac_cv_func_powf" = x""yes; then :
30337 cat >>confdefs.h <<_ACEOF
30338 #define HAVE_POWF 1
30339 _ACEOF
30340
30341 fi
30342 done
30343
30344 else
30345
30346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30347 $as_echo_n "checking for _powf declaration... " >&6; }
30348 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30349 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30350 $as_echo_n "(cached) " >&6
30351 else
30352
30353
30354 ac_ext=cpp
30355 ac_cpp='$CXXCPP $CPPFLAGS'
30356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359
30360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30361 /* end confdefs.h. */
30362 #include <math.h>
30363 int
30364 main ()
30365 {
30366 _powf(0, 0);
30367 ;
30368 return 0;
30369 }
30370 _ACEOF
30371 if ac_fn_cxx_try_compile "$LINENO"; then :
30372 glibcxx_cv_func__powf_use=yes
30373 else
30374 glibcxx_cv_func__powf_use=no
30375 fi
30376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30377 ac_ext=c
30378 ac_cpp='$CPP $CPPFLAGS'
30379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30382
30383
30384 fi
30385
30386 fi
30387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30388 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30389
30390 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30391 for ac_func in _powf
30392 do :
30393 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30394 if test "x$ac_cv_func__powf" = x""yes; then :
30395 cat >>confdefs.h <<_ACEOF
30396 #define HAVE__POWF 1
30397 _ACEOF
30398
30399 fi
30400 done
30401
30402 fi
30403 fi
30404
30405
30406
30407
30408
30409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30410 $as_echo_n "checking for sqrtf declaration... " >&6; }
30411 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30412 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30413 $as_echo_n "(cached) " >&6
30414 else
30415
30416
30417 ac_ext=cpp
30418 ac_cpp='$CXXCPP $CPPFLAGS'
30419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30422
30423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30424 /* end confdefs.h. */
30425 #include <math.h>
30426 #ifdef HAVE_IEEEFP_H
30427 #include <ieeefp.h>
30428 #endif
30429
30430 int
30431 main ()
30432 {
30433 sqrtf(0);
30434 ;
30435 return 0;
30436 }
30437 _ACEOF
30438 if ac_fn_cxx_try_compile "$LINENO"; then :
30439 glibcxx_cv_func_sqrtf_use=yes
30440 else
30441 glibcxx_cv_func_sqrtf_use=no
30442 fi
30443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30444 ac_ext=c
30445 ac_cpp='$CPP $CPPFLAGS'
30446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30449
30450
30451 fi
30452
30453 fi
30454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
30455 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
30456
30457 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
30458 for ac_func in sqrtf
30459 do :
30460 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
30461 if test "x$ac_cv_func_sqrtf" = x""yes; then :
30462 cat >>confdefs.h <<_ACEOF
30463 #define HAVE_SQRTF 1
30464 _ACEOF
30465
30466 fi
30467 done
30468
30469 else
30470
30471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
30472 $as_echo_n "checking for _sqrtf declaration... " >&6; }
30473 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
30474 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
30475 $as_echo_n "(cached) " >&6
30476 else
30477
30478
30479 ac_ext=cpp
30480 ac_cpp='$CXXCPP $CPPFLAGS'
30481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30484
30485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30486 /* end confdefs.h. */
30487 #include <math.h>
30488 #ifdef HAVE_IEEEFP_H
30489 #include <ieeefp.h>
30490 #endif
30491
30492 int
30493 main ()
30494 {
30495 _sqrtf(0);
30496 ;
30497 return 0;
30498 }
30499 _ACEOF
30500 if ac_fn_cxx_try_compile "$LINENO"; then :
30501 glibcxx_cv_func__sqrtf_use=yes
30502 else
30503 glibcxx_cv_func__sqrtf_use=no
30504 fi
30505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30506 ac_ext=c
30507 ac_cpp='$CPP $CPPFLAGS'
30508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30511
30512
30513 fi
30514
30515 fi
30516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
30517 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
30518
30519 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
30520 for ac_func in _sqrtf
30521 do :
30522 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
30523 if test "x$ac_cv_func__sqrtf" = x""yes; then :
30524 cat >>confdefs.h <<_ACEOF
30525 #define HAVE__SQRTF 1
30526 _ACEOF
30527
30528 fi
30529 done
30530
30531 fi
30532 fi
30533
30534
30535
30536
30537
30538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
30539 $as_echo_n "checking for sincosf declaration... " >&6; }
30540 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
30541 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
30542 $as_echo_n "(cached) " >&6
30543 else
30544
30545
30546 ac_ext=cpp
30547 ac_cpp='$CXXCPP $CPPFLAGS'
30548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30551
30552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30553 /* end confdefs.h. */
30554 #include <math.h>
30555 int
30556 main ()
30557 {
30558 sincosf(0, 0, 0);
30559 ;
30560 return 0;
30561 }
30562 _ACEOF
30563 if ac_fn_cxx_try_compile "$LINENO"; then :
30564 glibcxx_cv_func_sincosf_use=yes
30565 else
30566 glibcxx_cv_func_sincosf_use=no
30567 fi
30568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30569 ac_ext=c
30570 ac_cpp='$CPP $CPPFLAGS'
30571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30574
30575
30576 fi
30577
30578 fi
30579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
30580 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
30581
30582 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
30583 for ac_func in sincosf
30584 do :
30585 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
30586 if test "x$ac_cv_func_sincosf" = x""yes; then :
30587 cat >>confdefs.h <<_ACEOF
30588 #define HAVE_SINCOSF 1
30589 _ACEOF
30590
30591 fi
30592 done
30593
30594 else
30595
30596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
30597 $as_echo_n "checking for _sincosf declaration... " >&6; }
30598 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
30599 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
30600 $as_echo_n "(cached) " >&6
30601 else
30602
30603
30604 ac_ext=cpp
30605 ac_cpp='$CXXCPP $CPPFLAGS'
30606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30609
30610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30611 /* end confdefs.h. */
30612 #include <math.h>
30613 int
30614 main ()
30615 {
30616 _sincosf(0, 0, 0);
30617 ;
30618 return 0;
30619 }
30620 _ACEOF
30621 if ac_fn_cxx_try_compile "$LINENO"; then :
30622 glibcxx_cv_func__sincosf_use=yes
30623 else
30624 glibcxx_cv_func__sincosf_use=no
30625 fi
30626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30627 ac_ext=c
30628 ac_cpp='$CPP $CPPFLAGS'
30629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30632
30633
30634 fi
30635
30636 fi
30637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
30638 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
30639
30640 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
30641 for ac_func in _sincosf
30642 do :
30643 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
30644 if test "x$ac_cv_func__sincosf" = x""yes; then :
30645 cat >>confdefs.h <<_ACEOF
30646 #define HAVE__SINCOSF 1
30647 _ACEOF
30648
30649 fi
30650 done
30651
30652 fi
30653 fi
30654
30655
30656
30657
30658
30659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
30660 $as_echo_n "checking for finitef declaration... " >&6; }
30661 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
30662 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
30663 $as_echo_n "(cached) " >&6
30664 else
30665
30666
30667 ac_ext=cpp
30668 ac_cpp='$CXXCPP $CPPFLAGS'
30669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30672
30673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30674 /* end confdefs.h. */
30675 #include <math.h>
30676 #ifdef HAVE_IEEEFP_H
30677 #include <ieeefp.h>
30678 #endif
30679
30680 int
30681 main ()
30682 {
30683 finitef(0);
30684 ;
30685 return 0;
30686 }
30687 _ACEOF
30688 if ac_fn_cxx_try_compile "$LINENO"; then :
30689 glibcxx_cv_func_finitef_use=yes
30690 else
30691 glibcxx_cv_func_finitef_use=no
30692 fi
30693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30694 ac_ext=c
30695 ac_cpp='$CPP $CPPFLAGS'
30696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30699
30700
30701 fi
30702
30703 fi
30704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
30705 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
30706
30707 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
30708 for ac_func in finitef
30709 do :
30710 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
30711 if test "x$ac_cv_func_finitef" = x""yes; then :
30712 cat >>confdefs.h <<_ACEOF
30713 #define HAVE_FINITEF 1
30714 _ACEOF
30715
30716 fi
30717 done
30718
30719 else
30720
30721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
30722 $as_echo_n "checking for _finitef declaration... " >&6; }
30723 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
30724 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
30725 $as_echo_n "(cached) " >&6
30726 else
30727
30728
30729 ac_ext=cpp
30730 ac_cpp='$CXXCPP $CPPFLAGS'
30731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30734
30735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30736 /* end confdefs.h. */
30737 #include <math.h>
30738 #ifdef HAVE_IEEEFP_H
30739 #include <ieeefp.h>
30740 #endif
30741
30742 int
30743 main ()
30744 {
30745 _finitef(0);
30746 ;
30747 return 0;
30748 }
30749 _ACEOF
30750 if ac_fn_cxx_try_compile "$LINENO"; then :
30751 glibcxx_cv_func__finitef_use=yes
30752 else
30753 glibcxx_cv_func__finitef_use=no
30754 fi
30755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30756 ac_ext=c
30757 ac_cpp='$CPP $CPPFLAGS'
30758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30761
30762
30763 fi
30764
30765 fi
30766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
30767 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
30768
30769 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
30770 for ac_func in _finitef
30771 do :
30772 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
30773 if test "x$ac_cv_func__finitef" = x""yes; then :
30774 cat >>confdefs.h <<_ACEOF
30775 #define HAVE__FINITEF 1
30776 _ACEOF
30777
30778 fi
30779 done
30780
30781 fi
30782 fi
30783
30784
30785
30786
30787
30788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
30789 $as_echo_n "checking for long double trig functions... " >&6; }
30790 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
30791 $as_echo_n "(cached) " >&6
30792 else
30793
30794
30795 ac_ext=cpp
30796 ac_cpp='$CXXCPP $CPPFLAGS'
30797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30800
30801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30802 /* end confdefs.h. */
30803 #include <math.h>
30804 int
30805 main ()
30806 {
30807 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
30808 ;
30809 return 0;
30810 }
30811 _ACEOF
30812 if ac_fn_cxx_try_compile "$LINENO"; then :
30813 glibcxx_cv_func_long_double_trig_use=yes
30814 else
30815 glibcxx_cv_func_long_double_trig_use=no
30816 fi
30817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30818 ac_ext=c
30819 ac_cpp='$CPP $CPPFLAGS'
30820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30823
30824 fi
30825
30826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
30827 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
30828 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
30829 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
30830 do :
30831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30833 eval as_val=\$$as_ac_var
30834 if test "x$as_val" = x""yes; then :
30835 cat >>confdefs.h <<_ACEOF
30836 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30837 _ACEOF
30838
30839 fi
30840 done
30841
30842 else
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
30844 $as_echo_n "checking for _long double trig functions... " >&6; }
30845 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
30846 $as_echo_n "(cached) " >&6
30847 else
30848
30849
30850 ac_ext=cpp
30851 ac_cpp='$CXXCPP $CPPFLAGS'
30852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30855
30856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30857 /* end confdefs.h. */
30858 #include <math.h>
30859 int
30860 main ()
30861 {
30862 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
30863 ;
30864 return 0;
30865 }
30866 _ACEOF
30867 if ac_fn_cxx_try_compile "$LINENO"; then :
30868 glibcxx_cv_func__long_double_trig_use=yes
30869 else
30870 glibcxx_cv_func__long_double_trig_use=no
30871 fi
30872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30873 ac_ext=c
30874 ac_cpp='$CPP $CPPFLAGS'
30875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30878
30879 fi
30880
30881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
30882 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
30883 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
30884 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
30885 do :
30886 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30887 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30888 eval as_val=\$$as_ac_var
30889 if test "x$as_val" = x""yes; then :
30890 cat >>confdefs.h <<_ACEOF
30891 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30892 _ACEOF
30893
30894 fi
30895 done
30896
30897 fi
30898 fi
30899
30900
30901
30902
30903
30904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
30905 $as_echo_n "checking for long double round functions... " >&6; }
30906 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
30907 $as_echo_n "(cached) " >&6
30908 else
30909
30910
30911 ac_ext=cpp
30912 ac_cpp='$CXXCPP $CPPFLAGS'
30913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30916
30917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30918 /* end confdefs.h. */
30919 #include <math.h>
30920 int
30921 main ()
30922 {
30923 ceill (0); floorl (0);
30924 ;
30925 return 0;
30926 }
30927 _ACEOF
30928 if ac_fn_cxx_try_compile "$LINENO"; then :
30929 glibcxx_cv_func_long_double_round_use=yes
30930 else
30931 glibcxx_cv_func_long_double_round_use=no
30932 fi
30933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30934 ac_ext=c
30935 ac_cpp='$CPP $CPPFLAGS'
30936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30939
30940 fi
30941
30942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
30943 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
30944 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
30945 for ac_func in ceill floorl
30946 do :
30947 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30948 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30949 eval as_val=\$$as_ac_var
30950 if test "x$as_val" = x""yes; then :
30951 cat >>confdefs.h <<_ACEOF
30952 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30953 _ACEOF
30954
30955 fi
30956 done
30957
30958 else
30959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
30960 $as_echo_n "checking for _long double round functions... " >&6; }
30961 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
30962 $as_echo_n "(cached) " >&6
30963 else
30964
30965
30966 ac_ext=cpp
30967 ac_cpp='$CXXCPP $CPPFLAGS'
30968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30971
30972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30973 /* end confdefs.h. */
30974 #include <math.h>
30975 int
30976 main ()
30977 {
30978 _ceill (0); _floorl (0);
30979 ;
30980 return 0;
30981 }
30982 _ACEOF
30983 if ac_fn_cxx_try_compile "$LINENO"; then :
30984 glibcxx_cv_func__long_double_round_use=yes
30985 else
30986 glibcxx_cv_func__long_double_round_use=no
30987 fi
30988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30989 ac_ext=c
30990 ac_cpp='$CPP $CPPFLAGS'
30991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30994
30995 fi
30996
30997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
30998 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
30999 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31000 for ac_func in _ceill _floorl
31001 do :
31002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31004 eval as_val=\$$as_ac_var
31005 if test "x$as_val" = x""yes; then :
31006 cat >>confdefs.h <<_ACEOF
31007 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31008 _ACEOF
31009
31010 fi
31011 done
31012
31013 fi
31014 fi
31015
31016
31017
31018
31019
31020
31021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31022 $as_echo_n "checking for isnanl declaration... " >&6; }
31023 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31024 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31025 $as_echo_n "(cached) " >&6
31026 else
31027
31028
31029 ac_ext=cpp
31030 ac_cpp='$CXXCPP $CPPFLAGS'
31031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31034
31035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31036 /* end confdefs.h. */
31037 #include <math.h>
31038 #ifdef HAVE_IEEEFP_H
31039 #include <ieeefp.h>
31040 #endif
31041
31042 int
31043 main ()
31044 {
31045 isnanl(0);
31046 ;
31047 return 0;
31048 }
31049 _ACEOF
31050 if ac_fn_cxx_try_compile "$LINENO"; then :
31051 glibcxx_cv_func_isnanl_use=yes
31052 else
31053 glibcxx_cv_func_isnanl_use=no
31054 fi
31055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31056 ac_ext=c
31057 ac_cpp='$CPP $CPPFLAGS'
31058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31061
31062
31063 fi
31064
31065 fi
31066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31067 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31068
31069 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31070 for ac_func in isnanl
31071 do :
31072 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31073 if test "x$ac_cv_func_isnanl" = x""yes; then :
31074 cat >>confdefs.h <<_ACEOF
31075 #define HAVE_ISNANL 1
31076 _ACEOF
31077
31078 fi
31079 done
31080
31081 else
31082
31083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31084 $as_echo_n "checking for _isnanl declaration... " >&6; }
31085 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31086 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31087 $as_echo_n "(cached) " >&6
31088 else
31089
31090
31091 ac_ext=cpp
31092 ac_cpp='$CXXCPP $CPPFLAGS'
31093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31096
31097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31098 /* end confdefs.h. */
31099 #include <math.h>
31100 #ifdef HAVE_IEEEFP_H
31101 #include <ieeefp.h>
31102 #endif
31103
31104 int
31105 main ()
31106 {
31107 _isnanl(0);
31108 ;
31109 return 0;
31110 }
31111 _ACEOF
31112 if ac_fn_cxx_try_compile "$LINENO"; then :
31113 glibcxx_cv_func__isnanl_use=yes
31114 else
31115 glibcxx_cv_func__isnanl_use=no
31116 fi
31117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31118 ac_ext=c
31119 ac_cpp='$CPP $CPPFLAGS'
31120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31123
31124
31125 fi
31126
31127 fi
31128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31129 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31130
31131 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31132 for ac_func in _isnanl
31133 do :
31134 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31135 if test "x$ac_cv_func__isnanl" = x""yes; then :
31136 cat >>confdefs.h <<_ACEOF
31137 #define HAVE__ISNANL 1
31138 _ACEOF
31139
31140 fi
31141 done
31142
31143 fi
31144 fi
31145
31146
31147
31148
31149
31150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31151 $as_echo_n "checking for isinfl declaration... " >&6; }
31152 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31153 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31154 $as_echo_n "(cached) " >&6
31155 else
31156
31157
31158 ac_ext=cpp
31159 ac_cpp='$CXXCPP $CPPFLAGS'
31160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31163
31164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31165 /* end confdefs.h. */
31166 #include <math.h>
31167 #ifdef HAVE_IEEEFP_H
31168 #include <ieeefp.h>
31169 #endif
31170
31171 int
31172 main ()
31173 {
31174 isinfl(0);
31175 ;
31176 return 0;
31177 }
31178 _ACEOF
31179 if ac_fn_cxx_try_compile "$LINENO"; then :
31180 glibcxx_cv_func_isinfl_use=yes
31181 else
31182 glibcxx_cv_func_isinfl_use=no
31183 fi
31184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31185 ac_ext=c
31186 ac_cpp='$CPP $CPPFLAGS'
31187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31190
31191
31192 fi
31193
31194 fi
31195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31196 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31197
31198 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31199 for ac_func in isinfl
31200 do :
31201 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31202 if test "x$ac_cv_func_isinfl" = x""yes; then :
31203 cat >>confdefs.h <<_ACEOF
31204 #define HAVE_ISINFL 1
31205 _ACEOF
31206
31207 fi
31208 done
31209
31210 else
31211
31212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31213 $as_echo_n "checking for _isinfl declaration... " >&6; }
31214 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31215 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31216 $as_echo_n "(cached) " >&6
31217 else
31218
31219
31220 ac_ext=cpp
31221 ac_cpp='$CXXCPP $CPPFLAGS'
31222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31225
31226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31227 /* end confdefs.h. */
31228 #include <math.h>
31229 #ifdef HAVE_IEEEFP_H
31230 #include <ieeefp.h>
31231 #endif
31232
31233 int
31234 main ()
31235 {
31236 _isinfl(0);
31237 ;
31238 return 0;
31239 }
31240 _ACEOF
31241 if ac_fn_cxx_try_compile "$LINENO"; then :
31242 glibcxx_cv_func__isinfl_use=yes
31243 else
31244 glibcxx_cv_func__isinfl_use=no
31245 fi
31246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31247 ac_ext=c
31248 ac_cpp='$CPP $CPPFLAGS'
31249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31252
31253
31254 fi
31255
31256 fi
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31258 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31259
31260 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31261 for ac_func in _isinfl
31262 do :
31263 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31264 if test "x$ac_cv_func__isinfl" = x""yes; then :
31265 cat >>confdefs.h <<_ACEOF
31266 #define HAVE__ISINFL 1
31267 _ACEOF
31268
31269 fi
31270 done
31271
31272 fi
31273 fi
31274
31275
31276
31277
31278
31279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31280 $as_echo_n "checking for atan2l declaration... " >&6; }
31281 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31282 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31283 $as_echo_n "(cached) " >&6
31284 else
31285
31286
31287 ac_ext=cpp
31288 ac_cpp='$CXXCPP $CPPFLAGS'
31289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31292
31293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31294 /* end confdefs.h. */
31295 #include <math.h>
31296 int
31297 main ()
31298 {
31299 atan2l(0, 0);
31300 ;
31301 return 0;
31302 }
31303 _ACEOF
31304 if ac_fn_cxx_try_compile "$LINENO"; then :
31305 glibcxx_cv_func_atan2l_use=yes
31306 else
31307 glibcxx_cv_func_atan2l_use=no
31308 fi
31309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31310 ac_ext=c
31311 ac_cpp='$CPP $CPPFLAGS'
31312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31315
31316
31317 fi
31318
31319 fi
31320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31321 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31322
31323 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31324 for ac_func in atan2l
31325 do :
31326 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31327 if test "x$ac_cv_func_atan2l" = x""yes; then :
31328 cat >>confdefs.h <<_ACEOF
31329 #define HAVE_ATAN2L 1
31330 _ACEOF
31331
31332 fi
31333 done
31334
31335 else
31336
31337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31338 $as_echo_n "checking for _atan2l declaration... " >&6; }
31339 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31340 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31341 $as_echo_n "(cached) " >&6
31342 else
31343
31344
31345 ac_ext=cpp
31346 ac_cpp='$CXXCPP $CPPFLAGS'
31347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31350
31351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31352 /* end confdefs.h. */
31353 #include <math.h>
31354 int
31355 main ()
31356 {
31357 _atan2l(0, 0);
31358 ;
31359 return 0;
31360 }
31361 _ACEOF
31362 if ac_fn_cxx_try_compile "$LINENO"; then :
31363 glibcxx_cv_func__atan2l_use=yes
31364 else
31365 glibcxx_cv_func__atan2l_use=no
31366 fi
31367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31368 ac_ext=c
31369 ac_cpp='$CPP $CPPFLAGS'
31370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31373
31374
31375 fi
31376
31377 fi
31378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31379 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31380
31381 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31382 for ac_func in _atan2l
31383 do :
31384 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31385 if test "x$ac_cv_func__atan2l" = x""yes; then :
31386 cat >>confdefs.h <<_ACEOF
31387 #define HAVE__ATAN2L 1
31388 _ACEOF
31389
31390 fi
31391 done
31392
31393 fi
31394 fi
31395
31396
31397
31398
31399
31400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31401 $as_echo_n "checking for expl declaration... " >&6; }
31402 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31403 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31404 $as_echo_n "(cached) " >&6
31405 else
31406
31407
31408 ac_ext=cpp
31409 ac_cpp='$CXXCPP $CPPFLAGS'
31410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31413
31414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31415 /* end confdefs.h. */
31416 #include <math.h>
31417 #ifdef HAVE_IEEEFP_H
31418 #include <ieeefp.h>
31419 #endif
31420
31421 int
31422 main ()
31423 {
31424 expl(0);
31425 ;
31426 return 0;
31427 }
31428 _ACEOF
31429 if ac_fn_cxx_try_compile "$LINENO"; then :
31430 glibcxx_cv_func_expl_use=yes
31431 else
31432 glibcxx_cv_func_expl_use=no
31433 fi
31434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31435 ac_ext=c
31436 ac_cpp='$CPP $CPPFLAGS'
31437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31440
31441
31442 fi
31443
31444 fi
31445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
31446 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
31447
31448 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31449 for ac_func in expl
31450 do :
31451 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
31452 if test "x$ac_cv_func_expl" = x""yes; then :
31453 cat >>confdefs.h <<_ACEOF
31454 #define HAVE_EXPL 1
31455 _ACEOF
31456
31457 fi
31458 done
31459
31460 else
31461
31462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
31463 $as_echo_n "checking for _expl declaration... " >&6; }
31464 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31465 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
31466 $as_echo_n "(cached) " >&6
31467 else
31468
31469
31470 ac_ext=cpp
31471 ac_cpp='$CXXCPP $CPPFLAGS'
31472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31475
31476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31477 /* end confdefs.h. */
31478 #include <math.h>
31479 #ifdef HAVE_IEEEFP_H
31480 #include <ieeefp.h>
31481 #endif
31482
31483 int
31484 main ()
31485 {
31486 _expl(0);
31487 ;
31488 return 0;
31489 }
31490 _ACEOF
31491 if ac_fn_cxx_try_compile "$LINENO"; then :
31492 glibcxx_cv_func__expl_use=yes
31493 else
31494 glibcxx_cv_func__expl_use=no
31495 fi
31496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31497 ac_ext=c
31498 ac_cpp='$CPP $CPPFLAGS'
31499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31502
31503
31504 fi
31505
31506 fi
31507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
31508 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
31509
31510 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31511 for ac_func in _expl
31512 do :
31513 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
31514 if test "x$ac_cv_func__expl" = x""yes; then :
31515 cat >>confdefs.h <<_ACEOF
31516 #define HAVE__EXPL 1
31517 _ACEOF
31518
31519 fi
31520 done
31521
31522 fi
31523 fi
31524
31525
31526
31527
31528
31529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
31530 $as_echo_n "checking for fabsl declaration... " >&6; }
31531 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31532 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
31533 $as_echo_n "(cached) " >&6
31534 else
31535
31536
31537 ac_ext=cpp
31538 ac_cpp='$CXXCPP $CPPFLAGS'
31539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542
31543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31544 /* end confdefs.h. */
31545 #include <math.h>
31546 #ifdef HAVE_IEEEFP_H
31547 #include <ieeefp.h>
31548 #endif
31549
31550 int
31551 main ()
31552 {
31553 fabsl(0);
31554 ;
31555 return 0;
31556 }
31557 _ACEOF
31558 if ac_fn_cxx_try_compile "$LINENO"; then :
31559 glibcxx_cv_func_fabsl_use=yes
31560 else
31561 glibcxx_cv_func_fabsl_use=no
31562 fi
31563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31564 ac_ext=c
31565 ac_cpp='$CPP $CPPFLAGS'
31566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31569
31570
31571 fi
31572
31573 fi
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
31575 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
31576
31577 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31578 for ac_func in fabsl
31579 do :
31580 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
31581 if test "x$ac_cv_func_fabsl" = x""yes; then :
31582 cat >>confdefs.h <<_ACEOF
31583 #define HAVE_FABSL 1
31584 _ACEOF
31585
31586 fi
31587 done
31588
31589 else
31590
31591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
31592 $as_echo_n "checking for _fabsl declaration... " >&6; }
31593 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31594 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
31595 $as_echo_n "(cached) " >&6
31596 else
31597
31598
31599 ac_ext=cpp
31600 ac_cpp='$CXXCPP $CPPFLAGS'
31601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31604
31605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31606 /* end confdefs.h. */
31607 #include <math.h>
31608 #ifdef HAVE_IEEEFP_H
31609 #include <ieeefp.h>
31610 #endif
31611
31612 int
31613 main ()
31614 {
31615 _fabsl(0);
31616 ;
31617 return 0;
31618 }
31619 _ACEOF
31620 if ac_fn_cxx_try_compile "$LINENO"; then :
31621 glibcxx_cv_func__fabsl_use=yes
31622 else
31623 glibcxx_cv_func__fabsl_use=no
31624 fi
31625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31626 ac_ext=c
31627 ac_cpp='$CPP $CPPFLAGS'
31628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31631
31632
31633 fi
31634
31635 fi
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
31637 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
31638
31639 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31640 for ac_func in _fabsl
31641 do :
31642 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
31643 if test "x$ac_cv_func__fabsl" = x""yes; then :
31644 cat >>confdefs.h <<_ACEOF
31645 #define HAVE__FABSL 1
31646 _ACEOF
31647
31648 fi
31649 done
31650
31651 fi
31652 fi
31653
31654
31655
31656
31657
31658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
31659 $as_echo_n "checking for fmodl declaration... " >&6; }
31660 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31661 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
31662 $as_echo_n "(cached) " >&6
31663 else
31664
31665
31666 ac_ext=cpp
31667 ac_cpp='$CXXCPP $CPPFLAGS'
31668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31671
31672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31673 /* end confdefs.h. */
31674 #include <math.h>
31675 int
31676 main ()
31677 {
31678 fmodl(0, 0);
31679 ;
31680 return 0;
31681 }
31682 _ACEOF
31683 if ac_fn_cxx_try_compile "$LINENO"; then :
31684 glibcxx_cv_func_fmodl_use=yes
31685 else
31686 glibcxx_cv_func_fmodl_use=no
31687 fi
31688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31689 ac_ext=c
31690 ac_cpp='$CPP $CPPFLAGS'
31691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31694
31695
31696 fi
31697
31698 fi
31699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
31700 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
31701
31702 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
31703 for ac_func in fmodl
31704 do :
31705 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
31706 if test "x$ac_cv_func_fmodl" = x""yes; then :
31707 cat >>confdefs.h <<_ACEOF
31708 #define HAVE_FMODL 1
31709 _ACEOF
31710
31711 fi
31712 done
31713
31714 else
31715
31716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
31717 $as_echo_n "checking for _fmodl declaration... " >&6; }
31718 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
31719 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
31720 $as_echo_n "(cached) " >&6
31721 else
31722
31723
31724 ac_ext=cpp
31725 ac_cpp='$CXXCPP $CPPFLAGS'
31726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31729
31730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31731 /* end confdefs.h. */
31732 #include <math.h>
31733 int
31734 main ()
31735 {
31736 _fmodl(0, 0);
31737 ;
31738 return 0;
31739 }
31740 _ACEOF
31741 if ac_fn_cxx_try_compile "$LINENO"; then :
31742 glibcxx_cv_func__fmodl_use=yes
31743 else
31744 glibcxx_cv_func__fmodl_use=no
31745 fi
31746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31747 ac_ext=c
31748 ac_cpp='$CPP $CPPFLAGS'
31749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31752
31753
31754 fi
31755
31756 fi
31757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
31758 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
31759
31760 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
31761 for ac_func in _fmodl
31762 do :
31763 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
31764 if test "x$ac_cv_func__fmodl" = x""yes; then :
31765 cat >>confdefs.h <<_ACEOF
31766 #define HAVE__FMODL 1
31767 _ACEOF
31768
31769 fi
31770 done
31771
31772 fi
31773 fi
31774
31775
31776
31777
31778
31779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
31780 $as_echo_n "checking for frexpl declaration... " >&6; }
31781 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
31782 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
31783 $as_echo_n "(cached) " >&6
31784 else
31785
31786
31787 ac_ext=cpp
31788 ac_cpp='$CXXCPP $CPPFLAGS'
31789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31792
31793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31794 /* end confdefs.h. */
31795 #include <math.h>
31796 int
31797 main ()
31798 {
31799 frexpl(0, 0);
31800 ;
31801 return 0;
31802 }
31803 _ACEOF
31804 if ac_fn_cxx_try_compile "$LINENO"; then :
31805 glibcxx_cv_func_frexpl_use=yes
31806 else
31807 glibcxx_cv_func_frexpl_use=no
31808 fi
31809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31810 ac_ext=c
31811 ac_cpp='$CPP $CPPFLAGS'
31812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31815
31816
31817 fi
31818
31819 fi
31820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
31821 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
31822
31823 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
31824 for ac_func in frexpl
31825 do :
31826 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
31827 if test "x$ac_cv_func_frexpl" = x""yes; then :
31828 cat >>confdefs.h <<_ACEOF
31829 #define HAVE_FREXPL 1
31830 _ACEOF
31831
31832 fi
31833 done
31834
31835 else
31836
31837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
31838 $as_echo_n "checking for _frexpl declaration... " >&6; }
31839 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
31840 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
31841 $as_echo_n "(cached) " >&6
31842 else
31843
31844
31845 ac_ext=cpp
31846 ac_cpp='$CXXCPP $CPPFLAGS'
31847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31850
31851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31852 /* end confdefs.h. */
31853 #include <math.h>
31854 int
31855 main ()
31856 {
31857 _frexpl(0, 0);
31858 ;
31859 return 0;
31860 }
31861 _ACEOF
31862 if ac_fn_cxx_try_compile "$LINENO"; then :
31863 glibcxx_cv_func__frexpl_use=yes
31864 else
31865 glibcxx_cv_func__frexpl_use=no
31866 fi
31867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31868 ac_ext=c
31869 ac_cpp='$CPP $CPPFLAGS'
31870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31873
31874
31875 fi
31876
31877 fi
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
31879 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
31880
31881 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
31882 for ac_func in _frexpl
31883 do :
31884 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
31885 if test "x$ac_cv_func__frexpl" = x""yes; then :
31886 cat >>confdefs.h <<_ACEOF
31887 #define HAVE__FREXPL 1
31888 _ACEOF
31889
31890 fi
31891 done
31892
31893 fi
31894 fi
31895
31896
31897
31898
31899
31900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
31901 $as_echo_n "checking for hypotl declaration... " >&6; }
31902 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
31903 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
31904 $as_echo_n "(cached) " >&6
31905 else
31906
31907
31908 ac_ext=cpp
31909 ac_cpp='$CXXCPP $CPPFLAGS'
31910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31913
31914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31915 /* end confdefs.h. */
31916 #include <math.h>
31917 int
31918 main ()
31919 {
31920 hypotl(0, 0);
31921 ;
31922 return 0;
31923 }
31924 _ACEOF
31925 if ac_fn_cxx_try_compile "$LINENO"; then :
31926 glibcxx_cv_func_hypotl_use=yes
31927 else
31928 glibcxx_cv_func_hypotl_use=no
31929 fi
31930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31931 ac_ext=c
31932 ac_cpp='$CPP $CPPFLAGS'
31933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31936
31937
31938 fi
31939
31940 fi
31941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
31942 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
31943
31944 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
31945 for ac_func in hypotl
31946 do :
31947 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
31948 if test "x$ac_cv_func_hypotl" = x""yes; then :
31949 cat >>confdefs.h <<_ACEOF
31950 #define HAVE_HYPOTL 1
31951 _ACEOF
31952
31953 fi
31954 done
31955
31956 else
31957
31958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
31959 $as_echo_n "checking for _hypotl declaration... " >&6; }
31960 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
31961 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
31962 $as_echo_n "(cached) " >&6
31963 else
31964
31965
31966 ac_ext=cpp
31967 ac_cpp='$CXXCPP $CPPFLAGS'
31968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31971
31972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31973 /* end confdefs.h. */
31974 #include <math.h>
31975 int
31976 main ()
31977 {
31978 _hypotl(0, 0);
31979 ;
31980 return 0;
31981 }
31982 _ACEOF
31983 if ac_fn_cxx_try_compile "$LINENO"; then :
31984 glibcxx_cv_func__hypotl_use=yes
31985 else
31986 glibcxx_cv_func__hypotl_use=no
31987 fi
31988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31989 ac_ext=c
31990 ac_cpp='$CPP $CPPFLAGS'
31991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31994
31995
31996 fi
31997
31998 fi
31999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32000 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32001
32002 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32003 for ac_func in _hypotl
32004 do :
32005 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32006 if test "x$ac_cv_func__hypotl" = x""yes; then :
32007 cat >>confdefs.h <<_ACEOF
32008 #define HAVE__HYPOTL 1
32009 _ACEOF
32010
32011 fi
32012 done
32013
32014 fi
32015 fi
32016
32017
32018
32019
32020
32021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32022 $as_echo_n "checking for ldexpl declaration... " >&6; }
32023 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32024 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32025 $as_echo_n "(cached) " >&6
32026 else
32027
32028
32029 ac_ext=cpp
32030 ac_cpp='$CXXCPP $CPPFLAGS'
32031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32034
32035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32036 /* end confdefs.h. */
32037 #include <math.h>
32038 int
32039 main ()
32040 {
32041 ldexpl(0, 0);
32042 ;
32043 return 0;
32044 }
32045 _ACEOF
32046 if ac_fn_cxx_try_compile "$LINENO"; then :
32047 glibcxx_cv_func_ldexpl_use=yes
32048 else
32049 glibcxx_cv_func_ldexpl_use=no
32050 fi
32051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32052 ac_ext=c
32053 ac_cpp='$CPP $CPPFLAGS'
32054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32057
32058
32059 fi
32060
32061 fi
32062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32063 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32064
32065 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32066 for ac_func in ldexpl
32067 do :
32068 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32069 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32070 cat >>confdefs.h <<_ACEOF
32071 #define HAVE_LDEXPL 1
32072 _ACEOF
32073
32074 fi
32075 done
32076
32077 else
32078
32079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32080 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32081 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32082 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32083 $as_echo_n "(cached) " >&6
32084 else
32085
32086
32087 ac_ext=cpp
32088 ac_cpp='$CXXCPP $CPPFLAGS'
32089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32092
32093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32094 /* end confdefs.h. */
32095 #include <math.h>
32096 int
32097 main ()
32098 {
32099 _ldexpl(0, 0);
32100 ;
32101 return 0;
32102 }
32103 _ACEOF
32104 if ac_fn_cxx_try_compile "$LINENO"; then :
32105 glibcxx_cv_func__ldexpl_use=yes
32106 else
32107 glibcxx_cv_func__ldexpl_use=no
32108 fi
32109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32110 ac_ext=c
32111 ac_cpp='$CPP $CPPFLAGS'
32112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32115
32116
32117 fi
32118
32119 fi
32120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32121 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32122
32123 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32124 for ac_func in _ldexpl
32125 do :
32126 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32127 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32128 cat >>confdefs.h <<_ACEOF
32129 #define HAVE__LDEXPL 1
32130 _ACEOF
32131
32132 fi
32133 done
32134
32135 fi
32136 fi
32137
32138
32139
32140
32141
32142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32143 $as_echo_n "checking for logl declaration... " >&6; }
32144 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32145 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32146 $as_echo_n "(cached) " >&6
32147 else
32148
32149
32150 ac_ext=cpp
32151 ac_cpp='$CXXCPP $CPPFLAGS'
32152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32155
32156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32157 /* end confdefs.h. */
32158 #include <math.h>
32159 #ifdef HAVE_IEEEFP_H
32160 #include <ieeefp.h>
32161 #endif
32162
32163 int
32164 main ()
32165 {
32166 logl(0);
32167 ;
32168 return 0;
32169 }
32170 _ACEOF
32171 if ac_fn_cxx_try_compile "$LINENO"; then :
32172 glibcxx_cv_func_logl_use=yes
32173 else
32174 glibcxx_cv_func_logl_use=no
32175 fi
32176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32177 ac_ext=c
32178 ac_cpp='$CPP $CPPFLAGS'
32179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32182
32183
32184 fi
32185
32186 fi
32187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32188 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32189
32190 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32191 for ac_func in logl
32192 do :
32193 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32194 if test "x$ac_cv_func_logl" = x""yes; then :
32195 cat >>confdefs.h <<_ACEOF
32196 #define HAVE_LOGL 1
32197 _ACEOF
32198
32199 fi
32200 done
32201
32202 else
32203
32204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32205 $as_echo_n "checking for _logl declaration... " >&6; }
32206 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32207 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32208 $as_echo_n "(cached) " >&6
32209 else
32210
32211
32212 ac_ext=cpp
32213 ac_cpp='$CXXCPP $CPPFLAGS'
32214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32217
32218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32219 /* end confdefs.h. */
32220 #include <math.h>
32221 #ifdef HAVE_IEEEFP_H
32222 #include <ieeefp.h>
32223 #endif
32224
32225 int
32226 main ()
32227 {
32228 _logl(0);
32229 ;
32230 return 0;
32231 }
32232 _ACEOF
32233 if ac_fn_cxx_try_compile "$LINENO"; then :
32234 glibcxx_cv_func__logl_use=yes
32235 else
32236 glibcxx_cv_func__logl_use=no
32237 fi
32238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32239 ac_ext=c
32240 ac_cpp='$CPP $CPPFLAGS'
32241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32244
32245
32246 fi
32247
32248 fi
32249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32250 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32251
32252 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32253 for ac_func in _logl
32254 do :
32255 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32256 if test "x$ac_cv_func__logl" = x""yes; then :
32257 cat >>confdefs.h <<_ACEOF
32258 #define HAVE__LOGL 1
32259 _ACEOF
32260
32261 fi
32262 done
32263
32264 fi
32265 fi
32266
32267
32268
32269
32270
32271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32272 $as_echo_n "checking for log10l declaration... " >&6; }
32273 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32274 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32275 $as_echo_n "(cached) " >&6
32276 else
32277
32278
32279 ac_ext=cpp
32280 ac_cpp='$CXXCPP $CPPFLAGS'
32281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32284
32285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32286 /* end confdefs.h. */
32287 #include <math.h>
32288 #ifdef HAVE_IEEEFP_H
32289 #include <ieeefp.h>
32290 #endif
32291
32292 int
32293 main ()
32294 {
32295 log10l(0);
32296 ;
32297 return 0;
32298 }
32299 _ACEOF
32300 if ac_fn_cxx_try_compile "$LINENO"; then :
32301 glibcxx_cv_func_log10l_use=yes
32302 else
32303 glibcxx_cv_func_log10l_use=no
32304 fi
32305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32306 ac_ext=c
32307 ac_cpp='$CPP $CPPFLAGS'
32308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32311
32312
32313 fi
32314
32315 fi
32316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32317 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32318
32319 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32320 for ac_func in log10l
32321 do :
32322 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32323 if test "x$ac_cv_func_log10l" = x""yes; then :
32324 cat >>confdefs.h <<_ACEOF
32325 #define HAVE_LOG10L 1
32326 _ACEOF
32327
32328 fi
32329 done
32330
32331 else
32332
32333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32334 $as_echo_n "checking for _log10l declaration... " >&6; }
32335 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32336 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32337 $as_echo_n "(cached) " >&6
32338 else
32339
32340
32341 ac_ext=cpp
32342 ac_cpp='$CXXCPP $CPPFLAGS'
32343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32346
32347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32348 /* end confdefs.h. */
32349 #include <math.h>
32350 #ifdef HAVE_IEEEFP_H
32351 #include <ieeefp.h>
32352 #endif
32353
32354 int
32355 main ()
32356 {
32357 _log10l(0);
32358 ;
32359 return 0;
32360 }
32361 _ACEOF
32362 if ac_fn_cxx_try_compile "$LINENO"; then :
32363 glibcxx_cv_func__log10l_use=yes
32364 else
32365 glibcxx_cv_func__log10l_use=no
32366 fi
32367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32368 ac_ext=c
32369 ac_cpp='$CPP $CPPFLAGS'
32370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32373
32374
32375 fi
32376
32377 fi
32378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32379 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32380
32381 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32382 for ac_func in _log10l
32383 do :
32384 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32385 if test "x$ac_cv_func__log10l" = x""yes; then :
32386 cat >>confdefs.h <<_ACEOF
32387 #define HAVE__LOG10L 1
32388 _ACEOF
32389
32390 fi
32391 done
32392
32393 fi
32394 fi
32395
32396
32397
32398
32399
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32401 $as_echo_n "checking for modfl declaration... " >&6; }
32402 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32403 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32404 $as_echo_n "(cached) " >&6
32405 else
32406
32407
32408 ac_ext=cpp
32409 ac_cpp='$CXXCPP $CPPFLAGS'
32410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32413
32414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32415 /* end confdefs.h. */
32416 #include <math.h>
32417 int
32418 main ()
32419 {
32420 modfl(0, 0);
32421 ;
32422 return 0;
32423 }
32424 _ACEOF
32425 if ac_fn_cxx_try_compile "$LINENO"; then :
32426 glibcxx_cv_func_modfl_use=yes
32427 else
32428 glibcxx_cv_func_modfl_use=no
32429 fi
32430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32431 ac_ext=c
32432 ac_cpp='$CPP $CPPFLAGS'
32433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32436
32437
32438 fi
32439
32440 fi
32441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
32442 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
32443
32444 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
32445 for ac_func in modfl
32446 do :
32447 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
32448 if test "x$ac_cv_func_modfl" = x""yes; then :
32449 cat >>confdefs.h <<_ACEOF
32450 #define HAVE_MODFL 1
32451 _ACEOF
32452
32453 fi
32454 done
32455
32456 else
32457
32458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
32459 $as_echo_n "checking for _modfl declaration... " >&6; }
32460 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
32461 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
32462 $as_echo_n "(cached) " >&6
32463 else
32464
32465
32466 ac_ext=cpp
32467 ac_cpp='$CXXCPP $CPPFLAGS'
32468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32471
32472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32473 /* end confdefs.h. */
32474 #include <math.h>
32475 int
32476 main ()
32477 {
32478 _modfl(0, 0);
32479 ;
32480 return 0;
32481 }
32482 _ACEOF
32483 if ac_fn_cxx_try_compile "$LINENO"; then :
32484 glibcxx_cv_func__modfl_use=yes
32485 else
32486 glibcxx_cv_func__modfl_use=no
32487 fi
32488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32489 ac_ext=c
32490 ac_cpp='$CPP $CPPFLAGS'
32491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32494
32495
32496 fi
32497
32498 fi
32499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
32500 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
32501
32502 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
32503 for ac_func in _modfl
32504 do :
32505 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
32506 if test "x$ac_cv_func__modfl" = x""yes; then :
32507 cat >>confdefs.h <<_ACEOF
32508 #define HAVE__MODFL 1
32509 _ACEOF
32510
32511 fi
32512 done
32513
32514 fi
32515 fi
32516
32517
32518
32519
32520
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
32522 $as_echo_n "checking for powl declaration... " >&6; }
32523 if test x${glibcxx_cv_func_powl_use+set} != xset; then
32524 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
32525 $as_echo_n "(cached) " >&6
32526 else
32527
32528
32529 ac_ext=cpp
32530 ac_cpp='$CXXCPP $CPPFLAGS'
32531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32534
32535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32536 /* end confdefs.h. */
32537 #include <math.h>
32538 int
32539 main ()
32540 {
32541 powl(0, 0);
32542 ;
32543 return 0;
32544 }
32545 _ACEOF
32546 if ac_fn_cxx_try_compile "$LINENO"; then :
32547 glibcxx_cv_func_powl_use=yes
32548 else
32549 glibcxx_cv_func_powl_use=no
32550 fi
32551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32552 ac_ext=c
32553 ac_cpp='$CPP $CPPFLAGS'
32554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32557
32558
32559 fi
32560
32561 fi
32562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
32563 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
32564
32565 if test x$glibcxx_cv_func_powl_use = x"yes"; then
32566 for ac_func in powl
32567 do :
32568 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
32569 if test "x$ac_cv_func_powl" = x""yes; then :
32570 cat >>confdefs.h <<_ACEOF
32571 #define HAVE_POWL 1
32572 _ACEOF
32573
32574 fi
32575 done
32576
32577 else
32578
32579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
32580 $as_echo_n "checking for _powl declaration... " >&6; }
32581 if test x${glibcxx_cv_func__powl_use+set} != xset; then
32582 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
32583 $as_echo_n "(cached) " >&6
32584 else
32585
32586
32587 ac_ext=cpp
32588 ac_cpp='$CXXCPP $CPPFLAGS'
32589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32592
32593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32594 /* end confdefs.h. */
32595 #include <math.h>
32596 int
32597 main ()
32598 {
32599 _powl(0, 0);
32600 ;
32601 return 0;
32602 }
32603 _ACEOF
32604 if ac_fn_cxx_try_compile "$LINENO"; then :
32605 glibcxx_cv_func__powl_use=yes
32606 else
32607 glibcxx_cv_func__powl_use=no
32608 fi
32609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32610 ac_ext=c
32611 ac_cpp='$CPP $CPPFLAGS'
32612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32615
32616
32617 fi
32618
32619 fi
32620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
32621 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
32622
32623 if test x$glibcxx_cv_func__powl_use = x"yes"; then
32624 for ac_func in _powl
32625 do :
32626 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
32627 if test "x$ac_cv_func__powl" = x""yes; then :
32628 cat >>confdefs.h <<_ACEOF
32629 #define HAVE__POWL 1
32630 _ACEOF
32631
32632 fi
32633 done
32634
32635 fi
32636 fi
32637
32638
32639
32640
32641
32642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
32643 $as_echo_n "checking for sqrtl declaration... " >&6; }
32644 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
32645 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
32646 $as_echo_n "(cached) " >&6
32647 else
32648
32649
32650 ac_ext=cpp
32651 ac_cpp='$CXXCPP $CPPFLAGS'
32652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32655
32656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32657 /* end confdefs.h. */
32658 #include <math.h>
32659 #ifdef HAVE_IEEEFP_H
32660 #include <ieeefp.h>
32661 #endif
32662
32663 int
32664 main ()
32665 {
32666 sqrtl(0);
32667 ;
32668 return 0;
32669 }
32670 _ACEOF
32671 if ac_fn_cxx_try_compile "$LINENO"; then :
32672 glibcxx_cv_func_sqrtl_use=yes
32673 else
32674 glibcxx_cv_func_sqrtl_use=no
32675 fi
32676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32677 ac_ext=c
32678 ac_cpp='$CPP $CPPFLAGS'
32679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32682
32683
32684 fi
32685
32686 fi
32687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
32688 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
32689
32690 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
32691 for ac_func in sqrtl
32692 do :
32693 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
32694 if test "x$ac_cv_func_sqrtl" = x""yes; then :
32695 cat >>confdefs.h <<_ACEOF
32696 #define HAVE_SQRTL 1
32697 _ACEOF
32698
32699 fi
32700 done
32701
32702 else
32703
32704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
32705 $as_echo_n "checking for _sqrtl declaration... " >&6; }
32706 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
32707 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
32708 $as_echo_n "(cached) " >&6
32709 else
32710
32711
32712 ac_ext=cpp
32713 ac_cpp='$CXXCPP $CPPFLAGS'
32714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32717
32718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32719 /* end confdefs.h. */
32720 #include <math.h>
32721 #ifdef HAVE_IEEEFP_H
32722 #include <ieeefp.h>
32723 #endif
32724
32725 int
32726 main ()
32727 {
32728 _sqrtl(0);
32729 ;
32730 return 0;
32731 }
32732 _ACEOF
32733 if ac_fn_cxx_try_compile "$LINENO"; then :
32734 glibcxx_cv_func__sqrtl_use=yes
32735 else
32736 glibcxx_cv_func__sqrtl_use=no
32737 fi
32738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32739 ac_ext=c
32740 ac_cpp='$CPP $CPPFLAGS'
32741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32744
32745
32746 fi
32747
32748 fi
32749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
32750 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
32751
32752 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
32753 for ac_func in _sqrtl
32754 do :
32755 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
32756 if test "x$ac_cv_func__sqrtl" = x""yes; then :
32757 cat >>confdefs.h <<_ACEOF
32758 #define HAVE__SQRTL 1
32759 _ACEOF
32760
32761 fi
32762 done
32763
32764 fi
32765 fi
32766
32767
32768
32769
32770
32771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
32772 $as_echo_n "checking for sincosl declaration... " >&6; }
32773 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
32774 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
32775 $as_echo_n "(cached) " >&6
32776 else
32777
32778
32779 ac_ext=cpp
32780 ac_cpp='$CXXCPP $CPPFLAGS'
32781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32784
32785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32786 /* end confdefs.h. */
32787 #include <math.h>
32788 int
32789 main ()
32790 {
32791 sincosl(0, 0, 0);
32792 ;
32793 return 0;
32794 }
32795 _ACEOF
32796 if ac_fn_cxx_try_compile "$LINENO"; then :
32797 glibcxx_cv_func_sincosl_use=yes
32798 else
32799 glibcxx_cv_func_sincosl_use=no
32800 fi
32801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32802 ac_ext=c
32803 ac_cpp='$CPP $CPPFLAGS'
32804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32807
32808
32809 fi
32810
32811 fi
32812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
32813 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
32814
32815 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
32816 for ac_func in sincosl
32817 do :
32818 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
32819 if test "x$ac_cv_func_sincosl" = x""yes; then :
32820 cat >>confdefs.h <<_ACEOF
32821 #define HAVE_SINCOSL 1
32822 _ACEOF
32823
32824 fi
32825 done
32826
32827 else
32828
32829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
32830 $as_echo_n "checking for _sincosl declaration... " >&6; }
32831 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
32832 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
32833 $as_echo_n "(cached) " >&6
32834 else
32835
32836
32837 ac_ext=cpp
32838 ac_cpp='$CXXCPP $CPPFLAGS'
32839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32842
32843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32844 /* end confdefs.h. */
32845 #include <math.h>
32846 int
32847 main ()
32848 {
32849 _sincosl(0, 0, 0);
32850 ;
32851 return 0;
32852 }
32853 _ACEOF
32854 if ac_fn_cxx_try_compile "$LINENO"; then :
32855 glibcxx_cv_func__sincosl_use=yes
32856 else
32857 glibcxx_cv_func__sincosl_use=no
32858 fi
32859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32860 ac_ext=c
32861 ac_cpp='$CPP $CPPFLAGS'
32862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32865
32866
32867 fi
32868
32869 fi
32870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
32871 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
32872
32873 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
32874 for ac_func in _sincosl
32875 do :
32876 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
32877 if test "x$ac_cv_func__sincosl" = x""yes; then :
32878 cat >>confdefs.h <<_ACEOF
32879 #define HAVE__SINCOSL 1
32880 _ACEOF
32881
32882 fi
32883 done
32884
32885 fi
32886 fi
32887
32888
32889
32890
32891
32892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
32893 $as_echo_n "checking for finitel declaration... " >&6; }
32894 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
32895 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
32896 $as_echo_n "(cached) " >&6
32897 else
32898
32899
32900 ac_ext=cpp
32901 ac_cpp='$CXXCPP $CPPFLAGS'
32902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32905
32906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32907 /* end confdefs.h. */
32908 #include <math.h>
32909 #ifdef HAVE_IEEEFP_H
32910 #include <ieeefp.h>
32911 #endif
32912
32913 int
32914 main ()
32915 {
32916 finitel(0);
32917 ;
32918 return 0;
32919 }
32920 _ACEOF
32921 if ac_fn_cxx_try_compile "$LINENO"; then :
32922 glibcxx_cv_func_finitel_use=yes
32923 else
32924 glibcxx_cv_func_finitel_use=no
32925 fi
32926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32927 ac_ext=c
32928 ac_cpp='$CPP $CPPFLAGS'
32929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32932
32933
32934 fi
32935
32936 fi
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
32938 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
32939
32940 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
32941 for ac_func in finitel
32942 do :
32943 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
32944 if test "x$ac_cv_func_finitel" = x""yes; then :
32945 cat >>confdefs.h <<_ACEOF
32946 #define HAVE_FINITEL 1
32947 _ACEOF
32948
32949 fi
32950 done
32951
32952 else
32953
32954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
32955 $as_echo_n "checking for _finitel declaration... " >&6; }
32956 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
32957 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
32958 $as_echo_n "(cached) " >&6
32959 else
32960
32961
32962 ac_ext=cpp
32963 ac_cpp='$CXXCPP $CPPFLAGS'
32964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32967
32968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32969 /* end confdefs.h. */
32970 #include <math.h>
32971 #ifdef HAVE_IEEEFP_H
32972 #include <ieeefp.h>
32973 #endif
32974
32975 int
32976 main ()
32977 {
32978 _finitel(0);
32979 ;
32980 return 0;
32981 }
32982 _ACEOF
32983 if ac_fn_cxx_try_compile "$LINENO"; then :
32984 glibcxx_cv_func__finitel_use=yes
32985 else
32986 glibcxx_cv_func__finitel_use=no
32987 fi
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32989 ac_ext=c
32990 ac_cpp='$CPP $CPPFLAGS'
32991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32994
32995
32996 fi
32997
32998 fi
32999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33000 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33001
33002 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33003 for ac_func in _finitel
33004 do :
33005 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33006 if test "x$ac_cv_func__finitel" = x""yes; then :
33007 cat >>confdefs.h <<_ACEOF
33008 #define HAVE__FINITEL 1
33009 _ACEOF
33010
33011 fi
33012 done
33013
33014 fi
33015 fi
33016
33017
33018
33019
33020 LIBS="$ac_save_LIBS"
33021 CXXFLAGS="$ac_save_CXXFLAGS"
33022
33023
33024 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33025 ac_save_CXXFLAGS="$CXXFLAGS"
33026 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33027
33028
33029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33030 $as_echo_n "checking for strtold declaration... " >&6; }
33031 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33032 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33033 $as_echo_n "(cached) " >&6
33034 else
33035
33036
33037 ac_ext=cpp
33038 ac_cpp='$CXXCPP $CPPFLAGS'
33039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33042
33043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33044 /* end confdefs.h. */
33045 #include <stdlib.h>
33046 int
33047 main ()
33048 {
33049 strtold(0, 0);
33050 ;
33051 return 0;
33052 }
33053 _ACEOF
33054 if ac_fn_cxx_try_compile "$LINENO"; then :
33055 glibcxx_cv_func_strtold_use=yes
33056 else
33057 glibcxx_cv_func_strtold_use=no
33058 fi
33059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33060 ac_ext=c
33061 ac_cpp='$CPP $CPPFLAGS'
33062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33065
33066
33067 fi
33068
33069 fi
33070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33071 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33072 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33073 for ac_func in strtold
33074 do :
33075 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33076 if test "x$ac_cv_func_strtold" = x""yes; then :
33077 cat >>confdefs.h <<_ACEOF
33078 #define HAVE_STRTOLD 1
33079 _ACEOF
33080
33081 fi
33082 done
33083
33084 fi
33085
33086
33087
33088
33089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33090 $as_echo_n "checking for strtof declaration... " >&6; }
33091 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33092 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33093 $as_echo_n "(cached) " >&6
33094 else
33095
33096
33097 ac_ext=cpp
33098 ac_cpp='$CXXCPP $CPPFLAGS'
33099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33102
33103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33104 /* end confdefs.h. */
33105 #include <stdlib.h>
33106 int
33107 main ()
33108 {
33109 strtof(0, 0);
33110 ;
33111 return 0;
33112 }
33113 _ACEOF
33114 if ac_fn_cxx_try_compile "$LINENO"; then :
33115 glibcxx_cv_func_strtof_use=yes
33116 else
33117 glibcxx_cv_func_strtof_use=no
33118 fi
33119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33120 ac_ext=c
33121 ac_cpp='$CPP $CPPFLAGS'
33122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33125
33126
33127 fi
33128
33129 fi
33130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33131 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33132 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33133 for ac_func in strtof
33134 do :
33135 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33136 if test "x$ac_cv_func_strtof" = x""yes; then :
33137 cat >>confdefs.h <<_ACEOF
33138 #define HAVE_STRTOF 1
33139 _ACEOF
33140
33141 fi
33142 done
33143
33144 fi
33145
33146
33147
33148
33149 CXXFLAGS="$ac_save_CXXFLAGS"
33150
33151
33152 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33153
33154 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33155
33156 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33157
33158 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33159
33160
33161 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33162
33163 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33164
33165 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33166
33167 ;;
33168
33169 *-aix*)
33170
33171 # If we're not using GNU ld, then there's no point in even trying these
33172 # tests. Check for that first. We should have already tested for gld
33173 # by now (in libtool), but require it now just to be safe...
33174 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33175 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33176
33177
33178
33179 # The name set by libtool depends on the version of libtool. Shame on us
33180 # for depending on an impl detail, but c'est la vie. Older versions used
33181 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33182 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33183 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33184 # set (hence we're using an older libtool), then set it.
33185 if test x${with_gnu_ld+set} != xset; then
33186 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33187 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33188 with_gnu_ld=no
33189 else
33190 with_gnu_ld=$ac_cv_prog_gnu_ld
33191 fi
33192 fi
33193
33194 # Start by getting the version number. I think the libtool test already
33195 # does some of this, but throws away the result.
33196 glibcxx_ld_is_gold=no
33197 if test x"$with_gnu_ld" = x"yes"; then
33198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33199 $as_echo_n "checking for ld version... " >&6; }
33200
33201 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33202 glibcxx_ld_is_gold=yes
33203 fi
33204 ldver=`$LD --version 2>/dev/null |
33205 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'`
33206
33207 glibcxx_gnu_ld_version=`echo $ldver | \
33208 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33210 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33211 fi
33212
33213 # Set --gc-sections.
33214 glibcxx_have_gc_sections=no
33215 if test "$glibcxx_ld_is_gold" = "yes"; then
33216 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33217 glibcxx_have_gc_sections=yes
33218 fi
33219 else
33220 glibcxx_gcsections_min_ld=21602
33221 if test x"$with_gnu_ld" = x"yes" &&
33222 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33223 glibcxx_have_gc_sections=yes
33224 fi
33225 fi
33226 if test "$glibcxx_have_gc_sections" = "yes"; then
33227 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33228 # NB: This flag only works reliably after 2.16.1. Configure tests
33229 # for this are difficult, so hard wire a value that should work.
33230
33231 ac_test_CFLAGS="${CFLAGS+set}"
33232 ac_save_CFLAGS="$CFLAGS"
33233 CFLAGS='-Wl,--gc-sections'
33234
33235 # Check for -Wl,--gc-sections
33236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33237 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33238 if test x$gcc_no_link = xyes; then
33239 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33240 fi
33241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33242 /* end confdefs.h. */
33243 int one(void) { return 1; }
33244 int two(void) { return 2; }
33245
33246 int
33247 main ()
33248 {
33249 two();
33250 ;
33251 return 0;
33252 }
33253 _ACEOF
33254 if ac_fn_c_try_link "$LINENO"; then :
33255 ac_gcsections=yes
33256 else
33257 ac_gcsections=no
33258 fi
33259 rm -f core conftest.err conftest.$ac_objext \
33260 conftest$ac_exeext conftest.$ac_ext
33261 if test "$ac_gcsections" = "yes"; then
33262 rm -f conftest.c
33263 touch conftest.c
33264 if $CC -c conftest.c; then
33265 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
33266 grep "Warning: gc-sections option ignored" > /dev/null; then
33267 ac_gcsections=no
33268 fi
33269 fi
33270 rm -f conftest.c conftest.o conftest
33271 fi
33272 if test "$ac_gcsections" = "yes"; then
33273 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
33274 fi
33275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
33276 $as_echo "$ac_gcsections" >&6; }
33277
33278 if test "$ac_test_CFLAGS" = set; then
33279 CFLAGS="$ac_save_CFLAGS"
33280 else
33281 # this is the suspicious part
33282 CFLAGS=''
33283 fi
33284 fi
33285
33286 # Set -z,relro.
33287 # Note this is only for shared objects.
33288 ac_ld_relro=no
33289 if test x"$with_gnu_ld" = x"yes"; then
33290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
33291 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
33292 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
33293 if test -n "$cxx_z_relo"; then
33294 OPT_LDFLAGS="-Wl,-z,relro"
33295 ac_ld_relro=yes
33296 fi
33297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
33298 $as_echo "$ac_ld_relro" >&6; }
33299 fi
33300
33301 # Set linker optimization flags.
33302 if test x"$with_gnu_ld" = x"yes"; then
33303 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
33304 fi
33305
33306
33307
33308
33309
33310 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33311 ac_save_CXXFLAGS="$CXXFLAGS"
33312 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33313
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
33315 $as_echo_n "checking for sin in -lm... " >&6; }
33316 if test "${ac_cv_lib_m_sin+set}" = set; then :
33317 $as_echo_n "(cached) " >&6
33318 else
33319 ac_check_lib_save_LIBS=$LIBS
33320 LIBS="-lm $LIBS"
33321 if test x$gcc_no_link = xyes; then
33322 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33323 fi
33324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33325 /* end confdefs.h. */
33326
33327 /* Override any GCC internal prototype to avoid an error.
33328 Use char because int might match the return type of a GCC
33329 builtin and then its argument prototype would still apply. */
33330 #ifdef __cplusplus
33331 extern "C"
33332 #endif
33333 char sin ();
33334 int
33335 main ()
33336 {
33337 return sin ();
33338 ;
33339 return 0;
33340 }
33341 _ACEOF
33342 if ac_fn_c_try_link "$LINENO"; then :
33343 ac_cv_lib_m_sin=yes
33344 else
33345 ac_cv_lib_m_sin=no
33346 fi
33347 rm -f core conftest.err conftest.$ac_objext \
33348 conftest$ac_exeext conftest.$ac_ext
33349 LIBS=$ac_check_lib_save_LIBS
33350 fi
33351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
33352 $as_echo "$ac_cv_lib_m_sin" >&6; }
33353 if test "x$ac_cv_lib_m_sin" = x""yes; then :
33354 libm="-lm"
33355 fi
33356
33357 ac_save_LIBS="$LIBS"
33358 LIBS="$LIBS $libm"
33359
33360
33361
33362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
33363 $as_echo_n "checking for isinf declaration... " >&6; }
33364 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
33365 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
33366 $as_echo_n "(cached) " >&6
33367 else
33368
33369
33370 ac_ext=cpp
33371 ac_cpp='$CXXCPP $CPPFLAGS'
33372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33375
33376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33377 /* end confdefs.h. */
33378 #include <math.h>
33379 #ifdef HAVE_IEEEFP_H
33380 #include <ieeefp.h>
33381 #endif
33382
33383 int
33384 main ()
33385 {
33386 isinf(0);
33387 ;
33388 return 0;
33389 }
33390 _ACEOF
33391 if ac_fn_cxx_try_compile "$LINENO"; then :
33392 glibcxx_cv_func_isinf_use=yes
33393 else
33394 glibcxx_cv_func_isinf_use=no
33395 fi
33396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33397 ac_ext=c
33398 ac_cpp='$CPP $CPPFLAGS'
33399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33402
33403
33404 fi
33405
33406 fi
33407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
33408 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
33409
33410 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
33411 for ac_func in isinf
33412 do :
33413 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
33414 if test "x$ac_cv_func_isinf" = x""yes; then :
33415 cat >>confdefs.h <<_ACEOF
33416 #define HAVE_ISINF 1
33417 _ACEOF
33418
33419 fi
33420 done
33421
33422 else
33423
33424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
33425 $as_echo_n "checking for _isinf declaration... " >&6; }
33426 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
33427 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
33428 $as_echo_n "(cached) " >&6
33429 else
33430
33431
33432 ac_ext=cpp
33433 ac_cpp='$CXXCPP $CPPFLAGS'
33434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33437
33438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33439 /* end confdefs.h. */
33440 #include <math.h>
33441 #ifdef HAVE_IEEEFP_H
33442 #include <ieeefp.h>
33443 #endif
33444
33445 int
33446 main ()
33447 {
33448 _isinf(0);
33449 ;
33450 return 0;
33451 }
33452 _ACEOF
33453 if ac_fn_cxx_try_compile "$LINENO"; then :
33454 glibcxx_cv_func__isinf_use=yes
33455 else
33456 glibcxx_cv_func__isinf_use=no
33457 fi
33458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33459 ac_ext=c
33460 ac_cpp='$CPP $CPPFLAGS'
33461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33464
33465
33466 fi
33467
33468 fi
33469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
33470 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
33471
33472 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
33473 for ac_func in _isinf
33474 do :
33475 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
33476 if test "x$ac_cv_func__isinf" = x""yes; then :
33477 cat >>confdefs.h <<_ACEOF
33478 #define HAVE__ISINF 1
33479 _ACEOF
33480
33481 fi
33482 done
33483
33484 fi
33485 fi
33486
33487
33488
33489
33490
33491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
33492 $as_echo_n "checking for isnan declaration... " >&6; }
33493 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
33494 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
33495 $as_echo_n "(cached) " >&6
33496 else
33497
33498
33499 ac_ext=cpp
33500 ac_cpp='$CXXCPP $CPPFLAGS'
33501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33504
33505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33506 /* end confdefs.h. */
33507 #include <math.h>
33508 #ifdef HAVE_IEEEFP_H
33509 #include <ieeefp.h>
33510 #endif
33511
33512 int
33513 main ()
33514 {
33515 isnan(0);
33516 ;
33517 return 0;
33518 }
33519 _ACEOF
33520 if ac_fn_cxx_try_compile "$LINENO"; then :
33521 glibcxx_cv_func_isnan_use=yes
33522 else
33523 glibcxx_cv_func_isnan_use=no
33524 fi
33525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33526 ac_ext=c
33527 ac_cpp='$CPP $CPPFLAGS'
33528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33531
33532
33533 fi
33534
33535 fi
33536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
33537 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
33538
33539 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
33540 for ac_func in isnan
33541 do :
33542 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
33543 if test "x$ac_cv_func_isnan" = x""yes; then :
33544 cat >>confdefs.h <<_ACEOF
33545 #define HAVE_ISNAN 1
33546 _ACEOF
33547
33548 fi
33549 done
33550
33551 else
33552
33553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
33554 $as_echo_n "checking for _isnan declaration... " >&6; }
33555 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
33556 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
33557 $as_echo_n "(cached) " >&6
33558 else
33559
33560
33561 ac_ext=cpp
33562 ac_cpp='$CXXCPP $CPPFLAGS'
33563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33566
33567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33568 /* end confdefs.h. */
33569 #include <math.h>
33570 #ifdef HAVE_IEEEFP_H
33571 #include <ieeefp.h>
33572 #endif
33573
33574 int
33575 main ()
33576 {
33577 _isnan(0);
33578 ;
33579 return 0;
33580 }
33581 _ACEOF
33582 if ac_fn_cxx_try_compile "$LINENO"; then :
33583 glibcxx_cv_func__isnan_use=yes
33584 else
33585 glibcxx_cv_func__isnan_use=no
33586 fi
33587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33588 ac_ext=c
33589 ac_cpp='$CPP $CPPFLAGS'
33590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33593
33594
33595 fi
33596
33597 fi
33598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
33599 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
33600
33601 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
33602 for ac_func in _isnan
33603 do :
33604 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
33605 if test "x$ac_cv_func__isnan" = x""yes; then :
33606 cat >>confdefs.h <<_ACEOF
33607 #define HAVE__ISNAN 1
33608 _ACEOF
33609
33610 fi
33611 done
33612
33613 fi
33614 fi
33615
33616
33617
33618
33619
33620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
33621 $as_echo_n "checking for finite declaration... " >&6; }
33622 if test x${glibcxx_cv_func_finite_use+set} != xset; then
33623 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
33624 $as_echo_n "(cached) " >&6
33625 else
33626
33627
33628 ac_ext=cpp
33629 ac_cpp='$CXXCPP $CPPFLAGS'
33630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33633
33634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33635 /* end confdefs.h. */
33636 #include <math.h>
33637 #ifdef HAVE_IEEEFP_H
33638 #include <ieeefp.h>
33639 #endif
33640
33641 int
33642 main ()
33643 {
33644 finite(0);
33645 ;
33646 return 0;
33647 }
33648 _ACEOF
33649 if ac_fn_cxx_try_compile "$LINENO"; then :
33650 glibcxx_cv_func_finite_use=yes
33651 else
33652 glibcxx_cv_func_finite_use=no
33653 fi
33654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33655 ac_ext=c
33656 ac_cpp='$CPP $CPPFLAGS'
33657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33660
33661
33662 fi
33663
33664 fi
33665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
33666 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
33667
33668 if test x$glibcxx_cv_func_finite_use = x"yes"; then
33669 for ac_func in finite
33670 do :
33671 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
33672 if test "x$ac_cv_func_finite" = x""yes; then :
33673 cat >>confdefs.h <<_ACEOF
33674 #define HAVE_FINITE 1
33675 _ACEOF
33676
33677 fi
33678 done
33679
33680 else
33681
33682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
33683 $as_echo_n "checking for _finite declaration... " >&6; }
33684 if test x${glibcxx_cv_func__finite_use+set} != xset; then
33685 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
33686 $as_echo_n "(cached) " >&6
33687 else
33688
33689
33690 ac_ext=cpp
33691 ac_cpp='$CXXCPP $CPPFLAGS'
33692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33695
33696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33697 /* end confdefs.h. */
33698 #include <math.h>
33699 #ifdef HAVE_IEEEFP_H
33700 #include <ieeefp.h>
33701 #endif
33702
33703 int
33704 main ()
33705 {
33706 _finite(0);
33707 ;
33708 return 0;
33709 }
33710 _ACEOF
33711 if ac_fn_cxx_try_compile "$LINENO"; then :
33712 glibcxx_cv_func__finite_use=yes
33713 else
33714 glibcxx_cv_func__finite_use=no
33715 fi
33716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33717 ac_ext=c
33718 ac_cpp='$CPP $CPPFLAGS'
33719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33722
33723
33724 fi
33725
33726 fi
33727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
33728 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
33729
33730 if test x$glibcxx_cv_func__finite_use = x"yes"; then
33731 for ac_func in _finite
33732 do :
33733 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
33734 if test "x$ac_cv_func__finite" = x""yes; then :
33735 cat >>confdefs.h <<_ACEOF
33736 #define HAVE__FINITE 1
33737 _ACEOF
33738
33739 fi
33740 done
33741
33742 fi
33743 fi
33744
33745
33746
33747
33748
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
33750 $as_echo_n "checking for sincos declaration... " >&6; }
33751 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
33752 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
33753 $as_echo_n "(cached) " >&6
33754 else
33755
33756
33757 ac_ext=cpp
33758 ac_cpp='$CXXCPP $CPPFLAGS'
33759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33762
33763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33764 /* end confdefs.h. */
33765 #include <math.h>
33766 int
33767 main ()
33768 {
33769 sincos(0, 0, 0);
33770 ;
33771 return 0;
33772 }
33773 _ACEOF
33774 if ac_fn_cxx_try_compile "$LINENO"; then :
33775 glibcxx_cv_func_sincos_use=yes
33776 else
33777 glibcxx_cv_func_sincos_use=no
33778 fi
33779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33780 ac_ext=c
33781 ac_cpp='$CPP $CPPFLAGS'
33782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33785
33786
33787 fi
33788
33789 fi
33790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
33791 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
33792
33793 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
33794 for ac_func in sincos
33795 do :
33796 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
33797 if test "x$ac_cv_func_sincos" = x""yes; then :
33798 cat >>confdefs.h <<_ACEOF
33799 #define HAVE_SINCOS 1
33800 _ACEOF
33801
33802 fi
33803 done
33804
33805 else
33806
33807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
33808 $as_echo_n "checking for _sincos declaration... " >&6; }
33809 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
33810 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
33811 $as_echo_n "(cached) " >&6
33812 else
33813
33814
33815 ac_ext=cpp
33816 ac_cpp='$CXXCPP $CPPFLAGS'
33817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33820
33821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33822 /* end confdefs.h. */
33823 #include <math.h>
33824 int
33825 main ()
33826 {
33827 _sincos(0, 0, 0);
33828 ;
33829 return 0;
33830 }
33831 _ACEOF
33832 if ac_fn_cxx_try_compile "$LINENO"; then :
33833 glibcxx_cv_func__sincos_use=yes
33834 else
33835 glibcxx_cv_func__sincos_use=no
33836 fi
33837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33838 ac_ext=c
33839 ac_cpp='$CPP $CPPFLAGS'
33840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33843
33844
33845 fi
33846
33847 fi
33848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
33849 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
33850
33851 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
33852 for ac_func in _sincos
33853 do :
33854 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
33855 if test "x$ac_cv_func__sincos" = x""yes; then :
33856 cat >>confdefs.h <<_ACEOF
33857 #define HAVE__SINCOS 1
33858 _ACEOF
33859
33860 fi
33861 done
33862
33863 fi
33864 fi
33865
33866
33867
33868
33869
33870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
33871 $as_echo_n "checking for fpclass declaration... " >&6; }
33872 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
33873 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
33874 $as_echo_n "(cached) " >&6
33875 else
33876
33877
33878 ac_ext=cpp
33879 ac_cpp='$CXXCPP $CPPFLAGS'
33880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33883
33884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33885 /* end confdefs.h. */
33886 #include <math.h>
33887 #ifdef HAVE_IEEEFP_H
33888 #include <ieeefp.h>
33889 #endif
33890
33891 int
33892 main ()
33893 {
33894 fpclass(0);
33895 ;
33896 return 0;
33897 }
33898 _ACEOF
33899 if ac_fn_cxx_try_compile "$LINENO"; then :
33900 glibcxx_cv_func_fpclass_use=yes
33901 else
33902 glibcxx_cv_func_fpclass_use=no
33903 fi
33904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33905 ac_ext=c
33906 ac_cpp='$CPP $CPPFLAGS'
33907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33910
33911
33912 fi
33913
33914 fi
33915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
33916 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
33917
33918 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
33919 for ac_func in fpclass
33920 do :
33921 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
33922 if test "x$ac_cv_func_fpclass" = x""yes; then :
33923 cat >>confdefs.h <<_ACEOF
33924 #define HAVE_FPCLASS 1
33925 _ACEOF
33926
33927 fi
33928 done
33929
33930 else
33931
33932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
33933 $as_echo_n "checking for _fpclass declaration... " >&6; }
33934 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
33935 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
33936 $as_echo_n "(cached) " >&6
33937 else
33938
33939
33940 ac_ext=cpp
33941 ac_cpp='$CXXCPP $CPPFLAGS'
33942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33945
33946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33947 /* end confdefs.h. */
33948 #include <math.h>
33949 #ifdef HAVE_IEEEFP_H
33950 #include <ieeefp.h>
33951 #endif
33952
33953 int
33954 main ()
33955 {
33956 _fpclass(0);
33957 ;
33958 return 0;
33959 }
33960 _ACEOF
33961 if ac_fn_cxx_try_compile "$LINENO"; then :
33962 glibcxx_cv_func__fpclass_use=yes
33963 else
33964 glibcxx_cv_func__fpclass_use=no
33965 fi
33966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33967 ac_ext=c
33968 ac_cpp='$CPP $CPPFLAGS'
33969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33972
33973
33974 fi
33975
33976 fi
33977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
33978 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
33979
33980 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
33981 for ac_func in _fpclass
33982 do :
33983 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
33984 if test "x$ac_cv_func__fpclass" = x""yes; then :
33985 cat >>confdefs.h <<_ACEOF
33986 #define HAVE__FPCLASS 1
33987 _ACEOF
33988
33989 fi
33990 done
33991
33992 fi
33993 fi
33994
33995
33996
33997
33998
33999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34000 $as_echo_n "checking for qfpclass declaration... " >&6; }
34001 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34002 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34003 $as_echo_n "(cached) " >&6
34004 else
34005
34006
34007 ac_ext=cpp
34008 ac_cpp='$CXXCPP $CPPFLAGS'
34009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34012
34013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34014 /* end confdefs.h. */
34015 #include <math.h>
34016 #ifdef HAVE_IEEEFP_H
34017 #include <ieeefp.h>
34018 #endif
34019
34020 int
34021 main ()
34022 {
34023 qfpclass(0);
34024 ;
34025 return 0;
34026 }
34027 _ACEOF
34028 if ac_fn_cxx_try_compile "$LINENO"; then :
34029 glibcxx_cv_func_qfpclass_use=yes
34030 else
34031 glibcxx_cv_func_qfpclass_use=no
34032 fi
34033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34034 ac_ext=c
34035 ac_cpp='$CPP $CPPFLAGS'
34036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34039
34040
34041 fi
34042
34043 fi
34044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34045 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34046
34047 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34048 for ac_func in qfpclass
34049 do :
34050 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34051 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34052 cat >>confdefs.h <<_ACEOF
34053 #define HAVE_QFPCLASS 1
34054 _ACEOF
34055
34056 fi
34057 done
34058
34059 else
34060
34061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34062 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34063 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34064 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34065 $as_echo_n "(cached) " >&6
34066 else
34067
34068
34069 ac_ext=cpp
34070 ac_cpp='$CXXCPP $CPPFLAGS'
34071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34074
34075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34076 /* end confdefs.h. */
34077 #include <math.h>
34078 #ifdef HAVE_IEEEFP_H
34079 #include <ieeefp.h>
34080 #endif
34081
34082 int
34083 main ()
34084 {
34085 _qfpclass(0);
34086 ;
34087 return 0;
34088 }
34089 _ACEOF
34090 if ac_fn_cxx_try_compile "$LINENO"; then :
34091 glibcxx_cv_func__qfpclass_use=yes
34092 else
34093 glibcxx_cv_func__qfpclass_use=no
34094 fi
34095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34096 ac_ext=c
34097 ac_cpp='$CPP $CPPFLAGS'
34098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34101
34102
34103 fi
34104
34105 fi
34106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34107 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34108
34109 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34110 for ac_func in _qfpclass
34111 do :
34112 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34113 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34114 cat >>confdefs.h <<_ACEOF
34115 #define HAVE__QFPCLASS 1
34116 _ACEOF
34117
34118 fi
34119 done
34120
34121 fi
34122 fi
34123
34124
34125
34126
34127
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34129 $as_echo_n "checking for hypot declaration... " >&6; }
34130 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34131 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34132 $as_echo_n "(cached) " >&6
34133 else
34134
34135
34136 ac_ext=cpp
34137 ac_cpp='$CXXCPP $CPPFLAGS'
34138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34141
34142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34143 /* end confdefs.h. */
34144 #include <math.h>
34145 int
34146 main ()
34147 {
34148 hypot(0, 0);
34149 ;
34150 return 0;
34151 }
34152 _ACEOF
34153 if ac_fn_cxx_try_compile "$LINENO"; then :
34154 glibcxx_cv_func_hypot_use=yes
34155 else
34156 glibcxx_cv_func_hypot_use=no
34157 fi
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34159 ac_ext=c
34160 ac_cpp='$CPP $CPPFLAGS'
34161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34164
34165
34166 fi
34167
34168 fi
34169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34170 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34171
34172 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34173 for ac_func in hypot
34174 do :
34175 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34176 if test "x$ac_cv_func_hypot" = x""yes; then :
34177 cat >>confdefs.h <<_ACEOF
34178 #define HAVE_HYPOT 1
34179 _ACEOF
34180
34181 fi
34182 done
34183
34184 else
34185
34186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34187 $as_echo_n "checking for _hypot declaration... " >&6; }
34188 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34189 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34190 $as_echo_n "(cached) " >&6
34191 else
34192
34193
34194 ac_ext=cpp
34195 ac_cpp='$CXXCPP $CPPFLAGS'
34196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34199
34200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34201 /* end confdefs.h. */
34202 #include <math.h>
34203 int
34204 main ()
34205 {
34206 _hypot(0, 0);
34207 ;
34208 return 0;
34209 }
34210 _ACEOF
34211 if ac_fn_cxx_try_compile "$LINENO"; then :
34212 glibcxx_cv_func__hypot_use=yes
34213 else
34214 glibcxx_cv_func__hypot_use=no
34215 fi
34216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34217 ac_ext=c
34218 ac_cpp='$CPP $CPPFLAGS'
34219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34222
34223
34224 fi
34225
34226 fi
34227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34228 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34229
34230 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34231 for ac_func in _hypot
34232 do :
34233 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34234 if test "x$ac_cv_func__hypot" = x""yes; then :
34235 cat >>confdefs.h <<_ACEOF
34236 #define HAVE__HYPOT 1
34237 _ACEOF
34238
34239 fi
34240 done
34241
34242 fi
34243 fi
34244
34245
34246
34247
34248
34249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34250 $as_echo_n "checking for float trig functions... " >&6; }
34251 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34252 $as_echo_n "(cached) " >&6
34253 else
34254
34255
34256 ac_ext=cpp
34257 ac_cpp='$CXXCPP $CPPFLAGS'
34258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34261
34262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34263 /* end confdefs.h. */
34264 #include <math.h>
34265 int
34266 main ()
34267 {
34268 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
34269 ;
34270 return 0;
34271 }
34272 _ACEOF
34273 if ac_fn_cxx_try_compile "$LINENO"; then :
34274 glibcxx_cv_func_float_trig_use=yes
34275 else
34276 glibcxx_cv_func_float_trig_use=no
34277 fi
34278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34279 ac_ext=c
34280 ac_cpp='$CPP $CPPFLAGS'
34281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34284
34285 fi
34286
34287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
34288 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
34289 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
34290 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
34291 do :
34292 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34293 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34294 eval as_val=\$$as_ac_var
34295 if test "x$as_val" = x""yes; then :
34296 cat >>confdefs.h <<_ACEOF
34297 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34298 _ACEOF
34299
34300 fi
34301 done
34302
34303 else
34304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
34305 $as_echo_n "checking for _float trig functions... " >&6; }
34306 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
34307 $as_echo_n "(cached) " >&6
34308 else
34309
34310
34311 ac_ext=cpp
34312 ac_cpp='$CXXCPP $CPPFLAGS'
34313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34316
34317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34318 /* end confdefs.h. */
34319 #include <math.h>
34320 int
34321 main ()
34322 {
34323 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
34324 ;
34325 return 0;
34326 }
34327 _ACEOF
34328 if ac_fn_cxx_try_compile "$LINENO"; then :
34329 glibcxx_cv_func__float_trig_use=yes
34330 else
34331 glibcxx_cv_func__float_trig_use=no
34332 fi
34333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34334 ac_ext=c
34335 ac_cpp='$CPP $CPPFLAGS'
34336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34339
34340 fi
34341
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
34343 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
34344 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
34345 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
34346 do :
34347 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34348 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34349 eval as_val=\$$as_ac_var
34350 if test "x$as_val" = x""yes; then :
34351 cat >>confdefs.h <<_ACEOF
34352 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34353 _ACEOF
34354
34355 fi
34356 done
34357
34358 fi
34359 fi
34360
34361
34362
34363
34364
34365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
34366 $as_echo_n "checking for float round functions... " >&6; }
34367 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
34368 $as_echo_n "(cached) " >&6
34369 else
34370
34371
34372 ac_ext=cpp
34373 ac_cpp='$CXXCPP $CPPFLAGS'
34374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34377
34378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34379 /* end confdefs.h. */
34380 #include <math.h>
34381 int
34382 main ()
34383 {
34384 ceilf (0); floorf (0);
34385 ;
34386 return 0;
34387 }
34388 _ACEOF
34389 if ac_fn_cxx_try_compile "$LINENO"; then :
34390 glibcxx_cv_func_float_round_use=yes
34391 else
34392 glibcxx_cv_func_float_round_use=no
34393 fi
34394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34395 ac_ext=c
34396 ac_cpp='$CPP $CPPFLAGS'
34397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34400
34401 fi
34402
34403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
34404 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
34405 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
34406 for ac_func in ceilf floorf
34407 do :
34408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34410 eval as_val=\$$as_ac_var
34411 if test "x$as_val" = x""yes; then :
34412 cat >>confdefs.h <<_ACEOF
34413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34414 _ACEOF
34415
34416 fi
34417 done
34418
34419 else
34420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
34421 $as_echo_n "checking for _float round functions... " >&6; }
34422 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
34423 $as_echo_n "(cached) " >&6
34424 else
34425
34426
34427 ac_ext=cpp
34428 ac_cpp='$CXXCPP $CPPFLAGS'
34429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34432
34433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34434 /* end confdefs.h. */
34435 #include <math.h>
34436 int
34437 main ()
34438 {
34439 _ceilf (0); _floorf (0);
34440 ;
34441 return 0;
34442 }
34443 _ACEOF
34444 if ac_fn_cxx_try_compile "$LINENO"; then :
34445 glibcxx_cv_func__float_round_use=yes
34446 else
34447 glibcxx_cv_func__float_round_use=no
34448 fi
34449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34450 ac_ext=c
34451 ac_cpp='$CPP $CPPFLAGS'
34452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34455
34456 fi
34457
34458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
34459 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
34460 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
34461 for ac_func in _ceilf _floorf
34462 do :
34463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
34464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
34465 eval as_val=\$$as_ac_var
34466 if test "x$as_val" = x""yes; then :
34467 cat >>confdefs.h <<_ACEOF
34468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
34469 _ACEOF
34470
34471 fi
34472 done
34473
34474 fi
34475 fi
34476
34477
34478
34479
34480
34481
34482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
34483 $as_echo_n "checking for expf declaration... " >&6; }
34484 if test x${glibcxx_cv_func_expf_use+set} != xset; then
34485 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
34486 $as_echo_n "(cached) " >&6
34487 else
34488
34489
34490 ac_ext=cpp
34491 ac_cpp='$CXXCPP $CPPFLAGS'
34492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34495
34496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34497 /* end confdefs.h. */
34498 #include <math.h>
34499 #ifdef HAVE_IEEEFP_H
34500 #include <ieeefp.h>
34501 #endif
34502
34503 int
34504 main ()
34505 {
34506 expf(0);
34507 ;
34508 return 0;
34509 }
34510 _ACEOF
34511 if ac_fn_cxx_try_compile "$LINENO"; then :
34512 glibcxx_cv_func_expf_use=yes
34513 else
34514 glibcxx_cv_func_expf_use=no
34515 fi
34516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34517 ac_ext=c
34518 ac_cpp='$CPP $CPPFLAGS'
34519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34522
34523
34524 fi
34525
34526 fi
34527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
34528 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
34529
34530 if test x$glibcxx_cv_func_expf_use = x"yes"; then
34531 for ac_func in expf
34532 do :
34533 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
34534 if test "x$ac_cv_func_expf" = x""yes; then :
34535 cat >>confdefs.h <<_ACEOF
34536 #define HAVE_EXPF 1
34537 _ACEOF
34538
34539 fi
34540 done
34541
34542 else
34543
34544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
34545 $as_echo_n "checking for _expf declaration... " >&6; }
34546 if test x${glibcxx_cv_func__expf_use+set} != xset; then
34547 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
34548 $as_echo_n "(cached) " >&6
34549 else
34550
34551
34552 ac_ext=cpp
34553 ac_cpp='$CXXCPP $CPPFLAGS'
34554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34557
34558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34559 /* end confdefs.h. */
34560 #include <math.h>
34561 #ifdef HAVE_IEEEFP_H
34562 #include <ieeefp.h>
34563 #endif
34564
34565 int
34566 main ()
34567 {
34568 _expf(0);
34569 ;
34570 return 0;
34571 }
34572 _ACEOF
34573 if ac_fn_cxx_try_compile "$LINENO"; then :
34574 glibcxx_cv_func__expf_use=yes
34575 else
34576 glibcxx_cv_func__expf_use=no
34577 fi
34578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34579 ac_ext=c
34580 ac_cpp='$CPP $CPPFLAGS'
34581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34584
34585
34586 fi
34587
34588 fi
34589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
34590 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
34591
34592 if test x$glibcxx_cv_func__expf_use = x"yes"; then
34593 for ac_func in _expf
34594 do :
34595 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
34596 if test "x$ac_cv_func__expf" = x""yes; then :
34597 cat >>confdefs.h <<_ACEOF
34598 #define HAVE__EXPF 1
34599 _ACEOF
34600
34601 fi
34602 done
34603
34604 fi
34605 fi
34606
34607
34608
34609
34610
34611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
34612 $as_echo_n "checking for isnanf declaration... " >&6; }
34613 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
34614 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
34615 $as_echo_n "(cached) " >&6
34616 else
34617
34618
34619 ac_ext=cpp
34620 ac_cpp='$CXXCPP $CPPFLAGS'
34621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34624
34625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34626 /* end confdefs.h. */
34627 #include <math.h>
34628 #ifdef HAVE_IEEEFP_H
34629 #include <ieeefp.h>
34630 #endif
34631
34632 int
34633 main ()
34634 {
34635 isnanf(0);
34636 ;
34637 return 0;
34638 }
34639 _ACEOF
34640 if ac_fn_cxx_try_compile "$LINENO"; then :
34641 glibcxx_cv_func_isnanf_use=yes
34642 else
34643 glibcxx_cv_func_isnanf_use=no
34644 fi
34645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34646 ac_ext=c
34647 ac_cpp='$CPP $CPPFLAGS'
34648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34651
34652
34653 fi
34654
34655 fi
34656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
34657 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
34658
34659 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
34660 for ac_func in isnanf
34661 do :
34662 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
34663 if test "x$ac_cv_func_isnanf" = x""yes; then :
34664 cat >>confdefs.h <<_ACEOF
34665 #define HAVE_ISNANF 1
34666 _ACEOF
34667
34668 fi
34669 done
34670
34671 else
34672
34673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
34674 $as_echo_n "checking for _isnanf declaration... " >&6; }
34675 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
34676 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
34677 $as_echo_n "(cached) " >&6
34678 else
34679
34680
34681 ac_ext=cpp
34682 ac_cpp='$CXXCPP $CPPFLAGS'
34683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34686
34687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34688 /* end confdefs.h. */
34689 #include <math.h>
34690 #ifdef HAVE_IEEEFP_H
34691 #include <ieeefp.h>
34692 #endif
34693
34694 int
34695 main ()
34696 {
34697 _isnanf(0);
34698 ;
34699 return 0;
34700 }
34701 _ACEOF
34702 if ac_fn_cxx_try_compile "$LINENO"; then :
34703 glibcxx_cv_func__isnanf_use=yes
34704 else
34705 glibcxx_cv_func__isnanf_use=no
34706 fi
34707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34708 ac_ext=c
34709 ac_cpp='$CPP $CPPFLAGS'
34710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34713
34714
34715 fi
34716
34717 fi
34718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
34719 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
34720
34721 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
34722 for ac_func in _isnanf
34723 do :
34724 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
34725 if test "x$ac_cv_func__isnanf" = x""yes; then :
34726 cat >>confdefs.h <<_ACEOF
34727 #define HAVE__ISNANF 1
34728 _ACEOF
34729
34730 fi
34731 done
34732
34733 fi
34734 fi
34735
34736
34737
34738
34739
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
34741 $as_echo_n "checking for isinff declaration... " >&6; }
34742 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
34743 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
34744 $as_echo_n "(cached) " >&6
34745 else
34746
34747
34748 ac_ext=cpp
34749 ac_cpp='$CXXCPP $CPPFLAGS'
34750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34753
34754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34755 /* end confdefs.h. */
34756 #include <math.h>
34757 #ifdef HAVE_IEEEFP_H
34758 #include <ieeefp.h>
34759 #endif
34760
34761 int
34762 main ()
34763 {
34764 isinff(0);
34765 ;
34766 return 0;
34767 }
34768 _ACEOF
34769 if ac_fn_cxx_try_compile "$LINENO"; then :
34770 glibcxx_cv_func_isinff_use=yes
34771 else
34772 glibcxx_cv_func_isinff_use=no
34773 fi
34774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34775 ac_ext=c
34776 ac_cpp='$CPP $CPPFLAGS'
34777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34780
34781
34782 fi
34783
34784 fi
34785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
34786 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
34787
34788 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
34789 for ac_func in isinff
34790 do :
34791 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
34792 if test "x$ac_cv_func_isinff" = x""yes; then :
34793 cat >>confdefs.h <<_ACEOF
34794 #define HAVE_ISINFF 1
34795 _ACEOF
34796
34797 fi
34798 done
34799
34800 else
34801
34802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
34803 $as_echo_n "checking for _isinff declaration... " >&6; }
34804 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
34805 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
34806 $as_echo_n "(cached) " >&6
34807 else
34808
34809
34810 ac_ext=cpp
34811 ac_cpp='$CXXCPP $CPPFLAGS'
34812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34815
34816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34817 /* end confdefs.h. */
34818 #include <math.h>
34819 #ifdef HAVE_IEEEFP_H
34820 #include <ieeefp.h>
34821 #endif
34822
34823 int
34824 main ()
34825 {
34826 _isinff(0);
34827 ;
34828 return 0;
34829 }
34830 _ACEOF
34831 if ac_fn_cxx_try_compile "$LINENO"; then :
34832 glibcxx_cv_func__isinff_use=yes
34833 else
34834 glibcxx_cv_func__isinff_use=no
34835 fi
34836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34837 ac_ext=c
34838 ac_cpp='$CPP $CPPFLAGS'
34839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34842
34843
34844 fi
34845
34846 fi
34847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
34848 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
34849
34850 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
34851 for ac_func in _isinff
34852 do :
34853 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
34854 if test "x$ac_cv_func__isinff" = x""yes; then :
34855 cat >>confdefs.h <<_ACEOF
34856 #define HAVE__ISINFF 1
34857 _ACEOF
34858
34859 fi
34860 done
34861
34862 fi
34863 fi
34864
34865
34866
34867
34868
34869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
34870 $as_echo_n "checking for atan2f declaration... " >&6; }
34871 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
34872 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
34873 $as_echo_n "(cached) " >&6
34874 else
34875
34876
34877 ac_ext=cpp
34878 ac_cpp='$CXXCPP $CPPFLAGS'
34879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34882
34883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34884 /* end confdefs.h. */
34885 #include <math.h>
34886 int
34887 main ()
34888 {
34889 atan2f(0, 0);
34890 ;
34891 return 0;
34892 }
34893 _ACEOF
34894 if ac_fn_cxx_try_compile "$LINENO"; then :
34895 glibcxx_cv_func_atan2f_use=yes
34896 else
34897 glibcxx_cv_func_atan2f_use=no
34898 fi
34899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34900 ac_ext=c
34901 ac_cpp='$CPP $CPPFLAGS'
34902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34905
34906
34907 fi
34908
34909 fi
34910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
34911 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
34912
34913 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
34914 for ac_func in atan2f
34915 do :
34916 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
34917 if test "x$ac_cv_func_atan2f" = x""yes; then :
34918 cat >>confdefs.h <<_ACEOF
34919 #define HAVE_ATAN2F 1
34920 _ACEOF
34921
34922 fi
34923 done
34924
34925 else
34926
34927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
34928 $as_echo_n "checking for _atan2f declaration... " >&6; }
34929 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
34930 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
34931 $as_echo_n "(cached) " >&6
34932 else
34933
34934
34935 ac_ext=cpp
34936 ac_cpp='$CXXCPP $CPPFLAGS'
34937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34940
34941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34942 /* end confdefs.h. */
34943 #include <math.h>
34944 int
34945 main ()
34946 {
34947 _atan2f(0, 0);
34948 ;
34949 return 0;
34950 }
34951 _ACEOF
34952 if ac_fn_cxx_try_compile "$LINENO"; then :
34953 glibcxx_cv_func__atan2f_use=yes
34954 else
34955 glibcxx_cv_func__atan2f_use=no
34956 fi
34957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34958 ac_ext=c
34959 ac_cpp='$CPP $CPPFLAGS'
34960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34963
34964
34965 fi
34966
34967 fi
34968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
34969 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
34970
34971 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
34972 for ac_func in _atan2f
34973 do :
34974 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
34975 if test "x$ac_cv_func__atan2f" = x""yes; then :
34976 cat >>confdefs.h <<_ACEOF
34977 #define HAVE__ATAN2F 1
34978 _ACEOF
34979
34980 fi
34981 done
34982
34983 fi
34984 fi
34985
34986
34987
34988
34989
34990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
34991 $as_echo_n "checking for fabsf declaration... " >&6; }
34992 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
34993 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
34994 $as_echo_n "(cached) " >&6
34995 else
34996
34997
34998 ac_ext=cpp
34999 ac_cpp='$CXXCPP $CPPFLAGS'
35000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35003
35004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35005 /* end confdefs.h. */
35006 #include <math.h>
35007 #ifdef HAVE_IEEEFP_H
35008 #include <ieeefp.h>
35009 #endif
35010
35011 int
35012 main ()
35013 {
35014 fabsf(0);
35015 ;
35016 return 0;
35017 }
35018 _ACEOF
35019 if ac_fn_cxx_try_compile "$LINENO"; then :
35020 glibcxx_cv_func_fabsf_use=yes
35021 else
35022 glibcxx_cv_func_fabsf_use=no
35023 fi
35024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35025 ac_ext=c
35026 ac_cpp='$CPP $CPPFLAGS'
35027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35030
35031
35032 fi
35033
35034 fi
35035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35036 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35037
35038 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35039 for ac_func in fabsf
35040 do :
35041 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35042 if test "x$ac_cv_func_fabsf" = x""yes; then :
35043 cat >>confdefs.h <<_ACEOF
35044 #define HAVE_FABSF 1
35045 _ACEOF
35046
35047 fi
35048 done
35049
35050 else
35051
35052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35053 $as_echo_n "checking for _fabsf declaration... " >&6; }
35054 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35055 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35056 $as_echo_n "(cached) " >&6
35057 else
35058
35059
35060 ac_ext=cpp
35061 ac_cpp='$CXXCPP $CPPFLAGS'
35062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35065
35066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35067 /* end confdefs.h. */
35068 #include <math.h>
35069 #ifdef HAVE_IEEEFP_H
35070 #include <ieeefp.h>
35071 #endif
35072
35073 int
35074 main ()
35075 {
35076 _fabsf(0);
35077 ;
35078 return 0;
35079 }
35080 _ACEOF
35081 if ac_fn_cxx_try_compile "$LINENO"; then :
35082 glibcxx_cv_func__fabsf_use=yes
35083 else
35084 glibcxx_cv_func__fabsf_use=no
35085 fi
35086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35087 ac_ext=c
35088 ac_cpp='$CPP $CPPFLAGS'
35089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35092
35093
35094 fi
35095
35096 fi
35097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35098 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35099
35100 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35101 for ac_func in _fabsf
35102 do :
35103 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35104 if test "x$ac_cv_func__fabsf" = x""yes; then :
35105 cat >>confdefs.h <<_ACEOF
35106 #define HAVE__FABSF 1
35107 _ACEOF
35108
35109 fi
35110 done
35111
35112 fi
35113 fi
35114
35115
35116
35117
35118
35119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35120 $as_echo_n "checking for fmodf declaration... " >&6; }
35121 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35122 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35123 $as_echo_n "(cached) " >&6
35124 else
35125
35126
35127 ac_ext=cpp
35128 ac_cpp='$CXXCPP $CPPFLAGS'
35129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35132
35133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35134 /* end confdefs.h. */
35135 #include <math.h>
35136 int
35137 main ()
35138 {
35139 fmodf(0, 0);
35140 ;
35141 return 0;
35142 }
35143 _ACEOF
35144 if ac_fn_cxx_try_compile "$LINENO"; then :
35145 glibcxx_cv_func_fmodf_use=yes
35146 else
35147 glibcxx_cv_func_fmodf_use=no
35148 fi
35149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35150 ac_ext=c
35151 ac_cpp='$CPP $CPPFLAGS'
35152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35155
35156
35157 fi
35158
35159 fi
35160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35161 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35162
35163 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35164 for ac_func in fmodf
35165 do :
35166 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35167 if test "x$ac_cv_func_fmodf" = x""yes; then :
35168 cat >>confdefs.h <<_ACEOF
35169 #define HAVE_FMODF 1
35170 _ACEOF
35171
35172 fi
35173 done
35174
35175 else
35176
35177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35178 $as_echo_n "checking for _fmodf declaration... " >&6; }
35179 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35180 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35181 $as_echo_n "(cached) " >&6
35182 else
35183
35184
35185 ac_ext=cpp
35186 ac_cpp='$CXXCPP $CPPFLAGS'
35187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35190
35191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35192 /* end confdefs.h. */
35193 #include <math.h>
35194 int
35195 main ()
35196 {
35197 _fmodf(0, 0);
35198 ;
35199 return 0;
35200 }
35201 _ACEOF
35202 if ac_fn_cxx_try_compile "$LINENO"; then :
35203 glibcxx_cv_func__fmodf_use=yes
35204 else
35205 glibcxx_cv_func__fmodf_use=no
35206 fi
35207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35208 ac_ext=c
35209 ac_cpp='$CPP $CPPFLAGS'
35210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35213
35214
35215 fi
35216
35217 fi
35218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35219 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35220
35221 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35222 for ac_func in _fmodf
35223 do :
35224 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35225 if test "x$ac_cv_func__fmodf" = x""yes; then :
35226 cat >>confdefs.h <<_ACEOF
35227 #define HAVE__FMODF 1
35228 _ACEOF
35229
35230 fi
35231 done
35232
35233 fi
35234 fi
35235
35236
35237
35238
35239
35240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35241 $as_echo_n "checking for frexpf declaration... " >&6; }
35242 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35243 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35244 $as_echo_n "(cached) " >&6
35245 else
35246
35247
35248 ac_ext=cpp
35249 ac_cpp='$CXXCPP $CPPFLAGS'
35250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35253
35254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35255 /* end confdefs.h. */
35256 #include <math.h>
35257 int
35258 main ()
35259 {
35260 frexpf(0, 0);
35261 ;
35262 return 0;
35263 }
35264 _ACEOF
35265 if ac_fn_cxx_try_compile "$LINENO"; then :
35266 glibcxx_cv_func_frexpf_use=yes
35267 else
35268 glibcxx_cv_func_frexpf_use=no
35269 fi
35270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35271 ac_ext=c
35272 ac_cpp='$CPP $CPPFLAGS'
35273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35276
35277
35278 fi
35279
35280 fi
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
35282 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
35283
35284 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
35285 for ac_func in frexpf
35286 do :
35287 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
35288 if test "x$ac_cv_func_frexpf" = x""yes; then :
35289 cat >>confdefs.h <<_ACEOF
35290 #define HAVE_FREXPF 1
35291 _ACEOF
35292
35293 fi
35294 done
35295
35296 else
35297
35298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
35299 $as_echo_n "checking for _frexpf declaration... " >&6; }
35300 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
35301 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
35302 $as_echo_n "(cached) " >&6
35303 else
35304
35305
35306 ac_ext=cpp
35307 ac_cpp='$CXXCPP $CPPFLAGS'
35308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35311
35312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35313 /* end confdefs.h. */
35314 #include <math.h>
35315 int
35316 main ()
35317 {
35318 _frexpf(0, 0);
35319 ;
35320 return 0;
35321 }
35322 _ACEOF
35323 if ac_fn_cxx_try_compile "$LINENO"; then :
35324 glibcxx_cv_func__frexpf_use=yes
35325 else
35326 glibcxx_cv_func__frexpf_use=no
35327 fi
35328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35329 ac_ext=c
35330 ac_cpp='$CPP $CPPFLAGS'
35331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35334
35335
35336 fi
35337
35338 fi
35339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
35340 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
35341
35342 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
35343 for ac_func in _frexpf
35344 do :
35345 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
35346 if test "x$ac_cv_func__frexpf" = x""yes; then :
35347 cat >>confdefs.h <<_ACEOF
35348 #define HAVE__FREXPF 1
35349 _ACEOF
35350
35351 fi
35352 done
35353
35354 fi
35355 fi
35356
35357
35358
35359
35360
35361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
35362 $as_echo_n "checking for hypotf declaration... " >&6; }
35363 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
35364 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
35365 $as_echo_n "(cached) " >&6
35366 else
35367
35368
35369 ac_ext=cpp
35370 ac_cpp='$CXXCPP $CPPFLAGS'
35371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35374
35375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35376 /* end confdefs.h. */
35377 #include <math.h>
35378 int
35379 main ()
35380 {
35381 hypotf(0, 0);
35382 ;
35383 return 0;
35384 }
35385 _ACEOF
35386 if ac_fn_cxx_try_compile "$LINENO"; then :
35387 glibcxx_cv_func_hypotf_use=yes
35388 else
35389 glibcxx_cv_func_hypotf_use=no
35390 fi
35391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35392 ac_ext=c
35393 ac_cpp='$CPP $CPPFLAGS'
35394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35397
35398
35399 fi
35400
35401 fi
35402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
35403 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
35404
35405 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
35406 for ac_func in hypotf
35407 do :
35408 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
35409 if test "x$ac_cv_func_hypotf" = x""yes; then :
35410 cat >>confdefs.h <<_ACEOF
35411 #define HAVE_HYPOTF 1
35412 _ACEOF
35413
35414 fi
35415 done
35416
35417 else
35418
35419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
35420 $as_echo_n "checking for _hypotf declaration... " >&6; }
35421 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
35422 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
35423 $as_echo_n "(cached) " >&6
35424 else
35425
35426
35427 ac_ext=cpp
35428 ac_cpp='$CXXCPP $CPPFLAGS'
35429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35432
35433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35434 /* end confdefs.h. */
35435 #include <math.h>
35436 int
35437 main ()
35438 {
35439 _hypotf(0, 0);
35440 ;
35441 return 0;
35442 }
35443 _ACEOF
35444 if ac_fn_cxx_try_compile "$LINENO"; then :
35445 glibcxx_cv_func__hypotf_use=yes
35446 else
35447 glibcxx_cv_func__hypotf_use=no
35448 fi
35449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35450 ac_ext=c
35451 ac_cpp='$CPP $CPPFLAGS'
35452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35455
35456
35457 fi
35458
35459 fi
35460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
35461 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
35462
35463 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
35464 for ac_func in _hypotf
35465 do :
35466 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
35467 if test "x$ac_cv_func__hypotf" = x""yes; then :
35468 cat >>confdefs.h <<_ACEOF
35469 #define HAVE__HYPOTF 1
35470 _ACEOF
35471
35472 fi
35473 done
35474
35475 fi
35476 fi
35477
35478
35479
35480
35481
35482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
35483 $as_echo_n "checking for ldexpf declaration... " >&6; }
35484 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
35485 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
35486 $as_echo_n "(cached) " >&6
35487 else
35488
35489
35490 ac_ext=cpp
35491 ac_cpp='$CXXCPP $CPPFLAGS'
35492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35495
35496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35497 /* end confdefs.h. */
35498 #include <math.h>
35499 int
35500 main ()
35501 {
35502 ldexpf(0, 0);
35503 ;
35504 return 0;
35505 }
35506 _ACEOF
35507 if ac_fn_cxx_try_compile "$LINENO"; then :
35508 glibcxx_cv_func_ldexpf_use=yes
35509 else
35510 glibcxx_cv_func_ldexpf_use=no
35511 fi
35512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35513 ac_ext=c
35514 ac_cpp='$CPP $CPPFLAGS'
35515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35518
35519
35520 fi
35521
35522 fi
35523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
35524 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
35525
35526 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
35527 for ac_func in ldexpf
35528 do :
35529 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
35530 if test "x$ac_cv_func_ldexpf" = x""yes; then :
35531 cat >>confdefs.h <<_ACEOF
35532 #define HAVE_LDEXPF 1
35533 _ACEOF
35534
35535 fi
35536 done
35537
35538 else
35539
35540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
35541 $as_echo_n "checking for _ldexpf declaration... " >&6; }
35542 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
35543 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
35544 $as_echo_n "(cached) " >&6
35545 else
35546
35547
35548 ac_ext=cpp
35549 ac_cpp='$CXXCPP $CPPFLAGS'
35550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35553
35554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35555 /* end confdefs.h. */
35556 #include <math.h>
35557 int
35558 main ()
35559 {
35560 _ldexpf(0, 0);
35561 ;
35562 return 0;
35563 }
35564 _ACEOF
35565 if ac_fn_cxx_try_compile "$LINENO"; then :
35566 glibcxx_cv_func__ldexpf_use=yes
35567 else
35568 glibcxx_cv_func__ldexpf_use=no
35569 fi
35570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35571 ac_ext=c
35572 ac_cpp='$CPP $CPPFLAGS'
35573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35576
35577
35578 fi
35579
35580 fi
35581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
35582 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
35583
35584 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
35585 for ac_func in _ldexpf
35586 do :
35587 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
35588 if test "x$ac_cv_func__ldexpf" = x""yes; then :
35589 cat >>confdefs.h <<_ACEOF
35590 #define HAVE__LDEXPF 1
35591 _ACEOF
35592
35593 fi
35594 done
35595
35596 fi
35597 fi
35598
35599
35600
35601
35602
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
35604 $as_echo_n "checking for logf declaration... " >&6; }
35605 if test x${glibcxx_cv_func_logf_use+set} != xset; then
35606 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
35607 $as_echo_n "(cached) " >&6
35608 else
35609
35610
35611 ac_ext=cpp
35612 ac_cpp='$CXXCPP $CPPFLAGS'
35613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35616
35617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35618 /* end confdefs.h. */
35619 #include <math.h>
35620 #ifdef HAVE_IEEEFP_H
35621 #include <ieeefp.h>
35622 #endif
35623
35624 int
35625 main ()
35626 {
35627 logf(0);
35628 ;
35629 return 0;
35630 }
35631 _ACEOF
35632 if ac_fn_cxx_try_compile "$LINENO"; then :
35633 glibcxx_cv_func_logf_use=yes
35634 else
35635 glibcxx_cv_func_logf_use=no
35636 fi
35637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35638 ac_ext=c
35639 ac_cpp='$CPP $CPPFLAGS'
35640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35643
35644
35645 fi
35646
35647 fi
35648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
35649 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
35650
35651 if test x$glibcxx_cv_func_logf_use = x"yes"; then
35652 for ac_func in logf
35653 do :
35654 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
35655 if test "x$ac_cv_func_logf" = x""yes; then :
35656 cat >>confdefs.h <<_ACEOF
35657 #define HAVE_LOGF 1
35658 _ACEOF
35659
35660 fi
35661 done
35662
35663 else
35664
35665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
35666 $as_echo_n "checking for _logf declaration... " >&6; }
35667 if test x${glibcxx_cv_func__logf_use+set} != xset; then
35668 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
35669 $as_echo_n "(cached) " >&6
35670 else
35671
35672
35673 ac_ext=cpp
35674 ac_cpp='$CXXCPP $CPPFLAGS'
35675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35678
35679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35680 /* end confdefs.h. */
35681 #include <math.h>
35682 #ifdef HAVE_IEEEFP_H
35683 #include <ieeefp.h>
35684 #endif
35685
35686 int
35687 main ()
35688 {
35689 _logf(0);
35690 ;
35691 return 0;
35692 }
35693 _ACEOF
35694 if ac_fn_cxx_try_compile "$LINENO"; then :
35695 glibcxx_cv_func__logf_use=yes
35696 else
35697 glibcxx_cv_func__logf_use=no
35698 fi
35699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35700 ac_ext=c
35701 ac_cpp='$CPP $CPPFLAGS'
35702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35705
35706
35707 fi
35708
35709 fi
35710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
35711 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
35712
35713 if test x$glibcxx_cv_func__logf_use = x"yes"; then
35714 for ac_func in _logf
35715 do :
35716 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
35717 if test "x$ac_cv_func__logf" = x""yes; then :
35718 cat >>confdefs.h <<_ACEOF
35719 #define HAVE__LOGF 1
35720 _ACEOF
35721
35722 fi
35723 done
35724
35725 fi
35726 fi
35727
35728
35729
35730
35731
35732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
35733 $as_echo_n "checking for log10f declaration... " >&6; }
35734 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
35735 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
35736 $as_echo_n "(cached) " >&6
35737 else
35738
35739
35740 ac_ext=cpp
35741 ac_cpp='$CXXCPP $CPPFLAGS'
35742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35745
35746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35747 /* end confdefs.h. */
35748 #include <math.h>
35749 #ifdef HAVE_IEEEFP_H
35750 #include <ieeefp.h>
35751 #endif
35752
35753 int
35754 main ()
35755 {
35756 log10f(0);
35757 ;
35758 return 0;
35759 }
35760 _ACEOF
35761 if ac_fn_cxx_try_compile "$LINENO"; then :
35762 glibcxx_cv_func_log10f_use=yes
35763 else
35764 glibcxx_cv_func_log10f_use=no
35765 fi
35766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35767 ac_ext=c
35768 ac_cpp='$CPP $CPPFLAGS'
35769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35772
35773
35774 fi
35775
35776 fi
35777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
35778 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
35779
35780 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
35781 for ac_func in log10f
35782 do :
35783 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
35784 if test "x$ac_cv_func_log10f" = x""yes; then :
35785 cat >>confdefs.h <<_ACEOF
35786 #define HAVE_LOG10F 1
35787 _ACEOF
35788
35789 fi
35790 done
35791
35792 else
35793
35794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
35795 $as_echo_n "checking for _log10f declaration... " >&6; }
35796 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
35797 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
35798 $as_echo_n "(cached) " >&6
35799 else
35800
35801
35802 ac_ext=cpp
35803 ac_cpp='$CXXCPP $CPPFLAGS'
35804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35807
35808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35809 /* end confdefs.h. */
35810 #include <math.h>
35811 #ifdef HAVE_IEEEFP_H
35812 #include <ieeefp.h>
35813 #endif
35814
35815 int
35816 main ()
35817 {
35818 _log10f(0);
35819 ;
35820 return 0;
35821 }
35822 _ACEOF
35823 if ac_fn_cxx_try_compile "$LINENO"; then :
35824 glibcxx_cv_func__log10f_use=yes
35825 else
35826 glibcxx_cv_func__log10f_use=no
35827 fi
35828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35829 ac_ext=c
35830 ac_cpp='$CPP $CPPFLAGS'
35831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35834
35835
35836 fi
35837
35838 fi
35839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
35840 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
35841
35842 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
35843 for ac_func in _log10f
35844 do :
35845 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
35846 if test "x$ac_cv_func__log10f" = x""yes; then :
35847 cat >>confdefs.h <<_ACEOF
35848 #define HAVE__LOG10F 1
35849 _ACEOF
35850
35851 fi
35852 done
35853
35854 fi
35855 fi
35856
35857
35858
35859
35860
35861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
35862 $as_echo_n "checking for modff declaration... " >&6; }
35863 if test x${glibcxx_cv_func_modff_use+set} != xset; then
35864 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
35865 $as_echo_n "(cached) " >&6
35866 else
35867
35868
35869 ac_ext=cpp
35870 ac_cpp='$CXXCPP $CPPFLAGS'
35871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35874
35875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35876 /* end confdefs.h. */
35877 #include <math.h>
35878 int
35879 main ()
35880 {
35881 modff(0, 0);
35882 ;
35883 return 0;
35884 }
35885 _ACEOF
35886 if ac_fn_cxx_try_compile "$LINENO"; then :
35887 glibcxx_cv_func_modff_use=yes
35888 else
35889 glibcxx_cv_func_modff_use=no
35890 fi
35891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35892 ac_ext=c
35893 ac_cpp='$CPP $CPPFLAGS'
35894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35897
35898
35899 fi
35900
35901 fi
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
35903 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
35904
35905 if test x$glibcxx_cv_func_modff_use = x"yes"; then
35906 for ac_func in modff
35907 do :
35908 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
35909 if test "x$ac_cv_func_modff" = x""yes; then :
35910 cat >>confdefs.h <<_ACEOF
35911 #define HAVE_MODFF 1
35912 _ACEOF
35913
35914 fi
35915 done
35916
35917 else
35918
35919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
35920 $as_echo_n "checking for _modff declaration... " >&6; }
35921 if test x${glibcxx_cv_func__modff_use+set} != xset; then
35922 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
35923 $as_echo_n "(cached) " >&6
35924 else
35925
35926
35927 ac_ext=cpp
35928 ac_cpp='$CXXCPP $CPPFLAGS'
35929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35932
35933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35934 /* end confdefs.h. */
35935 #include <math.h>
35936 int
35937 main ()
35938 {
35939 _modff(0, 0);
35940 ;
35941 return 0;
35942 }
35943 _ACEOF
35944 if ac_fn_cxx_try_compile "$LINENO"; then :
35945 glibcxx_cv_func__modff_use=yes
35946 else
35947 glibcxx_cv_func__modff_use=no
35948 fi
35949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35950 ac_ext=c
35951 ac_cpp='$CPP $CPPFLAGS'
35952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35955
35956
35957 fi
35958
35959 fi
35960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
35961 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
35962
35963 if test x$glibcxx_cv_func__modff_use = x"yes"; then
35964 for ac_func in _modff
35965 do :
35966 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
35967 if test "x$ac_cv_func__modff" = x""yes; then :
35968 cat >>confdefs.h <<_ACEOF
35969 #define HAVE__MODFF 1
35970 _ACEOF
35971
35972 fi
35973 done
35974
35975 fi
35976 fi
35977
35978
35979
35980
35981
35982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
35983 $as_echo_n "checking for modf declaration... " >&6; }
35984 if test x${glibcxx_cv_func_modf_use+set} != xset; then
35985 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
35986 $as_echo_n "(cached) " >&6
35987 else
35988
35989
35990 ac_ext=cpp
35991 ac_cpp='$CXXCPP $CPPFLAGS'
35992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35995
35996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35997 /* end confdefs.h. */
35998 #include <math.h>
35999 int
36000 main ()
36001 {
36002 modf(0, 0);
36003 ;
36004 return 0;
36005 }
36006 _ACEOF
36007 if ac_fn_cxx_try_compile "$LINENO"; then :
36008 glibcxx_cv_func_modf_use=yes
36009 else
36010 glibcxx_cv_func_modf_use=no
36011 fi
36012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36013 ac_ext=c
36014 ac_cpp='$CPP $CPPFLAGS'
36015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36018
36019
36020 fi
36021
36022 fi
36023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36024 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36025
36026 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36027 for ac_func in modf
36028 do :
36029 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36030 if test "x$ac_cv_func_modf" = x""yes; then :
36031 cat >>confdefs.h <<_ACEOF
36032 #define HAVE_MODF 1
36033 _ACEOF
36034
36035 fi
36036 done
36037
36038 else
36039
36040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36041 $as_echo_n "checking for _modf declaration... " >&6; }
36042 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36043 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36044 $as_echo_n "(cached) " >&6
36045 else
36046
36047
36048 ac_ext=cpp
36049 ac_cpp='$CXXCPP $CPPFLAGS'
36050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36053
36054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36055 /* end confdefs.h. */
36056 #include <math.h>
36057 int
36058 main ()
36059 {
36060 _modf(0, 0);
36061 ;
36062 return 0;
36063 }
36064 _ACEOF
36065 if ac_fn_cxx_try_compile "$LINENO"; then :
36066 glibcxx_cv_func__modf_use=yes
36067 else
36068 glibcxx_cv_func__modf_use=no
36069 fi
36070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36071 ac_ext=c
36072 ac_cpp='$CPP $CPPFLAGS'
36073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36076
36077
36078 fi
36079
36080 fi
36081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36082 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36083
36084 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36085 for ac_func in _modf
36086 do :
36087 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36088 if test "x$ac_cv_func__modf" = x""yes; then :
36089 cat >>confdefs.h <<_ACEOF
36090 #define HAVE__MODF 1
36091 _ACEOF
36092
36093 fi
36094 done
36095
36096 fi
36097 fi
36098
36099
36100
36101
36102
36103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36104 $as_echo_n "checking for powf declaration... " >&6; }
36105 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36106 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36107 $as_echo_n "(cached) " >&6
36108 else
36109
36110
36111 ac_ext=cpp
36112 ac_cpp='$CXXCPP $CPPFLAGS'
36113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36116
36117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36118 /* end confdefs.h. */
36119 #include <math.h>
36120 int
36121 main ()
36122 {
36123 powf(0, 0);
36124 ;
36125 return 0;
36126 }
36127 _ACEOF
36128 if ac_fn_cxx_try_compile "$LINENO"; then :
36129 glibcxx_cv_func_powf_use=yes
36130 else
36131 glibcxx_cv_func_powf_use=no
36132 fi
36133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36134 ac_ext=c
36135 ac_cpp='$CPP $CPPFLAGS'
36136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36139
36140
36141 fi
36142
36143 fi
36144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36145 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36146
36147 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36148 for ac_func in powf
36149 do :
36150 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36151 if test "x$ac_cv_func_powf" = x""yes; then :
36152 cat >>confdefs.h <<_ACEOF
36153 #define HAVE_POWF 1
36154 _ACEOF
36155
36156 fi
36157 done
36158
36159 else
36160
36161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36162 $as_echo_n "checking for _powf declaration... " >&6; }
36163 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36164 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36165 $as_echo_n "(cached) " >&6
36166 else
36167
36168
36169 ac_ext=cpp
36170 ac_cpp='$CXXCPP $CPPFLAGS'
36171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36174
36175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36176 /* end confdefs.h. */
36177 #include <math.h>
36178 int
36179 main ()
36180 {
36181 _powf(0, 0);
36182 ;
36183 return 0;
36184 }
36185 _ACEOF
36186 if ac_fn_cxx_try_compile "$LINENO"; then :
36187 glibcxx_cv_func__powf_use=yes
36188 else
36189 glibcxx_cv_func__powf_use=no
36190 fi
36191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36192 ac_ext=c
36193 ac_cpp='$CPP $CPPFLAGS'
36194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36197
36198
36199 fi
36200
36201 fi
36202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36203 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36204
36205 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36206 for ac_func in _powf
36207 do :
36208 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36209 if test "x$ac_cv_func__powf" = x""yes; then :
36210 cat >>confdefs.h <<_ACEOF
36211 #define HAVE__POWF 1
36212 _ACEOF
36213
36214 fi
36215 done
36216
36217 fi
36218 fi
36219
36220
36221
36222
36223
36224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36225 $as_echo_n "checking for sqrtf declaration... " >&6; }
36226 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36227 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36228 $as_echo_n "(cached) " >&6
36229 else
36230
36231
36232 ac_ext=cpp
36233 ac_cpp='$CXXCPP $CPPFLAGS'
36234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36237
36238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36239 /* end confdefs.h. */
36240 #include <math.h>
36241 #ifdef HAVE_IEEEFP_H
36242 #include <ieeefp.h>
36243 #endif
36244
36245 int
36246 main ()
36247 {
36248 sqrtf(0);
36249 ;
36250 return 0;
36251 }
36252 _ACEOF
36253 if ac_fn_cxx_try_compile "$LINENO"; then :
36254 glibcxx_cv_func_sqrtf_use=yes
36255 else
36256 glibcxx_cv_func_sqrtf_use=no
36257 fi
36258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36259 ac_ext=c
36260 ac_cpp='$CPP $CPPFLAGS'
36261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36264
36265
36266 fi
36267
36268 fi
36269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
36270 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
36271
36272 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
36273 for ac_func in sqrtf
36274 do :
36275 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
36276 if test "x$ac_cv_func_sqrtf" = x""yes; then :
36277 cat >>confdefs.h <<_ACEOF
36278 #define HAVE_SQRTF 1
36279 _ACEOF
36280
36281 fi
36282 done
36283
36284 else
36285
36286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
36287 $as_echo_n "checking for _sqrtf declaration... " >&6; }
36288 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
36289 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
36290 $as_echo_n "(cached) " >&6
36291 else
36292
36293
36294 ac_ext=cpp
36295 ac_cpp='$CXXCPP $CPPFLAGS'
36296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36299
36300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36301 /* end confdefs.h. */
36302 #include <math.h>
36303 #ifdef HAVE_IEEEFP_H
36304 #include <ieeefp.h>
36305 #endif
36306
36307 int
36308 main ()
36309 {
36310 _sqrtf(0);
36311 ;
36312 return 0;
36313 }
36314 _ACEOF
36315 if ac_fn_cxx_try_compile "$LINENO"; then :
36316 glibcxx_cv_func__sqrtf_use=yes
36317 else
36318 glibcxx_cv_func__sqrtf_use=no
36319 fi
36320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36321 ac_ext=c
36322 ac_cpp='$CPP $CPPFLAGS'
36323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36326
36327
36328 fi
36329
36330 fi
36331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
36332 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
36333
36334 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
36335 for ac_func in _sqrtf
36336 do :
36337 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
36338 if test "x$ac_cv_func__sqrtf" = x""yes; then :
36339 cat >>confdefs.h <<_ACEOF
36340 #define HAVE__SQRTF 1
36341 _ACEOF
36342
36343 fi
36344 done
36345
36346 fi
36347 fi
36348
36349
36350
36351
36352
36353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
36354 $as_echo_n "checking for sincosf declaration... " >&6; }
36355 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
36356 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
36357 $as_echo_n "(cached) " >&6
36358 else
36359
36360
36361 ac_ext=cpp
36362 ac_cpp='$CXXCPP $CPPFLAGS'
36363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36366
36367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36368 /* end confdefs.h. */
36369 #include <math.h>
36370 int
36371 main ()
36372 {
36373 sincosf(0, 0, 0);
36374 ;
36375 return 0;
36376 }
36377 _ACEOF
36378 if ac_fn_cxx_try_compile "$LINENO"; then :
36379 glibcxx_cv_func_sincosf_use=yes
36380 else
36381 glibcxx_cv_func_sincosf_use=no
36382 fi
36383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36384 ac_ext=c
36385 ac_cpp='$CPP $CPPFLAGS'
36386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36389
36390
36391 fi
36392
36393 fi
36394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
36395 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
36396
36397 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
36398 for ac_func in sincosf
36399 do :
36400 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
36401 if test "x$ac_cv_func_sincosf" = x""yes; then :
36402 cat >>confdefs.h <<_ACEOF
36403 #define HAVE_SINCOSF 1
36404 _ACEOF
36405
36406 fi
36407 done
36408
36409 else
36410
36411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
36412 $as_echo_n "checking for _sincosf declaration... " >&6; }
36413 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
36414 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
36415 $as_echo_n "(cached) " >&6
36416 else
36417
36418
36419 ac_ext=cpp
36420 ac_cpp='$CXXCPP $CPPFLAGS'
36421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36424
36425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36426 /* end confdefs.h. */
36427 #include <math.h>
36428 int
36429 main ()
36430 {
36431 _sincosf(0, 0, 0);
36432 ;
36433 return 0;
36434 }
36435 _ACEOF
36436 if ac_fn_cxx_try_compile "$LINENO"; then :
36437 glibcxx_cv_func__sincosf_use=yes
36438 else
36439 glibcxx_cv_func__sincosf_use=no
36440 fi
36441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36442 ac_ext=c
36443 ac_cpp='$CPP $CPPFLAGS'
36444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36447
36448
36449 fi
36450
36451 fi
36452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
36453 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
36454
36455 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
36456 for ac_func in _sincosf
36457 do :
36458 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
36459 if test "x$ac_cv_func__sincosf" = x""yes; then :
36460 cat >>confdefs.h <<_ACEOF
36461 #define HAVE__SINCOSF 1
36462 _ACEOF
36463
36464 fi
36465 done
36466
36467 fi
36468 fi
36469
36470
36471
36472
36473
36474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
36475 $as_echo_n "checking for finitef declaration... " >&6; }
36476 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
36477 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
36478 $as_echo_n "(cached) " >&6
36479 else
36480
36481
36482 ac_ext=cpp
36483 ac_cpp='$CXXCPP $CPPFLAGS'
36484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36487
36488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36489 /* end confdefs.h. */
36490 #include <math.h>
36491 #ifdef HAVE_IEEEFP_H
36492 #include <ieeefp.h>
36493 #endif
36494
36495 int
36496 main ()
36497 {
36498 finitef(0);
36499 ;
36500 return 0;
36501 }
36502 _ACEOF
36503 if ac_fn_cxx_try_compile "$LINENO"; then :
36504 glibcxx_cv_func_finitef_use=yes
36505 else
36506 glibcxx_cv_func_finitef_use=no
36507 fi
36508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36509 ac_ext=c
36510 ac_cpp='$CPP $CPPFLAGS'
36511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36514
36515
36516 fi
36517
36518 fi
36519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
36520 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
36521
36522 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
36523 for ac_func in finitef
36524 do :
36525 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
36526 if test "x$ac_cv_func_finitef" = x""yes; then :
36527 cat >>confdefs.h <<_ACEOF
36528 #define HAVE_FINITEF 1
36529 _ACEOF
36530
36531 fi
36532 done
36533
36534 else
36535
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
36537 $as_echo_n "checking for _finitef declaration... " >&6; }
36538 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
36539 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
36540 $as_echo_n "(cached) " >&6
36541 else
36542
36543
36544 ac_ext=cpp
36545 ac_cpp='$CXXCPP $CPPFLAGS'
36546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36549
36550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36551 /* end confdefs.h. */
36552 #include <math.h>
36553 #ifdef HAVE_IEEEFP_H
36554 #include <ieeefp.h>
36555 #endif
36556
36557 int
36558 main ()
36559 {
36560 _finitef(0);
36561 ;
36562 return 0;
36563 }
36564 _ACEOF
36565 if ac_fn_cxx_try_compile "$LINENO"; then :
36566 glibcxx_cv_func__finitef_use=yes
36567 else
36568 glibcxx_cv_func__finitef_use=no
36569 fi
36570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36571 ac_ext=c
36572 ac_cpp='$CPP $CPPFLAGS'
36573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36576
36577
36578 fi
36579
36580 fi
36581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
36582 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
36583
36584 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
36585 for ac_func in _finitef
36586 do :
36587 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
36588 if test "x$ac_cv_func__finitef" = x""yes; then :
36589 cat >>confdefs.h <<_ACEOF
36590 #define HAVE__FINITEF 1
36591 _ACEOF
36592
36593 fi
36594 done
36595
36596 fi
36597 fi
36598
36599
36600
36601
36602
36603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
36604 $as_echo_n "checking for long double trig functions... " >&6; }
36605 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
36606 $as_echo_n "(cached) " >&6
36607 else
36608
36609
36610 ac_ext=cpp
36611 ac_cpp='$CXXCPP $CPPFLAGS'
36612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36615
36616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36617 /* end confdefs.h. */
36618 #include <math.h>
36619 int
36620 main ()
36621 {
36622 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
36623 ;
36624 return 0;
36625 }
36626 _ACEOF
36627 if ac_fn_cxx_try_compile "$LINENO"; then :
36628 glibcxx_cv_func_long_double_trig_use=yes
36629 else
36630 glibcxx_cv_func_long_double_trig_use=no
36631 fi
36632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36633 ac_ext=c
36634 ac_cpp='$CPP $CPPFLAGS'
36635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638
36639 fi
36640
36641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
36642 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
36643 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
36644 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
36645 do :
36646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36648 eval as_val=\$$as_ac_var
36649 if test "x$as_val" = x""yes; then :
36650 cat >>confdefs.h <<_ACEOF
36651 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36652 _ACEOF
36653
36654 fi
36655 done
36656
36657 else
36658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
36659 $as_echo_n "checking for _long double trig functions... " >&6; }
36660 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
36661 $as_echo_n "(cached) " >&6
36662 else
36663
36664
36665 ac_ext=cpp
36666 ac_cpp='$CXXCPP $CPPFLAGS'
36667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36670
36671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36672 /* end confdefs.h. */
36673 #include <math.h>
36674 int
36675 main ()
36676 {
36677 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
36678 ;
36679 return 0;
36680 }
36681 _ACEOF
36682 if ac_fn_cxx_try_compile "$LINENO"; then :
36683 glibcxx_cv_func__long_double_trig_use=yes
36684 else
36685 glibcxx_cv_func__long_double_trig_use=no
36686 fi
36687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36688 ac_ext=c
36689 ac_cpp='$CPP $CPPFLAGS'
36690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36693
36694 fi
36695
36696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
36697 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
36698 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
36699 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
36700 do :
36701 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36702 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36703 eval as_val=\$$as_ac_var
36704 if test "x$as_val" = x""yes; then :
36705 cat >>confdefs.h <<_ACEOF
36706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36707 _ACEOF
36708
36709 fi
36710 done
36711
36712 fi
36713 fi
36714
36715
36716
36717
36718
36719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
36720 $as_echo_n "checking for long double round functions... " >&6; }
36721 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
36722 $as_echo_n "(cached) " >&6
36723 else
36724
36725
36726 ac_ext=cpp
36727 ac_cpp='$CXXCPP $CPPFLAGS'
36728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36731
36732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36733 /* end confdefs.h. */
36734 #include <math.h>
36735 int
36736 main ()
36737 {
36738 ceill (0); floorl (0);
36739 ;
36740 return 0;
36741 }
36742 _ACEOF
36743 if ac_fn_cxx_try_compile "$LINENO"; then :
36744 glibcxx_cv_func_long_double_round_use=yes
36745 else
36746 glibcxx_cv_func_long_double_round_use=no
36747 fi
36748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36749 ac_ext=c
36750 ac_cpp='$CPP $CPPFLAGS'
36751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36754
36755 fi
36756
36757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
36758 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
36759 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
36760 for ac_func in ceill floorl
36761 do :
36762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36764 eval as_val=\$$as_ac_var
36765 if test "x$as_val" = x""yes; then :
36766 cat >>confdefs.h <<_ACEOF
36767 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36768 _ACEOF
36769
36770 fi
36771 done
36772
36773 else
36774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
36775 $as_echo_n "checking for _long double round functions... " >&6; }
36776 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
36777 $as_echo_n "(cached) " >&6
36778 else
36779
36780
36781 ac_ext=cpp
36782 ac_cpp='$CXXCPP $CPPFLAGS'
36783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36786
36787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36788 /* end confdefs.h. */
36789 #include <math.h>
36790 int
36791 main ()
36792 {
36793 _ceill (0); _floorl (0);
36794 ;
36795 return 0;
36796 }
36797 _ACEOF
36798 if ac_fn_cxx_try_compile "$LINENO"; then :
36799 glibcxx_cv_func__long_double_round_use=yes
36800 else
36801 glibcxx_cv_func__long_double_round_use=no
36802 fi
36803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36804 ac_ext=c
36805 ac_cpp='$CPP $CPPFLAGS'
36806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36809
36810 fi
36811
36812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
36813 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
36814 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
36815 for ac_func in _ceill _floorl
36816 do :
36817 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36818 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36819 eval as_val=\$$as_ac_var
36820 if test "x$as_val" = x""yes; then :
36821 cat >>confdefs.h <<_ACEOF
36822 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36823 _ACEOF
36824
36825 fi
36826 done
36827
36828 fi
36829 fi
36830
36831
36832
36833
36834
36835
36836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
36837 $as_echo_n "checking for isnanl declaration... " >&6; }
36838 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
36839 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
36840 $as_echo_n "(cached) " >&6
36841 else
36842
36843
36844 ac_ext=cpp
36845 ac_cpp='$CXXCPP $CPPFLAGS'
36846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36849
36850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36851 /* end confdefs.h. */
36852 #include <math.h>
36853 #ifdef HAVE_IEEEFP_H
36854 #include <ieeefp.h>
36855 #endif
36856
36857 int
36858 main ()
36859 {
36860 isnanl(0);
36861 ;
36862 return 0;
36863 }
36864 _ACEOF
36865 if ac_fn_cxx_try_compile "$LINENO"; then :
36866 glibcxx_cv_func_isnanl_use=yes
36867 else
36868 glibcxx_cv_func_isnanl_use=no
36869 fi
36870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36871 ac_ext=c
36872 ac_cpp='$CPP $CPPFLAGS'
36873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36876
36877
36878 fi
36879
36880 fi
36881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
36882 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
36883
36884 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
36885 for ac_func in isnanl
36886 do :
36887 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
36888 if test "x$ac_cv_func_isnanl" = x""yes; then :
36889 cat >>confdefs.h <<_ACEOF
36890 #define HAVE_ISNANL 1
36891 _ACEOF
36892
36893 fi
36894 done
36895
36896 else
36897
36898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
36899 $as_echo_n "checking for _isnanl declaration... " >&6; }
36900 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
36901 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
36902 $as_echo_n "(cached) " >&6
36903 else
36904
36905
36906 ac_ext=cpp
36907 ac_cpp='$CXXCPP $CPPFLAGS'
36908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36911
36912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36913 /* end confdefs.h. */
36914 #include <math.h>
36915 #ifdef HAVE_IEEEFP_H
36916 #include <ieeefp.h>
36917 #endif
36918
36919 int
36920 main ()
36921 {
36922 _isnanl(0);
36923 ;
36924 return 0;
36925 }
36926 _ACEOF
36927 if ac_fn_cxx_try_compile "$LINENO"; then :
36928 glibcxx_cv_func__isnanl_use=yes
36929 else
36930 glibcxx_cv_func__isnanl_use=no
36931 fi
36932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36933 ac_ext=c
36934 ac_cpp='$CPP $CPPFLAGS'
36935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36938
36939
36940 fi
36941
36942 fi
36943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
36944 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
36945
36946 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
36947 for ac_func in _isnanl
36948 do :
36949 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
36950 if test "x$ac_cv_func__isnanl" = x""yes; then :
36951 cat >>confdefs.h <<_ACEOF
36952 #define HAVE__ISNANL 1
36953 _ACEOF
36954
36955 fi
36956 done
36957
36958 fi
36959 fi
36960
36961
36962
36963
36964
36965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
36966 $as_echo_n "checking for isinfl declaration... " >&6; }
36967 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
36968 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
36969 $as_echo_n "(cached) " >&6
36970 else
36971
36972
36973 ac_ext=cpp
36974 ac_cpp='$CXXCPP $CPPFLAGS'
36975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36978
36979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36980 /* end confdefs.h. */
36981 #include <math.h>
36982 #ifdef HAVE_IEEEFP_H
36983 #include <ieeefp.h>
36984 #endif
36985
36986 int
36987 main ()
36988 {
36989 isinfl(0);
36990 ;
36991 return 0;
36992 }
36993 _ACEOF
36994 if ac_fn_cxx_try_compile "$LINENO"; then :
36995 glibcxx_cv_func_isinfl_use=yes
36996 else
36997 glibcxx_cv_func_isinfl_use=no
36998 fi
36999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37000 ac_ext=c
37001 ac_cpp='$CPP $CPPFLAGS'
37002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37005
37006
37007 fi
37008
37009 fi
37010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37011 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37012
37013 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37014 for ac_func in isinfl
37015 do :
37016 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37017 if test "x$ac_cv_func_isinfl" = x""yes; then :
37018 cat >>confdefs.h <<_ACEOF
37019 #define HAVE_ISINFL 1
37020 _ACEOF
37021
37022 fi
37023 done
37024
37025 else
37026
37027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37028 $as_echo_n "checking for _isinfl declaration... " >&6; }
37029 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37030 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37031 $as_echo_n "(cached) " >&6
37032 else
37033
37034
37035 ac_ext=cpp
37036 ac_cpp='$CXXCPP $CPPFLAGS'
37037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37040
37041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37042 /* end confdefs.h. */
37043 #include <math.h>
37044 #ifdef HAVE_IEEEFP_H
37045 #include <ieeefp.h>
37046 #endif
37047
37048 int
37049 main ()
37050 {
37051 _isinfl(0);
37052 ;
37053 return 0;
37054 }
37055 _ACEOF
37056 if ac_fn_cxx_try_compile "$LINENO"; then :
37057 glibcxx_cv_func__isinfl_use=yes
37058 else
37059 glibcxx_cv_func__isinfl_use=no
37060 fi
37061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37062 ac_ext=c
37063 ac_cpp='$CPP $CPPFLAGS'
37064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37067
37068
37069 fi
37070
37071 fi
37072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37073 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37074
37075 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37076 for ac_func in _isinfl
37077 do :
37078 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37079 if test "x$ac_cv_func__isinfl" = x""yes; then :
37080 cat >>confdefs.h <<_ACEOF
37081 #define HAVE__ISINFL 1
37082 _ACEOF
37083
37084 fi
37085 done
37086
37087 fi
37088 fi
37089
37090
37091
37092
37093
37094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37095 $as_echo_n "checking for atan2l declaration... " >&6; }
37096 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37097 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37098 $as_echo_n "(cached) " >&6
37099 else
37100
37101
37102 ac_ext=cpp
37103 ac_cpp='$CXXCPP $CPPFLAGS'
37104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37107
37108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37109 /* end confdefs.h. */
37110 #include <math.h>
37111 int
37112 main ()
37113 {
37114 atan2l(0, 0);
37115 ;
37116 return 0;
37117 }
37118 _ACEOF
37119 if ac_fn_cxx_try_compile "$LINENO"; then :
37120 glibcxx_cv_func_atan2l_use=yes
37121 else
37122 glibcxx_cv_func_atan2l_use=no
37123 fi
37124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37125 ac_ext=c
37126 ac_cpp='$CPP $CPPFLAGS'
37127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37130
37131
37132 fi
37133
37134 fi
37135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37136 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37137
37138 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37139 for ac_func in atan2l
37140 do :
37141 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37142 if test "x$ac_cv_func_atan2l" = x""yes; then :
37143 cat >>confdefs.h <<_ACEOF
37144 #define HAVE_ATAN2L 1
37145 _ACEOF
37146
37147 fi
37148 done
37149
37150 else
37151
37152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37153 $as_echo_n "checking for _atan2l declaration... " >&6; }
37154 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37155 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37156 $as_echo_n "(cached) " >&6
37157 else
37158
37159
37160 ac_ext=cpp
37161 ac_cpp='$CXXCPP $CPPFLAGS'
37162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37165
37166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37167 /* end confdefs.h. */
37168 #include <math.h>
37169 int
37170 main ()
37171 {
37172 _atan2l(0, 0);
37173 ;
37174 return 0;
37175 }
37176 _ACEOF
37177 if ac_fn_cxx_try_compile "$LINENO"; then :
37178 glibcxx_cv_func__atan2l_use=yes
37179 else
37180 glibcxx_cv_func__atan2l_use=no
37181 fi
37182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37183 ac_ext=c
37184 ac_cpp='$CPP $CPPFLAGS'
37185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37188
37189
37190 fi
37191
37192 fi
37193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37194 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37195
37196 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37197 for ac_func in _atan2l
37198 do :
37199 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37200 if test "x$ac_cv_func__atan2l" = x""yes; then :
37201 cat >>confdefs.h <<_ACEOF
37202 #define HAVE__ATAN2L 1
37203 _ACEOF
37204
37205 fi
37206 done
37207
37208 fi
37209 fi
37210
37211
37212
37213
37214
37215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37216 $as_echo_n "checking for expl declaration... " >&6; }
37217 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37218 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37219 $as_echo_n "(cached) " >&6
37220 else
37221
37222
37223 ac_ext=cpp
37224 ac_cpp='$CXXCPP $CPPFLAGS'
37225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37228
37229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37230 /* end confdefs.h. */
37231 #include <math.h>
37232 #ifdef HAVE_IEEEFP_H
37233 #include <ieeefp.h>
37234 #endif
37235
37236 int
37237 main ()
37238 {
37239 expl(0);
37240 ;
37241 return 0;
37242 }
37243 _ACEOF
37244 if ac_fn_cxx_try_compile "$LINENO"; then :
37245 glibcxx_cv_func_expl_use=yes
37246 else
37247 glibcxx_cv_func_expl_use=no
37248 fi
37249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37250 ac_ext=c
37251 ac_cpp='$CPP $CPPFLAGS'
37252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37255
37256
37257 fi
37258
37259 fi
37260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
37261 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
37262
37263 if test x$glibcxx_cv_func_expl_use = x"yes"; then
37264 for ac_func in expl
37265 do :
37266 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
37267 if test "x$ac_cv_func_expl" = x""yes; then :
37268 cat >>confdefs.h <<_ACEOF
37269 #define HAVE_EXPL 1
37270 _ACEOF
37271
37272 fi
37273 done
37274
37275 else
37276
37277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
37278 $as_echo_n "checking for _expl declaration... " >&6; }
37279 if test x${glibcxx_cv_func__expl_use+set} != xset; then
37280 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
37281 $as_echo_n "(cached) " >&6
37282 else
37283
37284
37285 ac_ext=cpp
37286 ac_cpp='$CXXCPP $CPPFLAGS'
37287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37290
37291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37292 /* end confdefs.h. */
37293 #include <math.h>
37294 #ifdef HAVE_IEEEFP_H
37295 #include <ieeefp.h>
37296 #endif
37297
37298 int
37299 main ()
37300 {
37301 _expl(0);
37302 ;
37303 return 0;
37304 }
37305 _ACEOF
37306 if ac_fn_cxx_try_compile "$LINENO"; then :
37307 glibcxx_cv_func__expl_use=yes
37308 else
37309 glibcxx_cv_func__expl_use=no
37310 fi
37311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37312 ac_ext=c
37313 ac_cpp='$CPP $CPPFLAGS'
37314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37317
37318
37319 fi
37320
37321 fi
37322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
37323 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
37324
37325 if test x$glibcxx_cv_func__expl_use = x"yes"; then
37326 for ac_func in _expl
37327 do :
37328 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
37329 if test "x$ac_cv_func__expl" = x""yes; then :
37330 cat >>confdefs.h <<_ACEOF
37331 #define HAVE__EXPL 1
37332 _ACEOF
37333
37334 fi
37335 done
37336
37337 fi
37338 fi
37339
37340
37341
37342
37343
37344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
37345 $as_echo_n "checking for fabsl declaration... " >&6; }
37346 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
37347 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
37348 $as_echo_n "(cached) " >&6
37349 else
37350
37351
37352 ac_ext=cpp
37353 ac_cpp='$CXXCPP $CPPFLAGS'
37354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37357
37358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37359 /* end confdefs.h. */
37360 #include <math.h>
37361 #ifdef HAVE_IEEEFP_H
37362 #include <ieeefp.h>
37363 #endif
37364
37365 int
37366 main ()
37367 {
37368 fabsl(0);
37369 ;
37370 return 0;
37371 }
37372 _ACEOF
37373 if ac_fn_cxx_try_compile "$LINENO"; then :
37374 glibcxx_cv_func_fabsl_use=yes
37375 else
37376 glibcxx_cv_func_fabsl_use=no
37377 fi
37378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37379 ac_ext=c
37380 ac_cpp='$CPP $CPPFLAGS'
37381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37384
37385
37386 fi
37387
37388 fi
37389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
37390 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
37391
37392 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
37393 for ac_func in fabsl
37394 do :
37395 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
37396 if test "x$ac_cv_func_fabsl" = x""yes; then :
37397 cat >>confdefs.h <<_ACEOF
37398 #define HAVE_FABSL 1
37399 _ACEOF
37400
37401 fi
37402 done
37403
37404 else
37405
37406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
37407 $as_echo_n "checking for _fabsl declaration... " >&6; }
37408 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
37409 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
37410 $as_echo_n "(cached) " >&6
37411 else
37412
37413
37414 ac_ext=cpp
37415 ac_cpp='$CXXCPP $CPPFLAGS'
37416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37419
37420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37421 /* end confdefs.h. */
37422 #include <math.h>
37423 #ifdef HAVE_IEEEFP_H
37424 #include <ieeefp.h>
37425 #endif
37426
37427 int
37428 main ()
37429 {
37430 _fabsl(0);
37431 ;
37432 return 0;
37433 }
37434 _ACEOF
37435 if ac_fn_cxx_try_compile "$LINENO"; then :
37436 glibcxx_cv_func__fabsl_use=yes
37437 else
37438 glibcxx_cv_func__fabsl_use=no
37439 fi
37440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37441 ac_ext=c
37442 ac_cpp='$CPP $CPPFLAGS'
37443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37446
37447
37448 fi
37449
37450 fi
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
37452 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
37453
37454 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
37455 for ac_func in _fabsl
37456 do :
37457 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
37458 if test "x$ac_cv_func__fabsl" = x""yes; then :
37459 cat >>confdefs.h <<_ACEOF
37460 #define HAVE__FABSL 1
37461 _ACEOF
37462
37463 fi
37464 done
37465
37466 fi
37467 fi
37468
37469
37470
37471
37472
37473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
37474 $as_echo_n "checking for fmodl declaration... " >&6; }
37475 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
37476 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
37477 $as_echo_n "(cached) " >&6
37478 else
37479
37480
37481 ac_ext=cpp
37482 ac_cpp='$CXXCPP $CPPFLAGS'
37483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37486
37487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37488 /* end confdefs.h. */
37489 #include <math.h>
37490 int
37491 main ()
37492 {
37493 fmodl(0, 0);
37494 ;
37495 return 0;
37496 }
37497 _ACEOF
37498 if ac_fn_cxx_try_compile "$LINENO"; then :
37499 glibcxx_cv_func_fmodl_use=yes
37500 else
37501 glibcxx_cv_func_fmodl_use=no
37502 fi
37503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37504 ac_ext=c
37505 ac_cpp='$CPP $CPPFLAGS'
37506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37509
37510
37511 fi
37512
37513 fi
37514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
37515 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
37516
37517 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
37518 for ac_func in fmodl
37519 do :
37520 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
37521 if test "x$ac_cv_func_fmodl" = x""yes; then :
37522 cat >>confdefs.h <<_ACEOF
37523 #define HAVE_FMODL 1
37524 _ACEOF
37525
37526 fi
37527 done
37528
37529 else
37530
37531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
37532 $as_echo_n "checking for _fmodl declaration... " >&6; }
37533 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
37534 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
37535 $as_echo_n "(cached) " >&6
37536 else
37537
37538
37539 ac_ext=cpp
37540 ac_cpp='$CXXCPP $CPPFLAGS'
37541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37544
37545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37546 /* end confdefs.h. */
37547 #include <math.h>
37548 int
37549 main ()
37550 {
37551 _fmodl(0, 0);
37552 ;
37553 return 0;
37554 }
37555 _ACEOF
37556 if ac_fn_cxx_try_compile "$LINENO"; then :
37557 glibcxx_cv_func__fmodl_use=yes
37558 else
37559 glibcxx_cv_func__fmodl_use=no
37560 fi
37561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37562 ac_ext=c
37563 ac_cpp='$CPP $CPPFLAGS'
37564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37567
37568
37569 fi
37570
37571 fi
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
37573 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
37574
37575 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
37576 for ac_func in _fmodl
37577 do :
37578 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
37579 if test "x$ac_cv_func__fmodl" = x""yes; then :
37580 cat >>confdefs.h <<_ACEOF
37581 #define HAVE__FMODL 1
37582 _ACEOF
37583
37584 fi
37585 done
37586
37587 fi
37588 fi
37589
37590
37591
37592
37593
37594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
37595 $as_echo_n "checking for frexpl declaration... " >&6; }
37596 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
37597 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
37598 $as_echo_n "(cached) " >&6
37599 else
37600
37601
37602 ac_ext=cpp
37603 ac_cpp='$CXXCPP $CPPFLAGS'
37604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37607
37608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37609 /* end confdefs.h. */
37610 #include <math.h>
37611 int
37612 main ()
37613 {
37614 frexpl(0, 0);
37615 ;
37616 return 0;
37617 }
37618 _ACEOF
37619 if ac_fn_cxx_try_compile "$LINENO"; then :
37620 glibcxx_cv_func_frexpl_use=yes
37621 else
37622 glibcxx_cv_func_frexpl_use=no
37623 fi
37624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37625 ac_ext=c
37626 ac_cpp='$CPP $CPPFLAGS'
37627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37630
37631
37632 fi
37633
37634 fi
37635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
37636 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
37637
37638 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
37639 for ac_func in frexpl
37640 do :
37641 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
37642 if test "x$ac_cv_func_frexpl" = x""yes; then :
37643 cat >>confdefs.h <<_ACEOF
37644 #define HAVE_FREXPL 1
37645 _ACEOF
37646
37647 fi
37648 done
37649
37650 else
37651
37652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
37653 $as_echo_n "checking for _frexpl declaration... " >&6; }
37654 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37655 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
37656 $as_echo_n "(cached) " >&6
37657 else
37658
37659
37660 ac_ext=cpp
37661 ac_cpp='$CXXCPP $CPPFLAGS'
37662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37665
37666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37667 /* end confdefs.h. */
37668 #include <math.h>
37669 int
37670 main ()
37671 {
37672 _frexpl(0, 0);
37673 ;
37674 return 0;
37675 }
37676 _ACEOF
37677 if ac_fn_cxx_try_compile "$LINENO"; then :
37678 glibcxx_cv_func__frexpl_use=yes
37679 else
37680 glibcxx_cv_func__frexpl_use=no
37681 fi
37682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37683 ac_ext=c
37684 ac_cpp='$CPP $CPPFLAGS'
37685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37688
37689
37690 fi
37691
37692 fi
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
37694 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
37695
37696 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37697 for ac_func in _frexpl
37698 do :
37699 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
37700 if test "x$ac_cv_func__frexpl" = x""yes; then :
37701 cat >>confdefs.h <<_ACEOF
37702 #define HAVE__FREXPL 1
37703 _ACEOF
37704
37705 fi
37706 done
37707
37708 fi
37709 fi
37710
37711
37712
37713
37714
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
37716 $as_echo_n "checking for hypotl declaration... " >&6; }
37717 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37718 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
37719 $as_echo_n "(cached) " >&6
37720 else
37721
37722
37723 ac_ext=cpp
37724 ac_cpp='$CXXCPP $CPPFLAGS'
37725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37728
37729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37730 /* end confdefs.h. */
37731 #include <math.h>
37732 int
37733 main ()
37734 {
37735 hypotl(0, 0);
37736 ;
37737 return 0;
37738 }
37739 _ACEOF
37740 if ac_fn_cxx_try_compile "$LINENO"; then :
37741 glibcxx_cv_func_hypotl_use=yes
37742 else
37743 glibcxx_cv_func_hypotl_use=no
37744 fi
37745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37746 ac_ext=c
37747 ac_cpp='$CPP $CPPFLAGS'
37748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37751
37752
37753 fi
37754
37755 fi
37756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
37757 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
37758
37759 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37760 for ac_func in hypotl
37761 do :
37762 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
37763 if test "x$ac_cv_func_hypotl" = x""yes; then :
37764 cat >>confdefs.h <<_ACEOF
37765 #define HAVE_HYPOTL 1
37766 _ACEOF
37767
37768 fi
37769 done
37770
37771 else
37772
37773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
37774 $as_echo_n "checking for _hypotl declaration... " >&6; }
37775 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37776 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
37777 $as_echo_n "(cached) " >&6
37778 else
37779
37780
37781 ac_ext=cpp
37782 ac_cpp='$CXXCPP $CPPFLAGS'
37783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37786
37787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37788 /* end confdefs.h. */
37789 #include <math.h>
37790 int
37791 main ()
37792 {
37793 _hypotl(0, 0);
37794 ;
37795 return 0;
37796 }
37797 _ACEOF
37798 if ac_fn_cxx_try_compile "$LINENO"; then :
37799 glibcxx_cv_func__hypotl_use=yes
37800 else
37801 glibcxx_cv_func__hypotl_use=no
37802 fi
37803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37804 ac_ext=c
37805 ac_cpp='$CPP $CPPFLAGS'
37806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37809
37810
37811 fi
37812
37813 fi
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
37815 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
37816
37817 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37818 for ac_func in _hypotl
37819 do :
37820 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
37821 if test "x$ac_cv_func__hypotl" = x""yes; then :
37822 cat >>confdefs.h <<_ACEOF
37823 #define HAVE__HYPOTL 1
37824 _ACEOF
37825
37826 fi
37827 done
37828
37829 fi
37830 fi
37831
37832
37833
37834
37835
37836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
37837 $as_echo_n "checking for ldexpl declaration... " >&6; }
37838 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37839 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
37840 $as_echo_n "(cached) " >&6
37841 else
37842
37843
37844 ac_ext=cpp
37845 ac_cpp='$CXXCPP $CPPFLAGS'
37846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37849
37850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37851 /* end confdefs.h. */
37852 #include <math.h>
37853 int
37854 main ()
37855 {
37856 ldexpl(0, 0);
37857 ;
37858 return 0;
37859 }
37860 _ACEOF
37861 if ac_fn_cxx_try_compile "$LINENO"; then :
37862 glibcxx_cv_func_ldexpl_use=yes
37863 else
37864 glibcxx_cv_func_ldexpl_use=no
37865 fi
37866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37867 ac_ext=c
37868 ac_cpp='$CPP $CPPFLAGS'
37869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37872
37873
37874 fi
37875
37876 fi
37877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
37878 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
37879
37880 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37881 for ac_func in ldexpl
37882 do :
37883 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
37884 if test "x$ac_cv_func_ldexpl" = x""yes; then :
37885 cat >>confdefs.h <<_ACEOF
37886 #define HAVE_LDEXPL 1
37887 _ACEOF
37888
37889 fi
37890 done
37891
37892 else
37893
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
37895 $as_echo_n "checking for _ldexpl declaration... " >&6; }
37896 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37897 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
37898 $as_echo_n "(cached) " >&6
37899 else
37900
37901
37902 ac_ext=cpp
37903 ac_cpp='$CXXCPP $CPPFLAGS'
37904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37907
37908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37909 /* end confdefs.h. */
37910 #include <math.h>
37911 int
37912 main ()
37913 {
37914 _ldexpl(0, 0);
37915 ;
37916 return 0;
37917 }
37918 _ACEOF
37919 if ac_fn_cxx_try_compile "$LINENO"; then :
37920 glibcxx_cv_func__ldexpl_use=yes
37921 else
37922 glibcxx_cv_func__ldexpl_use=no
37923 fi
37924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37925 ac_ext=c
37926 ac_cpp='$CPP $CPPFLAGS'
37927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37930
37931
37932 fi
37933
37934 fi
37935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
37936 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
37937
37938 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37939 for ac_func in _ldexpl
37940 do :
37941 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
37942 if test "x$ac_cv_func__ldexpl" = x""yes; then :
37943 cat >>confdefs.h <<_ACEOF
37944 #define HAVE__LDEXPL 1
37945 _ACEOF
37946
37947 fi
37948 done
37949
37950 fi
37951 fi
37952
37953
37954
37955
37956
37957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
37958 $as_echo_n "checking for logl declaration... " >&6; }
37959 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37960 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
37961 $as_echo_n "(cached) " >&6
37962 else
37963
37964
37965 ac_ext=cpp
37966 ac_cpp='$CXXCPP $CPPFLAGS'
37967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37970
37971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37972 /* end confdefs.h. */
37973 #include <math.h>
37974 #ifdef HAVE_IEEEFP_H
37975 #include <ieeefp.h>
37976 #endif
37977
37978 int
37979 main ()
37980 {
37981 logl(0);
37982 ;
37983 return 0;
37984 }
37985 _ACEOF
37986 if ac_fn_cxx_try_compile "$LINENO"; then :
37987 glibcxx_cv_func_logl_use=yes
37988 else
37989 glibcxx_cv_func_logl_use=no
37990 fi
37991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37992 ac_ext=c
37993 ac_cpp='$CPP $CPPFLAGS'
37994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37997
37998
37999 fi
38000
38001 fi
38002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38003 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38004
38005 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38006 for ac_func in logl
38007 do :
38008 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38009 if test "x$ac_cv_func_logl" = x""yes; then :
38010 cat >>confdefs.h <<_ACEOF
38011 #define HAVE_LOGL 1
38012 _ACEOF
38013
38014 fi
38015 done
38016
38017 else
38018
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38020 $as_echo_n "checking for _logl declaration... " >&6; }
38021 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38022 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38023 $as_echo_n "(cached) " >&6
38024 else
38025
38026
38027 ac_ext=cpp
38028 ac_cpp='$CXXCPP $CPPFLAGS'
38029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38032
38033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38034 /* end confdefs.h. */
38035 #include <math.h>
38036 #ifdef HAVE_IEEEFP_H
38037 #include <ieeefp.h>
38038 #endif
38039
38040 int
38041 main ()
38042 {
38043 _logl(0);
38044 ;
38045 return 0;
38046 }
38047 _ACEOF
38048 if ac_fn_cxx_try_compile "$LINENO"; then :
38049 glibcxx_cv_func__logl_use=yes
38050 else
38051 glibcxx_cv_func__logl_use=no
38052 fi
38053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38054 ac_ext=c
38055 ac_cpp='$CPP $CPPFLAGS'
38056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38059
38060
38061 fi
38062
38063 fi
38064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38065 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38066
38067 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38068 for ac_func in _logl
38069 do :
38070 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38071 if test "x$ac_cv_func__logl" = x""yes; then :
38072 cat >>confdefs.h <<_ACEOF
38073 #define HAVE__LOGL 1
38074 _ACEOF
38075
38076 fi
38077 done
38078
38079 fi
38080 fi
38081
38082
38083
38084
38085
38086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38087 $as_echo_n "checking for log10l declaration... " >&6; }
38088 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38089 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38090 $as_echo_n "(cached) " >&6
38091 else
38092
38093
38094 ac_ext=cpp
38095 ac_cpp='$CXXCPP $CPPFLAGS'
38096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38099
38100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38101 /* end confdefs.h. */
38102 #include <math.h>
38103 #ifdef HAVE_IEEEFP_H
38104 #include <ieeefp.h>
38105 #endif
38106
38107 int
38108 main ()
38109 {
38110 log10l(0);
38111 ;
38112 return 0;
38113 }
38114 _ACEOF
38115 if ac_fn_cxx_try_compile "$LINENO"; then :
38116 glibcxx_cv_func_log10l_use=yes
38117 else
38118 glibcxx_cv_func_log10l_use=no
38119 fi
38120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38121 ac_ext=c
38122 ac_cpp='$CPP $CPPFLAGS'
38123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38126
38127
38128 fi
38129
38130 fi
38131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38132 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38133
38134 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38135 for ac_func in log10l
38136 do :
38137 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38138 if test "x$ac_cv_func_log10l" = x""yes; then :
38139 cat >>confdefs.h <<_ACEOF
38140 #define HAVE_LOG10L 1
38141 _ACEOF
38142
38143 fi
38144 done
38145
38146 else
38147
38148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38149 $as_echo_n "checking for _log10l declaration... " >&6; }
38150 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38151 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38152 $as_echo_n "(cached) " >&6
38153 else
38154
38155
38156 ac_ext=cpp
38157 ac_cpp='$CXXCPP $CPPFLAGS'
38158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38161
38162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38163 /* end confdefs.h. */
38164 #include <math.h>
38165 #ifdef HAVE_IEEEFP_H
38166 #include <ieeefp.h>
38167 #endif
38168
38169 int
38170 main ()
38171 {
38172 _log10l(0);
38173 ;
38174 return 0;
38175 }
38176 _ACEOF
38177 if ac_fn_cxx_try_compile "$LINENO"; then :
38178 glibcxx_cv_func__log10l_use=yes
38179 else
38180 glibcxx_cv_func__log10l_use=no
38181 fi
38182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38183 ac_ext=c
38184 ac_cpp='$CPP $CPPFLAGS'
38185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38188
38189
38190 fi
38191
38192 fi
38193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38194 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38195
38196 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38197 for ac_func in _log10l
38198 do :
38199 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38200 if test "x$ac_cv_func__log10l" = x""yes; then :
38201 cat >>confdefs.h <<_ACEOF
38202 #define HAVE__LOG10L 1
38203 _ACEOF
38204
38205 fi
38206 done
38207
38208 fi
38209 fi
38210
38211
38212
38213
38214
38215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38216 $as_echo_n "checking for modfl declaration... " >&6; }
38217 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38218 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38219 $as_echo_n "(cached) " >&6
38220 else
38221
38222
38223 ac_ext=cpp
38224 ac_cpp='$CXXCPP $CPPFLAGS'
38225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38228
38229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38230 /* end confdefs.h. */
38231 #include <math.h>
38232 int
38233 main ()
38234 {
38235 modfl(0, 0);
38236 ;
38237 return 0;
38238 }
38239 _ACEOF
38240 if ac_fn_cxx_try_compile "$LINENO"; then :
38241 glibcxx_cv_func_modfl_use=yes
38242 else
38243 glibcxx_cv_func_modfl_use=no
38244 fi
38245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38246 ac_ext=c
38247 ac_cpp='$CPP $CPPFLAGS'
38248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38251
38252
38253 fi
38254
38255 fi
38256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38257 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
38258
38259 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38260 for ac_func in modfl
38261 do :
38262 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
38263 if test "x$ac_cv_func_modfl" = x""yes; then :
38264 cat >>confdefs.h <<_ACEOF
38265 #define HAVE_MODFL 1
38266 _ACEOF
38267
38268 fi
38269 done
38270
38271 else
38272
38273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
38274 $as_echo_n "checking for _modfl declaration... " >&6; }
38275 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38276 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
38277 $as_echo_n "(cached) " >&6
38278 else
38279
38280
38281 ac_ext=cpp
38282 ac_cpp='$CXXCPP $CPPFLAGS'
38283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38286
38287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38288 /* end confdefs.h. */
38289 #include <math.h>
38290 int
38291 main ()
38292 {
38293 _modfl(0, 0);
38294 ;
38295 return 0;
38296 }
38297 _ACEOF
38298 if ac_fn_cxx_try_compile "$LINENO"; then :
38299 glibcxx_cv_func__modfl_use=yes
38300 else
38301 glibcxx_cv_func__modfl_use=no
38302 fi
38303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38304 ac_ext=c
38305 ac_cpp='$CPP $CPPFLAGS'
38306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38309
38310
38311 fi
38312
38313 fi
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
38315 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
38316
38317 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38318 for ac_func in _modfl
38319 do :
38320 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
38321 if test "x$ac_cv_func__modfl" = x""yes; then :
38322 cat >>confdefs.h <<_ACEOF
38323 #define HAVE__MODFL 1
38324 _ACEOF
38325
38326 fi
38327 done
38328
38329 fi
38330 fi
38331
38332
38333
38334
38335
38336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
38337 $as_echo_n "checking for powl declaration... " >&6; }
38338 if test x${glibcxx_cv_func_powl_use+set} != xset; then
38339 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
38340 $as_echo_n "(cached) " >&6
38341 else
38342
38343
38344 ac_ext=cpp
38345 ac_cpp='$CXXCPP $CPPFLAGS'
38346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38349
38350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38351 /* end confdefs.h. */
38352 #include <math.h>
38353 int
38354 main ()
38355 {
38356 powl(0, 0);
38357 ;
38358 return 0;
38359 }
38360 _ACEOF
38361 if ac_fn_cxx_try_compile "$LINENO"; then :
38362 glibcxx_cv_func_powl_use=yes
38363 else
38364 glibcxx_cv_func_powl_use=no
38365 fi
38366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38367 ac_ext=c
38368 ac_cpp='$CPP $CPPFLAGS'
38369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38372
38373
38374 fi
38375
38376 fi
38377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
38378 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
38379
38380 if test x$glibcxx_cv_func_powl_use = x"yes"; then
38381 for ac_func in powl
38382 do :
38383 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
38384 if test "x$ac_cv_func_powl" = x""yes; then :
38385 cat >>confdefs.h <<_ACEOF
38386 #define HAVE_POWL 1
38387 _ACEOF
38388
38389 fi
38390 done
38391
38392 else
38393
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
38395 $as_echo_n "checking for _powl declaration... " >&6; }
38396 if test x${glibcxx_cv_func__powl_use+set} != xset; then
38397 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
38398 $as_echo_n "(cached) " >&6
38399 else
38400
38401
38402 ac_ext=cpp
38403 ac_cpp='$CXXCPP $CPPFLAGS'
38404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38407
38408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38409 /* end confdefs.h. */
38410 #include <math.h>
38411 int
38412 main ()
38413 {
38414 _powl(0, 0);
38415 ;
38416 return 0;
38417 }
38418 _ACEOF
38419 if ac_fn_cxx_try_compile "$LINENO"; then :
38420 glibcxx_cv_func__powl_use=yes
38421 else
38422 glibcxx_cv_func__powl_use=no
38423 fi
38424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38425 ac_ext=c
38426 ac_cpp='$CPP $CPPFLAGS'
38427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38430
38431
38432 fi
38433
38434 fi
38435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
38436 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
38437
38438 if test x$glibcxx_cv_func__powl_use = x"yes"; then
38439 for ac_func in _powl
38440 do :
38441 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
38442 if test "x$ac_cv_func__powl" = x""yes; then :
38443 cat >>confdefs.h <<_ACEOF
38444 #define HAVE__POWL 1
38445 _ACEOF
38446
38447 fi
38448 done
38449
38450 fi
38451 fi
38452
38453
38454
38455
38456
38457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
38458 $as_echo_n "checking for sqrtl declaration... " >&6; }
38459 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
38460 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
38461 $as_echo_n "(cached) " >&6
38462 else
38463
38464
38465 ac_ext=cpp
38466 ac_cpp='$CXXCPP $CPPFLAGS'
38467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38470
38471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38472 /* end confdefs.h. */
38473 #include <math.h>
38474 #ifdef HAVE_IEEEFP_H
38475 #include <ieeefp.h>
38476 #endif
38477
38478 int
38479 main ()
38480 {
38481 sqrtl(0);
38482 ;
38483 return 0;
38484 }
38485 _ACEOF
38486 if ac_fn_cxx_try_compile "$LINENO"; then :
38487 glibcxx_cv_func_sqrtl_use=yes
38488 else
38489 glibcxx_cv_func_sqrtl_use=no
38490 fi
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492 ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38497
38498
38499 fi
38500
38501 fi
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
38503 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
38504
38505 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
38506 for ac_func in sqrtl
38507 do :
38508 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
38509 if test "x$ac_cv_func_sqrtl" = x""yes; then :
38510 cat >>confdefs.h <<_ACEOF
38511 #define HAVE_SQRTL 1
38512 _ACEOF
38513
38514 fi
38515 done
38516
38517 else
38518
38519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
38520 $as_echo_n "checking for _sqrtl declaration... " >&6; }
38521 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
38522 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
38523 $as_echo_n "(cached) " >&6
38524 else
38525
38526
38527 ac_ext=cpp
38528 ac_cpp='$CXXCPP $CPPFLAGS'
38529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38532
38533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38534 /* end confdefs.h. */
38535 #include <math.h>
38536 #ifdef HAVE_IEEEFP_H
38537 #include <ieeefp.h>
38538 #endif
38539
38540 int
38541 main ()
38542 {
38543 _sqrtl(0);
38544 ;
38545 return 0;
38546 }
38547 _ACEOF
38548 if ac_fn_cxx_try_compile "$LINENO"; then :
38549 glibcxx_cv_func__sqrtl_use=yes
38550 else
38551 glibcxx_cv_func__sqrtl_use=no
38552 fi
38553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38554 ac_ext=c
38555 ac_cpp='$CPP $CPPFLAGS'
38556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38559
38560
38561 fi
38562
38563 fi
38564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
38565 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
38566
38567 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
38568 for ac_func in _sqrtl
38569 do :
38570 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
38571 if test "x$ac_cv_func__sqrtl" = x""yes; then :
38572 cat >>confdefs.h <<_ACEOF
38573 #define HAVE__SQRTL 1
38574 _ACEOF
38575
38576 fi
38577 done
38578
38579 fi
38580 fi
38581
38582
38583
38584
38585
38586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
38587 $as_echo_n "checking for sincosl declaration... " >&6; }
38588 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
38589 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
38590 $as_echo_n "(cached) " >&6
38591 else
38592
38593
38594 ac_ext=cpp
38595 ac_cpp='$CXXCPP $CPPFLAGS'
38596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38599
38600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38601 /* end confdefs.h. */
38602 #include <math.h>
38603 int
38604 main ()
38605 {
38606 sincosl(0, 0, 0);
38607 ;
38608 return 0;
38609 }
38610 _ACEOF
38611 if ac_fn_cxx_try_compile "$LINENO"; then :
38612 glibcxx_cv_func_sincosl_use=yes
38613 else
38614 glibcxx_cv_func_sincosl_use=no
38615 fi
38616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38617 ac_ext=c
38618 ac_cpp='$CPP $CPPFLAGS'
38619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38622
38623
38624 fi
38625
38626 fi
38627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
38628 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
38629
38630 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
38631 for ac_func in sincosl
38632 do :
38633 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
38634 if test "x$ac_cv_func_sincosl" = x""yes; then :
38635 cat >>confdefs.h <<_ACEOF
38636 #define HAVE_SINCOSL 1
38637 _ACEOF
38638
38639 fi
38640 done
38641
38642 else
38643
38644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
38645 $as_echo_n "checking for _sincosl declaration... " >&6; }
38646 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
38647 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
38648 $as_echo_n "(cached) " >&6
38649 else
38650
38651
38652 ac_ext=cpp
38653 ac_cpp='$CXXCPP $CPPFLAGS'
38654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38657
38658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38659 /* end confdefs.h. */
38660 #include <math.h>
38661 int
38662 main ()
38663 {
38664 _sincosl(0, 0, 0);
38665 ;
38666 return 0;
38667 }
38668 _ACEOF
38669 if ac_fn_cxx_try_compile "$LINENO"; then :
38670 glibcxx_cv_func__sincosl_use=yes
38671 else
38672 glibcxx_cv_func__sincosl_use=no
38673 fi
38674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38675 ac_ext=c
38676 ac_cpp='$CPP $CPPFLAGS'
38677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38680
38681
38682 fi
38683
38684 fi
38685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
38686 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
38687
38688 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
38689 for ac_func in _sincosl
38690 do :
38691 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
38692 if test "x$ac_cv_func__sincosl" = x""yes; then :
38693 cat >>confdefs.h <<_ACEOF
38694 #define HAVE__SINCOSL 1
38695 _ACEOF
38696
38697 fi
38698 done
38699
38700 fi
38701 fi
38702
38703
38704
38705
38706
38707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
38708 $as_echo_n "checking for finitel declaration... " >&6; }
38709 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
38710 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
38711 $as_echo_n "(cached) " >&6
38712 else
38713
38714
38715 ac_ext=cpp
38716 ac_cpp='$CXXCPP $CPPFLAGS'
38717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38720
38721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38722 /* end confdefs.h. */
38723 #include <math.h>
38724 #ifdef HAVE_IEEEFP_H
38725 #include <ieeefp.h>
38726 #endif
38727
38728 int
38729 main ()
38730 {
38731 finitel(0);
38732 ;
38733 return 0;
38734 }
38735 _ACEOF
38736 if ac_fn_cxx_try_compile "$LINENO"; then :
38737 glibcxx_cv_func_finitel_use=yes
38738 else
38739 glibcxx_cv_func_finitel_use=no
38740 fi
38741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38742 ac_ext=c
38743 ac_cpp='$CPP $CPPFLAGS'
38744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38747
38748
38749 fi
38750
38751 fi
38752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
38753 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
38754
38755 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
38756 for ac_func in finitel
38757 do :
38758 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
38759 if test "x$ac_cv_func_finitel" = x""yes; then :
38760 cat >>confdefs.h <<_ACEOF
38761 #define HAVE_FINITEL 1
38762 _ACEOF
38763
38764 fi
38765 done
38766
38767 else
38768
38769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
38770 $as_echo_n "checking for _finitel declaration... " >&6; }
38771 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
38772 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
38773 $as_echo_n "(cached) " >&6
38774 else
38775
38776
38777 ac_ext=cpp
38778 ac_cpp='$CXXCPP $CPPFLAGS'
38779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38782
38783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38784 /* end confdefs.h. */
38785 #include <math.h>
38786 #ifdef HAVE_IEEEFP_H
38787 #include <ieeefp.h>
38788 #endif
38789
38790 int
38791 main ()
38792 {
38793 _finitel(0);
38794 ;
38795 return 0;
38796 }
38797 _ACEOF
38798 if ac_fn_cxx_try_compile "$LINENO"; then :
38799 glibcxx_cv_func__finitel_use=yes
38800 else
38801 glibcxx_cv_func__finitel_use=no
38802 fi
38803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38804 ac_ext=c
38805 ac_cpp='$CPP $CPPFLAGS'
38806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38809
38810
38811 fi
38812
38813 fi
38814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
38815 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
38816
38817 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
38818 for ac_func in _finitel
38819 do :
38820 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
38821 if test "x$ac_cv_func__finitel" = x""yes; then :
38822 cat >>confdefs.h <<_ACEOF
38823 #define HAVE__FINITEL 1
38824 _ACEOF
38825
38826 fi
38827 done
38828
38829 fi
38830 fi
38831
38832
38833
38834
38835 LIBS="$ac_save_LIBS"
38836 CXXFLAGS="$ac_save_CXXFLAGS"
38837
38838
38839 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38840 ac_save_CXXFLAGS="$CXXFLAGS"
38841 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38842
38843
38844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
38845 $as_echo_n "checking for strtold declaration... " >&6; }
38846 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38847 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
38848 $as_echo_n "(cached) " >&6
38849 else
38850
38851
38852 ac_ext=cpp
38853 ac_cpp='$CXXCPP $CPPFLAGS'
38854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38857
38858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38859 /* end confdefs.h. */
38860 #include <stdlib.h>
38861 int
38862 main ()
38863 {
38864 strtold(0, 0);
38865 ;
38866 return 0;
38867 }
38868 _ACEOF
38869 if ac_fn_cxx_try_compile "$LINENO"; then :
38870 glibcxx_cv_func_strtold_use=yes
38871 else
38872 glibcxx_cv_func_strtold_use=no
38873 fi
38874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38875 ac_ext=c
38876 ac_cpp='$CPP $CPPFLAGS'
38877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38880
38881
38882 fi
38883
38884 fi
38885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
38886 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
38887 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38888 for ac_func in strtold
38889 do :
38890 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
38891 if test "x$ac_cv_func_strtold" = x""yes; then :
38892 cat >>confdefs.h <<_ACEOF
38893 #define HAVE_STRTOLD 1
38894 _ACEOF
38895
38896 fi
38897 done
38898
38899 fi
38900
38901
38902
38903
38904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
38905 $as_echo_n "checking for strtof declaration... " >&6; }
38906 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38907 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
38908 $as_echo_n "(cached) " >&6
38909 else
38910
38911
38912 ac_ext=cpp
38913 ac_cpp='$CXXCPP $CPPFLAGS'
38914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38917
38918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38919 /* end confdefs.h. */
38920 #include <stdlib.h>
38921 int
38922 main ()
38923 {
38924 strtof(0, 0);
38925 ;
38926 return 0;
38927 }
38928 _ACEOF
38929 if ac_fn_cxx_try_compile "$LINENO"; then :
38930 glibcxx_cv_func_strtof_use=yes
38931 else
38932 glibcxx_cv_func_strtof_use=no
38933 fi
38934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38935 ac_ext=c
38936 ac_cpp='$CPP $CPPFLAGS'
38937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38940
38941
38942 fi
38943
38944 fi
38945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
38946 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
38947 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38948 for ac_func in strtof
38949 do :
38950 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
38951 if test "x$ac_cv_func_strtof" = x""yes; then :
38952 cat >>confdefs.h <<_ACEOF
38953 #define HAVE_STRTOF 1
38954 _ACEOF
38955
38956 fi
38957 done
38958
38959 fi
38960
38961
38962
38963
38964 CXXFLAGS="$ac_save_CXXFLAGS"
38965
38966 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
38967
38968 # We don't yet support AIX's TLS ABI.
38969 #GCC_CHECK_TLS
38970
38971
38972
38973
38974
38975 am_save_CPPFLAGS="$CPPFLAGS"
38976
38977 for element in $INCICONV; do
38978 haveit=
38979 for x in $CPPFLAGS; do
38980
38981 acl_save_prefix="$prefix"
38982 prefix="$acl_final_prefix"
38983 acl_save_exec_prefix="$exec_prefix"
38984 exec_prefix="$acl_final_exec_prefix"
38985 eval x=\"$x\"
38986 exec_prefix="$acl_save_exec_prefix"
38987 prefix="$acl_save_prefix"
38988
38989 if test "X$x" = "X$element"; then
38990 haveit=yes
38991 break
38992 fi
38993 done
38994 if test -z "$haveit"; then
38995 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
38996 fi
38997 done
38998
38999
39000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39001 $as_echo_n "checking for iconv... " >&6; }
39002 if test "${am_cv_func_iconv+set}" = set; then :
39003 $as_echo_n "(cached) " >&6
39004 else
39005
39006 am_cv_func_iconv="no, consider installing GNU libiconv"
39007 am_cv_lib_iconv=no
39008 if test x$gcc_no_link = xyes; then
39009 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39010 fi
39011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39012 /* end confdefs.h. */
39013 #include <stdlib.h>
39014 #include <iconv.h>
39015 int
39016 main ()
39017 {
39018 iconv_t cd = iconv_open("","");
39019 iconv(cd,NULL,NULL,NULL,NULL);
39020 iconv_close(cd);
39021 ;
39022 return 0;
39023 }
39024 _ACEOF
39025 if ac_fn_c_try_link "$LINENO"; then :
39026 am_cv_func_iconv=yes
39027 fi
39028 rm -f core conftest.err conftest.$ac_objext \
39029 conftest$ac_exeext conftest.$ac_ext
39030 if test "$am_cv_func_iconv" != yes; then
39031 am_save_LIBS="$LIBS"
39032 LIBS="$LIBS $LIBICONV"
39033 if test x$gcc_no_link = xyes; then
39034 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39035 fi
39036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39037 /* end confdefs.h. */
39038 #include <stdlib.h>
39039 #include <iconv.h>
39040 int
39041 main ()
39042 {
39043 iconv_t cd = iconv_open("","");
39044 iconv(cd,NULL,NULL,NULL,NULL);
39045 iconv_close(cd);
39046 ;
39047 return 0;
39048 }
39049 _ACEOF
39050 if ac_fn_c_try_link "$LINENO"; then :
39051 am_cv_lib_iconv=yes
39052 am_cv_func_iconv=yes
39053 fi
39054 rm -f core conftest.err conftest.$ac_objext \
39055 conftest$ac_exeext conftest.$ac_ext
39056 LIBS="$am_save_LIBS"
39057 fi
39058
39059 fi
39060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39061 $as_echo "$am_cv_func_iconv" >&6; }
39062 if test "$am_cv_func_iconv" = yes; then
39063
39064 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39065
39066 fi
39067 if test "$am_cv_lib_iconv" = yes; then
39068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39069 $as_echo_n "checking how to link with libiconv... " >&6; }
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39071 $as_echo "$LIBICONV" >&6; }
39072 else
39073 CPPFLAGS="$am_save_CPPFLAGS"
39074 LIBICONV=
39075 LTLIBICONV=
39076 fi
39077
39078
39079
39080 if test "$am_cv_func_iconv" = yes; then
39081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39082 $as_echo_n "checking for iconv declaration... " >&6; }
39083 if test "${am_cv_proto_iconv+set}" = set; then :
39084 $as_echo_n "(cached) " >&6
39085 else
39086
39087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39088 /* end confdefs.h. */
39089
39090 #include <stdlib.h>
39091 #include <iconv.h>
39092 extern
39093 #ifdef __cplusplus
39094 "C"
39095 #endif
39096 #if defined(__STDC__) || defined(__cplusplus)
39097 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39098 #else
39099 size_t iconv();
39100 #endif
39101
39102 int
39103 main ()
39104 {
39105
39106 ;
39107 return 0;
39108 }
39109 _ACEOF
39110 if ac_fn_c_try_compile "$LINENO"; then :
39111 am_cv_proto_iconv_arg1=""
39112 else
39113 am_cv_proto_iconv_arg1="const"
39114 fi
39115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39116 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);"
39117 fi
39118
39119 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39121 }$am_cv_proto_iconv" >&5
39122 $as_echo "${ac_t:-
39123 }$am_cv_proto_iconv" >&6; }
39124
39125 cat >>confdefs.h <<_ACEOF
39126 #define ICONV_CONST $am_cv_proto_iconv_arg1
39127 _ACEOF
39128
39129 fi
39130
39131 ;;
39132
39133 *-darwin*)
39134 # Darwin versions vary, but the linker should work in a cross environment,
39135 # so we just check for all the features here.
39136 # Check for available headers.
39137
39138 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
39139
39140 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39141 ac_save_CXXFLAGS="$CXXFLAGS"
39142 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39143
39144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
39145 $as_echo_n "checking for sin in -lm... " >&6; }
39146 if test "${ac_cv_lib_m_sin+set}" = set; then :
39147 $as_echo_n "(cached) " >&6
39148 else
39149 ac_check_lib_save_LIBS=$LIBS
39150 LIBS="-lm $LIBS"
39151 if test x$gcc_no_link = xyes; then
39152 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39153 fi
39154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39155 /* end confdefs.h. */
39156
39157 /* Override any GCC internal prototype to avoid an error.
39158 Use char because int might match the return type of a GCC
39159 builtin and then its argument prototype would still apply. */
39160 #ifdef __cplusplus
39161 extern "C"
39162 #endif
39163 char sin ();
39164 int
39165 main ()
39166 {
39167 return sin ();
39168 ;
39169 return 0;
39170 }
39171 _ACEOF
39172 if ac_fn_c_try_link "$LINENO"; then :
39173 ac_cv_lib_m_sin=yes
39174 else
39175 ac_cv_lib_m_sin=no
39176 fi
39177 rm -f core conftest.err conftest.$ac_objext \
39178 conftest$ac_exeext conftest.$ac_ext
39179 LIBS=$ac_check_lib_save_LIBS
39180 fi
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
39182 $as_echo "$ac_cv_lib_m_sin" >&6; }
39183 if test "x$ac_cv_lib_m_sin" = x""yes; then :
39184 libm="-lm"
39185 fi
39186
39187 ac_save_LIBS="$LIBS"
39188 LIBS="$LIBS $libm"
39189
39190
39191
39192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
39193 $as_echo_n "checking for isinf declaration... " >&6; }
39194 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
39195 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
39196 $as_echo_n "(cached) " >&6
39197 else
39198
39199
39200 ac_ext=cpp
39201 ac_cpp='$CXXCPP $CPPFLAGS'
39202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39205
39206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39207 /* end confdefs.h. */
39208 #include <math.h>
39209 #ifdef HAVE_IEEEFP_H
39210 #include <ieeefp.h>
39211 #endif
39212
39213 int
39214 main ()
39215 {
39216 isinf(0);
39217 ;
39218 return 0;
39219 }
39220 _ACEOF
39221 if ac_fn_cxx_try_compile "$LINENO"; then :
39222 glibcxx_cv_func_isinf_use=yes
39223 else
39224 glibcxx_cv_func_isinf_use=no
39225 fi
39226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39227 ac_ext=c
39228 ac_cpp='$CPP $CPPFLAGS'
39229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39232
39233
39234 fi
39235
39236 fi
39237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
39238 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
39239
39240 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
39241 for ac_func in isinf
39242 do :
39243 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
39244 if test "x$ac_cv_func_isinf" = x""yes; then :
39245 cat >>confdefs.h <<_ACEOF
39246 #define HAVE_ISINF 1
39247 _ACEOF
39248
39249 fi
39250 done
39251
39252 else
39253
39254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
39255 $as_echo_n "checking for _isinf declaration... " >&6; }
39256 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
39257 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
39258 $as_echo_n "(cached) " >&6
39259 else
39260
39261
39262 ac_ext=cpp
39263 ac_cpp='$CXXCPP $CPPFLAGS'
39264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39267
39268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39269 /* end confdefs.h. */
39270 #include <math.h>
39271 #ifdef HAVE_IEEEFP_H
39272 #include <ieeefp.h>
39273 #endif
39274
39275 int
39276 main ()
39277 {
39278 _isinf(0);
39279 ;
39280 return 0;
39281 }
39282 _ACEOF
39283 if ac_fn_cxx_try_compile "$LINENO"; then :
39284 glibcxx_cv_func__isinf_use=yes
39285 else
39286 glibcxx_cv_func__isinf_use=no
39287 fi
39288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39289 ac_ext=c
39290 ac_cpp='$CPP $CPPFLAGS'
39291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39294
39295
39296 fi
39297
39298 fi
39299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
39300 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
39301
39302 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
39303 for ac_func in _isinf
39304 do :
39305 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
39306 if test "x$ac_cv_func__isinf" = x""yes; then :
39307 cat >>confdefs.h <<_ACEOF
39308 #define HAVE__ISINF 1
39309 _ACEOF
39310
39311 fi
39312 done
39313
39314 fi
39315 fi
39316
39317
39318
39319
39320
39321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
39322 $as_echo_n "checking for isnan declaration... " >&6; }
39323 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
39324 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
39325 $as_echo_n "(cached) " >&6
39326 else
39327
39328
39329 ac_ext=cpp
39330 ac_cpp='$CXXCPP $CPPFLAGS'
39331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39334
39335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39336 /* end confdefs.h. */
39337 #include <math.h>
39338 #ifdef HAVE_IEEEFP_H
39339 #include <ieeefp.h>
39340 #endif
39341
39342 int
39343 main ()
39344 {
39345 isnan(0);
39346 ;
39347 return 0;
39348 }
39349 _ACEOF
39350 if ac_fn_cxx_try_compile "$LINENO"; then :
39351 glibcxx_cv_func_isnan_use=yes
39352 else
39353 glibcxx_cv_func_isnan_use=no
39354 fi
39355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39356 ac_ext=c
39357 ac_cpp='$CPP $CPPFLAGS'
39358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39361
39362
39363 fi
39364
39365 fi
39366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
39367 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
39368
39369 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
39370 for ac_func in isnan
39371 do :
39372 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
39373 if test "x$ac_cv_func_isnan" = x""yes; then :
39374 cat >>confdefs.h <<_ACEOF
39375 #define HAVE_ISNAN 1
39376 _ACEOF
39377
39378 fi
39379 done
39380
39381 else
39382
39383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
39384 $as_echo_n "checking for _isnan declaration... " >&6; }
39385 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
39386 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
39387 $as_echo_n "(cached) " >&6
39388 else
39389
39390
39391 ac_ext=cpp
39392 ac_cpp='$CXXCPP $CPPFLAGS'
39393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39396
39397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39398 /* end confdefs.h. */
39399 #include <math.h>
39400 #ifdef HAVE_IEEEFP_H
39401 #include <ieeefp.h>
39402 #endif
39403
39404 int
39405 main ()
39406 {
39407 _isnan(0);
39408 ;
39409 return 0;
39410 }
39411 _ACEOF
39412 if ac_fn_cxx_try_compile "$LINENO"; then :
39413 glibcxx_cv_func__isnan_use=yes
39414 else
39415 glibcxx_cv_func__isnan_use=no
39416 fi
39417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39418 ac_ext=c
39419 ac_cpp='$CPP $CPPFLAGS'
39420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39423
39424
39425 fi
39426
39427 fi
39428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
39429 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
39430
39431 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
39432 for ac_func in _isnan
39433 do :
39434 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
39435 if test "x$ac_cv_func__isnan" = x""yes; then :
39436 cat >>confdefs.h <<_ACEOF
39437 #define HAVE__ISNAN 1
39438 _ACEOF
39439
39440 fi
39441 done
39442
39443 fi
39444 fi
39445
39446
39447
39448
39449
39450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
39451 $as_echo_n "checking for finite declaration... " >&6; }
39452 if test x${glibcxx_cv_func_finite_use+set} != xset; then
39453 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
39454 $as_echo_n "(cached) " >&6
39455 else
39456
39457
39458 ac_ext=cpp
39459 ac_cpp='$CXXCPP $CPPFLAGS'
39460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39463
39464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39465 /* end confdefs.h. */
39466 #include <math.h>
39467 #ifdef HAVE_IEEEFP_H
39468 #include <ieeefp.h>
39469 #endif
39470
39471 int
39472 main ()
39473 {
39474 finite(0);
39475 ;
39476 return 0;
39477 }
39478 _ACEOF
39479 if ac_fn_cxx_try_compile "$LINENO"; then :
39480 glibcxx_cv_func_finite_use=yes
39481 else
39482 glibcxx_cv_func_finite_use=no
39483 fi
39484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39485 ac_ext=c
39486 ac_cpp='$CPP $CPPFLAGS'
39487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39490
39491
39492 fi
39493
39494 fi
39495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
39496 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
39497
39498 if test x$glibcxx_cv_func_finite_use = x"yes"; then
39499 for ac_func in finite
39500 do :
39501 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
39502 if test "x$ac_cv_func_finite" = x""yes; then :
39503 cat >>confdefs.h <<_ACEOF
39504 #define HAVE_FINITE 1
39505 _ACEOF
39506
39507 fi
39508 done
39509
39510 else
39511
39512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
39513 $as_echo_n "checking for _finite declaration... " >&6; }
39514 if test x${glibcxx_cv_func__finite_use+set} != xset; then
39515 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
39516 $as_echo_n "(cached) " >&6
39517 else
39518
39519
39520 ac_ext=cpp
39521 ac_cpp='$CXXCPP $CPPFLAGS'
39522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39525
39526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39527 /* end confdefs.h. */
39528 #include <math.h>
39529 #ifdef HAVE_IEEEFP_H
39530 #include <ieeefp.h>
39531 #endif
39532
39533 int
39534 main ()
39535 {
39536 _finite(0);
39537 ;
39538 return 0;
39539 }
39540 _ACEOF
39541 if ac_fn_cxx_try_compile "$LINENO"; then :
39542 glibcxx_cv_func__finite_use=yes
39543 else
39544 glibcxx_cv_func__finite_use=no
39545 fi
39546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39547 ac_ext=c
39548 ac_cpp='$CPP $CPPFLAGS'
39549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39552
39553
39554 fi
39555
39556 fi
39557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
39558 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
39559
39560 if test x$glibcxx_cv_func__finite_use = x"yes"; then
39561 for ac_func in _finite
39562 do :
39563 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
39564 if test "x$ac_cv_func__finite" = x""yes; then :
39565 cat >>confdefs.h <<_ACEOF
39566 #define HAVE__FINITE 1
39567 _ACEOF
39568
39569 fi
39570 done
39571
39572 fi
39573 fi
39574
39575
39576
39577
39578
39579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
39580 $as_echo_n "checking for sincos declaration... " >&6; }
39581 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
39582 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
39583 $as_echo_n "(cached) " >&6
39584 else
39585
39586
39587 ac_ext=cpp
39588 ac_cpp='$CXXCPP $CPPFLAGS'
39589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39592
39593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39594 /* end confdefs.h. */
39595 #include <math.h>
39596 int
39597 main ()
39598 {
39599 sincos(0, 0, 0);
39600 ;
39601 return 0;
39602 }
39603 _ACEOF
39604 if ac_fn_cxx_try_compile "$LINENO"; then :
39605 glibcxx_cv_func_sincos_use=yes
39606 else
39607 glibcxx_cv_func_sincos_use=no
39608 fi
39609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39610 ac_ext=c
39611 ac_cpp='$CPP $CPPFLAGS'
39612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39615
39616
39617 fi
39618
39619 fi
39620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
39621 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
39622
39623 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
39624 for ac_func in sincos
39625 do :
39626 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
39627 if test "x$ac_cv_func_sincos" = x""yes; then :
39628 cat >>confdefs.h <<_ACEOF
39629 #define HAVE_SINCOS 1
39630 _ACEOF
39631
39632 fi
39633 done
39634
39635 else
39636
39637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
39638 $as_echo_n "checking for _sincos declaration... " >&6; }
39639 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
39640 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
39641 $as_echo_n "(cached) " >&6
39642 else
39643
39644
39645 ac_ext=cpp
39646 ac_cpp='$CXXCPP $CPPFLAGS'
39647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39650
39651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39652 /* end confdefs.h. */
39653 #include <math.h>
39654 int
39655 main ()
39656 {
39657 _sincos(0, 0, 0);
39658 ;
39659 return 0;
39660 }
39661 _ACEOF
39662 if ac_fn_cxx_try_compile "$LINENO"; then :
39663 glibcxx_cv_func__sincos_use=yes
39664 else
39665 glibcxx_cv_func__sincos_use=no
39666 fi
39667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39668 ac_ext=c
39669 ac_cpp='$CPP $CPPFLAGS'
39670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39673
39674
39675 fi
39676
39677 fi
39678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
39679 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
39680
39681 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
39682 for ac_func in _sincos
39683 do :
39684 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
39685 if test "x$ac_cv_func__sincos" = x""yes; then :
39686 cat >>confdefs.h <<_ACEOF
39687 #define HAVE__SINCOS 1
39688 _ACEOF
39689
39690 fi
39691 done
39692
39693 fi
39694 fi
39695
39696
39697
39698
39699
39700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
39701 $as_echo_n "checking for fpclass declaration... " >&6; }
39702 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
39703 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
39704 $as_echo_n "(cached) " >&6
39705 else
39706
39707
39708 ac_ext=cpp
39709 ac_cpp='$CXXCPP $CPPFLAGS'
39710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39713
39714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39715 /* end confdefs.h. */
39716 #include <math.h>
39717 #ifdef HAVE_IEEEFP_H
39718 #include <ieeefp.h>
39719 #endif
39720
39721 int
39722 main ()
39723 {
39724 fpclass(0);
39725 ;
39726 return 0;
39727 }
39728 _ACEOF
39729 if ac_fn_cxx_try_compile "$LINENO"; then :
39730 glibcxx_cv_func_fpclass_use=yes
39731 else
39732 glibcxx_cv_func_fpclass_use=no
39733 fi
39734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39735 ac_ext=c
39736 ac_cpp='$CPP $CPPFLAGS'
39737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39740
39741
39742 fi
39743
39744 fi
39745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
39746 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
39747
39748 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
39749 for ac_func in fpclass
39750 do :
39751 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
39752 if test "x$ac_cv_func_fpclass" = x""yes; then :
39753 cat >>confdefs.h <<_ACEOF
39754 #define HAVE_FPCLASS 1
39755 _ACEOF
39756
39757 fi
39758 done
39759
39760 else
39761
39762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
39763 $as_echo_n "checking for _fpclass declaration... " >&6; }
39764 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
39765 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
39766 $as_echo_n "(cached) " >&6
39767 else
39768
39769
39770 ac_ext=cpp
39771 ac_cpp='$CXXCPP $CPPFLAGS'
39772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39775
39776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39777 /* end confdefs.h. */
39778 #include <math.h>
39779 #ifdef HAVE_IEEEFP_H
39780 #include <ieeefp.h>
39781 #endif
39782
39783 int
39784 main ()
39785 {
39786 _fpclass(0);
39787 ;
39788 return 0;
39789 }
39790 _ACEOF
39791 if ac_fn_cxx_try_compile "$LINENO"; then :
39792 glibcxx_cv_func__fpclass_use=yes
39793 else
39794 glibcxx_cv_func__fpclass_use=no
39795 fi
39796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39797 ac_ext=c
39798 ac_cpp='$CPP $CPPFLAGS'
39799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39802
39803
39804 fi
39805
39806 fi
39807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
39808 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
39809
39810 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
39811 for ac_func in _fpclass
39812 do :
39813 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
39814 if test "x$ac_cv_func__fpclass" = x""yes; then :
39815 cat >>confdefs.h <<_ACEOF
39816 #define HAVE__FPCLASS 1
39817 _ACEOF
39818
39819 fi
39820 done
39821
39822 fi
39823 fi
39824
39825
39826
39827
39828
39829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
39830 $as_echo_n "checking for qfpclass declaration... " >&6; }
39831 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
39832 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
39833 $as_echo_n "(cached) " >&6
39834 else
39835
39836
39837 ac_ext=cpp
39838 ac_cpp='$CXXCPP $CPPFLAGS'
39839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39842
39843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39844 /* end confdefs.h. */
39845 #include <math.h>
39846 #ifdef HAVE_IEEEFP_H
39847 #include <ieeefp.h>
39848 #endif
39849
39850 int
39851 main ()
39852 {
39853 qfpclass(0);
39854 ;
39855 return 0;
39856 }
39857 _ACEOF
39858 if ac_fn_cxx_try_compile "$LINENO"; then :
39859 glibcxx_cv_func_qfpclass_use=yes
39860 else
39861 glibcxx_cv_func_qfpclass_use=no
39862 fi
39863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39864 ac_ext=c
39865 ac_cpp='$CPP $CPPFLAGS'
39866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39869
39870
39871 fi
39872
39873 fi
39874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
39875 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
39876
39877 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
39878 for ac_func in qfpclass
39879 do :
39880 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
39881 if test "x$ac_cv_func_qfpclass" = x""yes; then :
39882 cat >>confdefs.h <<_ACEOF
39883 #define HAVE_QFPCLASS 1
39884 _ACEOF
39885
39886 fi
39887 done
39888
39889 else
39890
39891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
39892 $as_echo_n "checking for _qfpclass declaration... " >&6; }
39893 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
39894 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
39895 $as_echo_n "(cached) " >&6
39896 else
39897
39898
39899 ac_ext=cpp
39900 ac_cpp='$CXXCPP $CPPFLAGS'
39901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39904
39905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39906 /* end confdefs.h. */
39907 #include <math.h>
39908 #ifdef HAVE_IEEEFP_H
39909 #include <ieeefp.h>
39910 #endif
39911
39912 int
39913 main ()
39914 {
39915 _qfpclass(0);
39916 ;
39917 return 0;
39918 }
39919 _ACEOF
39920 if ac_fn_cxx_try_compile "$LINENO"; then :
39921 glibcxx_cv_func__qfpclass_use=yes
39922 else
39923 glibcxx_cv_func__qfpclass_use=no
39924 fi
39925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39926 ac_ext=c
39927 ac_cpp='$CPP $CPPFLAGS'
39928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39931
39932
39933 fi
39934
39935 fi
39936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
39937 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
39938
39939 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
39940 for ac_func in _qfpclass
39941 do :
39942 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
39943 if test "x$ac_cv_func__qfpclass" = x""yes; then :
39944 cat >>confdefs.h <<_ACEOF
39945 #define HAVE__QFPCLASS 1
39946 _ACEOF
39947
39948 fi
39949 done
39950
39951 fi
39952 fi
39953
39954
39955
39956
39957
39958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
39959 $as_echo_n "checking for hypot declaration... " >&6; }
39960 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
39961 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
39962 $as_echo_n "(cached) " >&6
39963 else
39964
39965
39966 ac_ext=cpp
39967 ac_cpp='$CXXCPP $CPPFLAGS'
39968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39971
39972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39973 /* end confdefs.h. */
39974 #include <math.h>
39975 int
39976 main ()
39977 {
39978 hypot(0, 0);
39979 ;
39980 return 0;
39981 }
39982 _ACEOF
39983 if ac_fn_cxx_try_compile "$LINENO"; then :
39984 glibcxx_cv_func_hypot_use=yes
39985 else
39986 glibcxx_cv_func_hypot_use=no
39987 fi
39988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39989 ac_ext=c
39990 ac_cpp='$CPP $CPPFLAGS'
39991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39994
39995
39996 fi
39997
39998 fi
39999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40000 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40001
40002 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40003 for ac_func in hypot
40004 do :
40005 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40006 if test "x$ac_cv_func_hypot" = x""yes; then :
40007 cat >>confdefs.h <<_ACEOF
40008 #define HAVE_HYPOT 1
40009 _ACEOF
40010
40011 fi
40012 done
40013
40014 else
40015
40016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
40017 $as_echo_n "checking for _hypot declaration... " >&6; }
40018 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
40019 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
40020 $as_echo_n "(cached) " >&6
40021 else
40022
40023
40024 ac_ext=cpp
40025 ac_cpp='$CXXCPP $CPPFLAGS'
40026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40029
40030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40031 /* end confdefs.h. */
40032 #include <math.h>
40033 int
40034 main ()
40035 {
40036 _hypot(0, 0);
40037 ;
40038 return 0;
40039 }
40040 _ACEOF
40041 if ac_fn_cxx_try_compile "$LINENO"; then :
40042 glibcxx_cv_func__hypot_use=yes
40043 else
40044 glibcxx_cv_func__hypot_use=no
40045 fi
40046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40047 ac_ext=c
40048 ac_cpp='$CPP $CPPFLAGS'
40049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40052
40053
40054 fi
40055
40056 fi
40057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
40058 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
40059
40060 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
40061 for ac_func in _hypot
40062 do :
40063 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
40064 if test "x$ac_cv_func__hypot" = x""yes; then :
40065 cat >>confdefs.h <<_ACEOF
40066 #define HAVE__HYPOT 1
40067 _ACEOF
40068
40069 fi
40070 done
40071
40072 fi
40073 fi
40074
40075
40076
40077
40078
40079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
40080 $as_echo_n "checking for float trig functions... " >&6; }
40081 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
40082 $as_echo_n "(cached) " >&6
40083 else
40084
40085
40086 ac_ext=cpp
40087 ac_cpp='$CXXCPP $CPPFLAGS'
40088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40091
40092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40093 /* end confdefs.h. */
40094 #include <math.h>
40095 int
40096 main ()
40097 {
40098 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
40099 ;
40100 return 0;
40101 }
40102 _ACEOF
40103 if ac_fn_cxx_try_compile "$LINENO"; then :
40104 glibcxx_cv_func_float_trig_use=yes
40105 else
40106 glibcxx_cv_func_float_trig_use=no
40107 fi
40108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40109 ac_ext=c
40110 ac_cpp='$CPP $CPPFLAGS'
40111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40114
40115 fi
40116
40117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
40118 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
40119 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
40120 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
40121 do :
40122 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40123 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40124 eval as_val=\$$as_ac_var
40125 if test "x$as_val" = x""yes; then :
40126 cat >>confdefs.h <<_ACEOF
40127 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40128 _ACEOF
40129
40130 fi
40131 done
40132
40133 else
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
40135 $as_echo_n "checking for _float trig functions... " >&6; }
40136 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
40137 $as_echo_n "(cached) " >&6
40138 else
40139
40140
40141 ac_ext=cpp
40142 ac_cpp='$CXXCPP $CPPFLAGS'
40143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40146
40147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40148 /* end confdefs.h. */
40149 #include <math.h>
40150 int
40151 main ()
40152 {
40153 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
40154 ;
40155 return 0;
40156 }
40157 _ACEOF
40158 if ac_fn_cxx_try_compile "$LINENO"; then :
40159 glibcxx_cv_func__float_trig_use=yes
40160 else
40161 glibcxx_cv_func__float_trig_use=no
40162 fi
40163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40164 ac_ext=c
40165 ac_cpp='$CPP $CPPFLAGS'
40166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40169
40170 fi
40171
40172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
40173 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
40174 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
40175 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
40176 do :
40177 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40178 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40179 eval as_val=\$$as_ac_var
40180 if test "x$as_val" = x""yes; then :
40181 cat >>confdefs.h <<_ACEOF
40182 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40183 _ACEOF
40184
40185 fi
40186 done
40187
40188 fi
40189 fi
40190
40191
40192
40193
40194
40195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
40196 $as_echo_n "checking for float round functions... " >&6; }
40197 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
40198 $as_echo_n "(cached) " >&6
40199 else
40200
40201
40202 ac_ext=cpp
40203 ac_cpp='$CXXCPP $CPPFLAGS'
40204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40207
40208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40209 /* end confdefs.h. */
40210 #include <math.h>
40211 int
40212 main ()
40213 {
40214 ceilf (0); floorf (0);
40215 ;
40216 return 0;
40217 }
40218 _ACEOF
40219 if ac_fn_cxx_try_compile "$LINENO"; then :
40220 glibcxx_cv_func_float_round_use=yes
40221 else
40222 glibcxx_cv_func_float_round_use=no
40223 fi
40224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40225 ac_ext=c
40226 ac_cpp='$CPP $CPPFLAGS'
40227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40230
40231 fi
40232
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
40234 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
40235 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
40236 for ac_func in ceilf floorf
40237 do :
40238 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40239 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40240 eval as_val=\$$as_ac_var
40241 if test "x$as_val" = x""yes; then :
40242 cat >>confdefs.h <<_ACEOF
40243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40244 _ACEOF
40245
40246 fi
40247 done
40248
40249 else
40250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
40251 $as_echo_n "checking for _float round functions... " >&6; }
40252 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
40253 $as_echo_n "(cached) " >&6
40254 else
40255
40256
40257 ac_ext=cpp
40258 ac_cpp='$CXXCPP $CPPFLAGS'
40259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40262
40263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40264 /* end confdefs.h. */
40265 #include <math.h>
40266 int
40267 main ()
40268 {
40269 _ceilf (0); _floorf (0);
40270 ;
40271 return 0;
40272 }
40273 _ACEOF
40274 if ac_fn_cxx_try_compile "$LINENO"; then :
40275 glibcxx_cv_func__float_round_use=yes
40276 else
40277 glibcxx_cv_func__float_round_use=no
40278 fi
40279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40280 ac_ext=c
40281 ac_cpp='$CPP $CPPFLAGS'
40282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40285
40286 fi
40287
40288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
40289 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
40290 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
40291 for ac_func in _ceilf _floorf
40292 do :
40293 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
40294 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
40295 eval as_val=\$$as_ac_var
40296 if test "x$as_val" = x""yes; then :
40297 cat >>confdefs.h <<_ACEOF
40298 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
40299 _ACEOF
40300
40301 fi
40302 done
40303
40304 fi
40305 fi
40306
40307
40308
40309
40310
40311
40312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
40313 $as_echo_n "checking for expf declaration... " >&6; }
40314 if test x${glibcxx_cv_func_expf_use+set} != xset; then
40315 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
40316 $as_echo_n "(cached) " >&6
40317 else
40318
40319
40320 ac_ext=cpp
40321 ac_cpp='$CXXCPP $CPPFLAGS'
40322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40325
40326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40327 /* end confdefs.h. */
40328 #include <math.h>
40329 #ifdef HAVE_IEEEFP_H
40330 #include <ieeefp.h>
40331 #endif
40332
40333 int
40334 main ()
40335 {
40336 expf(0);
40337 ;
40338 return 0;
40339 }
40340 _ACEOF
40341 if ac_fn_cxx_try_compile "$LINENO"; then :
40342 glibcxx_cv_func_expf_use=yes
40343 else
40344 glibcxx_cv_func_expf_use=no
40345 fi
40346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40347 ac_ext=c
40348 ac_cpp='$CPP $CPPFLAGS'
40349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40352
40353
40354 fi
40355
40356 fi
40357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
40358 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
40359
40360 if test x$glibcxx_cv_func_expf_use = x"yes"; then
40361 for ac_func in expf
40362 do :
40363 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
40364 if test "x$ac_cv_func_expf" = x""yes; then :
40365 cat >>confdefs.h <<_ACEOF
40366 #define HAVE_EXPF 1
40367 _ACEOF
40368
40369 fi
40370 done
40371
40372 else
40373
40374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
40375 $as_echo_n "checking for _expf declaration... " >&6; }
40376 if test x${glibcxx_cv_func__expf_use+set} != xset; then
40377 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
40378 $as_echo_n "(cached) " >&6
40379 else
40380
40381
40382 ac_ext=cpp
40383 ac_cpp='$CXXCPP $CPPFLAGS'
40384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40387
40388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40389 /* end confdefs.h. */
40390 #include <math.h>
40391 #ifdef HAVE_IEEEFP_H
40392 #include <ieeefp.h>
40393 #endif
40394
40395 int
40396 main ()
40397 {
40398 _expf(0);
40399 ;
40400 return 0;
40401 }
40402 _ACEOF
40403 if ac_fn_cxx_try_compile "$LINENO"; then :
40404 glibcxx_cv_func__expf_use=yes
40405 else
40406 glibcxx_cv_func__expf_use=no
40407 fi
40408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40409 ac_ext=c
40410 ac_cpp='$CPP $CPPFLAGS'
40411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40414
40415
40416 fi
40417
40418 fi
40419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
40420 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
40421
40422 if test x$glibcxx_cv_func__expf_use = x"yes"; then
40423 for ac_func in _expf
40424 do :
40425 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
40426 if test "x$ac_cv_func__expf" = x""yes; then :
40427 cat >>confdefs.h <<_ACEOF
40428 #define HAVE__EXPF 1
40429 _ACEOF
40430
40431 fi
40432 done
40433
40434 fi
40435 fi
40436
40437
40438
40439
40440
40441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
40442 $as_echo_n "checking for isnanf declaration... " >&6; }
40443 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
40444 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
40445 $as_echo_n "(cached) " >&6
40446 else
40447
40448
40449 ac_ext=cpp
40450 ac_cpp='$CXXCPP $CPPFLAGS'
40451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40454
40455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40456 /* end confdefs.h. */
40457 #include <math.h>
40458 #ifdef HAVE_IEEEFP_H
40459 #include <ieeefp.h>
40460 #endif
40461
40462 int
40463 main ()
40464 {
40465 isnanf(0);
40466 ;
40467 return 0;
40468 }
40469 _ACEOF
40470 if ac_fn_cxx_try_compile "$LINENO"; then :
40471 glibcxx_cv_func_isnanf_use=yes
40472 else
40473 glibcxx_cv_func_isnanf_use=no
40474 fi
40475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40476 ac_ext=c
40477 ac_cpp='$CPP $CPPFLAGS'
40478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40481
40482
40483 fi
40484
40485 fi
40486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
40487 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
40488
40489 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
40490 for ac_func in isnanf
40491 do :
40492 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
40493 if test "x$ac_cv_func_isnanf" = x""yes; then :
40494 cat >>confdefs.h <<_ACEOF
40495 #define HAVE_ISNANF 1
40496 _ACEOF
40497
40498 fi
40499 done
40500
40501 else
40502
40503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
40504 $as_echo_n "checking for _isnanf declaration... " >&6; }
40505 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
40506 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
40507 $as_echo_n "(cached) " >&6
40508 else
40509
40510
40511 ac_ext=cpp
40512 ac_cpp='$CXXCPP $CPPFLAGS'
40513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40516
40517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40518 /* end confdefs.h. */
40519 #include <math.h>
40520 #ifdef HAVE_IEEEFP_H
40521 #include <ieeefp.h>
40522 #endif
40523
40524 int
40525 main ()
40526 {
40527 _isnanf(0);
40528 ;
40529 return 0;
40530 }
40531 _ACEOF
40532 if ac_fn_cxx_try_compile "$LINENO"; then :
40533 glibcxx_cv_func__isnanf_use=yes
40534 else
40535 glibcxx_cv_func__isnanf_use=no
40536 fi
40537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40538 ac_ext=c
40539 ac_cpp='$CPP $CPPFLAGS'
40540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40543
40544
40545 fi
40546
40547 fi
40548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
40549 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
40550
40551 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
40552 for ac_func in _isnanf
40553 do :
40554 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
40555 if test "x$ac_cv_func__isnanf" = x""yes; then :
40556 cat >>confdefs.h <<_ACEOF
40557 #define HAVE__ISNANF 1
40558 _ACEOF
40559
40560 fi
40561 done
40562
40563 fi
40564 fi
40565
40566
40567
40568
40569
40570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
40571 $as_echo_n "checking for isinff declaration... " >&6; }
40572 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
40573 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
40574 $as_echo_n "(cached) " >&6
40575 else
40576
40577
40578 ac_ext=cpp
40579 ac_cpp='$CXXCPP $CPPFLAGS'
40580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40583
40584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40585 /* end confdefs.h. */
40586 #include <math.h>
40587 #ifdef HAVE_IEEEFP_H
40588 #include <ieeefp.h>
40589 #endif
40590
40591 int
40592 main ()
40593 {
40594 isinff(0);
40595 ;
40596 return 0;
40597 }
40598 _ACEOF
40599 if ac_fn_cxx_try_compile "$LINENO"; then :
40600 glibcxx_cv_func_isinff_use=yes
40601 else
40602 glibcxx_cv_func_isinff_use=no
40603 fi
40604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40605 ac_ext=c
40606 ac_cpp='$CPP $CPPFLAGS'
40607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40610
40611
40612 fi
40613
40614 fi
40615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
40616 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
40617
40618 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
40619 for ac_func in isinff
40620 do :
40621 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
40622 if test "x$ac_cv_func_isinff" = x""yes; then :
40623 cat >>confdefs.h <<_ACEOF
40624 #define HAVE_ISINFF 1
40625 _ACEOF
40626
40627 fi
40628 done
40629
40630 else
40631
40632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
40633 $as_echo_n "checking for _isinff declaration... " >&6; }
40634 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
40635 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
40636 $as_echo_n "(cached) " >&6
40637 else
40638
40639
40640 ac_ext=cpp
40641 ac_cpp='$CXXCPP $CPPFLAGS'
40642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40645
40646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40647 /* end confdefs.h. */
40648 #include <math.h>
40649 #ifdef HAVE_IEEEFP_H
40650 #include <ieeefp.h>
40651 #endif
40652
40653 int
40654 main ()
40655 {
40656 _isinff(0);
40657 ;
40658 return 0;
40659 }
40660 _ACEOF
40661 if ac_fn_cxx_try_compile "$LINENO"; then :
40662 glibcxx_cv_func__isinff_use=yes
40663 else
40664 glibcxx_cv_func__isinff_use=no
40665 fi
40666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40667 ac_ext=c
40668 ac_cpp='$CPP $CPPFLAGS'
40669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40672
40673
40674 fi
40675
40676 fi
40677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
40678 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
40679
40680 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
40681 for ac_func in _isinff
40682 do :
40683 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
40684 if test "x$ac_cv_func__isinff" = x""yes; then :
40685 cat >>confdefs.h <<_ACEOF
40686 #define HAVE__ISINFF 1
40687 _ACEOF
40688
40689 fi
40690 done
40691
40692 fi
40693 fi
40694
40695
40696
40697
40698
40699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
40700 $as_echo_n "checking for atan2f declaration... " >&6; }
40701 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
40702 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
40703 $as_echo_n "(cached) " >&6
40704 else
40705
40706
40707 ac_ext=cpp
40708 ac_cpp='$CXXCPP $CPPFLAGS'
40709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40712
40713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40714 /* end confdefs.h. */
40715 #include <math.h>
40716 int
40717 main ()
40718 {
40719 atan2f(0, 0);
40720 ;
40721 return 0;
40722 }
40723 _ACEOF
40724 if ac_fn_cxx_try_compile "$LINENO"; then :
40725 glibcxx_cv_func_atan2f_use=yes
40726 else
40727 glibcxx_cv_func_atan2f_use=no
40728 fi
40729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40730 ac_ext=c
40731 ac_cpp='$CPP $CPPFLAGS'
40732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40735
40736
40737 fi
40738
40739 fi
40740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
40741 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
40742
40743 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
40744 for ac_func in atan2f
40745 do :
40746 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
40747 if test "x$ac_cv_func_atan2f" = x""yes; then :
40748 cat >>confdefs.h <<_ACEOF
40749 #define HAVE_ATAN2F 1
40750 _ACEOF
40751
40752 fi
40753 done
40754
40755 else
40756
40757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
40758 $as_echo_n "checking for _atan2f declaration... " >&6; }
40759 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
40760 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
40761 $as_echo_n "(cached) " >&6
40762 else
40763
40764
40765 ac_ext=cpp
40766 ac_cpp='$CXXCPP $CPPFLAGS'
40767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40770
40771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40772 /* end confdefs.h. */
40773 #include <math.h>
40774 int
40775 main ()
40776 {
40777 _atan2f(0, 0);
40778 ;
40779 return 0;
40780 }
40781 _ACEOF
40782 if ac_fn_cxx_try_compile "$LINENO"; then :
40783 glibcxx_cv_func__atan2f_use=yes
40784 else
40785 glibcxx_cv_func__atan2f_use=no
40786 fi
40787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40788 ac_ext=c
40789 ac_cpp='$CPP $CPPFLAGS'
40790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40793
40794
40795 fi
40796
40797 fi
40798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
40799 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
40800
40801 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
40802 for ac_func in _atan2f
40803 do :
40804 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
40805 if test "x$ac_cv_func__atan2f" = x""yes; then :
40806 cat >>confdefs.h <<_ACEOF
40807 #define HAVE__ATAN2F 1
40808 _ACEOF
40809
40810 fi
40811 done
40812
40813 fi
40814 fi
40815
40816
40817
40818
40819
40820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
40821 $as_echo_n "checking for fabsf declaration... " >&6; }
40822 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
40823 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
40824 $as_echo_n "(cached) " >&6
40825 else
40826
40827
40828 ac_ext=cpp
40829 ac_cpp='$CXXCPP $CPPFLAGS'
40830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40833
40834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40835 /* end confdefs.h. */
40836 #include <math.h>
40837 #ifdef HAVE_IEEEFP_H
40838 #include <ieeefp.h>
40839 #endif
40840
40841 int
40842 main ()
40843 {
40844 fabsf(0);
40845 ;
40846 return 0;
40847 }
40848 _ACEOF
40849 if ac_fn_cxx_try_compile "$LINENO"; then :
40850 glibcxx_cv_func_fabsf_use=yes
40851 else
40852 glibcxx_cv_func_fabsf_use=no
40853 fi
40854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40855 ac_ext=c
40856 ac_cpp='$CPP $CPPFLAGS'
40857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40860
40861
40862 fi
40863
40864 fi
40865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
40866 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
40867
40868 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
40869 for ac_func in fabsf
40870 do :
40871 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
40872 if test "x$ac_cv_func_fabsf" = x""yes; then :
40873 cat >>confdefs.h <<_ACEOF
40874 #define HAVE_FABSF 1
40875 _ACEOF
40876
40877 fi
40878 done
40879
40880 else
40881
40882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
40883 $as_echo_n "checking for _fabsf declaration... " >&6; }
40884 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
40885 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
40886 $as_echo_n "(cached) " >&6
40887 else
40888
40889
40890 ac_ext=cpp
40891 ac_cpp='$CXXCPP $CPPFLAGS'
40892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40895
40896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40897 /* end confdefs.h. */
40898 #include <math.h>
40899 #ifdef HAVE_IEEEFP_H
40900 #include <ieeefp.h>
40901 #endif
40902
40903 int
40904 main ()
40905 {
40906 _fabsf(0);
40907 ;
40908 return 0;
40909 }
40910 _ACEOF
40911 if ac_fn_cxx_try_compile "$LINENO"; then :
40912 glibcxx_cv_func__fabsf_use=yes
40913 else
40914 glibcxx_cv_func__fabsf_use=no
40915 fi
40916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40917 ac_ext=c
40918 ac_cpp='$CPP $CPPFLAGS'
40919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40922
40923
40924 fi
40925
40926 fi
40927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
40928 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
40929
40930 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
40931 for ac_func in _fabsf
40932 do :
40933 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
40934 if test "x$ac_cv_func__fabsf" = x""yes; then :
40935 cat >>confdefs.h <<_ACEOF
40936 #define HAVE__FABSF 1
40937 _ACEOF
40938
40939 fi
40940 done
40941
40942 fi
40943 fi
40944
40945
40946
40947
40948
40949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
40950 $as_echo_n "checking for fmodf declaration... " >&6; }
40951 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
40952 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
40953 $as_echo_n "(cached) " >&6
40954 else
40955
40956
40957 ac_ext=cpp
40958 ac_cpp='$CXXCPP $CPPFLAGS'
40959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40962
40963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40964 /* end confdefs.h. */
40965 #include <math.h>
40966 int
40967 main ()
40968 {
40969 fmodf(0, 0);
40970 ;
40971 return 0;
40972 }
40973 _ACEOF
40974 if ac_fn_cxx_try_compile "$LINENO"; then :
40975 glibcxx_cv_func_fmodf_use=yes
40976 else
40977 glibcxx_cv_func_fmodf_use=no
40978 fi
40979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40980 ac_ext=c
40981 ac_cpp='$CPP $CPPFLAGS'
40982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40985
40986
40987 fi
40988
40989 fi
40990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
40991 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
40992
40993 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
40994 for ac_func in fmodf
40995 do :
40996 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
40997 if test "x$ac_cv_func_fmodf" = x""yes; then :
40998 cat >>confdefs.h <<_ACEOF
40999 #define HAVE_FMODF 1
41000 _ACEOF
41001
41002 fi
41003 done
41004
41005 else
41006
41007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41008 $as_echo_n "checking for _fmodf declaration... " >&6; }
41009 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41010 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41011 $as_echo_n "(cached) " >&6
41012 else
41013
41014
41015 ac_ext=cpp
41016 ac_cpp='$CXXCPP $CPPFLAGS'
41017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41020
41021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41022 /* end confdefs.h. */
41023 #include <math.h>
41024 int
41025 main ()
41026 {
41027 _fmodf(0, 0);
41028 ;
41029 return 0;
41030 }
41031 _ACEOF
41032 if ac_fn_cxx_try_compile "$LINENO"; then :
41033 glibcxx_cv_func__fmodf_use=yes
41034 else
41035 glibcxx_cv_func__fmodf_use=no
41036 fi
41037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41038 ac_ext=c
41039 ac_cpp='$CPP $CPPFLAGS'
41040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41043
41044
41045 fi
41046
41047 fi
41048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
41049 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
41050
41051 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
41052 for ac_func in _fmodf
41053 do :
41054 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
41055 if test "x$ac_cv_func__fmodf" = x""yes; then :
41056 cat >>confdefs.h <<_ACEOF
41057 #define HAVE__FMODF 1
41058 _ACEOF
41059
41060 fi
41061 done
41062
41063 fi
41064 fi
41065
41066
41067
41068
41069
41070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
41071 $as_echo_n "checking for frexpf declaration... " >&6; }
41072 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
41073 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
41074 $as_echo_n "(cached) " >&6
41075 else
41076
41077
41078 ac_ext=cpp
41079 ac_cpp='$CXXCPP $CPPFLAGS'
41080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41083
41084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41085 /* end confdefs.h. */
41086 #include <math.h>
41087 int
41088 main ()
41089 {
41090 frexpf(0, 0);
41091 ;
41092 return 0;
41093 }
41094 _ACEOF
41095 if ac_fn_cxx_try_compile "$LINENO"; then :
41096 glibcxx_cv_func_frexpf_use=yes
41097 else
41098 glibcxx_cv_func_frexpf_use=no
41099 fi
41100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41101 ac_ext=c
41102 ac_cpp='$CPP $CPPFLAGS'
41103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41106
41107
41108 fi
41109
41110 fi
41111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
41112 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
41113
41114 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
41115 for ac_func in frexpf
41116 do :
41117 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
41118 if test "x$ac_cv_func_frexpf" = x""yes; then :
41119 cat >>confdefs.h <<_ACEOF
41120 #define HAVE_FREXPF 1
41121 _ACEOF
41122
41123 fi
41124 done
41125
41126 else
41127
41128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
41129 $as_echo_n "checking for _frexpf declaration... " >&6; }
41130 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
41131 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
41132 $as_echo_n "(cached) " >&6
41133 else
41134
41135
41136 ac_ext=cpp
41137 ac_cpp='$CXXCPP $CPPFLAGS'
41138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41141
41142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41143 /* end confdefs.h. */
41144 #include <math.h>
41145 int
41146 main ()
41147 {
41148 _frexpf(0, 0);
41149 ;
41150 return 0;
41151 }
41152 _ACEOF
41153 if ac_fn_cxx_try_compile "$LINENO"; then :
41154 glibcxx_cv_func__frexpf_use=yes
41155 else
41156 glibcxx_cv_func__frexpf_use=no
41157 fi
41158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41159 ac_ext=c
41160 ac_cpp='$CPP $CPPFLAGS'
41161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41164
41165
41166 fi
41167
41168 fi
41169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
41170 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
41171
41172 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
41173 for ac_func in _frexpf
41174 do :
41175 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
41176 if test "x$ac_cv_func__frexpf" = x""yes; then :
41177 cat >>confdefs.h <<_ACEOF
41178 #define HAVE__FREXPF 1
41179 _ACEOF
41180
41181 fi
41182 done
41183
41184 fi
41185 fi
41186
41187
41188
41189
41190
41191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
41192 $as_echo_n "checking for hypotf declaration... " >&6; }
41193 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
41194 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
41195 $as_echo_n "(cached) " >&6
41196 else
41197
41198
41199 ac_ext=cpp
41200 ac_cpp='$CXXCPP $CPPFLAGS'
41201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41204
41205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41206 /* end confdefs.h. */
41207 #include <math.h>
41208 int
41209 main ()
41210 {
41211 hypotf(0, 0);
41212 ;
41213 return 0;
41214 }
41215 _ACEOF
41216 if ac_fn_cxx_try_compile "$LINENO"; then :
41217 glibcxx_cv_func_hypotf_use=yes
41218 else
41219 glibcxx_cv_func_hypotf_use=no
41220 fi
41221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41222 ac_ext=c
41223 ac_cpp='$CPP $CPPFLAGS'
41224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41227
41228
41229 fi
41230
41231 fi
41232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
41233 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
41234
41235 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
41236 for ac_func in hypotf
41237 do :
41238 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
41239 if test "x$ac_cv_func_hypotf" = x""yes; then :
41240 cat >>confdefs.h <<_ACEOF
41241 #define HAVE_HYPOTF 1
41242 _ACEOF
41243
41244 fi
41245 done
41246
41247 else
41248
41249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
41250 $as_echo_n "checking for _hypotf declaration... " >&6; }
41251 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
41252 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
41253 $as_echo_n "(cached) " >&6
41254 else
41255
41256
41257 ac_ext=cpp
41258 ac_cpp='$CXXCPP $CPPFLAGS'
41259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41262
41263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41264 /* end confdefs.h. */
41265 #include <math.h>
41266 int
41267 main ()
41268 {
41269 _hypotf(0, 0);
41270 ;
41271 return 0;
41272 }
41273 _ACEOF
41274 if ac_fn_cxx_try_compile "$LINENO"; then :
41275 glibcxx_cv_func__hypotf_use=yes
41276 else
41277 glibcxx_cv_func__hypotf_use=no
41278 fi
41279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41280 ac_ext=c
41281 ac_cpp='$CPP $CPPFLAGS'
41282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41285
41286
41287 fi
41288
41289 fi
41290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
41291 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
41292
41293 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
41294 for ac_func in _hypotf
41295 do :
41296 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
41297 if test "x$ac_cv_func__hypotf" = x""yes; then :
41298 cat >>confdefs.h <<_ACEOF
41299 #define HAVE__HYPOTF 1
41300 _ACEOF
41301
41302 fi
41303 done
41304
41305 fi
41306 fi
41307
41308
41309
41310
41311
41312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
41313 $as_echo_n "checking for ldexpf declaration... " >&6; }
41314 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
41315 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
41316 $as_echo_n "(cached) " >&6
41317 else
41318
41319
41320 ac_ext=cpp
41321 ac_cpp='$CXXCPP $CPPFLAGS'
41322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41325
41326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41327 /* end confdefs.h. */
41328 #include <math.h>
41329 int
41330 main ()
41331 {
41332 ldexpf(0, 0);
41333 ;
41334 return 0;
41335 }
41336 _ACEOF
41337 if ac_fn_cxx_try_compile "$LINENO"; then :
41338 glibcxx_cv_func_ldexpf_use=yes
41339 else
41340 glibcxx_cv_func_ldexpf_use=no
41341 fi
41342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41343 ac_ext=c
41344 ac_cpp='$CPP $CPPFLAGS'
41345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41348
41349
41350 fi
41351
41352 fi
41353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
41354 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
41355
41356 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
41357 for ac_func in ldexpf
41358 do :
41359 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
41360 if test "x$ac_cv_func_ldexpf" = x""yes; then :
41361 cat >>confdefs.h <<_ACEOF
41362 #define HAVE_LDEXPF 1
41363 _ACEOF
41364
41365 fi
41366 done
41367
41368 else
41369
41370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
41371 $as_echo_n "checking for _ldexpf declaration... " >&6; }
41372 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
41373 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
41374 $as_echo_n "(cached) " >&6
41375 else
41376
41377
41378 ac_ext=cpp
41379 ac_cpp='$CXXCPP $CPPFLAGS'
41380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41383
41384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41385 /* end confdefs.h. */
41386 #include <math.h>
41387 int
41388 main ()
41389 {
41390 _ldexpf(0, 0);
41391 ;
41392 return 0;
41393 }
41394 _ACEOF
41395 if ac_fn_cxx_try_compile "$LINENO"; then :
41396 glibcxx_cv_func__ldexpf_use=yes
41397 else
41398 glibcxx_cv_func__ldexpf_use=no
41399 fi
41400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41401 ac_ext=c
41402 ac_cpp='$CPP $CPPFLAGS'
41403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41406
41407
41408 fi
41409
41410 fi
41411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
41412 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
41413
41414 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
41415 for ac_func in _ldexpf
41416 do :
41417 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
41418 if test "x$ac_cv_func__ldexpf" = x""yes; then :
41419 cat >>confdefs.h <<_ACEOF
41420 #define HAVE__LDEXPF 1
41421 _ACEOF
41422
41423 fi
41424 done
41425
41426 fi
41427 fi
41428
41429
41430
41431
41432
41433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
41434 $as_echo_n "checking for logf declaration... " >&6; }
41435 if test x${glibcxx_cv_func_logf_use+set} != xset; then
41436 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
41437 $as_echo_n "(cached) " >&6
41438 else
41439
41440
41441 ac_ext=cpp
41442 ac_cpp='$CXXCPP $CPPFLAGS'
41443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41446
41447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41448 /* end confdefs.h. */
41449 #include <math.h>
41450 #ifdef HAVE_IEEEFP_H
41451 #include <ieeefp.h>
41452 #endif
41453
41454 int
41455 main ()
41456 {
41457 logf(0);
41458 ;
41459 return 0;
41460 }
41461 _ACEOF
41462 if ac_fn_cxx_try_compile "$LINENO"; then :
41463 glibcxx_cv_func_logf_use=yes
41464 else
41465 glibcxx_cv_func_logf_use=no
41466 fi
41467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41468 ac_ext=c
41469 ac_cpp='$CPP $CPPFLAGS'
41470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41473
41474
41475 fi
41476
41477 fi
41478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
41479 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
41480
41481 if test x$glibcxx_cv_func_logf_use = x"yes"; then
41482 for ac_func in logf
41483 do :
41484 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
41485 if test "x$ac_cv_func_logf" = x""yes; then :
41486 cat >>confdefs.h <<_ACEOF
41487 #define HAVE_LOGF 1
41488 _ACEOF
41489
41490 fi
41491 done
41492
41493 else
41494
41495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
41496 $as_echo_n "checking for _logf declaration... " >&6; }
41497 if test x${glibcxx_cv_func__logf_use+set} != xset; then
41498 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
41499 $as_echo_n "(cached) " >&6
41500 else
41501
41502
41503 ac_ext=cpp
41504 ac_cpp='$CXXCPP $CPPFLAGS'
41505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41508
41509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41510 /* end confdefs.h. */
41511 #include <math.h>
41512 #ifdef HAVE_IEEEFP_H
41513 #include <ieeefp.h>
41514 #endif
41515
41516 int
41517 main ()
41518 {
41519 _logf(0);
41520 ;
41521 return 0;
41522 }
41523 _ACEOF
41524 if ac_fn_cxx_try_compile "$LINENO"; then :
41525 glibcxx_cv_func__logf_use=yes
41526 else
41527 glibcxx_cv_func__logf_use=no
41528 fi
41529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41530 ac_ext=c
41531 ac_cpp='$CPP $CPPFLAGS'
41532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41535
41536
41537 fi
41538
41539 fi
41540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
41541 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
41542
41543 if test x$glibcxx_cv_func__logf_use = x"yes"; then
41544 for ac_func in _logf
41545 do :
41546 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
41547 if test "x$ac_cv_func__logf" = x""yes; then :
41548 cat >>confdefs.h <<_ACEOF
41549 #define HAVE__LOGF 1
41550 _ACEOF
41551
41552 fi
41553 done
41554
41555 fi
41556 fi
41557
41558
41559
41560
41561
41562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
41563 $as_echo_n "checking for log10f declaration... " >&6; }
41564 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
41565 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
41566 $as_echo_n "(cached) " >&6
41567 else
41568
41569
41570 ac_ext=cpp
41571 ac_cpp='$CXXCPP $CPPFLAGS'
41572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41575
41576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41577 /* end confdefs.h. */
41578 #include <math.h>
41579 #ifdef HAVE_IEEEFP_H
41580 #include <ieeefp.h>
41581 #endif
41582
41583 int
41584 main ()
41585 {
41586 log10f(0);
41587 ;
41588 return 0;
41589 }
41590 _ACEOF
41591 if ac_fn_cxx_try_compile "$LINENO"; then :
41592 glibcxx_cv_func_log10f_use=yes
41593 else
41594 glibcxx_cv_func_log10f_use=no
41595 fi
41596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41597 ac_ext=c
41598 ac_cpp='$CPP $CPPFLAGS'
41599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41602
41603
41604 fi
41605
41606 fi
41607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
41608 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
41609
41610 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
41611 for ac_func in log10f
41612 do :
41613 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
41614 if test "x$ac_cv_func_log10f" = x""yes; then :
41615 cat >>confdefs.h <<_ACEOF
41616 #define HAVE_LOG10F 1
41617 _ACEOF
41618
41619 fi
41620 done
41621
41622 else
41623
41624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
41625 $as_echo_n "checking for _log10f declaration... " >&6; }
41626 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
41627 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
41628 $as_echo_n "(cached) " >&6
41629 else
41630
41631
41632 ac_ext=cpp
41633 ac_cpp='$CXXCPP $CPPFLAGS'
41634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41637
41638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41639 /* end confdefs.h. */
41640 #include <math.h>
41641 #ifdef HAVE_IEEEFP_H
41642 #include <ieeefp.h>
41643 #endif
41644
41645 int
41646 main ()
41647 {
41648 _log10f(0);
41649 ;
41650 return 0;
41651 }
41652 _ACEOF
41653 if ac_fn_cxx_try_compile "$LINENO"; then :
41654 glibcxx_cv_func__log10f_use=yes
41655 else
41656 glibcxx_cv_func__log10f_use=no
41657 fi
41658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41659 ac_ext=c
41660 ac_cpp='$CPP $CPPFLAGS'
41661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41664
41665
41666 fi
41667
41668 fi
41669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
41670 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
41671
41672 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
41673 for ac_func in _log10f
41674 do :
41675 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
41676 if test "x$ac_cv_func__log10f" = x""yes; then :
41677 cat >>confdefs.h <<_ACEOF
41678 #define HAVE__LOG10F 1
41679 _ACEOF
41680
41681 fi
41682 done
41683
41684 fi
41685 fi
41686
41687
41688
41689
41690
41691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
41692 $as_echo_n "checking for modff declaration... " >&6; }
41693 if test x${glibcxx_cv_func_modff_use+set} != xset; then
41694 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
41695 $as_echo_n "(cached) " >&6
41696 else
41697
41698
41699 ac_ext=cpp
41700 ac_cpp='$CXXCPP $CPPFLAGS'
41701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41704
41705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41706 /* end confdefs.h. */
41707 #include <math.h>
41708 int
41709 main ()
41710 {
41711 modff(0, 0);
41712 ;
41713 return 0;
41714 }
41715 _ACEOF
41716 if ac_fn_cxx_try_compile "$LINENO"; then :
41717 glibcxx_cv_func_modff_use=yes
41718 else
41719 glibcxx_cv_func_modff_use=no
41720 fi
41721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41722 ac_ext=c
41723 ac_cpp='$CPP $CPPFLAGS'
41724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41727
41728
41729 fi
41730
41731 fi
41732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
41733 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
41734
41735 if test x$glibcxx_cv_func_modff_use = x"yes"; then
41736 for ac_func in modff
41737 do :
41738 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
41739 if test "x$ac_cv_func_modff" = x""yes; then :
41740 cat >>confdefs.h <<_ACEOF
41741 #define HAVE_MODFF 1
41742 _ACEOF
41743
41744 fi
41745 done
41746
41747 else
41748
41749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
41750 $as_echo_n "checking for _modff declaration... " >&6; }
41751 if test x${glibcxx_cv_func__modff_use+set} != xset; then
41752 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
41753 $as_echo_n "(cached) " >&6
41754 else
41755
41756
41757 ac_ext=cpp
41758 ac_cpp='$CXXCPP $CPPFLAGS'
41759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41762
41763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41764 /* end confdefs.h. */
41765 #include <math.h>
41766 int
41767 main ()
41768 {
41769 _modff(0, 0);
41770 ;
41771 return 0;
41772 }
41773 _ACEOF
41774 if ac_fn_cxx_try_compile "$LINENO"; then :
41775 glibcxx_cv_func__modff_use=yes
41776 else
41777 glibcxx_cv_func__modff_use=no
41778 fi
41779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41780 ac_ext=c
41781 ac_cpp='$CPP $CPPFLAGS'
41782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41785
41786
41787 fi
41788
41789 fi
41790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
41791 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
41792
41793 if test x$glibcxx_cv_func__modff_use = x"yes"; then
41794 for ac_func in _modff
41795 do :
41796 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
41797 if test "x$ac_cv_func__modff" = x""yes; then :
41798 cat >>confdefs.h <<_ACEOF
41799 #define HAVE__MODFF 1
41800 _ACEOF
41801
41802 fi
41803 done
41804
41805 fi
41806 fi
41807
41808
41809
41810
41811
41812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
41813 $as_echo_n "checking for modf declaration... " >&6; }
41814 if test x${glibcxx_cv_func_modf_use+set} != xset; then
41815 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
41816 $as_echo_n "(cached) " >&6
41817 else
41818
41819
41820 ac_ext=cpp
41821 ac_cpp='$CXXCPP $CPPFLAGS'
41822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41825
41826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41827 /* end confdefs.h. */
41828 #include <math.h>
41829 int
41830 main ()
41831 {
41832 modf(0, 0);
41833 ;
41834 return 0;
41835 }
41836 _ACEOF
41837 if ac_fn_cxx_try_compile "$LINENO"; then :
41838 glibcxx_cv_func_modf_use=yes
41839 else
41840 glibcxx_cv_func_modf_use=no
41841 fi
41842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41843 ac_ext=c
41844 ac_cpp='$CPP $CPPFLAGS'
41845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41848
41849
41850 fi
41851
41852 fi
41853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
41854 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
41855
41856 if test x$glibcxx_cv_func_modf_use = x"yes"; then
41857 for ac_func in modf
41858 do :
41859 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
41860 if test "x$ac_cv_func_modf" = x""yes; then :
41861 cat >>confdefs.h <<_ACEOF
41862 #define HAVE_MODF 1
41863 _ACEOF
41864
41865 fi
41866 done
41867
41868 else
41869
41870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
41871 $as_echo_n "checking for _modf declaration... " >&6; }
41872 if test x${glibcxx_cv_func__modf_use+set} != xset; then
41873 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
41874 $as_echo_n "(cached) " >&6
41875 else
41876
41877
41878 ac_ext=cpp
41879 ac_cpp='$CXXCPP $CPPFLAGS'
41880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41883
41884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41885 /* end confdefs.h. */
41886 #include <math.h>
41887 int
41888 main ()
41889 {
41890 _modf(0, 0);
41891 ;
41892 return 0;
41893 }
41894 _ACEOF
41895 if ac_fn_cxx_try_compile "$LINENO"; then :
41896 glibcxx_cv_func__modf_use=yes
41897 else
41898 glibcxx_cv_func__modf_use=no
41899 fi
41900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41901 ac_ext=c
41902 ac_cpp='$CPP $CPPFLAGS'
41903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41906
41907
41908 fi
41909
41910 fi
41911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
41912 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
41913
41914 if test x$glibcxx_cv_func__modf_use = x"yes"; then
41915 for ac_func in _modf
41916 do :
41917 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
41918 if test "x$ac_cv_func__modf" = x""yes; then :
41919 cat >>confdefs.h <<_ACEOF
41920 #define HAVE__MODF 1
41921 _ACEOF
41922
41923 fi
41924 done
41925
41926 fi
41927 fi
41928
41929
41930
41931
41932
41933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
41934 $as_echo_n "checking for powf declaration... " >&6; }
41935 if test x${glibcxx_cv_func_powf_use+set} != xset; then
41936 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
41937 $as_echo_n "(cached) " >&6
41938 else
41939
41940
41941 ac_ext=cpp
41942 ac_cpp='$CXXCPP $CPPFLAGS'
41943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41946
41947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41948 /* end confdefs.h. */
41949 #include <math.h>
41950 int
41951 main ()
41952 {
41953 powf(0, 0);
41954 ;
41955 return 0;
41956 }
41957 _ACEOF
41958 if ac_fn_cxx_try_compile "$LINENO"; then :
41959 glibcxx_cv_func_powf_use=yes
41960 else
41961 glibcxx_cv_func_powf_use=no
41962 fi
41963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41964 ac_ext=c
41965 ac_cpp='$CPP $CPPFLAGS'
41966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41969
41970
41971 fi
41972
41973 fi
41974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
41975 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
41976
41977 if test x$glibcxx_cv_func_powf_use = x"yes"; then
41978 for ac_func in powf
41979 do :
41980 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
41981 if test "x$ac_cv_func_powf" = x""yes; then :
41982 cat >>confdefs.h <<_ACEOF
41983 #define HAVE_POWF 1
41984 _ACEOF
41985
41986 fi
41987 done
41988
41989 else
41990
41991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
41992 $as_echo_n "checking for _powf declaration... " >&6; }
41993 if test x${glibcxx_cv_func__powf_use+set} != xset; then
41994 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
41995 $as_echo_n "(cached) " >&6
41996 else
41997
41998
41999 ac_ext=cpp
42000 ac_cpp='$CXXCPP $CPPFLAGS'
42001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42004
42005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42006 /* end confdefs.h. */
42007 #include <math.h>
42008 int
42009 main ()
42010 {
42011 _powf(0, 0);
42012 ;
42013 return 0;
42014 }
42015 _ACEOF
42016 if ac_fn_cxx_try_compile "$LINENO"; then :
42017 glibcxx_cv_func__powf_use=yes
42018 else
42019 glibcxx_cv_func__powf_use=no
42020 fi
42021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42022 ac_ext=c
42023 ac_cpp='$CPP $CPPFLAGS'
42024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42027
42028
42029 fi
42030
42031 fi
42032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
42033 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
42034
42035 if test x$glibcxx_cv_func__powf_use = x"yes"; then
42036 for ac_func in _powf
42037 do :
42038 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
42039 if test "x$ac_cv_func__powf" = x""yes; then :
42040 cat >>confdefs.h <<_ACEOF
42041 #define HAVE__POWF 1
42042 _ACEOF
42043
42044 fi
42045 done
42046
42047 fi
42048 fi
42049
42050
42051
42052
42053
42054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
42055 $as_echo_n "checking for sqrtf declaration... " >&6; }
42056 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
42057 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
42058 $as_echo_n "(cached) " >&6
42059 else
42060
42061
42062 ac_ext=cpp
42063 ac_cpp='$CXXCPP $CPPFLAGS'
42064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42067
42068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42069 /* end confdefs.h. */
42070 #include <math.h>
42071 #ifdef HAVE_IEEEFP_H
42072 #include <ieeefp.h>
42073 #endif
42074
42075 int
42076 main ()
42077 {
42078 sqrtf(0);
42079 ;
42080 return 0;
42081 }
42082 _ACEOF
42083 if ac_fn_cxx_try_compile "$LINENO"; then :
42084 glibcxx_cv_func_sqrtf_use=yes
42085 else
42086 glibcxx_cv_func_sqrtf_use=no
42087 fi
42088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42089 ac_ext=c
42090 ac_cpp='$CPP $CPPFLAGS'
42091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42094
42095
42096 fi
42097
42098 fi
42099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
42100 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
42101
42102 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
42103 for ac_func in sqrtf
42104 do :
42105 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
42106 if test "x$ac_cv_func_sqrtf" = x""yes; then :
42107 cat >>confdefs.h <<_ACEOF
42108 #define HAVE_SQRTF 1
42109 _ACEOF
42110
42111 fi
42112 done
42113
42114 else
42115
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
42117 $as_echo_n "checking for _sqrtf declaration... " >&6; }
42118 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
42119 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
42120 $as_echo_n "(cached) " >&6
42121 else
42122
42123
42124 ac_ext=cpp
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42129
42130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42131 /* end confdefs.h. */
42132 #include <math.h>
42133 #ifdef HAVE_IEEEFP_H
42134 #include <ieeefp.h>
42135 #endif
42136
42137 int
42138 main ()
42139 {
42140 _sqrtf(0);
42141 ;
42142 return 0;
42143 }
42144 _ACEOF
42145 if ac_fn_cxx_try_compile "$LINENO"; then :
42146 glibcxx_cv_func__sqrtf_use=yes
42147 else
42148 glibcxx_cv_func__sqrtf_use=no
42149 fi
42150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42151 ac_ext=c
42152 ac_cpp='$CPP $CPPFLAGS'
42153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42156
42157
42158 fi
42159
42160 fi
42161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
42162 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
42163
42164 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
42165 for ac_func in _sqrtf
42166 do :
42167 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
42168 if test "x$ac_cv_func__sqrtf" = x""yes; then :
42169 cat >>confdefs.h <<_ACEOF
42170 #define HAVE__SQRTF 1
42171 _ACEOF
42172
42173 fi
42174 done
42175
42176 fi
42177 fi
42178
42179
42180
42181
42182
42183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
42184 $as_echo_n "checking for sincosf declaration... " >&6; }
42185 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
42186 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
42187 $as_echo_n "(cached) " >&6
42188 else
42189
42190
42191 ac_ext=cpp
42192 ac_cpp='$CXXCPP $CPPFLAGS'
42193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42196
42197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42198 /* end confdefs.h. */
42199 #include <math.h>
42200 int
42201 main ()
42202 {
42203 sincosf(0, 0, 0);
42204 ;
42205 return 0;
42206 }
42207 _ACEOF
42208 if ac_fn_cxx_try_compile "$LINENO"; then :
42209 glibcxx_cv_func_sincosf_use=yes
42210 else
42211 glibcxx_cv_func_sincosf_use=no
42212 fi
42213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42214 ac_ext=c
42215 ac_cpp='$CPP $CPPFLAGS'
42216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42219
42220
42221 fi
42222
42223 fi
42224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
42225 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
42226
42227 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
42228 for ac_func in sincosf
42229 do :
42230 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
42231 if test "x$ac_cv_func_sincosf" = x""yes; then :
42232 cat >>confdefs.h <<_ACEOF
42233 #define HAVE_SINCOSF 1
42234 _ACEOF
42235
42236 fi
42237 done
42238
42239 else
42240
42241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
42242 $as_echo_n "checking for _sincosf declaration... " >&6; }
42243 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
42244 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
42245 $as_echo_n "(cached) " >&6
42246 else
42247
42248
42249 ac_ext=cpp
42250 ac_cpp='$CXXCPP $CPPFLAGS'
42251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42254
42255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42256 /* end confdefs.h. */
42257 #include <math.h>
42258 int
42259 main ()
42260 {
42261 _sincosf(0, 0, 0);
42262 ;
42263 return 0;
42264 }
42265 _ACEOF
42266 if ac_fn_cxx_try_compile "$LINENO"; then :
42267 glibcxx_cv_func__sincosf_use=yes
42268 else
42269 glibcxx_cv_func__sincosf_use=no
42270 fi
42271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42272 ac_ext=c
42273 ac_cpp='$CPP $CPPFLAGS'
42274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42277
42278
42279 fi
42280
42281 fi
42282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
42283 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
42284
42285 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
42286 for ac_func in _sincosf
42287 do :
42288 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
42289 if test "x$ac_cv_func__sincosf" = x""yes; then :
42290 cat >>confdefs.h <<_ACEOF
42291 #define HAVE__SINCOSF 1
42292 _ACEOF
42293
42294 fi
42295 done
42296
42297 fi
42298 fi
42299
42300
42301
42302
42303
42304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
42305 $as_echo_n "checking for finitef declaration... " >&6; }
42306 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
42307 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
42308 $as_echo_n "(cached) " >&6
42309 else
42310
42311
42312 ac_ext=cpp
42313 ac_cpp='$CXXCPP $CPPFLAGS'
42314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42317
42318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42319 /* end confdefs.h. */
42320 #include <math.h>
42321 #ifdef HAVE_IEEEFP_H
42322 #include <ieeefp.h>
42323 #endif
42324
42325 int
42326 main ()
42327 {
42328 finitef(0);
42329 ;
42330 return 0;
42331 }
42332 _ACEOF
42333 if ac_fn_cxx_try_compile "$LINENO"; then :
42334 glibcxx_cv_func_finitef_use=yes
42335 else
42336 glibcxx_cv_func_finitef_use=no
42337 fi
42338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42339 ac_ext=c
42340 ac_cpp='$CPP $CPPFLAGS'
42341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42344
42345
42346 fi
42347
42348 fi
42349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
42350 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
42351
42352 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
42353 for ac_func in finitef
42354 do :
42355 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
42356 if test "x$ac_cv_func_finitef" = x""yes; then :
42357 cat >>confdefs.h <<_ACEOF
42358 #define HAVE_FINITEF 1
42359 _ACEOF
42360
42361 fi
42362 done
42363
42364 else
42365
42366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
42367 $as_echo_n "checking for _finitef declaration... " >&6; }
42368 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
42369 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
42370 $as_echo_n "(cached) " >&6
42371 else
42372
42373
42374 ac_ext=cpp
42375 ac_cpp='$CXXCPP $CPPFLAGS'
42376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42379
42380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42381 /* end confdefs.h. */
42382 #include <math.h>
42383 #ifdef HAVE_IEEEFP_H
42384 #include <ieeefp.h>
42385 #endif
42386
42387 int
42388 main ()
42389 {
42390 _finitef(0);
42391 ;
42392 return 0;
42393 }
42394 _ACEOF
42395 if ac_fn_cxx_try_compile "$LINENO"; then :
42396 glibcxx_cv_func__finitef_use=yes
42397 else
42398 glibcxx_cv_func__finitef_use=no
42399 fi
42400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42401 ac_ext=c
42402 ac_cpp='$CPP $CPPFLAGS'
42403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42406
42407
42408 fi
42409
42410 fi
42411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
42412 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
42413
42414 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
42415 for ac_func in _finitef
42416 do :
42417 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
42418 if test "x$ac_cv_func__finitef" = x""yes; then :
42419 cat >>confdefs.h <<_ACEOF
42420 #define HAVE__FINITEF 1
42421 _ACEOF
42422
42423 fi
42424 done
42425
42426 fi
42427 fi
42428
42429
42430
42431
42432
42433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
42434 $as_echo_n "checking for long double trig functions... " >&6; }
42435 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
42436 $as_echo_n "(cached) " >&6
42437 else
42438
42439
42440 ac_ext=cpp
42441 ac_cpp='$CXXCPP $CPPFLAGS'
42442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42445
42446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42447 /* end confdefs.h. */
42448 #include <math.h>
42449 int
42450 main ()
42451 {
42452 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
42453 ;
42454 return 0;
42455 }
42456 _ACEOF
42457 if ac_fn_cxx_try_compile "$LINENO"; then :
42458 glibcxx_cv_func_long_double_trig_use=yes
42459 else
42460 glibcxx_cv_func_long_double_trig_use=no
42461 fi
42462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42463 ac_ext=c
42464 ac_cpp='$CPP $CPPFLAGS'
42465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42468
42469 fi
42470
42471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
42472 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
42473 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
42474 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
42475 do :
42476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42478 eval as_val=\$$as_ac_var
42479 if test "x$as_val" = x""yes; then :
42480 cat >>confdefs.h <<_ACEOF
42481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42482 _ACEOF
42483
42484 fi
42485 done
42486
42487 else
42488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
42489 $as_echo_n "checking for _long double trig functions... " >&6; }
42490 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
42491 $as_echo_n "(cached) " >&6
42492 else
42493
42494
42495 ac_ext=cpp
42496 ac_cpp='$CXXCPP $CPPFLAGS'
42497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42500
42501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42502 /* end confdefs.h. */
42503 #include <math.h>
42504 int
42505 main ()
42506 {
42507 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
42508 ;
42509 return 0;
42510 }
42511 _ACEOF
42512 if ac_fn_cxx_try_compile "$LINENO"; then :
42513 glibcxx_cv_func__long_double_trig_use=yes
42514 else
42515 glibcxx_cv_func__long_double_trig_use=no
42516 fi
42517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42518 ac_ext=c
42519 ac_cpp='$CPP $CPPFLAGS'
42520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42523
42524 fi
42525
42526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
42527 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
42528 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
42529 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
42530 do :
42531 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42532 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42533 eval as_val=\$$as_ac_var
42534 if test "x$as_val" = x""yes; then :
42535 cat >>confdefs.h <<_ACEOF
42536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42537 _ACEOF
42538
42539 fi
42540 done
42541
42542 fi
42543 fi
42544
42545
42546
42547
42548
42549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
42550 $as_echo_n "checking for long double round functions... " >&6; }
42551 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
42552 $as_echo_n "(cached) " >&6
42553 else
42554
42555
42556 ac_ext=cpp
42557 ac_cpp='$CXXCPP $CPPFLAGS'
42558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42561
42562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42563 /* end confdefs.h. */
42564 #include <math.h>
42565 int
42566 main ()
42567 {
42568 ceill (0); floorl (0);
42569 ;
42570 return 0;
42571 }
42572 _ACEOF
42573 if ac_fn_cxx_try_compile "$LINENO"; then :
42574 glibcxx_cv_func_long_double_round_use=yes
42575 else
42576 glibcxx_cv_func_long_double_round_use=no
42577 fi
42578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42579 ac_ext=c
42580 ac_cpp='$CPP $CPPFLAGS'
42581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42584
42585 fi
42586
42587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
42588 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
42589 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
42590 for ac_func in ceill floorl
42591 do :
42592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42594 eval as_val=\$$as_ac_var
42595 if test "x$as_val" = x""yes; then :
42596 cat >>confdefs.h <<_ACEOF
42597 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42598 _ACEOF
42599
42600 fi
42601 done
42602
42603 else
42604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
42605 $as_echo_n "checking for _long double round functions... " >&6; }
42606 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
42607 $as_echo_n "(cached) " >&6
42608 else
42609
42610
42611 ac_ext=cpp
42612 ac_cpp='$CXXCPP $CPPFLAGS'
42613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42616
42617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42618 /* end confdefs.h. */
42619 #include <math.h>
42620 int
42621 main ()
42622 {
42623 _ceill (0); _floorl (0);
42624 ;
42625 return 0;
42626 }
42627 _ACEOF
42628 if ac_fn_cxx_try_compile "$LINENO"; then :
42629 glibcxx_cv_func__long_double_round_use=yes
42630 else
42631 glibcxx_cv_func__long_double_round_use=no
42632 fi
42633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42634 ac_ext=c
42635 ac_cpp='$CPP $CPPFLAGS'
42636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42639
42640 fi
42641
42642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
42643 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
42644 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
42645 for ac_func in _ceill _floorl
42646 do :
42647 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42648 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42649 eval as_val=\$$as_ac_var
42650 if test "x$as_val" = x""yes; then :
42651 cat >>confdefs.h <<_ACEOF
42652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42653 _ACEOF
42654
42655 fi
42656 done
42657
42658 fi
42659 fi
42660
42661
42662
42663
42664
42665
42666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
42667 $as_echo_n "checking for isnanl declaration... " >&6; }
42668 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
42669 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
42670 $as_echo_n "(cached) " >&6
42671 else
42672
42673
42674 ac_ext=cpp
42675 ac_cpp='$CXXCPP $CPPFLAGS'
42676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42679
42680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42681 /* end confdefs.h. */
42682 #include <math.h>
42683 #ifdef HAVE_IEEEFP_H
42684 #include <ieeefp.h>
42685 #endif
42686
42687 int
42688 main ()
42689 {
42690 isnanl(0);
42691 ;
42692 return 0;
42693 }
42694 _ACEOF
42695 if ac_fn_cxx_try_compile "$LINENO"; then :
42696 glibcxx_cv_func_isnanl_use=yes
42697 else
42698 glibcxx_cv_func_isnanl_use=no
42699 fi
42700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42701 ac_ext=c
42702 ac_cpp='$CPP $CPPFLAGS'
42703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42706
42707
42708 fi
42709
42710 fi
42711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
42712 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
42713
42714 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
42715 for ac_func in isnanl
42716 do :
42717 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
42718 if test "x$ac_cv_func_isnanl" = x""yes; then :
42719 cat >>confdefs.h <<_ACEOF
42720 #define HAVE_ISNANL 1
42721 _ACEOF
42722
42723 fi
42724 done
42725
42726 else
42727
42728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
42729 $as_echo_n "checking for _isnanl declaration... " >&6; }
42730 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
42731 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
42732 $as_echo_n "(cached) " >&6
42733 else
42734
42735
42736 ac_ext=cpp
42737 ac_cpp='$CXXCPP $CPPFLAGS'
42738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42741
42742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42743 /* end confdefs.h. */
42744 #include <math.h>
42745 #ifdef HAVE_IEEEFP_H
42746 #include <ieeefp.h>
42747 #endif
42748
42749 int
42750 main ()
42751 {
42752 _isnanl(0);
42753 ;
42754 return 0;
42755 }
42756 _ACEOF
42757 if ac_fn_cxx_try_compile "$LINENO"; then :
42758 glibcxx_cv_func__isnanl_use=yes
42759 else
42760 glibcxx_cv_func__isnanl_use=no
42761 fi
42762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42763 ac_ext=c
42764 ac_cpp='$CPP $CPPFLAGS'
42765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42768
42769
42770 fi
42771
42772 fi
42773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
42774 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
42775
42776 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
42777 for ac_func in _isnanl
42778 do :
42779 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
42780 if test "x$ac_cv_func__isnanl" = x""yes; then :
42781 cat >>confdefs.h <<_ACEOF
42782 #define HAVE__ISNANL 1
42783 _ACEOF
42784
42785 fi
42786 done
42787
42788 fi
42789 fi
42790
42791
42792
42793
42794
42795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
42796 $as_echo_n "checking for isinfl declaration... " >&6; }
42797 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
42798 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
42799 $as_echo_n "(cached) " >&6
42800 else
42801
42802
42803 ac_ext=cpp
42804 ac_cpp='$CXXCPP $CPPFLAGS'
42805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42808
42809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42810 /* end confdefs.h. */
42811 #include <math.h>
42812 #ifdef HAVE_IEEEFP_H
42813 #include <ieeefp.h>
42814 #endif
42815
42816 int
42817 main ()
42818 {
42819 isinfl(0);
42820 ;
42821 return 0;
42822 }
42823 _ACEOF
42824 if ac_fn_cxx_try_compile "$LINENO"; then :
42825 glibcxx_cv_func_isinfl_use=yes
42826 else
42827 glibcxx_cv_func_isinfl_use=no
42828 fi
42829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42830 ac_ext=c
42831 ac_cpp='$CPP $CPPFLAGS'
42832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42835
42836
42837 fi
42838
42839 fi
42840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
42841 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
42842
42843 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
42844 for ac_func in isinfl
42845 do :
42846 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
42847 if test "x$ac_cv_func_isinfl" = x""yes; then :
42848 cat >>confdefs.h <<_ACEOF
42849 #define HAVE_ISINFL 1
42850 _ACEOF
42851
42852 fi
42853 done
42854
42855 else
42856
42857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
42858 $as_echo_n "checking for _isinfl declaration... " >&6; }
42859 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
42860 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
42861 $as_echo_n "(cached) " >&6
42862 else
42863
42864
42865 ac_ext=cpp
42866 ac_cpp='$CXXCPP $CPPFLAGS'
42867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42870
42871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42872 /* end confdefs.h. */
42873 #include <math.h>
42874 #ifdef HAVE_IEEEFP_H
42875 #include <ieeefp.h>
42876 #endif
42877
42878 int
42879 main ()
42880 {
42881 _isinfl(0);
42882 ;
42883 return 0;
42884 }
42885 _ACEOF
42886 if ac_fn_cxx_try_compile "$LINENO"; then :
42887 glibcxx_cv_func__isinfl_use=yes
42888 else
42889 glibcxx_cv_func__isinfl_use=no
42890 fi
42891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42892 ac_ext=c
42893 ac_cpp='$CPP $CPPFLAGS'
42894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42897
42898
42899 fi
42900
42901 fi
42902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
42903 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
42904
42905 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
42906 for ac_func in _isinfl
42907 do :
42908 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
42909 if test "x$ac_cv_func__isinfl" = x""yes; then :
42910 cat >>confdefs.h <<_ACEOF
42911 #define HAVE__ISINFL 1
42912 _ACEOF
42913
42914 fi
42915 done
42916
42917 fi
42918 fi
42919
42920
42921
42922
42923
42924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
42925 $as_echo_n "checking for atan2l declaration... " >&6; }
42926 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
42927 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
42928 $as_echo_n "(cached) " >&6
42929 else
42930
42931
42932 ac_ext=cpp
42933 ac_cpp='$CXXCPP $CPPFLAGS'
42934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42937
42938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42939 /* end confdefs.h. */
42940 #include <math.h>
42941 int
42942 main ()
42943 {
42944 atan2l(0, 0);
42945 ;
42946 return 0;
42947 }
42948 _ACEOF
42949 if ac_fn_cxx_try_compile "$LINENO"; then :
42950 glibcxx_cv_func_atan2l_use=yes
42951 else
42952 glibcxx_cv_func_atan2l_use=no
42953 fi
42954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42955 ac_ext=c
42956 ac_cpp='$CPP $CPPFLAGS'
42957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42960
42961
42962 fi
42963
42964 fi
42965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
42966 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
42967
42968 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
42969 for ac_func in atan2l
42970 do :
42971 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
42972 if test "x$ac_cv_func_atan2l" = x""yes; then :
42973 cat >>confdefs.h <<_ACEOF
42974 #define HAVE_ATAN2L 1
42975 _ACEOF
42976
42977 fi
42978 done
42979
42980 else
42981
42982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
42983 $as_echo_n "checking for _atan2l declaration... " >&6; }
42984 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
42985 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
42986 $as_echo_n "(cached) " >&6
42987 else
42988
42989
42990 ac_ext=cpp
42991 ac_cpp='$CXXCPP $CPPFLAGS'
42992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42995
42996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42997 /* end confdefs.h. */
42998 #include <math.h>
42999 int
43000 main ()
43001 {
43002 _atan2l(0, 0);
43003 ;
43004 return 0;
43005 }
43006 _ACEOF
43007 if ac_fn_cxx_try_compile "$LINENO"; then :
43008 glibcxx_cv_func__atan2l_use=yes
43009 else
43010 glibcxx_cv_func__atan2l_use=no
43011 fi
43012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43013 ac_ext=c
43014 ac_cpp='$CPP $CPPFLAGS'
43015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43018
43019
43020 fi
43021
43022 fi
43023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
43024 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
43025
43026 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
43027 for ac_func in _atan2l
43028 do :
43029 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
43030 if test "x$ac_cv_func__atan2l" = x""yes; then :
43031 cat >>confdefs.h <<_ACEOF
43032 #define HAVE__ATAN2L 1
43033 _ACEOF
43034
43035 fi
43036 done
43037
43038 fi
43039 fi
43040
43041
43042
43043
43044
43045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
43046 $as_echo_n "checking for expl declaration... " >&6; }
43047 if test x${glibcxx_cv_func_expl_use+set} != xset; then
43048 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
43049 $as_echo_n "(cached) " >&6
43050 else
43051
43052
43053 ac_ext=cpp
43054 ac_cpp='$CXXCPP $CPPFLAGS'
43055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43058
43059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43060 /* end confdefs.h. */
43061 #include <math.h>
43062 #ifdef HAVE_IEEEFP_H
43063 #include <ieeefp.h>
43064 #endif
43065
43066 int
43067 main ()
43068 {
43069 expl(0);
43070 ;
43071 return 0;
43072 }
43073 _ACEOF
43074 if ac_fn_cxx_try_compile "$LINENO"; then :
43075 glibcxx_cv_func_expl_use=yes
43076 else
43077 glibcxx_cv_func_expl_use=no
43078 fi
43079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43080 ac_ext=c
43081 ac_cpp='$CPP $CPPFLAGS'
43082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43085
43086
43087 fi
43088
43089 fi
43090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
43091 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
43092
43093 if test x$glibcxx_cv_func_expl_use = x"yes"; then
43094 for ac_func in expl
43095 do :
43096 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
43097 if test "x$ac_cv_func_expl" = x""yes; then :
43098 cat >>confdefs.h <<_ACEOF
43099 #define HAVE_EXPL 1
43100 _ACEOF
43101
43102 fi
43103 done
43104
43105 else
43106
43107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
43108 $as_echo_n "checking for _expl declaration... " >&6; }
43109 if test x${glibcxx_cv_func__expl_use+set} != xset; then
43110 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
43111 $as_echo_n "(cached) " >&6
43112 else
43113
43114
43115 ac_ext=cpp
43116 ac_cpp='$CXXCPP $CPPFLAGS'
43117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43120
43121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43122 /* end confdefs.h. */
43123 #include <math.h>
43124 #ifdef HAVE_IEEEFP_H
43125 #include <ieeefp.h>
43126 #endif
43127
43128 int
43129 main ()
43130 {
43131 _expl(0);
43132 ;
43133 return 0;
43134 }
43135 _ACEOF
43136 if ac_fn_cxx_try_compile "$LINENO"; then :
43137 glibcxx_cv_func__expl_use=yes
43138 else
43139 glibcxx_cv_func__expl_use=no
43140 fi
43141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43142 ac_ext=c
43143 ac_cpp='$CPP $CPPFLAGS'
43144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43147
43148
43149 fi
43150
43151 fi
43152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
43153 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
43154
43155 if test x$glibcxx_cv_func__expl_use = x"yes"; then
43156 for ac_func in _expl
43157 do :
43158 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
43159 if test "x$ac_cv_func__expl" = x""yes; then :
43160 cat >>confdefs.h <<_ACEOF
43161 #define HAVE__EXPL 1
43162 _ACEOF
43163
43164 fi
43165 done
43166
43167 fi
43168 fi
43169
43170
43171
43172
43173
43174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
43175 $as_echo_n "checking for fabsl declaration... " >&6; }
43176 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
43177 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
43178 $as_echo_n "(cached) " >&6
43179 else
43180
43181
43182 ac_ext=cpp
43183 ac_cpp='$CXXCPP $CPPFLAGS'
43184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43187
43188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43189 /* end confdefs.h. */
43190 #include <math.h>
43191 #ifdef HAVE_IEEEFP_H
43192 #include <ieeefp.h>
43193 #endif
43194
43195 int
43196 main ()
43197 {
43198 fabsl(0);
43199 ;
43200 return 0;
43201 }
43202 _ACEOF
43203 if ac_fn_cxx_try_compile "$LINENO"; then :
43204 glibcxx_cv_func_fabsl_use=yes
43205 else
43206 glibcxx_cv_func_fabsl_use=no
43207 fi
43208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43209 ac_ext=c
43210 ac_cpp='$CPP $CPPFLAGS'
43211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43214
43215
43216 fi
43217
43218 fi
43219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
43220 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
43221
43222 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
43223 for ac_func in fabsl
43224 do :
43225 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
43226 if test "x$ac_cv_func_fabsl" = x""yes; then :
43227 cat >>confdefs.h <<_ACEOF
43228 #define HAVE_FABSL 1
43229 _ACEOF
43230
43231 fi
43232 done
43233
43234 else
43235
43236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
43237 $as_echo_n "checking for _fabsl declaration... " >&6; }
43238 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
43239 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
43240 $as_echo_n "(cached) " >&6
43241 else
43242
43243
43244 ac_ext=cpp
43245 ac_cpp='$CXXCPP $CPPFLAGS'
43246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43249
43250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43251 /* end confdefs.h. */
43252 #include <math.h>
43253 #ifdef HAVE_IEEEFP_H
43254 #include <ieeefp.h>
43255 #endif
43256
43257 int
43258 main ()
43259 {
43260 _fabsl(0);
43261 ;
43262 return 0;
43263 }
43264 _ACEOF
43265 if ac_fn_cxx_try_compile "$LINENO"; then :
43266 glibcxx_cv_func__fabsl_use=yes
43267 else
43268 glibcxx_cv_func__fabsl_use=no
43269 fi
43270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43271 ac_ext=c
43272 ac_cpp='$CPP $CPPFLAGS'
43273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43276
43277
43278 fi
43279
43280 fi
43281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
43282 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
43283
43284 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
43285 for ac_func in _fabsl
43286 do :
43287 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
43288 if test "x$ac_cv_func__fabsl" = x""yes; then :
43289 cat >>confdefs.h <<_ACEOF
43290 #define HAVE__FABSL 1
43291 _ACEOF
43292
43293 fi
43294 done
43295
43296 fi
43297 fi
43298
43299
43300
43301
43302
43303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
43304 $as_echo_n "checking for fmodl declaration... " >&6; }
43305 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
43306 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
43307 $as_echo_n "(cached) " >&6
43308 else
43309
43310
43311 ac_ext=cpp
43312 ac_cpp='$CXXCPP $CPPFLAGS'
43313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43316
43317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43318 /* end confdefs.h. */
43319 #include <math.h>
43320 int
43321 main ()
43322 {
43323 fmodl(0, 0);
43324 ;
43325 return 0;
43326 }
43327 _ACEOF
43328 if ac_fn_cxx_try_compile "$LINENO"; then :
43329 glibcxx_cv_func_fmodl_use=yes
43330 else
43331 glibcxx_cv_func_fmodl_use=no
43332 fi
43333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43334 ac_ext=c
43335 ac_cpp='$CPP $CPPFLAGS'
43336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43339
43340
43341 fi
43342
43343 fi
43344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
43345 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
43346
43347 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
43348 for ac_func in fmodl
43349 do :
43350 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
43351 if test "x$ac_cv_func_fmodl" = x""yes; then :
43352 cat >>confdefs.h <<_ACEOF
43353 #define HAVE_FMODL 1
43354 _ACEOF
43355
43356 fi
43357 done
43358
43359 else
43360
43361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
43362 $as_echo_n "checking for _fmodl declaration... " >&6; }
43363 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
43364 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
43365 $as_echo_n "(cached) " >&6
43366 else
43367
43368
43369 ac_ext=cpp
43370 ac_cpp='$CXXCPP $CPPFLAGS'
43371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43374
43375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43376 /* end confdefs.h. */
43377 #include <math.h>
43378 int
43379 main ()
43380 {
43381 _fmodl(0, 0);
43382 ;
43383 return 0;
43384 }
43385 _ACEOF
43386 if ac_fn_cxx_try_compile "$LINENO"; then :
43387 glibcxx_cv_func__fmodl_use=yes
43388 else
43389 glibcxx_cv_func__fmodl_use=no
43390 fi
43391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43392 ac_ext=c
43393 ac_cpp='$CPP $CPPFLAGS'
43394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43397
43398
43399 fi
43400
43401 fi
43402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
43403 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
43404
43405 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
43406 for ac_func in _fmodl
43407 do :
43408 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
43409 if test "x$ac_cv_func__fmodl" = x""yes; then :
43410 cat >>confdefs.h <<_ACEOF
43411 #define HAVE__FMODL 1
43412 _ACEOF
43413
43414 fi
43415 done
43416
43417 fi
43418 fi
43419
43420
43421
43422
43423
43424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
43425 $as_echo_n "checking for frexpl declaration... " >&6; }
43426 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
43427 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
43428 $as_echo_n "(cached) " >&6
43429 else
43430
43431
43432 ac_ext=cpp
43433 ac_cpp='$CXXCPP $CPPFLAGS'
43434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43437
43438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43439 /* end confdefs.h. */
43440 #include <math.h>
43441 int
43442 main ()
43443 {
43444 frexpl(0, 0);
43445 ;
43446 return 0;
43447 }
43448 _ACEOF
43449 if ac_fn_cxx_try_compile "$LINENO"; then :
43450 glibcxx_cv_func_frexpl_use=yes
43451 else
43452 glibcxx_cv_func_frexpl_use=no
43453 fi
43454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43455 ac_ext=c
43456 ac_cpp='$CPP $CPPFLAGS'
43457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43460
43461
43462 fi
43463
43464 fi
43465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
43466 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
43467
43468 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
43469 for ac_func in frexpl
43470 do :
43471 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
43472 if test "x$ac_cv_func_frexpl" = x""yes; then :
43473 cat >>confdefs.h <<_ACEOF
43474 #define HAVE_FREXPL 1
43475 _ACEOF
43476
43477 fi
43478 done
43479
43480 else
43481
43482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
43483 $as_echo_n "checking for _frexpl declaration... " >&6; }
43484 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
43485 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
43486 $as_echo_n "(cached) " >&6
43487 else
43488
43489
43490 ac_ext=cpp
43491 ac_cpp='$CXXCPP $CPPFLAGS'
43492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43495
43496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43497 /* end confdefs.h. */
43498 #include <math.h>
43499 int
43500 main ()
43501 {
43502 _frexpl(0, 0);
43503 ;
43504 return 0;
43505 }
43506 _ACEOF
43507 if ac_fn_cxx_try_compile "$LINENO"; then :
43508 glibcxx_cv_func__frexpl_use=yes
43509 else
43510 glibcxx_cv_func__frexpl_use=no
43511 fi
43512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43513 ac_ext=c
43514 ac_cpp='$CPP $CPPFLAGS'
43515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43518
43519
43520 fi
43521
43522 fi
43523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
43524 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
43525
43526 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
43527 for ac_func in _frexpl
43528 do :
43529 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
43530 if test "x$ac_cv_func__frexpl" = x""yes; then :
43531 cat >>confdefs.h <<_ACEOF
43532 #define HAVE__FREXPL 1
43533 _ACEOF
43534
43535 fi
43536 done
43537
43538 fi
43539 fi
43540
43541
43542
43543
43544
43545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
43546 $as_echo_n "checking for hypotl declaration... " >&6; }
43547 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
43548 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
43549 $as_echo_n "(cached) " >&6
43550 else
43551
43552
43553 ac_ext=cpp
43554 ac_cpp='$CXXCPP $CPPFLAGS'
43555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43558
43559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43560 /* end confdefs.h. */
43561 #include <math.h>
43562 int
43563 main ()
43564 {
43565 hypotl(0, 0);
43566 ;
43567 return 0;
43568 }
43569 _ACEOF
43570 if ac_fn_cxx_try_compile "$LINENO"; then :
43571 glibcxx_cv_func_hypotl_use=yes
43572 else
43573 glibcxx_cv_func_hypotl_use=no
43574 fi
43575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43576 ac_ext=c
43577 ac_cpp='$CPP $CPPFLAGS'
43578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43581
43582
43583 fi
43584
43585 fi
43586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
43587 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
43588
43589 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
43590 for ac_func in hypotl
43591 do :
43592 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
43593 if test "x$ac_cv_func_hypotl" = x""yes; then :
43594 cat >>confdefs.h <<_ACEOF
43595 #define HAVE_HYPOTL 1
43596 _ACEOF
43597
43598 fi
43599 done
43600
43601 else
43602
43603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
43604 $as_echo_n "checking for _hypotl declaration... " >&6; }
43605 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
43606 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
43607 $as_echo_n "(cached) " >&6
43608 else
43609
43610
43611 ac_ext=cpp
43612 ac_cpp='$CXXCPP $CPPFLAGS'
43613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43616
43617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43618 /* end confdefs.h. */
43619 #include <math.h>
43620 int
43621 main ()
43622 {
43623 _hypotl(0, 0);
43624 ;
43625 return 0;
43626 }
43627 _ACEOF
43628 if ac_fn_cxx_try_compile "$LINENO"; then :
43629 glibcxx_cv_func__hypotl_use=yes
43630 else
43631 glibcxx_cv_func__hypotl_use=no
43632 fi
43633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43634 ac_ext=c
43635 ac_cpp='$CPP $CPPFLAGS'
43636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43639
43640
43641 fi
43642
43643 fi
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
43645 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
43646
43647 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
43648 for ac_func in _hypotl
43649 do :
43650 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
43651 if test "x$ac_cv_func__hypotl" = x""yes; then :
43652 cat >>confdefs.h <<_ACEOF
43653 #define HAVE__HYPOTL 1
43654 _ACEOF
43655
43656 fi
43657 done
43658
43659 fi
43660 fi
43661
43662
43663
43664
43665
43666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
43667 $as_echo_n "checking for ldexpl declaration... " >&6; }
43668 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
43669 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
43670 $as_echo_n "(cached) " >&6
43671 else
43672
43673
43674 ac_ext=cpp
43675 ac_cpp='$CXXCPP $CPPFLAGS'
43676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43679
43680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43681 /* end confdefs.h. */
43682 #include <math.h>
43683 int
43684 main ()
43685 {
43686 ldexpl(0, 0);
43687 ;
43688 return 0;
43689 }
43690 _ACEOF
43691 if ac_fn_cxx_try_compile "$LINENO"; then :
43692 glibcxx_cv_func_ldexpl_use=yes
43693 else
43694 glibcxx_cv_func_ldexpl_use=no
43695 fi
43696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43697 ac_ext=c
43698 ac_cpp='$CPP $CPPFLAGS'
43699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43702
43703
43704 fi
43705
43706 fi
43707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
43708 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
43709
43710 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
43711 for ac_func in ldexpl
43712 do :
43713 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
43714 if test "x$ac_cv_func_ldexpl" = x""yes; then :
43715 cat >>confdefs.h <<_ACEOF
43716 #define HAVE_LDEXPL 1
43717 _ACEOF
43718
43719 fi
43720 done
43721
43722 else
43723
43724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
43725 $as_echo_n "checking for _ldexpl declaration... " >&6; }
43726 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
43727 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
43728 $as_echo_n "(cached) " >&6
43729 else
43730
43731
43732 ac_ext=cpp
43733 ac_cpp='$CXXCPP $CPPFLAGS'
43734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43737
43738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43739 /* end confdefs.h. */
43740 #include <math.h>
43741 int
43742 main ()
43743 {
43744 _ldexpl(0, 0);
43745 ;
43746 return 0;
43747 }
43748 _ACEOF
43749 if ac_fn_cxx_try_compile "$LINENO"; then :
43750 glibcxx_cv_func__ldexpl_use=yes
43751 else
43752 glibcxx_cv_func__ldexpl_use=no
43753 fi
43754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43755 ac_ext=c
43756 ac_cpp='$CPP $CPPFLAGS'
43757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43760
43761
43762 fi
43763
43764 fi
43765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
43766 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
43767
43768 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
43769 for ac_func in _ldexpl
43770 do :
43771 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
43772 if test "x$ac_cv_func__ldexpl" = x""yes; then :
43773 cat >>confdefs.h <<_ACEOF
43774 #define HAVE__LDEXPL 1
43775 _ACEOF
43776
43777 fi
43778 done
43779
43780 fi
43781 fi
43782
43783
43784
43785
43786
43787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
43788 $as_echo_n "checking for logl declaration... " >&6; }
43789 if test x${glibcxx_cv_func_logl_use+set} != xset; then
43790 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
43791 $as_echo_n "(cached) " >&6
43792 else
43793
43794
43795 ac_ext=cpp
43796 ac_cpp='$CXXCPP $CPPFLAGS'
43797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43800
43801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43802 /* end confdefs.h. */
43803 #include <math.h>
43804 #ifdef HAVE_IEEEFP_H
43805 #include <ieeefp.h>
43806 #endif
43807
43808 int
43809 main ()
43810 {
43811 logl(0);
43812 ;
43813 return 0;
43814 }
43815 _ACEOF
43816 if ac_fn_cxx_try_compile "$LINENO"; then :
43817 glibcxx_cv_func_logl_use=yes
43818 else
43819 glibcxx_cv_func_logl_use=no
43820 fi
43821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43822 ac_ext=c
43823 ac_cpp='$CPP $CPPFLAGS'
43824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43827
43828
43829 fi
43830
43831 fi
43832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
43833 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
43834
43835 if test x$glibcxx_cv_func_logl_use = x"yes"; then
43836 for ac_func in logl
43837 do :
43838 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
43839 if test "x$ac_cv_func_logl" = x""yes; then :
43840 cat >>confdefs.h <<_ACEOF
43841 #define HAVE_LOGL 1
43842 _ACEOF
43843
43844 fi
43845 done
43846
43847 else
43848
43849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
43850 $as_echo_n "checking for _logl declaration... " >&6; }
43851 if test x${glibcxx_cv_func__logl_use+set} != xset; then
43852 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
43853 $as_echo_n "(cached) " >&6
43854 else
43855
43856
43857 ac_ext=cpp
43858 ac_cpp='$CXXCPP $CPPFLAGS'
43859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43862
43863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43864 /* end confdefs.h. */
43865 #include <math.h>
43866 #ifdef HAVE_IEEEFP_H
43867 #include <ieeefp.h>
43868 #endif
43869
43870 int
43871 main ()
43872 {
43873 _logl(0);
43874 ;
43875 return 0;
43876 }
43877 _ACEOF
43878 if ac_fn_cxx_try_compile "$LINENO"; then :
43879 glibcxx_cv_func__logl_use=yes
43880 else
43881 glibcxx_cv_func__logl_use=no
43882 fi
43883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43884 ac_ext=c
43885 ac_cpp='$CPP $CPPFLAGS'
43886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43889
43890
43891 fi
43892
43893 fi
43894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
43895 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
43896
43897 if test x$glibcxx_cv_func__logl_use = x"yes"; then
43898 for ac_func in _logl
43899 do :
43900 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
43901 if test "x$ac_cv_func__logl" = x""yes; then :
43902 cat >>confdefs.h <<_ACEOF
43903 #define HAVE__LOGL 1
43904 _ACEOF
43905
43906 fi
43907 done
43908
43909 fi
43910 fi
43911
43912
43913
43914
43915
43916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
43917 $as_echo_n "checking for log10l declaration... " >&6; }
43918 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
43919 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
43920 $as_echo_n "(cached) " >&6
43921 else
43922
43923
43924 ac_ext=cpp
43925 ac_cpp='$CXXCPP $CPPFLAGS'
43926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43929
43930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43931 /* end confdefs.h. */
43932 #include <math.h>
43933 #ifdef HAVE_IEEEFP_H
43934 #include <ieeefp.h>
43935 #endif
43936
43937 int
43938 main ()
43939 {
43940 log10l(0);
43941 ;
43942 return 0;
43943 }
43944 _ACEOF
43945 if ac_fn_cxx_try_compile "$LINENO"; then :
43946 glibcxx_cv_func_log10l_use=yes
43947 else
43948 glibcxx_cv_func_log10l_use=no
43949 fi
43950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43951 ac_ext=c
43952 ac_cpp='$CPP $CPPFLAGS'
43953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43956
43957
43958 fi
43959
43960 fi
43961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
43962 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
43963
43964 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
43965 for ac_func in log10l
43966 do :
43967 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
43968 if test "x$ac_cv_func_log10l" = x""yes; then :
43969 cat >>confdefs.h <<_ACEOF
43970 #define HAVE_LOG10L 1
43971 _ACEOF
43972
43973 fi
43974 done
43975
43976 else
43977
43978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
43979 $as_echo_n "checking for _log10l declaration... " >&6; }
43980 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
43981 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
43982 $as_echo_n "(cached) " >&6
43983 else
43984
43985
43986 ac_ext=cpp
43987 ac_cpp='$CXXCPP $CPPFLAGS'
43988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43991
43992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43993 /* end confdefs.h. */
43994 #include <math.h>
43995 #ifdef HAVE_IEEEFP_H
43996 #include <ieeefp.h>
43997 #endif
43998
43999 int
44000 main ()
44001 {
44002 _log10l(0);
44003 ;
44004 return 0;
44005 }
44006 _ACEOF
44007 if ac_fn_cxx_try_compile "$LINENO"; then :
44008 glibcxx_cv_func__log10l_use=yes
44009 else
44010 glibcxx_cv_func__log10l_use=no
44011 fi
44012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44013 ac_ext=c
44014 ac_cpp='$CPP $CPPFLAGS'
44015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44018
44019
44020 fi
44021
44022 fi
44023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
44024 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
44025
44026 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
44027 for ac_func in _log10l
44028 do :
44029 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
44030 if test "x$ac_cv_func__log10l" = x""yes; then :
44031 cat >>confdefs.h <<_ACEOF
44032 #define HAVE__LOG10L 1
44033 _ACEOF
44034
44035 fi
44036 done
44037
44038 fi
44039 fi
44040
44041
44042
44043
44044
44045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
44046 $as_echo_n "checking for modfl declaration... " >&6; }
44047 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
44048 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
44049 $as_echo_n "(cached) " >&6
44050 else
44051
44052
44053 ac_ext=cpp
44054 ac_cpp='$CXXCPP $CPPFLAGS'
44055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44058
44059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44060 /* end confdefs.h. */
44061 #include <math.h>
44062 int
44063 main ()
44064 {
44065 modfl(0, 0);
44066 ;
44067 return 0;
44068 }
44069 _ACEOF
44070 if ac_fn_cxx_try_compile "$LINENO"; then :
44071 glibcxx_cv_func_modfl_use=yes
44072 else
44073 glibcxx_cv_func_modfl_use=no
44074 fi
44075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44076 ac_ext=c
44077 ac_cpp='$CPP $CPPFLAGS'
44078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44081
44082
44083 fi
44084
44085 fi
44086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
44087 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
44088
44089 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
44090 for ac_func in modfl
44091 do :
44092 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
44093 if test "x$ac_cv_func_modfl" = x""yes; then :
44094 cat >>confdefs.h <<_ACEOF
44095 #define HAVE_MODFL 1
44096 _ACEOF
44097
44098 fi
44099 done
44100
44101 else
44102
44103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
44104 $as_echo_n "checking for _modfl declaration... " >&6; }
44105 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
44106 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
44107 $as_echo_n "(cached) " >&6
44108 else
44109
44110
44111 ac_ext=cpp
44112 ac_cpp='$CXXCPP $CPPFLAGS'
44113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44116
44117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44118 /* end confdefs.h. */
44119 #include <math.h>
44120 int
44121 main ()
44122 {
44123 _modfl(0, 0);
44124 ;
44125 return 0;
44126 }
44127 _ACEOF
44128 if ac_fn_cxx_try_compile "$LINENO"; then :
44129 glibcxx_cv_func__modfl_use=yes
44130 else
44131 glibcxx_cv_func__modfl_use=no
44132 fi
44133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44134 ac_ext=c
44135 ac_cpp='$CPP $CPPFLAGS'
44136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44139
44140
44141 fi
44142
44143 fi
44144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
44145 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
44146
44147 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
44148 for ac_func in _modfl
44149 do :
44150 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
44151 if test "x$ac_cv_func__modfl" = x""yes; then :
44152 cat >>confdefs.h <<_ACEOF
44153 #define HAVE__MODFL 1
44154 _ACEOF
44155
44156 fi
44157 done
44158
44159 fi
44160 fi
44161
44162
44163
44164
44165
44166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
44167 $as_echo_n "checking for powl declaration... " >&6; }
44168 if test x${glibcxx_cv_func_powl_use+set} != xset; then
44169 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
44170 $as_echo_n "(cached) " >&6
44171 else
44172
44173
44174 ac_ext=cpp
44175 ac_cpp='$CXXCPP $CPPFLAGS'
44176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44179
44180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44181 /* end confdefs.h. */
44182 #include <math.h>
44183 int
44184 main ()
44185 {
44186 powl(0, 0);
44187 ;
44188 return 0;
44189 }
44190 _ACEOF
44191 if ac_fn_cxx_try_compile "$LINENO"; then :
44192 glibcxx_cv_func_powl_use=yes
44193 else
44194 glibcxx_cv_func_powl_use=no
44195 fi
44196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44197 ac_ext=c
44198 ac_cpp='$CPP $CPPFLAGS'
44199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44202
44203
44204 fi
44205
44206 fi
44207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
44208 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
44209
44210 if test x$glibcxx_cv_func_powl_use = x"yes"; then
44211 for ac_func in powl
44212 do :
44213 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
44214 if test "x$ac_cv_func_powl" = x""yes; then :
44215 cat >>confdefs.h <<_ACEOF
44216 #define HAVE_POWL 1
44217 _ACEOF
44218
44219 fi
44220 done
44221
44222 else
44223
44224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
44225 $as_echo_n "checking for _powl declaration... " >&6; }
44226 if test x${glibcxx_cv_func__powl_use+set} != xset; then
44227 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
44228 $as_echo_n "(cached) " >&6
44229 else
44230
44231
44232 ac_ext=cpp
44233 ac_cpp='$CXXCPP $CPPFLAGS'
44234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44237
44238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44239 /* end confdefs.h. */
44240 #include <math.h>
44241 int
44242 main ()
44243 {
44244 _powl(0, 0);
44245 ;
44246 return 0;
44247 }
44248 _ACEOF
44249 if ac_fn_cxx_try_compile "$LINENO"; then :
44250 glibcxx_cv_func__powl_use=yes
44251 else
44252 glibcxx_cv_func__powl_use=no
44253 fi
44254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44255 ac_ext=c
44256 ac_cpp='$CPP $CPPFLAGS'
44257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44260
44261
44262 fi
44263
44264 fi
44265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
44266 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
44267
44268 if test x$glibcxx_cv_func__powl_use = x"yes"; then
44269 for ac_func in _powl
44270 do :
44271 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
44272 if test "x$ac_cv_func__powl" = x""yes; then :
44273 cat >>confdefs.h <<_ACEOF
44274 #define HAVE__POWL 1
44275 _ACEOF
44276
44277 fi
44278 done
44279
44280 fi
44281 fi
44282
44283
44284
44285
44286
44287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
44288 $as_echo_n "checking for sqrtl declaration... " >&6; }
44289 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
44290 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
44291 $as_echo_n "(cached) " >&6
44292 else
44293
44294
44295 ac_ext=cpp
44296 ac_cpp='$CXXCPP $CPPFLAGS'
44297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44300
44301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44302 /* end confdefs.h. */
44303 #include <math.h>
44304 #ifdef HAVE_IEEEFP_H
44305 #include <ieeefp.h>
44306 #endif
44307
44308 int
44309 main ()
44310 {
44311 sqrtl(0);
44312 ;
44313 return 0;
44314 }
44315 _ACEOF
44316 if ac_fn_cxx_try_compile "$LINENO"; then :
44317 glibcxx_cv_func_sqrtl_use=yes
44318 else
44319 glibcxx_cv_func_sqrtl_use=no
44320 fi
44321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44322 ac_ext=c
44323 ac_cpp='$CPP $CPPFLAGS'
44324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44327
44328
44329 fi
44330
44331 fi
44332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
44333 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
44334
44335 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
44336 for ac_func in sqrtl
44337 do :
44338 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
44339 if test "x$ac_cv_func_sqrtl" = x""yes; then :
44340 cat >>confdefs.h <<_ACEOF
44341 #define HAVE_SQRTL 1
44342 _ACEOF
44343
44344 fi
44345 done
44346
44347 else
44348
44349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
44350 $as_echo_n "checking for _sqrtl declaration... " >&6; }
44351 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
44352 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
44353 $as_echo_n "(cached) " >&6
44354 else
44355
44356
44357 ac_ext=cpp
44358 ac_cpp='$CXXCPP $CPPFLAGS'
44359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44362
44363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44364 /* end confdefs.h. */
44365 #include <math.h>
44366 #ifdef HAVE_IEEEFP_H
44367 #include <ieeefp.h>
44368 #endif
44369
44370 int
44371 main ()
44372 {
44373 _sqrtl(0);
44374 ;
44375 return 0;
44376 }
44377 _ACEOF
44378 if ac_fn_cxx_try_compile "$LINENO"; then :
44379 glibcxx_cv_func__sqrtl_use=yes
44380 else
44381 glibcxx_cv_func__sqrtl_use=no
44382 fi
44383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44384 ac_ext=c
44385 ac_cpp='$CPP $CPPFLAGS'
44386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44389
44390
44391 fi
44392
44393 fi
44394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
44395 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
44396
44397 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
44398 for ac_func in _sqrtl
44399 do :
44400 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
44401 if test "x$ac_cv_func__sqrtl" = x""yes; then :
44402 cat >>confdefs.h <<_ACEOF
44403 #define HAVE__SQRTL 1
44404 _ACEOF
44405
44406 fi
44407 done
44408
44409 fi
44410 fi
44411
44412
44413
44414
44415
44416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
44417 $as_echo_n "checking for sincosl declaration... " >&6; }
44418 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
44419 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
44420 $as_echo_n "(cached) " >&6
44421 else
44422
44423
44424 ac_ext=cpp
44425 ac_cpp='$CXXCPP $CPPFLAGS'
44426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44429
44430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44431 /* end confdefs.h. */
44432 #include <math.h>
44433 int
44434 main ()
44435 {
44436 sincosl(0, 0, 0);
44437 ;
44438 return 0;
44439 }
44440 _ACEOF
44441 if ac_fn_cxx_try_compile "$LINENO"; then :
44442 glibcxx_cv_func_sincosl_use=yes
44443 else
44444 glibcxx_cv_func_sincosl_use=no
44445 fi
44446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44447 ac_ext=c
44448 ac_cpp='$CPP $CPPFLAGS'
44449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44452
44453
44454 fi
44455
44456 fi
44457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
44458 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
44459
44460 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
44461 for ac_func in sincosl
44462 do :
44463 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
44464 if test "x$ac_cv_func_sincosl" = x""yes; then :
44465 cat >>confdefs.h <<_ACEOF
44466 #define HAVE_SINCOSL 1
44467 _ACEOF
44468
44469 fi
44470 done
44471
44472 else
44473
44474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
44475 $as_echo_n "checking for _sincosl declaration... " >&6; }
44476 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
44477 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
44478 $as_echo_n "(cached) " >&6
44479 else
44480
44481
44482 ac_ext=cpp
44483 ac_cpp='$CXXCPP $CPPFLAGS'
44484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44487
44488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44489 /* end confdefs.h. */
44490 #include <math.h>
44491 int
44492 main ()
44493 {
44494 _sincosl(0, 0, 0);
44495 ;
44496 return 0;
44497 }
44498 _ACEOF
44499 if ac_fn_cxx_try_compile "$LINENO"; then :
44500 glibcxx_cv_func__sincosl_use=yes
44501 else
44502 glibcxx_cv_func__sincosl_use=no
44503 fi
44504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44505 ac_ext=c
44506 ac_cpp='$CPP $CPPFLAGS'
44507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44510
44511
44512 fi
44513
44514 fi
44515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
44516 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
44517
44518 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
44519 for ac_func in _sincosl
44520 do :
44521 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
44522 if test "x$ac_cv_func__sincosl" = x""yes; then :
44523 cat >>confdefs.h <<_ACEOF
44524 #define HAVE__SINCOSL 1
44525 _ACEOF
44526
44527 fi
44528 done
44529
44530 fi
44531 fi
44532
44533
44534
44535
44536
44537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
44538 $as_echo_n "checking for finitel declaration... " >&6; }
44539 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
44540 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
44541 $as_echo_n "(cached) " >&6
44542 else
44543
44544
44545 ac_ext=cpp
44546 ac_cpp='$CXXCPP $CPPFLAGS'
44547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44550
44551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44552 /* end confdefs.h. */
44553 #include <math.h>
44554 #ifdef HAVE_IEEEFP_H
44555 #include <ieeefp.h>
44556 #endif
44557
44558 int
44559 main ()
44560 {
44561 finitel(0);
44562 ;
44563 return 0;
44564 }
44565 _ACEOF
44566 if ac_fn_cxx_try_compile "$LINENO"; then :
44567 glibcxx_cv_func_finitel_use=yes
44568 else
44569 glibcxx_cv_func_finitel_use=no
44570 fi
44571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44572 ac_ext=c
44573 ac_cpp='$CPP $CPPFLAGS'
44574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44577
44578
44579 fi
44580
44581 fi
44582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
44583 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
44584
44585 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
44586 for ac_func in finitel
44587 do :
44588 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
44589 if test "x$ac_cv_func_finitel" = x""yes; then :
44590 cat >>confdefs.h <<_ACEOF
44591 #define HAVE_FINITEL 1
44592 _ACEOF
44593
44594 fi
44595 done
44596
44597 else
44598
44599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
44600 $as_echo_n "checking for _finitel declaration... " >&6; }
44601 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
44602 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
44603 $as_echo_n "(cached) " >&6
44604 else
44605
44606
44607 ac_ext=cpp
44608 ac_cpp='$CXXCPP $CPPFLAGS'
44609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44612
44613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44614 /* end confdefs.h. */
44615 #include <math.h>
44616 #ifdef HAVE_IEEEFP_H
44617 #include <ieeefp.h>
44618 #endif
44619
44620 int
44621 main ()
44622 {
44623 _finitel(0);
44624 ;
44625 return 0;
44626 }
44627 _ACEOF
44628 if ac_fn_cxx_try_compile "$LINENO"; then :
44629 glibcxx_cv_func__finitel_use=yes
44630 else
44631 glibcxx_cv_func__finitel_use=no
44632 fi
44633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44634 ac_ext=c
44635 ac_cpp='$CPP $CPPFLAGS'
44636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44639
44640
44641 fi
44642
44643 fi
44644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
44645 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
44646
44647 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
44648 for ac_func in _finitel
44649 do :
44650 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
44651 if test "x$ac_cv_func__finitel" = x""yes; then :
44652 cat >>confdefs.h <<_ACEOF
44653 #define HAVE__FINITEL 1
44654 _ACEOF
44655
44656 fi
44657 done
44658
44659 fi
44660 fi
44661
44662
44663
44664
44665 LIBS="$ac_save_LIBS"
44666 CXXFLAGS="$ac_save_CXXFLAGS"
44667
44668
44669 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44670 ac_save_CXXFLAGS="$CXXFLAGS"
44671 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44672
44673
44674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
44675 $as_echo_n "checking for strtold declaration... " >&6; }
44676 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
44677 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
44678 $as_echo_n "(cached) " >&6
44679 else
44680
44681
44682 ac_ext=cpp
44683 ac_cpp='$CXXCPP $CPPFLAGS'
44684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44687
44688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44689 /* end confdefs.h. */
44690 #include <stdlib.h>
44691 int
44692 main ()
44693 {
44694 strtold(0, 0);
44695 ;
44696 return 0;
44697 }
44698 _ACEOF
44699 if ac_fn_cxx_try_compile "$LINENO"; then :
44700 glibcxx_cv_func_strtold_use=yes
44701 else
44702 glibcxx_cv_func_strtold_use=no
44703 fi
44704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44705 ac_ext=c
44706 ac_cpp='$CPP $CPPFLAGS'
44707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44710
44711
44712 fi
44713
44714 fi
44715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
44716 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
44717 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
44718 for ac_func in strtold
44719 do :
44720 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
44721 if test "x$ac_cv_func_strtold" = x""yes; then :
44722 cat >>confdefs.h <<_ACEOF
44723 #define HAVE_STRTOLD 1
44724 _ACEOF
44725
44726 fi
44727 done
44728
44729 fi
44730
44731
44732
44733
44734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
44735 $as_echo_n "checking for strtof declaration... " >&6; }
44736 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
44737 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
44738 $as_echo_n "(cached) " >&6
44739 else
44740
44741
44742 ac_ext=cpp
44743 ac_cpp='$CXXCPP $CPPFLAGS'
44744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44747
44748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44749 /* end confdefs.h. */
44750 #include <stdlib.h>
44751 int
44752 main ()
44753 {
44754 strtof(0, 0);
44755 ;
44756 return 0;
44757 }
44758 _ACEOF
44759 if ac_fn_cxx_try_compile "$LINENO"; then :
44760 glibcxx_cv_func_strtof_use=yes
44761 else
44762 glibcxx_cv_func_strtof_use=no
44763 fi
44764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44765 ac_ext=c
44766 ac_cpp='$CPP $CPPFLAGS'
44767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44770
44771
44772 fi
44773
44774 fi
44775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
44776 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
44777 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
44778 for ac_func in strtof
44779 do :
44780 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
44781 if test "x$ac_cv_func_strtof" = x""yes; then :
44782 cat >>confdefs.h <<_ACEOF
44783 #define HAVE_STRTOF 1
44784 _ACEOF
44785
44786 fi
44787 done
44788
44789 fi
44790
44791
44792
44793
44794 CXXFLAGS="$ac_save_CXXFLAGS"
44795
44796 ;;
44797
44798 *djgpp)
44799 # GLIBCXX_CHECK_MATH_SUPPORT
44800 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44801
44802 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44803
44804 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44805
44806 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
44807
44808 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44809
44810 ;;
44811
44812 *-freebsd*)
44813 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44814
44815
44816 # If we're not using GNU ld, then there's no point in even trying these
44817 # tests. Check for that first. We should have already tested for gld
44818 # by now (in libtool), but require it now just to be safe...
44819 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44820 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44821
44822
44823
44824 # The name set by libtool depends on the version of libtool. Shame on us
44825 # for depending on an impl detail, but c'est la vie. Older versions used
44826 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44827 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44828 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44829 # set (hence we're using an older libtool), then set it.
44830 if test x${with_gnu_ld+set} != xset; then
44831 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44832 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44833 with_gnu_ld=no
44834 else
44835 with_gnu_ld=$ac_cv_prog_gnu_ld
44836 fi
44837 fi
44838
44839 # Start by getting the version number. I think the libtool test already
44840 # does some of this, but throws away the result.
44841 glibcxx_ld_is_gold=no
44842 if test x"$with_gnu_ld" = x"yes"; then
44843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
44844 $as_echo_n "checking for ld version... " >&6; }
44845
44846 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44847 glibcxx_ld_is_gold=yes
44848 fi
44849 ldver=`$LD --version 2>/dev/null |
44850 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'`
44851
44852 glibcxx_gnu_ld_version=`echo $ldver | \
44853 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
44855 $as_echo "$glibcxx_gnu_ld_version" >&6; }
44856 fi
44857
44858 # Set --gc-sections.
44859 glibcxx_have_gc_sections=no
44860 if test "$glibcxx_ld_is_gold" = "yes"; then
44861 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44862 glibcxx_have_gc_sections=yes
44863 fi
44864 else
44865 glibcxx_gcsections_min_ld=21602
44866 if test x"$with_gnu_ld" = x"yes" &&
44867 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44868 glibcxx_have_gc_sections=yes
44869 fi
44870 fi
44871 if test "$glibcxx_have_gc_sections" = "yes"; then
44872 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44873 # NB: This flag only works reliably after 2.16.1. Configure tests
44874 # for this are difficult, so hard wire a value that should work.
44875
44876 ac_test_CFLAGS="${CFLAGS+set}"
44877 ac_save_CFLAGS="$CFLAGS"
44878 CFLAGS='-Wl,--gc-sections'
44879
44880 # Check for -Wl,--gc-sections
44881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
44882 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
44883 if test x$gcc_no_link = xyes; then
44884 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
44885 fi
44886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44887 /* end confdefs.h. */
44888 int one(void) { return 1; }
44889 int two(void) { return 2; }
44890
44891 int
44892 main ()
44893 {
44894 two();
44895 ;
44896 return 0;
44897 }
44898 _ACEOF
44899 if ac_fn_c_try_link "$LINENO"; then :
44900 ac_gcsections=yes
44901 else
44902 ac_gcsections=no
44903 fi
44904 rm -f core conftest.err conftest.$ac_objext \
44905 conftest$ac_exeext conftest.$ac_ext
44906 if test "$ac_gcsections" = "yes"; then
44907 rm -f conftest.c
44908 touch conftest.c
44909 if $CC -c conftest.c; then
44910 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44911 grep "Warning: gc-sections option ignored" > /dev/null; then
44912 ac_gcsections=no
44913 fi
44914 fi
44915 rm -f conftest.c conftest.o conftest
44916 fi
44917 if test "$ac_gcsections" = "yes"; then
44918 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44919 fi
44920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
44921 $as_echo "$ac_gcsections" >&6; }
44922
44923 if test "$ac_test_CFLAGS" = set; then
44924 CFLAGS="$ac_save_CFLAGS"
44925 else
44926 # this is the suspicious part
44927 CFLAGS=''
44928 fi
44929 fi
44930
44931 # Set -z,relro.
44932 # Note this is only for shared objects.
44933 ac_ld_relro=no
44934 if test x"$with_gnu_ld" = x"yes"; then
44935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
44936 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
44937 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44938 if test -n "$cxx_z_relo"; then
44939 OPT_LDFLAGS="-Wl,-z,relro"
44940 ac_ld_relro=yes
44941 fi
44942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
44943 $as_echo "$ac_ld_relro" >&6; }
44944 fi
44945
44946 # Set linker optimization flags.
44947 if test x"$with_gnu_ld" = x"yes"; then
44948 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44949 fi
44950
44951
44952
44953
44954 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
44955
44956 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
44957
44958 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
44959
44960 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44961
44962 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
44963
44964 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
44965
44966 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
44967
44968 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
44969
44970 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
44971
44972
44973 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
44974
44975 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
44976
44977 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
44978
44979 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
44980
44981 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
44982
44983 $as_echo "#define HAVE_COSF 1" >>confdefs.h
44984
44985 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
44986
44987 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
44988
44989 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
44990
44991 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
44992
44993 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
44994
44995 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
44996
44997 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
44998
44999 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45000
45001 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45002
45003 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
45004
45005 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45006
45007 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45008
45009 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45010
45011 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45012
45013 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45014
45015 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45016
45017 if test x"long_double_math_on_this_cpu" = x"yes"; then
45018 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
45019
45020 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
45021
45022 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
45023
45024 fi
45025 ;;
45026 *-hpux*)
45027 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45028
45029
45030 # If we're not using GNU ld, then there's no point in even trying these
45031 # tests. Check for that first. We should have already tested for gld
45032 # by now (in libtool), but require it now just to be safe...
45033 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45034 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45035
45036
45037
45038 # The name set by libtool depends on the version of libtool. Shame on us
45039 # for depending on an impl detail, but c'est la vie. Older versions used
45040 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45041 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45042 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45043 # set (hence we're using an older libtool), then set it.
45044 if test x${with_gnu_ld+set} != xset; then
45045 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45046 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45047 with_gnu_ld=no
45048 else
45049 with_gnu_ld=$ac_cv_prog_gnu_ld
45050 fi
45051 fi
45052
45053 # Start by getting the version number. I think the libtool test already
45054 # does some of this, but throws away the result.
45055 glibcxx_ld_is_gold=no
45056 if test x"$with_gnu_ld" = x"yes"; then
45057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45058 $as_echo_n "checking for ld version... " >&6; }
45059
45060 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45061 glibcxx_ld_is_gold=yes
45062 fi
45063 ldver=`$LD --version 2>/dev/null |
45064 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'`
45065
45066 glibcxx_gnu_ld_version=`echo $ldver | \
45067 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45069 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45070 fi
45071
45072 # Set --gc-sections.
45073 glibcxx_have_gc_sections=no
45074 if test "$glibcxx_ld_is_gold" = "yes"; then
45075 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45076 glibcxx_have_gc_sections=yes
45077 fi
45078 else
45079 glibcxx_gcsections_min_ld=21602
45080 if test x"$with_gnu_ld" = x"yes" &&
45081 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45082 glibcxx_have_gc_sections=yes
45083 fi
45084 fi
45085 if test "$glibcxx_have_gc_sections" = "yes"; then
45086 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45087 # NB: This flag only works reliably after 2.16.1. Configure tests
45088 # for this are difficult, so hard wire a value that should work.
45089
45090 ac_test_CFLAGS="${CFLAGS+set}"
45091 ac_save_CFLAGS="$CFLAGS"
45092 CFLAGS='-Wl,--gc-sections'
45093
45094 # Check for -Wl,--gc-sections
45095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45096 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45097 if test x$gcc_no_link = xyes; then
45098 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45099 fi
45100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45101 /* end confdefs.h. */
45102 int one(void) { return 1; }
45103 int two(void) { return 2; }
45104
45105 int
45106 main ()
45107 {
45108 two();
45109 ;
45110 return 0;
45111 }
45112 _ACEOF
45113 if ac_fn_c_try_link "$LINENO"; then :
45114 ac_gcsections=yes
45115 else
45116 ac_gcsections=no
45117 fi
45118 rm -f core conftest.err conftest.$ac_objext \
45119 conftest$ac_exeext conftest.$ac_ext
45120 if test "$ac_gcsections" = "yes"; then
45121 rm -f conftest.c
45122 touch conftest.c
45123 if $CC -c conftest.c; then
45124 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45125 grep "Warning: gc-sections option ignored" > /dev/null; then
45126 ac_gcsections=no
45127 fi
45128 fi
45129 rm -f conftest.c conftest.o conftest
45130 fi
45131 if test "$ac_gcsections" = "yes"; then
45132 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45133 fi
45134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45135 $as_echo "$ac_gcsections" >&6; }
45136
45137 if test "$ac_test_CFLAGS" = set; then
45138 CFLAGS="$ac_save_CFLAGS"
45139 else
45140 # this is the suspicious part
45141 CFLAGS=''
45142 fi
45143 fi
45144
45145 # Set -z,relro.
45146 # Note this is only for shared objects.
45147 ac_ld_relro=no
45148 if test x"$with_gnu_ld" = x"yes"; then
45149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45150 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45151 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45152 if test -n "$cxx_z_relo"; then
45153 OPT_LDFLAGS="-Wl,-z,relro"
45154 ac_ld_relro=yes
45155 fi
45156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45157 $as_echo "$ac_ld_relro" >&6; }
45158 fi
45159
45160 # Set linker optimization flags.
45161 if test x"$with_gnu_ld" = x"yes"; then
45162 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45163 fi
45164
45165
45166
45167
45168
45169 # GLIBCXX_CHECK_MATH_SUPPORT
45170 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
45171
45172 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
45173
45174 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
45175
45176 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
45177
45178 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
45179
45180 $as_echo "#define HAVE_COSF 1" >>confdefs.h
45181
45182 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
45183
45184 $as_echo "#define HAVE_SINF 1" >>confdefs.h
45185
45186 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
45187
45188 $as_echo "#define HAVE_TANF 1" >>confdefs.h
45189
45190 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
45191
45192 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
45193
45194 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
45195
45196 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
45197
45198 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
45199
45200 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
45201
45202 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
45203
45204 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
45205
45206 $as_echo "#define HAVE_MODF 1" >>confdefs.h
45207
45208 $as_echo "#define HAVE_POWF 1" >>confdefs.h
45209
45210 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
45211
45212
45213 # GLIBCXX_CHECK_STDLIB_SUPPORT
45214 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
45215
45216
45217
45218
45219 # Check whether --enable-tls was given.
45220 if test "${enable_tls+set}" = set; then :
45221 enableval=$enable_tls;
45222 case "$enableval" in
45223 yes|no) ;;
45224 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
45225 esac
45226
45227 else
45228 enable_tls=yes
45229 fi
45230
45231
45232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
45233 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
45234 if test "${gcc_cv_have_tls+set}" = set; then :
45235 $as_echo_n "(cached) " >&6
45236 else
45237
45238 if test "$cross_compiling" = yes; then :
45239 if test x$gcc_no_link = xyes; then
45240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45241 fi
45242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45243 /* end confdefs.h. */
45244 __thread int a; int b; int main() { return a = b; }
45245 _ACEOF
45246 if ac_fn_c_try_link "$LINENO"; then :
45247 chktls_save_LDFLAGS="$LDFLAGS"
45248 case $host in
45249 *-*-linux*)
45250 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
45251 ;;
45252 esac
45253 chktls_save_CFLAGS="$CFLAGS"
45254 CFLAGS="-fPIC $CFLAGS"
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 int f() { return 0; }
45261 _ACEOF
45262 if ac_fn_c_try_link "$LINENO"; then :
45263 if test x$gcc_no_link = xyes; then
45264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45265 fi
45266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45267 /* end confdefs.h. */
45268 __thread int a; int b; int f() { return a = b; }
45269 _ACEOF
45270 if ac_fn_c_try_link "$LINENO"; then :
45271 gcc_cv_have_tls=yes
45272 else
45273 gcc_cv_have_tls=no
45274 fi
45275 rm -f core conftest.err conftest.$ac_objext \
45276 conftest$ac_exeext conftest.$ac_ext
45277 else
45278 gcc_cv_have_tls=yes
45279 fi
45280 rm -f core conftest.err conftest.$ac_objext \
45281 conftest$ac_exeext conftest.$ac_ext
45282 CFLAGS="$chktls_save_CFLAGS"
45283 LDFLAGS="$chktls_save_LDFLAGS"
45284 else
45285 gcc_cv_have_tls=no
45286 fi
45287 rm -f core conftest.err conftest.$ac_objext \
45288 conftest$ac_exeext conftest.$ac_ext
45289
45290
45291 else
45292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45293 /* end confdefs.h. */
45294 __thread int a; int b; int main() { return a = b; }
45295 _ACEOF
45296 if ac_fn_c_try_run "$LINENO"; then :
45297 chktls_save_LDFLAGS="$LDFLAGS"
45298 LDFLAGS="-static $LDFLAGS"
45299 if test x$gcc_no_link = xyes; then
45300 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45301 fi
45302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45303 /* end confdefs.h. */
45304 int main() { return 0; }
45305 _ACEOF
45306 if ac_fn_c_try_link "$LINENO"; then :
45307 if test "$cross_compiling" = yes; then :
45308 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45309 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45310 as_fn_error "cannot run test program while cross compiling
45311 See \`config.log' for more details." "$LINENO" 5; }
45312 else
45313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45314 /* end confdefs.h. */
45315 __thread int a; int b; int main() { return a = b; }
45316 _ACEOF
45317 if ac_fn_c_try_run "$LINENO"; then :
45318 gcc_cv_have_tls=yes
45319 else
45320 gcc_cv_have_tls=no
45321 fi
45322 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45323 conftest.$ac_objext conftest.beam conftest.$ac_ext
45324 fi
45325
45326 else
45327 gcc_cv_have_tls=yes
45328 fi
45329 rm -f core conftest.err conftest.$ac_objext \
45330 conftest$ac_exeext conftest.$ac_ext
45331 LDFLAGS="$chktls_save_LDFLAGS"
45332 if test $gcc_cv_have_tls = yes; then
45333 chktls_save_CFLAGS="$CFLAGS"
45334 thread_CFLAGS=failed
45335 for flag in '' '-pthread' '-lpthread'; do
45336 CFLAGS="$flag $chktls_save_CFLAGS"
45337 if test x$gcc_no_link = xyes; then
45338 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45339 fi
45340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45341 /* end confdefs.h. */
45342 #include <pthread.h>
45343 void *g(void *d) { return NULL; }
45344 int
45345 main ()
45346 {
45347 pthread_t t; pthread_create(&t,NULL,g,NULL);
45348 ;
45349 return 0;
45350 }
45351 _ACEOF
45352 if ac_fn_c_try_link "$LINENO"; then :
45353 thread_CFLAGS="$flag"
45354 fi
45355 rm -f core conftest.err conftest.$ac_objext \
45356 conftest$ac_exeext conftest.$ac_ext
45357 if test "X$thread_CFLAGS" != Xfailed; then
45358 break
45359 fi
45360 done
45361 CFLAGS="$chktls_save_CFLAGS"
45362 if test "X$thread_CFLAGS" != Xfailed; then
45363 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
45364 if test "$cross_compiling" = yes; then :
45365 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
45366 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
45367 as_fn_error "cannot run test program while cross compiling
45368 See \`config.log' for more details." "$LINENO" 5; }
45369 else
45370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45371 /* end confdefs.h. */
45372 #include <pthread.h>
45373 __thread int a;
45374 static int *volatile a_in_other_thread;
45375 static void *
45376 thread_func (void *arg)
45377 {
45378 a_in_other_thread = &a;
45379 return (void *)0;
45380 }
45381 int
45382 main ()
45383 {
45384 pthread_t thread;
45385 void *thread_retval;
45386 int *volatile a_in_main_thread;
45387 a_in_main_thread = &a;
45388 if (pthread_create (&thread, (pthread_attr_t *)0,
45389 thread_func, (void *)0))
45390 return 0;
45391 if (pthread_join (thread, &thread_retval))
45392 return 0;
45393 return (a_in_other_thread == a_in_main_thread);
45394 ;
45395 return 0;
45396 }
45397 _ACEOF
45398 if ac_fn_c_try_run "$LINENO"; then :
45399 gcc_cv_have_tls=yes
45400 else
45401 gcc_cv_have_tls=no
45402 fi
45403 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45404 conftest.$ac_objext conftest.beam conftest.$ac_ext
45405 fi
45406
45407 CFLAGS="$chktls_save_CFLAGS"
45408 fi
45409 fi
45410 else
45411 gcc_cv_have_tls=no
45412 fi
45413 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
45414 conftest.$ac_objext conftest.beam conftest.$ac_ext
45415 fi
45416
45417 fi
45418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
45419 $as_echo "$gcc_cv_have_tls" >&6; }
45420 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
45421
45422 $as_echo "#define HAVE_TLS 1" >>confdefs.h
45423
45424 fi
45425 case "$target" in
45426 *-hpux10*)
45427 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
45428
45429 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
45430
45431 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
45432
45433 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
45434
45435 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
45436
45437 ;;
45438 esac
45439 ;;
45440 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
45441
45442 # All these tests are for C++; save the language and the compiler flags.
45443 # The CXXFLAGS thing is suspicious, but based on similar bits previously
45444 # found in GLIBCXX_CONFIGURE.
45445
45446 ac_ext=cpp
45447 ac_cpp='$CXXCPP $CPPFLAGS'
45448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45451
45452 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45453 ac_save_CXXFLAGS="$CXXFLAGS"
45454
45455 # Check for maintainer-mode bits.
45456 if test x"$USE_MAINTAINER_MODE" = xno; then
45457 WERROR=''
45458 else
45459 WERROR='-Werror'
45460 fi
45461
45462 # Check for -ffunction-sections -fdata-sections
45463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
45464 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
45465 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
45466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45467 /* end confdefs.h. */
45468 int foo; void bar() { };
45469 int
45470 main ()
45471 {
45472
45473 ;
45474 return 0;
45475 }
45476 _ACEOF
45477 if ac_fn_cxx_try_compile "$LINENO"; then :
45478 ac_fdsections=yes
45479 else
45480 ac_fdsections=no
45481 fi
45482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45483 if test "$ac_test_CXXFLAGS" = set; then
45484 CXXFLAGS="$ac_save_CXXFLAGS"
45485 else
45486 # this is the suspicious part
45487 CXXFLAGS=''
45488 fi
45489 if test x"$ac_fdsections" = x"yes"; then
45490 SECTION_FLAGS='-ffunction-sections -fdata-sections'
45491 fi
45492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
45493 $as_echo "$ac_fdsections" >&6; }
45494
45495 ac_ext=c
45496 ac_cpp='$CPP $CPPFLAGS'
45497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45500
45501
45502
45503
45504
45505 # If we're not using GNU ld, then there's no point in even trying these
45506 # tests. Check for that first. We should have already tested for gld
45507 # by now (in libtool), but require it now just to be safe...
45508 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
45509 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
45510
45511
45512
45513 # The name set by libtool depends on the version of libtool. Shame on us
45514 # for depending on an impl detail, but c'est la vie. Older versions used
45515 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
45516 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
45517 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
45518 # set (hence we're using an older libtool), then set it.
45519 if test x${with_gnu_ld+set} != xset; then
45520 if test x${ac_cv_prog_gnu_ld+set} != xset; then
45521 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
45522 with_gnu_ld=no
45523 else
45524 with_gnu_ld=$ac_cv_prog_gnu_ld
45525 fi
45526 fi
45527
45528 # Start by getting the version number. I think the libtool test already
45529 # does some of this, but throws away the result.
45530 glibcxx_ld_is_gold=no
45531 if test x"$with_gnu_ld" = x"yes"; then
45532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
45533 $as_echo_n "checking for ld version... " >&6; }
45534
45535 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
45536 glibcxx_ld_is_gold=yes
45537 fi
45538 ldver=`$LD --version 2>/dev/null |
45539 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'`
45540
45541 glibcxx_gnu_ld_version=`echo $ldver | \
45542 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
45543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
45544 $as_echo "$glibcxx_gnu_ld_version" >&6; }
45545 fi
45546
45547 # Set --gc-sections.
45548 glibcxx_have_gc_sections=no
45549 if test "$glibcxx_ld_is_gold" = "yes"; then
45550 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
45551 glibcxx_have_gc_sections=yes
45552 fi
45553 else
45554 glibcxx_gcsections_min_ld=21602
45555 if test x"$with_gnu_ld" = x"yes" &&
45556 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
45557 glibcxx_have_gc_sections=yes
45558 fi
45559 fi
45560 if test "$glibcxx_have_gc_sections" = "yes"; then
45561 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
45562 # NB: This flag only works reliably after 2.16.1. Configure tests
45563 # for this are difficult, so hard wire a value that should work.
45564
45565 ac_test_CFLAGS="${CFLAGS+set}"
45566 ac_save_CFLAGS="$CFLAGS"
45567 CFLAGS='-Wl,--gc-sections'
45568
45569 # Check for -Wl,--gc-sections
45570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
45571 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
45572 if test x$gcc_no_link = xyes; then
45573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45574 fi
45575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45576 /* end confdefs.h. */
45577 int one(void) { return 1; }
45578 int two(void) { return 2; }
45579
45580 int
45581 main ()
45582 {
45583 two();
45584 ;
45585 return 0;
45586 }
45587 _ACEOF
45588 if ac_fn_c_try_link "$LINENO"; then :
45589 ac_gcsections=yes
45590 else
45591 ac_gcsections=no
45592 fi
45593 rm -f core conftest.err conftest.$ac_objext \
45594 conftest$ac_exeext conftest.$ac_ext
45595 if test "$ac_gcsections" = "yes"; then
45596 rm -f conftest.c
45597 touch conftest.c
45598 if $CC -c conftest.c; then
45599 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
45600 grep "Warning: gc-sections option ignored" > /dev/null; then
45601 ac_gcsections=no
45602 fi
45603 fi
45604 rm -f conftest.c conftest.o conftest
45605 fi
45606 if test "$ac_gcsections" = "yes"; then
45607 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
45608 fi
45609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
45610 $as_echo "$ac_gcsections" >&6; }
45611
45612 if test "$ac_test_CFLAGS" = set; then
45613 CFLAGS="$ac_save_CFLAGS"
45614 else
45615 # this is the suspicious part
45616 CFLAGS=''
45617 fi
45618 fi
45619
45620 # Set -z,relro.
45621 # Note this is only for shared objects.
45622 ac_ld_relro=no
45623 if test x"$with_gnu_ld" = x"yes"; then
45624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
45625 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
45626 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
45627 if test -n "$cxx_z_relo"; then
45628 OPT_LDFLAGS="-Wl,-z,relro"
45629 ac_ld_relro=yes
45630 fi
45631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
45632 $as_echo "$ac_ld_relro" >&6; }
45633 fi
45634
45635 # Set linker optimization flags.
45636 if test x"$with_gnu_ld" = x"yes"; then
45637 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
45638 fi
45639
45640
45641
45642
45643
45644 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45645 ac_save_CXXFLAGS="$CXXFLAGS"
45646 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45647
45648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
45649 $as_echo_n "checking for sin in -lm... " >&6; }
45650 if test "${ac_cv_lib_m_sin+set}" = set; then :
45651 $as_echo_n "(cached) " >&6
45652 else
45653 ac_check_lib_save_LIBS=$LIBS
45654 LIBS="-lm $LIBS"
45655 if test x$gcc_no_link = xyes; then
45656 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45657 fi
45658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45659 /* end confdefs.h. */
45660
45661 /* Override any GCC internal prototype to avoid an error.
45662 Use char because int might match the return type of a GCC
45663 builtin and then its argument prototype would still apply. */
45664 #ifdef __cplusplus
45665 extern "C"
45666 #endif
45667 char sin ();
45668 int
45669 main ()
45670 {
45671 return sin ();
45672 ;
45673 return 0;
45674 }
45675 _ACEOF
45676 if ac_fn_c_try_link "$LINENO"; then :
45677 ac_cv_lib_m_sin=yes
45678 else
45679 ac_cv_lib_m_sin=no
45680 fi
45681 rm -f core conftest.err conftest.$ac_objext \
45682 conftest$ac_exeext conftest.$ac_ext
45683 LIBS=$ac_check_lib_save_LIBS
45684 fi
45685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
45686 $as_echo "$ac_cv_lib_m_sin" >&6; }
45687 if test "x$ac_cv_lib_m_sin" = x""yes; then :
45688 libm="-lm"
45689 fi
45690
45691 ac_save_LIBS="$LIBS"
45692 LIBS="$LIBS $libm"
45693
45694
45695
45696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
45697 $as_echo_n "checking for isinf declaration... " >&6; }
45698 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
45699 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
45700 $as_echo_n "(cached) " >&6
45701 else
45702
45703
45704 ac_ext=cpp
45705 ac_cpp='$CXXCPP $CPPFLAGS'
45706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45709
45710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45711 /* end confdefs.h. */
45712 #include <math.h>
45713 #ifdef HAVE_IEEEFP_H
45714 #include <ieeefp.h>
45715 #endif
45716
45717 int
45718 main ()
45719 {
45720 isinf(0);
45721 ;
45722 return 0;
45723 }
45724 _ACEOF
45725 if ac_fn_cxx_try_compile "$LINENO"; then :
45726 glibcxx_cv_func_isinf_use=yes
45727 else
45728 glibcxx_cv_func_isinf_use=no
45729 fi
45730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45731 ac_ext=c
45732 ac_cpp='$CPP $CPPFLAGS'
45733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45736
45737
45738 fi
45739
45740 fi
45741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
45742 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
45743
45744 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
45745 for ac_func in isinf
45746 do :
45747 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
45748 if test "x$ac_cv_func_isinf" = x""yes; then :
45749 cat >>confdefs.h <<_ACEOF
45750 #define HAVE_ISINF 1
45751 _ACEOF
45752
45753 fi
45754 done
45755
45756 else
45757
45758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
45759 $as_echo_n "checking for _isinf declaration... " >&6; }
45760 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
45761 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
45762 $as_echo_n "(cached) " >&6
45763 else
45764
45765
45766 ac_ext=cpp
45767 ac_cpp='$CXXCPP $CPPFLAGS'
45768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45771
45772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45773 /* end confdefs.h. */
45774 #include <math.h>
45775 #ifdef HAVE_IEEEFP_H
45776 #include <ieeefp.h>
45777 #endif
45778
45779 int
45780 main ()
45781 {
45782 _isinf(0);
45783 ;
45784 return 0;
45785 }
45786 _ACEOF
45787 if ac_fn_cxx_try_compile "$LINENO"; then :
45788 glibcxx_cv_func__isinf_use=yes
45789 else
45790 glibcxx_cv_func__isinf_use=no
45791 fi
45792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45793 ac_ext=c
45794 ac_cpp='$CPP $CPPFLAGS'
45795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45798
45799
45800 fi
45801
45802 fi
45803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
45804 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
45805
45806 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
45807 for ac_func in _isinf
45808 do :
45809 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
45810 if test "x$ac_cv_func__isinf" = x""yes; then :
45811 cat >>confdefs.h <<_ACEOF
45812 #define HAVE__ISINF 1
45813 _ACEOF
45814
45815 fi
45816 done
45817
45818 fi
45819 fi
45820
45821
45822
45823
45824
45825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
45826 $as_echo_n "checking for isnan declaration... " >&6; }
45827 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
45828 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
45829 $as_echo_n "(cached) " >&6
45830 else
45831
45832
45833 ac_ext=cpp
45834 ac_cpp='$CXXCPP $CPPFLAGS'
45835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45838
45839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45840 /* end confdefs.h. */
45841 #include <math.h>
45842 #ifdef HAVE_IEEEFP_H
45843 #include <ieeefp.h>
45844 #endif
45845
45846 int
45847 main ()
45848 {
45849 isnan(0);
45850 ;
45851 return 0;
45852 }
45853 _ACEOF
45854 if ac_fn_cxx_try_compile "$LINENO"; then :
45855 glibcxx_cv_func_isnan_use=yes
45856 else
45857 glibcxx_cv_func_isnan_use=no
45858 fi
45859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45860 ac_ext=c
45861 ac_cpp='$CPP $CPPFLAGS'
45862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45865
45866
45867 fi
45868
45869 fi
45870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
45871 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
45872
45873 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
45874 for ac_func in isnan
45875 do :
45876 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
45877 if test "x$ac_cv_func_isnan" = x""yes; then :
45878 cat >>confdefs.h <<_ACEOF
45879 #define HAVE_ISNAN 1
45880 _ACEOF
45881
45882 fi
45883 done
45884
45885 else
45886
45887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
45888 $as_echo_n "checking for _isnan declaration... " >&6; }
45889 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
45890 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
45891 $as_echo_n "(cached) " >&6
45892 else
45893
45894
45895 ac_ext=cpp
45896 ac_cpp='$CXXCPP $CPPFLAGS'
45897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45900
45901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45902 /* end confdefs.h. */
45903 #include <math.h>
45904 #ifdef HAVE_IEEEFP_H
45905 #include <ieeefp.h>
45906 #endif
45907
45908 int
45909 main ()
45910 {
45911 _isnan(0);
45912 ;
45913 return 0;
45914 }
45915 _ACEOF
45916 if ac_fn_cxx_try_compile "$LINENO"; then :
45917 glibcxx_cv_func__isnan_use=yes
45918 else
45919 glibcxx_cv_func__isnan_use=no
45920 fi
45921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45922 ac_ext=c
45923 ac_cpp='$CPP $CPPFLAGS'
45924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45927
45928
45929 fi
45930
45931 fi
45932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
45933 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
45934
45935 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45936 for ac_func in _isnan
45937 do :
45938 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
45939 if test "x$ac_cv_func__isnan" = x""yes; then :
45940 cat >>confdefs.h <<_ACEOF
45941 #define HAVE__ISNAN 1
45942 _ACEOF
45943
45944 fi
45945 done
45946
45947 fi
45948 fi
45949
45950
45951
45952
45953
45954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
45955 $as_echo_n "checking for finite declaration... " >&6; }
45956 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45957 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
45958 $as_echo_n "(cached) " >&6
45959 else
45960
45961
45962 ac_ext=cpp
45963 ac_cpp='$CXXCPP $CPPFLAGS'
45964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45967
45968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45969 /* end confdefs.h. */
45970 #include <math.h>
45971 #ifdef HAVE_IEEEFP_H
45972 #include <ieeefp.h>
45973 #endif
45974
45975 int
45976 main ()
45977 {
45978 finite(0);
45979 ;
45980 return 0;
45981 }
45982 _ACEOF
45983 if ac_fn_cxx_try_compile "$LINENO"; then :
45984 glibcxx_cv_func_finite_use=yes
45985 else
45986 glibcxx_cv_func_finite_use=no
45987 fi
45988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45989 ac_ext=c
45990 ac_cpp='$CPP $CPPFLAGS'
45991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45994
45995
45996 fi
45997
45998 fi
45999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46000 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46001
46002 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46003 for ac_func in finite
46004 do :
46005 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46006 if test "x$ac_cv_func_finite" = x""yes; then :
46007 cat >>confdefs.h <<_ACEOF
46008 #define HAVE_FINITE 1
46009 _ACEOF
46010
46011 fi
46012 done
46013
46014 else
46015
46016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46017 $as_echo_n "checking for _finite declaration... " >&6; }
46018 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46019 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46020 $as_echo_n "(cached) " >&6
46021 else
46022
46023
46024 ac_ext=cpp
46025 ac_cpp='$CXXCPP $CPPFLAGS'
46026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46029
46030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46031 /* end confdefs.h. */
46032 #include <math.h>
46033 #ifdef HAVE_IEEEFP_H
46034 #include <ieeefp.h>
46035 #endif
46036
46037 int
46038 main ()
46039 {
46040 _finite(0);
46041 ;
46042 return 0;
46043 }
46044 _ACEOF
46045 if ac_fn_cxx_try_compile "$LINENO"; then :
46046 glibcxx_cv_func__finite_use=yes
46047 else
46048 glibcxx_cv_func__finite_use=no
46049 fi
46050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46051 ac_ext=c
46052 ac_cpp='$CPP $CPPFLAGS'
46053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46056
46057
46058 fi
46059
46060 fi
46061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46062 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46063
46064 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46065 for ac_func in _finite
46066 do :
46067 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46068 if test "x$ac_cv_func__finite" = x""yes; then :
46069 cat >>confdefs.h <<_ACEOF
46070 #define HAVE__FINITE 1
46071 _ACEOF
46072
46073 fi
46074 done
46075
46076 fi
46077 fi
46078
46079
46080
46081
46082
46083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46084 $as_echo_n "checking for sincos declaration... " >&6; }
46085 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46086 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46087 $as_echo_n "(cached) " >&6
46088 else
46089
46090
46091 ac_ext=cpp
46092 ac_cpp='$CXXCPP $CPPFLAGS'
46093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46096
46097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46098 /* end confdefs.h. */
46099 #include <math.h>
46100 int
46101 main ()
46102 {
46103 sincos(0, 0, 0);
46104 ;
46105 return 0;
46106 }
46107 _ACEOF
46108 if ac_fn_cxx_try_compile "$LINENO"; then :
46109 glibcxx_cv_func_sincos_use=yes
46110 else
46111 glibcxx_cv_func_sincos_use=no
46112 fi
46113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46114 ac_ext=c
46115 ac_cpp='$CPP $CPPFLAGS'
46116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46119
46120
46121 fi
46122
46123 fi
46124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46125 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46126
46127 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46128 for ac_func in sincos
46129 do :
46130 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46131 if test "x$ac_cv_func_sincos" = x""yes; then :
46132 cat >>confdefs.h <<_ACEOF
46133 #define HAVE_SINCOS 1
46134 _ACEOF
46135
46136 fi
46137 done
46138
46139 else
46140
46141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46142 $as_echo_n "checking for _sincos declaration... " >&6; }
46143 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46144 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46145 $as_echo_n "(cached) " >&6
46146 else
46147
46148
46149 ac_ext=cpp
46150 ac_cpp='$CXXCPP $CPPFLAGS'
46151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46154
46155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46156 /* end confdefs.h. */
46157 #include <math.h>
46158 int
46159 main ()
46160 {
46161 _sincos(0, 0, 0);
46162 ;
46163 return 0;
46164 }
46165 _ACEOF
46166 if ac_fn_cxx_try_compile "$LINENO"; then :
46167 glibcxx_cv_func__sincos_use=yes
46168 else
46169 glibcxx_cv_func__sincos_use=no
46170 fi
46171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46172 ac_ext=c
46173 ac_cpp='$CPP $CPPFLAGS'
46174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46177
46178
46179 fi
46180
46181 fi
46182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46183 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46184
46185 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46186 for ac_func in _sincos
46187 do :
46188 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46189 if test "x$ac_cv_func__sincos" = x""yes; then :
46190 cat >>confdefs.h <<_ACEOF
46191 #define HAVE__SINCOS 1
46192 _ACEOF
46193
46194 fi
46195 done
46196
46197 fi
46198 fi
46199
46200
46201
46202
46203
46204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46205 $as_echo_n "checking for fpclass declaration... " >&6; }
46206 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46207 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46208 $as_echo_n "(cached) " >&6
46209 else
46210
46211
46212 ac_ext=cpp
46213 ac_cpp='$CXXCPP $CPPFLAGS'
46214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46217
46218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46219 /* end confdefs.h. */
46220 #include <math.h>
46221 #ifdef HAVE_IEEEFP_H
46222 #include <ieeefp.h>
46223 #endif
46224
46225 int
46226 main ()
46227 {
46228 fpclass(0);
46229 ;
46230 return 0;
46231 }
46232 _ACEOF
46233 if ac_fn_cxx_try_compile "$LINENO"; then :
46234 glibcxx_cv_func_fpclass_use=yes
46235 else
46236 glibcxx_cv_func_fpclass_use=no
46237 fi
46238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46239 ac_ext=c
46240 ac_cpp='$CPP $CPPFLAGS'
46241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46244
46245
46246 fi
46247
46248 fi
46249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46250 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46251
46252 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46253 for ac_func in fpclass
46254 do :
46255 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46256 if test "x$ac_cv_func_fpclass" = x""yes; then :
46257 cat >>confdefs.h <<_ACEOF
46258 #define HAVE_FPCLASS 1
46259 _ACEOF
46260
46261 fi
46262 done
46263
46264 else
46265
46266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46267 $as_echo_n "checking for _fpclass declaration... " >&6; }
46268 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46269 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46270 $as_echo_n "(cached) " >&6
46271 else
46272
46273
46274 ac_ext=cpp
46275 ac_cpp='$CXXCPP $CPPFLAGS'
46276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46279
46280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46281 /* end confdefs.h. */
46282 #include <math.h>
46283 #ifdef HAVE_IEEEFP_H
46284 #include <ieeefp.h>
46285 #endif
46286
46287 int
46288 main ()
46289 {
46290 _fpclass(0);
46291 ;
46292 return 0;
46293 }
46294 _ACEOF
46295 if ac_fn_cxx_try_compile "$LINENO"; then :
46296 glibcxx_cv_func__fpclass_use=yes
46297 else
46298 glibcxx_cv_func__fpclass_use=no
46299 fi
46300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46301 ac_ext=c
46302 ac_cpp='$CPP $CPPFLAGS'
46303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46306
46307
46308 fi
46309
46310 fi
46311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46312 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46313
46314 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46315 for ac_func in _fpclass
46316 do :
46317 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46318 if test "x$ac_cv_func__fpclass" = x""yes; then :
46319 cat >>confdefs.h <<_ACEOF
46320 #define HAVE__FPCLASS 1
46321 _ACEOF
46322
46323 fi
46324 done
46325
46326 fi
46327 fi
46328
46329
46330
46331
46332
46333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46334 $as_echo_n "checking for qfpclass declaration... " >&6; }
46335 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46336 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46337 $as_echo_n "(cached) " >&6
46338 else
46339
46340
46341 ac_ext=cpp
46342 ac_cpp='$CXXCPP $CPPFLAGS'
46343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46346
46347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46348 /* end confdefs.h. */
46349 #include <math.h>
46350 #ifdef HAVE_IEEEFP_H
46351 #include <ieeefp.h>
46352 #endif
46353
46354 int
46355 main ()
46356 {
46357 qfpclass(0);
46358 ;
46359 return 0;
46360 }
46361 _ACEOF
46362 if ac_fn_cxx_try_compile "$LINENO"; then :
46363 glibcxx_cv_func_qfpclass_use=yes
46364 else
46365 glibcxx_cv_func_qfpclass_use=no
46366 fi
46367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46368 ac_ext=c
46369 ac_cpp='$CPP $CPPFLAGS'
46370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46373
46374
46375 fi
46376
46377 fi
46378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46379 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46380
46381 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46382 for ac_func in qfpclass
46383 do :
46384 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46385 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46386 cat >>confdefs.h <<_ACEOF
46387 #define HAVE_QFPCLASS 1
46388 _ACEOF
46389
46390 fi
46391 done
46392
46393 else
46394
46395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46396 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46397 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46398 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46399 $as_echo_n "(cached) " >&6
46400 else
46401
46402
46403 ac_ext=cpp
46404 ac_cpp='$CXXCPP $CPPFLAGS'
46405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46408
46409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46410 /* end confdefs.h. */
46411 #include <math.h>
46412 #ifdef HAVE_IEEEFP_H
46413 #include <ieeefp.h>
46414 #endif
46415
46416 int
46417 main ()
46418 {
46419 _qfpclass(0);
46420 ;
46421 return 0;
46422 }
46423 _ACEOF
46424 if ac_fn_cxx_try_compile "$LINENO"; then :
46425 glibcxx_cv_func__qfpclass_use=yes
46426 else
46427 glibcxx_cv_func__qfpclass_use=no
46428 fi
46429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46430 ac_ext=c
46431 ac_cpp='$CPP $CPPFLAGS'
46432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46435
46436
46437 fi
46438
46439 fi
46440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46441 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46442
46443 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46444 for ac_func in _qfpclass
46445 do :
46446 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46447 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46448 cat >>confdefs.h <<_ACEOF
46449 #define HAVE__QFPCLASS 1
46450 _ACEOF
46451
46452 fi
46453 done
46454
46455 fi
46456 fi
46457
46458
46459
46460
46461
46462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46463 $as_echo_n "checking for hypot declaration... " >&6; }
46464 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46465 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46466 $as_echo_n "(cached) " >&6
46467 else
46468
46469
46470 ac_ext=cpp
46471 ac_cpp='$CXXCPP $CPPFLAGS'
46472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46475
46476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46477 /* end confdefs.h. */
46478 #include <math.h>
46479 int
46480 main ()
46481 {
46482 hypot(0, 0);
46483 ;
46484 return 0;
46485 }
46486 _ACEOF
46487 if ac_fn_cxx_try_compile "$LINENO"; then :
46488 glibcxx_cv_func_hypot_use=yes
46489 else
46490 glibcxx_cv_func_hypot_use=no
46491 fi
46492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46493 ac_ext=c
46494 ac_cpp='$CPP $CPPFLAGS'
46495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46498
46499
46500 fi
46501
46502 fi
46503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46504 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46505
46506 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46507 for ac_func in hypot
46508 do :
46509 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46510 if test "x$ac_cv_func_hypot" = x""yes; then :
46511 cat >>confdefs.h <<_ACEOF
46512 #define HAVE_HYPOT 1
46513 _ACEOF
46514
46515 fi
46516 done
46517
46518 else
46519
46520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46521 $as_echo_n "checking for _hypot declaration... " >&6; }
46522 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46523 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46524 $as_echo_n "(cached) " >&6
46525 else
46526
46527
46528 ac_ext=cpp
46529 ac_cpp='$CXXCPP $CPPFLAGS'
46530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46533
46534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46535 /* end confdefs.h. */
46536 #include <math.h>
46537 int
46538 main ()
46539 {
46540 _hypot(0, 0);
46541 ;
46542 return 0;
46543 }
46544 _ACEOF
46545 if ac_fn_cxx_try_compile "$LINENO"; then :
46546 glibcxx_cv_func__hypot_use=yes
46547 else
46548 glibcxx_cv_func__hypot_use=no
46549 fi
46550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46551 ac_ext=c
46552 ac_cpp='$CPP $CPPFLAGS'
46553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46556
46557
46558 fi
46559
46560 fi
46561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46562 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46563
46564 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46565 for ac_func in _hypot
46566 do :
46567 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46568 if test "x$ac_cv_func__hypot" = x""yes; then :
46569 cat >>confdefs.h <<_ACEOF
46570 #define HAVE__HYPOT 1
46571 _ACEOF
46572
46573 fi
46574 done
46575
46576 fi
46577 fi
46578
46579
46580
46581
46582
46583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
46584 $as_echo_n "checking for float trig functions... " >&6; }
46585 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
46586 $as_echo_n "(cached) " >&6
46587 else
46588
46589
46590 ac_ext=cpp
46591 ac_cpp='$CXXCPP $CPPFLAGS'
46592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46595
46596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46597 /* end confdefs.h. */
46598 #include <math.h>
46599 int
46600 main ()
46601 {
46602 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
46603 ;
46604 return 0;
46605 }
46606 _ACEOF
46607 if ac_fn_cxx_try_compile "$LINENO"; then :
46608 glibcxx_cv_func_float_trig_use=yes
46609 else
46610 glibcxx_cv_func_float_trig_use=no
46611 fi
46612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46613 ac_ext=c
46614 ac_cpp='$CPP $CPPFLAGS'
46615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46618
46619 fi
46620
46621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
46622 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
46623 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
46624 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
46625 do :
46626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46628 eval as_val=\$$as_ac_var
46629 if test "x$as_val" = x""yes; then :
46630 cat >>confdefs.h <<_ACEOF
46631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46632 _ACEOF
46633
46634 fi
46635 done
46636
46637 else
46638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
46639 $as_echo_n "checking for _float trig functions... " >&6; }
46640 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
46641 $as_echo_n "(cached) " >&6
46642 else
46643
46644
46645 ac_ext=cpp
46646 ac_cpp='$CXXCPP $CPPFLAGS'
46647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46650
46651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46652 /* end confdefs.h. */
46653 #include <math.h>
46654 int
46655 main ()
46656 {
46657 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
46658 ;
46659 return 0;
46660 }
46661 _ACEOF
46662 if ac_fn_cxx_try_compile "$LINENO"; then :
46663 glibcxx_cv_func__float_trig_use=yes
46664 else
46665 glibcxx_cv_func__float_trig_use=no
46666 fi
46667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46668 ac_ext=c
46669 ac_cpp='$CPP $CPPFLAGS'
46670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46673
46674 fi
46675
46676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
46677 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
46678 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
46679 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
46680 do :
46681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46683 eval as_val=\$$as_ac_var
46684 if test "x$as_val" = x""yes; then :
46685 cat >>confdefs.h <<_ACEOF
46686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46687 _ACEOF
46688
46689 fi
46690 done
46691
46692 fi
46693 fi
46694
46695
46696
46697
46698
46699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
46700 $as_echo_n "checking for float round functions... " >&6; }
46701 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
46702 $as_echo_n "(cached) " >&6
46703 else
46704
46705
46706 ac_ext=cpp
46707 ac_cpp='$CXXCPP $CPPFLAGS'
46708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46711
46712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46713 /* end confdefs.h. */
46714 #include <math.h>
46715 int
46716 main ()
46717 {
46718 ceilf (0); floorf (0);
46719 ;
46720 return 0;
46721 }
46722 _ACEOF
46723 if ac_fn_cxx_try_compile "$LINENO"; then :
46724 glibcxx_cv_func_float_round_use=yes
46725 else
46726 glibcxx_cv_func_float_round_use=no
46727 fi
46728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46729 ac_ext=c
46730 ac_cpp='$CPP $CPPFLAGS'
46731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46734
46735 fi
46736
46737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
46738 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
46739 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
46740 for ac_func in ceilf floorf
46741 do :
46742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46744 eval as_val=\$$as_ac_var
46745 if test "x$as_val" = x""yes; then :
46746 cat >>confdefs.h <<_ACEOF
46747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46748 _ACEOF
46749
46750 fi
46751 done
46752
46753 else
46754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
46755 $as_echo_n "checking for _float round functions... " >&6; }
46756 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
46757 $as_echo_n "(cached) " >&6
46758 else
46759
46760
46761 ac_ext=cpp
46762 ac_cpp='$CXXCPP $CPPFLAGS'
46763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46766
46767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46768 /* end confdefs.h. */
46769 #include <math.h>
46770 int
46771 main ()
46772 {
46773 _ceilf (0); _floorf (0);
46774 ;
46775 return 0;
46776 }
46777 _ACEOF
46778 if ac_fn_cxx_try_compile "$LINENO"; then :
46779 glibcxx_cv_func__float_round_use=yes
46780 else
46781 glibcxx_cv_func__float_round_use=no
46782 fi
46783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46784 ac_ext=c
46785 ac_cpp='$CPP $CPPFLAGS'
46786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46789
46790 fi
46791
46792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
46793 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
46794 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
46795 for ac_func in _ceilf _floorf
46796 do :
46797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
46798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
46799 eval as_val=\$$as_ac_var
46800 if test "x$as_val" = x""yes; then :
46801 cat >>confdefs.h <<_ACEOF
46802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
46803 _ACEOF
46804
46805 fi
46806 done
46807
46808 fi
46809 fi
46810
46811
46812
46813
46814
46815
46816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
46817 $as_echo_n "checking for expf declaration... " >&6; }
46818 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46819 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
46820 $as_echo_n "(cached) " >&6
46821 else
46822
46823
46824 ac_ext=cpp
46825 ac_cpp='$CXXCPP $CPPFLAGS'
46826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46829
46830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46831 /* end confdefs.h. */
46832 #include <math.h>
46833 #ifdef HAVE_IEEEFP_H
46834 #include <ieeefp.h>
46835 #endif
46836
46837 int
46838 main ()
46839 {
46840 expf(0);
46841 ;
46842 return 0;
46843 }
46844 _ACEOF
46845 if ac_fn_cxx_try_compile "$LINENO"; then :
46846 glibcxx_cv_func_expf_use=yes
46847 else
46848 glibcxx_cv_func_expf_use=no
46849 fi
46850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46851 ac_ext=c
46852 ac_cpp='$CPP $CPPFLAGS'
46853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46856
46857
46858 fi
46859
46860 fi
46861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
46862 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
46863
46864 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46865 for ac_func in expf
46866 do :
46867 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
46868 if test "x$ac_cv_func_expf" = x""yes; then :
46869 cat >>confdefs.h <<_ACEOF
46870 #define HAVE_EXPF 1
46871 _ACEOF
46872
46873 fi
46874 done
46875
46876 else
46877
46878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
46879 $as_echo_n "checking for _expf declaration... " >&6; }
46880 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46881 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
46882 $as_echo_n "(cached) " >&6
46883 else
46884
46885
46886 ac_ext=cpp
46887 ac_cpp='$CXXCPP $CPPFLAGS'
46888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46891
46892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46893 /* end confdefs.h. */
46894 #include <math.h>
46895 #ifdef HAVE_IEEEFP_H
46896 #include <ieeefp.h>
46897 #endif
46898
46899 int
46900 main ()
46901 {
46902 _expf(0);
46903 ;
46904 return 0;
46905 }
46906 _ACEOF
46907 if ac_fn_cxx_try_compile "$LINENO"; then :
46908 glibcxx_cv_func__expf_use=yes
46909 else
46910 glibcxx_cv_func__expf_use=no
46911 fi
46912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46913 ac_ext=c
46914 ac_cpp='$CPP $CPPFLAGS'
46915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46918
46919
46920 fi
46921
46922 fi
46923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
46924 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
46925
46926 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46927 for ac_func in _expf
46928 do :
46929 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
46930 if test "x$ac_cv_func__expf" = x""yes; then :
46931 cat >>confdefs.h <<_ACEOF
46932 #define HAVE__EXPF 1
46933 _ACEOF
46934
46935 fi
46936 done
46937
46938 fi
46939 fi
46940
46941
46942
46943
46944
46945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
46946 $as_echo_n "checking for isnanf declaration... " >&6; }
46947 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46948 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
46949 $as_echo_n "(cached) " >&6
46950 else
46951
46952
46953 ac_ext=cpp
46954 ac_cpp='$CXXCPP $CPPFLAGS'
46955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46958
46959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46960 /* end confdefs.h. */
46961 #include <math.h>
46962 #ifdef HAVE_IEEEFP_H
46963 #include <ieeefp.h>
46964 #endif
46965
46966 int
46967 main ()
46968 {
46969 isnanf(0);
46970 ;
46971 return 0;
46972 }
46973 _ACEOF
46974 if ac_fn_cxx_try_compile "$LINENO"; then :
46975 glibcxx_cv_func_isnanf_use=yes
46976 else
46977 glibcxx_cv_func_isnanf_use=no
46978 fi
46979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46980 ac_ext=c
46981 ac_cpp='$CPP $CPPFLAGS'
46982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46985
46986
46987 fi
46988
46989 fi
46990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
46991 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
46992
46993 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46994 for ac_func in isnanf
46995 do :
46996 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
46997 if test "x$ac_cv_func_isnanf" = x""yes; then :
46998 cat >>confdefs.h <<_ACEOF
46999 #define HAVE_ISNANF 1
47000 _ACEOF
47001
47002 fi
47003 done
47004
47005 else
47006
47007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47008 $as_echo_n "checking for _isnanf declaration... " >&6; }
47009 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47010 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47011 $as_echo_n "(cached) " >&6
47012 else
47013
47014
47015 ac_ext=cpp
47016 ac_cpp='$CXXCPP $CPPFLAGS'
47017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47020
47021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47022 /* end confdefs.h. */
47023 #include <math.h>
47024 #ifdef HAVE_IEEEFP_H
47025 #include <ieeefp.h>
47026 #endif
47027
47028 int
47029 main ()
47030 {
47031 _isnanf(0);
47032 ;
47033 return 0;
47034 }
47035 _ACEOF
47036 if ac_fn_cxx_try_compile "$LINENO"; then :
47037 glibcxx_cv_func__isnanf_use=yes
47038 else
47039 glibcxx_cv_func__isnanf_use=no
47040 fi
47041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47042 ac_ext=c
47043 ac_cpp='$CPP $CPPFLAGS'
47044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47047
47048
47049 fi
47050
47051 fi
47052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47053 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47054
47055 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47056 for ac_func in _isnanf
47057 do :
47058 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47059 if test "x$ac_cv_func__isnanf" = x""yes; then :
47060 cat >>confdefs.h <<_ACEOF
47061 #define HAVE__ISNANF 1
47062 _ACEOF
47063
47064 fi
47065 done
47066
47067 fi
47068 fi
47069
47070
47071
47072
47073
47074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47075 $as_echo_n "checking for isinff declaration... " >&6; }
47076 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47077 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47078 $as_echo_n "(cached) " >&6
47079 else
47080
47081
47082 ac_ext=cpp
47083 ac_cpp='$CXXCPP $CPPFLAGS'
47084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47087
47088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47089 /* end confdefs.h. */
47090 #include <math.h>
47091 #ifdef HAVE_IEEEFP_H
47092 #include <ieeefp.h>
47093 #endif
47094
47095 int
47096 main ()
47097 {
47098 isinff(0);
47099 ;
47100 return 0;
47101 }
47102 _ACEOF
47103 if ac_fn_cxx_try_compile "$LINENO"; then :
47104 glibcxx_cv_func_isinff_use=yes
47105 else
47106 glibcxx_cv_func_isinff_use=no
47107 fi
47108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47109 ac_ext=c
47110 ac_cpp='$CPP $CPPFLAGS'
47111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47114
47115
47116 fi
47117
47118 fi
47119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47120 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47121
47122 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47123 for ac_func in isinff
47124 do :
47125 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47126 if test "x$ac_cv_func_isinff" = x""yes; then :
47127 cat >>confdefs.h <<_ACEOF
47128 #define HAVE_ISINFF 1
47129 _ACEOF
47130
47131 fi
47132 done
47133
47134 else
47135
47136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47137 $as_echo_n "checking for _isinff declaration... " >&6; }
47138 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47139 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47140 $as_echo_n "(cached) " >&6
47141 else
47142
47143
47144 ac_ext=cpp
47145 ac_cpp='$CXXCPP $CPPFLAGS'
47146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47149
47150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47151 /* end confdefs.h. */
47152 #include <math.h>
47153 #ifdef HAVE_IEEEFP_H
47154 #include <ieeefp.h>
47155 #endif
47156
47157 int
47158 main ()
47159 {
47160 _isinff(0);
47161 ;
47162 return 0;
47163 }
47164 _ACEOF
47165 if ac_fn_cxx_try_compile "$LINENO"; then :
47166 glibcxx_cv_func__isinff_use=yes
47167 else
47168 glibcxx_cv_func__isinff_use=no
47169 fi
47170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47171 ac_ext=c
47172 ac_cpp='$CPP $CPPFLAGS'
47173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47176
47177
47178 fi
47179
47180 fi
47181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47182 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47183
47184 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47185 for ac_func in _isinff
47186 do :
47187 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47188 if test "x$ac_cv_func__isinff" = x""yes; then :
47189 cat >>confdefs.h <<_ACEOF
47190 #define HAVE__ISINFF 1
47191 _ACEOF
47192
47193 fi
47194 done
47195
47196 fi
47197 fi
47198
47199
47200
47201
47202
47203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47204 $as_echo_n "checking for atan2f declaration... " >&6; }
47205 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47206 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47207 $as_echo_n "(cached) " >&6
47208 else
47209
47210
47211 ac_ext=cpp
47212 ac_cpp='$CXXCPP $CPPFLAGS'
47213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47216
47217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47218 /* end confdefs.h. */
47219 #include <math.h>
47220 int
47221 main ()
47222 {
47223 atan2f(0, 0);
47224 ;
47225 return 0;
47226 }
47227 _ACEOF
47228 if ac_fn_cxx_try_compile "$LINENO"; then :
47229 glibcxx_cv_func_atan2f_use=yes
47230 else
47231 glibcxx_cv_func_atan2f_use=no
47232 fi
47233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47234 ac_ext=c
47235 ac_cpp='$CPP $CPPFLAGS'
47236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47239
47240
47241 fi
47242
47243 fi
47244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47245 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47246
47247 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47248 for ac_func in atan2f
47249 do :
47250 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47251 if test "x$ac_cv_func_atan2f" = x""yes; then :
47252 cat >>confdefs.h <<_ACEOF
47253 #define HAVE_ATAN2F 1
47254 _ACEOF
47255
47256 fi
47257 done
47258
47259 else
47260
47261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47262 $as_echo_n "checking for _atan2f declaration... " >&6; }
47263 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47264 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47265 $as_echo_n "(cached) " >&6
47266 else
47267
47268
47269 ac_ext=cpp
47270 ac_cpp='$CXXCPP $CPPFLAGS'
47271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47274
47275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47276 /* end confdefs.h. */
47277 #include <math.h>
47278 int
47279 main ()
47280 {
47281 _atan2f(0, 0);
47282 ;
47283 return 0;
47284 }
47285 _ACEOF
47286 if ac_fn_cxx_try_compile "$LINENO"; then :
47287 glibcxx_cv_func__atan2f_use=yes
47288 else
47289 glibcxx_cv_func__atan2f_use=no
47290 fi
47291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47292 ac_ext=c
47293 ac_cpp='$CPP $CPPFLAGS'
47294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47297
47298
47299 fi
47300
47301 fi
47302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47303 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47304
47305 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47306 for ac_func in _atan2f
47307 do :
47308 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47309 if test "x$ac_cv_func__atan2f" = x""yes; then :
47310 cat >>confdefs.h <<_ACEOF
47311 #define HAVE__ATAN2F 1
47312 _ACEOF
47313
47314 fi
47315 done
47316
47317 fi
47318 fi
47319
47320
47321
47322
47323
47324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47325 $as_echo_n "checking for fabsf declaration... " >&6; }
47326 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47327 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47328 $as_echo_n "(cached) " >&6
47329 else
47330
47331
47332 ac_ext=cpp
47333 ac_cpp='$CXXCPP $CPPFLAGS'
47334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47337
47338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47339 /* end confdefs.h. */
47340 #include <math.h>
47341 #ifdef HAVE_IEEEFP_H
47342 #include <ieeefp.h>
47343 #endif
47344
47345 int
47346 main ()
47347 {
47348 fabsf(0);
47349 ;
47350 return 0;
47351 }
47352 _ACEOF
47353 if ac_fn_cxx_try_compile "$LINENO"; then :
47354 glibcxx_cv_func_fabsf_use=yes
47355 else
47356 glibcxx_cv_func_fabsf_use=no
47357 fi
47358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47359 ac_ext=c
47360 ac_cpp='$CPP $CPPFLAGS'
47361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47364
47365
47366 fi
47367
47368 fi
47369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47370 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47371
47372 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47373 for ac_func in fabsf
47374 do :
47375 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47376 if test "x$ac_cv_func_fabsf" = x""yes; then :
47377 cat >>confdefs.h <<_ACEOF
47378 #define HAVE_FABSF 1
47379 _ACEOF
47380
47381 fi
47382 done
47383
47384 else
47385
47386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47387 $as_echo_n "checking for _fabsf declaration... " >&6; }
47388 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47389 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47390 $as_echo_n "(cached) " >&6
47391 else
47392
47393
47394 ac_ext=cpp
47395 ac_cpp='$CXXCPP $CPPFLAGS'
47396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47399
47400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47401 /* end confdefs.h. */
47402 #include <math.h>
47403 #ifdef HAVE_IEEEFP_H
47404 #include <ieeefp.h>
47405 #endif
47406
47407 int
47408 main ()
47409 {
47410 _fabsf(0);
47411 ;
47412 return 0;
47413 }
47414 _ACEOF
47415 if ac_fn_cxx_try_compile "$LINENO"; then :
47416 glibcxx_cv_func__fabsf_use=yes
47417 else
47418 glibcxx_cv_func__fabsf_use=no
47419 fi
47420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47421 ac_ext=c
47422 ac_cpp='$CPP $CPPFLAGS'
47423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47426
47427
47428 fi
47429
47430 fi
47431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47432 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47433
47434 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47435 for ac_func in _fabsf
47436 do :
47437 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47438 if test "x$ac_cv_func__fabsf" = x""yes; then :
47439 cat >>confdefs.h <<_ACEOF
47440 #define HAVE__FABSF 1
47441 _ACEOF
47442
47443 fi
47444 done
47445
47446 fi
47447 fi
47448
47449
47450
47451
47452
47453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47454 $as_echo_n "checking for fmodf declaration... " >&6; }
47455 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47456 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47457 $as_echo_n "(cached) " >&6
47458 else
47459
47460
47461 ac_ext=cpp
47462 ac_cpp='$CXXCPP $CPPFLAGS'
47463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47466
47467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47468 /* end confdefs.h. */
47469 #include <math.h>
47470 int
47471 main ()
47472 {
47473 fmodf(0, 0);
47474 ;
47475 return 0;
47476 }
47477 _ACEOF
47478 if ac_fn_cxx_try_compile "$LINENO"; then :
47479 glibcxx_cv_func_fmodf_use=yes
47480 else
47481 glibcxx_cv_func_fmodf_use=no
47482 fi
47483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47484 ac_ext=c
47485 ac_cpp='$CPP $CPPFLAGS'
47486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47489
47490
47491 fi
47492
47493 fi
47494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47495 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47496
47497 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47498 for ac_func in fmodf
47499 do :
47500 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47501 if test "x$ac_cv_func_fmodf" = x""yes; then :
47502 cat >>confdefs.h <<_ACEOF
47503 #define HAVE_FMODF 1
47504 _ACEOF
47505
47506 fi
47507 done
47508
47509 else
47510
47511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47512 $as_echo_n "checking for _fmodf declaration... " >&6; }
47513 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47514 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47515 $as_echo_n "(cached) " >&6
47516 else
47517
47518
47519 ac_ext=cpp
47520 ac_cpp='$CXXCPP $CPPFLAGS'
47521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47524
47525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47526 /* end confdefs.h. */
47527 #include <math.h>
47528 int
47529 main ()
47530 {
47531 _fmodf(0, 0);
47532 ;
47533 return 0;
47534 }
47535 _ACEOF
47536 if ac_fn_cxx_try_compile "$LINENO"; then :
47537 glibcxx_cv_func__fmodf_use=yes
47538 else
47539 glibcxx_cv_func__fmodf_use=no
47540 fi
47541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47542 ac_ext=c
47543 ac_cpp='$CPP $CPPFLAGS'
47544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47547
47548
47549 fi
47550
47551 fi
47552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47553 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47554
47555 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47556 for ac_func in _fmodf
47557 do :
47558 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47559 if test "x$ac_cv_func__fmodf" = x""yes; then :
47560 cat >>confdefs.h <<_ACEOF
47561 #define HAVE__FMODF 1
47562 _ACEOF
47563
47564 fi
47565 done
47566
47567 fi
47568 fi
47569
47570
47571
47572
47573
47574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
47575 $as_echo_n "checking for frexpf declaration... " >&6; }
47576 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
47577 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
47578 $as_echo_n "(cached) " >&6
47579 else
47580
47581
47582 ac_ext=cpp
47583 ac_cpp='$CXXCPP $CPPFLAGS'
47584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47587
47588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47589 /* end confdefs.h. */
47590 #include <math.h>
47591 int
47592 main ()
47593 {
47594 frexpf(0, 0);
47595 ;
47596 return 0;
47597 }
47598 _ACEOF
47599 if ac_fn_cxx_try_compile "$LINENO"; then :
47600 glibcxx_cv_func_frexpf_use=yes
47601 else
47602 glibcxx_cv_func_frexpf_use=no
47603 fi
47604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47605 ac_ext=c
47606 ac_cpp='$CPP $CPPFLAGS'
47607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47610
47611
47612 fi
47613
47614 fi
47615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
47616 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
47617
47618 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
47619 for ac_func in frexpf
47620 do :
47621 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
47622 if test "x$ac_cv_func_frexpf" = x""yes; then :
47623 cat >>confdefs.h <<_ACEOF
47624 #define HAVE_FREXPF 1
47625 _ACEOF
47626
47627 fi
47628 done
47629
47630 else
47631
47632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
47633 $as_echo_n "checking for _frexpf declaration... " >&6; }
47634 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
47635 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
47636 $as_echo_n "(cached) " >&6
47637 else
47638
47639
47640 ac_ext=cpp
47641 ac_cpp='$CXXCPP $CPPFLAGS'
47642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47645
47646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47647 /* end confdefs.h. */
47648 #include <math.h>
47649 int
47650 main ()
47651 {
47652 _frexpf(0, 0);
47653 ;
47654 return 0;
47655 }
47656 _ACEOF
47657 if ac_fn_cxx_try_compile "$LINENO"; then :
47658 glibcxx_cv_func__frexpf_use=yes
47659 else
47660 glibcxx_cv_func__frexpf_use=no
47661 fi
47662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47663 ac_ext=c
47664 ac_cpp='$CPP $CPPFLAGS'
47665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47668
47669
47670 fi
47671
47672 fi
47673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
47674 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
47675
47676 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
47677 for ac_func in _frexpf
47678 do :
47679 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
47680 if test "x$ac_cv_func__frexpf" = x""yes; then :
47681 cat >>confdefs.h <<_ACEOF
47682 #define HAVE__FREXPF 1
47683 _ACEOF
47684
47685 fi
47686 done
47687
47688 fi
47689 fi
47690
47691
47692
47693
47694
47695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
47696 $as_echo_n "checking for hypotf declaration... " >&6; }
47697 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
47698 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
47699 $as_echo_n "(cached) " >&6
47700 else
47701
47702
47703 ac_ext=cpp
47704 ac_cpp='$CXXCPP $CPPFLAGS'
47705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47708
47709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47710 /* end confdefs.h. */
47711 #include <math.h>
47712 int
47713 main ()
47714 {
47715 hypotf(0, 0);
47716 ;
47717 return 0;
47718 }
47719 _ACEOF
47720 if ac_fn_cxx_try_compile "$LINENO"; then :
47721 glibcxx_cv_func_hypotf_use=yes
47722 else
47723 glibcxx_cv_func_hypotf_use=no
47724 fi
47725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47726 ac_ext=c
47727 ac_cpp='$CPP $CPPFLAGS'
47728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47731
47732
47733 fi
47734
47735 fi
47736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
47737 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
47738
47739 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
47740 for ac_func in hypotf
47741 do :
47742 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
47743 if test "x$ac_cv_func_hypotf" = x""yes; then :
47744 cat >>confdefs.h <<_ACEOF
47745 #define HAVE_HYPOTF 1
47746 _ACEOF
47747
47748 fi
47749 done
47750
47751 else
47752
47753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
47754 $as_echo_n "checking for _hypotf declaration... " >&6; }
47755 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
47756 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
47757 $as_echo_n "(cached) " >&6
47758 else
47759
47760
47761 ac_ext=cpp
47762 ac_cpp='$CXXCPP $CPPFLAGS'
47763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47766
47767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47768 /* end confdefs.h. */
47769 #include <math.h>
47770 int
47771 main ()
47772 {
47773 _hypotf(0, 0);
47774 ;
47775 return 0;
47776 }
47777 _ACEOF
47778 if ac_fn_cxx_try_compile "$LINENO"; then :
47779 glibcxx_cv_func__hypotf_use=yes
47780 else
47781 glibcxx_cv_func__hypotf_use=no
47782 fi
47783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47784 ac_ext=c
47785 ac_cpp='$CPP $CPPFLAGS'
47786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47789
47790
47791 fi
47792
47793 fi
47794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
47795 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
47796
47797 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
47798 for ac_func in _hypotf
47799 do :
47800 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
47801 if test "x$ac_cv_func__hypotf" = x""yes; then :
47802 cat >>confdefs.h <<_ACEOF
47803 #define HAVE__HYPOTF 1
47804 _ACEOF
47805
47806 fi
47807 done
47808
47809 fi
47810 fi
47811
47812
47813
47814
47815
47816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
47817 $as_echo_n "checking for ldexpf declaration... " >&6; }
47818 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
47819 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
47820 $as_echo_n "(cached) " >&6
47821 else
47822
47823
47824 ac_ext=cpp
47825 ac_cpp='$CXXCPP $CPPFLAGS'
47826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47829
47830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47831 /* end confdefs.h. */
47832 #include <math.h>
47833 int
47834 main ()
47835 {
47836 ldexpf(0, 0);
47837 ;
47838 return 0;
47839 }
47840 _ACEOF
47841 if ac_fn_cxx_try_compile "$LINENO"; then :
47842 glibcxx_cv_func_ldexpf_use=yes
47843 else
47844 glibcxx_cv_func_ldexpf_use=no
47845 fi
47846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47847 ac_ext=c
47848 ac_cpp='$CPP $CPPFLAGS'
47849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47852
47853
47854 fi
47855
47856 fi
47857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
47858 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
47859
47860 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
47861 for ac_func in ldexpf
47862 do :
47863 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
47864 if test "x$ac_cv_func_ldexpf" = x""yes; then :
47865 cat >>confdefs.h <<_ACEOF
47866 #define HAVE_LDEXPF 1
47867 _ACEOF
47868
47869 fi
47870 done
47871
47872 else
47873
47874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
47875 $as_echo_n "checking for _ldexpf declaration... " >&6; }
47876 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
47877 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
47878 $as_echo_n "(cached) " >&6
47879 else
47880
47881
47882 ac_ext=cpp
47883 ac_cpp='$CXXCPP $CPPFLAGS'
47884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47887
47888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47889 /* end confdefs.h. */
47890 #include <math.h>
47891 int
47892 main ()
47893 {
47894 _ldexpf(0, 0);
47895 ;
47896 return 0;
47897 }
47898 _ACEOF
47899 if ac_fn_cxx_try_compile "$LINENO"; then :
47900 glibcxx_cv_func__ldexpf_use=yes
47901 else
47902 glibcxx_cv_func__ldexpf_use=no
47903 fi
47904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47905 ac_ext=c
47906 ac_cpp='$CPP $CPPFLAGS'
47907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47910
47911
47912 fi
47913
47914 fi
47915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
47916 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
47917
47918 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
47919 for ac_func in _ldexpf
47920 do :
47921 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
47922 if test "x$ac_cv_func__ldexpf" = x""yes; then :
47923 cat >>confdefs.h <<_ACEOF
47924 #define HAVE__LDEXPF 1
47925 _ACEOF
47926
47927 fi
47928 done
47929
47930 fi
47931 fi
47932
47933
47934
47935
47936
47937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
47938 $as_echo_n "checking for logf declaration... " >&6; }
47939 if test x${glibcxx_cv_func_logf_use+set} != xset; then
47940 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
47941 $as_echo_n "(cached) " >&6
47942 else
47943
47944
47945 ac_ext=cpp
47946 ac_cpp='$CXXCPP $CPPFLAGS'
47947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47950
47951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47952 /* end confdefs.h. */
47953 #include <math.h>
47954 #ifdef HAVE_IEEEFP_H
47955 #include <ieeefp.h>
47956 #endif
47957
47958 int
47959 main ()
47960 {
47961 logf(0);
47962 ;
47963 return 0;
47964 }
47965 _ACEOF
47966 if ac_fn_cxx_try_compile "$LINENO"; then :
47967 glibcxx_cv_func_logf_use=yes
47968 else
47969 glibcxx_cv_func_logf_use=no
47970 fi
47971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47972 ac_ext=c
47973 ac_cpp='$CPP $CPPFLAGS'
47974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47977
47978
47979 fi
47980
47981 fi
47982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
47983 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
47984
47985 if test x$glibcxx_cv_func_logf_use = x"yes"; then
47986 for ac_func in logf
47987 do :
47988 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
47989 if test "x$ac_cv_func_logf" = x""yes; then :
47990 cat >>confdefs.h <<_ACEOF
47991 #define HAVE_LOGF 1
47992 _ACEOF
47993
47994 fi
47995 done
47996
47997 else
47998
47999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48000 $as_echo_n "checking for _logf declaration... " >&6; }
48001 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48002 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48003 $as_echo_n "(cached) " >&6
48004 else
48005
48006
48007 ac_ext=cpp
48008 ac_cpp='$CXXCPP $CPPFLAGS'
48009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48012
48013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48014 /* end confdefs.h. */
48015 #include <math.h>
48016 #ifdef HAVE_IEEEFP_H
48017 #include <ieeefp.h>
48018 #endif
48019
48020 int
48021 main ()
48022 {
48023 _logf(0);
48024 ;
48025 return 0;
48026 }
48027 _ACEOF
48028 if ac_fn_cxx_try_compile "$LINENO"; then :
48029 glibcxx_cv_func__logf_use=yes
48030 else
48031 glibcxx_cv_func__logf_use=no
48032 fi
48033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48034 ac_ext=c
48035 ac_cpp='$CPP $CPPFLAGS'
48036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48039
48040
48041 fi
48042
48043 fi
48044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48045 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48046
48047 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48048 for ac_func in _logf
48049 do :
48050 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48051 if test "x$ac_cv_func__logf" = x""yes; then :
48052 cat >>confdefs.h <<_ACEOF
48053 #define HAVE__LOGF 1
48054 _ACEOF
48055
48056 fi
48057 done
48058
48059 fi
48060 fi
48061
48062
48063
48064
48065
48066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48067 $as_echo_n "checking for log10f declaration... " >&6; }
48068 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48069 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48070 $as_echo_n "(cached) " >&6
48071 else
48072
48073
48074 ac_ext=cpp
48075 ac_cpp='$CXXCPP $CPPFLAGS'
48076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48079
48080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48081 /* end confdefs.h. */
48082 #include <math.h>
48083 #ifdef HAVE_IEEEFP_H
48084 #include <ieeefp.h>
48085 #endif
48086
48087 int
48088 main ()
48089 {
48090 log10f(0);
48091 ;
48092 return 0;
48093 }
48094 _ACEOF
48095 if ac_fn_cxx_try_compile "$LINENO"; then :
48096 glibcxx_cv_func_log10f_use=yes
48097 else
48098 glibcxx_cv_func_log10f_use=no
48099 fi
48100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48101 ac_ext=c
48102 ac_cpp='$CPP $CPPFLAGS'
48103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48106
48107
48108 fi
48109
48110 fi
48111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48112 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48113
48114 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48115 for ac_func in log10f
48116 do :
48117 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48118 if test "x$ac_cv_func_log10f" = x""yes; then :
48119 cat >>confdefs.h <<_ACEOF
48120 #define HAVE_LOG10F 1
48121 _ACEOF
48122
48123 fi
48124 done
48125
48126 else
48127
48128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48129 $as_echo_n "checking for _log10f declaration... " >&6; }
48130 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48131 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48132 $as_echo_n "(cached) " >&6
48133 else
48134
48135
48136 ac_ext=cpp
48137 ac_cpp='$CXXCPP $CPPFLAGS'
48138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48141
48142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48143 /* end confdefs.h. */
48144 #include <math.h>
48145 #ifdef HAVE_IEEEFP_H
48146 #include <ieeefp.h>
48147 #endif
48148
48149 int
48150 main ()
48151 {
48152 _log10f(0);
48153 ;
48154 return 0;
48155 }
48156 _ACEOF
48157 if ac_fn_cxx_try_compile "$LINENO"; then :
48158 glibcxx_cv_func__log10f_use=yes
48159 else
48160 glibcxx_cv_func__log10f_use=no
48161 fi
48162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48163 ac_ext=c
48164 ac_cpp='$CPP $CPPFLAGS'
48165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48168
48169
48170 fi
48171
48172 fi
48173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48174 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48175
48176 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48177 for ac_func in _log10f
48178 do :
48179 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48180 if test "x$ac_cv_func__log10f" = x""yes; then :
48181 cat >>confdefs.h <<_ACEOF
48182 #define HAVE__LOG10F 1
48183 _ACEOF
48184
48185 fi
48186 done
48187
48188 fi
48189 fi
48190
48191
48192
48193
48194
48195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48196 $as_echo_n "checking for modff declaration... " >&6; }
48197 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48198 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48199 $as_echo_n "(cached) " >&6
48200 else
48201
48202
48203 ac_ext=cpp
48204 ac_cpp='$CXXCPP $CPPFLAGS'
48205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48208
48209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48210 /* end confdefs.h. */
48211 #include <math.h>
48212 int
48213 main ()
48214 {
48215 modff(0, 0);
48216 ;
48217 return 0;
48218 }
48219 _ACEOF
48220 if ac_fn_cxx_try_compile "$LINENO"; then :
48221 glibcxx_cv_func_modff_use=yes
48222 else
48223 glibcxx_cv_func_modff_use=no
48224 fi
48225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48226 ac_ext=c
48227 ac_cpp='$CPP $CPPFLAGS'
48228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48231
48232
48233 fi
48234
48235 fi
48236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48237 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48238
48239 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48240 for ac_func in modff
48241 do :
48242 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48243 if test "x$ac_cv_func_modff" = x""yes; then :
48244 cat >>confdefs.h <<_ACEOF
48245 #define HAVE_MODFF 1
48246 _ACEOF
48247
48248 fi
48249 done
48250
48251 else
48252
48253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48254 $as_echo_n "checking for _modff declaration... " >&6; }
48255 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48256 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48257 $as_echo_n "(cached) " >&6
48258 else
48259
48260
48261 ac_ext=cpp
48262 ac_cpp='$CXXCPP $CPPFLAGS'
48263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48266
48267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48268 /* end confdefs.h. */
48269 #include <math.h>
48270 int
48271 main ()
48272 {
48273 _modff(0, 0);
48274 ;
48275 return 0;
48276 }
48277 _ACEOF
48278 if ac_fn_cxx_try_compile "$LINENO"; then :
48279 glibcxx_cv_func__modff_use=yes
48280 else
48281 glibcxx_cv_func__modff_use=no
48282 fi
48283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48284 ac_ext=c
48285 ac_cpp='$CPP $CPPFLAGS'
48286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48289
48290
48291 fi
48292
48293 fi
48294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48295 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48296
48297 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48298 for ac_func in _modff
48299 do :
48300 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48301 if test "x$ac_cv_func__modff" = x""yes; then :
48302 cat >>confdefs.h <<_ACEOF
48303 #define HAVE__MODFF 1
48304 _ACEOF
48305
48306 fi
48307 done
48308
48309 fi
48310 fi
48311
48312
48313
48314
48315
48316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48317 $as_echo_n "checking for modf declaration... " >&6; }
48318 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48319 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48320 $as_echo_n "(cached) " >&6
48321 else
48322
48323
48324 ac_ext=cpp
48325 ac_cpp='$CXXCPP $CPPFLAGS'
48326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48329
48330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48331 /* end confdefs.h. */
48332 #include <math.h>
48333 int
48334 main ()
48335 {
48336 modf(0, 0);
48337 ;
48338 return 0;
48339 }
48340 _ACEOF
48341 if ac_fn_cxx_try_compile "$LINENO"; then :
48342 glibcxx_cv_func_modf_use=yes
48343 else
48344 glibcxx_cv_func_modf_use=no
48345 fi
48346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48347 ac_ext=c
48348 ac_cpp='$CPP $CPPFLAGS'
48349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48352
48353
48354 fi
48355
48356 fi
48357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48358 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48359
48360 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48361 for ac_func in modf
48362 do :
48363 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48364 if test "x$ac_cv_func_modf" = x""yes; then :
48365 cat >>confdefs.h <<_ACEOF
48366 #define HAVE_MODF 1
48367 _ACEOF
48368
48369 fi
48370 done
48371
48372 else
48373
48374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48375 $as_echo_n "checking for _modf declaration... " >&6; }
48376 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48377 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48378 $as_echo_n "(cached) " >&6
48379 else
48380
48381
48382 ac_ext=cpp
48383 ac_cpp='$CXXCPP $CPPFLAGS'
48384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48387
48388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48389 /* end confdefs.h. */
48390 #include <math.h>
48391 int
48392 main ()
48393 {
48394 _modf(0, 0);
48395 ;
48396 return 0;
48397 }
48398 _ACEOF
48399 if ac_fn_cxx_try_compile "$LINENO"; then :
48400 glibcxx_cv_func__modf_use=yes
48401 else
48402 glibcxx_cv_func__modf_use=no
48403 fi
48404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48405 ac_ext=c
48406 ac_cpp='$CPP $CPPFLAGS'
48407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48410
48411
48412 fi
48413
48414 fi
48415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48416 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48417
48418 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48419 for ac_func in _modf
48420 do :
48421 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48422 if test "x$ac_cv_func__modf" = x""yes; then :
48423 cat >>confdefs.h <<_ACEOF
48424 #define HAVE__MODF 1
48425 _ACEOF
48426
48427 fi
48428 done
48429
48430 fi
48431 fi
48432
48433
48434
48435
48436
48437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48438 $as_echo_n "checking for powf declaration... " >&6; }
48439 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48440 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48441 $as_echo_n "(cached) " >&6
48442 else
48443
48444
48445 ac_ext=cpp
48446 ac_cpp='$CXXCPP $CPPFLAGS'
48447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48450
48451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48452 /* end confdefs.h. */
48453 #include <math.h>
48454 int
48455 main ()
48456 {
48457 powf(0, 0);
48458 ;
48459 return 0;
48460 }
48461 _ACEOF
48462 if ac_fn_cxx_try_compile "$LINENO"; then :
48463 glibcxx_cv_func_powf_use=yes
48464 else
48465 glibcxx_cv_func_powf_use=no
48466 fi
48467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48468 ac_ext=c
48469 ac_cpp='$CPP $CPPFLAGS'
48470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48473
48474
48475 fi
48476
48477 fi
48478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48479 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48480
48481 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48482 for ac_func in powf
48483 do :
48484 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48485 if test "x$ac_cv_func_powf" = x""yes; then :
48486 cat >>confdefs.h <<_ACEOF
48487 #define HAVE_POWF 1
48488 _ACEOF
48489
48490 fi
48491 done
48492
48493 else
48494
48495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48496 $as_echo_n "checking for _powf declaration... " >&6; }
48497 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48498 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48499 $as_echo_n "(cached) " >&6
48500 else
48501
48502
48503 ac_ext=cpp
48504 ac_cpp='$CXXCPP $CPPFLAGS'
48505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48508
48509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48510 /* end confdefs.h. */
48511 #include <math.h>
48512 int
48513 main ()
48514 {
48515 _powf(0, 0);
48516 ;
48517 return 0;
48518 }
48519 _ACEOF
48520 if ac_fn_cxx_try_compile "$LINENO"; then :
48521 glibcxx_cv_func__powf_use=yes
48522 else
48523 glibcxx_cv_func__powf_use=no
48524 fi
48525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48526 ac_ext=c
48527 ac_cpp='$CPP $CPPFLAGS'
48528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48531
48532
48533 fi
48534
48535 fi
48536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48537 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48538
48539 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48540 for ac_func in _powf
48541 do :
48542 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48543 if test "x$ac_cv_func__powf" = x""yes; then :
48544 cat >>confdefs.h <<_ACEOF
48545 #define HAVE__POWF 1
48546 _ACEOF
48547
48548 fi
48549 done
48550
48551 fi
48552 fi
48553
48554
48555
48556
48557
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48559 $as_echo_n "checking for sqrtf declaration... " >&6; }
48560 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48561 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48562 $as_echo_n "(cached) " >&6
48563 else
48564
48565
48566 ac_ext=cpp
48567 ac_cpp='$CXXCPP $CPPFLAGS'
48568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48571
48572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48573 /* end confdefs.h. */
48574 #include <math.h>
48575 #ifdef HAVE_IEEEFP_H
48576 #include <ieeefp.h>
48577 #endif
48578
48579 int
48580 main ()
48581 {
48582 sqrtf(0);
48583 ;
48584 return 0;
48585 }
48586 _ACEOF
48587 if ac_fn_cxx_try_compile "$LINENO"; then :
48588 glibcxx_cv_func_sqrtf_use=yes
48589 else
48590 glibcxx_cv_func_sqrtf_use=no
48591 fi
48592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48593 ac_ext=c
48594 ac_cpp='$CPP $CPPFLAGS'
48595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48598
48599
48600 fi
48601
48602 fi
48603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
48604 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
48605
48606 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
48607 for ac_func in sqrtf
48608 do :
48609 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
48610 if test "x$ac_cv_func_sqrtf" = x""yes; then :
48611 cat >>confdefs.h <<_ACEOF
48612 #define HAVE_SQRTF 1
48613 _ACEOF
48614
48615 fi
48616 done
48617
48618 else
48619
48620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
48621 $as_echo_n "checking for _sqrtf declaration... " >&6; }
48622 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
48623 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
48624 $as_echo_n "(cached) " >&6
48625 else
48626
48627
48628 ac_ext=cpp
48629 ac_cpp='$CXXCPP $CPPFLAGS'
48630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48633
48634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48635 /* end confdefs.h. */
48636 #include <math.h>
48637 #ifdef HAVE_IEEEFP_H
48638 #include <ieeefp.h>
48639 #endif
48640
48641 int
48642 main ()
48643 {
48644 _sqrtf(0);
48645 ;
48646 return 0;
48647 }
48648 _ACEOF
48649 if ac_fn_cxx_try_compile "$LINENO"; then :
48650 glibcxx_cv_func__sqrtf_use=yes
48651 else
48652 glibcxx_cv_func__sqrtf_use=no
48653 fi
48654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48655 ac_ext=c
48656 ac_cpp='$CPP $CPPFLAGS'
48657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48660
48661
48662 fi
48663
48664 fi
48665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
48666 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
48667
48668 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
48669 for ac_func in _sqrtf
48670 do :
48671 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
48672 if test "x$ac_cv_func__sqrtf" = x""yes; then :
48673 cat >>confdefs.h <<_ACEOF
48674 #define HAVE__SQRTF 1
48675 _ACEOF
48676
48677 fi
48678 done
48679
48680 fi
48681 fi
48682
48683
48684
48685
48686
48687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
48688 $as_echo_n "checking for sincosf declaration... " >&6; }
48689 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
48690 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
48691 $as_echo_n "(cached) " >&6
48692 else
48693
48694
48695 ac_ext=cpp
48696 ac_cpp='$CXXCPP $CPPFLAGS'
48697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48700
48701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48702 /* end confdefs.h. */
48703 #include <math.h>
48704 int
48705 main ()
48706 {
48707 sincosf(0, 0, 0);
48708 ;
48709 return 0;
48710 }
48711 _ACEOF
48712 if ac_fn_cxx_try_compile "$LINENO"; then :
48713 glibcxx_cv_func_sincosf_use=yes
48714 else
48715 glibcxx_cv_func_sincosf_use=no
48716 fi
48717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48718 ac_ext=c
48719 ac_cpp='$CPP $CPPFLAGS'
48720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48723
48724
48725 fi
48726
48727 fi
48728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
48729 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
48730
48731 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
48732 for ac_func in sincosf
48733 do :
48734 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
48735 if test "x$ac_cv_func_sincosf" = x""yes; then :
48736 cat >>confdefs.h <<_ACEOF
48737 #define HAVE_SINCOSF 1
48738 _ACEOF
48739
48740 fi
48741 done
48742
48743 else
48744
48745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
48746 $as_echo_n "checking for _sincosf declaration... " >&6; }
48747 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
48748 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
48749 $as_echo_n "(cached) " >&6
48750 else
48751
48752
48753 ac_ext=cpp
48754 ac_cpp='$CXXCPP $CPPFLAGS'
48755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48758
48759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48760 /* end confdefs.h. */
48761 #include <math.h>
48762 int
48763 main ()
48764 {
48765 _sincosf(0, 0, 0);
48766 ;
48767 return 0;
48768 }
48769 _ACEOF
48770 if ac_fn_cxx_try_compile "$LINENO"; then :
48771 glibcxx_cv_func__sincosf_use=yes
48772 else
48773 glibcxx_cv_func__sincosf_use=no
48774 fi
48775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48776 ac_ext=c
48777 ac_cpp='$CPP $CPPFLAGS'
48778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48781
48782
48783 fi
48784
48785 fi
48786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
48787 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
48788
48789 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
48790 for ac_func in _sincosf
48791 do :
48792 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
48793 if test "x$ac_cv_func__sincosf" = x""yes; then :
48794 cat >>confdefs.h <<_ACEOF
48795 #define HAVE__SINCOSF 1
48796 _ACEOF
48797
48798 fi
48799 done
48800
48801 fi
48802 fi
48803
48804
48805
48806
48807
48808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
48809 $as_echo_n "checking for finitef declaration... " >&6; }
48810 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
48811 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
48812 $as_echo_n "(cached) " >&6
48813 else
48814
48815
48816 ac_ext=cpp
48817 ac_cpp='$CXXCPP $CPPFLAGS'
48818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48821
48822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48823 /* end confdefs.h. */
48824 #include <math.h>
48825 #ifdef HAVE_IEEEFP_H
48826 #include <ieeefp.h>
48827 #endif
48828
48829 int
48830 main ()
48831 {
48832 finitef(0);
48833 ;
48834 return 0;
48835 }
48836 _ACEOF
48837 if ac_fn_cxx_try_compile "$LINENO"; then :
48838 glibcxx_cv_func_finitef_use=yes
48839 else
48840 glibcxx_cv_func_finitef_use=no
48841 fi
48842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48843 ac_ext=c
48844 ac_cpp='$CPP $CPPFLAGS'
48845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48848
48849
48850 fi
48851
48852 fi
48853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
48854 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
48855
48856 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
48857 for ac_func in finitef
48858 do :
48859 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
48860 if test "x$ac_cv_func_finitef" = x""yes; then :
48861 cat >>confdefs.h <<_ACEOF
48862 #define HAVE_FINITEF 1
48863 _ACEOF
48864
48865 fi
48866 done
48867
48868 else
48869
48870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
48871 $as_echo_n "checking for _finitef declaration... " >&6; }
48872 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
48873 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
48874 $as_echo_n "(cached) " >&6
48875 else
48876
48877
48878 ac_ext=cpp
48879 ac_cpp='$CXXCPP $CPPFLAGS'
48880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48883
48884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48885 /* end confdefs.h. */
48886 #include <math.h>
48887 #ifdef HAVE_IEEEFP_H
48888 #include <ieeefp.h>
48889 #endif
48890
48891 int
48892 main ()
48893 {
48894 _finitef(0);
48895 ;
48896 return 0;
48897 }
48898 _ACEOF
48899 if ac_fn_cxx_try_compile "$LINENO"; then :
48900 glibcxx_cv_func__finitef_use=yes
48901 else
48902 glibcxx_cv_func__finitef_use=no
48903 fi
48904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48905 ac_ext=c
48906 ac_cpp='$CPP $CPPFLAGS'
48907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48910
48911
48912 fi
48913
48914 fi
48915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
48916 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
48917
48918 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
48919 for ac_func in _finitef
48920 do :
48921 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
48922 if test "x$ac_cv_func__finitef" = x""yes; then :
48923 cat >>confdefs.h <<_ACEOF
48924 #define HAVE__FINITEF 1
48925 _ACEOF
48926
48927 fi
48928 done
48929
48930 fi
48931 fi
48932
48933
48934
48935
48936
48937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
48938 $as_echo_n "checking for long double trig functions... " >&6; }
48939 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
48940 $as_echo_n "(cached) " >&6
48941 else
48942
48943
48944 ac_ext=cpp
48945 ac_cpp='$CXXCPP $CPPFLAGS'
48946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48949
48950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48951 /* end confdefs.h. */
48952 #include <math.h>
48953 int
48954 main ()
48955 {
48956 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
48957 ;
48958 return 0;
48959 }
48960 _ACEOF
48961 if ac_fn_cxx_try_compile "$LINENO"; then :
48962 glibcxx_cv_func_long_double_trig_use=yes
48963 else
48964 glibcxx_cv_func_long_double_trig_use=no
48965 fi
48966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48967 ac_ext=c
48968 ac_cpp='$CPP $CPPFLAGS'
48969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48972
48973 fi
48974
48975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
48976 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
48977 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
48978 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
48979 do :
48980 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48981 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48982 eval as_val=\$$as_ac_var
48983 if test "x$as_val" = x""yes; then :
48984 cat >>confdefs.h <<_ACEOF
48985 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48986 _ACEOF
48987
48988 fi
48989 done
48990
48991 else
48992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
48993 $as_echo_n "checking for _long double trig functions... " >&6; }
48994 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
48995 $as_echo_n "(cached) " >&6
48996 else
48997
48998
48999 ac_ext=cpp
49000 ac_cpp='$CXXCPP $CPPFLAGS'
49001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49004
49005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49006 /* end confdefs.h. */
49007 #include <math.h>
49008 int
49009 main ()
49010 {
49011 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49012 ;
49013 return 0;
49014 }
49015 _ACEOF
49016 if ac_fn_cxx_try_compile "$LINENO"; then :
49017 glibcxx_cv_func__long_double_trig_use=yes
49018 else
49019 glibcxx_cv_func__long_double_trig_use=no
49020 fi
49021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49022 ac_ext=c
49023 ac_cpp='$CPP $CPPFLAGS'
49024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49027
49028 fi
49029
49030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49031 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49032 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49033 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49034 do :
49035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49037 eval as_val=\$$as_ac_var
49038 if test "x$as_val" = x""yes; then :
49039 cat >>confdefs.h <<_ACEOF
49040 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49041 _ACEOF
49042
49043 fi
49044 done
49045
49046 fi
49047 fi
49048
49049
49050
49051
49052
49053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49054 $as_echo_n "checking for long double round functions... " >&6; }
49055 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49056 $as_echo_n "(cached) " >&6
49057 else
49058
49059
49060 ac_ext=cpp
49061 ac_cpp='$CXXCPP $CPPFLAGS'
49062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49065
49066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49067 /* end confdefs.h. */
49068 #include <math.h>
49069 int
49070 main ()
49071 {
49072 ceill (0); floorl (0);
49073 ;
49074 return 0;
49075 }
49076 _ACEOF
49077 if ac_fn_cxx_try_compile "$LINENO"; then :
49078 glibcxx_cv_func_long_double_round_use=yes
49079 else
49080 glibcxx_cv_func_long_double_round_use=no
49081 fi
49082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49083 ac_ext=c
49084 ac_cpp='$CPP $CPPFLAGS'
49085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49088
49089 fi
49090
49091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49092 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49093 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49094 for ac_func in ceill floorl
49095 do :
49096 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49097 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49098 eval as_val=\$$as_ac_var
49099 if test "x$as_val" = x""yes; then :
49100 cat >>confdefs.h <<_ACEOF
49101 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49102 _ACEOF
49103
49104 fi
49105 done
49106
49107 else
49108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49109 $as_echo_n "checking for _long double round functions... " >&6; }
49110 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49111 $as_echo_n "(cached) " >&6
49112 else
49113
49114
49115 ac_ext=cpp
49116 ac_cpp='$CXXCPP $CPPFLAGS'
49117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49120
49121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49122 /* end confdefs.h. */
49123 #include <math.h>
49124 int
49125 main ()
49126 {
49127 _ceill (0); _floorl (0);
49128 ;
49129 return 0;
49130 }
49131 _ACEOF
49132 if ac_fn_cxx_try_compile "$LINENO"; then :
49133 glibcxx_cv_func__long_double_round_use=yes
49134 else
49135 glibcxx_cv_func__long_double_round_use=no
49136 fi
49137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49138 ac_ext=c
49139 ac_cpp='$CPP $CPPFLAGS'
49140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49143
49144 fi
49145
49146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49147 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49148 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49149 for ac_func in _ceill _floorl
49150 do :
49151 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49152 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49153 eval as_val=\$$as_ac_var
49154 if test "x$as_val" = x""yes; then :
49155 cat >>confdefs.h <<_ACEOF
49156 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49157 _ACEOF
49158
49159 fi
49160 done
49161
49162 fi
49163 fi
49164
49165
49166
49167
49168
49169
49170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49171 $as_echo_n "checking for isnanl declaration... " >&6; }
49172 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49173 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49174 $as_echo_n "(cached) " >&6
49175 else
49176
49177
49178 ac_ext=cpp
49179 ac_cpp='$CXXCPP $CPPFLAGS'
49180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49183
49184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49185 /* end confdefs.h. */
49186 #include <math.h>
49187 #ifdef HAVE_IEEEFP_H
49188 #include <ieeefp.h>
49189 #endif
49190
49191 int
49192 main ()
49193 {
49194 isnanl(0);
49195 ;
49196 return 0;
49197 }
49198 _ACEOF
49199 if ac_fn_cxx_try_compile "$LINENO"; then :
49200 glibcxx_cv_func_isnanl_use=yes
49201 else
49202 glibcxx_cv_func_isnanl_use=no
49203 fi
49204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49205 ac_ext=c
49206 ac_cpp='$CPP $CPPFLAGS'
49207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49210
49211
49212 fi
49213
49214 fi
49215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49216 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49217
49218 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49219 for ac_func in isnanl
49220 do :
49221 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49222 if test "x$ac_cv_func_isnanl" = x""yes; then :
49223 cat >>confdefs.h <<_ACEOF
49224 #define HAVE_ISNANL 1
49225 _ACEOF
49226
49227 fi
49228 done
49229
49230 else
49231
49232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49233 $as_echo_n "checking for _isnanl declaration... " >&6; }
49234 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49235 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49236 $as_echo_n "(cached) " >&6
49237 else
49238
49239
49240 ac_ext=cpp
49241 ac_cpp='$CXXCPP $CPPFLAGS'
49242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49245
49246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49247 /* end confdefs.h. */
49248 #include <math.h>
49249 #ifdef HAVE_IEEEFP_H
49250 #include <ieeefp.h>
49251 #endif
49252
49253 int
49254 main ()
49255 {
49256 _isnanl(0);
49257 ;
49258 return 0;
49259 }
49260 _ACEOF
49261 if ac_fn_cxx_try_compile "$LINENO"; then :
49262 glibcxx_cv_func__isnanl_use=yes
49263 else
49264 glibcxx_cv_func__isnanl_use=no
49265 fi
49266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49267 ac_ext=c
49268 ac_cpp='$CPP $CPPFLAGS'
49269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49272
49273
49274 fi
49275
49276 fi
49277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49278 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49279
49280 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49281 for ac_func in _isnanl
49282 do :
49283 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49284 if test "x$ac_cv_func__isnanl" = x""yes; then :
49285 cat >>confdefs.h <<_ACEOF
49286 #define HAVE__ISNANL 1
49287 _ACEOF
49288
49289 fi
49290 done
49291
49292 fi
49293 fi
49294
49295
49296
49297
49298
49299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49300 $as_echo_n "checking for isinfl declaration... " >&6; }
49301 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49302 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49303 $as_echo_n "(cached) " >&6
49304 else
49305
49306
49307 ac_ext=cpp
49308 ac_cpp='$CXXCPP $CPPFLAGS'
49309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49312
49313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49314 /* end confdefs.h. */
49315 #include <math.h>
49316 #ifdef HAVE_IEEEFP_H
49317 #include <ieeefp.h>
49318 #endif
49319
49320 int
49321 main ()
49322 {
49323 isinfl(0);
49324 ;
49325 return 0;
49326 }
49327 _ACEOF
49328 if ac_fn_cxx_try_compile "$LINENO"; then :
49329 glibcxx_cv_func_isinfl_use=yes
49330 else
49331 glibcxx_cv_func_isinfl_use=no
49332 fi
49333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49334 ac_ext=c
49335 ac_cpp='$CPP $CPPFLAGS'
49336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49339
49340
49341 fi
49342
49343 fi
49344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49345 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49346
49347 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49348 for ac_func in isinfl
49349 do :
49350 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49351 if test "x$ac_cv_func_isinfl" = x""yes; then :
49352 cat >>confdefs.h <<_ACEOF
49353 #define HAVE_ISINFL 1
49354 _ACEOF
49355
49356 fi
49357 done
49358
49359 else
49360
49361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49362 $as_echo_n "checking for _isinfl declaration... " >&6; }
49363 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49364 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49365 $as_echo_n "(cached) " >&6
49366 else
49367
49368
49369 ac_ext=cpp
49370 ac_cpp='$CXXCPP $CPPFLAGS'
49371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49374
49375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49376 /* end confdefs.h. */
49377 #include <math.h>
49378 #ifdef HAVE_IEEEFP_H
49379 #include <ieeefp.h>
49380 #endif
49381
49382 int
49383 main ()
49384 {
49385 _isinfl(0);
49386 ;
49387 return 0;
49388 }
49389 _ACEOF
49390 if ac_fn_cxx_try_compile "$LINENO"; then :
49391 glibcxx_cv_func__isinfl_use=yes
49392 else
49393 glibcxx_cv_func__isinfl_use=no
49394 fi
49395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49396 ac_ext=c
49397 ac_cpp='$CPP $CPPFLAGS'
49398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49401
49402
49403 fi
49404
49405 fi
49406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49407 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49408
49409 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49410 for ac_func in _isinfl
49411 do :
49412 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49413 if test "x$ac_cv_func__isinfl" = x""yes; then :
49414 cat >>confdefs.h <<_ACEOF
49415 #define HAVE__ISINFL 1
49416 _ACEOF
49417
49418 fi
49419 done
49420
49421 fi
49422 fi
49423
49424
49425
49426
49427
49428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49429 $as_echo_n "checking for atan2l declaration... " >&6; }
49430 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49431 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49432 $as_echo_n "(cached) " >&6
49433 else
49434
49435
49436 ac_ext=cpp
49437 ac_cpp='$CXXCPP $CPPFLAGS'
49438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49441
49442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49443 /* end confdefs.h. */
49444 #include <math.h>
49445 int
49446 main ()
49447 {
49448 atan2l(0, 0);
49449 ;
49450 return 0;
49451 }
49452 _ACEOF
49453 if ac_fn_cxx_try_compile "$LINENO"; then :
49454 glibcxx_cv_func_atan2l_use=yes
49455 else
49456 glibcxx_cv_func_atan2l_use=no
49457 fi
49458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49459 ac_ext=c
49460 ac_cpp='$CPP $CPPFLAGS'
49461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49464
49465
49466 fi
49467
49468 fi
49469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49470 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49471
49472 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49473 for ac_func in atan2l
49474 do :
49475 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49476 if test "x$ac_cv_func_atan2l" = x""yes; then :
49477 cat >>confdefs.h <<_ACEOF
49478 #define HAVE_ATAN2L 1
49479 _ACEOF
49480
49481 fi
49482 done
49483
49484 else
49485
49486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49487 $as_echo_n "checking for _atan2l declaration... " >&6; }
49488 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49489 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49490 $as_echo_n "(cached) " >&6
49491 else
49492
49493
49494 ac_ext=cpp
49495 ac_cpp='$CXXCPP $CPPFLAGS'
49496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49499
49500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49501 /* end confdefs.h. */
49502 #include <math.h>
49503 int
49504 main ()
49505 {
49506 _atan2l(0, 0);
49507 ;
49508 return 0;
49509 }
49510 _ACEOF
49511 if ac_fn_cxx_try_compile "$LINENO"; then :
49512 glibcxx_cv_func__atan2l_use=yes
49513 else
49514 glibcxx_cv_func__atan2l_use=no
49515 fi
49516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49517 ac_ext=c
49518 ac_cpp='$CPP $CPPFLAGS'
49519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49522
49523
49524 fi
49525
49526 fi
49527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49528 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49529
49530 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49531 for ac_func in _atan2l
49532 do :
49533 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49534 if test "x$ac_cv_func__atan2l" = x""yes; then :
49535 cat >>confdefs.h <<_ACEOF
49536 #define HAVE__ATAN2L 1
49537 _ACEOF
49538
49539 fi
49540 done
49541
49542 fi
49543 fi
49544
49545
49546
49547
49548
49549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49550 $as_echo_n "checking for expl declaration... " >&6; }
49551 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49552 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49553 $as_echo_n "(cached) " >&6
49554 else
49555
49556
49557 ac_ext=cpp
49558 ac_cpp='$CXXCPP $CPPFLAGS'
49559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49562
49563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49564 /* end confdefs.h. */
49565 #include <math.h>
49566 #ifdef HAVE_IEEEFP_H
49567 #include <ieeefp.h>
49568 #endif
49569
49570 int
49571 main ()
49572 {
49573 expl(0);
49574 ;
49575 return 0;
49576 }
49577 _ACEOF
49578 if ac_fn_cxx_try_compile "$LINENO"; then :
49579 glibcxx_cv_func_expl_use=yes
49580 else
49581 glibcxx_cv_func_expl_use=no
49582 fi
49583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49584 ac_ext=c
49585 ac_cpp='$CPP $CPPFLAGS'
49586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49589
49590
49591 fi
49592
49593 fi
49594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
49595 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
49596
49597 if test x$glibcxx_cv_func_expl_use = x"yes"; then
49598 for ac_func in expl
49599 do :
49600 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
49601 if test "x$ac_cv_func_expl" = x""yes; then :
49602 cat >>confdefs.h <<_ACEOF
49603 #define HAVE_EXPL 1
49604 _ACEOF
49605
49606 fi
49607 done
49608
49609 else
49610
49611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
49612 $as_echo_n "checking for _expl declaration... " >&6; }
49613 if test x${glibcxx_cv_func__expl_use+set} != xset; then
49614 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
49615 $as_echo_n "(cached) " >&6
49616 else
49617
49618
49619 ac_ext=cpp
49620 ac_cpp='$CXXCPP $CPPFLAGS'
49621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49624
49625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49626 /* end confdefs.h. */
49627 #include <math.h>
49628 #ifdef HAVE_IEEEFP_H
49629 #include <ieeefp.h>
49630 #endif
49631
49632 int
49633 main ()
49634 {
49635 _expl(0);
49636 ;
49637 return 0;
49638 }
49639 _ACEOF
49640 if ac_fn_cxx_try_compile "$LINENO"; then :
49641 glibcxx_cv_func__expl_use=yes
49642 else
49643 glibcxx_cv_func__expl_use=no
49644 fi
49645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49646 ac_ext=c
49647 ac_cpp='$CPP $CPPFLAGS'
49648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49651
49652
49653 fi
49654
49655 fi
49656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
49657 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
49658
49659 if test x$glibcxx_cv_func__expl_use = x"yes"; then
49660 for ac_func in _expl
49661 do :
49662 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
49663 if test "x$ac_cv_func__expl" = x""yes; then :
49664 cat >>confdefs.h <<_ACEOF
49665 #define HAVE__EXPL 1
49666 _ACEOF
49667
49668 fi
49669 done
49670
49671 fi
49672 fi
49673
49674
49675
49676
49677
49678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
49679 $as_echo_n "checking for fabsl declaration... " >&6; }
49680 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
49681 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
49682 $as_echo_n "(cached) " >&6
49683 else
49684
49685
49686 ac_ext=cpp
49687 ac_cpp='$CXXCPP $CPPFLAGS'
49688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49691
49692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49693 /* end confdefs.h. */
49694 #include <math.h>
49695 #ifdef HAVE_IEEEFP_H
49696 #include <ieeefp.h>
49697 #endif
49698
49699 int
49700 main ()
49701 {
49702 fabsl(0);
49703 ;
49704 return 0;
49705 }
49706 _ACEOF
49707 if ac_fn_cxx_try_compile "$LINENO"; then :
49708 glibcxx_cv_func_fabsl_use=yes
49709 else
49710 glibcxx_cv_func_fabsl_use=no
49711 fi
49712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49713 ac_ext=c
49714 ac_cpp='$CPP $CPPFLAGS'
49715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49718
49719
49720 fi
49721
49722 fi
49723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
49724 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
49725
49726 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
49727 for ac_func in fabsl
49728 do :
49729 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
49730 if test "x$ac_cv_func_fabsl" = x""yes; then :
49731 cat >>confdefs.h <<_ACEOF
49732 #define HAVE_FABSL 1
49733 _ACEOF
49734
49735 fi
49736 done
49737
49738 else
49739
49740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
49741 $as_echo_n "checking for _fabsl declaration... " >&6; }
49742 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
49743 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
49744 $as_echo_n "(cached) " >&6
49745 else
49746
49747
49748 ac_ext=cpp
49749 ac_cpp='$CXXCPP $CPPFLAGS'
49750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49753
49754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49755 /* end confdefs.h. */
49756 #include <math.h>
49757 #ifdef HAVE_IEEEFP_H
49758 #include <ieeefp.h>
49759 #endif
49760
49761 int
49762 main ()
49763 {
49764 _fabsl(0);
49765 ;
49766 return 0;
49767 }
49768 _ACEOF
49769 if ac_fn_cxx_try_compile "$LINENO"; then :
49770 glibcxx_cv_func__fabsl_use=yes
49771 else
49772 glibcxx_cv_func__fabsl_use=no
49773 fi
49774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49775 ac_ext=c
49776 ac_cpp='$CPP $CPPFLAGS'
49777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49780
49781
49782 fi
49783
49784 fi
49785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
49786 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
49787
49788 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
49789 for ac_func in _fabsl
49790 do :
49791 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
49792 if test "x$ac_cv_func__fabsl" = x""yes; then :
49793 cat >>confdefs.h <<_ACEOF
49794 #define HAVE__FABSL 1
49795 _ACEOF
49796
49797 fi
49798 done
49799
49800 fi
49801 fi
49802
49803
49804
49805
49806
49807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
49808 $as_echo_n "checking for fmodl declaration... " >&6; }
49809 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
49810 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
49811 $as_echo_n "(cached) " >&6
49812 else
49813
49814
49815 ac_ext=cpp
49816 ac_cpp='$CXXCPP $CPPFLAGS'
49817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49820
49821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49822 /* end confdefs.h. */
49823 #include <math.h>
49824 int
49825 main ()
49826 {
49827 fmodl(0, 0);
49828 ;
49829 return 0;
49830 }
49831 _ACEOF
49832 if ac_fn_cxx_try_compile "$LINENO"; then :
49833 glibcxx_cv_func_fmodl_use=yes
49834 else
49835 glibcxx_cv_func_fmodl_use=no
49836 fi
49837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49838 ac_ext=c
49839 ac_cpp='$CPP $CPPFLAGS'
49840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49843
49844
49845 fi
49846
49847 fi
49848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
49849 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
49850
49851 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
49852 for ac_func in fmodl
49853 do :
49854 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
49855 if test "x$ac_cv_func_fmodl" = x""yes; then :
49856 cat >>confdefs.h <<_ACEOF
49857 #define HAVE_FMODL 1
49858 _ACEOF
49859
49860 fi
49861 done
49862
49863 else
49864
49865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
49866 $as_echo_n "checking for _fmodl declaration... " >&6; }
49867 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
49868 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
49869 $as_echo_n "(cached) " >&6
49870 else
49871
49872
49873 ac_ext=cpp
49874 ac_cpp='$CXXCPP $CPPFLAGS'
49875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49878
49879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49880 /* end confdefs.h. */
49881 #include <math.h>
49882 int
49883 main ()
49884 {
49885 _fmodl(0, 0);
49886 ;
49887 return 0;
49888 }
49889 _ACEOF
49890 if ac_fn_cxx_try_compile "$LINENO"; then :
49891 glibcxx_cv_func__fmodl_use=yes
49892 else
49893 glibcxx_cv_func__fmodl_use=no
49894 fi
49895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49896 ac_ext=c
49897 ac_cpp='$CPP $CPPFLAGS'
49898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49901
49902
49903 fi
49904
49905 fi
49906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
49907 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
49908
49909 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
49910 for ac_func in _fmodl
49911 do :
49912 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
49913 if test "x$ac_cv_func__fmodl" = x""yes; then :
49914 cat >>confdefs.h <<_ACEOF
49915 #define HAVE__FMODL 1
49916 _ACEOF
49917
49918 fi
49919 done
49920
49921 fi
49922 fi
49923
49924
49925
49926
49927
49928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
49929 $as_echo_n "checking for frexpl declaration... " >&6; }
49930 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
49931 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
49932 $as_echo_n "(cached) " >&6
49933 else
49934
49935
49936 ac_ext=cpp
49937 ac_cpp='$CXXCPP $CPPFLAGS'
49938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49941
49942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49943 /* end confdefs.h. */
49944 #include <math.h>
49945 int
49946 main ()
49947 {
49948 frexpl(0, 0);
49949 ;
49950 return 0;
49951 }
49952 _ACEOF
49953 if ac_fn_cxx_try_compile "$LINENO"; then :
49954 glibcxx_cv_func_frexpl_use=yes
49955 else
49956 glibcxx_cv_func_frexpl_use=no
49957 fi
49958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49959 ac_ext=c
49960 ac_cpp='$CPP $CPPFLAGS'
49961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49964
49965
49966 fi
49967
49968 fi
49969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
49970 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
49971
49972 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
49973 for ac_func in frexpl
49974 do :
49975 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
49976 if test "x$ac_cv_func_frexpl" = x""yes; then :
49977 cat >>confdefs.h <<_ACEOF
49978 #define HAVE_FREXPL 1
49979 _ACEOF
49980
49981 fi
49982 done
49983
49984 else
49985
49986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
49987 $as_echo_n "checking for _frexpl declaration... " >&6; }
49988 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
49989 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
49990 $as_echo_n "(cached) " >&6
49991 else
49992
49993
49994 ac_ext=cpp
49995 ac_cpp='$CXXCPP $CPPFLAGS'
49996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49999
50000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50001 /* end confdefs.h. */
50002 #include <math.h>
50003 int
50004 main ()
50005 {
50006 _frexpl(0, 0);
50007 ;
50008 return 0;
50009 }
50010 _ACEOF
50011 if ac_fn_cxx_try_compile "$LINENO"; then :
50012 glibcxx_cv_func__frexpl_use=yes
50013 else
50014 glibcxx_cv_func__frexpl_use=no
50015 fi
50016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50017 ac_ext=c
50018 ac_cpp='$CPP $CPPFLAGS'
50019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50022
50023
50024 fi
50025
50026 fi
50027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50028 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50029
50030 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50031 for ac_func in _frexpl
50032 do :
50033 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50034 if test "x$ac_cv_func__frexpl" = x""yes; then :
50035 cat >>confdefs.h <<_ACEOF
50036 #define HAVE__FREXPL 1
50037 _ACEOF
50038
50039 fi
50040 done
50041
50042 fi
50043 fi
50044
50045
50046
50047
50048
50049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50050 $as_echo_n "checking for hypotl declaration... " >&6; }
50051 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50052 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50053 $as_echo_n "(cached) " >&6
50054 else
50055
50056
50057 ac_ext=cpp
50058 ac_cpp='$CXXCPP $CPPFLAGS'
50059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50062
50063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50064 /* end confdefs.h. */
50065 #include <math.h>
50066 int
50067 main ()
50068 {
50069 hypotl(0, 0);
50070 ;
50071 return 0;
50072 }
50073 _ACEOF
50074 if ac_fn_cxx_try_compile "$LINENO"; then :
50075 glibcxx_cv_func_hypotl_use=yes
50076 else
50077 glibcxx_cv_func_hypotl_use=no
50078 fi
50079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50080 ac_ext=c
50081 ac_cpp='$CPP $CPPFLAGS'
50082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50085
50086
50087 fi
50088
50089 fi
50090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50091 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50092
50093 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50094 for ac_func in hypotl
50095 do :
50096 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50097 if test "x$ac_cv_func_hypotl" = x""yes; then :
50098 cat >>confdefs.h <<_ACEOF
50099 #define HAVE_HYPOTL 1
50100 _ACEOF
50101
50102 fi
50103 done
50104
50105 else
50106
50107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50108 $as_echo_n "checking for _hypotl declaration... " >&6; }
50109 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50110 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50111 $as_echo_n "(cached) " >&6
50112 else
50113
50114
50115 ac_ext=cpp
50116 ac_cpp='$CXXCPP $CPPFLAGS'
50117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50120
50121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50122 /* end confdefs.h. */
50123 #include <math.h>
50124 int
50125 main ()
50126 {
50127 _hypotl(0, 0);
50128 ;
50129 return 0;
50130 }
50131 _ACEOF
50132 if ac_fn_cxx_try_compile "$LINENO"; then :
50133 glibcxx_cv_func__hypotl_use=yes
50134 else
50135 glibcxx_cv_func__hypotl_use=no
50136 fi
50137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50138 ac_ext=c
50139 ac_cpp='$CPP $CPPFLAGS'
50140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50143
50144
50145 fi
50146
50147 fi
50148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50149 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50150
50151 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50152 for ac_func in _hypotl
50153 do :
50154 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50155 if test "x$ac_cv_func__hypotl" = x""yes; then :
50156 cat >>confdefs.h <<_ACEOF
50157 #define HAVE__HYPOTL 1
50158 _ACEOF
50159
50160 fi
50161 done
50162
50163 fi
50164 fi
50165
50166
50167
50168
50169
50170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50171 $as_echo_n "checking for ldexpl declaration... " >&6; }
50172 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50173 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50174 $as_echo_n "(cached) " >&6
50175 else
50176
50177
50178 ac_ext=cpp
50179 ac_cpp='$CXXCPP $CPPFLAGS'
50180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50183
50184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50185 /* end confdefs.h. */
50186 #include <math.h>
50187 int
50188 main ()
50189 {
50190 ldexpl(0, 0);
50191 ;
50192 return 0;
50193 }
50194 _ACEOF
50195 if ac_fn_cxx_try_compile "$LINENO"; then :
50196 glibcxx_cv_func_ldexpl_use=yes
50197 else
50198 glibcxx_cv_func_ldexpl_use=no
50199 fi
50200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50201 ac_ext=c
50202 ac_cpp='$CPP $CPPFLAGS'
50203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50206
50207
50208 fi
50209
50210 fi
50211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50212 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50213
50214 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50215 for ac_func in ldexpl
50216 do :
50217 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50218 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50219 cat >>confdefs.h <<_ACEOF
50220 #define HAVE_LDEXPL 1
50221 _ACEOF
50222
50223 fi
50224 done
50225
50226 else
50227
50228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50229 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50230 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50231 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50232 $as_echo_n "(cached) " >&6
50233 else
50234
50235
50236 ac_ext=cpp
50237 ac_cpp='$CXXCPP $CPPFLAGS'
50238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50241
50242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50243 /* end confdefs.h. */
50244 #include <math.h>
50245 int
50246 main ()
50247 {
50248 _ldexpl(0, 0);
50249 ;
50250 return 0;
50251 }
50252 _ACEOF
50253 if ac_fn_cxx_try_compile "$LINENO"; then :
50254 glibcxx_cv_func__ldexpl_use=yes
50255 else
50256 glibcxx_cv_func__ldexpl_use=no
50257 fi
50258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50259 ac_ext=c
50260 ac_cpp='$CPP $CPPFLAGS'
50261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50264
50265
50266 fi
50267
50268 fi
50269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50270 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50271
50272 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50273 for ac_func in _ldexpl
50274 do :
50275 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50276 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50277 cat >>confdefs.h <<_ACEOF
50278 #define HAVE__LDEXPL 1
50279 _ACEOF
50280
50281 fi
50282 done
50283
50284 fi
50285 fi
50286
50287
50288
50289
50290
50291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50292 $as_echo_n "checking for logl declaration... " >&6; }
50293 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50294 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50295 $as_echo_n "(cached) " >&6
50296 else
50297
50298
50299 ac_ext=cpp
50300 ac_cpp='$CXXCPP $CPPFLAGS'
50301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50304
50305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50306 /* end confdefs.h. */
50307 #include <math.h>
50308 #ifdef HAVE_IEEEFP_H
50309 #include <ieeefp.h>
50310 #endif
50311
50312 int
50313 main ()
50314 {
50315 logl(0);
50316 ;
50317 return 0;
50318 }
50319 _ACEOF
50320 if ac_fn_cxx_try_compile "$LINENO"; then :
50321 glibcxx_cv_func_logl_use=yes
50322 else
50323 glibcxx_cv_func_logl_use=no
50324 fi
50325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50326 ac_ext=c
50327 ac_cpp='$CPP $CPPFLAGS'
50328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50331
50332
50333 fi
50334
50335 fi
50336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50337 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50338
50339 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50340 for ac_func in logl
50341 do :
50342 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50343 if test "x$ac_cv_func_logl" = x""yes; then :
50344 cat >>confdefs.h <<_ACEOF
50345 #define HAVE_LOGL 1
50346 _ACEOF
50347
50348 fi
50349 done
50350
50351 else
50352
50353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50354 $as_echo_n "checking for _logl declaration... " >&6; }
50355 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50356 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50357 $as_echo_n "(cached) " >&6
50358 else
50359
50360
50361 ac_ext=cpp
50362 ac_cpp='$CXXCPP $CPPFLAGS'
50363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50366
50367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50368 /* end confdefs.h. */
50369 #include <math.h>
50370 #ifdef HAVE_IEEEFP_H
50371 #include <ieeefp.h>
50372 #endif
50373
50374 int
50375 main ()
50376 {
50377 _logl(0);
50378 ;
50379 return 0;
50380 }
50381 _ACEOF
50382 if ac_fn_cxx_try_compile "$LINENO"; then :
50383 glibcxx_cv_func__logl_use=yes
50384 else
50385 glibcxx_cv_func__logl_use=no
50386 fi
50387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50388 ac_ext=c
50389 ac_cpp='$CPP $CPPFLAGS'
50390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50393
50394
50395 fi
50396
50397 fi
50398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50399 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50400
50401 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50402 for ac_func in _logl
50403 do :
50404 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50405 if test "x$ac_cv_func__logl" = x""yes; then :
50406 cat >>confdefs.h <<_ACEOF
50407 #define HAVE__LOGL 1
50408 _ACEOF
50409
50410 fi
50411 done
50412
50413 fi
50414 fi
50415
50416
50417
50418
50419
50420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50421 $as_echo_n "checking for log10l declaration... " >&6; }
50422 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50423 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50424 $as_echo_n "(cached) " >&6
50425 else
50426
50427
50428 ac_ext=cpp
50429 ac_cpp='$CXXCPP $CPPFLAGS'
50430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50433
50434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50435 /* end confdefs.h. */
50436 #include <math.h>
50437 #ifdef HAVE_IEEEFP_H
50438 #include <ieeefp.h>
50439 #endif
50440
50441 int
50442 main ()
50443 {
50444 log10l(0);
50445 ;
50446 return 0;
50447 }
50448 _ACEOF
50449 if ac_fn_cxx_try_compile "$LINENO"; then :
50450 glibcxx_cv_func_log10l_use=yes
50451 else
50452 glibcxx_cv_func_log10l_use=no
50453 fi
50454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50455 ac_ext=c
50456 ac_cpp='$CPP $CPPFLAGS'
50457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50460
50461
50462 fi
50463
50464 fi
50465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50466 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50467
50468 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50469 for ac_func in log10l
50470 do :
50471 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50472 if test "x$ac_cv_func_log10l" = x""yes; then :
50473 cat >>confdefs.h <<_ACEOF
50474 #define HAVE_LOG10L 1
50475 _ACEOF
50476
50477 fi
50478 done
50479
50480 else
50481
50482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50483 $as_echo_n "checking for _log10l declaration... " >&6; }
50484 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50485 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50486 $as_echo_n "(cached) " >&6
50487 else
50488
50489
50490 ac_ext=cpp
50491 ac_cpp='$CXXCPP $CPPFLAGS'
50492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50495
50496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50497 /* end confdefs.h. */
50498 #include <math.h>
50499 #ifdef HAVE_IEEEFP_H
50500 #include <ieeefp.h>
50501 #endif
50502
50503 int
50504 main ()
50505 {
50506 _log10l(0);
50507 ;
50508 return 0;
50509 }
50510 _ACEOF
50511 if ac_fn_cxx_try_compile "$LINENO"; then :
50512 glibcxx_cv_func__log10l_use=yes
50513 else
50514 glibcxx_cv_func__log10l_use=no
50515 fi
50516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50517 ac_ext=c
50518 ac_cpp='$CPP $CPPFLAGS'
50519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50522
50523
50524 fi
50525
50526 fi
50527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50528 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50529
50530 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50531 for ac_func in _log10l
50532 do :
50533 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50534 if test "x$ac_cv_func__log10l" = x""yes; then :
50535 cat >>confdefs.h <<_ACEOF
50536 #define HAVE__LOG10L 1
50537 _ACEOF
50538
50539 fi
50540 done
50541
50542 fi
50543 fi
50544
50545
50546
50547
50548
50549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50550 $as_echo_n "checking for modfl declaration... " >&6; }
50551 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50552 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50553 $as_echo_n "(cached) " >&6
50554 else
50555
50556
50557 ac_ext=cpp
50558 ac_cpp='$CXXCPP $CPPFLAGS'
50559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50562
50563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50564 /* end confdefs.h. */
50565 #include <math.h>
50566 int
50567 main ()
50568 {
50569 modfl(0, 0);
50570 ;
50571 return 0;
50572 }
50573 _ACEOF
50574 if ac_fn_cxx_try_compile "$LINENO"; then :
50575 glibcxx_cv_func_modfl_use=yes
50576 else
50577 glibcxx_cv_func_modfl_use=no
50578 fi
50579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50580 ac_ext=c
50581 ac_cpp='$CPP $CPPFLAGS'
50582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50585
50586
50587 fi
50588
50589 fi
50590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
50591 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
50592
50593 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
50594 for ac_func in modfl
50595 do :
50596 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
50597 if test "x$ac_cv_func_modfl" = x""yes; then :
50598 cat >>confdefs.h <<_ACEOF
50599 #define HAVE_MODFL 1
50600 _ACEOF
50601
50602 fi
50603 done
50604
50605 else
50606
50607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
50608 $as_echo_n "checking for _modfl declaration... " >&6; }
50609 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
50610 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
50611 $as_echo_n "(cached) " >&6
50612 else
50613
50614
50615 ac_ext=cpp
50616 ac_cpp='$CXXCPP $CPPFLAGS'
50617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50620
50621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50622 /* end confdefs.h. */
50623 #include <math.h>
50624 int
50625 main ()
50626 {
50627 _modfl(0, 0);
50628 ;
50629 return 0;
50630 }
50631 _ACEOF
50632 if ac_fn_cxx_try_compile "$LINENO"; then :
50633 glibcxx_cv_func__modfl_use=yes
50634 else
50635 glibcxx_cv_func__modfl_use=no
50636 fi
50637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50638 ac_ext=c
50639 ac_cpp='$CPP $CPPFLAGS'
50640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50643
50644
50645 fi
50646
50647 fi
50648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
50649 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
50650
50651 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
50652 for ac_func in _modfl
50653 do :
50654 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
50655 if test "x$ac_cv_func__modfl" = x""yes; then :
50656 cat >>confdefs.h <<_ACEOF
50657 #define HAVE__MODFL 1
50658 _ACEOF
50659
50660 fi
50661 done
50662
50663 fi
50664 fi
50665
50666
50667
50668
50669
50670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
50671 $as_echo_n "checking for powl declaration... " >&6; }
50672 if test x${glibcxx_cv_func_powl_use+set} != xset; then
50673 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
50674 $as_echo_n "(cached) " >&6
50675 else
50676
50677
50678 ac_ext=cpp
50679 ac_cpp='$CXXCPP $CPPFLAGS'
50680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50683
50684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50685 /* end confdefs.h. */
50686 #include <math.h>
50687 int
50688 main ()
50689 {
50690 powl(0, 0);
50691 ;
50692 return 0;
50693 }
50694 _ACEOF
50695 if ac_fn_cxx_try_compile "$LINENO"; then :
50696 glibcxx_cv_func_powl_use=yes
50697 else
50698 glibcxx_cv_func_powl_use=no
50699 fi
50700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50701 ac_ext=c
50702 ac_cpp='$CPP $CPPFLAGS'
50703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50706
50707
50708 fi
50709
50710 fi
50711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
50712 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
50713
50714 if test x$glibcxx_cv_func_powl_use = x"yes"; then
50715 for ac_func in powl
50716 do :
50717 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
50718 if test "x$ac_cv_func_powl" = x""yes; then :
50719 cat >>confdefs.h <<_ACEOF
50720 #define HAVE_POWL 1
50721 _ACEOF
50722
50723 fi
50724 done
50725
50726 else
50727
50728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
50729 $as_echo_n "checking for _powl declaration... " >&6; }
50730 if test x${glibcxx_cv_func__powl_use+set} != xset; then
50731 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
50732 $as_echo_n "(cached) " >&6
50733 else
50734
50735
50736 ac_ext=cpp
50737 ac_cpp='$CXXCPP $CPPFLAGS'
50738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50741
50742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50743 /* end confdefs.h. */
50744 #include <math.h>
50745 int
50746 main ()
50747 {
50748 _powl(0, 0);
50749 ;
50750 return 0;
50751 }
50752 _ACEOF
50753 if ac_fn_cxx_try_compile "$LINENO"; then :
50754 glibcxx_cv_func__powl_use=yes
50755 else
50756 glibcxx_cv_func__powl_use=no
50757 fi
50758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50759 ac_ext=c
50760 ac_cpp='$CPP $CPPFLAGS'
50761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50764
50765
50766 fi
50767
50768 fi
50769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
50770 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
50771
50772 if test x$glibcxx_cv_func__powl_use = x"yes"; then
50773 for ac_func in _powl
50774 do :
50775 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
50776 if test "x$ac_cv_func__powl" = x""yes; then :
50777 cat >>confdefs.h <<_ACEOF
50778 #define HAVE__POWL 1
50779 _ACEOF
50780
50781 fi
50782 done
50783
50784 fi
50785 fi
50786
50787
50788
50789
50790
50791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
50792 $as_echo_n "checking for sqrtl declaration... " >&6; }
50793 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
50794 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
50795 $as_echo_n "(cached) " >&6
50796 else
50797
50798
50799 ac_ext=cpp
50800 ac_cpp='$CXXCPP $CPPFLAGS'
50801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50804
50805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50806 /* end confdefs.h. */
50807 #include <math.h>
50808 #ifdef HAVE_IEEEFP_H
50809 #include <ieeefp.h>
50810 #endif
50811
50812 int
50813 main ()
50814 {
50815 sqrtl(0);
50816 ;
50817 return 0;
50818 }
50819 _ACEOF
50820 if ac_fn_cxx_try_compile "$LINENO"; then :
50821 glibcxx_cv_func_sqrtl_use=yes
50822 else
50823 glibcxx_cv_func_sqrtl_use=no
50824 fi
50825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50826 ac_ext=c
50827 ac_cpp='$CPP $CPPFLAGS'
50828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50831
50832
50833 fi
50834
50835 fi
50836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
50837 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
50838
50839 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
50840 for ac_func in sqrtl
50841 do :
50842 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
50843 if test "x$ac_cv_func_sqrtl" = x""yes; then :
50844 cat >>confdefs.h <<_ACEOF
50845 #define HAVE_SQRTL 1
50846 _ACEOF
50847
50848 fi
50849 done
50850
50851 else
50852
50853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
50854 $as_echo_n "checking for _sqrtl declaration... " >&6; }
50855 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
50856 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
50857 $as_echo_n "(cached) " >&6
50858 else
50859
50860
50861 ac_ext=cpp
50862 ac_cpp='$CXXCPP $CPPFLAGS'
50863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50866
50867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50868 /* end confdefs.h. */
50869 #include <math.h>
50870 #ifdef HAVE_IEEEFP_H
50871 #include <ieeefp.h>
50872 #endif
50873
50874 int
50875 main ()
50876 {
50877 _sqrtl(0);
50878 ;
50879 return 0;
50880 }
50881 _ACEOF
50882 if ac_fn_cxx_try_compile "$LINENO"; then :
50883 glibcxx_cv_func__sqrtl_use=yes
50884 else
50885 glibcxx_cv_func__sqrtl_use=no
50886 fi
50887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50888 ac_ext=c
50889 ac_cpp='$CPP $CPPFLAGS'
50890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50893
50894
50895 fi
50896
50897 fi
50898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
50899 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
50900
50901 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
50902 for ac_func in _sqrtl
50903 do :
50904 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
50905 if test "x$ac_cv_func__sqrtl" = x""yes; then :
50906 cat >>confdefs.h <<_ACEOF
50907 #define HAVE__SQRTL 1
50908 _ACEOF
50909
50910 fi
50911 done
50912
50913 fi
50914 fi
50915
50916
50917
50918
50919
50920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
50921 $as_echo_n "checking for sincosl declaration... " >&6; }
50922 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
50923 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
50924 $as_echo_n "(cached) " >&6
50925 else
50926
50927
50928 ac_ext=cpp
50929 ac_cpp='$CXXCPP $CPPFLAGS'
50930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50933
50934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50935 /* end confdefs.h. */
50936 #include <math.h>
50937 int
50938 main ()
50939 {
50940 sincosl(0, 0, 0);
50941 ;
50942 return 0;
50943 }
50944 _ACEOF
50945 if ac_fn_cxx_try_compile "$LINENO"; then :
50946 glibcxx_cv_func_sincosl_use=yes
50947 else
50948 glibcxx_cv_func_sincosl_use=no
50949 fi
50950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50951 ac_ext=c
50952 ac_cpp='$CPP $CPPFLAGS'
50953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50956
50957
50958 fi
50959
50960 fi
50961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
50962 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
50963
50964 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
50965 for ac_func in sincosl
50966 do :
50967 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
50968 if test "x$ac_cv_func_sincosl" = x""yes; then :
50969 cat >>confdefs.h <<_ACEOF
50970 #define HAVE_SINCOSL 1
50971 _ACEOF
50972
50973 fi
50974 done
50975
50976 else
50977
50978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
50979 $as_echo_n "checking for _sincosl declaration... " >&6; }
50980 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
50981 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
50982 $as_echo_n "(cached) " >&6
50983 else
50984
50985
50986 ac_ext=cpp
50987 ac_cpp='$CXXCPP $CPPFLAGS'
50988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50991
50992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50993 /* end confdefs.h. */
50994 #include <math.h>
50995 int
50996 main ()
50997 {
50998 _sincosl(0, 0, 0);
50999 ;
51000 return 0;
51001 }
51002 _ACEOF
51003 if ac_fn_cxx_try_compile "$LINENO"; then :
51004 glibcxx_cv_func__sincosl_use=yes
51005 else
51006 glibcxx_cv_func__sincosl_use=no
51007 fi
51008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51009 ac_ext=c
51010 ac_cpp='$CPP $CPPFLAGS'
51011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51014
51015
51016 fi
51017
51018 fi
51019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51020 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51021
51022 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51023 for ac_func in _sincosl
51024 do :
51025 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51026 if test "x$ac_cv_func__sincosl" = x""yes; then :
51027 cat >>confdefs.h <<_ACEOF
51028 #define HAVE__SINCOSL 1
51029 _ACEOF
51030
51031 fi
51032 done
51033
51034 fi
51035 fi
51036
51037
51038
51039
51040
51041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51042 $as_echo_n "checking for finitel declaration... " >&6; }
51043 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51044 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51045 $as_echo_n "(cached) " >&6
51046 else
51047
51048
51049 ac_ext=cpp
51050 ac_cpp='$CXXCPP $CPPFLAGS'
51051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51054
51055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51056 /* end confdefs.h. */
51057 #include <math.h>
51058 #ifdef HAVE_IEEEFP_H
51059 #include <ieeefp.h>
51060 #endif
51061
51062 int
51063 main ()
51064 {
51065 finitel(0);
51066 ;
51067 return 0;
51068 }
51069 _ACEOF
51070 if ac_fn_cxx_try_compile "$LINENO"; then :
51071 glibcxx_cv_func_finitel_use=yes
51072 else
51073 glibcxx_cv_func_finitel_use=no
51074 fi
51075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51076 ac_ext=c
51077 ac_cpp='$CPP $CPPFLAGS'
51078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51081
51082
51083 fi
51084
51085 fi
51086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51087 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51088
51089 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51090 for ac_func in finitel
51091 do :
51092 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51093 if test "x$ac_cv_func_finitel" = x""yes; then :
51094 cat >>confdefs.h <<_ACEOF
51095 #define HAVE_FINITEL 1
51096 _ACEOF
51097
51098 fi
51099 done
51100
51101 else
51102
51103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51104 $as_echo_n "checking for _finitel declaration... " >&6; }
51105 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51106 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51107 $as_echo_n "(cached) " >&6
51108 else
51109
51110
51111 ac_ext=cpp
51112 ac_cpp='$CXXCPP $CPPFLAGS'
51113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51116
51117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51118 /* end confdefs.h. */
51119 #include <math.h>
51120 #ifdef HAVE_IEEEFP_H
51121 #include <ieeefp.h>
51122 #endif
51123
51124 int
51125 main ()
51126 {
51127 _finitel(0);
51128 ;
51129 return 0;
51130 }
51131 _ACEOF
51132 if ac_fn_cxx_try_compile "$LINENO"; then :
51133 glibcxx_cv_func__finitel_use=yes
51134 else
51135 glibcxx_cv_func__finitel_use=no
51136 fi
51137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51138 ac_ext=c
51139 ac_cpp='$CPP $CPPFLAGS'
51140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51143
51144
51145 fi
51146
51147 fi
51148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51149 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51150
51151 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51152 for ac_func in _finitel
51153 do :
51154 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51155 if test "x$ac_cv_func__finitel" = x""yes; then :
51156 cat >>confdefs.h <<_ACEOF
51157 #define HAVE__FINITEL 1
51158 _ACEOF
51159
51160 fi
51161 done
51162
51163 fi
51164 fi
51165
51166
51167
51168
51169 LIBS="$ac_save_LIBS"
51170 CXXFLAGS="$ac_save_CXXFLAGS"
51171
51172
51173 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51174 ac_save_CXXFLAGS="$CXXFLAGS"
51175 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51176
51177
51178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51179 $as_echo_n "checking for strtold declaration... " >&6; }
51180 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51181 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51182 $as_echo_n "(cached) " >&6
51183 else
51184
51185
51186 ac_ext=cpp
51187 ac_cpp='$CXXCPP $CPPFLAGS'
51188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51191
51192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51193 /* end confdefs.h. */
51194 #include <stdlib.h>
51195 int
51196 main ()
51197 {
51198 strtold(0, 0);
51199 ;
51200 return 0;
51201 }
51202 _ACEOF
51203 if ac_fn_cxx_try_compile "$LINENO"; then :
51204 glibcxx_cv_func_strtold_use=yes
51205 else
51206 glibcxx_cv_func_strtold_use=no
51207 fi
51208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51209 ac_ext=c
51210 ac_cpp='$CPP $CPPFLAGS'
51211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51214
51215
51216 fi
51217
51218 fi
51219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51220 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51221 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51222 for ac_func in strtold
51223 do :
51224 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51225 if test "x$ac_cv_func_strtold" = x""yes; then :
51226 cat >>confdefs.h <<_ACEOF
51227 #define HAVE_STRTOLD 1
51228 _ACEOF
51229
51230 fi
51231 done
51232
51233 fi
51234
51235
51236
51237
51238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51239 $as_echo_n "checking for strtof declaration... " >&6; }
51240 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51241 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51242 $as_echo_n "(cached) " >&6
51243 else
51244
51245
51246 ac_ext=cpp
51247 ac_cpp='$CXXCPP $CPPFLAGS'
51248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51251
51252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51253 /* end confdefs.h. */
51254 #include <stdlib.h>
51255 int
51256 main ()
51257 {
51258 strtof(0, 0);
51259 ;
51260 return 0;
51261 }
51262 _ACEOF
51263 if ac_fn_cxx_try_compile "$LINENO"; then :
51264 glibcxx_cv_func_strtof_use=yes
51265 else
51266 glibcxx_cv_func_strtof_use=no
51267 fi
51268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51269 ac_ext=c
51270 ac_cpp='$CPP $CPPFLAGS'
51271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51274
51275
51276 fi
51277
51278 fi
51279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51280 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51281 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51282 for ac_func in strtof
51283 do :
51284 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51285 if test "x$ac_cv_func_strtof" = x""yes; then :
51286 cat >>confdefs.h <<_ACEOF
51287 #define HAVE_STRTOF 1
51288 _ACEOF
51289
51290 fi
51291 done
51292
51293 fi
51294
51295
51296
51297
51298 CXXFLAGS="$ac_save_CXXFLAGS"
51299
51300 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
51301
51302
51303
51304 # Check whether --enable-tls was given.
51305 if test "${enable_tls+set}" = set; then :
51306 enableval=$enable_tls;
51307 case "$enableval" in
51308 yes|no) ;;
51309 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
51310 esac
51311
51312 else
51313 enable_tls=yes
51314 fi
51315
51316
51317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
51318 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
51319 if test "${gcc_cv_have_tls+set}" = set; then :
51320 $as_echo_n "(cached) " >&6
51321 else
51322
51323 if test "$cross_compiling" = yes; then :
51324 if test x$gcc_no_link = xyes; then
51325 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51326 fi
51327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51328 /* end confdefs.h. */
51329 __thread int a; int b; int main() { return a = b; }
51330 _ACEOF
51331 if ac_fn_c_try_link "$LINENO"; then :
51332 chktls_save_LDFLAGS="$LDFLAGS"
51333 case $host in
51334 *-*-linux*)
51335 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
51336 ;;
51337 esac
51338 chktls_save_CFLAGS="$CFLAGS"
51339 CFLAGS="-fPIC $CFLAGS"
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 int f() { return 0; }
51346 _ACEOF
51347 if ac_fn_c_try_link "$LINENO"; then :
51348 if test x$gcc_no_link = xyes; then
51349 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51350 fi
51351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51352 /* end confdefs.h. */
51353 __thread int a; int b; int f() { return a = b; }
51354 _ACEOF
51355 if ac_fn_c_try_link "$LINENO"; then :
51356 gcc_cv_have_tls=yes
51357 else
51358 gcc_cv_have_tls=no
51359 fi
51360 rm -f core conftest.err conftest.$ac_objext \
51361 conftest$ac_exeext conftest.$ac_ext
51362 else
51363 gcc_cv_have_tls=yes
51364 fi
51365 rm -f core conftest.err conftest.$ac_objext \
51366 conftest$ac_exeext conftest.$ac_ext
51367 CFLAGS="$chktls_save_CFLAGS"
51368 LDFLAGS="$chktls_save_LDFLAGS"
51369 else
51370 gcc_cv_have_tls=no
51371 fi
51372 rm -f core conftest.err conftest.$ac_objext \
51373 conftest$ac_exeext conftest.$ac_ext
51374
51375
51376 else
51377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51378 /* end confdefs.h. */
51379 __thread int a; int b; int main() { return a = b; }
51380 _ACEOF
51381 if ac_fn_c_try_run "$LINENO"; then :
51382 chktls_save_LDFLAGS="$LDFLAGS"
51383 LDFLAGS="-static $LDFLAGS"
51384 if test x$gcc_no_link = xyes; then
51385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51386 fi
51387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51388 /* end confdefs.h. */
51389 int main() { return 0; }
51390 _ACEOF
51391 if ac_fn_c_try_link "$LINENO"; then :
51392 if test "$cross_compiling" = yes; then :
51393 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51394 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51395 as_fn_error "cannot run test program while cross compiling
51396 See \`config.log' for more details." "$LINENO" 5; }
51397 else
51398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51399 /* end confdefs.h. */
51400 __thread int a; int b; int main() { return a = b; }
51401 _ACEOF
51402 if ac_fn_c_try_run "$LINENO"; then :
51403 gcc_cv_have_tls=yes
51404 else
51405 gcc_cv_have_tls=no
51406 fi
51407 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51408 conftest.$ac_objext conftest.beam conftest.$ac_ext
51409 fi
51410
51411 else
51412 gcc_cv_have_tls=yes
51413 fi
51414 rm -f core conftest.err conftest.$ac_objext \
51415 conftest$ac_exeext conftest.$ac_ext
51416 LDFLAGS="$chktls_save_LDFLAGS"
51417 if test $gcc_cv_have_tls = yes; then
51418 chktls_save_CFLAGS="$CFLAGS"
51419 thread_CFLAGS=failed
51420 for flag in '' '-pthread' '-lpthread'; do
51421 CFLAGS="$flag $chktls_save_CFLAGS"
51422 if test x$gcc_no_link = xyes; then
51423 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51424 fi
51425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51426 /* end confdefs.h. */
51427 #include <pthread.h>
51428 void *g(void *d) { return NULL; }
51429 int
51430 main ()
51431 {
51432 pthread_t t; pthread_create(&t,NULL,g,NULL);
51433 ;
51434 return 0;
51435 }
51436 _ACEOF
51437 if ac_fn_c_try_link "$LINENO"; then :
51438 thread_CFLAGS="$flag"
51439 fi
51440 rm -f core conftest.err conftest.$ac_objext \
51441 conftest$ac_exeext conftest.$ac_ext
51442 if test "X$thread_CFLAGS" != Xfailed; then
51443 break
51444 fi
51445 done
51446 CFLAGS="$chktls_save_CFLAGS"
51447 if test "X$thread_CFLAGS" != Xfailed; then
51448 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
51449 if test "$cross_compiling" = yes; then :
51450 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
51451 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
51452 as_fn_error "cannot run test program while cross compiling
51453 See \`config.log' for more details." "$LINENO" 5; }
51454 else
51455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51456 /* end confdefs.h. */
51457 #include <pthread.h>
51458 __thread int a;
51459 static int *volatile a_in_other_thread;
51460 static void *
51461 thread_func (void *arg)
51462 {
51463 a_in_other_thread = &a;
51464 return (void *)0;
51465 }
51466 int
51467 main ()
51468 {
51469 pthread_t thread;
51470 void *thread_retval;
51471 int *volatile a_in_main_thread;
51472 a_in_main_thread = &a;
51473 if (pthread_create (&thread, (pthread_attr_t *)0,
51474 thread_func, (void *)0))
51475 return 0;
51476 if (pthread_join (thread, &thread_retval))
51477 return 0;
51478 return (a_in_other_thread == a_in_main_thread);
51479 ;
51480 return 0;
51481 }
51482 _ACEOF
51483 if ac_fn_c_try_run "$LINENO"; then :
51484 gcc_cv_have_tls=yes
51485 else
51486 gcc_cv_have_tls=no
51487 fi
51488 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51489 conftest.$ac_objext conftest.beam conftest.$ac_ext
51490 fi
51491
51492 CFLAGS="$chktls_save_CFLAGS"
51493 fi
51494 fi
51495 else
51496 gcc_cv_have_tls=no
51497 fi
51498 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
51499 conftest.$ac_objext conftest.beam conftest.$ac_ext
51500 fi
51501
51502 fi
51503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
51504 $as_echo "$gcc_cv_have_tls" >&6; }
51505 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
51506
51507 $as_echo "#define HAVE_TLS 1" >>confdefs.h
51508
51509 fi
51510
51511
51512
51513
51514
51515 am_save_CPPFLAGS="$CPPFLAGS"
51516
51517 for element in $INCICONV; do
51518 haveit=
51519 for x in $CPPFLAGS; do
51520
51521 acl_save_prefix="$prefix"
51522 prefix="$acl_final_prefix"
51523 acl_save_exec_prefix="$exec_prefix"
51524 exec_prefix="$acl_final_exec_prefix"
51525 eval x=\"$x\"
51526 exec_prefix="$acl_save_exec_prefix"
51527 prefix="$acl_save_prefix"
51528
51529 if test "X$x" = "X$element"; then
51530 haveit=yes
51531 break
51532 fi
51533 done
51534 if test -z "$haveit"; then
51535 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
51536 fi
51537 done
51538
51539
51540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
51541 $as_echo_n "checking for iconv... " >&6; }
51542 if test "${am_cv_func_iconv+set}" = set; then :
51543 $as_echo_n "(cached) " >&6
51544 else
51545
51546 am_cv_func_iconv="no, consider installing GNU libiconv"
51547 am_cv_lib_iconv=no
51548 if test x$gcc_no_link = xyes; then
51549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51550 fi
51551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51552 /* end confdefs.h. */
51553 #include <stdlib.h>
51554 #include <iconv.h>
51555 int
51556 main ()
51557 {
51558 iconv_t cd = iconv_open("","");
51559 iconv(cd,NULL,NULL,NULL,NULL);
51560 iconv_close(cd);
51561 ;
51562 return 0;
51563 }
51564 _ACEOF
51565 if ac_fn_c_try_link "$LINENO"; then :
51566 am_cv_func_iconv=yes
51567 fi
51568 rm -f core conftest.err conftest.$ac_objext \
51569 conftest$ac_exeext conftest.$ac_ext
51570 if test "$am_cv_func_iconv" != yes; then
51571 am_save_LIBS="$LIBS"
51572 LIBS="$LIBS $LIBICONV"
51573 if test x$gcc_no_link = xyes; then
51574 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51575 fi
51576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51577 /* end confdefs.h. */
51578 #include <stdlib.h>
51579 #include <iconv.h>
51580 int
51581 main ()
51582 {
51583 iconv_t cd = iconv_open("","");
51584 iconv(cd,NULL,NULL,NULL,NULL);
51585 iconv_close(cd);
51586 ;
51587 return 0;
51588 }
51589 _ACEOF
51590 if ac_fn_c_try_link "$LINENO"; then :
51591 am_cv_lib_iconv=yes
51592 am_cv_func_iconv=yes
51593 fi
51594 rm -f core conftest.err conftest.$ac_objext \
51595 conftest$ac_exeext conftest.$ac_ext
51596 LIBS="$am_save_LIBS"
51597 fi
51598
51599 fi
51600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
51601 $as_echo "$am_cv_func_iconv" >&6; }
51602 if test "$am_cv_func_iconv" = yes; then
51603
51604 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
51605
51606 fi
51607 if test "$am_cv_lib_iconv" = yes; then
51608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
51609 $as_echo_n "checking how to link with libiconv... " >&6; }
51610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
51611 $as_echo "$LIBICONV" >&6; }
51612 else
51613 CPPFLAGS="$am_save_CPPFLAGS"
51614 LIBICONV=
51615 LTLIBICONV=
51616 fi
51617
51618
51619
51620 if test "$am_cv_func_iconv" = yes; then
51621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
51622 $as_echo_n "checking for iconv declaration... " >&6; }
51623 if test "${am_cv_proto_iconv+set}" = set; then :
51624 $as_echo_n "(cached) " >&6
51625 else
51626
51627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51628 /* end confdefs.h. */
51629
51630 #include <stdlib.h>
51631 #include <iconv.h>
51632 extern
51633 #ifdef __cplusplus
51634 "C"
51635 #endif
51636 #if defined(__STDC__) || defined(__cplusplus)
51637 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
51638 #else
51639 size_t iconv();
51640 #endif
51641
51642 int
51643 main ()
51644 {
51645
51646 ;
51647 return 0;
51648 }
51649 _ACEOF
51650 if ac_fn_c_try_compile "$LINENO"; then :
51651 am_cv_proto_iconv_arg1=""
51652 else
51653 am_cv_proto_iconv_arg1="const"
51654 fi
51655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51656 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);"
51657 fi
51658
51659 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
51660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
51661 }$am_cv_proto_iconv" >&5
51662 $as_echo "${ac_t:-
51663 }$am_cv_proto_iconv" >&6; }
51664
51665 cat >>confdefs.h <<_ACEOF
51666 #define ICONV_CONST $am_cv_proto_iconv_arg1
51667 _ACEOF
51668
51669 fi
51670
51671 ;;
51672 *-mingw32*)
51673
51674 # If we're not using GNU ld, then there's no point in even trying these
51675 # tests. Check for that first. We should have already tested for gld
51676 # by now (in libtool), but require it now just to be safe...
51677 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51678 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51679
51680
51681
51682 # The name set by libtool depends on the version of libtool. Shame on us
51683 # for depending on an impl detail, but c'est la vie. Older versions used
51684 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51685 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51686 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51687 # set (hence we're using an older libtool), then set it.
51688 if test x${with_gnu_ld+set} != xset; then
51689 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51690 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51691 with_gnu_ld=no
51692 else
51693 with_gnu_ld=$ac_cv_prog_gnu_ld
51694 fi
51695 fi
51696
51697 # Start by getting the version number. I think the libtool test already
51698 # does some of this, but throws away the result.
51699 glibcxx_ld_is_gold=no
51700 if test x"$with_gnu_ld" = x"yes"; then
51701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51702 $as_echo_n "checking for ld version... " >&6; }
51703
51704 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51705 glibcxx_ld_is_gold=yes
51706 fi
51707 ldver=`$LD --version 2>/dev/null |
51708 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'`
51709
51710 glibcxx_gnu_ld_version=`echo $ldver | \
51711 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51713 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51714 fi
51715
51716 # Set --gc-sections.
51717 glibcxx_have_gc_sections=no
51718 if test "$glibcxx_ld_is_gold" = "yes"; then
51719 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51720 glibcxx_have_gc_sections=yes
51721 fi
51722 else
51723 glibcxx_gcsections_min_ld=21602
51724 if test x"$with_gnu_ld" = x"yes" &&
51725 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51726 glibcxx_have_gc_sections=yes
51727 fi
51728 fi
51729 if test "$glibcxx_have_gc_sections" = "yes"; then
51730 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51731 # NB: This flag only works reliably after 2.16.1. Configure tests
51732 # for this are difficult, so hard wire a value that should work.
51733
51734 ac_test_CFLAGS="${CFLAGS+set}"
51735 ac_save_CFLAGS="$CFLAGS"
51736 CFLAGS='-Wl,--gc-sections'
51737
51738 # Check for -Wl,--gc-sections
51739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51740 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51741 if test x$gcc_no_link = xyes; then
51742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51743 fi
51744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51745 /* end confdefs.h. */
51746 int one(void) { return 1; }
51747 int two(void) { return 2; }
51748
51749 int
51750 main ()
51751 {
51752 two();
51753 ;
51754 return 0;
51755 }
51756 _ACEOF
51757 if ac_fn_c_try_link "$LINENO"; then :
51758 ac_gcsections=yes
51759 else
51760 ac_gcsections=no
51761 fi
51762 rm -f core conftest.err conftest.$ac_objext \
51763 conftest$ac_exeext conftest.$ac_ext
51764 if test "$ac_gcsections" = "yes"; then
51765 rm -f conftest.c
51766 touch conftest.c
51767 if $CC -c conftest.c; then
51768 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51769 grep "Warning: gc-sections option ignored" > /dev/null; then
51770 ac_gcsections=no
51771 fi
51772 fi
51773 rm -f conftest.c conftest.o conftest
51774 fi
51775 if test "$ac_gcsections" = "yes"; then
51776 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51777 fi
51778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51779 $as_echo "$ac_gcsections" >&6; }
51780
51781 if test "$ac_test_CFLAGS" = set; then
51782 CFLAGS="$ac_save_CFLAGS"
51783 else
51784 # this is the suspicious part
51785 CFLAGS=''
51786 fi
51787 fi
51788
51789 # Set -z,relro.
51790 # Note this is only for shared objects.
51791 ac_ld_relro=no
51792 if test x"$with_gnu_ld" = x"yes"; then
51793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51794 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51795 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51796 if test -n "$cxx_z_relo"; then
51797 OPT_LDFLAGS="-Wl,-z,relro"
51798 ac_ld_relro=yes
51799 fi
51800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51801 $as_echo "$ac_ld_relro" >&6; }
51802 fi
51803
51804 # Set linker optimization flags.
51805 if test x"$with_gnu_ld" = x"yes"; then
51806 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51807 fi
51808
51809
51810
51811
51812
51813 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51814 ac_save_CXXFLAGS="$CXXFLAGS"
51815 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51816
51817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
51818 $as_echo_n "checking for sin in -lm... " >&6; }
51819 if test "${ac_cv_lib_m_sin+set}" = set; then :
51820 $as_echo_n "(cached) " >&6
51821 else
51822 ac_check_lib_save_LIBS=$LIBS
51823 LIBS="-lm $LIBS"
51824 if test x$gcc_no_link = xyes; then
51825 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51826 fi
51827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51828 /* end confdefs.h. */
51829
51830 /* Override any GCC internal prototype to avoid an error.
51831 Use char because int might match the return type of a GCC
51832 builtin and then its argument prototype would still apply. */
51833 #ifdef __cplusplus
51834 extern "C"
51835 #endif
51836 char sin ();
51837 int
51838 main ()
51839 {
51840 return sin ();
51841 ;
51842 return 0;
51843 }
51844 _ACEOF
51845 if ac_fn_c_try_link "$LINENO"; then :
51846 ac_cv_lib_m_sin=yes
51847 else
51848 ac_cv_lib_m_sin=no
51849 fi
51850 rm -f core conftest.err conftest.$ac_objext \
51851 conftest$ac_exeext conftest.$ac_ext
51852 LIBS=$ac_check_lib_save_LIBS
51853 fi
51854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
51855 $as_echo "$ac_cv_lib_m_sin" >&6; }
51856 if test "x$ac_cv_lib_m_sin" = x""yes; then :
51857 libm="-lm"
51858 fi
51859
51860 ac_save_LIBS="$LIBS"
51861 LIBS="$LIBS $libm"
51862
51863
51864
51865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
51866 $as_echo_n "checking for isinf declaration... " >&6; }
51867 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
51868 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
51869 $as_echo_n "(cached) " >&6
51870 else
51871
51872
51873 ac_ext=cpp
51874 ac_cpp='$CXXCPP $CPPFLAGS'
51875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51878
51879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51880 /* end confdefs.h. */
51881 #include <math.h>
51882 #ifdef HAVE_IEEEFP_H
51883 #include <ieeefp.h>
51884 #endif
51885
51886 int
51887 main ()
51888 {
51889 isinf(0);
51890 ;
51891 return 0;
51892 }
51893 _ACEOF
51894 if ac_fn_cxx_try_compile "$LINENO"; then :
51895 glibcxx_cv_func_isinf_use=yes
51896 else
51897 glibcxx_cv_func_isinf_use=no
51898 fi
51899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51900 ac_ext=c
51901 ac_cpp='$CPP $CPPFLAGS'
51902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51905
51906
51907 fi
51908
51909 fi
51910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
51911 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
51912
51913 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
51914 for ac_func in isinf
51915 do :
51916 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
51917 if test "x$ac_cv_func_isinf" = x""yes; then :
51918 cat >>confdefs.h <<_ACEOF
51919 #define HAVE_ISINF 1
51920 _ACEOF
51921
51922 fi
51923 done
51924
51925 else
51926
51927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
51928 $as_echo_n "checking for _isinf declaration... " >&6; }
51929 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
51930 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
51931 $as_echo_n "(cached) " >&6
51932 else
51933
51934
51935 ac_ext=cpp
51936 ac_cpp='$CXXCPP $CPPFLAGS'
51937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51940
51941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51942 /* end confdefs.h. */
51943 #include <math.h>
51944 #ifdef HAVE_IEEEFP_H
51945 #include <ieeefp.h>
51946 #endif
51947
51948 int
51949 main ()
51950 {
51951 _isinf(0);
51952 ;
51953 return 0;
51954 }
51955 _ACEOF
51956 if ac_fn_cxx_try_compile "$LINENO"; then :
51957 glibcxx_cv_func__isinf_use=yes
51958 else
51959 glibcxx_cv_func__isinf_use=no
51960 fi
51961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51962 ac_ext=c
51963 ac_cpp='$CPP $CPPFLAGS'
51964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51967
51968
51969 fi
51970
51971 fi
51972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
51973 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
51974
51975 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
51976 for ac_func in _isinf
51977 do :
51978 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
51979 if test "x$ac_cv_func__isinf" = x""yes; then :
51980 cat >>confdefs.h <<_ACEOF
51981 #define HAVE__ISINF 1
51982 _ACEOF
51983
51984 fi
51985 done
51986
51987 fi
51988 fi
51989
51990
51991
51992
51993
51994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
51995 $as_echo_n "checking for isnan declaration... " >&6; }
51996 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
51997 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
51998 $as_echo_n "(cached) " >&6
51999 else
52000
52001
52002 ac_ext=cpp
52003 ac_cpp='$CXXCPP $CPPFLAGS'
52004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52007
52008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52009 /* end confdefs.h. */
52010 #include <math.h>
52011 #ifdef HAVE_IEEEFP_H
52012 #include <ieeefp.h>
52013 #endif
52014
52015 int
52016 main ()
52017 {
52018 isnan(0);
52019 ;
52020 return 0;
52021 }
52022 _ACEOF
52023 if ac_fn_cxx_try_compile "$LINENO"; then :
52024 glibcxx_cv_func_isnan_use=yes
52025 else
52026 glibcxx_cv_func_isnan_use=no
52027 fi
52028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52029 ac_ext=c
52030 ac_cpp='$CPP $CPPFLAGS'
52031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52034
52035
52036 fi
52037
52038 fi
52039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52040 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52041
52042 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52043 for ac_func in isnan
52044 do :
52045 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52046 if test "x$ac_cv_func_isnan" = x""yes; then :
52047 cat >>confdefs.h <<_ACEOF
52048 #define HAVE_ISNAN 1
52049 _ACEOF
52050
52051 fi
52052 done
52053
52054 else
52055
52056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52057 $as_echo_n "checking for _isnan declaration... " >&6; }
52058 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52059 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52060 $as_echo_n "(cached) " >&6
52061 else
52062
52063
52064 ac_ext=cpp
52065 ac_cpp='$CXXCPP $CPPFLAGS'
52066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52069
52070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52071 /* end confdefs.h. */
52072 #include <math.h>
52073 #ifdef HAVE_IEEEFP_H
52074 #include <ieeefp.h>
52075 #endif
52076
52077 int
52078 main ()
52079 {
52080 _isnan(0);
52081 ;
52082 return 0;
52083 }
52084 _ACEOF
52085 if ac_fn_cxx_try_compile "$LINENO"; then :
52086 glibcxx_cv_func__isnan_use=yes
52087 else
52088 glibcxx_cv_func__isnan_use=no
52089 fi
52090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52091 ac_ext=c
52092 ac_cpp='$CPP $CPPFLAGS'
52093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52096
52097
52098 fi
52099
52100 fi
52101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52102 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52103
52104 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52105 for ac_func in _isnan
52106 do :
52107 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52108 if test "x$ac_cv_func__isnan" = x""yes; then :
52109 cat >>confdefs.h <<_ACEOF
52110 #define HAVE__ISNAN 1
52111 _ACEOF
52112
52113 fi
52114 done
52115
52116 fi
52117 fi
52118
52119
52120
52121
52122
52123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
52124 $as_echo_n "checking for finite declaration... " >&6; }
52125 if test x${glibcxx_cv_func_finite_use+set} != xset; then
52126 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
52127 $as_echo_n "(cached) " >&6
52128 else
52129
52130
52131 ac_ext=cpp
52132 ac_cpp='$CXXCPP $CPPFLAGS'
52133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52136
52137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52138 /* end confdefs.h. */
52139 #include <math.h>
52140 #ifdef HAVE_IEEEFP_H
52141 #include <ieeefp.h>
52142 #endif
52143
52144 int
52145 main ()
52146 {
52147 finite(0);
52148 ;
52149 return 0;
52150 }
52151 _ACEOF
52152 if ac_fn_cxx_try_compile "$LINENO"; then :
52153 glibcxx_cv_func_finite_use=yes
52154 else
52155 glibcxx_cv_func_finite_use=no
52156 fi
52157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52158 ac_ext=c
52159 ac_cpp='$CPP $CPPFLAGS'
52160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52163
52164
52165 fi
52166
52167 fi
52168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
52169 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
52170
52171 if test x$glibcxx_cv_func_finite_use = x"yes"; then
52172 for ac_func in finite
52173 do :
52174 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
52175 if test "x$ac_cv_func_finite" = x""yes; then :
52176 cat >>confdefs.h <<_ACEOF
52177 #define HAVE_FINITE 1
52178 _ACEOF
52179
52180 fi
52181 done
52182
52183 else
52184
52185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
52186 $as_echo_n "checking for _finite declaration... " >&6; }
52187 if test x${glibcxx_cv_func__finite_use+set} != xset; then
52188 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
52189 $as_echo_n "(cached) " >&6
52190 else
52191
52192
52193 ac_ext=cpp
52194 ac_cpp='$CXXCPP $CPPFLAGS'
52195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52198
52199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52200 /* end confdefs.h. */
52201 #include <math.h>
52202 #ifdef HAVE_IEEEFP_H
52203 #include <ieeefp.h>
52204 #endif
52205
52206 int
52207 main ()
52208 {
52209 _finite(0);
52210 ;
52211 return 0;
52212 }
52213 _ACEOF
52214 if ac_fn_cxx_try_compile "$LINENO"; then :
52215 glibcxx_cv_func__finite_use=yes
52216 else
52217 glibcxx_cv_func__finite_use=no
52218 fi
52219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52220 ac_ext=c
52221 ac_cpp='$CPP $CPPFLAGS'
52222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52225
52226
52227 fi
52228
52229 fi
52230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
52231 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
52232
52233 if test x$glibcxx_cv_func__finite_use = x"yes"; then
52234 for ac_func in _finite
52235 do :
52236 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
52237 if test "x$ac_cv_func__finite" = x""yes; then :
52238 cat >>confdefs.h <<_ACEOF
52239 #define HAVE__FINITE 1
52240 _ACEOF
52241
52242 fi
52243 done
52244
52245 fi
52246 fi
52247
52248
52249
52250
52251
52252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
52253 $as_echo_n "checking for sincos declaration... " >&6; }
52254 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
52255 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
52256 $as_echo_n "(cached) " >&6
52257 else
52258
52259
52260 ac_ext=cpp
52261 ac_cpp='$CXXCPP $CPPFLAGS'
52262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52265
52266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52267 /* end confdefs.h. */
52268 #include <math.h>
52269 int
52270 main ()
52271 {
52272 sincos(0, 0, 0);
52273 ;
52274 return 0;
52275 }
52276 _ACEOF
52277 if ac_fn_cxx_try_compile "$LINENO"; then :
52278 glibcxx_cv_func_sincos_use=yes
52279 else
52280 glibcxx_cv_func_sincos_use=no
52281 fi
52282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52283 ac_ext=c
52284 ac_cpp='$CPP $CPPFLAGS'
52285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52288
52289
52290 fi
52291
52292 fi
52293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
52294 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
52295
52296 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
52297 for ac_func in sincos
52298 do :
52299 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
52300 if test "x$ac_cv_func_sincos" = x""yes; then :
52301 cat >>confdefs.h <<_ACEOF
52302 #define HAVE_SINCOS 1
52303 _ACEOF
52304
52305 fi
52306 done
52307
52308 else
52309
52310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
52311 $as_echo_n "checking for _sincos declaration... " >&6; }
52312 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
52313 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
52314 $as_echo_n "(cached) " >&6
52315 else
52316
52317
52318 ac_ext=cpp
52319 ac_cpp='$CXXCPP $CPPFLAGS'
52320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52323
52324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52325 /* end confdefs.h. */
52326 #include <math.h>
52327 int
52328 main ()
52329 {
52330 _sincos(0, 0, 0);
52331 ;
52332 return 0;
52333 }
52334 _ACEOF
52335 if ac_fn_cxx_try_compile "$LINENO"; then :
52336 glibcxx_cv_func__sincos_use=yes
52337 else
52338 glibcxx_cv_func__sincos_use=no
52339 fi
52340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52341 ac_ext=c
52342 ac_cpp='$CPP $CPPFLAGS'
52343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52346
52347
52348 fi
52349
52350 fi
52351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
52352 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
52353
52354 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
52355 for ac_func in _sincos
52356 do :
52357 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
52358 if test "x$ac_cv_func__sincos" = x""yes; then :
52359 cat >>confdefs.h <<_ACEOF
52360 #define HAVE__SINCOS 1
52361 _ACEOF
52362
52363 fi
52364 done
52365
52366 fi
52367 fi
52368
52369
52370
52371
52372
52373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
52374 $as_echo_n "checking for fpclass declaration... " >&6; }
52375 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
52376 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
52377 $as_echo_n "(cached) " >&6
52378 else
52379
52380
52381 ac_ext=cpp
52382 ac_cpp='$CXXCPP $CPPFLAGS'
52383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52386
52387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52388 /* end confdefs.h. */
52389 #include <math.h>
52390 #ifdef HAVE_IEEEFP_H
52391 #include <ieeefp.h>
52392 #endif
52393
52394 int
52395 main ()
52396 {
52397 fpclass(0);
52398 ;
52399 return 0;
52400 }
52401 _ACEOF
52402 if ac_fn_cxx_try_compile "$LINENO"; then :
52403 glibcxx_cv_func_fpclass_use=yes
52404 else
52405 glibcxx_cv_func_fpclass_use=no
52406 fi
52407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52408 ac_ext=c
52409 ac_cpp='$CPP $CPPFLAGS'
52410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52413
52414
52415 fi
52416
52417 fi
52418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
52419 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
52420
52421 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
52422 for ac_func in fpclass
52423 do :
52424 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
52425 if test "x$ac_cv_func_fpclass" = x""yes; then :
52426 cat >>confdefs.h <<_ACEOF
52427 #define HAVE_FPCLASS 1
52428 _ACEOF
52429
52430 fi
52431 done
52432
52433 else
52434
52435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
52436 $as_echo_n "checking for _fpclass declaration... " >&6; }
52437 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
52438 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
52439 $as_echo_n "(cached) " >&6
52440 else
52441
52442
52443 ac_ext=cpp
52444 ac_cpp='$CXXCPP $CPPFLAGS'
52445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52448
52449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52450 /* end confdefs.h. */
52451 #include <math.h>
52452 #ifdef HAVE_IEEEFP_H
52453 #include <ieeefp.h>
52454 #endif
52455
52456 int
52457 main ()
52458 {
52459 _fpclass(0);
52460 ;
52461 return 0;
52462 }
52463 _ACEOF
52464 if ac_fn_cxx_try_compile "$LINENO"; then :
52465 glibcxx_cv_func__fpclass_use=yes
52466 else
52467 glibcxx_cv_func__fpclass_use=no
52468 fi
52469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52470 ac_ext=c
52471 ac_cpp='$CPP $CPPFLAGS'
52472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52475
52476
52477 fi
52478
52479 fi
52480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
52481 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
52482
52483 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
52484 for ac_func in _fpclass
52485 do :
52486 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
52487 if test "x$ac_cv_func__fpclass" = x""yes; then :
52488 cat >>confdefs.h <<_ACEOF
52489 #define HAVE__FPCLASS 1
52490 _ACEOF
52491
52492 fi
52493 done
52494
52495 fi
52496 fi
52497
52498
52499
52500
52501
52502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
52503 $as_echo_n "checking for qfpclass declaration... " >&6; }
52504 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
52505 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
52506 $as_echo_n "(cached) " >&6
52507 else
52508
52509
52510 ac_ext=cpp
52511 ac_cpp='$CXXCPP $CPPFLAGS'
52512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52515
52516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52517 /* end confdefs.h. */
52518 #include <math.h>
52519 #ifdef HAVE_IEEEFP_H
52520 #include <ieeefp.h>
52521 #endif
52522
52523 int
52524 main ()
52525 {
52526 qfpclass(0);
52527 ;
52528 return 0;
52529 }
52530 _ACEOF
52531 if ac_fn_cxx_try_compile "$LINENO"; then :
52532 glibcxx_cv_func_qfpclass_use=yes
52533 else
52534 glibcxx_cv_func_qfpclass_use=no
52535 fi
52536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52537 ac_ext=c
52538 ac_cpp='$CPP $CPPFLAGS'
52539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52542
52543
52544 fi
52545
52546 fi
52547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
52548 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
52549
52550 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
52551 for ac_func in qfpclass
52552 do :
52553 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
52554 if test "x$ac_cv_func_qfpclass" = x""yes; then :
52555 cat >>confdefs.h <<_ACEOF
52556 #define HAVE_QFPCLASS 1
52557 _ACEOF
52558
52559 fi
52560 done
52561
52562 else
52563
52564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
52565 $as_echo_n "checking for _qfpclass declaration... " >&6; }
52566 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
52567 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
52568 $as_echo_n "(cached) " >&6
52569 else
52570
52571
52572 ac_ext=cpp
52573 ac_cpp='$CXXCPP $CPPFLAGS'
52574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52577
52578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52579 /* end confdefs.h. */
52580 #include <math.h>
52581 #ifdef HAVE_IEEEFP_H
52582 #include <ieeefp.h>
52583 #endif
52584
52585 int
52586 main ()
52587 {
52588 _qfpclass(0);
52589 ;
52590 return 0;
52591 }
52592 _ACEOF
52593 if ac_fn_cxx_try_compile "$LINENO"; then :
52594 glibcxx_cv_func__qfpclass_use=yes
52595 else
52596 glibcxx_cv_func__qfpclass_use=no
52597 fi
52598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52599 ac_ext=c
52600 ac_cpp='$CPP $CPPFLAGS'
52601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52604
52605
52606 fi
52607
52608 fi
52609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
52610 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
52611
52612 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
52613 for ac_func in _qfpclass
52614 do :
52615 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
52616 if test "x$ac_cv_func__qfpclass" = x""yes; then :
52617 cat >>confdefs.h <<_ACEOF
52618 #define HAVE__QFPCLASS 1
52619 _ACEOF
52620
52621 fi
52622 done
52623
52624 fi
52625 fi
52626
52627
52628
52629
52630
52631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
52632 $as_echo_n "checking for hypot declaration... " >&6; }
52633 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
52634 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
52635 $as_echo_n "(cached) " >&6
52636 else
52637
52638
52639 ac_ext=cpp
52640 ac_cpp='$CXXCPP $CPPFLAGS'
52641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52644
52645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52646 /* end confdefs.h. */
52647 #include <math.h>
52648 int
52649 main ()
52650 {
52651 hypot(0, 0);
52652 ;
52653 return 0;
52654 }
52655 _ACEOF
52656 if ac_fn_cxx_try_compile "$LINENO"; then :
52657 glibcxx_cv_func_hypot_use=yes
52658 else
52659 glibcxx_cv_func_hypot_use=no
52660 fi
52661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52662 ac_ext=c
52663 ac_cpp='$CPP $CPPFLAGS'
52664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52667
52668
52669 fi
52670
52671 fi
52672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
52673 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
52674
52675 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
52676 for ac_func in hypot
52677 do :
52678 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
52679 if test "x$ac_cv_func_hypot" = x""yes; then :
52680 cat >>confdefs.h <<_ACEOF
52681 #define HAVE_HYPOT 1
52682 _ACEOF
52683
52684 fi
52685 done
52686
52687 else
52688
52689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
52690 $as_echo_n "checking for _hypot declaration... " >&6; }
52691 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
52692 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
52693 $as_echo_n "(cached) " >&6
52694 else
52695
52696
52697 ac_ext=cpp
52698 ac_cpp='$CXXCPP $CPPFLAGS'
52699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52702
52703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52704 /* end confdefs.h. */
52705 #include <math.h>
52706 int
52707 main ()
52708 {
52709 _hypot(0, 0);
52710 ;
52711 return 0;
52712 }
52713 _ACEOF
52714 if ac_fn_cxx_try_compile "$LINENO"; then :
52715 glibcxx_cv_func__hypot_use=yes
52716 else
52717 glibcxx_cv_func__hypot_use=no
52718 fi
52719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52720 ac_ext=c
52721 ac_cpp='$CPP $CPPFLAGS'
52722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52725
52726
52727 fi
52728
52729 fi
52730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
52731 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
52732
52733 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
52734 for ac_func in _hypot
52735 do :
52736 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
52737 if test "x$ac_cv_func__hypot" = x""yes; then :
52738 cat >>confdefs.h <<_ACEOF
52739 #define HAVE__HYPOT 1
52740 _ACEOF
52741
52742 fi
52743 done
52744
52745 fi
52746 fi
52747
52748
52749
52750
52751
52752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
52753 $as_echo_n "checking for float trig functions... " >&6; }
52754 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
52755 $as_echo_n "(cached) " >&6
52756 else
52757
52758
52759 ac_ext=cpp
52760 ac_cpp='$CXXCPP $CPPFLAGS'
52761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52764
52765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52766 /* end confdefs.h. */
52767 #include <math.h>
52768 int
52769 main ()
52770 {
52771 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
52772 ;
52773 return 0;
52774 }
52775 _ACEOF
52776 if ac_fn_cxx_try_compile "$LINENO"; then :
52777 glibcxx_cv_func_float_trig_use=yes
52778 else
52779 glibcxx_cv_func_float_trig_use=no
52780 fi
52781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52782 ac_ext=c
52783 ac_cpp='$CPP $CPPFLAGS'
52784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52787
52788 fi
52789
52790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
52791 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
52792 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
52793 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
52794 do :
52795 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52796 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52797 eval as_val=\$$as_ac_var
52798 if test "x$as_val" = x""yes; then :
52799 cat >>confdefs.h <<_ACEOF
52800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52801 _ACEOF
52802
52803 fi
52804 done
52805
52806 else
52807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
52808 $as_echo_n "checking for _float trig functions... " >&6; }
52809 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
52810 $as_echo_n "(cached) " >&6
52811 else
52812
52813
52814 ac_ext=cpp
52815 ac_cpp='$CXXCPP $CPPFLAGS'
52816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52819
52820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52821 /* end confdefs.h. */
52822 #include <math.h>
52823 int
52824 main ()
52825 {
52826 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
52827 ;
52828 return 0;
52829 }
52830 _ACEOF
52831 if ac_fn_cxx_try_compile "$LINENO"; then :
52832 glibcxx_cv_func__float_trig_use=yes
52833 else
52834 glibcxx_cv_func__float_trig_use=no
52835 fi
52836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52837 ac_ext=c
52838 ac_cpp='$CPP $CPPFLAGS'
52839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52842
52843 fi
52844
52845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
52846 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
52847 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
52848 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
52849 do :
52850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52851 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52852 eval as_val=\$$as_ac_var
52853 if test "x$as_val" = x""yes; then :
52854 cat >>confdefs.h <<_ACEOF
52855 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52856 _ACEOF
52857
52858 fi
52859 done
52860
52861 fi
52862 fi
52863
52864
52865
52866
52867
52868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
52869 $as_echo_n "checking for float round functions... " >&6; }
52870 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
52871 $as_echo_n "(cached) " >&6
52872 else
52873
52874
52875 ac_ext=cpp
52876 ac_cpp='$CXXCPP $CPPFLAGS'
52877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52880
52881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52882 /* end confdefs.h. */
52883 #include <math.h>
52884 int
52885 main ()
52886 {
52887 ceilf (0); floorf (0);
52888 ;
52889 return 0;
52890 }
52891 _ACEOF
52892 if ac_fn_cxx_try_compile "$LINENO"; then :
52893 glibcxx_cv_func_float_round_use=yes
52894 else
52895 glibcxx_cv_func_float_round_use=no
52896 fi
52897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52898 ac_ext=c
52899 ac_cpp='$CPP $CPPFLAGS'
52900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52903
52904 fi
52905
52906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
52907 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
52908 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
52909 for ac_func in ceilf floorf
52910 do :
52911 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52912 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52913 eval as_val=\$$as_ac_var
52914 if test "x$as_val" = x""yes; then :
52915 cat >>confdefs.h <<_ACEOF
52916 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52917 _ACEOF
52918
52919 fi
52920 done
52921
52922 else
52923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
52924 $as_echo_n "checking for _float round functions... " >&6; }
52925 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
52926 $as_echo_n "(cached) " >&6
52927 else
52928
52929
52930 ac_ext=cpp
52931 ac_cpp='$CXXCPP $CPPFLAGS'
52932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52935
52936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52937 /* end confdefs.h. */
52938 #include <math.h>
52939 int
52940 main ()
52941 {
52942 _ceilf (0); _floorf (0);
52943 ;
52944 return 0;
52945 }
52946 _ACEOF
52947 if ac_fn_cxx_try_compile "$LINENO"; then :
52948 glibcxx_cv_func__float_round_use=yes
52949 else
52950 glibcxx_cv_func__float_round_use=no
52951 fi
52952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52953 ac_ext=c
52954 ac_cpp='$CPP $CPPFLAGS'
52955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52958
52959 fi
52960
52961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
52962 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
52963 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
52964 for ac_func in _ceilf _floorf
52965 do :
52966 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
52967 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
52968 eval as_val=\$$as_ac_var
52969 if test "x$as_val" = x""yes; then :
52970 cat >>confdefs.h <<_ACEOF
52971 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
52972 _ACEOF
52973
52974 fi
52975 done
52976
52977 fi
52978 fi
52979
52980
52981
52982
52983
52984
52985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
52986 $as_echo_n "checking for expf declaration... " >&6; }
52987 if test x${glibcxx_cv_func_expf_use+set} != xset; then
52988 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
52989 $as_echo_n "(cached) " >&6
52990 else
52991
52992
52993 ac_ext=cpp
52994 ac_cpp='$CXXCPP $CPPFLAGS'
52995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52998
52999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53000 /* end confdefs.h. */
53001 #include <math.h>
53002 #ifdef HAVE_IEEEFP_H
53003 #include <ieeefp.h>
53004 #endif
53005
53006 int
53007 main ()
53008 {
53009 expf(0);
53010 ;
53011 return 0;
53012 }
53013 _ACEOF
53014 if ac_fn_cxx_try_compile "$LINENO"; then :
53015 glibcxx_cv_func_expf_use=yes
53016 else
53017 glibcxx_cv_func_expf_use=no
53018 fi
53019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53020 ac_ext=c
53021 ac_cpp='$CPP $CPPFLAGS'
53022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53025
53026
53027 fi
53028
53029 fi
53030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53031 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53032
53033 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53034 for ac_func in expf
53035 do :
53036 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53037 if test "x$ac_cv_func_expf" = x""yes; then :
53038 cat >>confdefs.h <<_ACEOF
53039 #define HAVE_EXPF 1
53040 _ACEOF
53041
53042 fi
53043 done
53044
53045 else
53046
53047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53048 $as_echo_n "checking for _expf declaration... " >&6; }
53049 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53050 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53051 $as_echo_n "(cached) " >&6
53052 else
53053
53054
53055 ac_ext=cpp
53056 ac_cpp='$CXXCPP $CPPFLAGS'
53057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53060
53061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53062 /* end confdefs.h. */
53063 #include <math.h>
53064 #ifdef HAVE_IEEEFP_H
53065 #include <ieeefp.h>
53066 #endif
53067
53068 int
53069 main ()
53070 {
53071 _expf(0);
53072 ;
53073 return 0;
53074 }
53075 _ACEOF
53076 if ac_fn_cxx_try_compile "$LINENO"; then :
53077 glibcxx_cv_func__expf_use=yes
53078 else
53079 glibcxx_cv_func__expf_use=no
53080 fi
53081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53082 ac_ext=c
53083 ac_cpp='$CPP $CPPFLAGS'
53084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53087
53088
53089 fi
53090
53091 fi
53092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53093 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53094
53095 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53096 for ac_func in _expf
53097 do :
53098 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53099 if test "x$ac_cv_func__expf" = x""yes; then :
53100 cat >>confdefs.h <<_ACEOF
53101 #define HAVE__EXPF 1
53102 _ACEOF
53103
53104 fi
53105 done
53106
53107 fi
53108 fi
53109
53110
53111
53112
53113
53114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53115 $as_echo_n "checking for isnanf declaration... " >&6; }
53116 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53117 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53118 $as_echo_n "(cached) " >&6
53119 else
53120
53121
53122 ac_ext=cpp
53123 ac_cpp='$CXXCPP $CPPFLAGS'
53124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53127
53128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53129 /* end confdefs.h. */
53130 #include <math.h>
53131 #ifdef HAVE_IEEEFP_H
53132 #include <ieeefp.h>
53133 #endif
53134
53135 int
53136 main ()
53137 {
53138 isnanf(0);
53139 ;
53140 return 0;
53141 }
53142 _ACEOF
53143 if ac_fn_cxx_try_compile "$LINENO"; then :
53144 glibcxx_cv_func_isnanf_use=yes
53145 else
53146 glibcxx_cv_func_isnanf_use=no
53147 fi
53148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53149 ac_ext=c
53150 ac_cpp='$CPP $CPPFLAGS'
53151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53154
53155
53156 fi
53157
53158 fi
53159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
53160 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
53161
53162 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
53163 for ac_func in isnanf
53164 do :
53165 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
53166 if test "x$ac_cv_func_isnanf" = x""yes; then :
53167 cat >>confdefs.h <<_ACEOF
53168 #define HAVE_ISNANF 1
53169 _ACEOF
53170
53171 fi
53172 done
53173
53174 else
53175
53176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
53177 $as_echo_n "checking for _isnanf declaration... " >&6; }
53178 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
53179 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
53180 $as_echo_n "(cached) " >&6
53181 else
53182
53183
53184 ac_ext=cpp
53185 ac_cpp='$CXXCPP $CPPFLAGS'
53186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53189
53190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53191 /* end confdefs.h. */
53192 #include <math.h>
53193 #ifdef HAVE_IEEEFP_H
53194 #include <ieeefp.h>
53195 #endif
53196
53197 int
53198 main ()
53199 {
53200 _isnanf(0);
53201 ;
53202 return 0;
53203 }
53204 _ACEOF
53205 if ac_fn_cxx_try_compile "$LINENO"; then :
53206 glibcxx_cv_func__isnanf_use=yes
53207 else
53208 glibcxx_cv_func__isnanf_use=no
53209 fi
53210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53211 ac_ext=c
53212 ac_cpp='$CPP $CPPFLAGS'
53213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53216
53217
53218 fi
53219
53220 fi
53221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
53222 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
53223
53224 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
53225 for ac_func in _isnanf
53226 do :
53227 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
53228 if test "x$ac_cv_func__isnanf" = x""yes; then :
53229 cat >>confdefs.h <<_ACEOF
53230 #define HAVE__ISNANF 1
53231 _ACEOF
53232
53233 fi
53234 done
53235
53236 fi
53237 fi
53238
53239
53240
53241
53242
53243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
53244 $as_echo_n "checking for isinff declaration... " >&6; }
53245 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
53246 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
53247 $as_echo_n "(cached) " >&6
53248 else
53249
53250
53251 ac_ext=cpp
53252 ac_cpp='$CXXCPP $CPPFLAGS'
53253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53256
53257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53258 /* end confdefs.h. */
53259 #include <math.h>
53260 #ifdef HAVE_IEEEFP_H
53261 #include <ieeefp.h>
53262 #endif
53263
53264 int
53265 main ()
53266 {
53267 isinff(0);
53268 ;
53269 return 0;
53270 }
53271 _ACEOF
53272 if ac_fn_cxx_try_compile "$LINENO"; then :
53273 glibcxx_cv_func_isinff_use=yes
53274 else
53275 glibcxx_cv_func_isinff_use=no
53276 fi
53277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53278 ac_ext=c
53279 ac_cpp='$CPP $CPPFLAGS'
53280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53283
53284
53285 fi
53286
53287 fi
53288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
53289 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
53290
53291 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
53292 for ac_func in isinff
53293 do :
53294 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
53295 if test "x$ac_cv_func_isinff" = x""yes; then :
53296 cat >>confdefs.h <<_ACEOF
53297 #define HAVE_ISINFF 1
53298 _ACEOF
53299
53300 fi
53301 done
53302
53303 else
53304
53305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
53306 $as_echo_n "checking for _isinff declaration... " >&6; }
53307 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
53308 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
53309 $as_echo_n "(cached) " >&6
53310 else
53311
53312
53313 ac_ext=cpp
53314 ac_cpp='$CXXCPP $CPPFLAGS'
53315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53318
53319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53320 /* end confdefs.h. */
53321 #include <math.h>
53322 #ifdef HAVE_IEEEFP_H
53323 #include <ieeefp.h>
53324 #endif
53325
53326 int
53327 main ()
53328 {
53329 _isinff(0);
53330 ;
53331 return 0;
53332 }
53333 _ACEOF
53334 if ac_fn_cxx_try_compile "$LINENO"; then :
53335 glibcxx_cv_func__isinff_use=yes
53336 else
53337 glibcxx_cv_func__isinff_use=no
53338 fi
53339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53340 ac_ext=c
53341 ac_cpp='$CPP $CPPFLAGS'
53342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53345
53346
53347 fi
53348
53349 fi
53350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
53351 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
53352
53353 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
53354 for ac_func in _isinff
53355 do :
53356 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
53357 if test "x$ac_cv_func__isinff" = x""yes; then :
53358 cat >>confdefs.h <<_ACEOF
53359 #define HAVE__ISINFF 1
53360 _ACEOF
53361
53362 fi
53363 done
53364
53365 fi
53366 fi
53367
53368
53369
53370
53371
53372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
53373 $as_echo_n "checking for atan2f declaration... " >&6; }
53374 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
53375 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
53376 $as_echo_n "(cached) " >&6
53377 else
53378
53379
53380 ac_ext=cpp
53381 ac_cpp='$CXXCPP $CPPFLAGS'
53382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53385
53386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53387 /* end confdefs.h. */
53388 #include <math.h>
53389 int
53390 main ()
53391 {
53392 atan2f(0, 0);
53393 ;
53394 return 0;
53395 }
53396 _ACEOF
53397 if ac_fn_cxx_try_compile "$LINENO"; then :
53398 glibcxx_cv_func_atan2f_use=yes
53399 else
53400 glibcxx_cv_func_atan2f_use=no
53401 fi
53402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53403 ac_ext=c
53404 ac_cpp='$CPP $CPPFLAGS'
53405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53408
53409
53410 fi
53411
53412 fi
53413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
53414 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
53415
53416 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
53417 for ac_func in atan2f
53418 do :
53419 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
53420 if test "x$ac_cv_func_atan2f" = x""yes; then :
53421 cat >>confdefs.h <<_ACEOF
53422 #define HAVE_ATAN2F 1
53423 _ACEOF
53424
53425 fi
53426 done
53427
53428 else
53429
53430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
53431 $as_echo_n "checking for _atan2f declaration... " >&6; }
53432 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
53433 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
53434 $as_echo_n "(cached) " >&6
53435 else
53436
53437
53438 ac_ext=cpp
53439 ac_cpp='$CXXCPP $CPPFLAGS'
53440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53443
53444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53445 /* end confdefs.h. */
53446 #include <math.h>
53447 int
53448 main ()
53449 {
53450 _atan2f(0, 0);
53451 ;
53452 return 0;
53453 }
53454 _ACEOF
53455 if ac_fn_cxx_try_compile "$LINENO"; then :
53456 glibcxx_cv_func__atan2f_use=yes
53457 else
53458 glibcxx_cv_func__atan2f_use=no
53459 fi
53460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53461 ac_ext=c
53462 ac_cpp='$CPP $CPPFLAGS'
53463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53466
53467
53468 fi
53469
53470 fi
53471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
53472 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
53473
53474 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
53475 for ac_func in _atan2f
53476 do :
53477 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
53478 if test "x$ac_cv_func__atan2f" = x""yes; then :
53479 cat >>confdefs.h <<_ACEOF
53480 #define HAVE__ATAN2F 1
53481 _ACEOF
53482
53483 fi
53484 done
53485
53486 fi
53487 fi
53488
53489
53490
53491
53492
53493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
53494 $as_echo_n "checking for fabsf declaration... " >&6; }
53495 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
53496 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
53497 $as_echo_n "(cached) " >&6
53498 else
53499
53500
53501 ac_ext=cpp
53502 ac_cpp='$CXXCPP $CPPFLAGS'
53503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53506
53507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53508 /* end confdefs.h. */
53509 #include <math.h>
53510 #ifdef HAVE_IEEEFP_H
53511 #include <ieeefp.h>
53512 #endif
53513
53514 int
53515 main ()
53516 {
53517 fabsf(0);
53518 ;
53519 return 0;
53520 }
53521 _ACEOF
53522 if ac_fn_cxx_try_compile "$LINENO"; then :
53523 glibcxx_cv_func_fabsf_use=yes
53524 else
53525 glibcxx_cv_func_fabsf_use=no
53526 fi
53527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53528 ac_ext=c
53529 ac_cpp='$CPP $CPPFLAGS'
53530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53533
53534
53535 fi
53536
53537 fi
53538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
53539 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
53540
53541 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
53542 for ac_func in fabsf
53543 do :
53544 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
53545 if test "x$ac_cv_func_fabsf" = x""yes; then :
53546 cat >>confdefs.h <<_ACEOF
53547 #define HAVE_FABSF 1
53548 _ACEOF
53549
53550 fi
53551 done
53552
53553 else
53554
53555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
53556 $as_echo_n "checking for _fabsf declaration... " >&6; }
53557 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
53558 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
53559 $as_echo_n "(cached) " >&6
53560 else
53561
53562
53563 ac_ext=cpp
53564 ac_cpp='$CXXCPP $CPPFLAGS'
53565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53568
53569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53570 /* end confdefs.h. */
53571 #include <math.h>
53572 #ifdef HAVE_IEEEFP_H
53573 #include <ieeefp.h>
53574 #endif
53575
53576 int
53577 main ()
53578 {
53579 _fabsf(0);
53580 ;
53581 return 0;
53582 }
53583 _ACEOF
53584 if ac_fn_cxx_try_compile "$LINENO"; then :
53585 glibcxx_cv_func__fabsf_use=yes
53586 else
53587 glibcxx_cv_func__fabsf_use=no
53588 fi
53589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53590 ac_ext=c
53591 ac_cpp='$CPP $CPPFLAGS'
53592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53595
53596
53597 fi
53598
53599 fi
53600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
53601 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
53602
53603 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
53604 for ac_func in _fabsf
53605 do :
53606 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
53607 if test "x$ac_cv_func__fabsf" = x""yes; then :
53608 cat >>confdefs.h <<_ACEOF
53609 #define HAVE__FABSF 1
53610 _ACEOF
53611
53612 fi
53613 done
53614
53615 fi
53616 fi
53617
53618
53619
53620
53621
53622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
53623 $as_echo_n "checking for fmodf declaration... " >&6; }
53624 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
53625 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
53626 $as_echo_n "(cached) " >&6
53627 else
53628
53629
53630 ac_ext=cpp
53631 ac_cpp='$CXXCPP $CPPFLAGS'
53632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53635
53636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53637 /* end confdefs.h. */
53638 #include <math.h>
53639 int
53640 main ()
53641 {
53642 fmodf(0, 0);
53643 ;
53644 return 0;
53645 }
53646 _ACEOF
53647 if ac_fn_cxx_try_compile "$LINENO"; then :
53648 glibcxx_cv_func_fmodf_use=yes
53649 else
53650 glibcxx_cv_func_fmodf_use=no
53651 fi
53652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53653 ac_ext=c
53654 ac_cpp='$CPP $CPPFLAGS'
53655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53658
53659
53660 fi
53661
53662 fi
53663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
53664 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
53665
53666 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
53667 for ac_func in fmodf
53668 do :
53669 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
53670 if test "x$ac_cv_func_fmodf" = x""yes; then :
53671 cat >>confdefs.h <<_ACEOF
53672 #define HAVE_FMODF 1
53673 _ACEOF
53674
53675 fi
53676 done
53677
53678 else
53679
53680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
53681 $as_echo_n "checking for _fmodf declaration... " >&6; }
53682 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
53683 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
53684 $as_echo_n "(cached) " >&6
53685 else
53686
53687
53688 ac_ext=cpp
53689 ac_cpp='$CXXCPP $CPPFLAGS'
53690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53693
53694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53695 /* end confdefs.h. */
53696 #include <math.h>
53697 int
53698 main ()
53699 {
53700 _fmodf(0, 0);
53701 ;
53702 return 0;
53703 }
53704 _ACEOF
53705 if ac_fn_cxx_try_compile "$LINENO"; then :
53706 glibcxx_cv_func__fmodf_use=yes
53707 else
53708 glibcxx_cv_func__fmodf_use=no
53709 fi
53710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53711 ac_ext=c
53712 ac_cpp='$CPP $CPPFLAGS'
53713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53716
53717
53718 fi
53719
53720 fi
53721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
53722 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
53723
53724 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
53725 for ac_func in _fmodf
53726 do :
53727 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
53728 if test "x$ac_cv_func__fmodf" = x""yes; then :
53729 cat >>confdefs.h <<_ACEOF
53730 #define HAVE__FMODF 1
53731 _ACEOF
53732
53733 fi
53734 done
53735
53736 fi
53737 fi
53738
53739
53740
53741
53742
53743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
53744 $as_echo_n "checking for frexpf declaration... " >&6; }
53745 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
53746 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
53747 $as_echo_n "(cached) " >&6
53748 else
53749
53750
53751 ac_ext=cpp
53752 ac_cpp='$CXXCPP $CPPFLAGS'
53753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53756
53757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53758 /* end confdefs.h. */
53759 #include <math.h>
53760 int
53761 main ()
53762 {
53763 frexpf(0, 0);
53764 ;
53765 return 0;
53766 }
53767 _ACEOF
53768 if ac_fn_cxx_try_compile "$LINENO"; then :
53769 glibcxx_cv_func_frexpf_use=yes
53770 else
53771 glibcxx_cv_func_frexpf_use=no
53772 fi
53773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53774 ac_ext=c
53775 ac_cpp='$CPP $CPPFLAGS'
53776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53779
53780
53781 fi
53782
53783 fi
53784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
53785 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
53786
53787 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
53788 for ac_func in frexpf
53789 do :
53790 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
53791 if test "x$ac_cv_func_frexpf" = x""yes; then :
53792 cat >>confdefs.h <<_ACEOF
53793 #define HAVE_FREXPF 1
53794 _ACEOF
53795
53796 fi
53797 done
53798
53799 else
53800
53801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
53802 $as_echo_n "checking for _frexpf declaration... " >&6; }
53803 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
53804 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
53805 $as_echo_n "(cached) " >&6
53806 else
53807
53808
53809 ac_ext=cpp
53810 ac_cpp='$CXXCPP $CPPFLAGS'
53811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53814
53815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53816 /* end confdefs.h. */
53817 #include <math.h>
53818 int
53819 main ()
53820 {
53821 _frexpf(0, 0);
53822 ;
53823 return 0;
53824 }
53825 _ACEOF
53826 if ac_fn_cxx_try_compile "$LINENO"; then :
53827 glibcxx_cv_func__frexpf_use=yes
53828 else
53829 glibcxx_cv_func__frexpf_use=no
53830 fi
53831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53832 ac_ext=c
53833 ac_cpp='$CPP $CPPFLAGS'
53834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53837
53838
53839 fi
53840
53841 fi
53842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
53843 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
53844
53845 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
53846 for ac_func in _frexpf
53847 do :
53848 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
53849 if test "x$ac_cv_func__frexpf" = x""yes; then :
53850 cat >>confdefs.h <<_ACEOF
53851 #define HAVE__FREXPF 1
53852 _ACEOF
53853
53854 fi
53855 done
53856
53857 fi
53858 fi
53859
53860
53861
53862
53863
53864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
53865 $as_echo_n "checking for hypotf declaration... " >&6; }
53866 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
53867 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
53868 $as_echo_n "(cached) " >&6
53869 else
53870
53871
53872 ac_ext=cpp
53873 ac_cpp='$CXXCPP $CPPFLAGS'
53874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53877
53878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53879 /* end confdefs.h. */
53880 #include <math.h>
53881 int
53882 main ()
53883 {
53884 hypotf(0, 0);
53885 ;
53886 return 0;
53887 }
53888 _ACEOF
53889 if ac_fn_cxx_try_compile "$LINENO"; then :
53890 glibcxx_cv_func_hypotf_use=yes
53891 else
53892 glibcxx_cv_func_hypotf_use=no
53893 fi
53894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53895 ac_ext=c
53896 ac_cpp='$CPP $CPPFLAGS'
53897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53900
53901
53902 fi
53903
53904 fi
53905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
53906 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
53907
53908 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
53909 for ac_func in hypotf
53910 do :
53911 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
53912 if test "x$ac_cv_func_hypotf" = x""yes; then :
53913 cat >>confdefs.h <<_ACEOF
53914 #define HAVE_HYPOTF 1
53915 _ACEOF
53916
53917 fi
53918 done
53919
53920 else
53921
53922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
53923 $as_echo_n "checking for _hypotf declaration... " >&6; }
53924 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
53925 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
53926 $as_echo_n "(cached) " >&6
53927 else
53928
53929
53930 ac_ext=cpp
53931 ac_cpp='$CXXCPP $CPPFLAGS'
53932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53935
53936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53937 /* end confdefs.h. */
53938 #include <math.h>
53939 int
53940 main ()
53941 {
53942 _hypotf(0, 0);
53943 ;
53944 return 0;
53945 }
53946 _ACEOF
53947 if ac_fn_cxx_try_compile "$LINENO"; then :
53948 glibcxx_cv_func__hypotf_use=yes
53949 else
53950 glibcxx_cv_func__hypotf_use=no
53951 fi
53952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53953 ac_ext=c
53954 ac_cpp='$CPP $CPPFLAGS'
53955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53958
53959
53960 fi
53961
53962 fi
53963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
53964 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
53965
53966 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
53967 for ac_func in _hypotf
53968 do :
53969 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
53970 if test "x$ac_cv_func__hypotf" = x""yes; then :
53971 cat >>confdefs.h <<_ACEOF
53972 #define HAVE__HYPOTF 1
53973 _ACEOF
53974
53975 fi
53976 done
53977
53978 fi
53979 fi
53980
53981
53982
53983
53984
53985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
53986 $as_echo_n "checking for ldexpf declaration... " >&6; }
53987 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
53988 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
53989 $as_echo_n "(cached) " >&6
53990 else
53991
53992
53993 ac_ext=cpp
53994 ac_cpp='$CXXCPP $CPPFLAGS'
53995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53998
53999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54000 /* end confdefs.h. */
54001 #include <math.h>
54002 int
54003 main ()
54004 {
54005 ldexpf(0, 0);
54006 ;
54007 return 0;
54008 }
54009 _ACEOF
54010 if ac_fn_cxx_try_compile "$LINENO"; then :
54011 glibcxx_cv_func_ldexpf_use=yes
54012 else
54013 glibcxx_cv_func_ldexpf_use=no
54014 fi
54015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54016 ac_ext=c
54017 ac_cpp='$CPP $CPPFLAGS'
54018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54021
54022
54023 fi
54024
54025 fi
54026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54027 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54028
54029 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54030 for ac_func in ldexpf
54031 do :
54032 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54033 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54034 cat >>confdefs.h <<_ACEOF
54035 #define HAVE_LDEXPF 1
54036 _ACEOF
54037
54038 fi
54039 done
54040
54041 else
54042
54043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54044 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54045 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54046 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54047 $as_echo_n "(cached) " >&6
54048 else
54049
54050
54051 ac_ext=cpp
54052 ac_cpp='$CXXCPP $CPPFLAGS'
54053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54056
54057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54058 /* end confdefs.h. */
54059 #include <math.h>
54060 int
54061 main ()
54062 {
54063 _ldexpf(0, 0);
54064 ;
54065 return 0;
54066 }
54067 _ACEOF
54068 if ac_fn_cxx_try_compile "$LINENO"; then :
54069 glibcxx_cv_func__ldexpf_use=yes
54070 else
54071 glibcxx_cv_func__ldexpf_use=no
54072 fi
54073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54074 ac_ext=c
54075 ac_cpp='$CPP $CPPFLAGS'
54076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54079
54080
54081 fi
54082
54083 fi
54084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54085 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54086
54087 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54088 for ac_func in _ldexpf
54089 do :
54090 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54091 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54092 cat >>confdefs.h <<_ACEOF
54093 #define HAVE__LDEXPF 1
54094 _ACEOF
54095
54096 fi
54097 done
54098
54099 fi
54100 fi
54101
54102
54103
54104
54105
54106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54107 $as_echo_n "checking for logf declaration... " >&6; }
54108 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54109 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54110 $as_echo_n "(cached) " >&6
54111 else
54112
54113
54114 ac_ext=cpp
54115 ac_cpp='$CXXCPP $CPPFLAGS'
54116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54119
54120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54121 /* end confdefs.h. */
54122 #include <math.h>
54123 #ifdef HAVE_IEEEFP_H
54124 #include <ieeefp.h>
54125 #endif
54126
54127 int
54128 main ()
54129 {
54130 logf(0);
54131 ;
54132 return 0;
54133 }
54134 _ACEOF
54135 if ac_fn_cxx_try_compile "$LINENO"; then :
54136 glibcxx_cv_func_logf_use=yes
54137 else
54138 glibcxx_cv_func_logf_use=no
54139 fi
54140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54141 ac_ext=c
54142 ac_cpp='$CPP $CPPFLAGS'
54143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54146
54147
54148 fi
54149
54150 fi
54151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
54152 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
54153
54154 if test x$glibcxx_cv_func_logf_use = x"yes"; then
54155 for ac_func in logf
54156 do :
54157 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
54158 if test "x$ac_cv_func_logf" = x""yes; then :
54159 cat >>confdefs.h <<_ACEOF
54160 #define HAVE_LOGF 1
54161 _ACEOF
54162
54163 fi
54164 done
54165
54166 else
54167
54168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
54169 $as_echo_n "checking for _logf declaration... " >&6; }
54170 if test x${glibcxx_cv_func__logf_use+set} != xset; then
54171 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
54172 $as_echo_n "(cached) " >&6
54173 else
54174
54175
54176 ac_ext=cpp
54177 ac_cpp='$CXXCPP $CPPFLAGS'
54178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54181
54182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54183 /* end confdefs.h. */
54184 #include <math.h>
54185 #ifdef HAVE_IEEEFP_H
54186 #include <ieeefp.h>
54187 #endif
54188
54189 int
54190 main ()
54191 {
54192 _logf(0);
54193 ;
54194 return 0;
54195 }
54196 _ACEOF
54197 if ac_fn_cxx_try_compile "$LINENO"; then :
54198 glibcxx_cv_func__logf_use=yes
54199 else
54200 glibcxx_cv_func__logf_use=no
54201 fi
54202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54203 ac_ext=c
54204 ac_cpp='$CPP $CPPFLAGS'
54205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54208
54209
54210 fi
54211
54212 fi
54213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
54214 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
54215
54216 if test x$glibcxx_cv_func__logf_use = x"yes"; then
54217 for ac_func in _logf
54218 do :
54219 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
54220 if test "x$ac_cv_func__logf" = x""yes; then :
54221 cat >>confdefs.h <<_ACEOF
54222 #define HAVE__LOGF 1
54223 _ACEOF
54224
54225 fi
54226 done
54227
54228 fi
54229 fi
54230
54231
54232
54233
54234
54235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
54236 $as_echo_n "checking for log10f declaration... " >&6; }
54237 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
54238 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
54239 $as_echo_n "(cached) " >&6
54240 else
54241
54242
54243 ac_ext=cpp
54244 ac_cpp='$CXXCPP $CPPFLAGS'
54245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54248
54249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54250 /* end confdefs.h. */
54251 #include <math.h>
54252 #ifdef HAVE_IEEEFP_H
54253 #include <ieeefp.h>
54254 #endif
54255
54256 int
54257 main ()
54258 {
54259 log10f(0);
54260 ;
54261 return 0;
54262 }
54263 _ACEOF
54264 if ac_fn_cxx_try_compile "$LINENO"; then :
54265 glibcxx_cv_func_log10f_use=yes
54266 else
54267 glibcxx_cv_func_log10f_use=no
54268 fi
54269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54270 ac_ext=c
54271 ac_cpp='$CPP $CPPFLAGS'
54272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54275
54276
54277 fi
54278
54279 fi
54280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
54281 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
54282
54283 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
54284 for ac_func in log10f
54285 do :
54286 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
54287 if test "x$ac_cv_func_log10f" = x""yes; then :
54288 cat >>confdefs.h <<_ACEOF
54289 #define HAVE_LOG10F 1
54290 _ACEOF
54291
54292 fi
54293 done
54294
54295 else
54296
54297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
54298 $as_echo_n "checking for _log10f declaration... " >&6; }
54299 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
54300 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
54301 $as_echo_n "(cached) " >&6
54302 else
54303
54304
54305 ac_ext=cpp
54306 ac_cpp='$CXXCPP $CPPFLAGS'
54307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54310
54311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54312 /* end confdefs.h. */
54313 #include <math.h>
54314 #ifdef HAVE_IEEEFP_H
54315 #include <ieeefp.h>
54316 #endif
54317
54318 int
54319 main ()
54320 {
54321 _log10f(0);
54322 ;
54323 return 0;
54324 }
54325 _ACEOF
54326 if ac_fn_cxx_try_compile "$LINENO"; then :
54327 glibcxx_cv_func__log10f_use=yes
54328 else
54329 glibcxx_cv_func__log10f_use=no
54330 fi
54331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54332 ac_ext=c
54333 ac_cpp='$CPP $CPPFLAGS'
54334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54337
54338
54339 fi
54340
54341 fi
54342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
54343 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
54344
54345 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
54346 for ac_func in _log10f
54347 do :
54348 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
54349 if test "x$ac_cv_func__log10f" = x""yes; then :
54350 cat >>confdefs.h <<_ACEOF
54351 #define HAVE__LOG10F 1
54352 _ACEOF
54353
54354 fi
54355 done
54356
54357 fi
54358 fi
54359
54360
54361
54362
54363
54364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
54365 $as_echo_n "checking for modff declaration... " >&6; }
54366 if test x${glibcxx_cv_func_modff_use+set} != xset; then
54367 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
54368 $as_echo_n "(cached) " >&6
54369 else
54370
54371
54372 ac_ext=cpp
54373 ac_cpp='$CXXCPP $CPPFLAGS'
54374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54377
54378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54379 /* end confdefs.h. */
54380 #include <math.h>
54381 int
54382 main ()
54383 {
54384 modff(0, 0);
54385 ;
54386 return 0;
54387 }
54388 _ACEOF
54389 if ac_fn_cxx_try_compile "$LINENO"; then :
54390 glibcxx_cv_func_modff_use=yes
54391 else
54392 glibcxx_cv_func_modff_use=no
54393 fi
54394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54395 ac_ext=c
54396 ac_cpp='$CPP $CPPFLAGS'
54397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54400
54401
54402 fi
54403
54404 fi
54405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
54406 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
54407
54408 if test x$glibcxx_cv_func_modff_use = x"yes"; then
54409 for ac_func in modff
54410 do :
54411 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
54412 if test "x$ac_cv_func_modff" = x""yes; then :
54413 cat >>confdefs.h <<_ACEOF
54414 #define HAVE_MODFF 1
54415 _ACEOF
54416
54417 fi
54418 done
54419
54420 else
54421
54422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
54423 $as_echo_n "checking for _modff declaration... " >&6; }
54424 if test x${glibcxx_cv_func__modff_use+set} != xset; then
54425 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
54426 $as_echo_n "(cached) " >&6
54427 else
54428
54429
54430 ac_ext=cpp
54431 ac_cpp='$CXXCPP $CPPFLAGS'
54432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54435
54436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54437 /* end confdefs.h. */
54438 #include <math.h>
54439 int
54440 main ()
54441 {
54442 _modff(0, 0);
54443 ;
54444 return 0;
54445 }
54446 _ACEOF
54447 if ac_fn_cxx_try_compile "$LINENO"; then :
54448 glibcxx_cv_func__modff_use=yes
54449 else
54450 glibcxx_cv_func__modff_use=no
54451 fi
54452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54453 ac_ext=c
54454 ac_cpp='$CPP $CPPFLAGS'
54455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54458
54459
54460 fi
54461
54462 fi
54463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
54464 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
54465
54466 if test x$glibcxx_cv_func__modff_use = x"yes"; then
54467 for ac_func in _modff
54468 do :
54469 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
54470 if test "x$ac_cv_func__modff" = x""yes; then :
54471 cat >>confdefs.h <<_ACEOF
54472 #define HAVE__MODFF 1
54473 _ACEOF
54474
54475 fi
54476 done
54477
54478 fi
54479 fi
54480
54481
54482
54483
54484
54485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
54486 $as_echo_n "checking for modf declaration... " >&6; }
54487 if test x${glibcxx_cv_func_modf_use+set} != xset; then
54488 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
54489 $as_echo_n "(cached) " >&6
54490 else
54491
54492
54493 ac_ext=cpp
54494 ac_cpp='$CXXCPP $CPPFLAGS'
54495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54498
54499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54500 /* end confdefs.h. */
54501 #include <math.h>
54502 int
54503 main ()
54504 {
54505 modf(0, 0);
54506 ;
54507 return 0;
54508 }
54509 _ACEOF
54510 if ac_fn_cxx_try_compile "$LINENO"; then :
54511 glibcxx_cv_func_modf_use=yes
54512 else
54513 glibcxx_cv_func_modf_use=no
54514 fi
54515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54516 ac_ext=c
54517 ac_cpp='$CPP $CPPFLAGS'
54518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54521
54522
54523 fi
54524
54525 fi
54526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
54527 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
54528
54529 if test x$glibcxx_cv_func_modf_use = x"yes"; then
54530 for ac_func in modf
54531 do :
54532 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
54533 if test "x$ac_cv_func_modf" = x""yes; then :
54534 cat >>confdefs.h <<_ACEOF
54535 #define HAVE_MODF 1
54536 _ACEOF
54537
54538 fi
54539 done
54540
54541 else
54542
54543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
54544 $as_echo_n "checking for _modf declaration... " >&6; }
54545 if test x${glibcxx_cv_func__modf_use+set} != xset; then
54546 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
54547 $as_echo_n "(cached) " >&6
54548 else
54549
54550
54551 ac_ext=cpp
54552 ac_cpp='$CXXCPP $CPPFLAGS'
54553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54556
54557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54558 /* end confdefs.h. */
54559 #include <math.h>
54560 int
54561 main ()
54562 {
54563 _modf(0, 0);
54564 ;
54565 return 0;
54566 }
54567 _ACEOF
54568 if ac_fn_cxx_try_compile "$LINENO"; then :
54569 glibcxx_cv_func__modf_use=yes
54570 else
54571 glibcxx_cv_func__modf_use=no
54572 fi
54573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54574 ac_ext=c
54575 ac_cpp='$CPP $CPPFLAGS'
54576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54579
54580
54581 fi
54582
54583 fi
54584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
54585 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
54586
54587 if test x$glibcxx_cv_func__modf_use = x"yes"; then
54588 for ac_func in _modf
54589 do :
54590 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
54591 if test "x$ac_cv_func__modf" = x""yes; then :
54592 cat >>confdefs.h <<_ACEOF
54593 #define HAVE__MODF 1
54594 _ACEOF
54595
54596 fi
54597 done
54598
54599 fi
54600 fi
54601
54602
54603
54604
54605
54606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
54607 $as_echo_n "checking for powf declaration... " >&6; }
54608 if test x${glibcxx_cv_func_powf_use+set} != xset; then
54609 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
54610 $as_echo_n "(cached) " >&6
54611 else
54612
54613
54614 ac_ext=cpp
54615 ac_cpp='$CXXCPP $CPPFLAGS'
54616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54619
54620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54621 /* end confdefs.h. */
54622 #include <math.h>
54623 int
54624 main ()
54625 {
54626 powf(0, 0);
54627 ;
54628 return 0;
54629 }
54630 _ACEOF
54631 if ac_fn_cxx_try_compile "$LINENO"; then :
54632 glibcxx_cv_func_powf_use=yes
54633 else
54634 glibcxx_cv_func_powf_use=no
54635 fi
54636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54637 ac_ext=c
54638 ac_cpp='$CPP $CPPFLAGS'
54639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54642
54643
54644 fi
54645
54646 fi
54647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
54648 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
54649
54650 if test x$glibcxx_cv_func_powf_use = x"yes"; then
54651 for ac_func in powf
54652 do :
54653 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
54654 if test "x$ac_cv_func_powf" = x""yes; then :
54655 cat >>confdefs.h <<_ACEOF
54656 #define HAVE_POWF 1
54657 _ACEOF
54658
54659 fi
54660 done
54661
54662 else
54663
54664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
54665 $as_echo_n "checking for _powf declaration... " >&6; }
54666 if test x${glibcxx_cv_func__powf_use+set} != xset; then
54667 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
54668 $as_echo_n "(cached) " >&6
54669 else
54670
54671
54672 ac_ext=cpp
54673 ac_cpp='$CXXCPP $CPPFLAGS'
54674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54677
54678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54679 /* end confdefs.h. */
54680 #include <math.h>
54681 int
54682 main ()
54683 {
54684 _powf(0, 0);
54685 ;
54686 return 0;
54687 }
54688 _ACEOF
54689 if ac_fn_cxx_try_compile "$LINENO"; then :
54690 glibcxx_cv_func__powf_use=yes
54691 else
54692 glibcxx_cv_func__powf_use=no
54693 fi
54694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54695 ac_ext=c
54696 ac_cpp='$CPP $CPPFLAGS'
54697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54700
54701
54702 fi
54703
54704 fi
54705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
54706 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
54707
54708 if test x$glibcxx_cv_func__powf_use = x"yes"; then
54709 for ac_func in _powf
54710 do :
54711 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
54712 if test "x$ac_cv_func__powf" = x""yes; then :
54713 cat >>confdefs.h <<_ACEOF
54714 #define HAVE__POWF 1
54715 _ACEOF
54716
54717 fi
54718 done
54719
54720 fi
54721 fi
54722
54723
54724
54725
54726
54727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
54728 $as_echo_n "checking for sqrtf declaration... " >&6; }
54729 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
54730 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
54731 $as_echo_n "(cached) " >&6
54732 else
54733
54734
54735 ac_ext=cpp
54736 ac_cpp='$CXXCPP $CPPFLAGS'
54737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54740
54741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54742 /* end confdefs.h. */
54743 #include <math.h>
54744 #ifdef HAVE_IEEEFP_H
54745 #include <ieeefp.h>
54746 #endif
54747
54748 int
54749 main ()
54750 {
54751 sqrtf(0);
54752 ;
54753 return 0;
54754 }
54755 _ACEOF
54756 if ac_fn_cxx_try_compile "$LINENO"; then :
54757 glibcxx_cv_func_sqrtf_use=yes
54758 else
54759 glibcxx_cv_func_sqrtf_use=no
54760 fi
54761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54762 ac_ext=c
54763 ac_cpp='$CPP $CPPFLAGS'
54764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54767
54768
54769 fi
54770
54771 fi
54772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
54773 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
54774
54775 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
54776 for ac_func in sqrtf
54777 do :
54778 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
54779 if test "x$ac_cv_func_sqrtf" = x""yes; then :
54780 cat >>confdefs.h <<_ACEOF
54781 #define HAVE_SQRTF 1
54782 _ACEOF
54783
54784 fi
54785 done
54786
54787 else
54788
54789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
54790 $as_echo_n "checking for _sqrtf declaration... " >&6; }
54791 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
54792 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
54793 $as_echo_n "(cached) " >&6
54794 else
54795
54796
54797 ac_ext=cpp
54798 ac_cpp='$CXXCPP $CPPFLAGS'
54799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54802
54803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54804 /* end confdefs.h. */
54805 #include <math.h>
54806 #ifdef HAVE_IEEEFP_H
54807 #include <ieeefp.h>
54808 #endif
54809
54810 int
54811 main ()
54812 {
54813 _sqrtf(0);
54814 ;
54815 return 0;
54816 }
54817 _ACEOF
54818 if ac_fn_cxx_try_compile "$LINENO"; then :
54819 glibcxx_cv_func__sqrtf_use=yes
54820 else
54821 glibcxx_cv_func__sqrtf_use=no
54822 fi
54823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54824 ac_ext=c
54825 ac_cpp='$CPP $CPPFLAGS'
54826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54829
54830
54831 fi
54832
54833 fi
54834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
54835 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
54836
54837 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
54838 for ac_func in _sqrtf
54839 do :
54840 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
54841 if test "x$ac_cv_func__sqrtf" = x""yes; then :
54842 cat >>confdefs.h <<_ACEOF
54843 #define HAVE__SQRTF 1
54844 _ACEOF
54845
54846 fi
54847 done
54848
54849 fi
54850 fi
54851
54852
54853
54854
54855
54856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
54857 $as_echo_n "checking for sincosf declaration... " >&6; }
54858 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
54859 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
54860 $as_echo_n "(cached) " >&6
54861 else
54862
54863
54864 ac_ext=cpp
54865 ac_cpp='$CXXCPP $CPPFLAGS'
54866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54869
54870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54871 /* end confdefs.h. */
54872 #include <math.h>
54873 int
54874 main ()
54875 {
54876 sincosf(0, 0, 0);
54877 ;
54878 return 0;
54879 }
54880 _ACEOF
54881 if ac_fn_cxx_try_compile "$LINENO"; then :
54882 glibcxx_cv_func_sincosf_use=yes
54883 else
54884 glibcxx_cv_func_sincosf_use=no
54885 fi
54886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54887 ac_ext=c
54888 ac_cpp='$CPP $CPPFLAGS'
54889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54892
54893
54894 fi
54895
54896 fi
54897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
54898 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
54899
54900 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
54901 for ac_func in sincosf
54902 do :
54903 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
54904 if test "x$ac_cv_func_sincosf" = x""yes; then :
54905 cat >>confdefs.h <<_ACEOF
54906 #define HAVE_SINCOSF 1
54907 _ACEOF
54908
54909 fi
54910 done
54911
54912 else
54913
54914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
54915 $as_echo_n "checking for _sincosf declaration... " >&6; }
54916 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
54917 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
54918 $as_echo_n "(cached) " >&6
54919 else
54920
54921
54922 ac_ext=cpp
54923 ac_cpp='$CXXCPP $CPPFLAGS'
54924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54927
54928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54929 /* end confdefs.h. */
54930 #include <math.h>
54931 int
54932 main ()
54933 {
54934 _sincosf(0, 0, 0);
54935 ;
54936 return 0;
54937 }
54938 _ACEOF
54939 if ac_fn_cxx_try_compile "$LINENO"; then :
54940 glibcxx_cv_func__sincosf_use=yes
54941 else
54942 glibcxx_cv_func__sincosf_use=no
54943 fi
54944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54945 ac_ext=c
54946 ac_cpp='$CPP $CPPFLAGS'
54947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54950
54951
54952 fi
54953
54954 fi
54955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
54956 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
54957
54958 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54959 for ac_func in _sincosf
54960 do :
54961 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
54962 if test "x$ac_cv_func__sincosf" = x""yes; then :
54963 cat >>confdefs.h <<_ACEOF
54964 #define HAVE__SINCOSF 1
54965 _ACEOF
54966
54967 fi
54968 done
54969
54970 fi
54971 fi
54972
54973
54974
54975
54976
54977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
54978 $as_echo_n "checking for finitef declaration... " >&6; }
54979 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54980 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
54981 $as_echo_n "(cached) " >&6
54982 else
54983
54984
54985 ac_ext=cpp
54986 ac_cpp='$CXXCPP $CPPFLAGS'
54987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54990
54991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54992 /* end confdefs.h. */
54993 #include <math.h>
54994 #ifdef HAVE_IEEEFP_H
54995 #include <ieeefp.h>
54996 #endif
54997
54998 int
54999 main ()
55000 {
55001 finitef(0);
55002 ;
55003 return 0;
55004 }
55005 _ACEOF
55006 if ac_fn_cxx_try_compile "$LINENO"; then :
55007 glibcxx_cv_func_finitef_use=yes
55008 else
55009 glibcxx_cv_func_finitef_use=no
55010 fi
55011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55012 ac_ext=c
55013 ac_cpp='$CPP $CPPFLAGS'
55014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55017
55018
55019 fi
55020
55021 fi
55022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55023 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55024
55025 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55026 for ac_func in finitef
55027 do :
55028 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55029 if test "x$ac_cv_func_finitef" = x""yes; then :
55030 cat >>confdefs.h <<_ACEOF
55031 #define HAVE_FINITEF 1
55032 _ACEOF
55033
55034 fi
55035 done
55036
55037 else
55038
55039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55040 $as_echo_n "checking for _finitef declaration... " >&6; }
55041 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55042 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55043 $as_echo_n "(cached) " >&6
55044 else
55045
55046
55047 ac_ext=cpp
55048 ac_cpp='$CXXCPP $CPPFLAGS'
55049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55052
55053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55054 /* end confdefs.h. */
55055 #include <math.h>
55056 #ifdef HAVE_IEEEFP_H
55057 #include <ieeefp.h>
55058 #endif
55059
55060 int
55061 main ()
55062 {
55063 _finitef(0);
55064 ;
55065 return 0;
55066 }
55067 _ACEOF
55068 if ac_fn_cxx_try_compile "$LINENO"; then :
55069 glibcxx_cv_func__finitef_use=yes
55070 else
55071 glibcxx_cv_func__finitef_use=no
55072 fi
55073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55074 ac_ext=c
55075 ac_cpp='$CPP $CPPFLAGS'
55076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55079
55080
55081 fi
55082
55083 fi
55084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55085 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55086
55087 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55088 for ac_func in _finitef
55089 do :
55090 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55091 if test "x$ac_cv_func__finitef" = x""yes; then :
55092 cat >>confdefs.h <<_ACEOF
55093 #define HAVE__FINITEF 1
55094 _ACEOF
55095
55096 fi
55097 done
55098
55099 fi
55100 fi
55101
55102
55103
55104
55105
55106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55107 $as_echo_n "checking for long double trig functions... " >&6; }
55108 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55109 $as_echo_n "(cached) " >&6
55110 else
55111
55112
55113 ac_ext=cpp
55114 ac_cpp='$CXXCPP $CPPFLAGS'
55115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55118
55119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55120 /* end confdefs.h. */
55121 #include <math.h>
55122 int
55123 main ()
55124 {
55125 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
55126 ;
55127 return 0;
55128 }
55129 _ACEOF
55130 if ac_fn_cxx_try_compile "$LINENO"; then :
55131 glibcxx_cv_func_long_double_trig_use=yes
55132 else
55133 glibcxx_cv_func_long_double_trig_use=no
55134 fi
55135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55136 ac_ext=c
55137 ac_cpp='$CPP $CPPFLAGS'
55138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55141
55142 fi
55143
55144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
55145 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
55146 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
55147 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
55148 do :
55149 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55150 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55151 eval as_val=\$$as_ac_var
55152 if test "x$as_val" = x""yes; then :
55153 cat >>confdefs.h <<_ACEOF
55154 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55155 _ACEOF
55156
55157 fi
55158 done
55159
55160 else
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
55162 $as_echo_n "checking for _long double trig functions... " >&6; }
55163 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
55164 $as_echo_n "(cached) " >&6
55165 else
55166
55167
55168 ac_ext=cpp
55169 ac_cpp='$CXXCPP $CPPFLAGS'
55170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55173
55174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55175 /* end confdefs.h. */
55176 #include <math.h>
55177 int
55178 main ()
55179 {
55180 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
55181 ;
55182 return 0;
55183 }
55184 _ACEOF
55185 if ac_fn_cxx_try_compile "$LINENO"; then :
55186 glibcxx_cv_func__long_double_trig_use=yes
55187 else
55188 glibcxx_cv_func__long_double_trig_use=no
55189 fi
55190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55191 ac_ext=c
55192 ac_cpp='$CPP $CPPFLAGS'
55193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55196
55197 fi
55198
55199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
55200 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
55201 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
55202 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
55203 do :
55204 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55205 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55206 eval as_val=\$$as_ac_var
55207 if test "x$as_val" = x""yes; then :
55208 cat >>confdefs.h <<_ACEOF
55209 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55210 _ACEOF
55211
55212 fi
55213 done
55214
55215 fi
55216 fi
55217
55218
55219
55220
55221
55222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
55223 $as_echo_n "checking for long double round functions... " >&6; }
55224 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
55225 $as_echo_n "(cached) " >&6
55226 else
55227
55228
55229 ac_ext=cpp
55230 ac_cpp='$CXXCPP $CPPFLAGS'
55231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55234
55235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55236 /* end confdefs.h. */
55237 #include <math.h>
55238 int
55239 main ()
55240 {
55241 ceill (0); floorl (0);
55242 ;
55243 return 0;
55244 }
55245 _ACEOF
55246 if ac_fn_cxx_try_compile "$LINENO"; then :
55247 glibcxx_cv_func_long_double_round_use=yes
55248 else
55249 glibcxx_cv_func_long_double_round_use=no
55250 fi
55251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55252 ac_ext=c
55253 ac_cpp='$CPP $CPPFLAGS'
55254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55257
55258 fi
55259
55260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
55261 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
55262 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55263 for ac_func in ceill floorl
55264 do :
55265 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55266 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55267 eval as_val=\$$as_ac_var
55268 if test "x$as_val" = x""yes; then :
55269 cat >>confdefs.h <<_ACEOF
55270 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55271 _ACEOF
55272
55273 fi
55274 done
55275
55276 else
55277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
55278 $as_echo_n "checking for _long double round functions... " >&6; }
55279 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
55280 $as_echo_n "(cached) " >&6
55281 else
55282
55283
55284 ac_ext=cpp
55285 ac_cpp='$CXXCPP $CPPFLAGS'
55286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55289
55290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55291 /* end confdefs.h. */
55292 #include <math.h>
55293 int
55294 main ()
55295 {
55296 _ceill (0); _floorl (0);
55297 ;
55298 return 0;
55299 }
55300 _ACEOF
55301 if ac_fn_cxx_try_compile "$LINENO"; then :
55302 glibcxx_cv_func__long_double_round_use=yes
55303 else
55304 glibcxx_cv_func__long_double_round_use=no
55305 fi
55306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55307 ac_ext=c
55308 ac_cpp='$CPP $CPPFLAGS'
55309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55312
55313 fi
55314
55315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
55316 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
55317 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55318 for ac_func in _ceill _floorl
55319 do :
55320 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55321 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55322 eval as_val=\$$as_ac_var
55323 if test "x$as_val" = x""yes; then :
55324 cat >>confdefs.h <<_ACEOF
55325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55326 _ACEOF
55327
55328 fi
55329 done
55330
55331 fi
55332 fi
55333
55334
55335
55336
55337
55338
55339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
55340 $as_echo_n "checking for isnanl declaration... " >&6; }
55341 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55342 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
55343 $as_echo_n "(cached) " >&6
55344 else
55345
55346
55347 ac_ext=cpp
55348 ac_cpp='$CXXCPP $CPPFLAGS'
55349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55352
55353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55354 /* end confdefs.h. */
55355 #include <math.h>
55356 #ifdef HAVE_IEEEFP_H
55357 #include <ieeefp.h>
55358 #endif
55359
55360 int
55361 main ()
55362 {
55363 isnanl(0);
55364 ;
55365 return 0;
55366 }
55367 _ACEOF
55368 if ac_fn_cxx_try_compile "$LINENO"; then :
55369 glibcxx_cv_func_isnanl_use=yes
55370 else
55371 glibcxx_cv_func_isnanl_use=no
55372 fi
55373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55374 ac_ext=c
55375 ac_cpp='$CPP $CPPFLAGS'
55376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55379
55380
55381 fi
55382
55383 fi
55384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
55385 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
55386
55387 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55388 for ac_func in isnanl
55389 do :
55390 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
55391 if test "x$ac_cv_func_isnanl" = x""yes; then :
55392 cat >>confdefs.h <<_ACEOF
55393 #define HAVE_ISNANL 1
55394 _ACEOF
55395
55396 fi
55397 done
55398
55399 else
55400
55401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
55402 $as_echo_n "checking for _isnanl declaration... " >&6; }
55403 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55404 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
55405 $as_echo_n "(cached) " >&6
55406 else
55407
55408
55409 ac_ext=cpp
55410 ac_cpp='$CXXCPP $CPPFLAGS'
55411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55414
55415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55416 /* end confdefs.h. */
55417 #include <math.h>
55418 #ifdef HAVE_IEEEFP_H
55419 #include <ieeefp.h>
55420 #endif
55421
55422 int
55423 main ()
55424 {
55425 _isnanl(0);
55426 ;
55427 return 0;
55428 }
55429 _ACEOF
55430 if ac_fn_cxx_try_compile "$LINENO"; then :
55431 glibcxx_cv_func__isnanl_use=yes
55432 else
55433 glibcxx_cv_func__isnanl_use=no
55434 fi
55435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55436 ac_ext=c
55437 ac_cpp='$CPP $CPPFLAGS'
55438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55441
55442
55443 fi
55444
55445 fi
55446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
55447 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
55448
55449 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55450 for ac_func in _isnanl
55451 do :
55452 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
55453 if test "x$ac_cv_func__isnanl" = x""yes; then :
55454 cat >>confdefs.h <<_ACEOF
55455 #define HAVE__ISNANL 1
55456 _ACEOF
55457
55458 fi
55459 done
55460
55461 fi
55462 fi
55463
55464
55465
55466
55467
55468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
55469 $as_echo_n "checking for isinfl declaration... " >&6; }
55470 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55471 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
55472 $as_echo_n "(cached) " >&6
55473 else
55474
55475
55476 ac_ext=cpp
55477 ac_cpp='$CXXCPP $CPPFLAGS'
55478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55481
55482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55483 /* end confdefs.h. */
55484 #include <math.h>
55485 #ifdef HAVE_IEEEFP_H
55486 #include <ieeefp.h>
55487 #endif
55488
55489 int
55490 main ()
55491 {
55492 isinfl(0);
55493 ;
55494 return 0;
55495 }
55496 _ACEOF
55497 if ac_fn_cxx_try_compile "$LINENO"; then :
55498 glibcxx_cv_func_isinfl_use=yes
55499 else
55500 glibcxx_cv_func_isinfl_use=no
55501 fi
55502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55503 ac_ext=c
55504 ac_cpp='$CPP $CPPFLAGS'
55505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55508
55509
55510 fi
55511
55512 fi
55513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
55514 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
55515
55516 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55517 for ac_func in isinfl
55518 do :
55519 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
55520 if test "x$ac_cv_func_isinfl" = x""yes; then :
55521 cat >>confdefs.h <<_ACEOF
55522 #define HAVE_ISINFL 1
55523 _ACEOF
55524
55525 fi
55526 done
55527
55528 else
55529
55530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
55531 $as_echo_n "checking for _isinfl declaration... " >&6; }
55532 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55533 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
55534 $as_echo_n "(cached) " >&6
55535 else
55536
55537
55538 ac_ext=cpp
55539 ac_cpp='$CXXCPP $CPPFLAGS'
55540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55543
55544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55545 /* end confdefs.h. */
55546 #include <math.h>
55547 #ifdef HAVE_IEEEFP_H
55548 #include <ieeefp.h>
55549 #endif
55550
55551 int
55552 main ()
55553 {
55554 _isinfl(0);
55555 ;
55556 return 0;
55557 }
55558 _ACEOF
55559 if ac_fn_cxx_try_compile "$LINENO"; then :
55560 glibcxx_cv_func__isinfl_use=yes
55561 else
55562 glibcxx_cv_func__isinfl_use=no
55563 fi
55564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55565 ac_ext=c
55566 ac_cpp='$CPP $CPPFLAGS'
55567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55570
55571
55572 fi
55573
55574 fi
55575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
55576 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
55577
55578 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55579 for ac_func in _isinfl
55580 do :
55581 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
55582 if test "x$ac_cv_func__isinfl" = x""yes; then :
55583 cat >>confdefs.h <<_ACEOF
55584 #define HAVE__ISINFL 1
55585 _ACEOF
55586
55587 fi
55588 done
55589
55590 fi
55591 fi
55592
55593
55594
55595
55596
55597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
55598 $as_echo_n "checking for atan2l declaration... " >&6; }
55599 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
55600 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
55601 $as_echo_n "(cached) " >&6
55602 else
55603
55604
55605 ac_ext=cpp
55606 ac_cpp='$CXXCPP $CPPFLAGS'
55607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55610
55611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55612 /* end confdefs.h. */
55613 #include <math.h>
55614 int
55615 main ()
55616 {
55617 atan2l(0, 0);
55618 ;
55619 return 0;
55620 }
55621 _ACEOF
55622 if ac_fn_cxx_try_compile "$LINENO"; then :
55623 glibcxx_cv_func_atan2l_use=yes
55624 else
55625 glibcxx_cv_func_atan2l_use=no
55626 fi
55627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55628 ac_ext=c
55629 ac_cpp='$CPP $CPPFLAGS'
55630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55633
55634
55635 fi
55636
55637 fi
55638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
55639 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
55640
55641 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
55642 for ac_func in atan2l
55643 do :
55644 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
55645 if test "x$ac_cv_func_atan2l" = x""yes; then :
55646 cat >>confdefs.h <<_ACEOF
55647 #define HAVE_ATAN2L 1
55648 _ACEOF
55649
55650 fi
55651 done
55652
55653 else
55654
55655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
55656 $as_echo_n "checking for _atan2l declaration... " >&6; }
55657 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
55658 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
55659 $as_echo_n "(cached) " >&6
55660 else
55661
55662
55663 ac_ext=cpp
55664 ac_cpp='$CXXCPP $CPPFLAGS'
55665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55668
55669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55670 /* end confdefs.h. */
55671 #include <math.h>
55672 int
55673 main ()
55674 {
55675 _atan2l(0, 0);
55676 ;
55677 return 0;
55678 }
55679 _ACEOF
55680 if ac_fn_cxx_try_compile "$LINENO"; then :
55681 glibcxx_cv_func__atan2l_use=yes
55682 else
55683 glibcxx_cv_func__atan2l_use=no
55684 fi
55685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55686 ac_ext=c
55687 ac_cpp='$CPP $CPPFLAGS'
55688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55691
55692
55693 fi
55694
55695 fi
55696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
55697 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
55698
55699 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
55700 for ac_func in _atan2l
55701 do :
55702 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
55703 if test "x$ac_cv_func__atan2l" = x""yes; then :
55704 cat >>confdefs.h <<_ACEOF
55705 #define HAVE__ATAN2L 1
55706 _ACEOF
55707
55708 fi
55709 done
55710
55711 fi
55712 fi
55713
55714
55715
55716
55717
55718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
55719 $as_echo_n "checking for expl declaration... " >&6; }
55720 if test x${glibcxx_cv_func_expl_use+set} != xset; then
55721 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
55722 $as_echo_n "(cached) " >&6
55723 else
55724
55725
55726 ac_ext=cpp
55727 ac_cpp='$CXXCPP $CPPFLAGS'
55728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55731
55732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55733 /* end confdefs.h. */
55734 #include <math.h>
55735 #ifdef HAVE_IEEEFP_H
55736 #include <ieeefp.h>
55737 #endif
55738
55739 int
55740 main ()
55741 {
55742 expl(0);
55743 ;
55744 return 0;
55745 }
55746 _ACEOF
55747 if ac_fn_cxx_try_compile "$LINENO"; then :
55748 glibcxx_cv_func_expl_use=yes
55749 else
55750 glibcxx_cv_func_expl_use=no
55751 fi
55752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55753 ac_ext=c
55754 ac_cpp='$CPP $CPPFLAGS'
55755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55758
55759
55760 fi
55761
55762 fi
55763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
55764 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
55765
55766 if test x$glibcxx_cv_func_expl_use = x"yes"; then
55767 for ac_func in expl
55768 do :
55769 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
55770 if test "x$ac_cv_func_expl" = x""yes; then :
55771 cat >>confdefs.h <<_ACEOF
55772 #define HAVE_EXPL 1
55773 _ACEOF
55774
55775 fi
55776 done
55777
55778 else
55779
55780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
55781 $as_echo_n "checking for _expl declaration... " >&6; }
55782 if test x${glibcxx_cv_func__expl_use+set} != xset; then
55783 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
55784 $as_echo_n "(cached) " >&6
55785 else
55786
55787
55788 ac_ext=cpp
55789 ac_cpp='$CXXCPP $CPPFLAGS'
55790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55793
55794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55795 /* end confdefs.h. */
55796 #include <math.h>
55797 #ifdef HAVE_IEEEFP_H
55798 #include <ieeefp.h>
55799 #endif
55800
55801 int
55802 main ()
55803 {
55804 _expl(0);
55805 ;
55806 return 0;
55807 }
55808 _ACEOF
55809 if ac_fn_cxx_try_compile "$LINENO"; then :
55810 glibcxx_cv_func__expl_use=yes
55811 else
55812 glibcxx_cv_func__expl_use=no
55813 fi
55814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55815 ac_ext=c
55816 ac_cpp='$CPP $CPPFLAGS'
55817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55820
55821
55822 fi
55823
55824 fi
55825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
55826 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
55827
55828 if test x$glibcxx_cv_func__expl_use = x"yes"; then
55829 for ac_func in _expl
55830 do :
55831 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
55832 if test "x$ac_cv_func__expl" = x""yes; then :
55833 cat >>confdefs.h <<_ACEOF
55834 #define HAVE__EXPL 1
55835 _ACEOF
55836
55837 fi
55838 done
55839
55840 fi
55841 fi
55842
55843
55844
55845
55846
55847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
55848 $as_echo_n "checking for fabsl declaration... " >&6; }
55849 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
55850 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
55851 $as_echo_n "(cached) " >&6
55852 else
55853
55854
55855 ac_ext=cpp
55856 ac_cpp='$CXXCPP $CPPFLAGS'
55857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55860
55861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55862 /* end confdefs.h. */
55863 #include <math.h>
55864 #ifdef HAVE_IEEEFP_H
55865 #include <ieeefp.h>
55866 #endif
55867
55868 int
55869 main ()
55870 {
55871 fabsl(0);
55872 ;
55873 return 0;
55874 }
55875 _ACEOF
55876 if ac_fn_cxx_try_compile "$LINENO"; then :
55877 glibcxx_cv_func_fabsl_use=yes
55878 else
55879 glibcxx_cv_func_fabsl_use=no
55880 fi
55881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55882 ac_ext=c
55883 ac_cpp='$CPP $CPPFLAGS'
55884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55887
55888
55889 fi
55890
55891 fi
55892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
55893 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
55894
55895 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
55896 for ac_func in fabsl
55897 do :
55898 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
55899 if test "x$ac_cv_func_fabsl" = x""yes; then :
55900 cat >>confdefs.h <<_ACEOF
55901 #define HAVE_FABSL 1
55902 _ACEOF
55903
55904 fi
55905 done
55906
55907 else
55908
55909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
55910 $as_echo_n "checking for _fabsl declaration... " >&6; }
55911 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
55912 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
55913 $as_echo_n "(cached) " >&6
55914 else
55915
55916
55917 ac_ext=cpp
55918 ac_cpp='$CXXCPP $CPPFLAGS'
55919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55922
55923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55924 /* end confdefs.h. */
55925 #include <math.h>
55926 #ifdef HAVE_IEEEFP_H
55927 #include <ieeefp.h>
55928 #endif
55929
55930 int
55931 main ()
55932 {
55933 _fabsl(0);
55934 ;
55935 return 0;
55936 }
55937 _ACEOF
55938 if ac_fn_cxx_try_compile "$LINENO"; then :
55939 glibcxx_cv_func__fabsl_use=yes
55940 else
55941 glibcxx_cv_func__fabsl_use=no
55942 fi
55943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55944 ac_ext=c
55945 ac_cpp='$CPP $CPPFLAGS'
55946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55949
55950
55951 fi
55952
55953 fi
55954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
55955 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
55956
55957 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
55958 for ac_func in _fabsl
55959 do :
55960 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
55961 if test "x$ac_cv_func__fabsl" = x""yes; then :
55962 cat >>confdefs.h <<_ACEOF
55963 #define HAVE__FABSL 1
55964 _ACEOF
55965
55966 fi
55967 done
55968
55969 fi
55970 fi
55971
55972
55973
55974
55975
55976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
55977 $as_echo_n "checking for fmodl declaration... " >&6; }
55978 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55979 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
55980 $as_echo_n "(cached) " >&6
55981 else
55982
55983
55984 ac_ext=cpp
55985 ac_cpp='$CXXCPP $CPPFLAGS'
55986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55989
55990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55991 /* end confdefs.h. */
55992 #include <math.h>
55993 int
55994 main ()
55995 {
55996 fmodl(0, 0);
55997 ;
55998 return 0;
55999 }
56000 _ACEOF
56001 if ac_fn_cxx_try_compile "$LINENO"; then :
56002 glibcxx_cv_func_fmodl_use=yes
56003 else
56004 glibcxx_cv_func_fmodl_use=no
56005 fi
56006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56007 ac_ext=c
56008 ac_cpp='$CPP $CPPFLAGS'
56009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56012
56013
56014 fi
56015
56016 fi
56017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56018 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56019
56020 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56021 for ac_func in fmodl
56022 do :
56023 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56024 if test "x$ac_cv_func_fmodl" = x""yes; then :
56025 cat >>confdefs.h <<_ACEOF
56026 #define HAVE_FMODL 1
56027 _ACEOF
56028
56029 fi
56030 done
56031
56032 else
56033
56034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56035 $as_echo_n "checking for _fmodl declaration... " >&6; }
56036 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56037 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56038 $as_echo_n "(cached) " >&6
56039 else
56040
56041
56042 ac_ext=cpp
56043 ac_cpp='$CXXCPP $CPPFLAGS'
56044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56047
56048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56049 /* end confdefs.h. */
56050 #include <math.h>
56051 int
56052 main ()
56053 {
56054 _fmodl(0, 0);
56055 ;
56056 return 0;
56057 }
56058 _ACEOF
56059 if ac_fn_cxx_try_compile "$LINENO"; then :
56060 glibcxx_cv_func__fmodl_use=yes
56061 else
56062 glibcxx_cv_func__fmodl_use=no
56063 fi
56064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56065 ac_ext=c
56066 ac_cpp='$CPP $CPPFLAGS'
56067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56070
56071
56072 fi
56073
56074 fi
56075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56076 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56077
56078 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56079 for ac_func in _fmodl
56080 do :
56081 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56082 if test "x$ac_cv_func__fmodl" = x""yes; then :
56083 cat >>confdefs.h <<_ACEOF
56084 #define HAVE__FMODL 1
56085 _ACEOF
56086
56087 fi
56088 done
56089
56090 fi
56091 fi
56092
56093
56094
56095
56096
56097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56098 $as_echo_n "checking for frexpl declaration... " >&6; }
56099 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56100 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56101 $as_echo_n "(cached) " >&6
56102 else
56103
56104
56105 ac_ext=cpp
56106 ac_cpp='$CXXCPP $CPPFLAGS'
56107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56110
56111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56112 /* end confdefs.h. */
56113 #include <math.h>
56114 int
56115 main ()
56116 {
56117 frexpl(0, 0);
56118 ;
56119 return 0;
56120 }
56121 _ACEOF
56122 if ac_fn_cxx_try_compile "$LINENO"; then :
56123 glibcxx_cv_func_frexpl_use=yes
56124 else
56125 glibcxx_cv_func_frexpl_use=no
56126 fi
56127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56128 ac_ext=c
56129 ac_cpp='$CPP $CPPFLAGS'
56130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56133
56134
56135 fi
56136
56137 fi
56138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
56139 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
56140
56141 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
56142 for ac_func in frexpl
56143 do :
56144 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
56145 if test "x$ac_cv_func_frexpl" = x""yes; then :
56146 cat >>confdefs.h <<_ACEOF
56147 #define HAVE_FREXPL 1
56148 _ACEOF
56149
56150 fi
56151 done
56152
56153 else
56154
56155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
56156 $as_echo_n "checking for _frexpl declaration... " >&6; }
56157 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
56158 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
56159 $as_echo_n "(cached) " >&6
56160 else
56161
56162
56163 ac_ext=cpp
56164 ac_cpp='$CXXCPP $CPPFLAGS'
56165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56168
56169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56170 /* end confdefs.h. */
56171 #include <math.h>
56172 int
56173 main ()
56174 {
56175 _frexpl(0, 0);
56176 ;
56177 return 0;
56178 }
56179 _ACEOF
56180 if ac_fn_cxx_try_compile "$LINENO"; then :
56181 glibcxx_cv_func__frexpl_use=yes
56182 else
56183 glibcxx_cv_func__frexpl_use=no
56184 fi
56185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56186 ac_ext=c
56187 ac_cpp='$CPP $CPPFLAGS'
56188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56191
56192
56193 fi
56194
56195 fi
56196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
56197 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
56198
56199 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
56200 for ac_func in _frexpl
56201 do :
56202 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
56203 if test "x$ac_cv_func__frexpl" = x""yes; then :
56204 cat >>confdefs.h <<_ACEOF
56205 #define HAVE__FREXPL 1
56206 _ACEOF
56207
56208 fi
56209 done
56210
56211 fi
56212 fi
56213
56214
56215
56216
56217
56218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
56219 $as_echo_n "checking for hypotl declaration... " >&6; }
56220 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
56221 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
56222 $as_echo_n "(cached) " >&6
56223 else
56224
56225
56226 ac_ext=cpp
56227 ac_cpp='$CXXCPP $CPPFLAGS'
56228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56231
56232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56233 /* end confdefs.h. */
56234 #include <math.h>
56235 int
56236 main ()
56237 {
56238 hypotl(0, 0);
56239 ;
56240 return 0;
56241 }
56242 _ACEOF
56243 if ac_fn_cxx_try_compile "$LINENO"; then :
56244 glibcxx_cv_func_hypotl_use=yes
56245 else
56246 glibcxx_cv_func_hypotl_use=no
56247 fi
56248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56249 ac_ext=c
56250 ac_cpp='$CPP $CPPFLAGS'
56251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56254
56255
56256 fi
56257
56258 fi
56259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
56260 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
56261
56262 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
56263 for ac_func in hypotl
56264 do :
56265 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
56266 if test "x$ac_cv_func_hypotl" = x""yes; then :
56267 cat >>confdefs.h <<_ACEOF
56268 #define HAVE_HYPOTL 1
56269 _ACEOF
56270
56271 fi
56272 done
56273
56274 else
56275
56276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
56277 $as_echo_n "checking for _hypotl declaration... " >&6; }
56278 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
56279 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
56280 $as_echo_n "(cached) " >&6
56281 else
56282
56283
56284 ac_ext=cpp
56285 ac_cpp='$CXXCPP $CPPFLAGS'
56286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56289
56290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56291 /* end confdefs.h. */
56292 #include <math.h>
56293 int
56294 main ()
56295 {
56296 _hypotl(0, 0);
56297 ;
56298 return 0;
56299 }
56300 _ACEOF
56301 if ac_fn_cxx_try_compile "$LINENO"; then :
56302 glibcxx_cv_func__hypotl_use=yes
56303 else
56304 glibcxx_cv_func__hypotl_use=no
56305 fi
56306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56307 ac_ext=c
56308 ac_cpp='$CPP $CPPFLAGS'
56309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56312
56313
56314 fi
56315
56316 fi
56317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
56318 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
56319
56320 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56321 for ac_func in _hypotl
56322 do :
56323 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
56324 if test "x$ac_cv_func__hypotl" = x""yes; then :
56325 cat >>confdefs.h <<_ACEOF
56326 #define HAVE__HYPOTL 1
56327 _ACEOF
56328
56329 fi
56330 done
56331
56332 fi
56333 fi
56334
56335
56336
56337
56338
56339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
56340 $as_echo_n "checking for ldexpl declaration... " >&6; }
56341 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56342 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
56343 $as_echo_n "(cached) " >&6
56344 else
56345
56346
56347 ac_ext=cpp
56348 ac_cpp='$CXXCPP $CPPFLAGS'
56349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56352
56353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56354 /* end confdefs.h. */
56355 #include <math.h>
56356 int
56357 main ()
56358 {
56359 ldexpl(0, 0);
56360 ;
56361 return 0;
56362 }
56363 _ACEOF
56364 if ac_fn_cxx_try_compile "$LINENO"; then :
56365 glibcxx_cv_func_ldexpl_use=yes
56366 else
56367 glibcxx_cv_func_ldexpl_use=no
56368 fi
56369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56370 ac_ext=c
56371 ac_cpp='$CPP $CPPFLAGS'
56372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56375
56376
56377 fi
56378
56379 fi
56380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
56381 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
56382
56383 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56384 for ac_func in ldexpl
56385 do :
56386 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
56387 if test "x$ac_cv_func_ldexpl" = x""yes; then :
56388 cat >>confdefs.h <<_ACEOF
56389 #define HAVE_LDEXPL 1
56390 _ACEOF
56391
56392 fi
56393 done
56394
56395 else
56396
56397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
56398 $as_echo_n "checking for _ldexpl declaration... " >&6; }
56399 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56400 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
56401 $as_echo_n "(cached) " >&6
56402 else
56403
56404
56405 ac_ext=cpp
56406 ac_cpp='$CXXCPP $CPPFLAGS'
56407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56410
56411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56412 /* end confdefs.h. */
56413 #include <math.h>
56414 int
56415 main ()
56416 {
56417 _ldexpl(0, 0);
56418 ;
56419 return 0;
56420 }
56421 _ACEOF
56422 if ac_fn_cxx_try_compile "$LINENO"; then :
56423 glibcxx_cv_func__ldexpl_use=yes
56424 else
56425 glibcxx_cv_func__ldexpl_use=no
56426 fi
56427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56428 ac_ext=c
56429 ac_cpp='$CPP $CPPFLAGS'
56430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56433
56434
56435 fi
56436
56437 fi
56438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
56439 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
56440
56441 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56442 for ac_func in _ldexpl
56443 do :
56444 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
56445 if test "x$ac_cv_func__ldexpl" = x""yes; then :
56446 cat >>confdefs.h <<_ACEOF
56447 #define HAVE__LDEXPL 1
56448 _ACEOF
56449
56450 fi
56451 done
56452
56453 fi
56454 fi
56455
56456
56457
56458
56459
56460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
56461 $as_echo_n "checking for logl declaration... " >&6; }
56462 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56463 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
56464 $as_echo_n "(cached) " >&6
56465 else
56466
56467
56468 ac_ext=cpp
56469 ac_cpp='$CXXCPP $CPPFLAGS'
56470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56473
56474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56475 /* end confdefs.h. */
56476 #include <math.h>
56477 #ifdef HAVE_IEEEFP_H
56478 #include <ieeefp.h>
56479 #endif
56480
56481 int
56482 main ()
56483 {
56484 logl(0);
56485 ;
56486 return 0;
56487 }
56488 _ACEOF
56489 if ac_fn_cxx_try_compile "$LINENO"; then :
56490 glibcxx_cv_func_logl_use=yes
56491 else
56492 glibcxx_cv_func_logl_use=no
56493 fi
56494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56495 ac_ext=c
56496 ac_cpp='$CPP $CPPFLAGS'
56497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56500
56501
56502 fi
56503
56504 fi
56505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
56506 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
56507
56508 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56509 for ac_func in logl
56510 do :
56511 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
56512 if test "x$ac_cv_func_logl" = x""yes; then :
56513 cat >>confdefs.h <<_ACEOF
56514 #define HAVE_LOGL 1
56515 _ACEOF
56516
56517 fi
56518 done
56519
56520 else
56521
56522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
56523 $as_echo_n "checking for _logl declaration... " >&6; }
56524 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56525 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
56526 $as_echo_n "(cached) " >&6
56527 else
56528
56529
56530 ac_ext=cpp
56531 ac_cpp='$CXXCPP $CPPFLAGS'
56532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56535
56536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56537 /* end confdefs.h. */
56538 #include <math.h>
56539 #ifdef HAVE_IEEEFP_H
56540 #include <ieeefp.h>
56541 #endif
56542
56543 int
56544 main ()
56545 {
56546 _logl(0);
56547 ;
56548 return 0;
56549 }
56550 _ACEOF
56551 if ac_fn_cxx_try_compile "$LINENO"; then :
56552 glibcxx_cv_func__logl_use=yes
56553 else
56554 glibcxx_cv_func__logl_use=no
56555 fi
56556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56557 ac_ext=c
56558 ac_cpp='$CPP $CPPFLAGS'
56559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56562
56563
56564 fi
56565
56566 fi
56567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
56568 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
56569
56570 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56571 for ac_func in _logl
56572 do :
56573 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
56574 if test "x$ac_cv_func__logl" = x""yes; then :
56575 cat >>confdefs.h <<_ACEOF
56576 #define HAVE__LOGL 1
56577 _ACEOF
56578
56579 fi
56580 done
56581
56582 fi
56583 fi
56584
56585
56586
56587
56588
56589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
56590 $as_echo_n "checking for log10l declaration... " >&6; }
56591 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56592 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
56593 $as_echo_n "(cached) " >&6
56594 else
56595
56596
56597 ac_ext=cpp
56598 ac_cpp='$CXXCPP $CPPFLAGS'
56599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56602
56603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56604 /* end confdefs.h. */
56605 #include <math.h>
56606 #ifdef HAVE_IEEEFP_H
56607 #include <ieeefp.h>
56608 #endif
56609
56610 int
56611 main ()
56612 {
56613 log10l(0);
56614 ;
56615 return 0;
56616 }
56617 _ACEOF
56618 if ac_fn_cxx_try_compile "$LINENO"; then :
56619 glibcxx_cv_func_log10l_use=yes
56620 else
56621 glibcxx_cv_func_log10l_use=no
56622 fi
56623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56624 ac_ext=c
56625 ac_cpp='$CPP $CPPFLAGS'
56626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56629
56630
56631 fi
56632
56633 fi
56634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
56635 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
56636
56637 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56638 for ac_func in log10l
56639 do :
56640 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
56641 if test "x$ac_cv_func_log10l" = x""yes; then :
56642 cat >>confdefs.h <<_ACEOF
56643 #define HAVE_LOG10L 1
56644 _ACEOF
56645
56646 fi
56647 done
56648
56649 else
56650
56651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
56652 $as_echo_n "checking for _log10l declaration... " >&6; }
56653 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
56654 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
56655 $as_echo_n "(cached) " >&6
56656 else
56657
56658
56659 ac_ext=cpp
56660 ac_cpp='$CXXCPP $CPPFLAGS'
56661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56664
56665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56666 /* end confdefs.h. */
56667 #include <math.h>
56668 #ifdef HAVE_IEEEFP_H
56669 #include <ieeefp.h>
56670 #endif
56671
56672 int
56673 main ()
56674 {
56675 _log10l(0);
56676 ;
56677 return 0;
56678 }
56679 _ACEOF
56680 if ac_fn_cxx_try_compile "$LINENO"; then :
56681 glibcxx_cv_func__log10l_use=yes
56682 else
56683 glibcxx_cv_func__log10l_use=no
56684 fi
56685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56686 ac_ext=c
56687 ac_cpp='$CPP $CPPFLAGS'
56688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56691
56692
56693 fi
56694
56695 fi
56696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
56697 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
56698
56699 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
56700 for ac_func in _log10l
56701 do :
56702 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
56703 if test "x$ac_cv_func__log10l" = x""yes; then :
56704 cat >>confdefs.h <<_ACEOF
56705 #define HAVE__LOG10L 1
56706 _ACEOF
56707
56708 fi
56709 done
56710
56711 fi
56712 fi
56713
56714
56715
56716
56717
56718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
56719 $as_echo_n "checking for modfl declaration... " >&6; }
56720 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
56721 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
56722 $as_echo_n "(cached) " >&6
56723 else
56724
56725
56726 ac_ext=cpp
56727 ac_cpp='$CXXCPP $CPPFLAGS'
56728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56731
56732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56733 /* end confdefs.h. */
56734 #include <math.h>
56735 int
56736 main ()
56737 {
56738 modfl(0, 0);
56739 ;
56740 return 0;
56741 }
56742 _ACEOF
56743 if ac_fn_cxx_try_compile "$LINENO"; then :
56744 glibcxx_cv_func_modfl_use=yes
56745 else
56746 glibcxx_cv_func_modfl_use=no
56747 fi
56748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56749 ac_ext=c
56750 ac_cpp='$CPP $CPPFLAGS'
56751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56754
56755
56756 fi
56757
56758 fi
56759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
56760 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
56761
56762 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
56763 for ac_func in modfl
56764 do :
56765 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
56766 if test "x$ac_cv_func_modfl" = x""yes; then :
56767 cat >>confdefs.h <<_ACEOF
56768 #define HAVE_MODFL 1
56769 _ACEOF
56770
56771 fi
56772 done
56773
56774 else
56775
56776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
56777 $as_echo_n "checking for _modfl declaration... " >&6; }
56778 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
56779 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
56780 $as_echo_n "(cached) " >&6
56781 else
56782
56783
56784 ac_ext=cpp
56785 ac_cpp='$CXXCPP $CPPFLAGS'
56786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56789
56790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56791 /* end confdefs.h. */
56792 #include <math.h>
56793 int
56794 main ()
56795 {
56796 _modfl(0, 0);
56797 ;
56798 return 0;
56799 }
56800 _ACEOF
56801 if ac_fn_cxx_try_compile "$LINENO"; then :
56802 glibcxx_cv_func__modfl_use=yes
56803 else
56804 glibcxx_cv_func__modfl_use=no
56805 fi
56806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56807 ac_ext=c
56808 ac_cpp='$CPP $CPPFLAGS'
56809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56812
56813
56814 fi
56815
56816 fi
56817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
56818 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
56819
56820 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
56821 for ac_func in _modfl
56822 do :
56823 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
56824 if test "x$ac_cv_func__modfl" = x""yes; then :
56825 cat >>confdefs.h <<_ACEOF
56826 #define HAVE__MODFL 1
56827 _ACEOF
56828
56829 fi
56830 done
56831
56832 fi
56833 fi
56834
56835
56836
56837
56838
56839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
56840 $as_echo_n "checking for powl declaration... " >&6; }
56841 if test x${glibcxx_cv_func_powl_use+set} != xset; then
56842 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
56843 $as_echo_n "(cached) " >&6
56844 else
56845
56846
56847 ac_ext=cpp
56848 ac_cpp='$CXXCPP $CPPFLAGS'
56849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56852
56853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56854 /* end confdefs.h. */
56855 #include <math.h>
56856 int
56857 main ()
56858 {
56859 powl(0, 0);
56860 ;
56861 return 0;
56862 }
56863 _ACEOF
56864 if ac_fn_cxx_try_compile "$LINENO"; then :
56865 glibcxx_cv_func_powl_use=yes
56866 else
56867 glibcxx_cv_func_powl_use=no
56868 fi
56869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56870 ac_ext=c
56871 ac_cpp='$CPP $CPPFLAGS'
56872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56875
56876
56877 fi
56878
56879 fi
56880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
56881 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
56882
56883 if test x$glibcxx_cv_func_powl_use = x"yes"; then
56884 for ac_func in powl
56885 do :
56886 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
56887 if test "x$ac_cv_func_powl" = x""yes; then :
56888 cat >>confdefs.h <<_ACEOF
56889 #define HAVE_POWL 1
56890 _ACEOF
56891
56892 fi
56893 done
56894
56895 else
56896
56897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
56898 $as_echo_n "checking for _powl declaration... " >&6; }
56899 if test x${glibcxx_cv_func__powl_use+set} != xset; then
56900 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
56901 $as_echo_n "(cached) " >&6
56902 else
56903
56904
56905 ac_ext=cpp
56906 ac_cpp='$CXXCPP $CPPFLAGS'
56907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56910
56911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56912 /* end confdefs.h. */
56913 #include <math.h>
56914 int
56915 main ()
56916 {
56917 _powl(0, 0);
56918 ;
56919 return 0;
56920 }
56921 _ACEOF
56922 if ac_fn_cxx_try_compile "$LINENO"; then :
56923 glibcxx_cv_func__powl_use=yes
56924 else
56925 glibcxx_cv_func__powl_use=no
56926 fi
56927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56928 ac_ext=c
56929 ac_cpp='$CPP $CPPFLAGS'
56930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56933
56934
56935 fi
56936
56937 fi
56938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
56939 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
56940
56941 if test x$glibcxx_cv_func__powl_use = x"yes"; then
56942 for ac_func in _powl
56943 do :
56944 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
56945 if test "x$ac_cv_func__powl" = x""yes; then :
56946 cat >>confdefs.h <<_ACEOF
56947 #define HAVE__POWL 1
56948 _ACEOF
56949
56950 fi
56951 done
56952
56953 fi
56954 fi
56955
56956
56957
56958
56959
56960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
56961 $as_echo_n "checking for sqrtl declaration... " >&6; }
56962 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
56963 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
56964 $as_echo_n "(cached) " >&6
56965 else
56966
56967
56968 ac_ext=cpp
56969 ac_cpp='$CXXCPP $CPPFLAGS'
56970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56973
56974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56975 /* end confdefs.h. */
56976 #include <math.h>
56977 #ifdef HAVE_IEEEFP_H
56978 #include <ieeefp.h>
56979 #endif
56980
56981 int
56982 main ()
56983 {
56984 sqrtl(0);
56985 ;
56986 return 0;
56987 }
56988 _ACEOF
56989 if ac_fn_cxx_try_compile "$LINENO"; then :
56990 glibcxx_cv_func_sqrtl_use=yes
56991 else
56992 glibcxx_cv_func_sqrtl_use=no
56993 fi
56994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56995 ac_ext=c
56996 ac_cpp='$CPP $CPPFLAGS'
56997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57000
57001
57002 fi
57003
57004 fi
57005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57006 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57007
57008 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57009 for ac_func in sqrtl
57010 do :
57011 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57012 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57013 cat >>confdefs.h <<_ACEOF
57014 #define HAVE_SQRTL 1
57015 _ACEOF
57016
57017 fi
57018 done
57019
57020 else
57021
57022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57023 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57024 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57025 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57026 $as_echo_n "(cached) " >&6
57027 else
57028
57029
57030 ac_ext=cpp
57031 ac_cpp='$CXXCPP $CPPFLAGS'
57032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57035
57036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57037 /* end confdefs.h. */
57038 #include <math.h>
57039 #ifdef HAVE_IEEEFP_H
57040 #include <ieeefp.h>
57041 #endif
57042
57043 int
57044 main ()
57045 {
57046 _sqrtl(0);
57047 ;
57048 return 0;
57049 }
57050 _ACEOF
57051 if ac_fn_cxx_try_compile "$LINENO"; then :
57052 glibcxx_cv_func__sqrtl_use=yes
57053 else
57054 glibcxx_cv_func__sqrtl_use=no
57055 fi
57056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57057 ac_ext=c
57058 ac_cpp='$CPP $CPPFLAGS'
57059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57062
57063
57064 fi
57065
57066 fi
57067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57068 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57069
57070 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57071 for ac_func in _sqrtl
57072 do :
57073 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57074 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57075 cat >>confdefs.h <<_ACEOF
57076 #define HAVE__SQRTL 1
57077 _ACEOF
57078
57079 fi
57080 done
57081
57082 fi
57083 fi
57084
57085
57086
57087
57088
57089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57090 $as_echo_n "checking for sincosl declaration... " >&6; }
57091 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57092 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57093 $as_echo_n "(cached) " >&6
57094 else
57095
57096
57097 ac_ext=cpp
57098 ac_cpp='$CXXCPP $CPPFLAGS'
57099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57102
57103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57104 /* end confdefs.h. */
57105 #include <math.h>
57106 int
57107 main ()
57108 {
57109 sincosl(0, 0, 0);
57110 ;
57111 return 0;
57112 }
57113 _ACEOF
57114 if ac_fn_cxx_try_compile "$LINENO"; then :
57115 glibcxx_cv_func_sincosl_use=yes
57116 else
57117 glibcxx_cv_func_sincosl_use=no
57118 fi
57119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57120 ac_ext=c
57121 ac_cpp='$CPP $CPPFLAGS'
57122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57125
57126
57127 fi
57128
57129 fi
57130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
57131 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
57132
57133 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
57134 for ac_func in sincosl
57135 do :
57136 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
57137 if test "x$ac_cv_func_sincosl" = x""yes; then :
57138 cat >>confdefs.h <<_ACEOF
57139 #define HAVE_SINCOSL 1
57140 _ACEOF
57141
57142 fi
57143 done
57144
57145 else
57146
57147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
57148 $as_echo_n "checking for _sincosl declaration... " >&6; }
57149 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
57150 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
57151 $as_echo_n "(cached) " >&6
57152 else
57153
57154
57155 ac_ext=cpp
57156 ac_cpp='$CXXCPP $CPPFLAGS'
57157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57160
57161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57162 /* end confdefs.h. */
57163 #include <math.h>
57164 int
57165 main ()
57166 {
57167 _sincosl(0, 0, 0);
57168 ;
57169 return 0;
57170 }
57171 _ACEOF
57172 if ac_fn_cxx_try_compile "$LINENO"; then :
57173 glibcxx_cv_func__sincosl_use=yes
57174 else
57175 glibcxx_cv_func__sincosl_use=no
57176 fi
57177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57178 ac_ext=c
57179 ac_cpp='$CPP $CPPFLAGS'
57180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57183
57184
57185 fi
57186
57187 fi
57188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
57189 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
57190
57191 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
57192 for ac_func in _sincosl
57193 do :
57194 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
57195 if test "x$ac_cv_func__sincosl" = x""yes; then :
57196 cat >>confdefs.h <<_ACEOF
57197 #define HAVE__SINCOSL 1
57198 _ACEOF
57199
57200 fi
57201 done
57202
57203 fi
57204 fi
57205
57206
57207
57208
57209
57210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
57211 $as_echo_n "checking for finitel declaration... " >&6; }
57212 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
57213 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
57214 $as_echo_n "(cached) " >&6
57215 else
57216
57217
57218 ac_ext=cpp
57219 ac_cpp='$CXXCPP $CPPFLAGS'
57220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57223
57224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57225 /* end confdefs.h. */
57226 #include <math.h>
57227 #ifdef HAVE_IEEEFP_H
57228 #include <ieeefp.h>
57229 #endif
57230
57231 int
57232 main ()
57233 {
57234 finitel(0);
57235 ;
57236 return 0;
57237 }
57238 _ACEOF
57239 if ac_fn_cxx_try_compile "$LINENO"; then :
57240 glibcxx_cv_func_finitel_use=yes
57241 else
57242 glibcxx_cv_func_finitel_use=no
57243 fi
57244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57245 ac_ext=c
57246 ac_cpp='$CPP $CPPFLAGS'
57247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57250
57251
57252 fi
57253
57254 fi
57255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
57256 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
57257
57258 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
57259 for ac_func in finitel
57260 do :
57261 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
57262 if test "x$ac_cv_func_finitel" = x""yes; then :
57263 cat >>confdefs.h <<_ACEOF
57264 #define HAVE_FINITEL 1
57265 _ACEOF
57266
57267 fi
57268 done
57269
57270 else
57271
57272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
57273 $as_echo_n "checking for _finitel declaration... " >&6; }
57274 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
57275 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
57276 $as_echo_n "(cached) " >&6
57277 else
57278
57279
57280 ac_ext=cpp
57281 ac_cpp='$CXXCPP $CPPFLAGS'
57282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57285
57286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57287 /* end confdefs.h. */
57288 #include <math.h>
57289 #ifdef HAVE_IEEEFP_H
57290 #include <ieeefp.h>
57291 #endif
57292
57293 int
57294 main ()
57295 {
57296 _finitel(0);
57297 ;
57298 return 0;
57299 }
57300 _ACEOF
57301 if ac_fn_cxx_try_compile "$LINENO"; then :
57302 glibcxx_cv_func__finitel_use=yes
57303 else
57304 glibcxx_cv_func__finitel_use=no
57305 fi
57306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57307 ac_ext=c
57308 ac_cpp='$CPP $CPPFLAGS'
57309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57312
57313
57314 fi
57315
57316 fi
57317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
57318 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
57319
57320 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
57321 for ac_func in _finitel
57322 do :
57323 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
57324 if test "x$ac_cv_func__finitel" = x""yes; then :
57325 cat >>confdefs.h <<_ACEOF
57326 #define HAVE__FINITEL 1
57327 _ACEOF
57328
57329 fi
57330 done
57331
57332 fi
57333 fi
57334
57335
57336
57337
57338 LIBS="$ac_save_LIBS"
57339 CXXFLAGS="$ac_save_CXXFLAGS"
57340
57341
57342 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57343 ac_save_CXXFLAGS="$CXXFLAGS"
57344 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
57345
57346
57347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
57348 $as_echo_n "checking for strtold declaration... " >&6; }
57349 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
57350 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
57351 $as_echo_n "(cached) " >&6
57352 else
57353
57354
57355 ac_ext=cpp
57356 ac_cpp='$CXXCPP $CPPFLAGS'
57357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57360
57361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57362 /* end confdefs.h. */
57363 #include <stdlib.h>
57364 int
57365 main ()
57366 {
57367 strtold(0, 0);
57368 ;
57369 return 0;
57370 }
57371 _ACEOF
57372 if ac_fn_cxx_try_compile "$LINENO"; then :
57373 glibcxx_cv_func_strtold_use=yes
57374 else
57375 glibcxx_cv_func_strtold_use=no
57376 fi
57377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57378 ac_ext=c
57379 ac_cpp='$CPP $CPPFLAGS'
57380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57383
57384
57385 fi
57386
57387 fi
57388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
57389 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
57390 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
57391 for ac_func in strtold
57392 do :
57393 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
57394 if test "x$ac_cv_func_strtold" = x""yes; then :
57395 cat >>confdefs.h <<_ACEOF
57396 #define HAVE_STRTOLD 1
57397 _ACEOF
57398
57399 fi
57400 done
57401
57402 fi
57403
57404
57405
57406
57407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
57408 $as_echo_n "checking for strtof declaration... " >&6; }
57409 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
57410 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
57411 $as_echo_n "(cached) " >&6
57412 else
57413
57414
57415 ac_ext=cpp
57416 ac_cpp='$CXXCPP $CPPFLAGS'
57417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57420
57421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57422 /* end confdefs.h. */
57423 #include <stdlib.h>
57424 int
57425 main ()
57426 {
57427 strtof(0, 0);
57428 ;
57429 return 0;
57430 }
57431 _ACEOF
57432 if ac_fn_cxx_try_compile "$LINENO"; then :
57433 glibcxx_cv_func_strtof_use=yes
57434 else
57435 glibcxx_cv_func_strtof_use=no
57436 fi
57437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57438 ac_ext=c
57439 ac_cpp='$CPP $CPPFLAGS'
57440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57443
57444
57445 fi
57446
57447 fi
57448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
57449 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
57450 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
57451 for ac_func in strtof
57452 do :
57453 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
57454 if test "x$ac_cv_func_strtof" = x""yes; then :
57455 cat >>confdefs.h <<_ACEOF
57456 #define HAVE_STRTOF 1
57457 _ACEOF
57458
57459 fi
57460 done
57461
57462 fi
57463
57464
57465
57466
57467 CXXFLAGS="$ac_save_CXXFLAGS"
57468
57469 ;;
57470 *-netbsd*)
57471 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57472
57473
57474 # If we're not using GNU ld, then there's no point in even trying these
57475 # tests. Check for that first. We should have already tested for gld
57476 # by now (in libtool), but require it now just to be safe...
57477 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57478 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57479
57480
57481
57482 # The name set by libtool depends on the version of libtool. Shame on us
57483 # for depending on an impl detail, but c'est la vie. Older versions used
57484 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57485 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57486 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57487 # set (hence we're using an older libtool), then set it.
57488 if test x${with_gnu_ld+set} != xset; then
57489 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57490 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57491 with_gnu_ld=no
57492 else
57493 with_gnu_ld=$ac_cv_prog_gnu_ld
57494 fi
57495 fi
57496
57497 # Start by getting the version number. I think the libtool test already
57498 # does some of this, but throws away the result.
57499 glibcxx_ld_is_gold=no
57500 if test x"$with_gnu_ld" = x"yes"; then
57501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57502 $as_echo_n "checking for ld version... " >&6; }
57503
57504 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57505 glibcxx_ld_is_gold=yes
57506 fi
57507 ldver=`$LD --version 2>/dev/null |
57508 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'`
57509
57510 glibcxx_gnu_ld_version=`echo $ldver | \
57511 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57513 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57514 fi
57515
57516 # Set --gc-sections.
57517 glibcxx_have_gc_sections=no
57518 if test "$glibcxx_ld_is_gold" = "yes"; then
57519 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57520 glibcxx_have_gc_sections=yes
57521 fi
57522 else
57523 glibcxx_gcsections_min_ld=21602
57524 if test x"$with_gnu_ld" = x"yes" &&
57525 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57526 glibcxx_have_gc_sections=yes
57527 fi
57528 fi
57529 if test "$glibcxx_have_gc_sections" = "yes"; then
57530 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57531 # NB: This flag only works reliably after 2.16.1. Configure tests
57532 # for this are difficult, so hard wire a value that should work.
57533
57534 ac_test_CFLAGS="${CFLAGS+set}"
57535 ac_save_CFLAGS="$CFLAGS"
57536 CFLAGS='-Wl,--gc-sections'
57537
57538 # Check for -Wl,--gc-sections
57539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57540 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57541 if test x$gcc_no_link = xyes; then
57542 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57543 fi
57544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57545 /* end confdefs.h. */
57546 int one(void) { return 1; }
57547 int two(void) { return 2; }
57548
57549 int
57550 main ()
57551 {
57552 two();
57553 ;
57554 return 0;
57555 }
57556 _ACEOF
57557 if ac_fn_c_try_link "$LINENO"; then :
57558 ac_gcsections=yes
57559 else
57560 ac_gcsections=no
57561 fi
57562 rm -f core conftest.err conftest.$ac_objext \
57563 conftest$ac_exeext conftest.$ac_ext
57564 if test "$ac_gcsections" = "yes"; then
57565 rm -f conftest.c
57566 touch conftest.c
57567 if $CC -c conftest.c; then
57568 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57569 grep "Warning: gc-sections option ignored" > /dev/null; then
57570 ac_gcsections=no
57571 fi
57572 fi
57573 rm -f conftest.c conftest.o conftest
57574 fi
57575 if test "$ac_gcsections" = "yes"; then
57576 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57577 fi
57578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57579 $as_echo "$ac_gcsections" >&6; }
57580
57581 if test "$ac_test_CFLAGS" = set; then
57582 CFLAGS="$ac_save_CFLAGS"
57583 else
57584 # this is the suspicious part
57585 CFLAGS=''
57586 fi
57587 fi
57588
57589 # Set -z,relro.
57590 # Note this is only for shared objects.
57591 ac_ld_relro=no
57592 if test x"$with_gnu_ld" = x"yes"; then
57593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57594 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57595 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57596 if test -n "$cxx_z_relo"; then
57597 OPT_LDFLAGS="-Wl,-z,relro"
57598 ac_ld_relro=yes
57599 fi
57600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57601 $as_echo "$ac_ld_relro" >&6; }
57602 fi
57603
57604 # Set linker optimization flags.
57605 if test x"$with_gnu_ld" = x"yes"; then
57606 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57607 fi
57608
57609
57610
57611
57612 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
57613
57614 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
57615
57616 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
57617
57618 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
57619
57620 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
57621
57622 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
57623
57624 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
57625
57626 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
57627
57628 if test x"long_double_math_on_this_cpu" = x"yes"; then
57629 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
57630
57631 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
57632
57633 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
57634
57635 fi
57636 ;;
57637 *-qnx6.1* | *-qnx6.2*)
57638 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57639
57640
57641 # If we're not using GNU ld, then there's no point in even trying these
57642 # tests. Check for that first. We should have already tested for gld
57643 # by now (in libtool), but require it now just to be safe...
57644 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57645 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57646
57647
57648
57649 # The name set by libtool depends on the version of libtool. Shame on us
57650 # for depending on an impl detail, but c'est la vie. Older versions used
57651 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57652 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57653 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57654 # set (hence we're using an older libtool), then set it.
57655 if test x${with_gnu_ld+set} != xset; then
57656 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57657 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57658 with_gnu_ld=no
57659 else
57660 with_gnu_ld=$ac_cv_prog_gnu_ld
57661 fi
57662 fi
57663
57664 # Start by getting the version number. I think the libtool test already
57665 # does some of this, but throws away the result.
57666 glibcxx_ld_is_gold=no
57667 if test x"$with_gnu_ld" = x"yes"; then
57668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57669 $as_echo_n "checking for ld version... " >&6; }
57670
57671 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57672 glibcxx_ld_is_gold=yes
57673 fi
57674 ldver=`$LD --version 2>/dev/null |
57675 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'`
57676
57677 glibcxx_gnu_ld_version=`echo $ldver | \
57678 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57680 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57681 fi
57682
57683 # Set --gc-sections.
57684 glibcxx_have_gc_sections=no
57685 if test "$glibcxx_ld_is_gold" = "yes"; then
57686 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57687 glibcxx_have_gc_sections=yes
57688 fi
57689 else
57690 glibcxx_gcsections_min_ld=21602
57691 if test x"$with_gnu_ld" = x"yes" &&
57692 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57693 glibcxx_have_gc_sections=yes
57694 fi
57695 fi
57696 if test "$glibcxx_have_gc_sections" = "yes"; then
57697 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57698 # NB: This flag only works reliably after 2.16.1. Configure tests
57699 # for this are difficult, so hard wire a value that should work.
57700
57701 ac_test_CFLAGS="${CFLAGS+set}"
57702 ac_save_CFLAGS="$CFLAGS"
57703 CFLAGS='-Wl,--gc-sections'
57704
57705 # Check for -Wl,--gc-sections
57706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57707 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57708 if test x$gcc_no_link = xyes; then
57709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57710 fi
57711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57712 /* end confdefs.h. */
57713 int one(void) { return 1; }
57714 int two(void) { return 2; }
57715
57716 int
57717 main ()
57718 {
57719 two();
57720 ;
57721 return 0;
57722 }
57723 _ACEOF
57724 if ac_fn_c_try_link "$LINENO"; then :
57725 ac_gcsections=yes
57726 else
57727 ac_gcsections=no
57728 fi
57729 rm -f core conftest.err conftest.$ac_objext \
57730 conftest$ac_exeext conftest.$ac_ext
57731 if test "$ac_gcsections" = "yes"; then
57732 rm -f conftest.c
57733 touch conftest.c
57734 if $CC -c conftest.c; then
57735 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57736 grep "Warning: gc-sections option ignored" > /dev/null; then
57737 ac_gcsections=no
57738 fi
57739 fi
57740 rm -f conftest.c conftest.o conftest
57741 fi
57742 if test "$ac_gcsections" = "yes"; then
57743 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57744 fi
57745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57746 $as_echo "$ac_gcsections" >&6; }
57747
57748 if test "$ac_test_CFLAGS" = set; then
57749 CFLAGS="$ac_save_CFLAGS"
57750 else
57751 # this is the suspicious part
57752 CFLAGS=''
57753 fi
57754 fi
57755
57756 # Set -z,relro.
57757 # Note this is only for shared objects.
57758 ac_ld_relro=no
57759 if test x"$with_gnu_ld" = x"yes"; then
57760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57761 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57762 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57763 if test -n "$cxx_z_relo"; then
57764 OPT_LDFLAGS="-Wl,-z,relro"
57765 ac_ld_relro=yes
57766 fi
57767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57768 $as_echo "$ac_ld_relro" >&6; }
57769 fi
57770
57771 # Set linker optimization flags.
57772 if test x"$with_gnu_ld" = x"yes"; then
57773 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
57774 fi
57775
57776
57777
57778
57779 $as_echo "#define HAVE_COSF 1" >>confdefs.h
57780
57781 $as_echo "#define HAVE_COSL 1" >>confdefs.h
57782
57783 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
57784
57785 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
57786
57787 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
57788
57789 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
57790
57791 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
57792
57793 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
57794
57795 $as_echo "#define HAVE_SINF 1" >>confdefs.h
57796
57797 $as_echo "#define HAVE_SINL 1" >>confdefs.h
57798
57799 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
57800
57801 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
57802
57803 ;;
57804 *-rtems*)
57805
57806 # All these tests are for C++; save the language and the compiler flags.
57807 # The CXXFLAGS thing is suspicious, but based on similar bits previously
57808 # found in GLIBCXX_CONFIGURE.
57809
57810 ac_ext=cpp
57811 ac_cpp='$CXXCPP $CPPFLAGS'
57812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57815
57816 ac_test_CXXFLAGS="${CXXFLAGS+set}"
57817 ac_save_CXXFLAGS="$CXXFLAGS"
57818
57819 # Check for maintainer-mode bits.
57820 if test x"$USE_MAINTAINER_MODE" = xno; then
57821 WERROR=''
57822 else
57823 WERROR='-Werror'
57824 fi
57825
57826 # Check for -ffunction-sections -fdata-sections
57827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
57828 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
57829 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
57830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57831 /* end confdefs.h. */
57832 int foo; void bar() { };
57833 int
57834 main ()
57835 {
57836
57837 ;
57838 return 0;
57839 }
57840 _ACEOF
57841 if ac_fn_cxx_try_compile "$LINENO"; then :
57842 ac_fdsections=yes
57843 else
57844 ac_fdsections=no
57845 fi
57846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57847 if test "$ac_test_CXXFLAGS" = set; then
57848 CXXFLAGS="$ac_save_CXXFLAGS"
57849 else
57850 # this is the suspicious part
57851 CXXFLAGS=''
57852 fi
57853 if test x"$ac_fdsections" = x"yes"; then
57854 SECTION_FLAGS='-ffunction-sections -fdata-sections'
57855 fi
57856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
57857 $as_echo "$ac_fdsections" >&6; }
57858
57859 ac_ext=c
57860 ac_cpp='$CPP $CPPFLAGS'
57861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57864
57865
57866
57867
57868
57869 # If we're not using GNU ld, then there's no point in even trying these
57870 # tests. Check for that first. We should have already tested for gld
57871 # by now (in libtool), but require it now just to be safe...
57872 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
57873 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
57874
57875
57876
57877 # The name set by libtool depends on the version of libtool. Shame on us
57878 # for depending on an impl detail, but c'est la vie. Older versions used
57879 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
57880 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
57881 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
57882 # set (hence we're using an older libtool), then set it.
57883 if test x${with_gnu_ld+set} != xset; then
57884 if test x${ac_cv_prog_gnu_ld+set} != xset; then
57885 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
57886 with_gnu_ld=no
57887 else
57888 with_gnu_ld=$ac_cv_prog_gnu_ld
57889 fi
57890 fi
57891
57892 # Start by getting the version number. I think the libtool test already
57893 # does some of this, but throws away the result.
57894 glibcxx_ld_is_gold=no
57895 if test x"$with_gnu_ld" = x"yes"; then
57896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
57897 $as_echo_n "checking for ld version... " >&6; }
57898
57899 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
57900 glibcxx_ld_is_gold=yes
57901 fi
57902 ldver=`$LD --version 2>/dev/null |
57903 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'`
57904
57905 glibcxx_gnu_ld_version=`echo $ldver | \
57906 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
57907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
57908 $as_echo "$glibcxx_gnu_ld_version" >&6; }
57909 fi
57910
57911 # Set --gc-sections.
57912 glibcxx_have_gc_sections=no
57913 if test "$glibcxx_ld_is_gold" = "yes"; then
57914 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
57915 glibcxx_have_gc_sections=yes
57916 fi
57917 else
57918 glibcxx_gcsections_min_ld=21602
57919 if test x"$with_gnu_ld" = x"yes" &&
57920 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
57921 glibcxx_have_gc_sections=yes
57922 fi
57923 fi
57924 if test "$glibcxx_have_gc_sections" = "yes"; then
57925 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
57926 # NB: This flag only works reliably after 2.16.1. Configure tests
57927 # for this are difficult, so hard wire a value that should work.
57928
57929 ac_test_CFLAGS="${CFLAGS+set}"
57930 ac_save_CFLAGS="$CFLAGS"
57931 CFLAGS='-Wl,--gc-sections'
57932
57933 # Check for -Wl,--gc-sections
57934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
57935 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
57936 if test x$gcc_no_link = xyes; then
57937 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
57938 fi
57939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57940 /* end confdefs.h. */
57941 int one(void) { return 1; }
57942 int two(void) { return 2; }
57943
57944 int
57945 main ()
57946 {
57947 two();
57948 ;
57949 return 0;
57950 }
57951 _ACEOF
57952 if ac_fn_c_try_link "$LINENO"; then :
57953 ac_gcsections=yes
57954 else
57955 ac_gcsections=no
57956 fi
57957 rm -f core conftest.err conftest.$ac_objext \
57958 conftest$ac_exeext conftest.$ac_ext
57959 if test "$ac_gcsections" = "yes"; then
57960 rm -f conftest.c
57961 touch conftest.c
57962 if $CC -c conftest.c; then
57963 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
57964 grep "Warning: gc-sections option ignored" > /dev/null; then
57965 ac_gcsections=no
57966 fi
57967 fi
57968 rm -f conftest.c conftest.o conftest
57969 fi
57970 if test "$ac_gcsections" = "yes"; then
57971 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
57972 fi
57973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
57974 $as_echo "$ac_gcsections" >&6; }
57975
57976 if test "$ac_test_CFLAGS" = set; then
57977 CFLAGS="$ac_save_CFLAGS"
57978 else
57979 # this is the suspicious part
57980 CFLAGS=''
57981 fi
57982 fi
57983
57984 # Set -z,relro.
57985 # Note this is only for shared objects.
57986 ac_ld_relro=no
57987 if test x"$with_gnu_ld" = x"yes"; then
57988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
57989 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
57990 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
57991 if test -n "$cxx_z_relo"; then
57992 OPT_LDFLAGS="-Wl,-z,relro"
57993 ac_ld_relro=yes
57994 fi
57995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
57996 $as_echo "$ac_ld_relro" >&6; }
57997 fi
57998
57999 # Set linker optimization flags.
58000 if test x"$with_gnu_ld" = x"yes"; then
58001 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58002 fi
58003
58004
58005
58006
58007
58008 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58009 ac_save_CXXFLAGS="$CXXFLAGS"
58010 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58011
58012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58013 $as_echo_n "checking for sin in -lm... " >&6; }
58014 if test "${ac_cv_lib_m_sin+set}" = set; then :
58015 $as_echo_n "(cached) " >&6
58016 else
58017 ac_check_lib_save_LIBS=$LIBS
58018 LIBS="-lm $LIBS"
58019 if test x$gcc_no_link = xyes; then
58020 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58021 fi
58022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58023 /* end confdefs.h. */
58024
58025 /* Override any GCC internal prototype to avoid an error.
58026 Use char because int might match the return type of a GCC
58027 builtin and then its argument prototype would still apply. */
58028 #ifdef __cplusplus
58029 extern "C"
58030 #endif
58031 char sin ();
58032 int
58033 main ()
58034 {
58035 return sin ();
58036 ;
58037 return 0;
58038 }
58039 _ACEOF
58040 if ac_fn_c_try_link "$LINENO"; then :
58041 ac_cv_lib_m_sin=yes
58042 else
58043 ac_cv_lib_m_sin=no
58044 fi
58045 rm -f core conftest.err conftest.$ac_objext \
58046 conftest$ac_exeext conftest.$ac_ext
58047 LIBS=$ac_check_lib_save_LIBS
58048 fi
58049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
58050 $as_echo "$ac_cv_lib_m_sin" >&6; }
58051 if test "x$ac_cv_lib_m_sin" = x""yes; then :
58052 libm="-lm"
58053 fi
58054
58055 ac_save_LIBS="$LIBS"
58056 LIBS="$LIBS $libm"
58057
58058
58059
58060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
58061 $as_echo_n "checking for isinf declaration... " >&6; }
58062 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
58063 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
58064 $as_echo_n "(cached) " >&6
58065 else
58066
58067
58068 ac_ext=cpp
58069 ac_cpp='$CXXCPP $CPPFLAGS'
58070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58073
58074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58075 /* end confdefs.h. */
58076 #include <math.h>
58077 #ifdef HAVE_IEEEFP_H
58078 #include <ieeefp.h>
58079 #endif
58080
58081 int
58082 main ()
58083 {
58084 isinf(0);
58085 ;
58086 return 0;
58087 }
58088 _ACEOF
58089 if ac_fn_cxx_try_compile "$LINENO"; then :
58090 glibcxx_cv_func_isinf_use=yes
58091 else
58092 glibcxx_cv_func_isinf_use=no
58093 fi
58094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58095 ac_ext=c
58096 ac_cpp='$CPP $CPPFLAGS'
58097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58100
58101
58102 fi
58103
58104 fi
58105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
58106 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
58107
58108 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
58109 for ac_func in isinf
58110 do :
58111 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
58112 if test "x$ac_cv_func_isinf" = x""yes; then :
58113 cat >>confdefs.h <<_ACEOF
58114 #define HAVE_ISINF 1
58115 _ACEOF
58116
58117 fi
58118 done
58119
58120 else
58121
58122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
58123 $as_echo_n "checking for _isinf declaration... " >&6; }
58124 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
58125 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
58126 $as_echo_n "(cached) " >&6
58127 else
58128
58129
58130 ac_ext=cpp
58131 ac_cpp='$CXXCPP $CPPFLAGS'
58132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58135
58136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58137 /* end confdefs.h. */
58138 #include <math.h>
58139 #ifdef HAVE_IEEEFP_H
58140 #include <ieeefp.h>
58141 #endif
58142
58143 int
58144 main ()
58145 {
58146 _isinf(0);
58147 ;
58148 return 0;
58149 }
58150 _ACEOF
58151 if ac_fn_cxx_try_compile "$LINENO"; then :
58152 glibcxx_cv_func__isinf_use=yes
58153 else
58154 glibcxx_cv_func__isinf_use=no
58155 fi
58156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58157 ac_ext=c
58158 ac_cpp='$CPP $CPPFLAGS'
58159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58162
58163
58164 fi
58165
58166 fi
58167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
58168 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
58169
58170 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
58171 for ac_func in _isinf
58172 do :
58173 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
58174 if test "x$ac_cv_func__isinf" = x""yes; then :
58175 cat >>confdefs.h <<_ACEOF
58176 #define HAVE__ISINF 1
58177 _ACEOF
58178
58179 fi
58180 done
58181
58182 fi
58183 fi
58184
58185
58186
58187
58188
58189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
58190 $as_echo_n "checking for isnan declaration... " >&6; }
58191 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
58192 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
58193 $as_echo_n "(cached) " >&6
58194 else
58195
58196
58197 ac_ext=cpp
58198 ac_cpp='$CXXCPP $CPPFLAGS'
58199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58202
58203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58204 /* end confdefs.h. */
58205 #include <math.h>
58206 #ifdef HAVE_IEEEFP_H
58207 #include <ieeefp.h>
58208 #endif
58209
58210 int
58211 main ()
58212 {
58213 isnan(0);
58214 ;
58215 return 0;
58216 }
58217 _ACEOF
58218 if ac_fn_cxx_try_compile "$LINENO"; then :
58219 glibcxx_cv_func_isnan_use=yes
58220 else
58221 glibcxx_cv_func_isnan_use=no
58222 fi
58223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58224 ac_ext=c
58225 ac_cpp='$CPP $CPPFLAGS'
58226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58229
58230
58231 fi
58232
58233 fi
58234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
58235 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
58236
58237 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
58238 for ac_func in isnan
58239 do :
58240 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
58241 if test "x$ac_cv_func_isnan" = x""yes; then :
58242 cat >>confdefs.h <<_ACEOF
58243 #define HAVE_ISNAN 1
58244 _ACEOF
58245
58246 fi
58247 done
58248
58249 else
58250
58251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
58252 $as_echo_n "checking for _isnan declaration... " >&6; }
58253 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
58254 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
58255 $as_echo_n "(cached) " >&6
58256 else
58257
58258
58259 ac_ext=cpp
58260 ac_cpp='$CXXCPP $CPPFLAGS'
58261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58264
58265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58266 /* end confdefs.h. */
58267 #include <math.h>
58268 #ifdef HAVE_IEEEFP_H
58269 #include <ieeefp.h>
58270 #endif
58271
58272 int
58273 main ()
58274 {
58275 _isnan(0);
58276 ;
58277 return 0;
58278 }
58279 _ACEOF
58280 if ac_fn_cxx_try_compile "$LINENO"; then :
58281 glibcxx_cv_func__isnan_use=yes
58282 else
58283 glibcxx_cv_func__isnan_use=no
58284 fi
58285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58286 ac_ext=c
58287 ac_cpp='$CPP $CPPFLAGS'
58288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58291
58292
58293 fi
58294
58295 fi
58296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
58297 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
58298
58299 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
58300 for ac_func in _isnan
58301 do :
58302 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
58303 if test "x$ac_cv_func__isnan" = x""yes; then :
58304 cat >>confdefs.h <<_ACEOF
58305 #define HAVE__ISNAN 1
58306 _ACEOF
58307
58308 fi
58309 done
58310
58311 fi
58312 fi
58313
58314
58315
58316
58317
58318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
58319 $as_echo_n "checking for finite declaration... " >&6; }
58320 if test x${glibcxx_cv_func_finite_use+set} != xset; then
58321 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
58322 $as_echo_n "(cached) " >&6
58323 else
58324
58325
58326 ac_ext=cpp
58327 ac_cpp='$CXXCPP $CPPFLAGS'
58328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58331
58332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58333 /* end confdefs.h. */
58334 #include <math.h>
58335 #ifdef HAVE_IEEEFP_H
58336 #include <ieeefp.h>
58337 #endif
58338
58339 int
58340 main ()
58341 {
58342 finite(0);
58343 ;
58344 return 0;
58345 }
58346 _ACEOF
58347 if ac_fn_cxx_try_compile "$LINENO"; then :
58348 glibcxx_cv_func_finite_use=yes
58349 else
58350 glibcxx_cv_func_finite_use=no
58351 fi
58352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58353 ac_ext=c
58354 ac_cpp='$CPP $CPPFLAGS'
58355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58358
58359
58360 fi
58361
58362 fi
58363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
58364 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
58365
58366 if test x$glibcxx_cv_func_finite_use = x"yes"; then
58367 for ac_func in finite
58368 do :
58369 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
58370 if test "x$ac_cv_func_finite" = x""yes; then :
58371 cat >>confdefs.h <<_ACEOF
58372 #define HAVE_FINITE 1
58373 _ACEOF
58374
58375 fi
58376 done
58377
58378 else
58379
58380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
58381 $as_echo_n "checking for _finite declaration... " >&6; }
58382 if test x${glibcxx_cv_func__finite_use+set} != xset; then
58383 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
58384 $as_echo_n "(cached) " >&6
58385 else
58386
58387
58388 ac_ext=cpp
58389 ac_cpp='$CXXCPP $CPPFLAGS'
58390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58393
58394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58395 /* end confdefs.h. */
58396 #include <math.h>
58397 #ifdef HAVE_IEEEFP_H
58398 #include <ieeefp.h>
58399 #endif
58400
58401 int
58402 main ()
58403 {
58404 _finite(0);
58405 ;
58406 return 0;
58407 }
58408 _ACEOF
58409 if ac_fn_cxx_try_compile "$LINENO"; then :
58410 glibcxx_cv_func__finite_use=yes
58411 else
58412 glibcxx_cv_func__finite_use=no
58413 fi
58414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58415 ac_ext=c
58416 ac_cpp='$CPP $CPPFLAGS'
58417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58420
58421
58422 fi
58423
58424 fi
58425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
58426 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
58427
58428 if test x$glibcxx_cv_func__finite_use = x"yes"; then
58429 for ac_func in _finite
58430 do :
58431 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
58432 if test "x$ac_cv_func__finite" = x""yes; then :
58433 cat >>confdefs.h <<_ACEOF
58434 #define HAVE__FINITE 1
58435 _ACEOF
58436
58437 fi
58438 done
58439
58440 fi
58441 fi
58442
58443
58444
58445
58446
58447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
58448 $as_echo_n "checking for sincos declaration... " >&6; }
58449 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
58450 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
58451 $as_echo_n "(cached) " >&6
58452 else
58453
58454
58455 ac_ext=cpp
58456 ac_cpp='$CXXCPP $CPPFLAGS'
58457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58460
58461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58462 /* end confdefs.h. */
58463 #include <math.h>
58464 int
58465 main ()
58466 {
58467 sincos(0, 0, 0);
58468 ;
58469 return 0;
58470 }
58471 _ACEOF
58472 if ac_fn_cxx_try_compile "$LINENO"; then :
58473 glibcxx_cv_func_sincos_use=yes
58474 else
58475 glibcxx_cv_func_sincos_use=no
58476 fi
58477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58478 ac_ext=c
58479 ac_cpp='$CPP $CPPFLAGS'
58480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58483
58484
58485 fi
58486
58487 fi
58488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
58489 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
58490
58491 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
58492 for ac_func in sincos
58493 do :
58494 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
58495 if test "x$ac_cv_func_sincos" = x""yes; then :
58496 cat >>confdefs.h <<_ACEOF
58497 #define HAVE_SINCOS 1
58498 _ACEOF
58499
58500 fi
58501 done
58502
58503 else
58504
58505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
58506 $as_echo_n "checking for _sincos declaration... " >&6; }
58507 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
58508 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
58509 $as_echo_n "(cached) " >&6
58510 else
58511
58512
58513 ac_ext=cpp
58514 ac_cpp='$CXXCPP $CPPFLAGS'
58515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58518
58519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58520 /* end confdefs.h. */
58521 #include <math.h>
58522 int
58523 main ()
58524 {
58525 _sincos(0, 0, 0);
58526 ;
58527 return 0;
58528 }
58529 _ACEOF
58530 if ac_fn_cxx_try_compile "$LINENO"; then :
58531 glibcxx_cv_func__sincos_use=yes
58532 else
58533 glibcxx_cv_func__sincos_use=no
58534 fi
58535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58536 ac_ext=c
58537 ac_cpp='$CPP $CPPFLAGS'
58538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58541
58542
58543 fi
58544
58545 fi
58546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
58547 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
58548
58549 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
58550 for ac_func in _sincos
58551 do :
58552 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
58553 if test "x$ac_cv_func__sincos" = x""yes; then :
58554 cat >>confdefs.h <<_ACEOF
58555 #define HAVE__SINCOS 1
58556 _ACEOF
58557
58558 fi
58559 done
58560
58561 fi
58562 fi
58563
58564
58565
58566
58567
58568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
58569 $as_echo_n "checking for fpclass declaration... " >&6; }
58570 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
58571 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
58572 $as_echo_n "(cached) " >&6
58573 else
58574
58575
58576 ac_ext=cpp
58577 ac_cpp='$CXXCPP $CPPFLAGS'
58578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58581
58582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58583 /* end confdefs.h. */
58584 #include <math.h>
58585 #ifdef HAVE_IEEEFP_H
58586 #include <ieeefp.h>
58587 #endif
58588
58589 int
58590 main ()
58591 {
58592 fpclass(0);
58593 ;
58594 return 0;
58595 }
58596 _ACEOF
58597 if ac_fn_cxx_try_compile "$LINENO"; then :
58598 glibcxx_cv_func_fpclass_use=yes
58599 else
58600 glibcxx_cv_func_fpclass_use=no
58601 fi
58602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58603 ac_ext=c
58604 ac_cpp='$CPP $CPPFLAGS'
58605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58608
58609
58610 fi
58611
58612 fi
58613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
58614 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
58615
58616 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
58617 for ac_func in fpclass
58618 do :
58619 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
58620 if test "x$ac_cv_func_fpclass" = x""yes; then :
58621 cat >>confdefs.h <<_ACEOF
58622 #define HAVE_FPCLASS 1
58623 _ACEOF
58624
58625 fi
58626 done
58627
58628 else
58629
58630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
58631 $as_echo_n "checking for _fpclass declaration... " >&6; }
58632 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
58633 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
58634 $as_echo_n "(cached) " >&6
58635 else
58636
58637
58638 ac_ext=cpp
58639 ac_cpp='$CXXCPP $CPPFLAGS'
58640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58643
58644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58645 /* end confdefs.h. */
58646 #include <math.h>
58647 #ifdef HAVE_IEEEFP_H
58648 #include <ieeefp.h>
58649 #endif
58650
58651 int
58652 main ()
58653 {
58654 _fpclass(0);
58655 ;
58656 return 0;
58657 }
58658 _ACEOF
58659 if ac_fn_cxx_try_compile "$LINENO"; then :
58660 glibcxx_cv_func__fpclass_use=yes
58661 else
58662 glibcxx_cv_func__fpclass_use=no
58663 fi
58664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58665 ac_ext=c
58666 ac_cpp='$CPP $CPPFLAGS'
58667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58670
58671
58672 fi
58673
58674 fi
58675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
58676 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
58677
58678 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
58679 for ac_func in _fpclass
58680 do :
58681 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
58682 if test "x$ac_cv_func__fpclass" = x""yes; then :
58683 cat >>confdefs.h <<_ACEOF
58684 #define HAVE__FPCLASS 1
58685 _ACEOF
58686
58687 fi
58688 done
58689
58690 fi
58691 fi
58692
58693
58694
58695
58696
58697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
58698 $as_echo_n "checking for qfpclass declaration... " >&6; }
58699 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
58700 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
58701 $as_echo_n "(cached) " >&6
58702 else
58703
58704
58705 ac_ext=cpp
58706 ac_cpp='$CXXCPP $CPPFLAGS'
58707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58710
58711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58712 /* end confdefs.h. */
58713 #include <math.h>
58714 #ifdef HAVE_IEEEFP_H
58715 #include <ieeefp.h>
58716 #endif
58717
58718 int
58719 main ()
58720 {
58721 qfpclass(0);
58722 ;
58723 return 0;
58724 }
58725 _ACEOF
58726 if ac_fn_cxx_try_compile "$LINENO"; then :
58727 glibcxx_cv_func_qfpclass_use=yes
58728 else
58729 glibcxx_cv_func_qfpclass_use=no
58730 fi
58731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58732 ac_ext=c
58733 ac_cpp='$CPP $CPPFLAGS'
58734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58737
58738
58739 fi
58740
58741 fi
58742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
58743 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
58744
58745 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
58746 for ac_func in qfpclass
58747 do :
58748 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
58749 if test "x$ac_cv_func_qfpclass" = x""yes; then :
58750 cat >>confdefs.h <<_ACEOF
58751 #define HAVE_QFPCLASS 1
58752 _ACEOF
58753
58754 fi
58755 done
58756
58757 else
58758
58759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
58760 $as_echo_n "checking for _qfpclass declaration... " >&6; }
58761 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
58762 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
58763 $as_echo_n "(cached) " >&6
58764 else
58765
58766
58767 ac_ext=cpp
58768 ac_cpp='$CXXCPP $CPPFLAGS'
58769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58772
58773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58774 /* end confdefs.h. */
58775 #include <math.h>
58776 #ifdef HAVE_IEEEFP_H
58777 #include <ieeefp.h>
58778 #endif
58779
58780 int
58781 main ()
58782 {
58783 _qfpclass(0);
58784 ;
58785 return 0;
58786 }
58787 _ACEOF
58788 if ac_fn_cxx_try_compile "$LINENO"; then :
58789 glibcxx_cv_func__qfpclass_use=yes
58790 else
58791 glibcxx_cv_func__qfpclass_use=no
58792 fi
58793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58794 ac_ext=c
58795 ac_cpp='$CPP $CPPFLAGS'
58796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58799
58800
58801 fi
58802
58803 fi
58804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
58805 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
58806
58807 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
58808 for ac_func in _qfpclass
58809 do :
58810 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
58811 if test "x$ac_cv_func__qfpclass" = x""yes; then :
58812 cat >>confdefs.h <<_ACEOF
58813 #define HAVE__QFPCLASS 1
58814 _ACEOF
58815
58816 fi
58817 done
58818
58819 fi
58820 fi
58821
58822
58823
58824
58825
58826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
58827 $as_echo_n "checking for hypot declaration... " >&6; }
58828 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
58829 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
58830 $as_echo_n "(cached) " >&6
58831 else
58832
58833
58834 ac_ext=cpp
58835 ac_cpp='$CXXCPP $CPPFLAGS'
58836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58839
58840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58841 /* end confdefs.h. */
58842 #include <math.h>
58843 int
58844 main ()
58845 {
58846 hypot(0, 0);
58847 ;
58848 return 0;
58849 }
58850 _ACEOF
58851 if ac_fn_cxx_try_compile "$LINENO"; then :
58852 glibcxx_cv_func_hypot_use=yes
58853 else
58854 glibcxx_cv_func_hypot_use=no
58855 fi
58856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58857 ac_ext=c
58858 ac_cpp='$CPP $CPPFLAGS'
58859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58862
58863
58864 fi
58865
58866 fi
58867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
58868 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
58869
58870 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
58871 for ac_func in hypot
58872 do :
58873 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
58874 if test "x$ac_cv_func_hypot" = x""yes; then :
58875 cat >>confdefs.h <<_ACEOF
58876 #define HAVE_HYPOT 1
58877 _ACEOF
58878
58879 fi
58880 done
58881
58882 else
58883
58884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
58885 $as_echo_n "checking for _hypot declaration... " >&6; }
58886 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
58887 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
58888 $as_echo_n "(cached) " >&6
58889 else
58890
58891
58892 ac_ext=cpp
58893 ac_cpp='$CXXCPP $CPPFLAGS'
58894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58897
58898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58899 /* end confdefs.h. */
58900 #include <math.h>
58901 int
58902 main ()
58903 {
58904 _hypot(0, 0);
58905 ;
58906 return 0;
58907 }
58908 _ACEOF
58909 if ac_fn_cxx_try_compile "$LINENO"; then :
58910 glibcxx_cv_func__hypot_use=yes
58911 else
58912 glibcxx_cv_func__hypot_use=no
58913 fi
58914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58915 ac_ext=c
58916 ac_cpp='$CPP $CPPFLAGS'
58917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58920
58921
58922 fi
58923
58924 fi
58925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
58926 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
58927
58928 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
58929 for ac_func in _hypot
58930 do :
58931 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
58932 if test "x$ac_cv_func__hypot" = x""yes; then :
58933 cat >>confdefs.h <<_ACEOF
58934 #define HAVE__HYPOT 1
58935 _ACEOF
58936
58937 fi
58938 done
58939
58940 fi
58941 fi
58942
58943
58944
58945
58946
58947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
58948 $as_echo_n "checking for float trig functions... " >&6; }
58949 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
58950 $as_echo_n "(cached) " >&6
58951 else
58952
58953
58954 ac_ext=cpp
58955 ac_cpp='$CXXCPP $CPPFLAGS'
58956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58959
58960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58961 /* end confdefs.h. */
58962 #include <math.h>
58963 int
58964 main ()
58965 {
58966 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
58967 ;
58968 return 0;
58969 }
58970 _ACEOF
58971 if ac_fn_cxx_try_compile "$LINENO"; then :
58972 glibcxx_cv_func_float_trig_use=yes
58973 else
58974 glibcxx_cv_func_float_trig_use=no
58975 fi
58976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58977 ac_ext=c
58978 ac_cpp='$CPP $CPPFLAGS'
58979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58982
58983 fi
58984
58985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
58986 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
58987 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
58988 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
58989 do :
58990 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
58991 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
58992 eval as_val=\$$as_ac_var
58993 if test "x$as_val" = x""yes; then :
58994 cat >>confdefs.h <<_ACEOF
58995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
58996 _ACEOF
58997
58998 fi
58999 done
59000
59001 else
59002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59003 $as_echo_n "checking for _float trig functions... " >&6; }
59004 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59005 $as_echo_n "(cached) " >&6
59006 else
59007
59008
59009 ac_ext=cpp
59010 ac_cpp='$CXXCPP $CPPFLAGS'
59011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59014
59015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59016 /* end confdefs.h. */
59017 #include <math.h>
59018 int
59019 main ()
59020 {
59021 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59022 ;
59023 return 0;
59024 }
59025 _ACEOF
59026 if ac_fn_cxx_try_compile "$LINENO"; then :
59027 glibcxx_cv_func__float_trig_use=yes
59028 else
59029 glibcxx_cv_func__float_trig_use=no
59030 fi
59031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59032 ac_ext=c
59033 ac_cpp='$CPP $CPPFLAGS'
59034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59037
59038 fi
59039
59040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
59041 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
59042 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
59043 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
59044 do :
59045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59047 eval as_val=\$$as_ac_var
59048 if test "x$as_val" = x""yes; then :
59049 cat >>confdefs.h <<_ACEOF
59050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59051 _ACEOF
59052
59053 fi
59054 done
59055
59056 fi
59057 fi
59058
59059
59060
59061
59062
59063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
59064 $as_echo_n "checking for float round functions... " >&6; }
59065 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
59066 $as_echo_n "(cached) " >&6
59067 else
59068
59069
59070 ac_ext=cpp
59071 ac_cpp='$CXXCPP $CPPFLAGS'
59072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59075
59076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59077 /* end confdefs.h. */
59078 #include <math.h>
59079 int
59080 main ()
59081 {
59082 ceilf (0); floorf (0);
59083 ;
59084 return 0;
59085 }
59086 _ACEOF
59087 if ac_fn_cxx_try_compile "$LINENO"; then :
59088 glibcxx_cv_func_float_round_use=yes
59089 else
59090 glibcxx_cv_func_float_round_use=no
59091 fi
59092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59093 ac_ext=c
59094 ac_cpp='$CPP $CPPFLAGS'
59095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59098
59099 fi
59100
59101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
59102 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
59103 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
59104 for ac_func in ceilf floorf
59105 do :
59106 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59107 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59108 eval as_val=\$$as_ac_var
59109 if test "x$as_val" = x""yes; then :
59110 cat >>confdefs.h <<_ACEOF
59111 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59112 _ACEOF
59113
59114 fi
59115 done
59116
59117 else
59118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
59119 $as_echo_n "checking for _float round functions... " >&6; }
59120 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
59121 $as_echo_n "(cached) " >&6
59122 else
59123
59124
59125 ac_ext=cpp
59126 ac_cpp='$CXXCPP $CPPFLAGS'
59127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59130
59131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59132 /* end confdefs.h. */
59133 #include <math.h>
59134 int
59135 main ()
59136 {
59137 _ceilf (0); _floorf (0);
59138 ;
59139 return 0;
59140 }
59141 _ACEOF
59142 if ac_fn_cxx_try_compile "$LINENO"; then :
59143 glibcxx_cv_func__float_round_use=yes
59144 else
59145 glibcxx_cv_func__float_round_use=no
59146 fi
59147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59148 ac_ext=c
59149 ac_cpp='$CPP $CPPFLAGS'
59150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59153
59154 fi
59155
59156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
59157 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
59158 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
59159 for ac_func in _ceilf _floorf
59160 do :
59161 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59162 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59163 eval as_val=\$$as_ac_var
59164 if test "x$as_val" = x""yes; then :
59165 cat >>confdefs.h <<_ACEOF
59166 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59167 _ACEOF
59168
59169 fi
59170 done
59171
59172 fi
59173 fi
59174
59175
59176
59177
59178
59179
59180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
59181 $as_echo_n "checking for expf declaration... " >&6; }
59182 if test x${glibcxx_cv_func_expf_use+set} != xset; then
59183 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
59184 $as_echo_n "(cached) " >&6
59185 else
59186
59187
59188 ac_ext=cpp
59189 ac_cpp='$CXXCPP $CPPFLAGS'
59190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59193
59194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59195 /* end confdefs.h. */
59196 #include <math.h>
59197 #ifdef HAVE_IEEEFP_H
59198 #include <ieeefp.h>
59199 #endif
59200
59201 int
59202 main ()
59203 {
59204 expf(0);
59205 ;
59206 return 0;
59207 }
59208 _ACEOF
59209 if ac_fn_cxx_try_compile "$LINENO"; then :
59210 glibcxx_cv_func_expf_use=yes
59211 else
59212 glibcxx_cv_func_expf_use=no
59213 fi
59214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59215 ac_ext=c
59216 ac_cpp='$CPP $CPPFLAGS'
59217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59220
59221
59222 fi
59223
59224 fi
59225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
59226 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
59227
59228 if test x$glibcxx_cv_func_expf_use = x"yes"; then
59229 for ac_func in expf
59230 do :
59231 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
59232 if test "x$ac_cv_func_expf" = x""yes; then :
59233 cat >>confdefs.h <<_ACEOF
59234 #define HAVE_EXPF 1
59235 _ACEOF
59236
59237 fi
59238 done
59239
59240 else
59241
59242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
59243 $as_echo_n "checking for _expf declaration... " >&6; }
59244 if test x${glibcxx_cv_func__expf_use+set} != xset; then
59245 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
59246 $as_echo_n "(cached) " >&6
59247 else
59248
59249
59250 ac_ext=cpp
59251 ac_cpp='$CXXCPP $CPPFLAGS'
59252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59255
59256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59257 /* end confdefs.h. */
59258 #include <math.h>
59259 #ifdef HAVE_IEEEFP_H
59260 #include <ieeefp.h>
59261 #endif
59262
59263 int
59264 main ()
59265 {
59266 _expf(0);
59267 ;
59268 return 0;
59269 }
59270 _ACEOF
59271 if ac_fn_cxx_try_compile "$LINENO"; then :
59272 glibcxx_cv_func__expf_use=yes
59273 else
59274 glibcxx_cv_func__expf_use=no
59275 fi
59276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59277 ac_ext=c
59278 ac_cpp='$CPP $CPPFLAGS'
59279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59282
59283
59284 fi
59285
59286 fi
59287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
59288 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
59289
59290 if test x$glibcxx_cv_func__expf_use = x"yes"; then
59291 for ac_func in _expf
59292 do :
59293 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
59294 if test "x$ac_cv_func__expf" = x""yes; then :
59295 cat >>confdefs.h <<_ACEOF
59296 #define HAVE__EXPF 1
59297 _ACEOF
59298
59299 fi
59300 done
59301
59302 fi
59303 fi
59304
59305
59306
59307
59308
59309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
59310 $as_echo_n "checking for isnanf declaration... " >&6; }
59311 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
59312 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
59313 $as_echo_n "(cached) " >&6
59314 else
59315
59316
59317 ac_ext=cpp
59318 ac_cpp='$CXXCPP $CPPFLAGS'
59319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59322
59323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59324 /* end confdefs.h. */
59325 #include <math.h>
59326 #ifdef HAVE_IEEEFP_H
59327 #include <ieeefp.h>
59328 #endif
59329
59330 int
59331 main ()
59332 {
59333 isnanf(0);
59334 ;
59335 return 0;
59336 }
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339 glibcxx_cv_func_isnanf_use=yes
59340 else
59341 glibcxx_cv_func_isnanf_use=no
59342 fi
59343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344 ac_ext=c
59345 ac_cpp='$CPP $CPPFLAGS'
59346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59349
59350
59351 fi
59352
59353 fi
59354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
59355 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
59356
59357 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
59358 for ac_func in isnanf
59359 do :
59360 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
59361 if test "x$ac_cv_func_isnanf" = x""yes; then :
59362 cat >>confdefs.h <<_ACEOF
59363 #define HAVE_ISNANF 1
59364 _ACEOF
59365
59366 fi
59367 done
59368
59369 else
59370
59371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
59372 $as_echo_n "checking for _isnanf declaration... " >&6; }
59373 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
59374 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
59375 $as_echo_n "(cached) " >&6
59376 else
59377
59378
59379 ac_ext=cpp
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59384
59385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59386 /* end confdefs.h. */
59387 #include <math.h>
59388 #ifdef HAVE_IEEEFP_H
59389 #include <ieeefp.h>
59390 #endif
59391
59392 int
59393 main ()
59394 {
59395 _isnanf(0);
59396 ;
59397 return 0;
59398 }
59399 _ACEOF
59400 if ac_fn_cxx_try_compile "$LINENO"; then :
59401 glibcxx_cv_func__isnanf_use=yes
59402 else
59403 glibcxx_cv_func__isnanf_use=no
59404 fi
59405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59406 ac_ext=c
59407 ac_cpp='$CPP $CPPFLAGS'
59408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59411
59412
59413 fi
59414
59415 fi
59416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
59417 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
59418
59419 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
59420 for ac_func in _isnanf
59421 do :
59422 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
59423 if test "x$ac_cv_func__isnanf" = x""yes; then :
59424 cat >>confdefs.h <<_ACEOF
59425 #define HAVE__ISNANF 1
59426 _ACEOF
59427
59428 fi
59429 done
59430
59431 fi
59432 fi
59433
59434
59435
59436
59437
59438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
59439 $as_echo_n "checking for isinff declaration... " >&6; }
59440 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
59441 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
59442 $as_echo_n "(cached) " >&6
59443 else
59444
59445
59446 ac_ext=cpp
59447 ac_cpp='$CXXCPP $CPPFLAGS'
59448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59451
59452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59453 /* end confdefs.h. */
59454 #include <math.h>
59455 #ifdef HAVE_IEEEFP_H
59456 #include <ieeefp.h>
59457 #endif
59458
59459 int
59460 main ()
59461 {
59462 isinff(0);
59463 ;
59464 return 0;
59465 }
59466 _ACEOF
59467 if ac_fn_cxx_try_compile "$LINENO"; then :
59468 glibcxx_cv_func_isinff_use=yes
59469 else
59470 glibcxx_cv_func_isinff_use=no
59471 fi
59472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59473 ac_ext=c
59474 ac_cpp='$CPP $CPPFLAGS'
59475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59478
59479
59480 fi
59481
59482 fi
59483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
59484 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
59485
59486 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
59487 for ac_func in isinff
59488 do :
59489 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
59490 if test "x$ac_cv_func_isinff" = x""yes; then :
59491 cat >>confdefs.h <<_ACEOF
59492 #define HAVE_ISINFF 1
59493 _ACEOF
59494
59495 fi
59496 done
59497
59498 else
59499
59500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
59501 $as_echo_n "checking for _isinff declaration... " >&6; }
59502 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
59503 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
59504 $as_echo_n "(cached) " >&6
59505 else
59506
59507
59508 ac_ext=cpp
59509 ac_cpp='$CXXCPP $CPPFLAGS'
59510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59513
59514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59515 /* end confdefs.h. */
59516 #include <math.h>
59517 #ifdef HAVE_IEEEFP_H
59518 #include <ieeefp.h>
59519 #endif
59520
59521 int
59522 main ()
59523 {
59524 _isinff(0);
59525 ;
59526 return 0;
59527 }
59528 _ACEOF
59529 if ac_fn_cxx_try_compile "$LINENO"; then :
59530 glibcxx_cv_func__isinff_use=yes
59531 else
59532 glibcxx_cv_func__isinff_use=no
59533 fi
59534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59535 ac_ext=c
59536 ac_cpp='$CPP $CPPFLAGS'
59537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59540
59541
59542 fi
59543
59544 fi
59545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
59546 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
59547
59548 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
59549 for ac_func in _isinff
59550 do :
59551 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
59552 if test "x$ac_cv_func__isinff" = x""yes; then :
59553 cat >>confdefs.h <<_ACEOF
59554 #define HAVE__ISINFF 1
59555 _ACEOF
59556
59557 fi
59558 done
59559
59560 fi
59561 fi
59562
59563
59564
59565
59566
59567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
59568 $as_echo_n "checking for atan2f declaration... " >&6; }
59569 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
59570 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
59571 $as_echo_n "(cached) " >&6
59572 else
59573
59574
59575 ac_ext=cpp
59576 ac_cpp='$CXXCPP $CPPFLAGS'
59577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59580
59581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59582 /* end confdefs.h. */
59583 #include <math.h>
59584 int
59585 main ()
59586 {
59587 atan2f(0, 0);
59588 ;
59589 return 0;
59590 }
59591 _ACEOF
59592 if ac_fn_cxx_try_compile "$LINENO"; then :
59593 glibcxx_cv_func_atan2f_use=yes
59594 else
59595 glibcxx_cv_func_atan2f_use=no
59596 fi
59597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59598 ac_ext=c
59599 ac_cpp='$CPP $CPPFLAGS'
59600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59603
59604
59605 fi
59606
59607 fi
59608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
59609 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
59610
59611 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
59612 for ac_func in atan2f
59613 do :
59614 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
59615 if test "x$ac_cv_func_atan2f" = x""yes; then :
59616 cat >>confdefs.h <<_ACEOF
59617 #define HAVE_ATAN2F 1
59618 _ACEOF
59619
59620 fi
59621 done
59622
59623 else
59624
59625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
59626 $as_echo_n "checking for _atan2f declaration... " >&6; }
59627 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
59628 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
59629 $as_echo_n "(cached) " >&6
59630 else
59631
59632
59633 ac_ext=cpp
59634 ac_cpp='$CXXCPP $CPPFLAGS'
59635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59638
59639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59640 /* end confdefs.h. */
59641 #include <math.h>
59642 int
59643 main ()
59644 {
59645 _atan2f(0, 0);
59646 ;
59647 return 0;
59648 }
59649 _ACEOF
59650 if ac_fn_cxx_try_compile "$LINENO"; then :
59651 glibcxx_cv_func__atan2f_use=yes
59652 else
59653 glibcxx_cv_func__atan2f_use=no
59654 fi
59655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59656 ac_ext=c
59657 ac_cpp='$CPP $CPPFLAGS'
59658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59661
59662
59663 fi
59664
59665 fi
59666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
59667 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
59668
59669 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
59670 for ac_func in _atan2f
59671 do :
59672 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
59673 if test "x$ac_cv_func__atan2f" = x""yes; then :
59674 cat >>confdefs.h <<_ACEOF
59675 #define HAVE__ATAN2F 1
59676 _ACEOF
59677
59678 fi
59679 done
59680
59681 fi
59682 fi
59683
59684
59685
59686
59687
59688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
59689 $as_echo_n "checking for fabsf declaration... " >&6; }
59690 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
59691 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
59692 $as_echo_n "(cached) " >&6
59693 else
59694
59695
59696 ac_ext=cpp
59697 ac_cpp='$CXXCPP $CPPFLAGS'
59698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59701
59702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59703 /* end confdefs.h. */
59704 #include <math.h>
59705 #ifdef HAVE_IEEEFP_H
59706 #include <ieeefp.h>
59707 #endif
59708
59709 int
59710 main ()
59711 {
59712 fabsf(0);
59713 ;
59714 return 0;
59715 }
59716 _ACEOF
59717 if ac_fn_cxx_try_compile "$LINENO"; then :
59718 glibcxx_cv_func_fabsf_use=yes
59719 else
59720 glibcxx_cv_func_fabsf_use=no
59721 fi
59722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59723 ac_ext=c
59724 ac_cpp='$CPP $CPPFLAGS'
59725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59728
59729
59730 fi
59731
59732 fi
59733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
59734 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
59735
59736 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
59737 for ac_func in fabsf
59738 do :
59739 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
59740 if test "x$ac_cv_func_fabsf" = x""yes; then :
59741 cat >>confdefs.h <<_ACEOF
59742 #define HAVE_FABSF 1
59743 _ACEOF
59744
59745 fi
59746 done
59747
59748 else
59749
59750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
59751 $as_echo_n "checking for _fabsf declaration... " >&6; }
59752 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
59753 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
59754 $as_echo_n "(cached) " >&6
59755 else
59756
59757
59758 ac_ext=cpp
59759 ac_cpp='$CXXCPP $CPPFLAGS'
59760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59763
59764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59765 /* end confdefs.h. */
59766 #include <math.h>
59767 #ifdef HAVE_IEEEFP_H
59768 #include <ieeefp.h>
59769 #endif
59770
59771 int
59772 main ()
59773 {
59774 _fabsf(0);
59775 ;
59776 return 0;
59777 }
59778 _ACEOF
59779 if ac_fn_cxx_try_compile "$LINENO"; then :
59780 glibcxx_cv_func__fabsf_use=yes
59781 else
59782 glibcxx_cv_func__fabsf_use=no
59783 fi
59784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59785 ac_ext=c
59786 ac_cpp='$CPP $CPPFLAGS'
59787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59790
59791
59792 fi
59793
59794 fi
59795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
59796 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
59797
59798 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
59799 for ac_func in _fabsf
59800 do :
59801 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
59802 if test "x$ac_cv_func__fabsf" = x""yes; then :
59803 cat >>confdefs.h <<_ACEOF
59804 #define HAVE__FABSF 1
59805 _ACEOF
59806
59807 fi
59808 done
59809
59810 fi
59811 fi
59812
59813
59814
59815
59816
59817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
59818 $as_echo_n "checking for fmodf declaration... " >&6; }
59819 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
59820 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
59821 $as_echo_n "(cached) " >&6
59822 else
59823
59824
59825 ac_ext=cpp
59826 ac_cpp='$CXXCPP $CPPFLAGS'
59827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59830
59831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59832 /* end confdefs.h. */
59833 #include <math.h>
59834 int
59835 main ()
59836 {
59837 fmodf(0, 0);
59838 ;
59839 return 0;
59840 }
59841 _ACEOF
59842 if ac_fn_cxx_try_compile "$LINENO"; then :
59843 glibcxx_cv_func_fmodf_use=yes
59844 else
59845 glibcxx_cv_func_fmodf_use=no
59846 fi
59847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59848 ac_ext=c
59849 ac_cpp='$CPP $CPPFLAGS'
59850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59853
59854
59855 fi
59856
59857 fi
59858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
59859 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
59860
59861 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
59862 for ac_func in fmodf
59863 do :
59864 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
59865 if test "x$ac_cv_func_fmodf" = x""yes; then :
59866 cat >>confdefs.h <<_ACEOF
59867 #define HAVE_FMODF 1
59868 _ACEOF
59869
59870 fi
59871 done
59872
59873 else
59874
59875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
59876 $as_echo_n "checking for _fmodf declaration... " >&6; }
59877 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
59878 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
59879 $as_echo_n "(cached) " >&6
59880 else
59881
59882
59883 ac_ext=cpp
59884 ac_cpp='$CXXCPP $CPPFLAGS'
59885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59888
59889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59890 /* end confdefs.h. */
59891 #include <math.h>
59892 int
59893 main ()
59894 {
59895 _fmodf(0, 0);
59896 ;
59897 return 0;
59898 }
59899 _ACEOF
59900 if ac_fn_cxx_try_compile "$LINENO"; then :
59901 glibcxx_cv_func__fmodf_use=yes
59902 else
59903 glibcxx_cv_func__fmodf_use=no
59904 fi
59905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59906 ac_ext=c
59907 ac_cpp='$CPP $CPPFLAGS'
59908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59911
59912
59913 fi
59914
59915 fi
59916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
59917 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
59918
59919 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
59920 for ac_func in _fmodf
59921 do :
59922 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
59923 if test "x$ac_cv_func__fmodf" = x""yes; then :
59924 cat >>confdefs.h <<_ACEOF
59925 #define HAVE__FMODF 1
59926 _ACEOF
59927
59928 fi
59929 done
59930
59931 fi
59932 fi
59933
59934
59935
59936
59937
59938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
59939 $as_echo_n "checking for frexpf declaration... " >&6; }
59940 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
59941 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
59942 $as_echo_n "(cached) " >&6
59943 else
59944
59945
59946 ac_ext=cpp
59947 ac_cpp='$CXXCPP $CPPFLAGS'
59948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59951
59952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59953 /* end confdefs.h. */
59954 #include <math.h>
59955 int
59956 main ()
59957 {
59958 frexpf(0, 0);
59959 ;
59960 return 0;
59961 }
59962 _ACEOF
59963 if ac_fn_cxx_try_compile "$LINENO"; then :
59964 glibcxx_cv_func_frexpf_use=yes
59965 else
59966 glibcxx_cv_func_frexpf_use=no
59967 fi
59968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59969 ac_ext=c
59970 ac_cpp='$CPP $CPPFLAGS'
59971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59974
59975
59976 fi
59977
59978 fi
59979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
59980 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
59981
59982 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
59983 for ac_func in frexpf
59984 do :
59985 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
59986 if test "x$ac_cv_func_frexpf" = x""yes; then :
59987 cat >>confdefs.h <<_ACEOF
59988 #define HAVE_FREXPF 1
59989 _ACEOF
59990
59991 fi
59992 done
59993
59994 else
59995
59996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
59997 $as_echo_n "checking for _frexpf declaration... " >&6; }
59998 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
59999 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60000 $as_echo_n "(cached) " >&6
60001 else
60002
60003
60004 ac_ext=cpp
60005 ac_cpp='$CXXCPP $CPPFLAGS'
60006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60009
60010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60011 /* end confdefs.h. */
60012 #include <math.h>
60013 int
60014 main ()
60015 {
60016 _frexpf(0, 0);
60017 ;
60018 return 0;
60019 }
60020 _ACEOF
60021 if ac_fn_cxx_try_compile "$LINENO"; then :
60022 glibcxx_cv_func__frexpf_use=yes
60023 else
60024 glibcxx_cv_func__frexpf_use=no
60025 fi
60026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60027 ac_ext=c
60028 ac_cpp='$CPP $CPPFLAGS'
60029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60032
60033
60034 fi
60035
60036 fi
60037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
60038 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
60039
60040 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
60041 for ac_func in _frexpf
60042 do :
60043 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
60044 if test "x$ac_cv_func__frexpf" = x""yes; then :
60045 cat >>confdefs.h <<_ACEOF
60046 #define HAVE__FREXPF 1
60047 _ACEOF
60048
60049 fi
60050 done
60051
60052 fi
60053 fi
60054
60055
60056
60057
60058
60059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
60060 $as_echo_n "checking for hypotf declaration... " >&6; }
60061 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
60062 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
60063 $as_echo_n "(cached) " >&6
60064 else
60065
60066
60067 ac_ext=cpp
60068 ac_cpp='$CXXCPP $CPPFLAGS'
60069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60072
60073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60074 /* end confdefs.h. */
60075 #include <math.h>
60076 int
60077 main ()
60078 {
60079 hypotf(0, 0);
60080 ;
60081 return 0;
60082 }
60083 _ACEOF
60084 if ac_fn_cxx_try_compile "$LINENO"; then :
60085 glibcxx_cv_func_hypotf_use=yes
60086 else
60087 glibcxx_cv_func_hypotf_use=no
60088 fi
60089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60090 ac_ext=c
60091 ac_cpp='$CPP $CPPFLAGS'
60092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60095
60096
60097 fi
60098
60099 fi
60100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
60101 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
60102
60103 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
60104 for ac_func in hypotf
60105 do :
60106 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
60107 if test "x$ac_cv_func_hypotf" = x""yes; then :
60108 cat >>confdefs.h <<_ACEOF
60109 #define HAVE_HYPOTF 1
60110 _ACEOF
60111
60112 fi
60113 done
60114
60115 else
60116
60117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
60118 $as_echo_n "checking for _hypotf declaration... " >&6; }
60119 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
60120 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
60121 $as_echo_n "(cached) " >&6
60122 else
60123
60124
60125 ac_ext=cpp
60126 ac_cpp='$CXXCPP $CPPFLAGS'
60127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60130
60131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60132 /* end confdefs.h. */
60133 #include <math.h>
60134 int
60135 main ()
60136 {
60137 _hypotf(0, 0);
60138 ;
60139 return 0;
60140 }
60141 _ACEOF
60142 if ac_fn_cxx_try_compile "$LINENO"; then :
60143 glibcxx_cv_func__hypotf_use=yes
60144 else
60145 glibcxx_cv_func__hypotf_use=no
60146 fi
60147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60148 ac_ext=c
60149 ac_cpp='$CPP $CPPFLAGS'
60150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60153
60154
60155 fi
60156
60157 fi
60158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
60159 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
60160
60161 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
60162 for ac_func in _hypotf
60163 do :
60164 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
60165 if test "x$ac_cv_func__hypotf" = x""yes; then :
60166 cat >>confdefs.h <<_ACEOF
60167 #define HAVE__HYPOTF 1
60168 _ACEOF
60169
60170 fi
60171 done
60172
60173 fi
60174 fi
60175
60176
60177
60178
60179
60180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
60181 $as_echo_n "checking for ldexpf declaration... " >&6; }
60182 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
60183 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
60184 $as_echo_n "(cached) " >&6
60185 else
60186
60187
60188 ac_ext=cpp
60189 ac_cpp='$CXXCPP $CPPFLAGS'
60190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60193
60194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60195 /* end confdefs.h. */
60196 #include <math.h>
60197 int
60198 main ()
60199 {
60200 ldexpf(0, 0);
60201 ;
60202 return 0;
60203 }
60204 _ACEOF
60205 if ac_fn_cxx_try_compile "$LINENO"; then :
60206 glibcxx_cv_func_ldexpf_use=yes
60207 else
60208 glibcxx_cv_func_ldexpf_use=no
60209 fi
60210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60211 ac_ext=c
60212 ac_cpp='$CPP $CPPFLAGS'
60213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60216
60217
60218 fi
60219
60220 fi
60221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
60222 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
60223
60224 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
60225 for ac_func in ldexpf
60226 do :
60227 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
60228 if test "x$ac_cv_func_ldexpf" = x""yes; then :
60229 cat >>confdefs.h <<_ACEOF
60230 #define HAVE_LDEXPF 1
60231 _ACEOF
60232
60233 fi
60234 done
60235
60236 else
60237
60238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
60239 $as_echo_n "checking for _ldexpf declaration... " >&6; }
60240 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
60241 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
60242 $as_echo_n "(cached) " >&6
60243 else
60244
60245
60246 ac_ext=cpp
60247 ac_cpp='$CXXCPP $CPPFLAGS'
60248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60251
60252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60253 /* end confdefs.h. */
60254 #include <math.h>
60255 int
60256 main ()
60257 {
60258 _ldexpf(0, 0);
60259 ;
60260 return 0;
60261 }
60262 _ACEOF
60263 if ac_fn_cxx_try_compile "$LINENO"; then :
60264 glibcxx_cv_func__ldexpf_use=yes
60265 else
60266 glibcxx_cv_func__ldexpf_use=no
60267 fi
60268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60269 ac_ext=c
60270 ac_cpp='$CPP $CPPFLAGS'
60271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60274
60275
60276 fi
60277
60278 fi
60279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
60280 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
60281
60282 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
60283 for ac_func in _ldexpf
60284 do :
60285 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
60286 if test "x$ac_cv_func__ldexpf" = x""yes; then :
60287 cat >>confdefs.h <<_ACEOF
60288 #define HAVE__LDEXPF 1
60289 _ACEOF
60290
60291 fi
60292 done
60293
60294 fi
60295 fi
60296
60297
60298
60299
60300
60301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
60302 $as_echo_n "checking for logf declaration... " >&6; }
60303 if test x${glibcxx_cv_func_logf_use+set} != xset; then
60304 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
60305 $as_echo_n "(cached) " >&6
60306 else
60307
60308
60309 ac_ext=cpp
60310 ac_cpp='$CXXCPP $CPPFLAGS'
60311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60314
60315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60316 /* end confdefs.h. */
60317 #include <math.h>
60318 #ifdef HAVE_IEEEFP_H
60319 #include <ieeefp.h>
60320 #endif
60321
60322 int
60323 main ()
60324 {
60325 logf(0);
60326 ;
60327 return 0;
60328 }
60329 _ACEOF
60330 if ac_fn_cxx_try_compile "$LINENO"; then :
60331 glibcxx_cv_func_logf_use=yes
60332 else
60333 glibcxx_cv_func_logf_use=no
60334 fi
60335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60336 ac_ext=c
60337 ac_cpp='$CPP $CPPFLAGS'
60338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60341
60342
60343 fi
60344
60345 fi
60346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
60347 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
60348
60349 if test x$glibcxx_cv_func_logf_use = x"yes"; then
60350 for ac_func in logf
60351 do :
60352 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
60353 if test "x$ac_cv_func_logf" = x""yes; then :
60354 cat >>confdefs.h <<_ACEOF
60355 #define HAVE_LOGF 1
60356 _ACEOF
60357
60358 fi
60359 done
60360
60361 else
60362
60363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
60364 $as_echo_n "checking for _logf declaration... " >&6; }
60365 if test x${glibcxx_cv_func__logf_use+set} != xset; then
60366 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
60367 $as_echo_n "(cached) " >&6
60368 else
60369
60370
60371 ac_ext=cpp
60372 ac_cpp='$CXXCPP $CPPFLAGS'
60373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60376
60377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60378 /* end confdefs.h. */
60379 #include <math.h>
60380 #ifdef HAVE_IEEEFP_H
60381 #include <ieeefp.h>
60382 #endif
60383
60384 int
60385 main ()
60386 {
60387 _logf(0);
60388 ;
60389 return 0;
60390 }
60391 _ACEOF
60392 if ac_fn_cxx_try_compile "$LINENO"; then :
60393 glibcxx_cv_func__logf_use=yes
60394 else
60395 glibcxx_cv_func__logf_use=no
60396 fi
60397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60398 ac_ext=c
60399 ac_cpp='$CPP $CPPFLAGS'
60400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60403
60404
60405 fi
60406
60407 fi
60408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
60409 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
60410
60411 if test x$glibcxx_cv_func__logf_use = x"yes"; then
60412 for ac_func in _logf
60413 do :
60414 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
60415 if test "x$ac_cv_func__logf" = x""yes; then :
60416 cat >>confdefs.h <<_ACEOF
60417 #define HAVE__LOGF 1
60418 _ACEOF
60419
60420 fi
60421 done
60422
60423 fi
60424 fi
60425
60426
60427
60428
60429
60430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
60431 $as_echo_n "checking for log10f declaration... " >&6; }
60432 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
60433 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
60434 $as_echo_n "(cached) " >&6
60435 else
60436
60437
60438 ac_ext=cpp
60439 ac_cpp='$CXXCPP $CPPFLAGS'
60440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60443
60444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60445 /* end confdefs.h. */
60446 #include <math.h>
60447 #ifdef HAVE_IEEEFP_H
60448 #include <ieeefp.h>
60449 #endif
60450
60451 int
60452 main ()
60453 {
60454 log10f(0);
60455 ;
60456 return 0;
60457 }
60458 _ACEOF
60459 if ac_fn_cxx_try_compile "$LINENO"; then :
60460 glibcxx_cv_func_log10f_use=yes
60461 else
60462 glibcxx_cv_func_log10f_use=no
60463 fi
60464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60465 ac_ext=c
60466 ac_cpp='$CPP $CPPFLAGS'
60467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60470
60471
60472 fi
60473
60474 fi
60475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
60476 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
60477
60478 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
60479 for ac_func in log10f
60480 do :
60481 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
60482 if test "x$ac_cv_func_log10f" = x""yes; then :
60483 cat >>confdefs.h <<_ACEOF
60484 #define HAVE_LOG10F 1
60485 _ACEOF
60486
60487 fi
60488 done
60489
60490 else
60491
60492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
60493 $as_echo_n "checking for _log10f declaration... " >&6; }
60494 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
60495 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
60496 $as_echo_n "(cached) " >&6
60497 else
60498
60499
60500 ac_ext=cpp
60501 ac_cpp='$CXXCPP $CPPFLAGS'
60502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60505
60506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60507 /* end confdefs.h. */
60508 #include <math.h>
60509 #ifdef HAVE_IEEEFP_H
60510 #include <ieeefp.h>
60511 #endif
60512
60513 int
60514 main ()
60515 {
60516 _log10f(0);
60517 ;
60518 return 0;
60519 }
60520 _ACEOF
60521 if ac_fn_cxx_try_compile "$LINENO"; then :
60522 glibcxx_cv_func__log10f_use=yes
60523 else
60524 glibcxx_cv_func__log10f_use=no
60525 fi
60526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60527 ac_ext=c
60528 ac_cpp='$CPP $CPPFLAGS'
60529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60532
60533
60534 fi
60535
60536 fi
60537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
60538 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
60539
60540 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
60541 for ac_func in _log10f
60542 do :
60543 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
60544 if test "x$ac_cv_func__log10f" = x""yes; then :
60545 cat >>confdefs.h <<_ACEOF
60546 #define HAVE__LOG10F 1
60547 _ACEOF
60548
60549 fi
60550 done
60551
60552 fi
60553 fi
60554
60555
60556
60557
60558
60559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
60560 $as_echo_n "checking for modff declaration... " >&6; }
60561 if test x${glibcxx_cv_func_modff_use+set} != xset; then
60562 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
60563 $as_echo_n "(cached) " >&6
60564 else
60565
60566
60567 ac_ext=cpp
60568 ac_cpp='$CXXCPP $CPPFLAGS'
60569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60572
60573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60574 /* end confdefs.h. */
60575 #include <math.h>
60576 int
60577 main ()
60578 {
60579 modff(0, 0);
60580 ;
60581 return 0;
60582 }
60583 _ACEOF
60584 if ac_fn_cxx_try_compile "$LINENO"; then :
60585 glibcxx_cv_func_modff_use=yes
60586 else
60587 glibcxx_cv_func_modff_use=no
60588 fi
60589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60590 ac_ext=c
60591 ac_cpp='$CPP $CPPFLAGS'
60592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60595
60596
60597 fi
60598
60599 fi
60600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
60601 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
60602
60603 if test x$glibcxx_cv_func_modff_use = x"yes"; then
60604 for ac_func in modff
60605 do :
60606 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
60607 if test "x$ac_cv_func_modff" = x""yes; then :
60608 cat >>confdefs.h <<_ACEOF
60609 #define HAVE_MODFF 1
60610 _ACEOF
60611
60612 fi
60613 done
60614
60615 else
60616
60617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
60618 $as_echo_n "checking for _modff declaration... " >&6; }
60619 if test x${glibcxx_cv_func__modff_use+set} != xset; then
60620 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
60621 $as_echo_n "(cached) " >&6
60622 else
60623
60624
60625 ac_ext=cpp
60626 ac_cpp='$CXXCPP $CPPFLAGS'
60627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60630
60631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60632 /* end confdefs.h. */
60633 #include <math.h>
60634 int
60635 main ()
60636 {
60637 _modff(0, 0);
60638 ;
60639 return 0;
60640 }
60641 _ACEOF
60642 if ac_fn_cxx_try_compile "$LINENO"; then :
60643 glibcxx_cv_func__modff_use=yes
60644 else
60645 glibcxx_cv_func__modff_use=no
60646 fi
60647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60648 ac_ext=c
60649 ac_cpp='$CPP $CPPFLAGS'
60650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60653
60654
60655 fi
60656
60657 fi
60658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
60659 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
60660
60661 if test x$glibcxx_cv_func__modff_use = x"yes"; then
60662 for ac_func in _modff
60663 do :
60664 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
60665 if test "x$ac_cv_func__modff" = x""yes; then :
60666 cat >>confdefs.h <<_ACEOF
60667 #define HAVE__MODFF 1
60668 _ACEOF
60669
60670 fi
60671 done
60672
60673 fi
60674 fi
60675
60676
60677
60678
60679
60680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
60681 $as_echo_n "checking for modf declaration... " >&6; }
60682 if test x${glibcxx_cv_func_modf_use+set} != xset; then
60683 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
60684 $as_echo_n "(cached) " >&6
60685 else
60686
60687
60688 ac_ext=cpp
60689 ac_cpp='$CXXCPP $CPPFLAGS'
60690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60693
60694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60695 /* end confdefs.h. */
60696 #include <math.h>
60697 int
60698 main ()
60699 {
60700 modf(0, 0);
60701 ;
60702 return 0;
60703 }
60704 _ACEOF
60705 if ac_fn_cxx_try_compile "$LINENO"; then :
60706 glibcxx_cv_func_modf_use=yes
60707 else
60708 glibcxx_cv_func_modf_use=no
60709 fi
60710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60711 ac_ext=c
60712 ac_cpp='$CPP $CPPFLAGS'
60713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60716
60717
60718 fi
60719
60720 fi
60721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
60722 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
60723
60724 if test x$glibcxx_cv_func_modf_use = x"yes"; then
60725 for ac_func in modf
60726 do :
60727 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
60728 if test "x$ac_cv_func_modf" = x""yes; then :
60729 cat >>confdefs.h <<_ACEOF
60730 #define HAVE_MODF 1
60731 _ACEOF
60732
60733 fi
60734 done
60735
60736 else
60737
60738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
60739 $as_echo_n "checking for _modf declaration... " >&6; }
60740 if test x${glibcxx_cv_func__modf_use+set} != xset; then
60741 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
60742 $as_echo_n "(cached) " >&6
60743 else
60744
60745
60746 ac_ext=cpp
60747 ac_cpp='$CXXCPP $CPPFLAGS'
60748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60751
60752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60753 /* end confdefs.h. */
60754 #include <math.h>
60755 int
60756 main ()
60757 {
60758 _modf(0, 0);
60759 ;
60760 return 0;
60761 }
60762 _ACEOF
60763 if ac_fn_cxx_try_compile "$LINENO"; then :
60764 glibcxx_cv_func__modf_use=yes
60765 else
60766 glibcxx_cv_func__modf_use=no
60767 fi
60768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60769 ac_ext=c
60770 ac_cpp='$CPP $CPPFLAGS'
60771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60774
60775
60776 fi
60777
60778 fi
60779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
60780 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
60781
60782 if test x$glibcxx_cv_func__modf_use = x"yes"; then
60783 for ac_func in _modf
60784 do :
60785 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
60786 if test "x$ac_cv_func__modf" = x""yes; then :
60787 cat >>confdefs.h <<_ACEOF
60788 #define HAVE__MODF 1
60789 _ACEOF
60790
60791 fi
60792 done
60793
60794 fi
60795 fi
60796
60797
60798
60799
60800
60801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
60802 $as_echo_n "checking for powf declaration... " >&6; }
60803 if test x${glibcxx_cv_func_powf_use+set} != xset; then
60804 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
60805 $as_echo_n "(cached) " >&6
60806 else
60807
60808
60809 ac_ext=cpp
60810 ac_cpp='$CXXCPP $CPPFLAGS'
60811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60814
60815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60816 /* end confdefs.h. */
60817 #include <math.h>
60818 int
60819 main ()
60820 {
60821 powf(0, 0);
60822 ;
60823 return 0;
60824 }
60825 _ACEOF
60826 if ac_fn_cxx_try_compile "$LINENO"; then :
60827 glibcxx_cv_func_powf_use=yes
60828 else
60829 glibcxx_cv_func_powf_use=no
60830 fi
60831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60832 ac_ext=c
60833 ac_cpp='$CPP $CPPFLAGS'
60834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60837
60838
60839 fi
60840
60841 fi
60842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
60843 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
60844
60845 if test x$glibcxx_cv_func_powf_use = x"yes"; then
60846 for ac_func in powf
60847 do :
60848 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
60849 if test "x$ac_cv_func_powf" = x""yes; then :
60850 cat >>confdefs.h <<_ACEOF
60851 #define HAVE_POWF 1
60852 _ACEOF
60853
60854 fi
60855 done
60856
60857 else
60858
60859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
60860 $as_echo_n "checking for _powf declaration... " >&6; }
60861 if test x${glibcxx_cv_func__powf_use+set} != xset; then
60862 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
60863 $as_echo_n "(cached) " >&6
60864 else
60865
60866
60867 ac_ext=cpp
60868 ac_cpp='$CXXCPP $CPPFLAGS'
60869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60872
60873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60874 /* end confdefs.h. */
60875 #include <math.h>
60876 int
60877 main ()
60878 {
60879 _powf(0, 0);
60880 ;
60881 return 0;
60882 }
60883 _ACEOF
60884 if ac_fn_cxx_try_compile "$LINENO"; then :
60885 glibcxx_cv_func__powf_use=yes
60886 else
60887 glibcxx_cv_func__powf_use=no
60888 fi
60889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60890 ac_ext=c
60891 ac_cpp='$CPP $CPPFLAGS'
60892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60895
60896
60897 fi
60898
60899 fi
60900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
60901 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
60902
60903 if test x$glibcxx_cv_func__powf_use = x"yes"; then
60904 for ac_func in _powf
60905 do :
60906 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
60907 if test "x$ac_cv_func__powf" = x""yes; then :
60908 cat >>confdefs.h <<_ACEOF
60909 #define HAVE__POWF 1
60910 _ACEOF
60911
60912 fi
60913 done
60914
60915 fi
60916 fi
60917
60918
60919
60920
60921
60922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
60923 $as_echo_n "checking for sqrtf declaration... " >&6; }
60924 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
60925 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
60926 $as_echo_n "(cached) " >&6
60927 else
60928
60929
60930 ac_ext=cpp
60931 ac_cpp='$CXXCPP $CPPFLAGS'
60932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60935
60936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60937 /* end confdefs.h. */
60938 #include <math.h>
60939 #ifdef HAVE_IEEEFP_H
60940 #include <ieeefp.h>
60941 #endif
60942
60943 int
60944 main ()
60945 {
60946 sqrtf(0);
60947 ;
60948 return 0;
60949 }
60950 _ACEOF
60951 if ac_fn_cxx_try_compile "$LINENO"; then :
60952 glibcxx_cv_func_sqrtf_use=yes
60953 else
60954 glibcxx_cv_func_sqrtf_use=no
60955 fi
60956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60957 ac_ext=c
60958 ac_cpp='$CPP $CPPFLAGS'
60959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60962
60963
60964 fi
60965
60966 fi
60967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
60968 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
60969
60970 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
60971 for ac_func in sqrtf
60972 do :
60973 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
60974 if test "x$ac_cv_func_sqrtf" = x""yes; then :
60975 cat >>confdefs.h <<_ACEOF
60976 #define HAVE_SQRTF 1
60977 _ACEOF
60978
60979 fi
60980 done
60981
60982 else
60983
60984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
60985 $as_echo_n "checking for _sqrtf declaration... " >&6; }
60986 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
60987 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
60988 $as_echo_n "(cached) " >&6
60989 else
60990
60991
60992 ac_ext=cpp
60993 ac_cpp='$CXXCPP $CPPFLAGS'
60994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60997
60998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60999 /* end confdefs.h. */
61000 #include <math.h>
61001 #ifdef HAVE_IEEEFP_H
61002 #include <ieeefp.h>
61003 #endif
61004
61005 int
61006 main ()
61007 {
61008 _sqrtf(0);
61009 ;
61010 return 0;
61011 }
61012 _ACEOF
61013 if ac_fn_cxx_try_compile "$LINENO"; then :
61014 glibcxx_cv_func__sqrtf_use=yes
61015 else
61016 glibcxx_cv_func__sqrtf_use=no
61017 fi
61018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61019 ac_ext=c
61020 ac_cpp='$CPP $CPPFLAGS'
61021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61024
61025
61026 fi
61027
61028 fi
61029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
61030 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
61031
61032 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
61033 for ac_func in _sqrtf
61034 do :
61035 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
61036 if test "x$ac_cv_func__sqrtf" = x""yes; then :
61037 cat >>confdefs.h <<_ACEOF
61038 #define HAVE__SQRTF 1
61039 _ACEOF
61040
61041 fi
61042 done
61043
61044 fi
61045 fi
61046
61047
61048
61049
61050
61051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
61052 $as_echo_n "checking for sincosf declaration... " >&6; }
61053 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
61054 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
61055 $as_echo_n "(cached) " >&6
61056 else
61057
61058
61059 ac_ext=cpp
61060 ac_cpp='$CXXCPP $CPPFLAGS'
61061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61064
61065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61066 /* end confdefs.h. */
61067 #include <math.h>
61068 int
61069 main ()
61070 {
61071 sincosf(0, 0, 0);
61072 ;
61073 return 0;
61074 }
61075 _ACEOF
61076 if ac_fn_cxx_try_compile "$LINENO"; then :
61077 glibcxx_cv_func_sincosf_use=yes
61078 else
61079 glibcxx_cv_func_sincosf_use=no
61080 fi
61081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61082 ac_ext=c
61083 ac_cpp='$CPP $CPPFLAGS'
61084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61087
61088
61089 fi
61090
61091 fi
61092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
61093 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
61094
61095 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
61096 for ac_func in sincosf
61097 do :
61098 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
61099 if test "x$ac_cv_func_sincosf" = x""yes; then :
61100 cat >>confdefs.h <<_ACEOF
61101 #define HAVE_SINCOSF 1
61102 _ACEOF
61103
61104 fi
61105 done
61106
61107 else
61108
61109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
61110 $as_echo_n "checking for _sincosf declaration... " >&6; }
61111 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
61112 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
61113 $as_echo_n "(cached) " >&6
61114 else
61115
61116
61117 ac_ext=cpp
61118 ac_cpp='$CXXCPP $CPPFLAGS'
61119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61122
61123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61124 /* end confdefs.h. */
61125 #include <math.h>
61126 int
61127 main ()
61128 {
61129 _sincosf(0, 0, 0);
61130 ;
61131 return 0;
61132 }
61133 _ACEOF
61134 if ac_fn_cxx_try_compile "$LINENO"; then :
61135 glibcxx_cv_func__sincosf_use=yes
61136 else
61137 glibcxx_cv_func__sincosf_use=no
61138 fi
61139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61140 ac_ext=c
61141 ac_cpp='$CPP $CPPFLAGS'
61142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61145
61146
61147 fi
61148
61149 fi
61150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
61151 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
61152
61153 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
61154 for ac_func in _sincosf
61155 do :
61156 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
61157 if test "x$ac_cv_func__sincosf" = x""yes; then :
61158 cat >>confdefs.h <<_ACEOF
61159 #define HAVE__SINCOSF 1
61160 _ACEOF
61161
61162 fi
61163 done
61164
61165 fi
61166 fi
61167
61168
61169
61170
61171
61172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
61173 $as_echo_n "checking for finitef declaration... " >&6; }
61174 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
61175 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
61176 $as_echo_n "(cached) " >&6
61177 else
61178
61179
61180 ac_ext=cpp
61181 ac_cpp='$CXXCPP $CPPFLAGS'
61182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61185
61186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61187 /* end confdefs.h. */
61188 #include <math.h>
61189 #ifdef HAVE_IEEEFP_H
61190 #include <ieeefp.h>
61191 #endif
61192
61193 int
61194 main ()
61195 {
61196 finitef(0);
61197 ;
61198 return 0;
61199 }
61200 _ACEOF
61201 if ac_fn_cxx_try_compile "$LINENO"; then :
61202 glibcxx_cv_func_finitef_use=yes
61203 else
61204 glibcxx_cv_func_finitef_use=no
61205 fi
61206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61207 ac_ext=c
61208 ac_cpp='$CPP $CPPFLAGS'
61209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61212
61213
61214 fi
61215
61216 fi
61217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
61218 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
61219
61220 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
61221 for ac_func in finitef
61222 do :
61223 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
61224 if test "x$ac_cv_func_finitef" = x""yes; then :
61225 cat >>confdefs.h <<_ACEOF
61226 #define HAVE_FINITEF 1
61227 _ACEOF
61228
61229 fi
61230 done
61231
61232 else
61233
61234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
61235 $as_echo_n "checking for _finitef declaration... " >&6; }
61236 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
61237 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
61238 $as_echo_n "(cached) " >&6
61239 else
61240
61241
61242 ac_ext=cpp
61243 ac_cpp='$CXXCPP $CPPFLAGS'
61244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61247
61248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61249 /* end confdefs.h. */
61250 #include <math.h>
61251 #ifdef HAVE_IEEEFP_H
61252 #include <ieeefp.h>
61253 #endif
61254
61255 int
61256 main ()
61257 {
61258 _finitef(0);
61259 ;
61260 return 0;
61261 }
61262 _ACEOF
61263 if ac_fn_cxx_try_compile "$LINENO"; then :
61264 glibcxx_cv_func__finitef_use=yes
61265 else
61266 glibcxx_cv_func__finitef_use=no
61267 fi
61268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61269 ac_ext=c
61270 ac_cpp='$CPP $CPPFLAGS'
61271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61274
61275
61276 fi
61277
61278 fi
61279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
61280 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
61281
61282 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
61283 for ac_func in _finitef
61284 do :
61285 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
61286 if test "x$ac_cv_func__finitef" = x""yes; then :
61287 cat >>confdefs.h <<_ACEOF
61288 #define HAVE__FINITEF 1
61289 _ACEOF
61290
61291 fi
61292 done
61293
61294 fi
61295 fi
61296
61297
61298
61299
61300
61301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
61302 $as_echo_n "checking for long double trig functions... " >&6; }
61303 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
61304 $as_echo_n "(cached) " >&6
61305 else
61306
61307
61308 ac_ext=cpp
61309 ac_cpp='$CXXCPP $CPPFLAGS'
61310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61313
61314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61315 /* end confdefs.h. */
61316 #include <math.h>
61317 int
61318 main ()
61319 {
61320 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
61321 ;
61322 return 0;
61323 }
61324 _ACEOF
61325 if ac_fn_cxx_try_compile "$LINENO"; then :
61326 glibcxx_cv_func_long_double_trig_use=yes
61327 else
61328 glibcxx_cv_func_long_double_trig_use=no
61329 fi
61330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61331 ac_ext=c
61332 ac_cpp='$CPP $CPPFLAGS'
61333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61336
61337 fi
61338
61339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
61340 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
61341 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
61342 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
61343 do :
61344 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61345 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61346 eval as_val=\$$as_ac_var
61347 if test "x$as_val" = x""yes; then :
61348 cat >>confdefs.h <<_ACEOF
61349 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61350 _ACEOF
61351
61352 fi
61353 done
61354
61355 else
61356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
61357 $as_echo_n "checking for _long double trig functions... " >&6; }
61358 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
61359 $as_echo_n "(cached) " >&6
61360 else
61361
61362
61363 ac_ext=cpp
61364 ac_cpp='$CXXCPP $CPPFLAGS'
61365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61368
61369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61370 /* end confdefs.h. */
61371 #include <math.h>
61372 int
61373 main ()
61374 {
61375 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
61376 ;
61377 return 0;
61378 }
61379 _ACEOF
61380 if ac_fn_cxx_try_compile "$LINENO"; then :
61381 glibcxx_cv_func__long_double_trig_use=yes
61382 else
61383 glibcxx_cv_func__long_double_trig_use=no
61384 fi
61385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61386 ac_ext=c
61387 ac_cpp='$CPP $CPPFLAGS'
61388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61391
61392 fi
61393
61394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
61395 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
61396 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
61397 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
61398 do :
61399 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61400 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61401 eval as_val=\$$as_ac_var
61402 if test "x$as_val" = x""yes; then :
61403 cat >>confdefs.h <<_ACEOF
61404 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61405 _ACEOF
61406
61407 fi
61408 done
61409
61410 fi
61411 fi
61412
61413
61414
61415
61416
61417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
61418 $as_echo_n "checking for long double round functions... " >&6; }
61419 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
61420 $as_echo_n "(cached) " >&6
61421 else
61422
61423
61424 ac_ext=cpp
61425 ac_cpp='$CXXCPP $CPPFLAGS'
61426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61429
61430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61431 /* end confdefs.h. */
61432 #include <math.h>
61433 int
61434 main ()
61435 {
61436 ceill (0); floorl (0);
61437 ;
61438 return 0;
61439 }
61440 _ACEOF
61441 if ac_fn_cxx_try_compile "$LINENO"; then :
61442 glibcxx_cv_func_long_double_round_use=yes
61443 else
61444 glibcxx_cv_func_long_double_round_use=no
61445 fi
61446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61447 ac_ext=c
61448 ac_cpp='$CPP $CPPFLAGS'
61449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61452
61453 fi
61454
61455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
61456 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
61457 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
61458 for ac_func in ceill floorl
61459 do :
61460 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61461 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61462 eval as_val=\$$as_ac_var
61463 if test "x$as_val" = x""yes; then :
61464 cat >>confdefs.h <<_ACEOF
61465 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61466 _ACEOF
61467
61468 fi
61469 done
61470
61471 else
61472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
61473 $as_echo_n "checking for _long double round functions... " >&6; }
61474 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
61475 $as_echo_n "(cached) " >&6
61476 else
61477
61478
61479 ac_ext=cpp
61480 ac_cpp='$CXXCPP $CPPFLAGS'
61481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61484
61485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61486 /* end confdefs.h. */
61487 #include <math.h>
61488 int
61489 main ()
61490 {
61491 _ceill (0); _floorl (0);
61492 ;
61493 return 0;
61494 }
61495 _ACEOF
61496 if ac_fn_cxx_try_compile "$LINENO"; then :
61497 glibcxx_cv_func__long_double_round_use=yes
61498 else
61499 glibcxx_cv_func__long_double_round_use=no
61500 fi
61501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61502 ac_ext=c
61503 ac_cpp='$CPP $CPPFLAGS'
61504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61507
61508 fi
61509
61510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
61511 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
61512 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
61513 for ac_func in _ceill _floorl
61514 do :
61515 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61516 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61517 eval as_val=\$$as_ac_var
61518 if test "x$as_val" = x""yes; then :
61519 cat >>confdefs.h <<_ACEOF
61520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61521 _ACEOF
61522
61523 fi
61524 done
61525
61526 fi
61527 fi
61528
61529
61530
61531
61532
61533
61534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
61535 $as_echo_n "checking for isnanl declaration... " >&6; }
61536 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
61537 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
61538 $as_echo_n "(cached) " >&6
61539 else
61540
61541
61542 ac_ext=cpp
61543 ac_cpp='$CXXCPP $CPPFLAGS'
61544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61547
61548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61549 /* end confdefs.h. */
61550 #include <math.h>
61551 #ifdef HAVE_IEEEFP_H
61552 #include <ieeefp.h>
61553 #endif
61554
61555 int
61556 main ()
61557 {
61558 isnanl(0);
61559 ;
61560 return 0;
61561 }
61562 _ACEOF
61563 if ac_fn_cxx_try_compile "$LINENO"; then :
61564 glibcxx_cv_func_isnanl_use=yes
61565 else
61566 glibcxx_cv_func_isnanl_use=no
61567 fi
61568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61569 ac_ext=c
61570 ac_cpp='$CPP $CPPFLAGS'
61571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61574
61575
61576 fi
61577
61578 fi
61579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
61580 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
61581
61582 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
61583 for ac_func in isnanl
61584 do :
61585 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
61586 if test "x$ac_cv_func_isnanl" = x""yes; then :
61587 cat >>confdefs.h <<_ACEOF
61588 #define HAVE_ISNANL 1
61589 _ACEOF
61590
61591 fi
61592 done
61593
61594 else
61595
61596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
61597 $as_echo_n "checking for _isnanl declaration... " >&6; }
61598 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
61599 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
61600 $as_echo_n "(cached) " >&6
61601 else
61602
61603
61604 ac_ext=cpp
61605 ac_cpp='$CXXCPP $CPPFLAGS'
61606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61609
61610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61611 /* end confdefs.h. */
61612 #include <math.h>
61613 #ifdef HAVE_IEEEFP_H
61614 #include <ieeefp.h>
61615 #endif
61616
61617 int
61618 main ()
61619 {
61620 _isnanl(0);
61621 ;
61622 return 0;
61623 }
61624 _ACEOF
61625 if ac_fn_cxx_try_compile "$LINENO"; then :
61626 glibcxx_cv_func__isnanl_use=yes
61627 else
61628 glibcxx_cv_func__isnanl_use=no
61629 fi
61630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61631 ac_ext=c
61632 ac_cpp='$CPP $CPPFLAGS'
61633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61636
61637
61638 fi
61639
61640 fi
61641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
61642 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
61643
61644 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
61645 for ac_func in _isnanl
61646 do :
61647 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
61648 if test "x$ac_cv_func__isnanl" = x""yes; then :
61649 cat >>confdefs.h <<_ACEOF
61650 #define HAVE__ISNANL 1
61651 _ACEOF
61652
61653 fi
61654 done
61655
61656 fi
61657 fi
61658
61659
61660
61661
61662
61663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
61664 $as_echo_n "checking for isinfl declaration... " >&6; }
61665 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
61666 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
61667 $as_echo_n "(cached) " >&6
61668 else
61669
61670
61671 ac_ext=cpp
61672 ac_cpp='$CXXCPP $CPPFLAGS'
61673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61676
61677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61678 /* end confdefs.h. */
61679 #include <math.h>
61680 #ifdef HAVE_IEEEFP_H
61681 #include <ieeefp.h>
61682 #endif
61683
61684 int
61685 main ()
61686 {
61687 isinfl(0);
61688 ;
61689 return 0;
61690 }
61691 _ACEOF
61692 if ac_fn_cxx_try_compile "$LINENO"; then :
61693 glibcxx_cv_func_isinfl_use=yes
61694 else
61695 glibcxx_cv_func_isinfl_use=no
61696 fi
61697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61698 ac_ext=c
61699 ac_cpp='$CPP $CPPFLAGS'
61700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61703
61704
61705 fi
61706
61707 fi
61708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
61709 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
61710
61711 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
61712 for ac_func in isinfl
61713 do :
61714 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
61715 if test "x$ac_cv_func_isinfl" = x""yes; then :
61716 cat >>confdefs.h <<_ACEOF
61717 #define HAVE_ISINFL 1
61718 _ACEOF
61719
61720 fi
61721 done
61722
61723 else
61724
61725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
61726 $as_echo_n "checking for _isinfl declaration... " >&6; }
61727 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
61728 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
61729 $as_echo_n "(cached) " >&6
61730 else
61731
61732
61733 ac_ext=cpp
61734 ac_cpp='$CXXCPP $CPPFLAGS'
61735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61738
61739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61740 /* end confdefs.h. */
61741 #include <math.h>
61742 #ifdef HAVE_IEEEFP_H
61743 #include <ieeefp.h>
61744 #endif
61745
61746 int
61747 main ()
61748 {
61749 _isinfl(0);
61750 ;
61751 return 0;
61752 }
61753 _ACEOF
61754 if ac_fn_cxx_try_compile "$LINENO"; then :
61755 glibcxx_cv_func__isinfl_use=yes
61756 else
61757 glibcxx_cv_func__isinfl_use=no
61758 fi
61759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61760 ac_ext=c
61761 ac_cpp='$CPP $CPPFLAGS'
61762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61765
61766
61767 fi
61768
61769 fi
61770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
61771 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
61772
61773 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
61774 for ac_func in _isinfl
61775 do :
61776 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
61777 if test "x$ac_cv_func__isinfl" = x""yes; then :
61778 cat >>confdefs.h <<_ACEOF
61779 #define HAVE__ISINFL 1
61780 _ACEOF
61781
61782 fi
61783 done
61784
61785 fi
61786 fi
61787
61788
61789
61790
61791
61792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
61793 $as_echo_n "checking for atan2l declaration... " >&6; }
61794 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
61795 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
61796 $as_echo_n "(cached) " >&6
61797 else
61798
61799
61800 ac_ext=cpp
61801 ac_cpp='$CXXCPP $CPPFLAGS'
61802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61805
61806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61807 /* end confdefs.h. */
61808 #include <math.h>
61809 int
61810 main ()
61811 {
61812 atan2l(0, 0);
61813 ;
61814 return 0;
61815 }
61816 _ACEOF
61817 if ac_fn_cxx_try_compile "$LINENO"; then :
61818 glibcxx_cv_func_atan2l_use=yes
61819 else
61820 glibcxx_cv_func_atan2l_use=no
61821 fi
61822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61823 ac_ext=c
61824 ac_cpp='$CPP $CPPFLAGS'
61825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61828
61829
61830 fi
61831
61832 fi
61833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
61834 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
61835
61836 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
61837 for ac_func in atan2l
61838 do :
61839 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
61840 if test "x$ac_cv_func_atan2l" = x""yes; then :
61841 cat >>confdefs.h <<_ACEOF
61842 #define HAVE_ATAN2L 1
61843 _ACEOF
61844
61845 fi
61846 done
61847
61848 else
61849
61850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
61851 $as_echo_n "checking for _atan2l declaration... " >&6; }
61852 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
61853 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
61854 $as_echo_n "(cached) " >&6
61855 else
61856
61857
61858 ac_ext=cpp
61859 ac_cpp='$CXXCPP $CPPFLAGS'
61860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61863
61864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61865 /* end confdefs.h. */
61866 #include <math.h>
61867 int
61868 main ()
61869 {
61870 _atan2l(0, 0);
61871 ;
61872 return 0;
61873 }
61874 _ACEOF
61875 if ac_fn_cxx_try_compile "$LINENO"; then :
61876 glibcxx_cv_func__atan2l_use=yes
61877 else
61878 glibcxx_cv_func__atan2l_use=no
61879 fi
61880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61881 ac_ext=c
61882 ac_cpp='$CPP $CPPFLAGS'
61883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61886
61887
61888 fi
61889
61890 fi
61891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
61892 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
61893
61894 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
61895 for ac_func in _atan2l
61896 do :
61897 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
61898 if test "x$ac_cv_func__atan2l" = x""yes; then :
61899 cat >>confdefs.h <<_ACEOF
61900 #define HAVE__ATAN2L 1
61901 _ACEOF
61902
61903 fi
61904 done
61905
61906 fi
61907 fi
61908
61909
61910
61911
61912
61913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
61914 $as_echo_n "checking for expl declaration... " >&6; }
61915 if test x${glibcxx_cv_func_expl_use+set} != xset; then
61916 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
61917 $as_echo_n "(cached) " >&6
61918 else
61919
61920
61921 ac_ext=cpp
61922 ac_cpp='$CXXCPP $CPPFLAGS'
61923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61926
61927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61928 /* end confdefs.h. */
61929 #include <math.h>
61930 #ifdef HAVE_IEEEFP_H
61931 #include <ieeefp.h>
61932 #endif
61933
61934 int
61935 main ()
61936 {
61937 expl(0);
61938 ;
61939 return 0;
61940 }
61941 _ACEOF
61942 if ac_fn_cxx_try_compile "$LINENO"; then :
61943 glibcxx_cv_func_expl_use=yes
61944 else
61945 glibcxx_cv_func_expl_use=no
61946 fi
61947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61948 ac_ext=c
61949 ac_cpp='$CPP $CPPFLAGS'
61950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61953
61954
61955 fi
61956
61957 fi
61958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
61959 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
61960
61961 if test x$glibcxx_cv_func_expl_use = x"yes"; then
61962 for ac_func in expl
61963 do :
61964 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
61965 if test "x$ac_cv_func_expl" = x""yes; then :
61966 cat >>confdefs.h <<_ACEOF
61967 #define HAVE_EXPL 1
61968 _ACEOF
61969
61970 fi
61971 done
61972
61973 else
61974
61975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
61976 $as_echo_n "checking for _expl declaration... " >&6; }
61977 if test x${glibcxx_cv_func__expl_use+set} != xset; then
61978 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
61979 $as_echo_n "(cached) " >&6
61980 else
61981
61982
61983 ac_ext=cpp
61984 ac_cpp='$CXXCPP $CPPFLAGS'
61985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61988
61989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61990 /* end confdefs.h. */
61991 #include <math.h>
61992 #ifdef HAVE_IEEEFP_H
61993 #include <ieeefp.h>
61994 #endif
61995
61996 int
61997 main ()
61998 {
61999 _expl(0);
62000 ;
62001 return 0;
62002 }
62003 _ACEOF
62004 if ac_fn_cxx_try_compile "$LINENO"; then :
62005 glibcxx_cv_func__expl_use=yes
62006 else
62007 glibcxx_cv_func__expl_use=no
62008 fi
62009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62010 ac_ext=c
62011 ac_cpp='$CPP $CPPFLAGS'
62012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62015
62016
62017 fi
62018
62019 fi
62020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62021 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62022
62023 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62024 for ac_func in _expl
62025 do :
62026 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62027 if test "x$ac_cv_func__expl" = x""yes; then :
62028 cat >>confdefs.h <<_ACEOF
62029 #define HAVE__EXPL 1
62030 _ACEOF
62031
62032 fi
62033 done
62034
62035 fi
62036 fi
62037
62038
62039
62040
62041
62042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
62043 $as_echo_n "checking for fabsl declaration... " >&6; }
62044 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
62045 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
62046 $as_echo_n "(cached) " >&6
62047 else
62048
62049
62050 ac_ext=cpp
62051 ac_cpp='$CXXCPP $CPPFLAGS'
62052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62055
62056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62057 /* end confdefs.h. */
62058 #include <math.h>
62059 #ifdef HAVE_IEEEFP_H
62060 #include <ieeefp.h>
62061 #endif
62062
62063 int
62064 main ()
62065 {
62066 fabsl(0);
62067 ;
62068 return 0;
62069 }
62070 _ACEOF
62071 if ac_fn_cxx_try_compile "$LINENO"; then :
62072 glibcxx_cv_func_fabsl_use=yes
62073 else
62074 glibcxx_cv_func_fabsl_use=no
62075 fi
62076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62077 ac_ext=c
62078 ac_cpp='$CPP $CPPFLAGS'
62079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62082
62083
62084 fi
62085
62086 fi
62087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
62088 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
62089
62090 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
62091 for ac_func in fabsl
62092 do :
62093 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
62094 if test "x$ac_cv_func_fabsl" = x""yes; then :
62095 cat >>confdefs.h <<_ACEOF
62096 #define HAVE_FABSL 1
62097 _ACEOF
62098
62099 fi
62100 done
62101
62102 else
62103
62104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
62105 $as_echo_n "checking for _fabsl declaration... " >&6; }
62106 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
62107 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
62108 $as_echo_n "(cached) " >&6
62109 else
62110
62111
62112 ac_ext=cpp
62113 ac_cpp='$CXXCPP $CPPFLAGS'
62114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62117
62118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62119 /* end confdefs.h. */
62120 #include <math.h>
62121 #ifdef HAVE_IEEEFP_H
62122 #include <ieeefp.h>
62123 #endif
62124
62125 int
62126 main ()
62127 {
62128 _fabsl(0);
62129 ;
62130 return 0;
62131 }
62132 _ACEOF
62133 if ac_fn_cxx_try_compile "$LINENO"; then :
62134 glibcxx_cv_func__fabsl_use=yes
62135 else
62136 glibcxx_cv_func__fabsl_use=no
62137 fi
62138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62139 ac_ext=c
62140 ac_cpp='$CPP $CPPFLAGS'
62141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62144
62145
62146 fi
62147
62148 fi
62149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
62150 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
62151
62152 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
62153 for ac_func in _fabsl
62154 do :
62155 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
62156 if test "x$ac_cv_func__fabsl" = x""yes; then :
62157 cat >>confdefs.h <<_ACEOF
62158 #define HAVE__FABSL 1
62159 _ACEOF
62160
62161 fi
62162 done
62163
62164 fi
62165 fi
62166
62167
62168
62169
62170
62171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
62172 $as_echo_n "checking for fmodl declaration... " >&6; }
62173 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
62174 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
62175 $as_echo_n "(cached) " >&6
62176 else
62177
62178
62179 ac_ext=cpp
62180 ac_cpp='$CXXCPP $CPPFLAGS'
62181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62184
62185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62186 /* end confdefs.h. */
62187 #include <math.h>
62188 int
62189 main ()
62190 {
62191 fmodl(0, 0);
62192 ;
62193 return 0;
62194 }
62195 _ACEOF
62196 if ac_fn_cxx_try_compile "$LINENO"; then :
62197 glibcxx_cv_func_fmodl_use=yes
62198 else
62199 glibcxx_cv_func_fmodl_use=no
62200 fi
62201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62202 ac_ext=c
62203 ac_cpp='$CPP $CPPFLAGS'
62204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62207
62208
62209 fi
62210
62211 fi
62212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
62213 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
62214
62215 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
62216 for ac_func in fmodl
62217 do :
62218 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
62219 if test "x$ac_cv_func_fmodl" = x""yes; then :
62220 cat >>confdefs.h <<_ACEOF
62221 #define HAVE_FMODL 1
62222 _ACEOF
62223
62224 fi
62225 done
62226
62227 else
62228
62229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
62230 $as_echo_n "checking for _fmodl declaration... " >&6; }
62231 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
62232 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
62233 $as_echo_n "(cached) " >&6
62234 else
62235
62236
62237 ac_ext=cpp
62238 ac_cpp='$CXXCPP $CPPFLAGS'
62239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62242
62243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62244 /* end confdefs.h. */
62245 #include <math.h>
62246 int
62247 main ()
62248 {
62249 _fmodl(0, 0);
62250 ;
62251 return 0;
62252 }
62253 _ACEOF
62254 if ac_fn_cxx_try_compile "$LINENO"; then :
62255 glibcxx_cv_func__fmodl_use=yes
62256 else
62257 glibcxx_cv_func__fmodl_use=no
62258 fi
62259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62260 ac_ext=c
62261 ac_cpp='$CPP $CPPFLAGS'
62262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62265
62266
62267 fi
62268
62269 fi
62270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
62271 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
62272
62273 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
62274 for ac_func in _fmodl
62275 do :
62276 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
62277 if test "x$ac_cv_func__fmodl" = x""yes; then :
62278 cat >>confdefs.h <<_ACEOF
62279 #define HAVE__FMODL 1
62280 _ACEOF
62281
62282 fi
62283 done
62284
62285 fi
62286 fi
62287
62288
62289
62290
62291
62292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
62293 $as_echo_n "checking for frexpl declaration... " >&6; }
62294 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
62295 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
62296 $as_echo_n "(cached) " >&6
62297 else
62298
62299
62300 ac_ext=cpp
62301 ac_cpp='$CXXCPP $CPPFLAGS'
62302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62305
62306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62307 /* end confdefs.h. */
62308 #include <math.h>
62309 int
62310 main ()
62311 {
62312 frexpl(0, 0);
62313 ;
62314 return 0;
62315 }
62316 _ACEOF
62317 if ac_fn_cxx_try_compile "$LINENO"; then :
62318 glibcxx_cv_func_frexpl_use=yes
62319 else
62320 glibcxx_cv_func_frexpl_use=no
62321 fi
62322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62323 ac_ext=c
62324 ac_cpp='$CPP $CPPFLAGS'
62325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62328
62329
62330 fi
62331
62332 fi
62333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
62334 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
62335
62336 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
62337 for ac_func in frexpl
62338 do :
62339 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
62340 if test "x$ac_cv_func_frexpl" = x""yes; then :
62341 cat >>confdefs.h <<_ACEOF
62342 #define HAVE_FREXPL 1
62343 _ACEOF
62344
62345 fi
62346 done
62347
62348 else
62349
62350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
62351 $as_echo_n "checking for _frexpl declaration... " >&6; }
62352 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
62353 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
62354 $as_echo_n "(cached) " >&6
62355 else
62356
62357
62358 ac_ext=cpp
62359 ac_cpp='$CXXCPP $CPPFLAGS'
62360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62363
62364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62365 /* end confdefs.h. */
62366 #include <math.h>
62367 int
62368 main ()
62369 {
62370 _frexpl(0, 0);
62371 ;
62372 return 0;
62373 }
62374 _ACEOF
62375 if ac_fn_cxx_try_compile "$LINENO"; then :
62376 glibcxx_cv_func__frexpl_use=yes
62377 else
62378 glibcxx_cv_func__frexpl_use=no
62379 fi
62380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62381 ac_ext=c
62382 ac_cpp='$CPP $CPPFLAGS'
62383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62386
62387
62388 fi
62389
62390 fi
62391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
62392 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
62393
62394 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
62395 for ac_func in _frexpl
62396 do :
62397 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
62398 if test "x$ac_cv_func__frexpl" = x""yes; then :
62399 cat >>confdefs.h <<_ACEOF
62400 #define HAVE__FREXPL 1
62401 _ACEOF
62402
62403 fi
62404 done
62405
62406 fi
62407 fi
62408
62409
62410
62411
62412
62413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
62414 $as_echo_n "checking for hypotl declaration... " >&6; }
62415 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
62416 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
62417 $as_echo_n "(cached) " >&6
62418 else
62419
62420
62421 ac_ext=cpp
62422 ac_cpp='$CXXCPP $CPPFLAGS'
62423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62426
62427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62428 /* end confdefs.h. */
62429 #include <math.h>
62430 int
62431 main ()
62432 {
62433 hypotl(0, 0);
62434 ;
62435 return 0;
62436 }
62437 _ACEOF
62438 if ac_fn_cxx_try_compile "$LINENO"; then :
62439 glibcxx_cv_func_hypotl_use=yes
62440 else
62441 glibcxx_cv_func_hypotl_use=no
62442 fi
62443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62444 ac_ext=c
62445 ac_cpp='$CPP $CPPFLAGS'
62446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62449
62450
62451 fi
62452
62453 fi
62454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
62455 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
62456
62457 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
62458 for ac_func in hypotl
62459 do :
62460 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
62461 if test "x$ac_cv_func_hypotl" = x""yes; then :
62462 cat >>confdefs.h <<_ACEOF
62463 #define HAVE_HYPOTL 1
62464 _ACEOF
62465
62466 fi
62467 done
62468
62469 else
62470
62471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
62472 $as_echo_n "checking for _hypotl declaration... " >&6; }
62473 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
62474 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
62475 $as_echo_n "(cached) " >&6
62476 else
62477
62478
62479 ac_ext=cpp
62480 ac_cpp='$CXXCPP $CPPFLAGS'
62481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62484
62485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62486 /* end confdefs.h. */
62487 #include <math.h>
62488 int
62489 main ()
62490 {
62491 _hypotl(0, 0);
62492 ;
62493 return 0;
62494 }
62495 _ACEOF
62496 if ac_fn_cxx_try_compile "$LINENO"; then :
62497 glibcxx_cv_func__hypotl_use=yes
62498 else
62499 glibcxx_cv_func__hypotl_use=no
62500 fi
62501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62502 ac_ext=c
62503 ac_cpp='$CPP $CPPFLAGS'
62504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62507
62508
62509 fi
62510
62511 fi
62512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
62513 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
62514
62515 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
62516 for ac_func in _hypotl
62517 do :
62518 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
62519 if test "x$ac_cv_func__hypotl" = x""yes; then :
62520 cat >>confdefs.h <<_ACEOF
62521 #define HAVE__HYPOTL 1
62522 _ACEOF
62523
62524 fi
62525 done
62526
62527 fi
62528 fi
62529
62530
62531
62532
62533
62534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
62535 $as_echo_n "checking for ldexpl declaration... " >&6; }
62536 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
62537 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
62538 $as_echo_n "(cached) " >&6
62539 else
62540
62541
62542 ac_ext=cpp
62543 ac_cpp='$CXXCPP $CPPFLAGS'
62544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62547
62548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62549 /* end confdefs.h. */
62550 #include <math.h>
62551 int
62552 main ()
62553 {
62554 ldexpl(0, 0);
62555 ;
62556 return 0;
62557 }
62558 _ACEOF
62559 if ac_fn_cxx_try_compile "$LINENO"; then :
62560 glibcxx_cv_func_ldexpl_use=yes
62561 else
62562 glibcxx_cv_func_ldexpl_use=no
62563 fi
62564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62565 ac_ext=c
62566 ac_cpp='$CPP $CPPFLAGS'
62567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62570
62571
62572 fi
62573
62574 fi
62575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
62576 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
62577
62578 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
62579 for ac_func in ldexpl
62580 do :
62581 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
62582 if test "x$ac_cv_func_ldexpl" = x""yes; then :
62583 cat >>confdefs.h <<_ACEOF
62584 #define HAVE_LDEXPL 1
62585 _ACEOF
62586
62587 fi
62588 done
62589
62590 else
62591
62592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
62593 $as_echo_n "checking for _ldexpl declaration... " >&6; }
62594 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
62595 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
62596 $as_echo_n "(cached) " >&6
62597 else
62598
62599
62600 ac_ext=cpp
62601 ac_cpp='$CXXCPP $CPPFLAGS'
62602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62605
62606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62607 /* end confdefs.h. */
62608 #include <math.h>
62609 int
62610 main ()
62611 {
62612 _ldexpl(0, 0);
62613 ;
62614 return 0;
62615 }
62616 _ACEOF
62617 if ac_fn_cxx_try_compile "$LINENO"; then :
62618 glibcxx_cv_func__ldexpl_use=yes
62619 else
62620 glibcxx_cv_func__ldexpl_use=no
62621 fi
62622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62623 ac_ext=c
62624 ac_cpp='$CPP $CPPFLAGS'
62625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62628
62629
62630 fi
62631
62632 fi
62633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
62634 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
62635
62636 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
62637 for ac_func in _ldexpl
62638 do :
62639 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
62640 if test "x$ac_cv_func__ldexpl" = x""yes; then :
62641 cat >>confdefs.h <<_ACEOF
62642 #define HAVE__LDEXPL 1
62643 _ACEOF
62644
62645 fi
62646 done
62647
62648 fi
62649 fi
62650
62651
62652
62653
62654
62655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
62656 $as_echo_n "checking for logl declaration... " >&6; }
62657 if test x${glibcxx_cv_func_logl_use+set} != xset; then
62658 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
62659 $as_echo_n "(cached) " >&6
62660 else
62661
62662
62663 ac_ext=cpp
62664 ac_cpp='$CXXCPP $CPPFLAGS'
62665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62668
62669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62670 /* end confdefs.h. */
62671 #include <math.h>
62672 #ifdef HAVE_IEEEFP_H
62673 #include <ieeefp.h>
62674 #endif
62675
62676 int
62677 main ()
62678 {
62679 logl(0);
62680 ;
62681 return 0;
62682 }
62683 _ACEOF
62684 if ac_fn_cxx_try_compile "$LINENO"; then :
62685 glibcxx_cv_func_logl_use=yes
62686 else
62687 glibcxx_cv_func_logl_use=no
62688 fi
62689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62690 ac_ext=c
62691 ac_cpp='$CPP $CPPFLAGS'
62692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62695
62696
62697 fi
62698
62699 fi
62700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
62701 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
62702
62703 if test x$glibcxx_cv_func_logl_use = x"yes"; then
62704 for ac_func in logl
62705 do :
62706 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
62707 if test "x$ac_cv_func_logl" = x""yes; then :
62708 cat >>confdefs.h <<_ACEOF
62709 #define HAVE_LOGL 1
62710 _ACEOF
62711
62712 fi
62713 done
62714
62715 else
62716
62717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
62718 $as_echo_n "checking for _logl declaration... " >&6; }
62719 if test x${glibcxx_cv_func__logl_use+set} != xset; then
62720 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
62721 $as_echo_n "(cached) " >&6
62722 else
62723
62724
62725 ac_ext=cpp
62726 ac_cpp='$CXXCPP $CPPFLAGS'
62727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62730
62731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62732 /* end confdefs.h. */
62733 #include <math.h>
62734 #ifdef HAVE_IEEEFP_H
62735 #include <ieeefp.h>
62736 #endif
62737
62738 int
62739 main ()
62740 {
62741 _logl(0);
62742 ;
62743 return 0;
62744 }
62745 _ACEOF
62746 if ac_fn_cxx_try_compile "$LINENO"; then :
62747 glibcxx_cv_func__logl_use=yes
62748 else
62749 glibcxx_cv_func__logl_use=no
62750 fi
62751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62752 ac_ext=c
62753 ac_cpp='$CPP $CPPFLAGS'
62754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62757
62758
62759 fi
62760
62761 fi
62762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
62763 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
62764
62765 if test x$glibcxx_cv_func__logl_use = x"yes"; then
62766 for ac_func in _logl
62767 do :
62768 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
62769 if test "x$ac_cv_func__logl" = x""yes; then :
62770 cat >>confdefs.h <<_ACEOF
62771 #define HAVE__LOGL 1
62772 _ACEOF
62773
62774 fi
62775 done
62776
62777 fi
62778 fi
62779
62780
62781
62782
62783
62784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
62785 $as_echo_n "checking for log10l declaration... " >&6; }
62786 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
62787 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
62788 $as_echo_n "(cached) " >&6
62789 else
62790
62791
62792 ac_ext=cpp
62793 ac_cpp='$CXXCPP $CPPFLAGS'
62794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62797
62798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62799 /* end confdefs.h. */
62800 #include <math.h>
62801 #ifdef HAVE_IEEEFP_H
62802 #include <ieeefp.h>
62803 #endif
62804
62805 int
62806 main ()
62807 {
62808 log10l(0);
62809 ;
62810 return 0;
62811 }
62812 _ACEOF
62813 if ac_fn_cxx_try_compile "$LINENO"; then :
62814 glibcxx_cv_func_log10l_use=yes
62815 else
62816 glibcxx_cv_func_log10l_use=no
62817 fi
62818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62819 ac_ext=c
62820 ac_cpp='$CPP $CPPFLAGS'
62821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62824
62825
62826 fi
62827
62828 fi
62829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
62830 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
62831
62832 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
62833 for ac_func in log10l
62834 do :
62835 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
62836 if test "x$ac_cv_func_log10l" = x""yes; then :
62837 cat >>confdefs.h <<_ACEOF
62838 #define HAVE_LOG10L 1
62839 _ACEOF
62840
62841 fi
62842 done
62843
62844 else
62845
62846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
62847 $as_echo_n "checking for _log10l declaration... " >&6; }
62848 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
62849 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
62850 $as_echo_n "(cached) " >&6
62851 else
62852
62853
62854 ac_ext=cpp
62855 ac_cpp='$CXXCPP $CPPFLAGS'
62856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62859
62860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62861 /* end confdefs.h. */
62862 #include <math.h>
62863 #ifdef HAVE_IEEEFP_H
62864 #include <ieeefp.h>
62865 #endif
62866
62867 int
62868 main ()
62869 {
62870 _log10l(0);
62871 ;
62872 return 0;
62873 }
62874 _ACEOF
62875 if ac_fn_cxx_try_compile "$LINENO"; then :
62876 glibcxx_cv_func__log10l_use=yes
62877 else
62878 glibcxx_cv_func__log10l_use=no
62879 fi
62880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62881 ac_ext=c
62882 ac_cpp='$CPP $CPPFLAGS'
62883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62886
62887
62888 fi
62889
62890 fi
62891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
62892 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
62893
62894 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
62895 for ac_func in _log10l
62896 do :
62897 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
62898 if test "x$ac_cv_func__log10l" = x""yes; then :
62899 cat >>confdefs.h <<_ACEOF
62900 #define HAVE__LOG10L 1
62901 _ACEOF
62902
62903 fi
62904 done
62905
62906 fi
62907 fi
62908
62909
62910
62911
62912
62913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
62914 $as_echo_n "checking for modfl declaration... " >&6; }
62915 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
62916 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
62917 $as_echo_n "(cached) " >&6
62918 else
62919
62920
62921 ac_ext=cpp
62922 ac_cpp='$CXXCPP $CPPFLAGS'
62923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62926
62927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62928 /* end confdefs.h. */
62929 #include <math.h>
62930 int
62931 main ()
62932 {
62933 modfl(0, 0);
62934 ;
62935 return 0;
62936 }
62937 _ACEOF
62938 if ac_fn_cxx_try_compile "$LINENO"; then :
62939 glibcxx_cv_func_modfl_use=yes
62940 else
62941 glibcxx_cv_func_modfl_use=no
62942 fi
62943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62944 ac_ext=c
62945 ac_cpp='$CPP $CPPFLAGS'
62946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62949
62950
62951 fi
62952
62953 fi
62954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
62955 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
62956
62957 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
62958 for ac_func in modfl
62959 do :
62960 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
62961 if test "x$ac_cv_func_modfl" = x""yes; then :
62962 cat >>confdefs.h <<_ACEOF
62963 #define HAVE_MODFL 1
62964 _ACEOF
62965
62966 fi
62967 done
62968
62969 else
62970
62971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
62972 $as_echo_n "checking for _modfl declaration... " >&6; }
62973 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
62974 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
62975 $as_echo_n "(cached) " >&6
62976 else
62977
62978
62979 ac_ext=cpp
62980 ac_cpp='$CXXCPP $CPPFLAGS'
62981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62984
62985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62986 /* end confdefs.h. */
62987 #include <math.h>
62988 int
62989 main ()
62990 {
62991 _modfl(0, 0);
62992 ;
62993 return 0;
62994 }
62995 _ACEOF
62996 if ac_fn_cxx_try_compile "$LINENO"; then :
62997 glibcxx_cv_func__modfl_use=yes
62998 else
62999 glibcxx_cv_func__modfl_use=no
63000 fi
63001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63002 ac_ext=c
63003 ac_cpp='$CPP $CPPFLAGS'
63004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63007
63008
63009 fi
63010
63011 fi
63012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63013 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63014
63015 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63016 for ac_func in _modfl
63017 do :
63018 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63019 if test "x$ac_cv_func__modfl" = x""yes; then :
63020 cat >>confdefs.h <<_ACEOF
63021 #define HAVE__MODFL 1
63022 _ACEOF
63023
63024 fi
63025 done
63026
63027 fi
63028 fi
63029
63030
63031
63032
63033
63034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
63035 $as_echo_n "checking for powl declaration... " >&6; }
63036 if test x${glibcxx_cv_func_powl_use+set} != xset; then
63037 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
63038 $as_echo_n "(cached) " >&6
63039 else
63040
63041
63042 ac_ext=cpp
63043 ac_cpp='$CXXCPP $CPPFLAGS'
63044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63047
63048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63049 /* end confdefs.h. */
63050 #include <math.h>
63051 int
63052 main ()
63053 {
63054 powl(0, 0);
63055 ;
63056 return 0;
63057 }
63058 _ACEOF
63059 if ac_fn_cxx_try_compile "$LINENO"; then :
63060 glibcxx_cv_func_powl_use=yes
63061 else
63062 glibcxx_cv_func_powl_use=no
63063 fi
63064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63065 ac_ext=c
63066 ac_cpp='$CPP $CPPFLAGS'
63067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63070
63071
63072 fi
63073
63074 fi
63075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
63076 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
63077
63078 if test x$glibcxx_cv_func_powl_use = x"yes"; then
63079 for ac_func in powl
63080 do :
63081 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
63082 if test "x$ac_cv_func_powl" = x""yes; then :
63083 cat >>confdefs.h <<_ACEOF
63084 #define HAVE_POWL 1
63085 _ACEOF
63086
63087 fi
63088 done
63089
63090 else
63091
63092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
63093 $as_echo_n "checking for _powl declaration... " >&6; }
63094 if test x${glibcxx_cv_func__powl_use+set} != xset; then
63095 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
63096 $as_echo_n "(cached) " >&6
63097 else
63098
63099
63100 ac_ext=cpp
63101 ac_cpp='$CXXCPP $CPPFLAGS'
63102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63105
63106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63107 /* end confdefs.h. */
63108 #include <math.h>
63109 int
63110 main ()
63111 {
63112 _powl(0, 0);
63113 ;
63114 return 0;
63115 }
63116 _ACEOF
63117 if ac_fn_cxx_try_compile "$LINENO"; then :
63118 glibcxx_cv_func__powl_use=yes
63119 else
63120 glibcxx_cv_func__powl_use=no
63121 fi
63122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63123 ac_ext=c
63124 ac_cpp='$CPP $CPPFLAGS'
63125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63128
63129
63130 fi
63131
63132 fi
63133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
63134 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
63135
63136 if test x$glibcxx_cv_func__powl_use = x"yes"; then
63137 for ac_func in _powl
63138 do :
63139 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
63140 if test "x$ac_cv_func__powl" = x""yes; then :
63141 cat >>confdefs.h <<_ACEOF
63142 #define HAVE__POWL 1
63143 _ACEOF
63144
63145 fi
63146 done
63147
63148 fi
63149 fi
63150
63151
63152
63153
63154
63155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
63156 $as_echo_n "checking for sqrtl declaration... " >&6; }
63157 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
63158 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
63159 $as_echo_n "(cached) " >&6
63160 else
63161
63162
63163 ac_ext=cpp
63164 ac_cpp='$CXXCPP $CPPFLAGS'
63165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63168
63169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63170 /* end confdefs.h. */
63171 #include <math.h>
63172 #ifdef HAVE_IEEEFP_H
63173 #include <ieeefp.h>
63174 #endif
63175
63176 int
63177 main ()
63178 {
63179 sqrtl(0);
63180 ;
63181 return 0;
63182 }
63183 _ACEOF
63184 if ac_fn_cxx_try_compile "$LINENO"; then :
63185 glibcxx_cv_func_sqrtl_use=yes
63186 else
63187 glibcxx_cv_func_sqrtl_use=no
63188 fi
63189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63190 ac_ext=c
63191 ac_cpp='$CPP $CPPFLAGS'
63192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63195
63196
63197 fi
63198
63199 fi
63200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
63201 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
63202
63203 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
63204 for ac_func in sqrtl
63205 do :
63206 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
63207 if test "x$ac_cv_func_sqrtl" = x""yes; then :
63208 cat >>confdefs.h <<_ACEOF
63209 #define HAVE_SQRTL 1
63210 _ACEOF
63211
63212 fi
63213 done
63214
63215 else
63216
63217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
63218 $as_echo_n "checking for _sqrtl declaration... " >&6; }
63219 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
63220 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
63221 $as_echo_n "(cached) " >&6
63222 else
63223
63224
63225 ac_ext=cpp
63226 ac_cpp='$CXXCPP $CPPFLAGS'
63227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63230
63231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63232 /* end confdefs.h. */
63233 #include <math.h>
63234 #ifdef HAVE_IEEEFP_H
63235 #include <ieeefp.h>
63236 #endif
63237
63238 int
63239 main ()
63240 {
63241 _sqrtl(0);
63242 ;
63243 return 0;
63244 }
63245 _ACEOF
63246 if ac_fn_cxx_try_compile "$LINENO"; then :
63247 glibcxx_cv_func__sqrtl_use=yes
63248 else
63249 glibcxx_cv_func__sqrtl_use=no
63250 fi
63251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63252 ac_ext=c
63253 ac_cpp='$CPP $CPPFLAGS'
63254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63257
63258
63259 fi
63260
63261 fi
63262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
63263 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
63264
63265 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
63266 for ac_func in _sqrtl
63267 do :
63268 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
63269 if test "x$ac_cv_func__sqrtl" = x""yes; then :
63270 cat >>confdefs.h <<_ACEOF
63271 #define HAVE__SQRTL 1
63272 _ACEOF
63273
63274 fi
63275 done
63276
63277 fi
63278 fi
63279
63280
63281
63282
63283
63284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
63285 $as_echo_n "checking for sincosl declaration... " >&6; }
63286 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
63287 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
63288 $as_echo_n "(cached) " >&6
63289 else
63290
63291
63292 ac_ext=cpp
63293 ac_cpp='$CXXCPP $CPPFLAGS'
63294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63297
63298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63299 /* end confdefs.h. */
63300 #include <math.h>
63301 int
63302 main ()
63303 {
63304 sincosl(0, 0, 0);
63305 ;
63306 return 0;
63307 }
63308 _ACEOF
63309 if ac_fn_cxx_try_compile "$LINENO"; then :
63310 glibcxx_cv_func_sincosl_use=yes
63311 else
63312 glibcxx_cv_func_sincosl_use=no
63313 fi
63314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63315 ac_ext=c
63316 ac_cpp='$CPP $CPPFLAGS'
63317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63320
63321
63322 fi
63323
63324 fi
63325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
63326 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
63327
63328 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
63329 for ac_func in sincosl
63330 do :
63331 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
63332 if test "x$ac_cv_func_sincosl" = x""yes; then :
63333 cat >>confdefs.h <<_ACEOF
63334 #define HAVE_SINCOSL 1
63335 _ACEOF
63336
63337 fi
63338 done
63339
63340 else
63341
63342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
63343 $as_echo_n "checking for _sincosl declaration... " >&6; }
63344 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
63345 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
63346 $as_echo_n "(cached) " >&6
63347 else
63348
63349
63350 ac_ext=cpp
63351 ac_cpp='$CXXCPP $CPPFLAGS'
63352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63355
63356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63357 /* end confdefs.h. */
63358 #include <math.h>
63359 int
63360 main ()
63361 {
63362 _sincosl(0, 0, 0);
63363 ;
63364 return 0;
63365 }
63366 _ACEOF
63367 if ac_fn_cxx_try_compile "$LINENO"; then :
63368 glibcxx_cv_func__sincosl_use=yes
63369 else
63370 glibcxx_cv_func__sincosl_use=no
63371 fi
63372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63373 ac_ext=c
63374 ac_cpp='$CPP $CPPFLAGS'
63375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63378
63379
63380 fi
63381
63382 fi
63383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
63384 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
63385
63386 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
63387 for ac_func in _sincosl
63388 do :
63389 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
63390 if test "x$ac_cv_func__sincosl" = x""yes; then :
63391 cat >>confdefs.h <<_ACEOF
63392 #define HAVE__SINCOSL 1
63393 _ACEOF
63394
63395 fi
63396 done
63397
63398 fi
63399 fi
63400
63401
63402
63403
63404
63405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
63406 $as_echo_n "checking for finitel declaration... " >&6; }
63407 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
63408 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
63409 $as_echo_n "(cached) " >&6
63410 else
63411
63412
63413 ac_ext=cpp
63414 ac_cpp='$CXXCPP $CPPFLAGS'
63415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63418
63419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63420 /* end confdefs.h. */
63421 #include <math.h>
63422 #ifdef HAVE_IEEEFP_H
63423 #include <ieeefp.h>
63424 #endif
63425
63426 int
63427 main ()
63428 {
63429 finitel(0);
63430 ;
63431 return 0;
63432 }
63433 _ACEOF
63434 if ac_fn_cxx_try_compile "$LINENO"; then :
63435 glibcxx_cv_func_finitel_use=yes
63436 else
63437 glibcxx_cv_func_finitel_use=no
63438 fi
63439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63440 ac_ext=c
63441 ac_cpp='$CPP $CPPFLAGS'
63442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63445
63446
63447 fi
63448
63449 fi
63450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
63451 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
63452
63453 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
63454 for ac_func in finitel
63455 do :
63456 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
63457 if test "x$ac_cv_func_finitel" = x""yes; then :
63458 cat >>confdefs.h <<_ACEOF
63459 #define HAVE_FINITEL 1
63460 _ACEOF
63461
63462 fi
63463 done
63464
63465 else
63466
63467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
63468 $as_echo_n "checking for _finitel declaration... " >&6; }
63469 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
63470 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
63471 $as_echo_n "(cached) " >&6
63472 else
63473
63474
63475 ac_ext=cpp
63476 ac_cpp='$CXXCPP $CPPFLAGS'
63477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63480
63481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63482 /* end confdefs.h. */
63483 #include <math.h>
63484 #ifdef HAVE_IEEEFP_H
63485 #include <ieeefp.h>
63486 #endif
63487
63488 int
63489 main ()
63490 {
63491 _finitel(0);
63492 ;
63493 return 0;
63494 }
63495 _ACEOF
63496 if ac_fn_cxx_try_compile "$LINENO"; then :
63497 glibcxx_cv_func__finitel_use=yes
63498 else
63499 glibcxx_cv_func__finitel_use=no
63500 fi
63501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63502 ac_ext=c
63503 ac_cpp='$CPP $CPPFLAGS'
63504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63507
63508
63509 fi
63510
63511 fi
63512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
63513 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
63514
63515 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
63516 for ac_func in _finitel
63517 do :
63518 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
63519 if test "x$ac_cv_func__finitel" = x""yes; then :
63520 cat >>confdefs.h <<_ACEOF
63521 #define HAVE__FINITEL 1
63522 _ACEOF
63523
63524 fi
63525 done
63526
63527 fi
63528 fi
63529
63530
63531
63532
63533 LIBS="$ac_save_LIBS"
63534 CXXFLAGS="$ac_save_CXXFLAGS"
63535
63536
63537 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63538 ac_save_CXXFLAGS="$CXXFLAGS"
63539 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63540
63541
63542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
63543 $as_echo_n "checking for strtold declaration... " >&6; }
63544 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
63545 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
63546 $as_echo_n "(cached) " >&6
63547 else
63548
63549
63550 ac_ext=cpp
63551 ac_cpp='$CXXCPP $CPPFLAGS'
63552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63555
63556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63557 /* end confdefs.h. */
63558 #include <stdlib.h>
63559 int
63560 main ()
63561 {
63562 strtold(0, 0);
63563 ;
63564 return 0;
63565 }
63566 _ACEOF
63567 if ac_fn_cxx_try_compile "$LINENO"; then :
63568 glibcxx_cv_func_strtold_use=yes
63569 else
63570 glibcxx_cv_func_strtold_use=no
63571 fi
63572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63573 ac_ext=c
63574 ac_cpp='$CPP $CPPFLAGS'
63575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63578
63579
63580 fi
63581
63582 fi
63583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
63584 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
63585 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
63586 for ac_func in strtold
63587 do :
63588 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
63589 if test "x$ac_cv_func_strtold" = x""yes; then :
63590 cat >>confdefs.h <<_ACEOF
63591 #define HAVE_STRTOLD 1
63592 _ACEOF
63593
63594 fi
63595 done
63596
63597 fi
63598
63599
63600
63601
63602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
63603 $as_echo_n "checking for strtof declaration... " >&6; }
63604 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
63605 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
63606 $as_echo_n "(cached) " >&6
63607 else
63608
63609
63610 ac_ext=cpp
63611 ac_cpp='$CXXCPP $CPPFLAGS'
63612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63615
63616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63617 /* end confdefs.h. */
63618 #include <stdlib.h>
63619 int
63620 main ()
63621 {
63622 strtof(0, 0);
63623 ;
63624 return 0;
63625 }
63626 _ACEOF
63627 if ac_fn_cxx_try_compile "$LINENO"; then :
63628 glibcxx_cv_func_strtof_use=yes
63629 else
63630 glibcxx_cv_func_strtof_use=no
63631 fi
63632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63633 ac_ext=c
63634 ac_cpp='$CPP $CPPFLAGS'
63635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63638
63639
63640 fi
63641
63642 fi
63643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
63644 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
63645 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
63646 for ac_func in strtof
63647 do :
63648 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
63649 if test "x$ac_cv_func_strtof" = x""yes; then :
63650 cat >>confdefs.h <<_ACEOF
63651 #define HAVE_STRTOF 1
63652 _ACEOF
63653
63654 fi
63655 done
63656
63657 fi
63658
63659
63660
63661
63662 CXXFLAGS="$ac_save_CXXFLAGS"
63663
63664 ;;
63665 *-solaris*)
63666 case "$target" in
63667 *-solaris2.9 | *-solaris2.10)
63668
63669 # If we're not using GNU ld, then there's no point in even trying these
63670 # tests. Check for that first. We should have already tested for gld
63671 # by now (in libtool), but require it now just to be safe...
63672 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
63673 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
63674
63675
63676
63677 # The name set by libtool depends on the version of libtool. Shame on us
63678 # for depending on an impl detail, but c'est la vie. Older versions used
63679 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
63680 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
63681 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
63682 # set (hence we're using an older libtool), then set it.
63683 if test x${with_gnu_ld+set} != xset; then
63684 if test x${ac_cv_prog_gnu_ld+set} != xset; then
63685 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
63686 with_gnu_ld=no
63687 else
63688 with_gnu_ld=$ac_cv_prog_gnu_ld
63689 fi
63690 fi
63691
63692 # Start by getting the version number. I think the libtool test already
63693 # does some of this, but throws away the result.
63694 glibcxx_ld_is_gold=no
63695 if test x"$with_gnu_ld" = x"yes"; then
63696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
63697 $as_echo_n "checking for ld version... " >&6; }
63698
63699 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
63700 glibcxx_ld_is_gold=yes
63701 fi
63702 ldver=`$LD --version 2>/dev/null |
63703 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'`
63704
63705 glibcxx_gnu_ld_version=`echo $ldver | \
63706 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
63707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
63708 $as_echo "$glibcxx_gnu_ld_version" >&6; }
63709 fi
63710
63711 # Set --gc-sections.
63712 glibcxx_have_gc_sections=no
63713 if test "$glibcxx_ld_is_gold" = "yes"; then
63714 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
63715 glibcxx_have_gc_sections=yes
63716 fi
63717 else
63718 glibcxx_gcsections_min_ld=21602
63719 if test x"$with_gnu_ld" = x"yes" &&
63720 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
63721 glibcxx_have_gc_sections=yes
63722 fi
63723 fi
63724 if test "$glibcxx_have_gc_sections" = "yes"; then
63725 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
63726 # NB: This flag only works reliably after 2.16.1. Configure tests
63727 # for this are difficult, so hard wire a value that should work.
63728
63729 ac_test_CFLAGS="${CFLAGS+set}"
63730 ac_save_CFLAGS="$CFLAGS"
63731 CFLAGS='-Wl,--gc-sections'
63732
63733 # Check for -Wl,--gc-sections
63734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
63735 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
63736 if test x$gcc_no_link = xyes; then
63737 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63738 fi
63739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63740 /* end confdefs.h. */
63741 int one(void) { return 1; }
63742 int two(void) { return 2; }
63743
63744 int
63745 main ()
63746 {
63747 two();
63748 ;
63749 return 0;
63750 }
63751 _ACEOF
63752 if ac_fn_c_try_link "$LINENO"; then :
63753 ac_gcsections=yes
63754 else
63755 ac_gcsections=no
63756 fi
63757 rm -f core conftest.err conftest.$ac_objext \
63758 conftest$ac_exeext conftest.$ac_ext
63759 if test "$ac_gcsections" = "yes"; then
63760 rm -f conftest.c
63761 touch conftest.c
63762 if $CC -c conftest.c; then
63763 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
63764 grep "Warning: gc-sections option ignored" > /dev/null; then
63765 ac_gcsections=no
63766 fi
63767 fi
63768 rm -f conftest.c conftest.o conftest
63769 fi
63770 if test "$ac_gcsections" = "yes"; then
63771 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
63772 fi
63773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
63774 $as_echo "$ac_gcsections" >&6; }
63775
63776 if test "$ac_test_CFLAGS" = set; then
63777 CFLAGS="$ac_save_CFLAGS"
63778 else
63779 # this is the suspicious part
63780 CFLAGS=''
63781 fi
63782 fi
63783
63784 # Set -z,relro.
63785 # Note this is only for shared objects.
63786 ac_ld_relro=no
63787 if test x"$with_gnu_ld" = x"yes"; then
63788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
63789 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
63790 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
63791 if test -n "$cxx_z_relo"; then
63792 OPT_LDFLAGS="-Wl,-z,relro"
63793 ac_ld_relro=yes
63794 fi
63795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
63796 $as_echo "$ac_ld_relro" >&6; }
63797 fi
63798
63799 # Set linker optimization flags.
63800 if test x"$with_gnu_ld" = x"yes"; then
63801 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
63802 fi
63803
63804
63805
63806
63807 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
63808
63809 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63810
63811 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
63812
63813 # All of the dependencies for wide character support are here, so
63814 # turn it on.
63815 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
63816
63817 ;;
63818 esac
63819 case "$target" in
63820 *-*-solaris2.10)
63821 # These two C99 functions are present only in Solaris >= 10
63822 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
63823
63824 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
63825
63826 ;;
63827 esac
63828 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63829
63830 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63831
63832 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
63833
63834 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
63835
63836 ;;
63837 *-tpf)
63838 SECTION_FLAGS='-ffunction-sections -fdata-sections'
63839 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
63840
63841 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
63842
63843 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
63844
63845 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
63846
63847 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
63848
63849 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
63850
63851 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
63852
63853 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
63854
63855 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
63856
63857 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
63858
63859 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
63860
63861 if test x"long_double_math_on_this_cpu" = x"yes"; then
63862 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
63863
63864 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
63865
63866 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
63867
63868 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
63869
63870 fi
63871 ;;
63872 *-*vms*)
63873 # Check for available headers.
63874 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
63875
63876 ac_test_CXXFLAGS="${CXXFLAGS+set}"
63877 ac_save_CXXFLAGS="$CXXFLAGS"
63878 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
63879
63880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
63881 $as_echo_n "checking for sin in -lm... " >&6; }
63882 if test "${ac_cv_lib_m_sin+set}" = set; then :
63883 $as_echo_n "(cached) " >&6
63884 else
63885 ac_check_lib_save_LIBS=$LIBS
63886 LIBS="-lm $LIBS"
63887 if test x$gcc_no_link = xyes; then
63888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
63889 fi
63890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63891 /* end confdefs.h. */
63892
63893 /* Override any GCC internal prototype to avoid an error.
63894 Use char because int might match the return type of a GCC
63895 builtin and then its argument prototype would still apply. */
63896 #ifdef __cplusplus
63897 extern "C"
63898 #endif
63899 char sin ();
63900 int
63901 main ()
63902 {
63903 return sin ();
63904 ;
63905 return 0;
63906 }
63907 _ACEOF
63908 if ac_fn_c_try_link "$LINENO"; then :
63909 ac_cv_lib_m_sin=yes
63910 else
63911 ac_cv_lib_m_sin=no
63912 fi
63913 rm -f core conftest.err conftest.$ac_objext \
63914 conftest$ac_exeext conftest.$ac_ext
63915 LIBS=$ac_check_lib_save_LIBS
63916 fi
63917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
63918 $as_echo "$ac_cv_lib_m_sin" >&6; }
63919 if test "x$ac_cv_lib_m_sin" = x""yes; then :
63920 libm="-lm"
63921 fi
63922
63923 ac_save_LIBS="$LIBS"
63924 LIBS="$LIBS $libm"
63925
63926
63927
63928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
63929 $as_echo_n "checking for isinf declaration... " >&6; }
63930 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
63931 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
63932 $as_echo_n "(cached) " >&6
63933 else
63934
63935
63936 ac_ext=cpp
63937 ac_cpp='$CXXCPP $CPPFLAGS'
63938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63941
63942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63943 /* end confdefs.h. */
63944 #include <math.h>
63945 #ifdef HAVE_IEEEFP_H
63946 #include <ieeefp.h>
63947 #endif
63948
63949 int
63950 main ()
63951 {
63952 isinf(0);
63953 ;
63954 return 0;
63955 }
63956 _ACEOF
63957 if ac_fn_cxx_try_compile "$LINENO"; then :
63958 glibcxx_cv_func_isinf_use=yes
63959 else
63960 glibcxx_cv_func_isinf_use=no
63961 fi
63962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63963 ac_ext=c
63964 ac_cpp='$CPP $CPPFLAGS'
63965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63968
63969
63970 fi
63971
63972 fi
63973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
63974 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
63975
63976 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
63977 for ac_func in isinf
63978 do :
63979 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
63980 if test "x$ac_cv_func_isinf" = x""yes; then :
63981 cat >>confdefs.h <<_ACEOF
63982 #define HAVE_ISINF 1
63983 _ACEOF
63984
63985 fi
63986 done
63987
63988 else
63989
63990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
63991 $as_echo_n "checking for _isinf declaration... " >&6; }
63992 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
63993 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
63994 $as_echo_n "(cached) " >&6
63995 else
63996
63997
63998 ac_ext=cpp
63999 ac_cpp='$CXXCPP $CPPFLAGS'
64000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64003
64004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64005 /* end confdefs.h. */
64006 #include <math.h>
64007 #ifdef HAVE_IEEEFP_H
64008 #include <ieeefp.h>
64009 #endif
64010
64011 int
64012 main ()
64013 {
64014 _isinf(0);
64015 ;
64016 return 0;
64017 }
64018 _ACEOF
64019 if ac_fn_cxx_try_compile "$LINENO"; then :
64020 glibcxx_cv_func__isinf_use=yes
64021 else
64022 glibcxx_cv_func__isinf_use=no
64023 fi
64024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64025 ac_ext=c
64026 ac_cpp='$CPP $CPPFLAGS'
64027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64030
64031
64032 fi
64033
64034 fi
64035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
64036 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
64037
64038 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
64039 for ac_func in _isinf
64040 do :
64041 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
64042 if test "x$ac_cv_func__isinf" = x""yes; then :
64043 cat >>confdefs.h <<_ACEOF
64044 #define HAVE__ISINF 1
64045 _ACEOF
64046
64047 fi
64048 done
64049
64050 fi
64051 fi
64052
64053
64054
64055
64056
64057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
64058 $as_echo_n "checking for isnan declaration... " >&6; }
64059 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
64060 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
64061 $as_echo_n "(cached) " >&6
64062 else
64063
64064
64065 ac_ext=cpp
64066 ac_cpp='$CXXCPP $CPPFLAGS'
64067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64070
64071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64072 /* end confdefs.h. */
64073 #include <math.h>
64074 #ifdef HAVE_IEEEFP_H
64075 #include <ieeefp.h>
64076 #endif
64077
64078 int
64079 main ()
64080 {
64081 isnan(0);
64082 ;
64083 return 0;
64084 }
64085 _ACEOF
64086 if ac_fn_cxx_try_compile "$LINENO"; then :
64087 glibcxx_cv_func_isnan_use=yes
64088 else
64089 glibcxx_cv_func_isnan_use=no
64090 fi
64091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64092 ac_ext=c
64093 ac_cpp='$CPP $CPPFLAGS'
64094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64097
64098
64099 fi
64100
64101 fi
64102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
64103 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
64104
64105 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
64106 for ac_func in isnan
64107 do :
64108 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
64109 if test "x$ac_cv_func_isnan" = x""yes; then :
64110 cat >>confdefs.h <<_ACEOF
64111 #define HAVE_ISNAN 1
64112 _ACEOF
64113
64114 fi
64115 done
64116
64117 else
64118
64119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
64120 $as_echo_n "checking for _isnan declaration... " >&6; }
64121 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
64122 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
64123 $as_echo_n "(cached) " >&6
64124 else
64125
64126
64127 ac_ext=cpp
64128 ac_cpp='$CXXCPP $CPPFLAGS'
64129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64132
64133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64134 /* end confdefs.h. */
64135 #include <math.h>
64136 #ifdef HAVE_IEEEFP_H
64137 #include <ieeefp.h>
64138 #endif
64139
64140 int
64141 main ()
64142 {
64143 _isnan(0);
64144 ;
64145 return 0;
64146 }
64147 _ACEOF
64148 if ac_fn_cxx_try_compile "$LINENO"; then :
64149 glibcxx_cv_func__isnan_use=yes
64150 else
64151 glibcxx_cv_func__isnan_use=no
64152 fi
64153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64154 ac_ext=c
64155 ac_cpp='$CPP $CPPFLAGS'
64156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64159
64160
64161 fi
64162
64163 fi
64164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
64165 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
64166
64167 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
64168 for ac_func in _isnan
64169 do :
64170 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
64171 if test "x$ac_cv_func__isnan" = x""yes; then :
64172 cat >>confdefs.h <<_ACEOF
64173 #define HAVE__ISNAN 1
64174 _ACEOF
64175
64176 fi
64177 done
64178
64179 fi
64180 fi
64181
64182
64183
64184
64185
64186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
64187 $as_echo_n "checking for finite declaration... " >&6; }
64188 if test x${glibcxx_cv_func_finite_use+set} != xset; then
64189 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
64190 $as_echo_n "(cached) " >&6
64191 else
64192
64193
64194 ac_ext=cpp
64195 ac_cpp='$CXXCPP $CPPFLAGS'
64196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64199
64200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64201 /* end confdefs.h. */
64202 #include <math.h>
64203 #ifdef HAVE_IEEEFP_H
64204 #include <ieeefp.h>
64205 #endif
64206
64207 int
64208 main ()
64209 {
64210 finite(0);
64211 ;
64212 return 0;
64213 }
64214 _ACEOF
64215 if ac_fn_cxx_try_compile "$LINENO"; then :
64216 glibcxx_cv_func_finite_use=yes
64217 else
64218 glibcxx_cv_func_finite_use=no
64219 fi
64220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64221 ac_ext=c
64222 ac_cpp='$CPP $CPPFLAGS'
64223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64226
64227
64228 fi
64229
64230 fi
64231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
64232 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
64233
64234 if test x$glibcxx_cv_func_finite_use = x"yes"; then
64235 for ac_func in finite
64236 do :
64237 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
64238 if test "x$ac_cv_func_finite" = x""yes; then :
64239 cat >>confdefs.h <<_ACEOF
64240 #define HAVE_FINITE 1
64241 _ACEOF
64242
64243 fi
64244 done
64245
64246 else
64247
64248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
64249 $as_echo_n "checking for _finite declaration... " >&6; }
64250 if test x${glibcxx_cv_func__finite_use+set} != xset; then
64251 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
64252 $as_echo_n "(cached) " >&6
64253 else
64254
64255
64256 ac_ext=cpp
64257 ac_cpp='$CXXCPP $CPPFLAGS'
64258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64261
64262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64263 /* end confdefs.h. */
64264 #include <math.h>
64265 #ifdef HAVE_IEEEFP_H
64266 #include <ieeefp.h>
64267 #endif
64268
64269 int
64270 main ()
64271 {
64272 _finite(0);
64273 ;
64274 return 0;
64275 }
64276 _ACEOF
64277 if ac_fn_cxx_try_compile "$LINENO"; then :
64278 glibcxx_cv_func__finite_use=yes
64279 else
64280 glibcxx_cv_func__finite_use=no
64281 fi
64282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64283 ac_ext=c
64284 ac_cpp='$CPP $CPPFLAGS'
64285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64288
64289
64290 fi
64291
64292 fi
64293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
64294 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
64295
64296 if test x$glibcxx_cv_func__finite_use = x"yes"; then
64297 for ac_func in _finite
64298 do :
64299 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
64300 if test "x$ac_cv_func__finite" = x""yes; then :
64301 cat >>confdefs.h <<_ACEOF
64302 #define HAVE__FINITE 1
64303 _ACEOF
64304
64305 fi
64306 done
64307
64308 fi
64309 fi
64310
64311
64312
64313
64314
64315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
64316 $as_echo_n "checking for sincos declaration... " >&6; }
64317 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
64318 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
64319 $as_echo_n "(cached) " >&6
64320 else
64321
64322
64323 ac_ext=cpp
64324 ac_cpp='$CXXCPP $CPPFLAGS'
64325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64328
64329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64330 /* end confdefs.h. */
64331 #include <math.h>
64332 int
64333 main ()
64334 {
64335 sincos(0, 0, 0);
64336 ;
64337 return 0;
64338 }
64339 _ACEOF
64340 if ac_fn_cxx_try_compile "$LINENO"; then :
64341 glibcxx_cv_func_sincos_use=yes
64342 else
64343 glibcxx_cv_func_sincos_use=no
64344 fi
64345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64346 ac_ext=c
64347 ac_cpp='$CPP $CPPFLAGS'
64348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64351
64352
64353 fi
64354
64355 fi
64356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
64357 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
64358
64359 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
64360 for ac_func in sincos
64361 do :
64362 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
64363 if test "x$ac_cv_func_sincos" = x""yes; then :
64364 cat >>confdefs.h <<_ACEOF
64365 #define HAVE_SINCOS 1
64366 _ACEOF
64367
64368 fi
64369 done
64370
64371 else
64372
64373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
64374 $as_echo_n "checking for _sincos declaration... " >&6; }
64375 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
64376 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
64377 $as_echo_n "(cached) " >&6
64378 else
64379
64380
64381 ac_ext=cpp
64382 ac_cpp='$CXXCPP $CPPFLAGS'
64383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64386
64387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64388 /* end confdefs.h. */
64389 #include <math.h>
64390 int
64391 main ()
64392 {
64393 _sincos(0, 0, 0);
64394 ;
64395 return 0;
64396 }
64397 _ACEOF
64398 if ac_fn_cxx_try_compile "$LINENO"; then :
64399 glibcxx_cv_func__sincos_use=yes
64400 else
64401 glibcxx_cv_func__sincos_use=no
64402 fi
64403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64404 ac_ext=c
64405 ac_cpp='$CPP $CPPFLAGS'
64406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64409
64410
64411 fi
64412
64413 fi
64414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
64415 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
64416
64417 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
64418 for ac_func in _sincos
64419 do :
64420 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
64421 if test "x$ac_cv_func__sincos" = x""yes; then :
64422 cat >>confdefs.h <<_ACEOF
64423 #define HAVE__SINCOS 1
64424 _ACEOF
64425
64426 fi
64427 done
64428
64429 fi
64430 fi
64431
64432
64433
64434
64435
64436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
64437 $as_echo_n "checking for fpclass declaration... " >&6; }
64438 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
64439 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
64440 $as_echo_n "(cached) " >&6
64441 else
64442
64443
64444 ac_ext=cpp
64445 ac_cpp='$CXXCPP $CPPFLAGS'
64446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64449
64450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64451 /* end confdefs.h. */
64452 #include <math.h>
64453 #ifdef HAVE_IEEEFP_H
64454 #include <ieeefp.h>
64455 #endif
64456
64457 int
64458 main ()
64459 {
64460 fpclass(0);
64461 ;
64462 return 0;
64463 }
64464 _ACEOF
64465 if ac_fn_cxx_try_compile "$LINENO"; then :
64466 glibcxx_cv_func_fpclass_use=yes
64467 else
64468 glibcxx_cv_func_fpclass_use=no
64469 fi
64470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64471 ac_ext=c
64472 ac_cpp='$CPP $CPPFLAGS'
64473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64476
64477
64478 fi
64479
64480 fi
64481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
64482 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
64483
64484 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
64485 for ac_func in fpclass
64486 do :
64487 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
64488 if test "x$ac_cv_func_fpclass" = x""yes; then :
64489 cat >>confdefs.h <<_ACEOF
64490 #define HAVE_FPCLASS 1
64491 _ACEOF
64492
64493 fi
64494 done
64495
64496 else
64497
64498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
64499 $as_echo_n "checking for _fpclass declaration... " >&6; }
64500 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
64501 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
64502 $as_echo_n "(cached) " >&6
64503 else
64504
64505
64506 ac_ext=cpp
64507 ac_cpp='$CXXCPP $CPPFLAGS'
64508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64511
64512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64513 /* end confdefs.h. */
64514 #include <math.h>
64515 #ifdef HAVE_IEEEFP_H
64516 #include <ieeefp.h>
64517 #endif
64518
64519 int
64520 main ()
64521 {
64522 _fpclass(0);
64523 ;
64524 return 0;
64525 }
64526 _ACEOF
64527 if ac_fn_cxx_try_compile "$LINENO"; then :
64528 glibcxx_cv_func__fpclass_use=yes
64529 else
64530 glibcxx_cv_func__fpclass_use=no
64531 fi
64532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64533 ac_ext=c
64534 ac_cpp='$CPP $CPPFLAGS'
64535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64538
64539
64540 fi
64541
64542 fi
64543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
64544 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
64545
64546 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
64547 for ac_func in _fpclass
64548 do :
64549 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
64550 if test "x$ac_cv_func__fpclass" = x""yes; then :
64551 cat >>confdefs.h <<_ACEOF
64552 #define HAVE__FPCLASS 1
64553 _ACEOF
64554
64555 fi
64556 done
64557
64558 fi
64559 fi
64560
64561
64562
64563
64564
64565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
64566 $as_echo_n "checking for qfpclass declaration... " >&6; }
64567 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
64568 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
64569 $as_echo_n "(cached) " >&6
64570 else
64571
64572
64573 ac_ext=cpp
64574 ac_cpp='$CXXCPP $CPPFLAGS'
64575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64578
64579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64580 /* end confdefs.h. */
64581 #include <math.h>
64582 #ifdef HAVE_IEEEFP_H
64583 #include <ieeefp.h>
64584 #endif
64585
64586 int
64587 main ()
64588 {
64589 qfpclass(0);
64590 ;
64591 return 0;
64592 }
64593 _ACEOF
64594 if ac_fn_cxx_try_compile "$LINENO"; then :
64595 glibcxx_cv_func_qfpclass_use=yes
64596 else
64597 glibcxx_cv_func_qfpclass_use=no
64598 fi
64599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64600 ac_ext=c
64601 ac_cpp='$CPP $CPPFLAGS'
64602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64605
64606
64607 fi
64608
64609 fi
64610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
64611 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
64612
64613 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
64614 for ac_func in qfpclass
64615 do :
64616 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
64617 if test "x$ac_cv_func_qfpclass" = x""yes; then :
64618 cat >>confdefs.h <<_ACEOF
64619 #define HAVE_QFPCLASS 1
64620 _ACEOF
64621
64622 fi
64623 done
64624
64625 else
64626
64627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
64628 $as_echo_n "checking for _qfpclass declaration... " >&6; }
64629 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
64630 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
64631 $as_echo_n "(cached) " >&6
64632 else
64633
64634
64635 ac_ext=cpp
64636 ac_cpp='$CXXCPP $CPPFLAGS'
64637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64640
64641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64642 /* end confdefs.h. */
64643 #include <math.h>
64644 #ifdef HAVE_IEEEFP_H
64645 #include <ieeefp.h>
64646 #endif
64647
64648 int
64649 main ()
64650 {
64651 _qfpclass(0);
64652 ;
64653 return 0;
64654 }
64655 _ACEOF
64656 if ac_fn_cxx_try_compile "$LINENO"; then :
64657 glibcxx_cv_func__qfpclass_use=yes
64658 else
64659 glibcxx_cv_func__qfpclass_use=no
64660 fi
64661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64662 ac_ext=c
64663 ac_cpp='$CPP $CPPFLAGS'
64664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64667
64668
64669 fi
64670
64671 fi
64672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
64673 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
64674
64675 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
64676 for ac_func in _qfpclass
64677 do :
64678 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
64679 if test "x$ac_cv_func__qfpclass" = x""yes; then :
64680 cat >>confdefs.h <<_ACEOF
64681 #define HAVE__QFPCLASS 1
64682 _ACEOF
64683
64684 fi
64685 done
64686
64687 fi
64688 fi
64689
64690
64691
64692
64693
64694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
64695 $as_echo_n "checking for hypot declaration... " >&6; }
64696 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
64697 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
64698 $as_echo_n "(cached) " >&6
64699 else
64700
64701
64702 ac_ext=cpp
64703 ac_cpp='$CXXCPP $CPPFLAGS'
64704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64707
64708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64709 /* end confdefs.h. */
64710 #include <math.h>
64711 int
64712 main ()
64713 {
64714 hypot(0, 0);
64715 ;
64716 return 0;
64717 }
64718 _ACEOF
64719 if ac_fn_cxx_try_compile "$LINENO"; then :
64720 glibcxx_cv_func_hypot_use=yes
64721 else
64722 glibcxx_cv_func_hypot_use=no
64723 fi
64724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64725 ac_ext=c
64726 ac_cpp='$CPP $CPPFLAGS'
64727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64730
64731
64732 fi
64733
64734 fi
64735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
64736 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
64737
64738 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
64739 for ac_func in hypot
64740 do :
64741 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
64742 if test "x$ac_cv_func_hypot" = x""yes; then :
64743 cat >>confdefs.h <<_ACEOF
64744 #define HAVE_HYPOT 1
64745 _ACEOF
64746
64747 fi
64748 done
64749
64750 else
64751
64752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
64753 $as_echo_n "checking for _hypot declaration... " >&6; }
64754 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
64755 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
64756 $as_echo_n "(cached) " >&6
64757 else
64758
64759
64760 ac_ext=cpp
64761 ac_cpp='$CXXCPP $CPPFLAGS'
64762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64765
64766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64767 /* end confdefs.h. */
64768 #include <math.h>
64769 int
64770 main ()
64771 {
64772 _hypot(0, 0);
64773 ;
64774 return 0;
64775 }
64776 _ACEOF
64777 if ac_fn_cxx_try_compile "$LINENO"; then :
64778 glibcxx_cv_func__hypot_use=yes
64779 else
64780 glibcxx_cv_func__hypot_use=no
64781 fi
64782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64783 ac_ext=c
64784 ac_cpp='$CPP $CPPFLAGS'
64785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64788
64789
64790 fi
64791
64792 fi
64793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
64794 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
64795
64796 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
64797 for ac_func in _hypot
64798 do :
64799 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
64800 if test "x$ac_cv_func__hypot" = x""yes; then :
64801 cat >>confdefs.h <<_ACEOF
64802 #define HAVE__HYPOT 1
64803 _ACEOF
64804
64805 fi
64806 done
64807
64808 fi
64809 fi
64810
64811
64812
64813
64814
64815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
64816 $as_echo_n "checking for float trig functions... " >&6; }
64817 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
64818 $as_echo_n "(cached) " >&6
64819 else
64820
64821
64822 ac_ext=cpp
64823 ac_cpp='$CXXCPP $CPPFLAGS'
64824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64827
64828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64829 /* end confdefs.h. */
64830 #include <math.h>
64831 int
64832 main ()
64833 {
64834 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
64835 ;
64836 return 0;
64837 }
64838 _ACEOF
64839 if ac_fn_cxx_try_compile "$LINENO"; then :
64840 glibcxx_cv_func_float_trig_use=yes
64841 else
64842 glibcxx_cv_func_float_trig_use=no
64843 fi
64844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64845 ac_ext=c
64846 ac_cpp='$CPP $CPPFLAGS'
64847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64850
64851 fi
64852
64853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
64854 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
64855 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
64856 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
64857 do :
64858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64860 eval as_val=\$$as_ac_var
64861 if test "x$as_val" = x""yes; then :
64862 cat >>confdefs.h <<_ACEOF
64863 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64864 _ACEOF
64865
64866 fi
64867 done
64868
64869 else
64870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
64871 $as_echo_n "checking for _float trig functions... " >&6; }
64872 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
64873 $as_echo_n "(cached) " >&6
64874 else
64875
64876
64877 ac_ext=cpp
64878 ac_cpp='$CXXCPP $CPPFLAGS'
64879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64882
64883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64884 /* end confdefs.h. */
64885 #include <math.h>
64886 int
64887 main ()
64888 {
64889 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
64890 ;
64891 return 0;
64892 }
64893 _ACEOF
64894 if ac_fn_cxx_try_compile "$LINENO"; then :
64895 glibcxx_cv_func__float_trig_use=yes
64896 else
64897 glibcxx_cv_func__float_trig_use=no
64898 fi
64899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64900 ac_ext=c
64901 ac_cpp='$CPP $CPPFLAGS'
64902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64905
64906 fi
64907
64908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
64909 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
64910 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
64911 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
64912 do :
64913 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64914 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64915 eval as_val=\$$as_ac_var
64916 if test "x$as_val" = x""yes; then :
64917 cat >>confdefs.h <<_ACEOF
64918 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64919 _ACEOF
64920
64921 fi
64922 done
64923
64924 fi
64925 fi
64926
64927
64928
64929
64930
64931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
64932 $as_echo_n "checking for float round functions... " >&6; }
64933 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
64934 $as_echo_n "(cached) " >&6
64935 else
64936
64937
64938 ac_ext=cpp
64939 ac_cpp='$CXXCPP $CPPFLAGS'
64940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64943
64944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64945 /* end confdefs.h. */
64946 #include <math.h>
64947 int
64948 main ()
64949 {
64950 ceilf (0); floorf (0);
64951 ;
64952 return 0;
64953 }
64954 _ACEOF
64955 if ac_fn_cxx_try_compile "$LINENO"; then :
64956 glibcxx_cv_func_float_round_use=yes
64957 else
64958 glibcxx_cv_func_float_round_use=no
64959 fi
64960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64961 ac_ext=c
64962 ac_cpp='$CPP $CPPFLAGS'
64963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64966
64967 fi
64968
64969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
64970 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
64971 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
64972 for ac_func in ceilf floorf
64973 do :
64974 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64975 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64976 eval as_val=\$$as_ac_var
64977 if test "x$as_val" = x""yes; then :
64978 cat >>confdefs.h <<_ACEOF
64979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64980 _ACEOF
64981
64982 fi
64983 done
64984
64985 else
64986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
64987 $as_echo_n "checking for _float round functions... " >&6; }
64988 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
64989 $as_echo_n "(cached) " >&6
64990 else
64991
64992
64993 ac_ext=cpp
64994 ac_cpp='$CXXCPP $CPPFLAGS'
64995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64998
64999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65000 /* end confdefs.h. */
65001 #include <math.h>
65002 int
65003 main ()
65004 {
65005 _ceilf (0); _floorf (0);
65006 ;
65007 return 0;
65008 }
65009 _ACEOF
65010 if ac_fn_cxx_try_compile "$LINENO"; then :
65011 glibcxx_cv_func__float_round_use=yes
65012 else
65013 glibcxx_cv_func__float_round_use=no
65014 fi
65015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65016 ac_ext=c
65017 ac_cpp='$CPP $CPPFLAGS'
65018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65021
65022 fi
65023
65024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
65025 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
65026 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
65027 for ac_func in _ceilf _floorf
65028 do :
65029 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
65030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
65031 eval as_val=\$$as_ac_var
65032 if test "x$as_val" = x""yes; then :
65033 cat >>confdefs.h <<_ACEOF
65034 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
65035 _ACEOF
65036
65037 fi
65038 done
65039
65040 fi
65041 fi
65042
65043
65044
65045
65046
65047
65048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
65049 $as_echo_n "checking for expf declaration... " >&6; }
65050 if test x${glibcxx_cv_func_expf_use+set} != xset; then
65051 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
65052 $as_echo_n "(cached) " >&6
65053 else
65054
65055
65056 ac_ext=cpp
65057 ac_cpp='$CXXCPP $CPPFLAGS'
65058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65061
65062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65063 /* end confdefs.h. */
65064 #include <math.h>
65065 #ifdef HAVE_IEEEFP_H
65066 #include <ieeefp.h>
65067 #endif
65068
65069 int
65070 main ()
65071 {
65072 expf(0);
65073 ;
65074 return 0;
65075 }
65076 _ACEOF
65077 if ac_fn_cxx_try_compile "$LINENO"; then :
65078 glibcxx_cv_func_expf_use=yes
65079 else
65080 glibcxx_cv_func_expf_use=no
65081 fi
65082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65083 ac_ext=c
65084 ac_cpp='$CPP $CPPFLAGS'
65085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65088
65089
65090 fi
65091
65092 fi
65093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
65094 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
65095
65096 if test x$glibcxx_cv_func_expf_use = x"yes"; then
65097 for ac_func in expf
65098 do :
65099 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
65100 if test "x$ac_cv_func_expf" = x""yes; then :
65101 cat >>confdefs.h <<_ACEOF
65102 #define HAVE_EXPF 1
65103 _ACEOF
65104
65105 fi
65106 done
65107
65108 else
65109
65110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
65111 $as_echo_n "checking for _expf declaration... " >&6; }
65112 if test x${glibcxx_cv_func__expf_use+set} != xset; then
65113 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
65114 $as_echo_n "(cached) " >&6
65115 else
65116
65117
65118 ac_ext=cpp
65119 ac_cpp='$CXXCPP $CPPFLAGS'
65120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65123
65124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65125 /* end confdefs.h. */
65126 #include <math.h>
65127 #ifdef HAVE_IEEEFP_H
65128 #include <ieeefp.h>
65129 #endif
65130
65131 int
65132 main ()
65133 {
65134 _expf(0);
65135 ;
65136 return 0;
65137 }
65138 _ACEOF
65139 if ac_fn_cxx_try_compile "$LINENO"; then :
65140 glibcxx_cv_func__expf_use=yes
65141 else
65142 glibcxx_cv_func__expf_use=no
65143 fi
65144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65145 ac_ext=c
65146 ac_cpp='$CPP $CPPFLAGS'
65147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65150
65151
65152 fi
65153
65154 fi
65155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
65156 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
65157
65158 if test x$glibcxx_cv_func__expf_use = x"yes"; then
65159 for ac_func in _expf
65160 do :
65161 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
65162 if test "x$ac_cv_func__expf" = x""yes; then :
65163 cat >>confdefs.h <<_ACEOF
65164 #define HAVE__EXPF 1
65165 _ACEOF
65166
65167 fi
65168 done
65169
65170 fi
65171 fi
65172
65173
65174
65175
65176
65177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
65178 $as_echo_n "checking for isnanf declaration... " >&6; }
65179 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
65180 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
65181 $as_echo_n "(cached) " >&6
65182 else
65183
65184
65185 ac_ext=cpp
65186 ac_cpp='$CXXCPP $CPPFLAGS'
65187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65190
65191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65192 /* end confdefs.h. */
65193 #include <math.h>
65194 #ifdef HAVE_IEEEFP_H
65195 #include <ieeefp.h>
65196 #endif
65197
65198 int
65199 main ()
65200 {
65201 isnanf(0);
65202 ;
65203 return 0;
65204 }
65205 _ACEOF
65206 if ac_fn_cxx_try_compile "$LINENO"; then :
65207 glibcxx_cv_func_isnanf_use=yes
65208 else
65209 glibcxx_cv_func_isnanf_use=no
65210 fi
65211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65212 ac_ext=c
65213 ac_cpp='$CPP $CPPFLAGS'
65214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65217
65218
65219 fi
65220
65221 fi
65222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
65223 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
65224
65225 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
65226 for ac_func in isnanf
65227 do :
65228 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
65229 if test "x$ac_cv_func_isnanf" = x""yes; then :
65230 cat >>confdefs.h <<_ACEOF
65231 #define HAVE_ISNANF 1
65232 _ACEOF
65233
65234 fi
65235 done
65236
65237 else
65238
65239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
65240 $as_echo_n "checking for _isnanf declaration... " >&6; }
65241 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
65242 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
65243 $as_echo_n "(cached) " >&6
65244 else
65245
65246
65247 ac_ext=cpp
65248 ac_cpp='$CXXCPP $CPPFLAGS'
65249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65252
65253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65254 /* end confdefs.h. */
65255 #include <math.h>
65256 #ifdef HAVE_IEEEFP_H
65257 #include <ieeefp.h>
65258 #endif
65259
65260 int
65261 main ()
65262 {
65263 _isnanf(0);
65264 ;
65265 return 0;
65266 }
65267 _ACEOF
65268 if ac_fn_cxx_try_compile "$LINENO"; then :
65269 glibcxx_cv_func__isnanf_use=yes
65270 else
65271 glibcxx_cv_func__isnanf_use=no
65272 fi
65273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65274 ac_ext=c
65275 ac_cpp='$CPP $CPPFLAGS'
65276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65279
65280
65281 fi
65282
65283 fi
65284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
65285 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
65286
65287 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
65288 for ac_func in _isnanf
65289 do :
65290 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
65291 if test "x$ac_cv_func__isnanf" = x""yes; then :
65292 cat >>confdefs.h <<_ACEOF
65293 #define HAVE__ISNANF 1
65294 _ACEOF
65295
65296 fi
65297 done
65298
65299 fi
65300 fi
65301
65302
65303
65304
65305
65306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
65307 $as_echo_n "checking for isinff declaration... " >&6; }
65308 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
65309 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
65310 $as_echo_n "(cached) " >&6
65311 else
65312
65313
65314 ac_ext=cpp
65315 ac_cpp='$CXXCPP $CPPFLAGS'
65316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65319
65320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65321 /* end confdefs.h. */
65322 #include <math.h>
65323 #ifdef HAVE_IEEEFP_H
65324 #include <ieeefp.h>
65325 #endif
65326
65327 int
65328 main ()
65329 {
65330 isinff(0);
65331 ;
65332 return 0;
65333 }
65334 _ACEOF
65335 if ac_fn_cxx_try_compile "$LINENO"; then :
65336 glibcxx_cv_func_isinff_use=yes
65337 else
65338 glibcxx_cv_func_isinff_use=no
65339 fi
65340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65341 ac_ext=c
65342 ac_cpp='$CPP $CPPFLAGS'
65343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65346
65347
65348 fi
65349
65350 fi
65351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
65352 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
65353
65354 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
65355 for ac_func in isinff
65356 do :
65357 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
65358 if test "x$ac_cv_func_isinff" = x""yes; then :
65359 cat >>confdefs.h <<_ACEOF
65360 #define HAVE_ISINFF 1
65361 _ACEOF
65362
65363 fi
65364 done
65365
65366 else
65367
65368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
65369 $as_echo_n "checking for _isinff declaration... " >&6; }
65370 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
65371 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
65372 $as_echo_n "(cached) " >&6
65373 else
65374
65375
65376 ac_ext=cpp
65377 ac_cpp='$CXXCPP $CPPFLAGS'
65378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65381
65382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65383 /* end confdefs.h. */
65384 #include <math.h>
65385 #ifdef HAVE_IEEEFP_H
65386 #include <ieeefp.h>
65387 #endif
65388
65389 int
65390 main ()
65391 {
65392 _isinff(0);
65393 ;
65394 return 0;
65395 }
65396 _ACEOF
65397 if ac_fn_cxx_try_compile "$LINENO"; then :
65398 glibcxx_cv_func__isinff_use=yes
65399 else
65400 glibcxx_cv_func__isinff_use=no
65401 fi
65402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65403 ac_ext=c
65404 ac_cpp='$CPP $CPPFLAGS'
65405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65408
65409
65410 fi
65411
65412 fi
65413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
65414 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
65415
65416 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
65417 for ac_func in _isinff
65418 do :
65419 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
65420 if test "x$ac_cv_func__isinff" = x""yes; then :
65421 cat >>confdefs.h <<_ACEOF
65422 #define HAVE__ISINFF 1
65423 _ACEOF
65424
65425 fi
65426 done
65427
65428 fi
65429 fi
65430
65431
65432
65433
65434
65435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
65436 $as_echo_n "checking for atan2f declaration... " >&6; }
65437 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
65438 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
65439 $as_echo_n "(cached) " >&6
65440 else
65441
65442
65443 ac_ext=cpp
65444 ac_cpp='$CXXCPP $CPPFLAGS'
65445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65448
65449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65450 /* end confdefs.h. */
65451 #include <math.h>
65452 int
65453 main ()
65454 {
65455 atan2f(0, 0);
65456 ;
65457 return 0;
65458 }
65459 _ACEOF
65460 if ac_fn_cxx_try_compile "$LINENO"; then :
65461 glibcxx_cv_func_atan2f_use=yes
65462 else
65463 glibcxx_cv_func_atan2f_use=no
65464 fi
65465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65466 ac_ext=c
65467 ac_cpp='$CPP $CPPFLAGS'
65468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65471
65472
65473 fi
65474
65475 fi
65476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
65477 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
65478
65479 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
65480 for ac_func in atan2f
65481 do :
65482 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
65483 if test "x$ac_cv_func_atan2f" = x""yes; then :
65484 cat >>confdefs.h <<_ACEOF
65485 #define HAVE_ATAN2F 1
65486 _ACEOF
65487
65488 fi
65489 done
65490
65491 else
65492
65493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
65494 $as_echo_n "checking for _atan2f declaration... " >&6; }
65495 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
65496 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
65497 $as_echo_n "(cached) " >&6
65498 else
65499
65500
65501 ac_ext=cpp
65502 ac_cpp='$CXXCPP $CPPFLAGS'
65503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65506
65507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65508 /* end confdefs.h. */
65509 #include <math.h>
65510 int
65511 main ()
65512 {
65513 _atan2f(0, 0);
65514 ;
65515 return 0;
65516 }
65517 _ACEOF
65518 if ac_fn_cxx_try_compile "$LINENO"; then :
65519 glibcxx_cv_func__atan2f_use=yes
65520 else
65521 glibcxx_cv_func__atan2f_use=no
65522 fi
65523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65524 ac_ext=c
65525 ac_cpp='$CPP $CPPFLAGS'
65526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65529
65530
65531 fi
65532
65533 fi
65534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
65535 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
65536
65537 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
65538 for ac_func in _atan2f
65539 do :
65540 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
65541 if test "x$ac_cv_func__atan2f" = x""yes; then :
65542 cat >>confdefs.h <<_ACEOF
65543 #define HAVE__ATAN2F 1
65544 _ACEOF
65545
65546 fi
65547 done
65548
65549 fi
65550 fi
65551
65552
65553
65554
65555
65556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
65557 $as_echo_n "checking for fabsf declaration... " >&6; }
65558 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
65559 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
65560 $as_echo_n "(cached) " >&6
65561 else
65562
65563
65564 ac_ext=cpp
65565 ac_cpp='$CXXCPP $CPPFLAGS'
65566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65569
65570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65571 /* end confdefs.h. */
65572 #include <math.h>
65573 #ifdef HAVE_IEEEFP_H
65574 #include <ieeefp.h>
65575 #endif
65576
65577 int
65578 main ()
65579 {
65580 fabsf(0);
65581 ;
65582 return 0;
65583 }
65584 _ACEOF
65585 if ac_fn_cxx_try_compile "$LINENO"; then :
65586 glibcxx_cv_func_fabsf_use=yes
65587 else
65588 glibcxx_cv_func_fabsf_use=no
65589 fi
65590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65591 ac_ext=c
65592 ac_cpp='$CPP $CPPFLAGS'
65593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65596
65597
65598 fi
65599
65600 fi
65601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
65602 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
65603
65604 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
65605 for ac_func in fabsf
65606 do :
65607 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
65608 if test "x$ac_cv_func_fabsf" = x""yes; then :
65609 cat >>confdefs.h <<_ACEOF
65610 #define HAVE_FABSF 1
65611 _ACEOF
65612
65613 fi
65614 done
65615
65616 else
65617
65618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
65619 $as_echo_n "checking for _fabsf declaration... " >&6; }
65620 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
65621 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
65622 $as_echo_n "(cached) " >&6
65623 else
65624
65625
65626 ac_ext=cpp
65627 ac_cpp='$CXXCPP $CPPFLAGS'
65628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65631
65632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65633 /* end confdefs.h. */
65634 #include <math.h>
65635 #ifdef HAVE_IEEEFP_H
65636 #include <ieeefp.h>
65637 #endif
65638
65639 int
65640 main ()
65641 {
65642 _fabsf(0);
65643 ;
65644 return 0;
65645 }
65646 _ACEOF
65647 if ac_fn_cxx_try_compile "$LINENO"; then :
65648 glibcxx_cv_func__fabsf_use=yes
65649 else
65650 glibcxx_cv_func__fabsf_use=no
65651 fi
65652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65653 ac_ext=c
65654 ac_cpp='$CPP $CPPFLAGS'
65655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65658
65659
65660 fi
65661
65662 fi
65663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
65664 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
65665
65666 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
65667 for ac_func in _fabsf
65668 do :
65669 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
65670 if test "x$ac_cv_func__fabsf" = x""yes; then :
65671 cat >>confdefs.h <<_ACEOF
65672 #define HAVE__FABSF 1
65673 _ACEOF
65674
65675 fi
65676 done
65677
65678 fi
65679 fi
65680
65681
65682
65683
65684
65685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
65686 $as_echo_n "checking for fmodf declaration... " >&6; }
65687 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
65688 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
65689 $as_echo_n "(cached) " >&6
65690 else
65691
65692
65693 ac_ext=cpp
65694 ac_cpp='$CXXCPP $CPPFLAGS'
65695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65698
65699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65700 /* end confdefs.h. */
65701 #include <math.h>
65702 int
65703 main ()
65704 {
65705 fmodf(0, 0);
65706 ;
65707 return 0;
65708 }
65709 _ACEOF
65710 if ac_fn_cxx_try_compile "$LINENO"; then :
65711 glibcxx_cv_func_fmodf_use=yes
65712 else
65713 glibcxx_cv_func_fmodf_use=no
65714 fi
65715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65716 ac_ext=c
65717 ac_cpp='$CPP $CPPFLAGS'
65718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65721
65722
65723 fi
65724
65725 fi
65726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
65727 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
65728
65729 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65730 for ac_func in fmodf
65731 do :
65732 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
65733 if test "x$ac_cv_func_fmodf" = x""yes; then :
65734 cat >>confdefs.h <<_ACEOF
65735 #define HAVE_FMODF 1
65736 _ACEOF
65737
65738 fi
65739 done
65740
65741 else
65742
65743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
65744 $as_echo_n "checking for _fmodf declaration... " >&6; }
65745 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65746 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
65747 $as_echo_n "(cached) " >&6
65748 else
65749
65750
65751 ac_ext=cpp
65752 ac_cpp='$CXXCPP $CPPFLAGS'
65753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65756
65757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65758 /* end confdefs.h. */
65759 #include <math.h>
65760 int
65761 main ()
65762 {
65763 _fmodf(0, 0);
65764 ;
65765 return 0;
65766 }
65767 _ACEOF
65768 if ac_fn_cxx_try_compile "$LINENO"; then :
65769 glibcxx_cv_func__fmodf_use=yes
65770 else
65771 glibcxx_cv_func__fmodf_use=no
65772 fi
65773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65774 ac_ext=c
65775 ac_cpp='$CPP $CPPFLAGS'
65776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65779
65780
65781 fi
65782
65783 fi
65784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
65785 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
65786
65787 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65788 for ac_func in _fmodf
65789 do :
65790 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
65791 if test "x$ac_cv_func__fmodf" = x""yes; then :
65792 cat >>confdefs.h <<_ACEOF
65793 #define HAVE__FMODF 1
65794 _ACEOF
65795
65796 fi
65797 done
65798
65799 fi
65800 fi
65801
65802
65803
65804
65805
65806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
65807 $as_echo_n "checking for frexpf declaration... " >&6; }
65808 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65809 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
65810 $as_echo_n "(cached) " >&6
65811 else
65812
65813
65814 ac_ext=cpp
65815 ac_cpp='$CXXCPP $CPPFLAGS'
65816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65819
65820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65821 /* end confdefs.h. */
65822 #include <math.h>
65823 int
65824 main ()
65825 {
65826 frexpf(0, 0);
65827 ;
65828 return 0;
65829 }
65830 _ACEOF
65831 if ac_fn_cxx_try_compile "$LINENO"; then :
65832 glibcxx_cv_func_frexpf_use=yes
65833 else
65834 glibcxx_cv_func_frexpf_use=no
65835 fi
65836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65837 ac_ext=c
65838 ac_cpp='$CPP $CPPFLAGS'
65839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65842
65843
65844 fi
65845
65846 fi
65847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
65848 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
65849
65850 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65851 for ac_func in frexpf
65852 do :
65853 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
65854 if test "x$ac_cv_func_frexpf" = x""yes; then :
65855 cat >>confdefs.h <<_ACEOF
65856 #define HAVE_FREXPF 1
65857 _ACEOF
65858
65859 fi
65860 done
65861
65862 else
65863
65864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
65865 $as_echo_n "checking for _frexpf declaration... " >&6; }
65866 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65867 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
65868 $as_echo_n "(cached) " >&6
65869 else
65870
65871
65872 ac_ext=cpp
65873 ac_cpp='$CXXCPP $CPPFLAGS'
65874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65877
65878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65879 /* end confdefs.h. */
65880 #include <math.h>
65881 int
65882 main ()
65883 {
65884 _frexpf(0, 0);
65885 ;
65886 return 0;
65887 }
65888 _ACEOF
65889 if ac_fn_cxx_try_compile "$LINENO"; then :
65890 glibcxx_cv_func__frexpf_use=yes
65891 else
65892 glibcxx_cv_func__frexpf_use=no
65893 fi
65894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65895 ac_ext=c
65896 ac_cpp='$CPP $CPPFLAGS'
65897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65900
65901
65902 fi
65903
65904 fi
65905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
65906 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
65907
65908 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65909 for ac_func in _frexpf
65910 do :
65911 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
65912 if test "x$ac_cv_func__frexpf" = x""yes; then :
65913 cat >>confdefs.h <<_ACEOF
65914 #define HAVE__FREXPF 1
65915 _ACEOF
65916
65917 fi
65918 done
65919
65920 fi
65921 fi
65922
65923
65924
65925
65926
65927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
65928 $as_echo_n "checking for hypotf declaration... " >&6; }
65929 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65930 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
65931 $as_echo_n "(cached) " >&6
65932 else
65933
65934
65935 ac_ext=cpp
65936 ac_cpp='$CXXCPP $CPPFLAGS'
65937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65940
65941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65942 /* end confdefs.h. */
65943 #include <math.h>
65944 int
65945 main ()
65946 {
65947 hypotf(0, 0);
65948 ;
65949 return 0;
65950 }
65951 _ACEOF
65952 if ac_fn_cxx_try_compile "$LINENO"; then :
65953 glibcxx_cv_func_hypotf_use=yes
65954 else
65955 glibcxx_cv_func_hypotf_use=no
65956 fi
65957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65958 ac_ext=c
65959 ac_cpp='$CPP $CPPFLAGS'
65960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65963
65964
65965 fi
65966
65967 fi
65968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
65969 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
65970
65971 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65972 for ac_func in hypotf
65973 do :
65974 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
65975 if test "x$ac_cv_func_hypotf" = x""yes; then :
65976 cat >>confdefs.h <<_ACEOF
65977 #define HAVE_HYPOTF 1
65978 _ACEOF
65979
65980 fi
65981 done
65982
65983 else
65984
65985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
65986 $as_echo_n "checking for _hypotf declaration... " >&6; }
65987 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65988 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
65989 $as_echo_n "(cached) " >&6
65990 else
65991
65992
65993 ac_ext=cpp
65994 ac_cpp='$CXXCPP $CPPFLAGS'
65995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65998
65999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66000 /* end confdefs.h. */
66001 #include <math.h>
66002 int
66003 main ()
66004 {
66005 _hypotf(0, 0);
66006 ;
66007 return 0;
66008 }
66009 _ACEOF
66010 if ac_fn_cxx_try_compile "$LINENO"; then :
66011 glibcxx_cv_func__hypotf_use=yes
66012 else
66013 glibcxx_cv_func__hypotf_use=no
66014 fi
66015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66016 ac_ext=c
66017 ac_cpp='$CPP $CPPFLAGS'
66018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66021
66022
66023 fi
66024
66025 fi
66026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
66027 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
66028
66029 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
66030 for ac_func in _hypotf
66031 do :
66032 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
66033 if test "x$ac_cv_func__hypotf" = x""yes; then :
66034 cat >>confdefs.h <<_ACEOF
66035 #define HAVE__HYPOTF 1
66036 _ACEOF
66037
66038 fi
66039 done
66040
66041 fi
66042 fi
66043
66044
66045
66046
66047
66048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
66049 $as_echo_n "checking for ldexpf declaration... " >&6; }
66050 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66051 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
66052 $as_echo_n "(cached) " >&6
66053 else
66054
66055
66056 ac_ext=cpp
66057 ac_cpp='$CXXCPP $CPPFLAGS'
66058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66061
66062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66063 /* end confdefs.h. */
66064 #include <math.h>
66065 int
66066 main ()
66067 {
66068 ldexpf(0, 0);
66069 ;
66070 return 0;
66071 }
66072 _ACEOF
66073 if ac_fn_cxx_try_compile "$LINENO"; then :
66074 glibcxx_cv_func_ldexpf_use=yes
66075 else
66076 glibcxx_cv_func_ldexpf_use=no
66077 fi
66078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66079 ac_ext=c
66080 ac_cpp='$CPP $CPPFLAGS'
66081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66084
66085
66086 fi
66087
66088 fi
66089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
66090 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
66091
66092 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66093 for ac_func in ldexpf
66094 do :
66095 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
66096 if test "x$ac_cv_func_ldexpf" = x""yes; then :
66097 cat >>confdefs.h <<_ACEOF
66098 #define HAVE_LDEXPF 1
66099 _ACEOF
66100
66101 fi
66102 done
66103
66104 else
66105
66106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
66107 $as_echo_n "checking for _ldexpf declaration... " >&6; }
66108 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66109 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
66110 $as_echo_n "(cached) " >&6
66111 else
66112
66113
66114 ac_ext=cpp
66115 ac_cpp='$CXXCPP $CPPFLAGS'
66116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66119
66120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66121 /* end confdefs.h. */
66122 #include <math.h>
66123 int
66124 main ()
66125 {
66126 _ldexpf(0, 0);
66127 ;
66128 return 0;
66129 }
66130 _ACEOF
66131 if ac_fn_cxx_try_compile "$LINENO"; then :
66132 glibcxx_cv_func__ldexpf_use=yes
66133 else
66134 glibcxx_cv_func__ldexpf_use=no
66135 fi
66136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66137 ac_ext=c
66138 ac_cpp='$CPP $CPPFLAGS'
66139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66142
66143
66144 fi
66145
66146 fi
66147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
66148 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
66149
66150 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66151 for ac_func in _ldexpf
66152 do :
66153 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
66154 if test "x$ac_cv_func__ldexpf" = x""yes; then :
66155 cat >>confdefs.h <<_ACEOF
66156 #define HAVE__LDEXPF 1
66157 _ACEOF
66158
66159 fi
66160 done
66161
66162 fi
66163 fi
66164
66165
66166
66167
66168
66169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
66170 $as_echo_n "checking for logf declaration... " >&6; }
66171 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66172 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
66173 $as_echo_n "(cached) " >&6
66174 else
66175
66176
66177 ac_ext=cpp
66178 ac_cpp='$CXXCPP $CPPFLAGS'
66179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66182
66183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66184 /* end confdefs.h. */
66185 #include <math.h>
66186 #ifdef HAVE_IEEEFP_H
66187 #include <ieeefp.h>
66188 #endif
66189
66190 int
66191 main ()
66192 {
66193 logf(0);
66194 ;
66195 return 0;
66196 }
66197 _ACEOF
66198 if ac_fn_cxx_try_compile "$LINENO"; then :
66199 glibcxx_cv_func_logf_use=yes
66200 else
66201 glibcxx_cv_func_logf_use=no
66202 fi
66203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66204 ac_ext=c
66205 ac_cpp='$CPP $CPPFLAGS'
66206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66209
66210
66211 fi
66212
66213 fi
66214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
66215 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
66216
66217 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66218 for ac_func in logf
66219 do :
66220 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
66221 if test "x$ac_cv_func_logf" = x""yes; then :
66222 cat >>confdefs.h <<_ACEOF
66223 #define HAVE_LOGF 1
66224 _ACEOF
66225
66226 fi
66227 done
66228
66229 else
66230
66231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
66232 $as_echo_n "checking for _logf declaration... " >&6; }
66233 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66234 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
66235 $as_echo_n "(cached) " >&6
66236 else
66237
66238
66239 ac_ext=cpp
66240 ac_cpp='$CXXCPP $CPPFLAGS'
66241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66244
66245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66246 /* end confdefs.h. */
66247 #include <math.h>
66248 #ifdef HAVE_IEEEFP_H
66249 #include <ieeefp.h>
66250 #endif
66251
66252 int
66253 main ()
66254 {
66255 _logf(0);
66256 ;
66257 return 0;
66258 }
66259 _ACEOF
66260 if ac_fn_cxx_try_compile "$LINENO"; then :
66261 glibcxx_cv_func__logf_use=yes
66262 else
66263 glibcxx_cv_func__logf_use=no
66264 fi
66265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66266 ac_ext=c
66267 ac_cpp='$CPP $CPPFLAGS'
66268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66271
66272
66273 fi
66274
66275 fi
66276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
66277 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
66278
66279 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66280 for ac_func in _logf
66281 do :
66282 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
66283 if test "x$ac_cv_func__logf" = x""yes; then :
66284 cat >>confdefs.h <<_ACEOF
66285 #define HAVE__LOGF 1
66286 _ACEOF
66287
66288 fi
66289 done
66290
66291 fi
66292 fi
66293
66294
66295
66296
66297
66298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
66299 $as_echo_n "checking for log10f declaration... " >&6; }
66300 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66301 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
66302 $as_echo_n "(cached) " >&6
66303 else
66304
66305
66306 ac_ext=cpp
66307 ac_cpp='$CXXCPP $CPPFLAGS'
66308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66311
66312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66313 /* end confdefs.h. */
66314 #include <math.h>
66315 #ifdef HAVE_IEEEFP_H
66316 #include <ieeefp.h>
66317 #endif
66318
66319 int
66320 main ()
66321 {
66322 log10f(0);
66323 ;
66324 return 0;
66325 }
66326 _ACEOF
66327 if ac_fn_cxx_try_compile "$LINENO"; then :
66328 glibcxx_cv_func_log10f_use=yes
66329 else
66330 glibcxx_cv_func_log10f_use=no
66331 fi
66332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66333 ac_ext=c
66334 ac_cpp='$CPP $CPPFLAGS'
66335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66338
66339
66340 fi
66341
66342 fi
66343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
66344 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
66345
66346 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66347 for ac_func in log10f
66348 do :
66349 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
66350 if test "x$ac_cv_func_log10f" = x""yes; then :
66351 cat >>confdefs.h <<_ACEOF
66352 #define HAVE_LOG10F 1
66353 _ACEOF
66354
66355 fi
66356 done
66357
66358 else
66359
66360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
66361 $as_echo_n "checking for _log10f declaration... " >&6; }
66362 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
66363 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
66364 $as_echo_n "(cached) " >&6
66365 else
66366
66367
66368 ac_ext=cpp
66369 ac_cpp='$CXXCPP $CPPFLAGS'
66370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66373
66374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66375 /* end confdefs.h. */
66376 #include <math.h>
66377 #ifdef HAVE_IEEEFP_H
66378 #include <ieeefp.h>
66379 #endif
66380
66381 int
66382 main ()
66383 {
66384 _log10f(0);
66385 ;
66386 return 0;
66387 }
66388 _ACEOF
66389 if ac_fn_cxx_try_compile "$LINENO"; then :
66390 glibcxx_cv_func__log10f_use=yes
66391 else
66392 glibcxx_cv_func__log10f_use=no
66393 fi
66394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66395 ac_ext=c
66396 ac_cpp='$CPP $CPPFLAGS'
66397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66400
66401
66402 fi
66403
66404 fi
66405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
66406 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
66407
66408 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
66409 for ac_func in _log10f
66410 do :
66411 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
66412 if test "x$ac_cv_func__log10f" = x""yes; then :
66413 cat >>confdefs.h <<_ACEOF
66414 #define HAVE__LOG10F 1
66415 _ACEOF
66416
66417 fi
66418 done
66419
66420 fi
66421 fi
66422
66423
66424
66425
66426
66427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
66428 $as_echo_n "checking for modff declaration... " >&6; }
66429 if test x${glibcxx_cv_func_modff_use+set} != xset; then
66430 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
66431 $as_echo_n "(cached) " >&6
66432 else
66433
66434
66435 ac_ext=cpp
66436 ac_cpp='$CXXCPP $CPPFLAGS'
66437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66440
66441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66442 /* end confdefs.h. */
66443 #include <math.h>
66444 int
66445 main ()
66446 {
66447 modff(0, 0);
66448 ;
66449 return 0;
66450 }
66451 _ACEOF
66452 if ac_fn_cxx_try_compile "$LINENO"; then :
66453 glibcxx_cv_func_modff_use=yes
66454 else
66455 glibcxx_cv_func_modff_use=no
66456 fi
66457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66458 ac_ext=c
66459 ac_cpp='$CPP $CPPFLAGS'
66460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66463
66464
66465 fi
66466
66467 fi
66468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
66469 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
66470
66471 if test x$glibcxx_cv_func_modff_use = x"yes"; then
66472 for ac_func in modff
66473 do :
66474 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
66475 if test "x$ac_cv_func_modff" = x""yes; then :
66476 cat >>confdefs.h <<_ACEOF
66477 #define HAVE_MODFF 1
66478 _ACEOF
66479
66480 fi
66481 done
66482
66483 else
66484
66485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
66486 $as_echo_n "checking for _modff declaration... " >&6; }
66487 if test x${glibcxx_cv_func__modff_use+set} != xset; then
66488 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
66489 $as_echo_n "(cached) " >&6
66490 else
66491
66492
66493 ac_ext=cpp
66494 ac_cpp='$CXXCPP $CPPFLAGS'
66495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66498
66499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66500 /* end confdefs.h. */
66501 #include <math.h>
66502 int
66503 main ()
66504 {
66505 _modff(0, 0);
66506 ;
66507 return 0;
66508 }
66509 _ACEOF
66510 if ac_fn_cxx_try_compile "$LINENO"; then :
66511 glibcxx_cv_func__modff_use=yes
66512 else
66513 glibcxx_cv_func__modff_use=no
66514 fi
66515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66516 ac_ext=c
66517 ac_cpp='$CPP $CPPFLAGS'
66518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66521
66522
66523 fi
66524
66525 fi
66526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
66527 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
66528
66529 if test x$glibcxx_cv_func__modff_use = x"yes"; then
66530 for ac_func in _modff
66531 do :
66532 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
66533 if test "x$ac_cv_func__modff" = x""yes; then :
66534 cat >>confdefs.h <<_ACEOF
66535 #define HAVE__MODFF 1
66536 _ACEOF
66537
66538 fi
66539 done
66540
66541 fi
66542 fi
66543
66544
66545
66546
66547
66548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
66549 $as_echo_n "checking for modf declaration... " >&6; }
66550 if test x${glibcxx_cv_func_modf_use+set} != xset; then
66551 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
66552 $as_echo_n "(cached) " >&6
66553 else
66554
66555
66556 ac_ext=cpp
66557 ac_cpp='$CXXCPP $CPPFLAGS'
66558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66561
66562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66563 /* end confdefs.h. */
66564 #include <math.h>
66565 int
66566 main ()
66567 {
66568 modf(0, 0);
66569 ;
66570 return 0;
66571 }
66572 _ACEOF
66573 if ac_fn_cxx_try_compile "$LINENO"; then :
66574 glibcxx_cv_func_modf_use=yes
66575 else
66576 glibcxx_cv_func_modf_use=no
66577 fi
66578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66579 ac_ext=c
66580 ac_cpp='$CPP $CPPFLAGS'
66581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66584
66585
66586 fi
66587
66588 fi
66589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
66590 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
66591
66592 if test x$glibcxx_cv_func_modf_use = x"yes"; then
66593 for ac_func in modf
66594 do :
66595 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
66596 if test "x$ac_cv_func_modf" = x""yes; then :
66597 cat >>confdefs.h <<_ACEOF
66598 #define HAVE_MODF 1
66599 _ACEOF
66600
66601 fi
66602 done
66603
66604 else
66605
66606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
66607 $as_echo_n "checking for _modf declaration... " >&6; }
66608 if test x${glibcxx_cv_func__modf_use+set} != xset; then
66609 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
66610 $as_echo_n "(cached) " >&6
66611 else
66612
66613
66614 ac_ext=cpp
66615 ac_cpp='$CXXCPP $CPPFLAGS'
66616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66619
66620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66621 /* end confdefs.h. */
66622 #include <math.h>
66623 int
66624 main ()
66625 {
66626 _modf(0, 0);
66627 ;
66628 return 0;
66629 }
66630 _ACEOF
66631 if ac_fn_cxx_try_compile "$LINENO"; then :
66632 glibcxx_cv_func__modf_use=yes
66633 else
66634 glibcxx_cv_func__modf_use=no
66635 fi
66636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66637 ac_ext=c
66638 ac_cpp='$CPP $CPPFLAGS'
66639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66642
66643
66644 fi
66645
66646 fi
66647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
66648 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
66649
66650 if test x$glibcxx_cv_func__modf_use = x"yes"; then
66651 for ac_func in _modf
66652 do :
66653 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
66654 if test "x$ac_cv_func__modf" = x""yes; then :
66655 cat >>confdefs.h <<_ACEOF
66656 #define HAVE__MODF 1
66657 _ACEOF
66658
66659 fi
66660 done
66661
66662 fi
66663 fi
66664
66665
66666
66667
66668
66669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
66670 $as_echo_n "checking for powf declaration... " >&6; }
66671 if test x${glibcxx_cv_func_powf_use+set} != xset; then
66672 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
66673 $as_echo_n "(cached) " >&6
66674 else
66675
66676
66677 ac_ext=cpp
66678 ac_cpp='$CXXCPP $CPPFLAGS'
66679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66682
66683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66684 /* end confdefs.h. */
66685 #include <math.h>
66686 int
66687 main ()
66688 {
66689 powf(0, 0);
66690 ;
66691 return 0;
66692 }
66693 _ACEOF
66694 if ac_fn_cxx_try_compile "$LINENO"; then :
66695 glibcxx_cv_func_powf_use=yes
66696 else
66697 glibcxx_cv_func_powf_use=no
66698 fi
66699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66700 ac_ext=c
66701 ac_cpp='$CPP $CPPFLAGS'
66702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66705
66706
66707 fi
66708
66709 fi
66710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
66711 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
66712
66713 if test x$glibcxx_cv_func_powf_use = x"yes"; then
66714 for ac_func in powf
66715 do :
66716 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
66717 if test "x$ac_cv_func_powf" = x""yes; then :
66718 cat >>confdefs.h <<_ACEOF
66719 #define HAVE_POWF 1
66720 _ACEOF
66721
66722 fi
66723 done
66724
66725 else
66726
66727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
66728 $as_echo_n "checking for _powf declaration... " >&6; }
66729 if test x${glibcxx_cv_func__powf_use+set} != xset; then
66730 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
66731 $as_echo_n "(cached) " >&6
66732 else
66733
66734
66735 ac_ext=cpp
66736 ac_cpp='$CXXCPP $CPPFLAGS'
66737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66740
66741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66742 /* end confdefs.h. */
66743 #include <math.h>
66744 int
66745 main ()
66746 {
66747 _powf(0, 0);
66748 ;
66749 return 0;
66750 }
66751 _ACEOF
66752 if ac_fn_cxx_try_compile "$LINENO"; then :
66753 glibcxx_cv_func__powf_use=yes
66754 else
66755 glibcxx_cv_func__powf_use=no
66756 fi
66757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66758 ac_ext=c
66759 ac_cpp='$CPP $CPPFLAGS'
66760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66763
66764
66765 fi
66766
66767 fi
66768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
66769 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
66770
66771 if test x$glibcxx_cv_func__powf_use = x"yes"; then
66772 for ac_func in _powf
66773 do :
66774 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
66775 if test "x$ac_cv_func__powf" = x""yes; then :
66776 cat >>confdefs.h <<_ACEOF
66777 #define HAVE__POWF 1
66778 _ACEOF
66779
66780 fi
66781 done
66782
66783 fi
66784 fi
66785
66786
66787
66788
66789
66790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
66791 $as_echo_n "checking for sqrtf declaration... " >&6; }
66792 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
66793 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
66794 $as_echo_n "(cached) " >&6
66795 else
66796
66797
66798 ac_ext=cpp
66799 ac_cpp='$CXXCPP $CPPFLAGS'
66800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66803
66804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66805 /* end confdefs.h. */
66806 #include <math.h>
66807 #ifdef HAVE_IEEEFP_H
66808 #include <ieeefp.h>
66809 #endif
66810
66811 int
66812 main ()
66813 {
66814 sqrtf(0);
66815 ;
66816 return 0;
66817 }
66818 _ACEOF
66819 if ac_fn_cxx_try_compile "$LINENO"; then :
66820 glibcxx_cv_func_sqrtf_use=yes
66821 else
66822 glibcxx_cv_func_sqrtf_use=no
66823 fi
66824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66825 ac_ext=c
66826 ac_cpp='$CPP $CPPFLAGS'
66827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66830
66831
66832 fi
66833
66834 fi
66835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
66836 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
66837
66838 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
66839 for ac_func in sqrtf
66840 do :
66841 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
66842 if test "x$ac_cv_func_sqrtf" = x""yes; then :
66843 cat >>confdefs.h <<_ACEOF
66844 #define HAVE_SQRTF 1
66845 _ACEOF
66846
66847 fi
66848 done
66849
66850 else
66851
66852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
66853 $as_echo_n "checking for _sqrtf declaration... " >&6; }
66854 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
66855 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
66856 $as_echo_n "(cached) " >&6
66857 else
66858
66859
66860 ac_ext=cpp
66861 ac_cpp='$CXXCPP $CPPFLAGS'
66862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66865
66866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66867 /* end confdefs.h. */
66868 #include <math.h>
66869 #ifdef HAVE_IEEEFP_H
66870 #include <ieeefp.h>
66871 #endif
66872
66873 int
66874 main ()
66875 {
66876 _sqrtf(0);
66877 ;
66878 return 0;
66879 }
66880 _ACEOF
66881 if ac_fn_cxx_try_compile "$LINENO"; then :
66882 glibcxx_cv_func__sqrtf_use=yes
66883 else
66884 glibcxx_cv_func__sqrtf_use=no
66885 fi
66886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66887 ac_ext=c
66888 ac_cpp='$CPP $CPPFLAGS'
66889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66892
66893
66894 fi
66895
66896 fi
66897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
66898 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
66899
66900 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
66901 for ac_func in _sqrtf
66902 do :
66903 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
66904 if test "x$ac_cv_func__sqrtf" = x""yes; then :
66905 cat >>confdefs.h <<_ACEOF
66906 #define HAVE__SQRTF 1
66907 _ACEOF
66908
66909 fi
66910 done
66911
66912 fi
66913 fi
66914
66915
66916
66917
66918
66919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
66920 $as_echo_n "checking for sincosf declaration... " >&6; }
66921 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
66922 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
66923 $as_echo_n "(cached) " >&6
66924 else
66925
66926
66927 ac_ext=cpp
66928 ac_cpp='$CXXCPP $CPPFLAGS'
66929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66932
66933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66934 /* end confdefs.h. */
66935 #include <math.h>
66936 int
66937 main ()
66938 {
66939 sincosf(0, 0, 0);
66940 ;
66941 return 0;
66942 }
66943 _ACEOF
66944 if ac_fn_cxx_try_compile "$LINENO"; then :
66945 glibcxx_cv_func_sincosf_use=yes
66946 else
66947 glibcxx_cv_func_sincosf_use=no
66948 fi
66949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66950 ac_ext=c
66951 ac_cpp='$CPP $CPPFLAGS'
66952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66955
66956
66957 fi
66958
66959 fi
66960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
66961 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
66962
66963 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
66964 for ac_func in sincosf
66965 do :
66966 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
66967 if test "x$ac_cv_func_sincosf" = x""yes; then :
66968 cat >>confdefs.h <<_ACEOF
66969 #define HAVE_SINCOSF 1
66970 _ACEOF
66971
66972 fi
66973 done
66974
66975 else
66976
66977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
66978 $as_echo_n "checking for _sincosf declaration... " >&6; }
66979 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
66980 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
66981 $as_echo_n "(cached) " >&6
66982 else
66983
66984
66985 ac_ext=cpp
66986 ac_cpp='$CXXCPP $CPPFLAGS'
66987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66990
66991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66992 /* end confdefs.h. */
66993 #include <math.h>
66994 int
66995 main ()
66996 {
66997 _sincosf(0, 0, 0);
66998 ;
66999 return 0;
67000 }
67001 _ACEOF
67002 if ac_fn_cxx_try_compile "$LINENO"; then :
67003 glibcxx_cv_func__sincosf_use=yes
67004 else
67005 glibcxx_cv_func__sincosf_use=no
67006 fi
67007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67008 ac_ext=c
67009 ac_cpp='$CPP $CPPFLAGS'
67010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67013
67014
67015 fi
67016
67017 fi
67018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
67019 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
67020
67021 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
67022 for ac_func in _sincosf
67023 do :
67024 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
67025 if test "x$ac_cv_func__sincosf" = x""yes; then :
67026 cat >>confdefs.h <<_ACEOF
67027 #define HAVE__SINCOSF 1
67028 _ACEOF
67029
67030 fi
67031 done
67032
67033 fi
67034 fi
67035
67036
67037
67038
67039
67040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
67041 $as_echo_n "checking for finitef declaration... " >&6; }
67042 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
67043 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
67044 $as_echo_n "(cached) " >&6
67045 else
67046
67047
67048 ac_ext=cpp
67049 ac_cpp='$CXXCPP $CPPFLAGS'
67050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67053
67054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67055 /* end confdefs.h. */
67056 #include <math.h>
67057 #ifdef HAVE_IEEEFP_H
67058 #include <ieeefp.h>
67059 #endif
67060
67061 int
67062 main ()
67063 {
67064 finitef(0);
67065 ;
67066 return 0;
67067 }
67068 _ACEOF
67069 if ac_fn_cxx_try_compile "$LINENO"; then :
67070 glibcxx_cv_func_finitef_use=yes
67071 else
67072 glibcxx_cv_func_finitef_use=no
67073 fi
67074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67075 ac_ext=c
67076 ac_cpp='$CPP $CPPFLAGS'
67077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67080
67081
67082 fi
67083
67084 fi
67085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
67086 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
67087
67088 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
67089 for ac_func in finitef
67090 do :
67091 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
67092 if test "x$ac_cv_func_finitef" = x""yes; then :
67093 cat >>confdefs.h <<_ACEOF
67094 #define HAVE_FINITEF 1
67095 _ACEOF
67096
67097 fi
67098 done
67099
67100 else
67101
67102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
67103 $as_echo_n "checking for _finitef declaration... " >&6; }
67104 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
67105 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
67106 $as_echo_n "(cached) " >&6
67107 else
67108
67109
67110 ac_ext=cpp
67111 ac_cpp='$CXXCPP $CPPFLAGS'
67112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67115
67116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67117 /* end confdefs.h. */
67118 #include <math.h>
67119 #ifdef HAVE_IEEEFP_H
67120 #include <ieeefp.h>
67121 #endif
67122
67123 int
67124 main ()
67125 {
67126 _finitef(0);
67127 ;
67128 return 0;
67129 }
67130 _ACEOF
67131 if ac_fn_cxx_try_compile "$LINENO"; then :
67132 glibcxx_cv_func__finitef_use=yes
67133 else
67134 glibcxx_cv_func__finitef_use=no
67135 fi
67136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67137 ac_ext=c
67138 ac_cpp='$CPP $CPPFLAGS'
67139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67142
67143
67144 fi
67145
67146 fi
67147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
67148 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
67149
67150 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
67151 for ac_func in _finitef
67152 do :
67153 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
67154 if test "x$ac_cv_func__finitef" = x""yes; then :
67155 cat >>confdefs.h <<_ACEOF
67156 #define HAVE__FINITEF 1
67157 _ACEOF
67158
67159 fi
67160 done
67161
67162 fi
67163 fi
67164
67165
67166
67167
67168
67169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
67170 $as_echo_n "checking for long double trig functions... " >&6; }
67171 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
67172 $as_echo_n "(cached) " >&6
67173 else
67174
67175
67176 ac_ext=cpp
67177 ac_cpp='$CXXCPP $CPPFLAGS'
67178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67181
67182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67183 /* end confdefs.h. */
67184 #include <math.h>
67185 int
67186 main ()
67187 {
67188 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
67189 ;
67190 return 0;
67191 }
67192 _ACEOF
67193 if ac_fn_cxx_try_compile "$LINENO"; then :
67194 glibcxx_cv_func_long_double_trig_use=yes
67195 else
67196 glibcxx_cv_func_long_double_trig_use=no
67197 fi
67198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67199 ac_ext=c
67200 ac_cpp='$CPP $CPPFLAGS'
67201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67204
67205 fi
67206
67207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
67208 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
67209 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
67210 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
67211 do :
67212 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67213 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67214 eval as_val=\$$as_ac_var
67215 if test "x$as_val" = x""yes; then :
67216 cat >>confdefs.h <<_ACEOF
67217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67218 _ACEOF
67219
67220 fi
67221 done
67222
67223 else
67224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
67225 $as_echo_n "checking for _long double trig functions... " >&6; }
67226 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
67227 $as_echo_n "(cached) " >&6
67228 else
67229
67230
67231 ac_ext=cpp
67232 ac_cpp='$CXXCPP $CPPFLAGS'
67233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67236
67237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67238 /* end confdefs.h. */
67239 #include <math.h>
67240 int
67241 main ()
67242 {
67243 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
67244 ;
67245 return 0;
67246 }
67247 _ACEOF
67248 if ac_fn_cxx_try_compile "$LINENO"; then :
67249 glibcxx_cv_func__long_double_trig_use=yes
67250 else
67251 glibcxx_cv_func__long_double_trig_use=no
67252 fi
67253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67254 ac_ext=c
67255 ac_cpp='$CPP $CPPFLAGS'
67256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67259
67260 fi
67261
67262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
67263 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
67264 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
67265 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
67266 do :
67267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67269 eval as_val=\$$as_ac_var
67270 if test "x$as_val" = x""yes; then :
67271 cat >>confdefs.h <<_ACEOF
67272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67273 _ACEOF
67274
67275 fi
67276 done
67277
67278 fi
67279 fi
67280
67281
67282
67283
67284
67285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
67286 $as_echo_n "checking for long double round functions... " >&6; }
67287 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
67288 $as_echo_n "(cached) " >&6
67289 else
67290
67291
67292 ac_ext=cpp
67293 ac_cpp='$CXXCPP $CPPFLAGS'
67294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67297
67298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67299 /* end confdefs.h. */
67300 #include <math.h>
67301 int
67302 main ()
67303 {
67304 ceill (0); floorl (0);
67305 ;
67306 return 0;
67307 }
67308 _ACEOF
67309 if ac_fn_cxx_try_compile "$LINENO"; then :
67310 glibcxx_cv_func_long_double_round_use=yes
67311 else
67312 glibcxx_cv_func_long_double_round_use=no
67313 fi
67314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67315 ac_ext=c
67316 ac_cpp='$CPP $CPPFLAGS'
67317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67320
67321 fi
67322
67323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
67324 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
67325 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
67326 for ac_func in ceill floorl
67327 do :
67328 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67329 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67330 eval as_val=\$$as_ac_var
67331 if test "x$as_val" = x""yes; then :
67332 cat >>confdefs.h <<_ACEOF
67333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67334 _ACEOF
67335
67336 fi
67337 done
67338
67339 else
67340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
67341 $as_echo_n "checking for _long double round functions... " >&6; }
67342 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
67343 $as_echo_n "(cached) " >&6
67344 else
67345
67346
67347 ac_ext=cpp
67348 ac_cpp='$CXXCPP $CPPFLAGS'
67349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67352
67353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67354 /* end confdefs.h. */
67355 #include <math.h>
67356 int
67357 main ()
67358 {
67359 _ceill (0); _floorl (0);
67360 ;
67361 return 0;
67362 }
67363 _ACEOF
67364 if ac_fn_cxx_try_compile "$LINENO"; then :
67365 glibcxx_cv_func__long_double_round_use=yes
67366 else
67367 glibcxx_cv_func__long_double_round_use=no
67368 fi
67369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67370 ac_ext=c
67371 ac_cpp='$CPP $CPPFLAGS'
67372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67375
67376 fi
67377
67378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
67379 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
67380 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
67381 for ac_func in _ceill _floorl
67382 do :
67383 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67384 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67385 eval as_val=\$$as_ac_var
67386 if test "x$as_val" = x""yes; then :
67387 cat >>confdefs.h <<_ACEOF
67388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67389 _ACEOF
67390
67391 fi
67392 done
67393
67394 fi
67395 fi
67396
67397
67398
67399
67400
67401
67402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
67403 $as_echo_n "checking for isnanl declaration... " >&6; }
67404 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
67405 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
67406 $as_echo_n "(cached) " >&6
67407 else
67408
67409
67410 ac_ext=cpp
67411 ac_cpp='$CXXCPP $CPPFLAGS'
67412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67415
67416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67417 /* end confdefs.h. */
67418 #include <math.h>
67419 #ifdef HAVE_IEEEFP_H
67420 #include <ieeefp.h>
67421 #endif
67422
67423 int
67424 main ()
67425 {
67426 isnanl(0);
67427 ;
67428 return 0;
67429 }
67430 _ACEOF
67431 if ac_fn_cxx_try_compile "$LINENO"; then :
67432 glibcxx_cv_func_isnanl_use=yes
67433 else
67434 glibcxx_cv_func_isnanl_use=no
67435 fi
67436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67437 ac_ext=c
67438 ac_cpp='$CPP $CPPFLAGS'
67439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67442
67443
67444 fi
67445
67446 fi
67447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
67448 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
67449
67450 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
67451 for ac_func in isnanl
67452 do :
67453 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
67454 if test "x$ac_cv_func_isnanl" = x""yes; then :
67455 cat >>confdefs.h <<_ACEOF
67456 #define HAVE_ISNANL 1
67457 _ACEOF
67458
67459 fi
67460 done
67461
67462 else
67463
67464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
67465 $as_echo_n "checking for _isnanl declaration... " >&6; }
67466 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
67467 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
67468 $as_echo_n "(cached) " >&6
67469 else
67470
67471
67472 ac_ext=cpp
67473 ac_cpp='$CXXCPP $CPPFLAGS'
67474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67477
67478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67479 /* end confdefs.h. */
67480 #include <math.h>
67481 #ifdef HAVE_IEEEFP_H
67482 #include <ieeefp.h>
67483 #endif
67484
67485 int
67486 main ()
67487 {
67488 _isnanl(0);
67489 ;
67490 return 0;
67491 }
67492 _ACEOF
67493 if ac_fn_cxx_try_compile "$LINENO"; then :
67494 glibcxx_cv_func__isnanl_use=yes
67495 else
67496 glibcxx_cv_func__isnanl_use=no
67497 fi
67498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67499 ac_ext=c
67500 ac_cpp='$CPP $CPPFLAGS'
67501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67504
67505
67506 fi
67507
67508 fi
67509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
67510 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
67511
67512 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
67513 for ac_func in _isnanl
67514 do :
67515 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
67516 if test "x$ac_cv_func__isnanl" = x""yes; then :
67517 cat >>confdefs.h <<_ACEOF
67518 #define HAVE__ISNANL 1
67519 _ACEOF
67520
67521 fi
67522 done
67523
67524 fi
67525 fi
67526
67527
67528
67529
67530
67531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
67532 $as_echo_n "checking for isinfl declaration... " >&6; }
67533 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
67534 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
67535 $as_echo_n "(cached) " >&6
67536 else
67537
67538
67539 ac_ext=cpp
67540 ac_cpp='$CXXCPP $CPPFLAGS'
67541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67544
67545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67546 /* end confdefs.h. */
67547 #include <math.h>
67548 #ifdef HAVE_IEEEFP_H
67549 #include <ieeefp.h>
67550 #endif
67551
67552 int
67553 main ()
67554 {
67555 isinfl(0);
67556 ;
67557 return 0;
67558 }
67559 _ACEOF
67560 if ac_fn_cxx_try_compile "$LINENO"; then :
67561 glibcxx_cv_func_isinfl_use=yes
67562 else
67563 glibcxx_cv_func_isinfl_use=no
67564 fi
67565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67566 ac_ext=c
67567 ac_cpp='$CPP $CPPFLAGS'
67568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67571
67572
67573 fi
67574
67575 fi
67576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
67577 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
67578
67579 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
67580 for ac_func in isinfl
67581 do :
67582 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
67583 if test "x$ac_cv_func_isinfl" = x""yes; then :
67584 cat >>confdefs.h <<_ACEOF
67585 #define HAVE_ISINFL 1
67586 _ACEOF
67587
67588 fi
67589 done
67590
67591 else
67592
67593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
67594 $as_echo_n "checking for _isinfl declaration... " >&6; }
67595 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
67596 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
67597 $as_echo_n "(cached) " >&6
67598 else
67599
67600
67601 ac_ext=cpp
67602 ac_cpp='$CXXCPP $CPPFLAGS'
67603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67606
67607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67608 /* end confdefs.h. */
67609 #include <math.h>
67610 #ifdef HAVE_IEEEFP_H
67611 #include <ieeefp.h>
67612 #endif
67613
67614 int
67615 main ()
67616 {
67617 _isinfl(0);
67618 ;
67619 return 0;
67620 }
67621 _ACEOF
67622 if ac_fn_cxx_try_compile "$LINENO"; then :
67623 glibcxx_cv_func__isinfl_use=yes
67624 else
67625 glibcxx_cv_func__isinfl_use=no
67626 fi
67627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67628 ac_ext=c
67629 ac_cpp='$CPP $CPPFLAGS'
67630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67633
67634
67635 fi
67636
67637 fi
67638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
67639 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
67640
67641 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
67642 for ac_func in _isinfl
67643 do :
67644 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
67645 if test "x$ac_cv_func__isinfl" = x""yes; then :
67646 cat >>confdefs.h <<_ACEOF
67647 #define HAVE__ISINFL 1
67648 _ACEOF
67649
67650 fi
67651 done
67652
67653 fi
67654 fi
67655
67656
67657
67658
67659
67660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
67661 $as_echo_n "checking for atan2l declaration... " >&6; }
67662 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
67663 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
67664 $as_echo_n "(cached) " >&6
67665 else
67666
67667
67668 ac_ext=cpp
67669 ac_cpp='$CXXCPP $CPPFLAGS'
67670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67673
67674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67675 /* end confdefs.h. */
67676 #include <math.h>
67677 int
67678 main ()
67679 {
67680 atan2l(0, 0);
67681 ;
67682 return 0;
67683 }
67684 _ACEOF
67685 if ac_fn_cxx_try_compile "$LINENO"; then :
67686 glibcxx_cv_func_atan2l_use=yes
67687 else
67688 glibcxx_cv_func_atan2l_use=no
67689 fi
67690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67691 ac_ext=c
67692 ac_cpp='$CPP $CPPFLAGS'
67693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67696
67697
67698 fi
67699
67700 fi
67701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
67702 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
67703
67704 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
67705 for ac_func in atan2l
67706 do :
67707 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
67708 if test "x$ac_cv_func_atan2l" = x""yes; then :
67709 cat >>confdefs.h <<_ACEOF
67710 #define HAVE_ATAN2L 1
67711 _ACEOF
67712
67713 fi
67714 done
67715
67716 else
67717
67718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
67719 $as_echo_n "checking for _atan2l declaration... " >&6; }
67720 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
67721 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
67722 $as_echo_n "(cached) " >&6
67723 else
67724
67725
67726 ac_ext=cpp
67727 ac_cpp='$CXXCPP $CPPFLAGS'
67728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67731
67732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67733 /* end confdefs.h. */
67734 #include <math.h>
67735 int
67736 main ()
67737 {
67738 _atan2l(0, 0);
67739 ;
67740 return 0;
67741 }
67742 _ACEOF
67743 if ac_fn_cxx_try_compile "$LINENO"; then :
67744 glibcxx_cv_func__atan2l_use=yes
67745 else
67746 glibcxx_cv_func__atan2l_use=no
67747 fi
67748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67749 ac_ext=c
67750 ac_cpp='$CPP $CPPFLAGS'
67751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67754
67755
67756 fi
67757
67758 fi
67759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
67760 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
67761
67762 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
67763 for ac_func in _atan2l
67764 do :
67765 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
67766 if test "x$ac_cv_func__atan2l" = x""yes; then :
67767 cat >>confdefs.h <<_ACEOF
67768 #define HAVE__ATAN2L 1
67769 _ACEOF
67770
67771 fi
67772 done
67773
67774 fi
67775 fi
67776
67777
67778
67779
67780
67781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
67782 $as_echo_n "checking for expl declaration... " >&6; }
67783 if test x${glibcxx_cv_func_expl_use+set} != xset; then
67784 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
67785 $as_echo_n "(cached) " >&6
67786 else
67787
67788
67789 ac_ext=cpp
67790 ac_cpp='$CXXCPP $CPPFLAGS'
67791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67794
67795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67796 /* end confdefs.h. */
67797 #include <math.h>
67798 #ifdef HAVE_IEEEFP_H
67799 #include <ieeefp.h>
67800 #endif
67801
67802 int
67803 main ()
67804 {
67805 expl(0);
67806 ;
67807 return 0;
67808 }
67809 _ACEOF
67810 if ac_fn_cxx_try_compile "$LINENO"; then :
67811 glibcxx_cv_func_expl_use=yes
67812 else
67813 glibcxx_cv_func_expl_use=no
67814 fi
67815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67816 ac_ext=c
67817 ac_cpp='$CPP $CPPFLAGS'
67818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67821
67822
67823 fi
67824
67825 fi
67826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
67827 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
67828
67829 if test x$glibcxx_cv_func_expl_use = x"yes"; then
67830 for ac_func in expl
67831 do :
67832 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
67833 if test "x$ac_cv_func_expl" = x""yes; then :
67834 cat >>confdefs.h <<_ACEOF
67835 #define HAVE_EXPL 1
67836 _ACEOF
67837
67838 fi
67839 done
67840
67841 else
67842
67843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
67844 $as_echo_n "checking for _expl declaration... " >&6; }
67845 if test x${glibcxx_cv_func__expl_use+set} != xset; then
67846 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
67847 $as_echo_n "(cached) " >&6
67848 else
67849
67850
67851 ac_ext=cpp
67852 ac_cpp='$CXXCPP $CPPFLAGS'
67853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67856
67857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67858 /* end confdefs.h. */
67859 #include <math.h>
67860 #ifdef HAVE_IEEEFP_H
67861 #include <ieeefp.h>
67862 #endif
67863
67864 int
67865 main ()
67866 {
67867 _expl(0);
67868 ;
67869 return 0;
67870 }
67871 _ACEOF
67872 if ac_fn_cxx_try_compile "$LINENO"; then :
67873 glibcxx_cv_func__expl_use=yes
67874 else
67875 glibcxx_cv_func__expl_use=no
67876 fi
67877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67878 ac_ext=c
67879 ac_cpp='$CPP $CPPFLAGS'
67880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67883
67884
67885 fi
67886
67887 fi
67888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
67889 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
67890
67891 if test x$glibcxx_cv_func__expl_use = x"yes"; then
67892 for ac_func in _expl
67893 do :
67894 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
67895 if test "x$ac_cv_func__expl" = x""yes; then :
67896 cat >>confdefs.h <<_ACEOF
67897 #define HAVE__EXPL 1
67898 _ACEOF
67899
67900 fi
67901 done
67902
67903 fi
67904 fi
67905
67906
67907
67908
67909
67910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
67911 $as_echo_n "checking for fabsl declaration... " >&6; }
67912 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
67913 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
67914 $as_echo_n "(cached) " >&6
67915 else
67916
67917
67918 ac_ext=cpp
67919 ac_cpp='$CXXCPP $CPPFLAGS'
67920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67923
67924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67925 /* end confdefs.h. */
67926 #include <math.h>
67927 #ifdef HAVE_IEEEFP_H
67928 #include <ieeefp.h>
67929 #endif
67930
67931 int
67932 main ()
67933 {
67934 fabsl(0);
67935 ;
67936 return 0;
67937 }
67938 _ACEOF
67939 if ac_fn_cxx_try_compile "$LINENO"; then :
67940 glibcxx_cv_func_fabsl_use=yes
67941 else
67942 glibcxx_cv_func_fabsl_use=no
67943 fi
67944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67945 ac_ext=c
67946 ac_cpp='$CPP $CPPFLAGS'
67947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67950
67951
67952 fi
67953
67954 fi
67955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
67956 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
67957
67958 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
67959 for ac_func in fabsl
67960 do :
67961 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
67962 if test "x$ac_cv_func_fabsl" = x""yes; then :
67963 cat >>confdefs.h <<_ACEOF
67964 #define HAVE_FABSL 1
67965 _ACEOF
67966
67967 fi
67968 done
67969
67970 else
67971
67972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
67973 $as_echo_n "checking for _fabsl declaration... " >&6; }
67974 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
67975 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
67976 $as_echo_n "(cached) " >&6
67977 else
67978
67979
67980 ac_ext=cpp
67981 ac_cpp='$CXXCPP $CPPFLAGS'
67982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67985
67986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67987 /* end confdefs.h. */
67988 #include <math.h>
67989 #ifdef HAVE_IEEEFP_H
67990 #include <ieeefp.h>
67991 #endif
67992
67993 int
67994 main ()
67995 {
67996 _fabsl(0);
67997 ;
67998 return 0;
67999 }
68000 _ACEOF
68001 if ac_fn_cxx_try_compile "$LINENO"; then :
68002 glibcxx_cv_func__fabsl_use=yes
68003 else
68004 glibcxx_cv_func__fabsl_use=no
68005 fi
68006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68007 ac_ext=c
68008 ac_cpp='$CPP $CPPFLAGS'
68009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68012
68013
68014 fi
68015
68016 fi
68017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
68018 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
68019
68020 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
68021 for ac_func in _fabsl
68022 do :
68023 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
68024 if test "x$ac_cv_func__fabsl" = x""yes; then :
68025 cat >>confdefs.h <<_ACEOF
68026 #define HAVE__FABSL 1
68027 _ACEOF
68028
68029 fi
68030 done
68031
68032 fi
68033 fi
68034
68035
68036
68037
68038
68039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
68040 $as_echo_n "checking for fmodl declaration... " >&6; }
68041 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
68042 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
68043 $as_echo_n "(cached) " >&6
68044 else
68045
68046
68047 ac_ext=cpp
68048 ac_cpp='$CXXCPP $CPPFLAGS'
68049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68052
68053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68054 /* end confdefs.h. */
68055 #include <math.h>
68056 int
68057 main ()
68058 {
68059 fmodl(0, 0);
68060 ;
68061 return 0;
68062 }
68063 _ACEOF
68064 if ac_fn_cxx_try_compile "$LINENO"; then :
68065 glibcxx_cv_func_fmodl_use=yes
68066 else
68067 glibcxx_cv_func_fmodl_use=no
68068 fi
68069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68070 ac_ext=c
68071 ac_cpp='$CPP $CPPFLAGS'
68072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68075
68076
68077 fi
68078
68079 fi
68080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
68081 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
68082
68083 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
68084 for ac_func in fmodl
68085 do :
68086 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
68087 if test "x$ac_cv_func_fmodl" = x""yes; then :
68088 cat >>confdefs.h <<_ACEOF
68089 #define HAVE_FMODL 1
68090 _ACEOF
68091
68092 fi
68093 done
68094
68095 else
68096
68097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
68098 $as_echo_n "checking for _fmodl declaration... " >&6; }
68099 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
68100 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
68101 $as_echo_n "(cached) " >&6
68102 else
68103
68104
68105 ac_ext=cpp
68106 ac_cpp='$CXXCPP $CPPFLAGS'
68107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68110
68111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68112 /* end confdefs.h. */
68113 #include <math.h>
68114 int
68115 main ()
68116 {
68117 _fmodl(0, 0);
68118 ;
68119 return 0;
68120 }
68121 _ACEOF
68122 if ac_fn_cxx_try_compile "$LINENO"; then :
68123 glibcxx_cv_func__fmodl_use=yes
68124 else
68125 glibcxx_cv_func__fmodl_use=no
68126 fi
68127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68128 ac_ext=c
68129 ac_cpp='$CPP $CPPFLAGS'
68130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68133
68134
68135 fi
68136
68137 fi
68138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
68139 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
68140
68141 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
68142 for ac_func in _fmodl
68143 do :
68144 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
68145 if test "x$ac_cv_func__fmodl" = x""yes; then :
68146 cat >>confdefs.h <<_ACEOF
68147 #define HAVE__FMODL 1
68148 _ACEOF
68149
68150 fi
68151 done
68152
68153 fi
68154 fi
68155
68156
68157
68158
68159
68160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
68161 $as_echo_n "checking for frexpl declaration... " >&6; }
68162 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
68163 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
68164 $as_echo_n "(cached) " >&6
68165 else
68166
68167
68168 ac_ext=cpp
68169 ac_cpp='$CXXCPP $CPPFLAGS'
68170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68173
68174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68175 /* end confdefs.h. */
68176 #include <math.h>
68177 int
68178 main ()
68179 {
68180 frexpl(0, 0);
68181 ;
68182 return 0;
68183 }
68184 _ACEOF
68185 if ac_fn_cxx_try_compile "$LINENO"; then :
68186 glibcxx_cv_func_frexpl_use=yes
68187 else
68188 glibcxx_cv_func_frexpl_use=no
68189 fi
68190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68191 ac_ext=c
68192 ac_cpp='$CPP $CPPFLAGS'
68193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68196
68197
68198 fi
68199
68200 fi
68201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
68202 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
68203
68204 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
68205 for ac_func in frexpl
68206 do :
68207 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
68208 if test "x$ac_cv_func_frexpl" = x""yes; then :
68209 cat >>confdefs.h <<_ACEOF
68210 #define HAVE_FREXPL 1
68211 _ACEOF
68212
68213 fi
68214 done
68215
68216 else
68217
68218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
68219 $as_echo_n "checking for _frexpl declaration... " >&6; }
68220 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
68221 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
68222 $as_echo_n "(cached) " >&6
68223 else
68224
68225
68226 ac_ext=cpp
68227 ac_cpp='$CXXCPP $CPPFLAGS'
68228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68231
68232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68233 /* end confdefs.h. */
68234 #include <math.h>
68235 int
68236 main ()
68237 {
68238 _frexpl(0, 0);
68239 ;
68240 return 0;
68241 }
68242 _ACEOF
68243 if ac_fn_cxx_try_compile "$LINENO"; then :
68244 glibcxx_cv_func__frexpl_use=yes
68245 else
68246 glibcxx_cv_func__frexpl_use=no
68247 fi
68248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68249 ac_ext=c
68250 ac_cpp='$CPP $CPPFLAGS'
68251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68254
68255
68256 fi
68257
68258 fi
68259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
68260 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
68261
68262 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
68263 for ac_func in _frexpl
68264 do :
68265 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
68266 if test "x$ac_cv_func__frexpl" = x""yes; then :
68267 cat >>confdefs.h <<_ACEOF
68268 #define HAVE__FREXPL 1
68269 _ACEOF
68270
68271 fi
68272 done
68273
68274 fi
68275 fi
68276
68277
68278
68279
68280
68281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
68282 $as_echo_n "checking for hypotl declaration... " >&6; }
68283 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
68284 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
68285 $as_echo_n "(cached) " >&6
68286 else
68287
68288
68289 ac_ext=cpp
68290 ac_cpp='$CXXCPP $CPPFLAGS'
68291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68294
68295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68296 /* end confdefs.h. */
68297 #include <math.h>
68298 int
68299 main ()
68300 {
68301 hypotl(0, 0);
68302 ;
68303 return 0;
68304 }
68305 _ACEOF
68306 if ac_fn_cxx_try_compile "$LINENO"; then :
68307 glibcxx_cv_func_hypotl_use=yes
68308 else
68309 glibcxx_cv_func_hypotl_use=no
68310 fi
68311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68312 ac_ext=c
68313 ac_cpp='$CPP $CPPFLAGS'
68314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68317
68318
68319 fi
68320
68321 fi
68322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
68323 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
68324
68325 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
68326 for ac_func in hypotl
68327 do :
68328 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
68329 if test "x$ac_cv_func_hypotl" = x""yes; then :
68330 cat >>confdefs.h <<_ACEOF
68331 #define HAVE_HYPOTL 1
68332 _ACEOF
68333
68334 fi
68335 done
68336
68337 else
68338
68339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
68340 $as_echo_n "checking for _hypotl declaration... " >&6; }
68341 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
68342 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
68343 $as_echo_n "(cached) " >&6
68344 else
68345
68346
68347 ac_ext=cpp
68348 ac_cpp='$CXXCPP $CPPFLAGS'
68349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68352
68353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68354 /* end confdefs.h. */
68355 #include <math.h>
68356 int
68357 main ()
68358 {
68359 _hypotl(0, 0);
68360 ;
68361 return 0;
68362 }
68363 _ACEOF
68364 if ac_fn_cxx_try_compile "$LINENO"; then :
68365 glibcxx_cv_func__hypotl_use=yes
68366 else
68367 glibcxx_cv_func__hypotl_use=no
68368 fi
68369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68370 ac_ext=c
68371 ac_cpp='$CPP $CPPFLAGS'
68372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68375
68376
68377 fi
68378
68379 fi
68380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
68381 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
68382
68383 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
68384 for ac_func in _hypotl
68385 do :
68386 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
68387 if test "x$ac_cv_func__hypotl" = x""yes; then :
68388 cat >>confdefs.h <<_ACEOF
68389 #define HAVE__HYPOTL 1
68390 _ACEOF
68391
68392 fi
68393 done
68394
68395 fi
68396 fi
68397
68398
68399
68400
68401
68402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
68403 $as_echo_n "checking for ldexpl declaration... " >&6; }
68404 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
68405 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
68406 $as_echo_n "(cached) " >&6
68407 else
68408
68409
68410 ac_ext=cpp
68411 ac_cpp='$CXXCPP $CPPFLAGS'
68412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68415
68416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68417 /* end confdefs.h. */
68418 #include <math.h>
68419 int
68420 main ()
68421 {
68422 ldexpl(0, 0);
68423 ;
68424 return 0;
68425 }
68426 _ACEOF
68427 if ac_fn_cxx_try_compile "$LINENO"; then :
68428 glibcxx_cv_func_ldexpl_use=yes
68429 else
68430 glibcxx_cv_func_ldexpl_use=no
68431 fi
68432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68433 ac_ext=c
68434 ac_cpp='$CPP $CPPFLAGS'
68435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68438
68439
68440 fi
68441
68442 fi
68443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
68444 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
68445
68446 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
68447 for ac_func in ldexpl
68448 do :
68449 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
68450 if test "x$ac_cv_func_ldexpl" = x""yes; then :
68451 cat >>confdefs.h <<_ACEOF
68452 #define HAVE_LDEXPL 1
68453 _ACEOF
68454
68455 fi
68456 done
68457
68458 else
68459
68460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
68461 $as_echo_n "checking for _ldexpl declaration... " >&6; }
68462 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
68463 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
68464 $as_echo_n "(cached) " >&6
68465 else
68466
68467
68468 ac_ext=cpp
68469 ac_cpp='$CXXCPP $CPPFLAGS'
68470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68473
68474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68475 /* end confdefs.h. */
68476 #include <math.h>
68477 int
68478 main ()
68479 {
68480 _ldexpl(0, 0);
68481 ;
68482 return 0;
68483 }
68484 _ACEOF
68485 if ac_fn_cxx_try_compile "$LINENO"; then :
68486 glibcxx_cv_func__ldexpl_use=yes
68487 else
68488 glibcxx_cv_func__ldexpl_use=no
68489 fi
68490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68491 ac_ext=c
68492 ac_cpp='$CPP $CPPFLAGS'
68493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68496
68497
68498 fi
68499
68500 fi
68501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
68502 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
68503
68504 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
68505 for ac_func in _ldexpl
68506 do :
68507 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
68508 if test "x$ac_cv_func__ldexpl" = x""yes; then :
68509 cat >>confdefs.h <<_ACEOF
68510 #define HAVE__LDEXPL 1
68511 _ACEOF
68512
68513 fi
68514 done
68515
68516 fi
68517 fi
68518
68519
68520
68521
68522
68523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
68524 $as_echo_n "checking for logl declaration... " >&6; }
68525 if test x${glibcxx_cv_func_logl_use+set} != xset; then
68526 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
68527 $as_echo_n "(cached) " >&6
68528 else
68529
68530
68531 ac_ext=cpp
68532 ac_cpp='$CXXCPP $CPPFLAGS'
68533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68536
68537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68538 /* end confdefs.h. */
68539 #include <math.h>
68540 #ifdef HAVE_IEEEFP_H
68541 #include <ieeefp.h>
68542 #endif
68543
68544 int
68545 main ()
68546 {
68547 logl(0);
68548 ;
68549 return 0;
68550 }
68551 _ACEOF
68552 if ac_fn_cxx_try_compile "$LINENO"; then :
68553 glibcxx_cv_func_logl_use=yes
68554 else
68555 glibcxx_cv_func_logl_use=no
68556 fi
68557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68558 ac_ext=c
68559 ac_cpp='$CPP $CPPFLAGS'
68560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68563
68564
68565 fi
68566
68567 fi
68568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
68569 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
68570
68571 if test x$glibcxx_cv_func_logl_use = x"yes"; then
68572 for ac_func in logl
68573 do :
68574 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
68575 if test "x$ac_cv_func_logl" = x""yes; then :
68576 cat >>confdefs.h <<_ACEOF
68577 #define HAVE_LOGL 1
68578 _ACEOF
68579
68580 fi
68581 done
68582
68583 else
68584
68585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
68586 $as_echo_n "checking for _logl declaration... " >&6; }
68587 if test x${glibcxx_cv_func__logl_use+set} != xset; then
68588 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
68589 $as_echo_n "(cached) " >&6
68590 else
68591
68592
68593 ac_ext=cpp
68594 ac_cpp='$CXXCPP $CPPFLAGS'
68595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68598
68599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68600 /* end confdefs.h. */
68601 #include <math.h>
68602 #ifdef HAVE_IEEEFP_H
68603 #include <ieeefp.h>
68604 #endif
68605
68606 int
68607 main ()
68608 {
68609 _logl(0);
68610 ;
68611 return 0;
68612 }
68613 _ACEOF
68614 if ac_fn_cxx_try_compile "$LINENO"; then :
68615 glibcxx_cv_func__logl_use=yes
68616 else
68617 glibcxx_cv_func__logl_use=no
68618 fi
68619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68620 ac_ext=c
68621 ac_cpp='$CPP $CPPFLAGS'
68622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68625
68626
68627 fi
68628
68629 fi
68630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
68631 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
68632
68633 if test x$glibcxx_cv_func__logl_use = x"yes"; then
68634 for ac_func in _logl
68635 do :
68636 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
68637 if test "x$ac_cv_func__logl" = x""yes; then :
68638 cat >>confdefs.h <<_ACEOF
68639 #define HAVE__LOGL 1
68640 _ACEOF
68641
68642 fi
68643 done
68644
68645 fi
68646 fi
68647
68648
68649
68650
68651
68652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
68653 $as_echo_n "checking for log10l declaration... " >&6; }
68654 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
68655 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
68656 $as_echo_n "(cached) " >&6
68657 else
68658
68659
68660 ac_ext=cpp
68661 ac_cpp='$CXXCPP $CPPFLAGS'
68662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68665
68666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68667 /* end confdefs.h. */
68668 #include <math.h>
68669 #ifdef HAVE_IEEEFP_H
68670 #include <ieeefp.h>
68671 #endif
68672
68673 int
68674 main ()
68675 {
68676 log10l(0);
68677 ;
68678 return 0;
68679 }
68680 _ACEOF
68681 if ac_fn_cxx_try_compile "$LINENO"; then :
68682 glibcxx_cv_func_log10l_use=yes
68683 else
68684 glibcxx_cv_func_log10l_use=no
68685 fi
68686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68687 ac_ext=c
68688 ac_cpp='$CPP $CPPFLAGS'
68689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68692
68693
68694 fi
68695
68696 fi
68697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
68698 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
68699
68700 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
68701 for ac_func in log10l
68702 do :
68703 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
68704 if test "x$ac_cv_func_log10l" = x""yes; then :
68705 cat >>confdefs.h <<_ACEOF
68706 #define HAVE_LOG10L 1
68707 _ACEOF
68708
68709 fi
68710 done
68711
68712 else
68713
68714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
68715 $as_echo_n "checking for _log10l declaration... " >&6; }
68716 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
68717 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
68718 $as_echo_n "(cached) " >&6
68719 else
68720
68721
68722 ac_ext=cpp
68723 ac_cpp='$CXXCPP $CPPFLAGS'
68724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68727
68728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68729 /* end confdefs.h. */
68730 #include <math.h>
68731 #ifdef HAVE_IEEEFP_H
68732 #include <ieeefp.h>
68733 #endif
68734
68735 int
68736 main ()
68737 {
68738 _log10l(0);
68739 ;
68740 return 0;
68741 }
68742 _ACEOF
68743 if ac_fn_cxx_try_compile "$LINENO"; then :
68744 glibcxx_cv_func__log10l_use=yes
68745 else
68746 glibcxx_cv_func__log10l_use=no
68747 fi
68748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68749 ac_ext=c
68750 ac_cpp='$CPP $CPPFLAGS'
68751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68754
68755
68756 fi
68757
68758 fi
68759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
68760 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
68761
68762 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
68763 for ac_func in _log10l
68764 do :
68765 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
68766 if test "x$ac_cv_func__log10l" = x""yes; then :
68767 cat >>confdefs.h <<_ACEOF
68768 #define HAVE__LOG10L 1
68769 _ACEOF
68770
68771 fi
68772 done
68773
68774 fi
68775 fi
68776
68777
68778
68779
68780
68781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
68782 $as_echo_n "checking for modfl declaration... " >&6; }
68783 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
68784 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
68785 $as_echo_n "(cached) " >&6
68786 else
68787
68788
68789 ac_ext=cpp
68790 ac_cpp='$CXXCPP $CPPFLAGS'
68791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68794
68795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68796 /* end confdefs.h. */
68797 #include <math.h>
68798 int
68799 main ()
68800 {
68801 modfl(0, 0);
68802 ;
68803 return 0;
68804 }
68805 _ACEOF
68806 if ac_fn_cxx_try_compile "$LINENO"; then :
68807 glibcxx_cv_func_modfl_use=yes
68808 else
68809 glibcxx_cv_func_modfl_use=no
68810 fi
68811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68812 ac_ext=c
68813 ac_cpp='$CPP $CPPFLAGS'
68814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68817
68818
68819 fi
68820
68821 fi
68822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
68823 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
68824
68825 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
68826 for ac_func in modfl
68827 do :
68828 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
68829 if test "x$ac_cv_func_modfl" = x""yes; then :
68830 cat >>confdefs.h <<_ACEOF
68831 #define HAVE_MODFL 1
68832 _ACEOF
68833
68834 fi
68835 done
68836
68837 else
68838
68839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
68840 $as_echo_n "checking for _modfl declaration... " >&6; }
68841 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
68842 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
68843 $as_echo_n "(cached) " >&6
68844 else
68845
68846
68847 ac_ext=cpp
68848 ac_cpp='$CXXCPP $CPPFLAGS'
68849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68852
68853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68854 /* end confdefs.h. */
68855 #include <math.h>
68856 int
68857 main ()
68858 {
68859 _modfl(0, 0);
68860 ;
68861 return 0;
68862 }
68863 _ACEOF
68864 if ac_fn_cxx_try_compile "$LINENO"; then :
68865 glibcxx_cv_func__modfl_use=yes
68866 else
68867 glibcxx_cv_func__modfl_use=no
68868 fi
68869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68870 ac_ext=c
68871 ac_cpp='$CPP $CPPFLAGS'
68872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68875
68876
68877 fi
68878
68879 fi
68880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
68881 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
68882
68883 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
68884 for ac_func in _modfl
68885 do :
68886 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
68887 if test "x$ac_cv_func__modfl" = x""yes; then :
68888 cat >>confdefs.h <<_ACEOF
68889 #define HAVE__MODFL 1
68890 _ACEOF
68891
68892 fi
68893 done
68894
68895 fi
68896 fi
68897
68898
68899
68900
68901
68902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
68903 $as_echo_n "checking for powl declaration... " >&6; }
68904 if test x${glibcxx_cv_func_powl_use+set} != xset; then
68905 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
68906 $as_echo_n "(cached) " >&6
68907 else
68908
68909
68910 ac_ext=cpp
68911 ac_cpp='$CXXCPP $CPPFLAGS'
68912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68915
68916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68917 /* end confdefs.h. */
68918 #include <math.h>
68919 int
68920 main ()
68921 {
68922 powl(0, 0);
68923 ;
68924 return 0;
68925 }
68926 _ACEOF
68927 if ac_fn_cxx_try_compile "$LINENO"; then :
68928 glibcxx_cv_func_powl_use=yes
68929 else
68930 glibcxx_cv_func_powl_use=no
68931 fi
68932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68933 ac_ext=c
68934 ac_cpp='$CPP $CPPFLAGS'
68935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68938
68939
68940 fi
68941
68942 fi
68943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
68944 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
68945
68946 if test x$glibcxx_cv_func_powl_use = x"yes"; then
68947 for ac_func in powl
68948 do :
68949 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
68950 if test "x$ac_cv_func_powl" = x""yes; then :
68951 cat >>confdefs.h <<_ACEOF
68952 #define HAVE_POWL 1
68953 _ACEOF
68954
68955 fi
68956 done
68957
68958 else
68959
68960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
68961 $as_echo_n "checking for _powl declaration... " >&6; }
68962 if test x${glibcxx_cv_func__powl_use+set} != xset; then
68963 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
68964 $as_echo_n "(cached) " >&6
68965 else
68966
68967
68968 ac_ext=cpp
68969 ac_cpp='$CXXCPP $CPPFLAGS'
68970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68973
68974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68975 /* end confdefs.h. */
68976 #include <math.h>
68977 int
68978 main ()
68979 {
68980 _powl(0, 0);
68981 ;
68982 return 0;
68983 }
68984 _ACEOF
68985 if ac_fn_cxx_try_compile "$LINENO"; then :
68986 glibcxx_cv_func__powl_use=yes
68987 else
68988 glibcxx_cv_func__powl_use=no
68989 fi
68990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68991 ac_ext=c
68992 ac_cpp='$CPP $CPPFLAGS'
68993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68996
68997
68998 fi
68999
69000 fi
69001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
69002 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
69003
69004 if test x$glibcxx_cv_func__powl_use = x"yes"; then
69005 for ac_func in _powl
69006 do :
69007 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
69008 if test "x$ac_cv_func__powl" = x""yes; then :
69009 cat >>confdefs.h <<_ACEOF
69010 #define HAVE__POWL 1
69011 _ACEOF
69012
69013 fi
69014 done
69015
69016 fi
69017 fi
69018
69019
69020
69021
69022
69023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
69024 $as_echo_n "checking for sqrtl declaration... " >&6; }
69025 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
69026 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
69027 $as_echo_n "(cached) " >&6
69028 else
69029
69030
69031 ac_ext=cpp
69032 ac_cpp='$CXXCPP $CPPFLAGS'
69033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69036
69037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69038 /* end confdefs.h. */
69039 #include <math.h>
69040 #ifdef HAVE_IEEEFP_H
69041 #include <ieeefp.h>
69042 #endif
69043
69044 int
69045 main ()
69046 {
69047 sqrtl(0);
69048 ;
69049 return 0;
69050 }
69051 _ACEOF
69052 if ac_fn_cxx_try_compile "$LINENO"; then :
69053 glibcxx_cv_func_sqrtl_use=yes
69054 else
69055 glibcxx_cv_func_sqrtl_use=no
69056 fi
69057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69058 ac_ext=c
69059 ac_cpp='$CPP $CPPFLAGS'
69060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69063
69064
69065 fi
69066
69067 fi
69068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
69069 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
69070
69071 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
69072 for ac_func in sqrtl
69073 do :
69074 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
69075 if test "x$ac_cv_func_sqrtl" = x""yes; then :
69076 cat >>confdefs.h <<_ACEOF
69077 #define HAVE_SQRTL 1
69078 _ACEOF
69079
69080 fi
69081 done
69082
69083 else
69084
69085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
69086 $as_echo_n "checking for _sqrtl declaration... " >&6; }
69087 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
69088 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
69089 $as_echo_n "(cached) " >&6
69090 else
69091
69092
69093 ac_ext=cpp
69094 ac_cpp='$CXXCPP $CPPFLAGS'
69095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69098
69099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69100 /* end confdefs.h. */
69101 #include <math.h>
69102 #ifdef HAVE_IEEEFP_H
69103 #include <ieeefp.h>
69104 #endif
69105
69106 int
69107 main ()
69108 {
69109 _sqrtl(0);
69110 ;
69111 return 0;
69112 }
69113 _ACEOF
69114 if ac_fn_cxx_try_compile "$LINENO"; then :
69115 glibcxx_cv_func__sqrtl_use=yes
69116 else
69117 glibcxx_cv_func__sqrtl_use=no
69118 fi
69119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69120 ac_ext=c
69121 ac_cpp='$CPP $CPPFLAGS'
69122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69125
69126
69127 fi
69128
69129 fi
69130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
69131 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
69132
69133 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
69134 for ac_func in _sqrtl
69135 do :
69136 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
69137 if test "x$ac_cv_func__sqrtl" = x""yes; then :
69138 cat >>confdefs.h <<_ACEOF
69139 #define HAVE__SQRTL 1
69140 _ACEOF
69141
69142 fi
69143 done
69144
69145 fi
69146 fi
69147
69148
69149
69150
69151
69152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
69153 $as_echo_n "checking for sincosl declaration... " >&6; }
69154 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
69155 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
69156 $as_echo_n "(cached) " >&6
69157 else
69158
69159
69160 ac_ext=cpp
69161 ac_cpp='$CXXCPP $CPPFLAGS'
69162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69165
69166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69167 /* end confdefs.h. */
69168 #include <math.h>
69169 int
69170 main ()
69171 {
69172 sincosl(0, 0, 0);
69173 ;
69174 return 0;
69175 }
69176 _ACEOF
69177 if ac_fn_cxx_try_compile "$LINENO"; then :
69178 glibcxx_cv_func_sincosl_use=yes
69179 else
69180 glibcxx_cv_func_sincosl_use=no
69181 fi
69182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69183 ac_ext=c
69184 ac_cpp='$CPP $CPPFLAGS'
69185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69188
69189
69190 fi
69191
69192 fi
69193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
69194 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
69195
69196 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
69197 for ac_func in sincosl
69198 do :
69199 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
69200 if test "x$ac_cv_func_sincosl" = x""yes; then :
69201 cat >>confdefs.h <<_ACEOF
69202 #define HAVE_SINCOSL 1
69203 _ACEOF
69204
69205 fi
69206 done
69207
69208 else
69209
69210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
69211 $as_echo_n "checking for _sincosl declaration... " >&6; }
69212 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
69213 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
69214 $as_echo_n "(cached) " >&6
69215 else
69216
69217
69218 ac_ext=cpp
69219 ac_cpp='$CXXCPP $CPPFLAGS'
69220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69223
69224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69225 /* end confdefs.h. */
69226 #include <math.h>
69227 int
69228 main ()
69229 {
69230 _sincosl(0, 0, 0);
69231 ;
69232 return 0;
69233 }
69234 _ACEOF
69235 if ac_fn_cxx_try_compile "$LINENO"; then :
69236 glibcxx_cv_func__sincosl_use=yes
69237 else
69238 glibcxx_cv_func__sincosl_use=no
69239 fi
69240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69241 ac_ext=c
69242 ac_cpp='$CPP $CPPFLAGS'
69243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69246
69247
69248 fi
69249
69250 fi
69251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
69252 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
69253
69254 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
69255 for ac_func in _sincosl
69256 do :
69257 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
69258 if test "x$ac_cv_func__sincosl" = x""yes; then :
69259 cat >>confdefs.h <<_ACEOF
69260 #define HAVE__SINCOSL 1
69261 _ACEOF
69262
69263 fi
69264 done
69265
69266 fi
69267 fi
69268
69269
69270
69271
69272
69273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
69274 $as_echo_n "checking for finitel declaration... " >&6; }
69275 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
69276 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
69277 $as_echo_n "(cached) " >&6
69278 else
69279
69280
69281 ac_ext=cpp
69282 ac_cpp='$CXXCPP $CPPFLAGS'
69283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69286
69287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69288 /* end confdefs.h. */
69289 #include <math.h>
69290 #ifdef HAVE_IEEEFP_H
69291 #include <ieeefp.h>
69292 #endif
69293
69294 int
69295 main ()
69296 {
69297 finitel(0);
69298 ;
69299 return 0;
69300 }
69301 _ACEOF
69302 if ac_fn_cxx_try_compile "$LINENO"; then :
69303 glibcxx_cv_func_finitel_use=yes
69304 else
69305 glibcxx_cv_func_finitel_use=no
69306 fi
69307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69308 ac_ext=c
69309 ac_cpp='$CPP $CPPFLAGS'
69310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69313
69314
69315 fi
69316
69317 fi
69318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
69319 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
69320
69321 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
69322 for ac_func in finitel
69323 do :
69324 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
69325 if test "x$ac_cv_func_finitel" = x""yes; then :
69326 cat >>confdefs.h <<_ACEOF
69327 #define HAVE_FINITEL 1
69328 _ACEOF
69329
69330 fi
69331 done
69332
69333 else
69334
69335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
69336 $as_echo_n "checking for _finitel declaration... " >&6; }
69337 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
69338 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
69339 $as_echo_n "(cached) " >&6
69340 else
69341
69342
69343 ac_ext=cpp
69344 ac_cpp='$CXXCPP $CPPFLAGS'
69345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69348
69349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69350 /* end confdefs.h. */
69351 #include <math.h>
69352 #ifdef HAVE_IEEEFP_H
69353 #include <ieeefp.h>
69354 #endif
69355
69356 int
69357 main ()
69358 {
69359 _finitel(0);
69360 ;
69361 return 0;
69362 }
69363 _ACEOF
69364 if ac_fn_cxx_try_compile "$LINENO"; then :
69365 glibcxx_cv_func__finitel_use=yes
69366 else
69367 glibcxx_cv_func__finitel_use=no
69368 fi
69369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69370 ac_ext=c
69371 ac_cpp='$CPP $CPPFLAGS'
69372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69375
69376
69377 fi
69378
69379 fi
69380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
69381 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
69382
69383 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
69384 for ac_func in _finitel
69385 do :
69386 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
69387 if test "x$ac_cv_func__finitel" = x""yes; then :
69388 cat >>confdefs.h <<_ACEOF
69389 #define HAVE__FINITEL 1
69390 _ACEOF
69391
69392 fi
69393 done
69394
69395 fi
69396 fi
69397
69398
69399
69400
69401 LIBS="$ac_save_LIBS"
69402 CXXFLAGS="$ac_save_CXXFLAGS"
69403
69404
69405 ac_test_CXXFLAGS="${CXXFLAGS+set}"
69406 ac_save_CXXFLAGS="$CXXFLAGS"
69407 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
69408
69409
69410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
69411 $as_echo_n "checking for strtold declaration... " >&6; }
69412 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
69413 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
69414 $as_echo_n "(cached) " >&6
69415 else
69416
69417
69418 ac_ext=cpp
69419 ac_cpp='$CXXCPP $CPPFLAGS'
69420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69423
69424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69425 /* end confdefs.h. */
69426 #include <stdlib.h>
69427 int
69428 main ()
69429 {
69430 strtold(0, 0);
69431 ;
69432 return 0;
69433 }
69434 _ACEOF
69435 if ac_fn_cxx_try_compile "$LINENO"; then :
69436 glibcxx_cv_func_strtold_use=yes
69437 else
69438 glibcxx_cv_func_strtold_use=no
69439 fi
69440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69441 ac_ext=c
69442 ac_cpp='$CPP $CPPFLAGS'
69443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69446
69447
69448 fi
69449
69450 fi
69451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
69452 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
69453 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
69454 for ac_func in strtold
69455 do :
69456 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
69457 if test "x$ac_cv_func_strtold" = x""yes; then :
69458 cat >>confdefs.h <<_ACEOF
69459 #define HAVE_STRTOLD 1
69460 _ACEOF
69461
69462 fi
69463 done
69464
69465 fi
69466
69467
69468
69469
69470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
69471 $as_echo_n "checking for strtof declaration... " >&6; }
69472 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
69473 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
69474 $as_echo_n "(cached) " >&6
69475 else
69476
69477
69478 ac_ext=cpp
69479 ac_cpp='$CXXCPP $CPPFLAGS'
69480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69483
69484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69485 /* end confdefs.h. */
69486 #include <stdlib.h>
69487 int
69488 main ()
69489 {
69490 strtof(0, 0);
69491 ;
69492 return 0;
69493 }
69494 _ACEOF
69495 if ac_fn_cxx_try_compile "$LINENO"; then :
69496 glibcxx_cv_func_strtof_use=yes
69497 else
69498 glibcxx_cv_func_strtof_use=no
69499 fi
69500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69501 ac_ext=c
69502 ac_cpp='$CPP $CPPFLAGS'
69503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69506
69507
69508 fi
69509
69510 fi
69511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
69512 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
69513 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
69514 for ac_func in strtof
69515 do :
69516 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
69517 if test "x$ac_cv_func_strtof" = x""yes; then :
69518 cat >>confdefs.h <<_ACEOF
69519 #define HAVE_STRTOF 1
69520 _ACEOF
69521
69522 fi
69523 done
69524
69525 fi
69526
69527
69528
69529
69530 CXXFLAGS="$ac_save_CXXFLAGS"
69531
69532 ;;
69533 *-vxworks)
69534 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
69535
69536 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
69537
69538 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
69539
69540 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
69541
69542 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
69543
69544 $as_echo "#define HAVE_COSF 1" >>confdefs.h
69545
69546 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
69547
69548 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
69549
69550 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
69551
69552 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
69553
69554 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
69555
69556 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
69557
69558 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
69559
69560 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
69561
69562 $as_echo "#define HAVE_POWF 1" >>confdefs.h
69563
69564 $as_echo "#define HAVE_SINF 1" >>confdefs.h
69565
69566 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
69567
69568 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
69569
69570 $as_echo "#define HAVE_TANF 1" >>confdefs.h
69571
69572 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
69573
69574 ;;
69575 *)
69576 as_fn_error "No support for this host/target combination." "$LINENO" 5
69577 ;;
69578 esac
69579
69580 fi
69581
69582 # At some point, we should differentiate between architectures
69583 # like x86, which have long double versions, and alpha/powerpc/etc.,
69584 # which don't. For the time being, punt.
69585 if test x"long_double_math_on_this_cpu" = x"yes"; then
69586 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
69587
69588 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
69589
69590 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
69591
69592 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
69593
69594 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
69595
69596 $as_echo "#define HAVE_COSL 1" >>confdefs.h
69597
69598 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
69599
69600 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
69601
69602 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
69603
69604 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
69605
69606 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
69607
69608 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
69609
69610 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
69611
69612 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
69613
69614 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
69615
69616 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
69617
69618 $as_echo "#define HAVE_POWL 1" >>confdefs.h
69619
69620 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
69621
69622 $as_echo "#define HAVE_SINL 1" >>confdefs.h
69623
69624 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
69625
69626 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
69627
69628 $as_echo "#define HAVE_TANL 1" >>confdefs.h
69629
69630 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
69631
69632 fi
69633 fi
69634
69635 # Check for _Unwind_GetIPInfo.
69636
69637
69638 # Check whether --with-system-libunwind was given.
69639 if test "${with_system_libunwind+set}" = set; then :
69640 withval=$with_system_libunwind;
69641 fi
69642
69643 # If system-libunwind was not specifically set, pick a default setting.
69644 if test x$with_system_libunwind = x; then
69645 case ${target} in
69646 ia64-*-hpux*) with_system_libunwind=yes ;;
69647 *) with_system_libunwind=no ;;
69648 esac
69649 fi
69650 # Based on system-libunwind and target, do we have ipinfo?
69651 if test x$with_system_libunwind = xyes; then
69652 case ${target} in
69653 ia64-*-*) have_unwind_getipinfo=no ;;
69654 *) have_unwind_getipinfo=yes ;;
69655 esac
69656 else
69657 # Darwin before version 9 does not have _Unwind_GetIPInfo.
69658
69659 case ${target} in
69660 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
69661 *) have_unwind_getipinfo=yes ;;
69662 esac
69663
69664 fi
69665
69666 if test x$have_unwind_getipinfo = xyes; then
69667
69668 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
69669
69670 fi
69671
69672
69673 # Check whether --enable-linux-futex was given.
69674 if test "${enable_linux_futex+set}" = set; then :
69675 enableval=$enable_linux_futex;
69676 case "$enableval" in
69677 yes|no|default) ;;
69678 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
69679 esac
69680
69681 else
69682 enable_linux_futex=default
69683 fi
69684
69685
69686 case "$target" in
69687 *-linux*)
69688 case "$enable_linux_futex" in
69689 default)
69690 # If headers don't have gettid/futex syscalls definition, then
69691 # default to no, otherwise there will be compile time failures.
69692 # Otherwise, default to yes. If we don't detect we are
69693 # compiled/linked against NPTL and not cross-compiling, check
69694 # if programs are run by default against NPTL and if not, issue
69695 # a warning.
69696 enable_linux_futex=no
69697 if test x$gcc_no_link = xyes; then
69698 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69699 fi
69700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69701 /* end confdefs.h. */
69702 #include <sys/syscall.h>
69703 int lk;
69704 int
69705 main ()
69706 {
69707 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69708 ;
69709 return 0;
69710 }
69711 _ACEOF
69712 if ac_fn_c_try_link "$LINENO"; then :
69713 save_LIBS="$LIBS"
69714 LIBS="-lpthread $LIBS"
69715 if test x$gcc_no_link = xyes; then
69716 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69717 fi
69718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69719 /* end confdefs.h. */
69720 #ifndef _GNU_SOURCE
69721 #define _GNU_SOURCE 1
69722 #endif
69723 #include <pthread.h>
69724 pthread_t th; void *status;
69725 int
69726 main ()
69727 {
69728 pthread_tryjoin_np (th, &status);
69729 ;
69730 return 0;
69731 }
69732 _ACEOF
69733 if ac_fn_c_try_link "$LINENO"; then :
69734 enable_linux_futex=yes
69735 else
69736 if test x$cross_compiling = xno; then
69737 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
69738 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
69739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
69740 If so, please configure with --disable-linux-futex" >&5
69741 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
69742 If so, please configure with --disable-linux-futex" >&2;}
69743 fi
69744 fi
69745 enable_linux_futex=yes
69746 fi
69747 rm -f core conftest.err conftest.$ac_objext \
69748 conftest$ac_exeext conftest.$ac_ext
69749 LIBS="$save_LIBS"
69750 fi
69751 rm -f core conftest.err conftest.$ac_objext \
69752 conftest$ac_exeext conftest.$ac_ext
69753 ;;
69754 yes)
69755 if test x$gcc_no_link = xyes; then
69756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
69757 fi
69758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69759 /* end confdefs.h. */
69760 #include <sys/syscall.h>
69761 int lk;
69762 int
69763 main ()
69764 {
69765 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
69766 ;
69767 return 0;
69768 }
69769 _ACEOF
69770 if ac_fn_c_try_link "$LINENO"; then :
69771
69772 else
69773 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
69774 fi
69775 rm -f core conftest.err conftest.$ac_objext \
69776 conftest$ac_exeext conftest.$ac_ext
69777 ;;
69778 esac
69779 ;;
69780 *)
69781 enable_linux_futex=no
69782 ;;
69783 esac
69784 if test x$enable_linux_futex = xyes; then
69785
69786 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
69787
69788 fi
69789
69790
69791
69792
69793 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
69794
69795 acx_cv_header_stdint=stddef.h
69796 acx_cv_header_stdint_kind="(already complete)"
69797 for i in stdint.h $inttype_headers; do
69798 unset ac_cv_type_uintptr_t
69799 unset ac_cv_type_uintmax_t
69800 unset ac_cv_type_int_least32_t
69801 unset ac_cv_type_int_fast32_t
69802 unset ac_cv_type_uint64_t
69803 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
69804 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
69805 #include <$i>
69806 "
69807 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
69808 acx_cv_header_stdint=$i
69809 else
69810 continue
69811 fi
69812
69813 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69814 #include <$i>
69815 "
69816 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69817
69818 else
69819 acx_cv_header_stdint_kind="(mostly complete)"
69820 fi
69821
69822 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
69823 #include <$i>
69824 "
69825 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
69826
69827 else
69828 acx_cv_header_stdint_kind="(mostly complete)"
69829 fi
69830
69831 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
69832 #include <$i>
69833 "
69834 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
69835
69836 else
69837 acx_cv_header_stdint_kind="(mostly complete)"
69838 fi
69839
69840 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69841 #include <$i>
69842 "
69843 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69844
69845 else
69846 acx_cv_header_stdint_kind="(lacks uint64_t)"
69847 fi
69848
69849 break
69850 done
69851 if test "$acx_cv_header_stdint" = stddef.h; then
69852 acx_cv_header_stdint_kind="(lacks uintmax_t)"
69853 for i in stdint.h $inttype_headers; do
69854 unset ac_cv_type_uintptr_t
69855 unset ac_cv_type_uint32_t
69856 unset ac_cv_type_uint64_t
69857 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
69858 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
69859 #include <$i>
69860 "
69861 if test "x$ac_cv_type_uint32_t" = x""yes; then :
69862 acx_cv_header_stdint=$i
69863 else
69864 continue
69865 fi
69866
69867 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
69868 #include <$i>
69869 "
69870 if test "x$ac_cv_type_uint64_t" = x""yes; then :
69871
69872 fi
69873
69874 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
69875 #include <$i>
69876 "
69877 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
69878
69879 fi
69880
69881 break
69882 done
69883 fi
69884 if test "$acx_cv_header_stdint" = stddef.h; then
69885 acx_cv_header_stdint_kind="(u_intXX_t style)"
69886 for i in sys/types.h $inttype_headers; do
69887 unset ac_cv_type_u_int32_t
69888 unset ac_cv_type_u_int64_t
69889 $as_echo_n "looking for u_intXX_t types in $i, " >&6
69890 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
69891 #include <$i>
69892 "
69893 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
69894 acx_cv_header_stdint=$i
69895 else
69896 continue
69897 fi
69898
69899 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
69900 #include <$i>
69901 "
69902 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
69903
69904 fi
69905
69906 break
69907 done
69908 fi
69909 if test "$acx_cv_header_stdint" = stddef.h; then
69910 acx_cv_header_stdint_kind="(using manual detection)"
69911 fi
69912
69913 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
69914 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
69915 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
69916 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
69917 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
69918
69919 # ----------------- Summarize what we found so far
69920
69921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
69922 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
69923
69924 case `$as_basename -- include/gstdint.h ||
69925 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
69926 Xinclude/gstdint.h : 'X\(//\)$' \| \
69927 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
69928 $as_echo X/include/gstdint.h |
69929 sed '/^.*\/\([^/][^/]*\)\/*$/{
69930 s//\1/
69931 q
69932 }
69933 /^X\/\(\/\/\)$/{
69934 s//\1/
69935 q
69936 }
69937 /^X\/\(\/\).*/{
69938 s//\1/
69939 q
69940 }
69941 s/.*/./; q'` in
69942 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69943 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69944 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
69945 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
69946 *) ;;
69947 esac
69948
69949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
69950 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
69951
69952 # ----------------- done included file, check C basic types --------
69953
69954 # Lacking an uintptr_t? Test size of void *
69955 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
69956 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
69957 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69958 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69959 # This bug is HP SR number 8606223364.
69960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
69961 $as_echo_n "checking size of void *... " >&6; }
69962 if test "${ac_cv_sizeof_void_p+set}" = set; then :
69963 $as_echo_n "(cached) " >&6
69964 else
69965 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
69966
69967 else
69968 if test "$ac_cv_type_void_p" = yes; then
69969 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
69970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
69971 { as_fn_set_status 77
69972 as_fn_error "cannot compute sizeof (void *)
69973 See \`config.log' for more details." "$LINENO" 5; }; }
69974 else
69975 ac_cv_sizeof_void_p=0
69976 fi
69977 fi
69978
69979 fi
69980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
69981 $as_echo "$ac_cv_sizeof_void_p" >&6; }
69982
69983
69984
69985 cat >>confdefs.h <<_ACEOF
69986 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
69987 _ACEOF
69988
69989 ;;
69990 esac
69991
69992 # Lacking an uint64_t? Test size of long
69993 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
69994 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
69995 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
69996 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
69997 # This bug is HP SR number 8606223364.
69998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
69999 $as_echo_n "checking size of long... " >&6; }
70000 if test "${ac_cv_sizeof_long+set}" = set; then :
70001 $as_echo_n "(cached) " >&6
70002 else
70003 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
70004
70005 else
70006 if test "$ac_cv_type_long" = yes; then
70007 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70008 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70009 { as_fn_set_status 77
70010 as_fn_error "cannot compute sizeof (long)
70011 See \`config.log' for more details." "$LINENO" 5; }; }
70012 else
70013 ac_cv_sizeof_long=0
70014 fi
70015 fi
70016
70017 fi
70018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
70019 $as_echo "$ac_cv_sizeof_long" >&6; }
70020
70021
70022
70023 cat >>confdefs.h <<_ACEOF
70024 #define SIZEOF_LONG $ac_cv_sizeof_long
70025 _ACEOF
70026
70027 ;;
70028 esac
70029
70030 if test $acx_cv_header_stdint = stddef.h; then
70031 # Lacking a good header? Test size of everything and deduce all types.
70032 # The cast to long int works around a bug in the HP C Compiler
70033 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70034 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70035 # This bug is HP SR number 8606223364.
70036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
70037 $as_echo_n "checking size of int... " >&6; }
70038 if test "${ac_cv_sizeof_int+set}" = set; then :
70039 $as_echo_n "(cached) " >&6
70040 else
70041 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
70042
70043 else
70044 if test "$ac_cv_type_int" = yes; then
70045 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70046 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70047 { as_fn_set_status 77
70048 as_fn_error "cannot compute sizeof (int)
70049 See \`config.log' for more details." "$LINENO" 5; }; }
70050 else
70051 ac_cv_sizeof_int=0
70052 fi
70053 fi
70054
70055 fi
70056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
70057 $as_echo "$ac_cv_sizeof_int" >&6; }
70058
70059
70060
70061 cat >>confdefs.h <<_ACEOF
70062 #define SIZEOF_INT $ac_cv_sizeof_int
70063 _ACEOF
70064
70065
70066 # The cast to long int works around a bug in the HP C Compiler
70067 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70068 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70069 # This bug is HP SR number 8606223364.
70070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
70071 $as_echo_n "checking size of short... " >&6; }
70072 if test "${ac_cv_sizeof_short+set}" = set; then :
70073 $as_echo_n "(cached) " >&6
70074 else
70075 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
70076
70077 else
70078 if test "$ac_cv_type_short" = yes; then
70079 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70080 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70081 { as_fn_set_status 77
70082 as_fn_error "cannot compute sizeof (short)
70083 See \`config.log' for more details." "$LINENO" 5; }; }
70084 else
70085 ac_cv_sizeof_short=0
70086 fi
70087 fi
70088
70089 fi
70090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
70091 $as_echo "$ac_cv_sizeof_short" >&6; }
70092
70093
70094
70095 cat >>confdefs.h <<_ACEOF
70096 #define SIZEOF_SHORT $ac_cv_sizeof_short
70097 _ACEOF
70098
70099
70100 # The cast to long int works around a bug in the HP C Compiler
70101 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
70102 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
70103 # This bug is HP SR number 8606223364.
70104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
70105 $as_echo_n "checking size of char... " >&6; }
70106 if test "${ac_cv_sizeof_char+set}" = set; then :
70107 $as_echo_n "(cached) " >&6
70108 else
70109 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
70110
70111 else
70112 if test "$ac_cv_type_char" = yes; then
70113 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
70114 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
70115 { as_fn_set_status 77
70116 as_fn_error "cannot compute sizeof (char)
70117 See \`config.log' for more details." "$LINENO" 5; }; }
70118 else
70119 ac_cv_sizeof_char=0
70120 fi
70121 fi
70122
70123 fi
70124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
70125 $as_echo "$ac_cv_sizeof_char" >&6; }
70126
70127
70128
70129 cat >>confdefs.h <<_ACEOF
70130 #define SIZEOF_CHAR $ac_cv_sizeof_char
70131 _ACEOF
70132
70133
70134
70135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
70136 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
70137 case "$ac_cv_sizeof_char" in
70138 1) acx_cv_type_int8_t=char ;;
70139 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
70140 esac
70141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
70142 $as_echo "$acx_cv_type_int8_t" >&6; }
70143
70144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
70145 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
70146 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
70147 2:*) acx_cv_type_int16_t=int ;;
70148 *:2) acx_cv_type_int16_t=short ;;
70149 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
70150 esac
70151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
70152 $as_echo "$acx_cv_type_int16_t" >&6; }
70153
70154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
70155 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
70156 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
70157 4:*) acx_cv_type_int32_t=int ;;
70158 *:4) acx_cv_type_int32_t=long ;;
70159 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
70160 esac
70161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
70162 $as_echo "$acx_cv_type_int32_t" >&6; }
70163 fi
70164
70165 # These tests are here to make the output prettier
70166
70167 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
70168 case "$ac_cv_sizeof_long" in
70169 8) acx_cv_type_int64_t=long ;;
70170 esac
70171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
70172 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
70173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
70174 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
70175 fi
70176
70177 # Now we can use the above types
70178
70179 if test "$ac_cv_type_uintptr_t" != yes; then
70180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
70181 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
70182 case $ac_cv_sizeof_void_p in
70183 2) acx_cv_type_intptr_t=int16_t ;;
70184 4) acx_cv_type_intptr_t=int32_t ;;
70185 8) acx_cv_type_intptr_t=int64_t ;;
70186 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
70187 esac
70188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
70189 $as_echo "$acx_cv_type_intptr_t" >&6; }
70190 fi
70191
70192 # ----------------- done all checks, emit header -------------
70193 ac_config_commands="$ac_config_commands include/gstdint.h"
70194
70195
70196
70197
70198
70199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
70200 $as_echo_n "checking for GNU c++filt... " >&6; }
70201 if test "${ac_cv_path_CXXFILT+set}" = set; then :
70202 $as_echo_n "(cached) " >&6
70203 else
70204 if test -z "$CXXFILT"; then
70205 ac_path_CXXFILT_found=false
70206 # Loop through the user's path and test for each of PROGNAME-LIST
70207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
70208 for as_dir in $PATH
70209 do
70210 IFS=$as_save_IFS
70211 test -z "$as_dir" && as_dir=.
70212 for ac_prog in c++filt gc++filt; do
70213 for ac_exec_ext in '' $ac_executable_extensions; do
70214 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
70215 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
70216 # Check for GNU $ac_path_CXXFILT
70217 case `"$ac_path_CXXFILT" --version 2>&1` in
70218 *GNU*)
70219 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
70220 esac
70221
70222 $ac_path_CXXFILT_found && break 3
70223 done
70224 done
70225 done
70226 IFS=$as_save_IFS
70227 if test -z "$ac_cv_path_CXXFILT"; then
70228 :
70229 fi
70230 else
70231 ac_cv_path_CXXFILT=$CXXFILT
70232 fi
70233
70234 fi
70235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
70236 $as_echo "$ac_cv_path_CXXFILT" >&6; }
70237 CXXFILT=$ac_cv_path_CXXFILT
70238
70239
70240
70241 # Check whether --enable-symvers was given.
70242 if test "${enable_symvers+set}" = set; then :
70243 enableval=$enable_symvers;
70244 case "$enableval" in
70245 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
70246 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
70247 esac
70248
70249 else
70250 enable_symvers=yes
70251 fi
70252
70253
70254
70255 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
70256 # don't know enough about $LD to do tricks...
70257
70258 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
70259 # with extern "C++" in version scripts.
70260
70261
70262 # Turn a 'yes' into a suitable default.
70263 if test x$enable_symvers = xyes ; then
70264 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
70265 enable_symvers=no
70266 else
70267 if test $with_gnu_ld = yes ; then
70268 case ${target_os} in
70269 hpux*)
70270 enable_symvers=no ;;
70271 *)
70272 enable_symvers=gnu ;;
70273 esac
70274 else
70275 case ${target_os} in
70276 darwin*)
70277 enable_symvers=darwin ;;
70278 # Sun symbol versioning exists since Solaris 2.5.
70279 solaris2.[5-9]* | solaris2.1[0-9]*)
70280 # make_sunver.pl needs GNU c++filt to support extern "C++" in
70281 # version scripts, so disable symbol versioning if none can be
70282 # found.
70283 if test -z "$ac_cv_path_CXXFILT"; then
70284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70285 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70286 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
70287 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
70288 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70289 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70290 enable_symvers=no
70291 else
70292 enable_symvers=sun
70293 fi
70294 ;;
70295 *)
70296 enable_symvers=no ;;
70297 esac
70298 fi
70299 fi
70300 fi
70301
70302 # Check to see if 'darwin' or 'darwin-export' can win.
70303 if test x$enable_symvers = xdarwin-export ; then
70304 enable_symvers=darwin
70305 fi
70306
70307 # Check if 'sun' was requested on non-Solaris 2 platforms.
70308 if test x$enable_symvers = xsun ; then
70309 case ${target_os} in
70310 solaris2*)
70311 # All fine.
70312 ;;
70313 *)
70314 # Unlikely to work.
70315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
70316 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
70317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
70318 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
70319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70320 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70321 enable_symvers=no
70322 ;;
70323 esac
70324 fi
70325
70326 # Check to see if 'gnu' can win.
70327 if test $enable_symvers = gnu ||
70328 test $enable_symvers = gnu-versioned-namespace ||
70329 test $enable_symvers = sun; then
70330 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
70331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
70332 $as_echo_n "checking for shared libgcc... " >&6; }
70333 ac_save_CFLAGS="$CFLAGS"
70334 CFLAGS=' -lgcc_s'
70335 if test x$gcc_no_link = xyes; then
70336 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70337 fi
70338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70339 /* end confdefs.h. */
70340
70341 int
70342 main ()
70343 {
70344 return 0;
70345 ;
70346 return 0;
70347 }
70348 _ACEOF
70349 if ac_fn_c_try_link "$LINENO"; then :
70350 glibcxx_shared_libgcc=yes
70351 else
70352 glibcxx_shared_libgcc=no
70353 fi
70354 rm -f core conftest.err conftest.$ac_objext \
70355 conftest$ac_exeext conftest.$ac_ext
70356 CFLAGS="$ac_save_CFLAGS"
70357 if test $glibcxx_shared_libgcc = no; then
70358 cat > conftest.c <<EOF
70359 int main (void) { return 0; }
70360 EOF
70361 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
70362 -shared -shared-libgcc -o conftest.so \
70363 conftest.c -v 2>&1 >/dev/null \
70364 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
70365 rm -f conftest.c conftest.so
70366 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
70367 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
70368 if test x$gcc_no_link = xyes; then
70369 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
70370 fi
70371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70372 /* end confdefs.h. */
70373
70374 int
70375 main ()
70376 {
70377 return 0;
70378 ;
70379 return 0;
70380 }
70381 _ACEOF
70382 if ac_fn_c_try_link "$LINENO"; then :
70383 glibcxx_shared_libgcc=yes
70384 fi
70385 rm -f core conftest.err conftest.$ac_objext \
70386 conftest$ac_exeext conftest.$ac_ext
70387 CFLAGS="$ac_save_CFLAGS"
70388 fi
70389 fi
70390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
70391 $as_echo "$glibcxx_shared_libgcc" >&6; }
70392
70393 # For GNU ld, we need at least this version. The format is described in
70394 # GLIBCXX_CHECK_LINKER_FEATURES above.
70395 glibcxx_min_gnu_ld_version=21400
70396
70397 # If no shared libgcc, can't win.
70398 if test $glibcxx_shared_libgcc != yes; then
70399 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70400 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70401 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
70402 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
70403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70404 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70405 enable_symvers=no
70406 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
70407 : All interesting versions of Sun ld support sun style symbol versioning.
70408 elif test $with_gnu_ld != yes ; then
70409 # just fail for now
70410 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
70411 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
70412 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
70413 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
70414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70415 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70416 enable_symvers=no
70417 elif test $glibcxx_ld_is_gold = yes ; then
70418 : All versions of gold support symbol versioning.
70419 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
70420 # The right tools, the right setup, but too old. Fallbacks?
70421 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
70422 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
70423 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
70424 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
70425 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
70426 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
70427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
70428 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
70429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
70430 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
70431 enable_symvers=no
70432 fi
70433 fi
70434
70435 # For libtool versioning info, format is CURRENT:REVISION:AGE
70436 libtool_VERSION=6:17:0
70437
70438 # Everything parsed; figure out what files and settings to use.
70439 case $enable_symvers in
70440 no)
70441 SYMVER_FILE=config/abi/pre/none.ver
70442 ;;
70443 gnu)
70444 SYMVER_FILE=config/abi/pre/gnu.ver
70445
70446 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
70447
70448 ;;
70449 gnu-versioned-namespace)
70450 libtool_VERSION=7:0:0
70451 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
70452
70453 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
70454
70455 ;;
70456 darwin)
70457 SYMVER_FILE=config/abi/pre/gnu.ver
70458
70459 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
70460
70461 ;;
70462 sun)
70463 SYMVER_FILE=config/abi/pre/gnu.ver
70464
70465 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
70466
70467 ;;
70468 esac
70469
70470 if test x$enable_symvers != xno ; then
70471
70472 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
70473
70474 fi
70475
70476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
70477 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
70478 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
70479 $as_echo_n "(cached) " >&6
70480 else
70481
70482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70483 /* end confdefs.h. */
70484 void foo (void); __asm (".symver foo, bar@SYMVER");
70485 int
70486 main ()
70487 {
70488
70489 ;
70490 return 0;
70491 }
70492 _ACEOF
70493 if ac_fn_c_try_compile "$LINENO"; then :
70494 glibcxx_cv_have_as_symver_directive=yes
70495 else
70496 glibcxx_cv_have_as_symver_directive=no
70497 fi
70498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70499 fi
70500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
70501 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
70502 if test $glibcxx_cv_have_as_symver_directive = yes; then
70503
70504 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
70505
70506 fi
70507
70508
70509
70510
70511
70512
70513
70514
70515 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
70516 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
70517
70518 if test $enable_symvers != no ; then
70519 case ${target_os} in
70520 # The Solaris 2 runtime linker doesn't support the GNU extension of
70521 # binding the same symbol to different versions
70522 solaris2*)
70523 ;;
70524 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
70525 *)
70526
70527 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
70528
70529 ;;
70530 esac
70531 fi
70532
70533 # Now, set up compatibility support, if any.
70534 # In addition, need this to deal with std::size_t mangling in
70535 # src/compatibility.cc. In a perfect world, could use
70536 # typeid(std::size_t).name()[0] to do direct substitution.
70537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
70538 $as_echo_n "checking for size_t as unsigned int... " >&6; }
70539 ac_save_CFLAGS="$CFLAGS"
70540 CFLAGS="-Werror"
70541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70542 /* end confdefs.h. */
70543
70544 int
70545 main ()
70546 {
70547 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
70548 ;
70549 return 0;
70550 }
70551 _ACEOF
70552 if ac_fn_c_try_compile "$LINENO"; then :
70553 glibcxx_size_t_is_i=yes
70554 else
70555 glibcxx_size_t_is_i=no
70556 fi
70557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70558 CFLAGS=$ac_save_CFLAGS
70559 if test "$glibcxx_size_t_is_i" = yes; then
70560
70561 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
70562
70563 fi
70564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
70565 $as_echo "$glibcxx_size_t_is_i" >&6; }
70566
70567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
70568 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
70569 ac_save_CFLAGS="$CFLAGS"
70570 CFLAGS="-Werror"
70571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70572 /* end confdefs.h. */
70573
70574 int
70575 main ()
70576 {
70577 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
70578 ;
70579 return 0;
70580 }
70581 _ACEOF
70582 if ac_fn_c_try_compile "$LINENO"; then :
70583 glibcxx_ptrdiff_t_is_i=yes
70584 else
70585 glibcxx_ptrdiff_t_is_i=no
70586 fi
70587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70588 CFLAGS=$ac_save_CFLAGS
70589 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
70590
70591 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
70592
70593 fi
70594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
70595 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
70596
70597
70598
70599
70600 # Check whether --enable-libstdcxx-visibility was given.
70601 if test "${enable_libstdcxx_visibility+set}" = set; then :
70602 enableval=$enable_libstdcxx_visibility;
70603 case "$enableval" in
70604 yes|no) ;;
70605 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
70606 esac
70607
70608 else
70609 enable_libstdcxx_visibility=yes
70610 fi
70611
70612
70613
70614 if test x$enable_libstdcxx_visibility = xyes ; then
70615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
70616 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
70617 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
70618 $as_echo_n "(cached) " >&6
70619 else
70620
70621 save_CFLAGS="$CFLAGS"
70622 CFLAGS="$CFLAGS -Werror"
70623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70624 /* end confdefs.h. */
70625 void __attribute__((visibility("hidden"))) foo(void) { }
70626 int
70627 main ()
70628 {
70629
70630 ;
70631 return 0;
70632 }
70633 _ACEOF
70634 if ac_fn_c_try_compile "$LINENO"; then :
70635 glibcxx_cv_have_attribute_visibility=yes
70636 else
70637 glibcxx_cv_have_attribute_visibility=no
70638 fi
70639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70640 CFLAGS="$save_CFLAGS"
70641 fi
70642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
70643 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
70644 if test $glibcxx_cv_have_attribute_visibility = no; then
70645 enable_libstdcxx_visibility=no
70646 fi
70647 fi
70648
70649
70650 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
70651 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
70652
70653
70654 ac_ldbl_compat=no
70655 case "$target" in
70656 powerpc*-*-linux* | \
70657 sparc*-*-linux* | \
70658 s390*-*-linux* | \
70659 alpha*-*-linux*)
70660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70661 /* end confdefs.h. */
70662
70663 int
70664 main ()
70665 {
70666
70667 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
70668 #error no need for long double compatibility
70669 #endif
70670
70671 ;
70672 return 0;
70673 }
70674 _ACEOF
70675 if ac_fn_c_try_compile "$LINENO"; then :
70676 ac_ldbl_compat=yes
70677 else
70678 ac_ldbl_compat=no
70679 fi
70680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70681 if test "$ac_ldbl_compat" = yes; then
70682
70683 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
70684
70685 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
70686 fi
70687 esac
70688
70689
70690 # Check if assembler supports disabling hardware capability support.
70691
70692 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
70693
70694 ac_save_CFLAGS="$CFLAGS"
70695 CFLAGS="$CFLAGS -Wa,-nH"
70696
70697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
70698 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
70699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70700 /* end confdefs.h. */
70701
70702 int
70703 main ()
70704 {
70705 return 0;
70706 ;
70707 return 0;
70708 }
70709 _ACEOF
70710 if ac_fn_c_try_compile "$LINENO"; then :
70711 ac_hwcap_flags=yes
70712 else
70713 ac_hwcap_flags=no
70714 fi
70715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70716 if test "$ac_hwcap_flags" = "yes"; then
70717 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
70718 fi
70719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
70720 $as_echo "$ac_hwcap_flags" >&6; }
70721
70722 CFLAGS="$ac_save_CFLAGS"
70723
70724
70725
70726
70727 # Check if assembler supports rdrand opcode.
70728
70729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
70730 $as_echo_n "checking for rdrand support in assembler... " >&6; }
70731 if test "${ac_cv_x86_rdrand+set}" = set; then :
70732 $as_echo_n "(cached) " >&6
70733 else
70734
70735 ac_cv_x86_rdrand=no
70736 case "$target" in
70737 i?86-*-* | \
70738 x86_64-*-*)
70739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70740 /* end confdefs.h. */
70741
70742 int
70743 main ()
70744 {
70745 asm("rdrand %eax");
70746 ;
70747 return 0;
70748 }
70749 _ACEOF
70750 if ac_fn_c_try_compile "$LINENO"; then :
70751 ac_cv_x86_rdrand=yes
70752 else
70753 ac_cv_x86_rdrand=no
70754 fi
70755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70756 esac
70757
70758 fi
70759
70760 if test $ac_cv_x86_rdrand = yes; then
70761
70762 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
70763
70764 fi
70765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
70766 $as_echo "$ac_cv_x86_rdrand" >&6; }
70767
70768
70769 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
70770
70771 if $GLIBCXX_IS_NATIVE ; then
70772 # Do checks for resource limit functions.
70773
70774 setrlimit_have_headers=yes
70775 for ac_header in unistd.h sys/time.h sys/resource.h
70776 do :
70777 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
70778 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
70779 eval as_val=\$$as_ac_Header
70780 if test "x$as_val" = x""yes; then :
70781 cat >>confdefs.h <<_ACEOF
70782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
70783 _ACEOF
70784
70785 else
70786 setrlimit_have_headers=no
70787 fi
70788
70789 done
70790
70791 # If don't have the headers, then we can't run the tests now, and we
70792 # won't be seeing any of these during testsuite compilation.
70793 if test $setrlimit_have_headers = yes; then
70794 # Can't do these in a loop, else the resulting syntax is wrong.
70795
70796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
70797 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
70798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70799 /* end confdefs.h. */
70800 #include <unistd.h>
70801 #include <sys/time.h>
70802 #include <sys/resource.h>
70803
70804 int
70805 main ()
70806 {
70807 int f = RLIMIT_DATA ;
70808 ;
70809 return 0;
70810 }
70811 _ACEOF
70812 if ac_fn_c_try_compile "$LINENO"; then :
70813 glibcxx_mresult=1
70814 else
70815 glibcxx_mresult=0
70816 fi
70817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70818
70819 cat >>confdefs.h <<_ACEOF
70820 #define HAVE_LIMIT_DATA $glibcxx_mresult
70821 _ACEOF
70822
70823 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70825 $as_echo "$res" >&6; }
70826
70827
70828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
70829 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
70830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70831 /* end confdefs.h. */
70832 #include <unistd.h>
70833 #include <sys/time.h>
70834 #include <sys/resource.h>
70835
70836 int
70837 main ()
70838 {
70839 int f = RLIMIT_RSS ;
70840 ;
70841 return 0;
70842 }
70843 _ACEOF
70844 if ac_fn_c_try_compile "$LINENO"; then :
70845 glibcxx_mresult=1
70846 else
70847 glibcxx_mresult=0
70848 fi
70849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70850
70851 cat >>confdefs.h <<_ACEOF
70852 #define HAVE_LIMIT_RSS $glibcxx_mresult
70853 _ACEOF
70854
70855 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70857 $as_echo "$res" >&6; }
70858
70859
70860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
70861 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
70862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70863 /* end confdefs.h. */
70864 #include <unistd.h>
70865 #include <sys/time.h>
70866 #include <sys/resource.h>
70867
70868 int
70869 main ()
70870 {
70871 int f = RLIMIT_VMEM ;
70872 ;
70873 return 0;
70874 }
70875 _ACEOF
70876 if ac_fn_c_try_compile "$LINENO"; then :
70877 glibcxx_mresult=1
70878 else
70879 glibcxx_mresult=0
70880 fi
70881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70882
70883 cat >>confdefs.h <<_ACEOF
70884 #define HAVE_LIMIT_VMEM $glibcxx_mresult
70885 _ACEOF
70886
70887 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70889 $as_echo "$res" >&6; }
70890
70891
70892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
70893 $as_echo_n "checking for RLIMIT_AS... " >&6; }
70894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70895 /* end confdefs.h. */
70896 #include <unistd.h>
70897 #include <sys/time.h>
70898 #include <sys/resource.h>
70899
70900 int
70901 main ()
70902 {
70903 int f = RLIMIT_AS ;
70904 ;
70905 return 0;
70906 }
70907 _ACEOF
70908 if ac_fn_c_try_compile "$LINENO"; then :
70909 glibcxx_mresult=1
70910 else
70911 glibcxx_mresult=0
70912 fi
70913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70914
70915 cat >>confdefs.h <<_ACEOF
70916 #define HAVE_LIMIT_AS $glibcxx_mresult
70917 _ACEOF
70918
70919 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70921 $as_echo "$res" >&6; }
70922
70923
70924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
70925 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
70926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70927 /* end confdefs.h. */
70928 #include <unistd.h>
70929 #include <sys/time.h>
70930 #include <sys/resource.h>
70931
70932 int
70933 main ()
70934 {
70935 int f = RLIMIT_FSIZE ;
70936 ;
70937 return 0;
70938 }
70939 _ACEOF
70940 if ac_fn_c_try_compile "$LINENO"; then :
70941 glibcxx_mresult=1
70942 else
70943 glibcxx_mresult=0
70944 fi
70945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70946
70947 cat >>confdefs.h <<_ACEOF
70948 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
70949 _ACEOF
70950
70951 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
70952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
70953 $as_echo "$res" >&6; }
70954
70955
70956 # Check for rlimit, setrlimit.
70957 if test "${glibcxx_cv_setrlimit+set}" = set; then :
70958 $as_echo_n "(cached) " >&6
70959 else
70960
70961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70962 /* end confdefs.h. */
70963 #include <unistd.h>
70964 #include <sys/time.h>
70965 #include <sys/resource.h>
70966
70967 int
70968 main ()
70969 {
70970 struct rlimit r;
70971 setrlimit(0, &r);
70972 ;
70973 return 0;
70974 }
70975 _ACEOF
70976 if ac_fn_c_try_compile "$LINENO"; then :
70977 glibcxx_cv_setrlimit=yes
70978 else
70979 glibcxx_cv_setrlimit=no
70980 fi
70981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70982
70983 fi
70984
70985 fi
70986
70987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
70988 $as_echo_n "checking for testsuite resource limits support... " >&6; }
70989 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
70990 ac_res_limits=yes
70991
70992 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
70993
70994 else
70995 ac_res_limits=no
70996 fi
70997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
70998 $as_echo "$ac_res_limits" >&6; }
70999
71000
71001 # Look for setenv, so that extended locale tests can be performed.
71002
71003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
71004 $as_echo_n "checking for setenv declaration... " >&6; }
71005 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
71006 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
71007 $as_echo_n "(cached) " >&6
71008 else
71009
71010
71011 ac_ext=cpp
71012 ac_cpp='$CXXCPP $CPPFLAGS'
71013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71016
71017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71018 /* end confdefs.h. */
71019 #include <stdlib.h>
71020 int
71021 main ()
71022 {
71023 setenv(0, 0, 0);
71024 ;
71025 return 0;
71026 }
71027 _ACEOF
71028 if ac_fn_cxx_try_compile "$LINENO"; then :
71029 glibcxx_cv_func_setenv_use=yes
71030 else
71031 glibcxx_cv_func_setenv_use=no
71032 fi
71033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71034 ac_ext=c
71035 ac_cpp='$CPP $CPPFLAGS'
71036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71039
71040
71041 fi
71042
71043 fi
71044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
71045 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
71046 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
71047 for ac_func in setenv
71048 do :
71049 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
71050 if test "x$ac_cv_func_setenv" = x""yes; then :
71051 cat >>confdefs.h <<_ACEOF
71052 #define HAVE_SETENV 1
71053 _ACEOF
71054
71055 fi
71056 done
71057
71058 fi
71059
71060 fi
71061
71062 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
71063 test $enable_symvers != no; then
71064 case "$host" in
71065 *-*-cygwin*)
71066 enable_abi_check=no ;;
71067 *)
71068 enable_abi_check=yes ;;
71069 esac
71070 else
71071 # Only build this as native, since automake does not understand
71072 # CXX_FOR_BUILD.
71073 enable_abi_check=no
71074 fi
71075
71076 # Export file names for ABI checking.
71077 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
71078
71079 baseline_subdir_switch="$abi_baseline_subdir_switch"
71080
71081
71082
71083 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
71084
71085 # Check whether --enable-libstdcxx-threads was given.
71086 if test "${enable_libstdcxx_threads+set}" = set; then :
71087 enableval=$enable_libstdcxx_threads;
71088 case "$enableval" in
71089 yes|no) ;;
71090 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
71091 esac
71092
71093 else
71094 enable_libstdcxx_threads=auto
71095 fi
71096
71097
71098
71099 if test x$enable_libstdcxx_threads = xauto ||
71100 test x$enable_libstdcxx_threads = xyes; then
71101
71102
71103 ac_ext=cpp
71104 ac_cpp='$CXXCPP $CPPFLAGS'
71105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71108
71109
71110 ac_save_CXXFLAGS="$CXXFLAGS"
71111 CXXFLAGS="$CXXFLAGS -fno-exceptions \
71112 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
71113
71114 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
71115 case $target_thread_file in
71116 posix)
71117 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
71118 esac
71119
71120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
71121 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
71122
71123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71124 /* end confdefs.h. */
71125 #include <unistd.h>
71126 int
71127 main ()
71128 {
71129
71130 // In case of POSIX threads check _POSIX_TIMEOUTS.
71131 #if (defined(_PTHREADS) \
71132 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
71133 #error
71134 #endif
71135
71136 ;
71137 return 0;
71138 }
71139 _ACEOF
71140 if ac_fn_cxx_try_compile "$LINENO"; then :
71141 ac_gthread_use_mutex_timedlock=1
71142 else
71143 ac_gthread_use_mutex_timedlock=0
71144 fi
71145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71146
71147
71148 cat >>confdefs.h <<_ACEOF
71149 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
71150 _ACEOF
71151
71152
71153 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
71154 else res_mutex_timedlock=no ; fi
71155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
71156 $as_echo "$res_mutex_timedlock" >&6; }
71157
71158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
71159 $as_echo_n "checking for gthreads library... " >&6; }
71160
71161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71162 /* end confdefs.h. */
71163 #include "gthr.h"
71164 int
71165 main ()
71166 {
71167
71168 #ifndef __GTHREADS_CXX0X
71169 #error
71170 #endif
71171
71172 ;
71173 return 0;
71174 }
71175 _ACEOF
71176 if ac_fn_cxx_try_compile "$LINENO"; then :
71177 case $target_os in
71178 # gthreads support breaks symbol versioning on Solaris 9 (PR
71179 # libstdc++/52189).
71180 solaris2.9*)
71181 if test x$enable_symvers = xno; then
71182 ac_has_gthreads=yes
71183 elif test x$enable_libstdcxx_threads = xyes; then
71184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You have requested C++11 threads support, but" >&5
71185 $as_echo "$as_me: WARNING: You have requested C++11 threads support, but" >&2;}
71186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: this breaks symbol versioning." >&5
71187 $as_echo "$as_me: WARNING: this breaks symbol versioning." >&2;}
71188 ac_has_gthreads=yes
71189 else
71190 ac_has_gthreads=no
71191 fi
71192 ;;
71193 *)
71194 ac_has_gthreads=yes
71195 ;;
71196 esac
71197 else
71198 ac_has_gthreads=no
71199 fi
71200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71201 else
71202 ac_has_gthreads=no
71203 fi
71204
71205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
71206 $as_echo "$ac_has_gthreads" >&6; }
71207
71208 if test x"$ac_has_gthreads" = x"yes"; then
71209
71210 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
71211
71212 fi
71213
71214 CXXFLAGS="$ac_save_CXXFLAGS"
71215 ac_ext=c
71216 ac_cpp='$CPP $CPPFLAGS'
71217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71220
71221
71222
71223 # Define documentation rules conditionally.
71224
71225 # See if makeinfo has been installed and is modern enough
71226 # that we can use it.
71227
71228 # Extract the first word of "makeinfo", so it can be a program name with args.
71229 set dummy makeinfo; ac_word=$2
71230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71231 $as_echo_n "checking for $ac_word... " >&6; }
71232 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
71233 $as_echo_n "(cached) " >&6
71234 else
71235 if test -n "$MAKEINFO"; then
71236 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
71237 else
71238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71239 for as_dir in $PATH
71240 do
71241 IFS=$as_save_IFS
71242 test -z "$as_dir" && as_dir=.
71243 for ac_exec_ext in '' $ac_executable_extensions; do
71244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71245 ac_cv_prog_MAKEINFO="makeinfo"
71246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71247 break 2
71248 fi
71249 done
71250 done
71251 IFS=$as_save_IFS
71252
71253 fi
71254 fi
71255 MAKEINFO=$ac_cv_prog_MAKEINFO
71256 if test -n "$MAKEINFO"; then
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
71258 $as_echo "$MAKEINFO" >&6; }
71259 else
71260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71261 $as_echo "no" >&6; }
71262 fi
71263
71264
71265 if test -n "$MAKEINFO"; then
71266 # Found it, now check the version.
71267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
71268 $as_echo_n "checking for modern makeinfo... " >&6; }
71269 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
71270 $as_echo_n "(cached) " >&6
71271 else
71272 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
71273 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
71274
71275 case $ac_prog_version in
71276 '') gcc_cv_prog_makeinfo_modern=no;;
71277 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
71278 *) gcc_cv_prog_makeinfo_modern=no;;
71279 esac
71280
71281 fi
71282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
71283 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
71284 else
71285 gcc_cv_prog_makeinfo_modern=no
71286 fi
71287 if test $gcc_cv_prog_makeinfo_modern = no; then
71288 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
71289 fi
71290
71291 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
71292 BUILD_INFO_TRUE=
71293 BUILD_INFO_FALSE='#'
71294 else
71295 BUILD_INFO_TRUE='#'
71296 BUILD_INFO_FALSE=
71297 fi
71298
71299
71300 # Check for doxygen
71301 # Extract the first word of "doxygen", so it can be a program name with args.
71302 set dummy doxygen; ac_word=$2
71303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71304 $as_echo_n "checking for $ac_word... " >&6; }
71305 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
71306 $as_echo_n "(cached) " >&6
71307 else
71308 if test -n "$DOXYGEN"; then
71309 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
71310 else
71311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71312 for as_dir in $PATH
71313 do
71314 IFS=$as_save_IFS
71315 test -z "$as_dir" && as_dir=.
71316 for ac_exec_ext in '' $ac_executable_extensions; do
71317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71318 ac_cv_prog_DOXYGEN="yes"
71319 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71320 break 2
71321 fi
71322 done
71323 done
71324 IFS=$as_save_IFS
71325
71326 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
71327 fi
71328 fi
71329 DOXYGEN=$ac_cv_prog_DOXYGEN
71330 if test -n "$DOXYGEN"; then
71331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
71332 $as_echo "$DOXYGEN" >&6; }
71333 else
71334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71335 $as_echo "no" >&6; }
71336 fi
71337
71338
71339 # Extract the first word of "dot", so it can be a program name with args.
71340 set dummy dot; ac_word=$2
71341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71342 $as_echo_n "checking for $ac_word... " >&6; }
71343 if test "${ac_cv_prog_DOT+set}" = set; then :
71344 $as_echo_n "(cached) " >&6
71345 else
71346 if test -n "$DOT"; then
71347 ac_cv_prog_DOT="$DOT" # Let the user override the test.
71348 else
71349 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71350 for as_dir in $PATH
71351 do
71352 IFS=$as_save_IFS
71353 test -z "$as_dir" && as_dir=.
71354 for ac_exec_ext in '' $ac_executable_extensions; do
71355 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71356 ac_cv_prog_DOT="yes"
71357 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71358 break 2
71359 fi
71360 done
71361 done
71362 IFS=$as_save_IFS
71363
71364 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
71365 fi
71366 fi
71367 DOT=$ac_cv_prog_DOT
71368 if test -n "$DOT"; then
71369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
71370 $as_echo "$DOT" >&6; }
71371 else
71372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71373 $as_echo "no" >&6; }
71374 fi
71375
71376
71377
71378 # Check for docbook
71379 # Extract the first word of "xsltproc", so it can be a program name with args.
71380 set dummy xsltproc; ac_word=$2
71381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71382 $as_echo_n "checking for $ac_word... " >&6; }
71383 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
71384 $as_echo_n "(cached) " >&6
71385 else
71386 if test -n "$XSLTPROC"; then
71387 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
71388 else
71389 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71390 for as_dir in $PATH
71391 do
71392 IFS=$as_save_IFS
71393 test -z "$as_dir" && as_dir=.
71394 for ac_exec_ext in '' $ac_executable_extensions; do
71395 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71396 ac_cv_prog_XSLTPROC="yes"
71397 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71398 break 2
71399 fi
71400 done
71401 done
71402 IFS=$as_save_IFS
71403
71404 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
71405 fi
71406 fi
71407 XSLTPROC=$ac_cv_prog_XSLTPROC
71408 if test -n "$XSLTPROC"; then
71409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
71410 $as_echo "$XSLTPROC" >&6; }
71411 else
71412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71413 $as_echo "no" >&6; }
71414 fi
71415
71416
71417 # Extract the first word of "xmllint", so it can be a program name with args.
71418 set dummy xmllint; ac_word=$2
71419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71420 $as_echo_n "checking for $ac_word... " >&6; }
71421 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
71422 $as_echo_n "(cached) " >&6
71423 else
71424 if test -n "$XMLLINT"; then
71425 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
71426 else
71427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71428 for as_dir in $PATH
71429 do
71430 IFS=$as_save_IFS
71431 test -z "$as_dir" && as_dir=.
71432 for ac_exec_ext in '' $ac_executable_extensions; do
71433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71434 ac_cv_prog_XMLLINT="yes"
71435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71436 break 2
71437 fi
71438 done
71439 done
71440 IFS=$as_save_IFS
71441
71442 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
71443 fi
71444 fi
71445 XMLLINT=$ac_cv_prog_XMLLINT
71446 if test -n "$XMLLINT"; then
71447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
71448 $as_echo "$XMLLINT" >&6; }
71449 else
71450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71451 $as_echo "no" >&6; }
71452 fi
71453
71454
71455
71456
71457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
71458 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
71459 glibcxx_stylesheets=no
71460 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
71461 glibcxx_stylesheets=yes
71462 fi
71463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
71464 $as_echo "$glibcxx_stylesheets" >&6; }
71465
71466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
71467 $as_echo_n "checking for local stylesheet directory... " >&6; }
71468 glibcxx_local_stylesheets=no
71469 if test x"$glibcxx_stylesheets" = x"yes"; then
71470 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
71471 glibcxx_local_stylesheets=yes
71472 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
71473 fi
71474 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
71475 glibcxx_local_stylesheets=yes
71476 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
71477 fi
71478 fi
71479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
71480 $as_echo "$glibcxx_local_stylesheets" >&6; }
71481
71482 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71483
71484 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
71485 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
71486 else
71487 glibcxx_stylesheets=no
71488 fi
71489
71490 # Check for epub3 dependencies.
71491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
71492 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
71493 glibcxx_epub_stylesheets=no
71494 if test x"$glibcxx_local_stylesheets" = x"yes"; then
71495 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
71496 glibcxx_epub_stylesheets=yes
71497 fi
71498 fi
71499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
71500 $as_echo "$glibcxx_epub_stylesheets" >&6; }
71501 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
71502 BUILD_EPUB_TRUE=
71503 BUILD_EPUB_FALSE='#'
71504 else
71505 BUILD_EPUB_TRUE='#'
71506 BUILD_EPUB_FALSE=
71507 fi
71508
71509
71510
71511
71512 # Check for xml/html dependencies.
71513 if test $ac_cv_prog_DOXYGEN = "yes" &&
71514 test $ac_cv_prog_DOT = "yes" &&
71515 test $ac_cv_prog_XSLTPROC = "yes" &&
71516 test $ac_cv_prog_XMLLINT = "yes" &&
71517 test $glibcxx_stylesheets = "yes"; then
71518 BUILD_XML_TRUE=
71519 BUILD_XML_FALSE='#'
71520 else
71521 BUILD_XML_TRUE='#'
71522 BUILD_XML_FALSE=
71523 fi
71524
71525
71526 if test $ac_cv_prog_DOXYGEN = "yes" &&
71527 test $ac_cv_prog_DOT = "yes" &&
71528 test $ac_cv_prog_XSLTPROC = "yes" &&
71529 test $ac_cv_prog_XMLLINT = "yes" &&
71530 test $glibcxx_stylesheets = "yes"; then
71531 BUILD_HTML_TRUE=
71532 BUILD_HTML_FALSE='#'
71533 else
71534 BUILD_HTML_TRUE='#'
71535 BUILD_HTML_FALSE=
71536 fi
71537
71538
71539 # Check for man dependencies.
71540 if test $ac_cv_prog_DOXYGEN = "yes" &&
71541 test $ac_cv_prog_DOT = "yes"; then
71542 BUILD_MAN_TRUE=
71543 BUILD_MAN_FALSE='#'
71544 else
71545 BUILD_MAN_TRUE='#'
71546 BUILD_MAN_FALSE=
71547 fi
71548
71549
71550 # Check for pdf dependencies.
71551 # Extract the first word of "dblatex", so it can be a program name with args.
71552 set dummy dblatex; ac_word=$2
71553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71554 $as_echo_n "checking for $ac_word... " >&6; }
71555 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
71556 $as_echo_n "(cached) " >&6
71557 else
71558 if test -n "$DBLATEX"; then
71559 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
71560 else
71561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71562 for as_dir in $PATH
71563 do
71564 IFS=$as_save_IFS
71565 test -z "$as_dir" && as_dir=.
71566 for ac_exec_ext in '' $ac_executable_extensions; do
71567 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71568 ac_cv_prog_DBLATEX="yes"
71569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71570 break 2
71571 fi
71572 done
71573 done
71574 IFS=$as_save_IFS
71575
71576 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
71577 fi
71578 fi
71579 DBLATEX=$ac_cv_prog_DBLATEX
71580 if test -n "$DBLATEX"; then
71581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
71582 $as_echo "$DBLATEX" >&6; }
71583 else
71584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71585 $as_echo "no" >&6; }
71586 fi
71587
71588
71589 # Extract the first word of "pdflatex", so it can be a program name with args.
71590 set dummy pdflatex; ac_word=$2
71591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
71592 $as_echo_n "checking for $ac_word... " >&6; }
71593 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
71594 $as_echo_n "(cached) " >&6
71595 else
71596 if test -n "$PDFLATEX"; then
71597 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
71598 else
71599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
71600 for as_dir in $PATH
71601 do
71602 IFS=$as_save_IFS
71603 test -z "$as_dir" && as_dir=.
71604 for ac_exec_ext in '' $ac_executable_extensions; do
71605 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
71606 ac_cv_prog_PDFLATEX="yes"
71607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
71608 break 2
71609 fi
71610 done
71611 done
71612 IFS=$as_save_IFS
71613
71614 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
71615 fi
71616 fi
71617 PDFLATEX=$ac_cv_prog_PDFLATEX
71618 if test -n "$PDFLATEX"; then
71619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
71620 $as_echo "$PDFLATEX" >&6; }
71621 else
71622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
71623 $as_echo "no" >&6; }
71624 fi
71625
71626
71627 if test $ac_cv_prog_DBLATEX = "yes" &&
71628 test $ac_cv_prog_PDFLATEX = "yes"; then
71629 BUILD_PDF_TRUE=
71630 BUILD_PDF_FALSE='#'
71631 else
71632 BUILD_PDF_TRUE='#'
71633 BUILD_PDF_FALSE=
71634 fi
71635
71636
71637
71638 # Propagate the target-specific source directories through the build chain.
71639 ATOMICITY_SRCDIR=config/${atomicity_dir}
71640 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
71641 ATOMIC_FLAGS=${atomic_flags}
71642 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
71643 OS_INC_SRCDIR=config/${os_include_dir}
71644 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
71645 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
71646 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
71647 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
71648
71649
71650
71651
71652
71653
71654
71655
71656
71657
71658
71659 # Determine cross-compile flags and AM_CONDITIONALs.
71660 #AC_SUBST(GLIBCXX_IS_NATIVE)
71661 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
71662 if test $is_hosted = yes; then
71663 GLIBCXX_HOSTED_TRUE=
71664 GLIBCXX_HOSTED_FALSE='#'
71665 else
71666 GLIBCXX_HOSTED_TRUE='#'
71667 GLIBCXX_HOSTED_FALSE=
71668 fi
71669
71670
71671 if test $enable_libstdcxx_pch = yes; then
71672 GLIBCXX_BUILD_PCH_TRUE=
71673 GLIBCXX_BUILD_PCH_FALSE='#'
71674 else
71675 GLIBCXX_BUILD_PCH_TRUE='#'
71676 GLIBCXX_BUILD_PCH_FALSE=
71677 fi
71678
71679
71680 if test $enable_cheaders = c; then
71681 GLIBCXX_C_HEADERS_C_TRUE=
71682 GLIBCXX_C_HEADERS_C_FALSE='#'
71683 else
71684 GLIBCXX_C_HEADERS_C_TRUE='#'
71685 GLIBCXX_C_HEADERS_C_FALSE=
71686 fi
71687
71688
71689 if test $enable_cheaders = c_std; then
71690 GLIBCXX_C_HEADERS_C_STD_TRUE=
71691 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
71692 else
71693 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
71694 GLIBCXX_C_HEADERS_C_STD_FALSE=
71695 fi
71696
71697
71698 if test $enable_cheaders = c_global; then
71699 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
71700 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
71701 else
71702 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
71703 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
71704 fi
71705
71706
71707 if test $c_compatibility = yes; then
71708 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
71709 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
71710 else
71711 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
71712 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
71713 fi
71714
71715
71716 if test $enable_libstdcxx_debug = yes; then
71717 GLIBCXX_BUILD_DEBUG_TRUE=
71718 GLIBCXX_BUILD_DEBUG_FALSE='#'
71719 else
71720 GLIBCXX_BUILD_DEBUG_TRUE='#'
71721 GLIBCXX_BUILD_DEBUG_FALSE=
71722 fi
71723
71724
71725 if test $enable_parallel = yes; then
71726 ENABLE_PARALLEL_TRUE=
71727 ENABLE_PARALLEL_FALSE='#'
71728 else
71729 ENABLE_PARALLEL_TRUE='#'
71730 ENABLE_PARALLEL_FALSE=
71731 fi
71732
71733
71734 if test $enable_extern_template = yes; then
71735 ENABLE_EXTERN_TEMPLATE_TRUE=
71736 ENABLE_EXTERN_TEMPLATE_FALSE='#'
71737 else
71738 ENABLE_EXTERN_TEMPLATE_TRUE='#'
71739 ENABLE_EXTERN_TEMPLATE_FALSE=
71740 fi
71741
71742
71743 if test $python_mod_dir != no; then
71744 ENABLE_PYTHONDIR_TRUE=
71745 ENABLE_PYTHONDIR_FALSE='#'
71746 else
71747 ENABLE_PYTHONDIR_TRUE='#'
71748 ENABLE_PYTHONDIR_FALSE=
71749 fi
71750
71751
71752 if test $enable_werror = yes; then
71753 ENABLE_WERROR_TRUE=
71754 ENABLE_WERROR_FALSE='#'
71755 else
71756 ENABLE_WERROR_TRUE='#'
71757 ENABLE_WERROR_FALSE=
71758 fi
71759
71760
71761 if test $enable_symvers != no; then
71762 ENABLE_SYMVERS_TRUE=
71763 ENABLE_SYMVERS_FALSE='#'
71764 else
71765 ENABLE_SYMVERS_TRUE='#'
71766 ENABLE_SYMVERS_FALSE=
71767 fi
71768
71769
71770 if test $enable_symvers = gnu; then
71771 ENABLE_SYMVERS_GNU_TRUE=
71772 ENABLE_SYMVERS_GNU_FALSE='#'
71773 else
71774 ENABLE_SYMVERS_GNU_TRUE='#'
71775 ENABLE_SYMVERS_GNU_FALSE=
71776 fi
71777
71778
71779 if test $enable_symvers = gnu-versioned-namespace; then
71780 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
71781 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
71782 else
71783 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
71784 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
71785 fi
71786
71787
71788 if test $enable_symvers = darwin; then
71789 ENABLE_SYMVERS_DARWIN_TRUE=
71790 ENABLE_SYMVERS_DARWIN_FALSE='#'
71791 else
71792 ENABLE_SYMVERS_DARWIN_TRUE='#'
71793 ENABLE_SYMVERS_DARWIN_FALSE=
71794 fi
71795
71796
71797 if test $enable_symvers = sun; then
71798 ENABLE_SYMVERS_SUN_TRUE=
71799 ENABLE_SYMVERS_SUN_FALSE='#'
71800 else
71801 ENABLE_SYMVERS_SUN_TRUE='#'
71802 ENABLE_SYMVERS_SUN_FALSE=
71803 fi
71804
71805
71806 if test $enable_libstdcxx_visibility = yes; then
71807 ENABLE_VISIBILITY_TRUE=
71808 ENABLE_VISIBILITY_FALSE='#'
71809 else
71810 ENABLE_VISIBILITY_TRUE='#'
71811 ENABLE_VISIBILITY_FALSE=
71812 fi
71813
71814
71815 if test $ac_ldbl_compat = yes; then
71816 GLIBCXX_LDBL_COMPAT_TRUE=
71817 GLIBCXX_LDBL_COMPAT_FALSE='#'
71818 else
71819 GLIBCXX_LDBL_COMPAT_TRUE='#'
71820 GLIBCXX_LDBL_COMPAT_FALSE=
71821 fi
71822
71823
71824
71825
71826 cat >confcache <<\_ACEOF
71827 # This file is a shell script that caches the results of configure
71828 # tests run on this system so they can be shared between configure
71829 # scripts and configure runs, see configure's option --config-cache.
71830 # It is not useful on other systems. If it contains results you don't
71831 # want to keep, you may remove or edit it.
71832 #
71833 # config.status only pays attention to the cache file if you give it
71834 # the --recheck option to rerun configure.
71835 #
71836 # `ac_cv_env_foo' variables (set or unset) will be overridden when
71837 # loading this file, other *unset* `ac_cv_foo' will be assigned the
71838 # following values.
71839
71840 _ACEOF
71841
71842 # The following way of writing the cache mishandles newlines in values,
71843 # but we know of no workaround that is simple, portable, and efficient.
71844 # So, we kill variables containing newlines.
71845 # Ultrix sh set writes to stderr and can't be redirected directly,
71846 # and sets the high bit in the cache file unless we assign to the vars.
71847 (
71848 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
71849 eval ac_val=\$$ac_var
71850 case $ac_val in #(
71851 *${as_nl}*)
71852 case $ac_var in #(
71853 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
71854 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
71855 esac
71856 case $ac_var in #(
71857 _ | IFS | as_nl) ;; #(
71858 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
71859 *) { eval $ac_var=; unset $ac_var;} ;;
71860 esac ;;
71861 esac
71862 done
71863
71864 (set) 2>&1 |
71865 case $as_nl`(ac_space=' '; set) 2>&1` in #(
71866 *${as_nl}ac_space=\ *)
71867 # `set' does not quote correctly, so add quotes: double-quote
71868 # substitution turns \\\\ into \\, and sed turns \\ into \.
71869 sed -n \
71870 "s/'/'\\\\''/g;
71871 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
71872 ;; #(
71873 *)
71874 # `set' quotes correctly as required by POSIX, so do not add quotes.
71875 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
71876 ;;
71877 esac |
71878 sort
71879 ) |
71880 sed '
71881 /^ac_cv_env_/b end
71882 t clear
71883 :clear
71884 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
71885 t end
71886 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
71887 :end' >>confcache
71888 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
71889 if test -w "$cache_file"; then
71890 test "x$cache_file" != "x/dev/null" &&
71891 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
71892 $as_echo "$as_me: updating cache $cache_file" >&6;}
71893 cat confcache >$cache_file
71894 else
71895 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
71896 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
71897 fi
71898 fi
71899 rm -f confcache
71900
71901 if test ${multilib} = yes; then
71902 multilib_arg="--enable-multilib"
71903 else
71904 multilib_arg=
71905 fi
71906
71907 # Export all the install information.
71908
71909 glibcxx_toolexecdir=no
71910 glibcxx_toolexeclibdir=no
71911 glibcxx_prefixdir=$prefix
71912
71913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
71914 $as_echo_n "checking for gxx-include-dir... " >&6; }
71915
71916 # Check whether --with-gxx-include-dir was given.
71917 if test "${with_gxx_include_dir+set}" = set; then :
71918 withval=$with_gxx_include_dir; case "$withval" in
71919 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
71920 no) gxx_include_dir=no ;;
71921 *) gxx_include_dir=$withval ;;
71922 esac
71923 else
71924 gxx_include_dir=no
71925 fi
71926
71927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71928 $as_echo "$gxx_include_dir" >&6; }
71929
71930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
71931 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
71932 # Check whether --enable-version-specific-runtime-libs was given.
71933 if test "${enable_version_specific_runtime_libs+set}" = set; then :
71934 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
71935 yes) version_specific_libs=yes ;;
71936 no) version_specific_libs=no ;;
71937 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
71938 esac
71939 else
71940 version_specific_libs=no
71941 fi
71942
71943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
71944 $as_echo "$version_specific_libs" >&6; }
71945
71946 # Default case for install directory for include files.
71947 if test $version_specific_libs = no && test $gxx_include_dir = no; then
71948 gxx_include_dir='include/c++/${gcc_version}'
71949 if test -n "$with_cross_host" &&
71950 test x"$with_cross_host" != x"no"; then
71951 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
71952 else
71953 gxx_include_dir='${prefix}/'"$gxx_include_dir"
71954 fi
71955 fi
71956
71957 # Version-specific runtime libs processing.
71958 if test $version_specific_libs = yes; then
71959 # Need the gcc compiler version to know where to install libraries
71960 # and header files if --enable-version-specific-runtime-libs option
71961 # is selected. FIXME: these variables are misnamed, there are
71962 # no executables installed in _toolexecdir or _toolexeclibdir.
71963 if test x"$gxx_include_dir" = x"no"; then
71964 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
71965 fi
71966 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71967 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
71968 fi
71969
71970 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
71971 # Install a library built with a cross compiler in tooldir, not libdir.
71972 if test x"$glibcxx_toolexecdir" = x"no"; then
71973 if test -n "$with_cross_host" &&
71974 test x"$with_cross_host" != x"no"; then
71975 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
71976 glibcxx_toolexeclibdir='${toolexecdir}/lib'
71977 else
71978 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
71979 glibcxx_toolexeclibdir='${libdir}'
71980 fi
71981 multi_os_directory=`$CXX -print-multi-os-directory`
71982 case $multi_os_directory in
71983 .) ;; # Avoid trailing /.
71984 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
71985 esac
71986 fi
71987
71988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
71989 $as_echo_n "checking for install location... " >&6; }
71990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
71991 $as_echo "$gxx_include_dir" >&6; }
71992
71993
71994
71995
71996
71997
71998
71999 # Export all the include and flag information to Makefiles.
72000
72001 # Used for every C++ compile we perform.
72002 GLIBCXX_INCLUDES="\
72003 -I$glibcxx_builddir/include/$host_alias \
72004 -I$glibcxx_builddir/include \
72005 -I$glibcxx_srcdir/libsupc++"
72006
72007 # For Canadian crosses, pick this up too.
72008 if test $CANADIAN = yes; then
72009 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
72010 fi
72011
72012 # Stuff in the actual top level. Currently only used by libsupc++ to
72013 # get unwind* headers from the libgcc dir.
72014 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
72015 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
72016
72017 # Now, export this to all the little Makefiles....
72018
72019
72020
72021
72022 # Optimization flags that are probably a good idea for thrill-seekers. Just
72023 # uncomment the lines below and make, everything else is ready to go...
72024 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
72025 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
72026
72027
72028 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
72029
72030
72031
72032 ac_config_files="$ac_config_files Makefile"
72033
72034 ac_config_files="$ac_config_files scripts/testsuite_flags"
72035
72036 ac_config_files="$ac_config_files scripts/extract_symvers"
72037
72038 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
72039
72040
72041 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
72042 # that multilib installs will end up installed in the correct place.
72043 # The testsuite needs it for multilib-aware ABI baseline files.
72044 # To work around this not being passed down from config-ml.in ->
72045 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
72046 # append it here. Only modify Makefiles that have just been created.
72047 #
72048 # Also, get rid of this simulated-VPATH thing that automake does.
72049 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"
72050
72051
72052 ac_config_commands="$ac_config_commands generate-headers"
72053
72054
72055 cat >confcache <<\_ACEOF
72056 # This file is a shell script that caches the results of configure
72057 # tests run on this system so they can be shared between configure
72058 # scripts and configure runs, see configure's option --config-cache.
72059 # It is not useful on other systems. If it contains results you don't
72060 # want to keep, you may remove or edit it.
72061 #
72062 # config.status only pays attention to the cache file if you give it
72063 # the --recheck option to rerun configure.
72064 #
72065 # `ac_cv_env_foo' variables (set or unset) will be overridden when
72066 # loading this file, other *unset* `ac_cv_foo' will be assigned the
72067 # following values.
72068
72069 _ACEOF
72070
72071 # The following way of writing the cache mishandles newlines in values,
72072 # but we know of no workaround that is simple, portable, and efficient.
72073 # So, we kill variables containing newlines.
72074 # Ultrix sh set writes to stderr and can't be redirected directly,
72075 # and sets the high bit in the cache file unless we assign to the vars.
72076 (
72077 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
72078 eval ac_val=\$$ac_var
72079 case $ac_val in #(
72080 *${as_nl}*)
72081 case $ac_var in #(
72082 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
72083 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
72084 esac
72085 case $ac_var in #(
72086 _ | IFS | as_nl) ;; #(
72087 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
72088 *) { eval $ac_var=; unset $ac_var;} ;;
72089 esac ;;
72090 esac
72091 done
72092
72093 (set) 2>&1 |
72094 case $as_nl`(ac_space=' '; set) 2>&1` in #(
72095 *${as_nl}ac_space=\ *)
72096 # `set' does not quote correctly, so add quotes: double-quote
72097 # substitution turns \\\\ into \\, and sed turns \\ into \.
72098 sed -n \
72099 "s/'/'\\\\''/g;
72100 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
72101 ;; #(
72102 *)
72103 # `set' quotes correctly as required by POSIX, so do not add quotes.
72104 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
72105 ;;
72106 esac |
72107 sort
72108 ) |
72109 sed '
72110 /^ac_cv_env_/b end
72111 t clear
72112 :clear
72113 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
72114 t end
72115 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
72116 :end' >>confcache
72117 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
72118 if test -w "$cache_file"; then
72119 test "x$cache_file" != "x/dev/null" &&
72120 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
72121 $as_echo "$as_me: updating cache $cache_file" >&6;}
72122 cat confcache >$cache_file
72123 else
72124 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
72125 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
72126 fi
72127 fi
72128 rm -f confcache
72129
72130 test "x$prefix" = xNONE && prefix=$ac_default_prefix
72131 # Let make expand exec_prefix.
72132 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
72133
72134 DEFS=-DHAVE_CONFIG_H
72135
72136 ac_libobjs=
72137 ac_ltlibobjs=
72138 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
72139 # 1. Remove the extension, and $U if already installed.
72140 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
72141 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
72142 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
72143 # will be set to the directory where LIBOBJS objects are built.
72144 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
72145 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
72146 done
72147 LIBOBJS=$ac_libobjs
72148
72149 LTLIBOBJS=$ac_ltlibobjs
72150
72151
72152 if test -n "$EXEEXT"; then
72153 am__EXEEXT_TRUE=
72154 am__EXEEXT_FALSE='#'
72155 else
72156 am__EXEEXT_TRUE='#'
72157 am__EXEEXT_FALSE=
72158 fi
72159
72160 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
72161 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
72162 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72163 fi
72164 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
72165 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
72166 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72167 fi
72168 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
72169 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
72170 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72171 fi
72172 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
72173 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
72174 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72175 fi
72176 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
72177 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
72178 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72179 fi
72180 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
72181 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
72182 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72183 fi
72184 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
72185 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
72186 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72187 fi
72188 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
72189 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
72190 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72191 fi
72192 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
72193 as_fn_error "conditional \"ENABLE_PARALLEL\" was never defined.
72194 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72195 fi
72196 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
72197 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
72198 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72199 fi
72200 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
72201 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
72202 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72203 fi
72204 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
72205 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
72206 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72207 fi
72208 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
72209 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
72210 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72211 fi
72212 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
72213 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
72214 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72215 fi
72216 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
72217 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
72218 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72219 fi
72220 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
72221 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
72222 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72223 fi
72224 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
72225 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
72226 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72227 fi
72228 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
72229 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
72230 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72231 fi
72232 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
72233 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
72234 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72235 fi
72236 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
72237 as_fn_error "conditional \"BUILD_INFO\" was never defined.
72238 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72239 fi
72240 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
72241 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
72242 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72243 fi
72244 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
72245 as_fn_error "conditional \"BUILD_XML\" was never defined.
72246 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72247 fi
72248 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
72249 as_fn_error "conditional \"BUILD_HTML\" was never defined.
72250 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72251 fi
72252 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
72253 as_fn_error "conditional \"BUILD_MAN\" was never defined.
72254 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72255 fi
72256 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
72257 as_fn_error "conditional \"BUILD_PDF\" was never defined.
72258 Usually this means the macro was only invoked conditionally." "$LINENO" 5
72259 fi
72260
72261 : ${CONFIG_STATUS=./config.status}
72262 ac_write_fail=0
72263 ac_clean_files_save=$ac_clean_files
72264 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
72265 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
72266 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
72267 as_write_fail=0
72268 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
72269 #! $SHELL
72270 # Generated by $as_me.
72271 # Run this file to recreate the current configuration.
72272 # Compiler output produced by configure, useful for debugging
72273 # configure, is in config.log if it exists.
72274
72275 debug=false
72276 ac_cs_recheck=false
72277 ac_cs_silent=false
72278
72279 SHELL=\${CONFIG_SHELL-$SHELL}
72280 export SHELL
72281 _ASEOF
72282 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
72283 ## -------------------- ##
72284 ## M4sh Initialization. ##
72285 ## -------------------- ##
72286
72287 # Be more Bourne compatible
72288 DUALCASE=1; export DUALCASE # for MKS sh
72289 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
72290 emulate sh
72291 NULLCMD=:
72292 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
72293 # is contrary to our usage. Disable this feature.
72294 alias -g '${1+"$@"}'='"$@"'
72295 setopt NO_GLOB_SUBST
72296 else
72297 case `(set -o) 2>/dev/null` in #(
72298 *posix*) :
72299 set -o posix ;; #(
72300 *) :
72301 ;;
72302 esac
72303 fi
72304
72305
72306 as_nl='
72307 '
72308 export as_nl
72309 # Printing a long string crashes Solaris 7 /usr/bin/printf.
72310 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
72311 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
72312 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
72313 # Prefer a ksh shell builtin over an external printf program on Solaris,
72314 # but without wasting forks for bash or zsh.
72315 if test -z "$BASH_VERSION$ZSH_VERSION" \
72316 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
72317 as_echo='print -r --'
72318 as_echo_n='print -rn --'
72319 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
72320 as_echo='printf %s\n'
72321 as_echo_n='printf %s'
72322 else
72323 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
72324 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
72325 as_echo_n='/usr/ucb/echo -n'
72326 else
72327 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
72328 as_echo_n_body='eval
72329 arg=$1;
72330 case $arg in #(
72331 *"$as_nl"*)
72332 expr "X$arg" : "X\\(.*\\)$as_nl";
72333 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
72334 esac;
72335 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
72336 '
72337 export as_echo_n_body
72338 as_echo_n='sh -c $as_echo_n_body as_echo'
72339 fi
72340 export as_echo_body
72341 as_echo='sh -c $as_echo_body as_echo'
72342 fi
72343
72344 # The user is always right.
72345 if test "${PATH_SEPARATOR+set}" != set; then
72346 PATH_SEPARATOR=:
72347 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
72348 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
72349 PATH_SEPARATOR=';'
72350 }
72351 fi
72352
72353
72354 # IFS
72355 # We need space, tab and new line, in precisely that order. Quoting is
72356 # there to prevent editors from complaining about space-tab.
72357 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
72358 # splitting by setting IFS to empty value.)
72359 IFS=" "" $as_nl"
72360
72361 # Find who we are. Look in the path if we contain no directory separator.
72362 case $0 in #((
72363 *[\\/]* ) as_myself=$0 ;;
72364 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72365 for as_dir in $PATH
72366 do
72367 IFS=$as_save_IFS
72368 test -z "$as_dir" && as_dir=.
72369 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
72370 done
72371 IFS=$as_save_IFS
72372
72373 ;;
72374 esac
72375 # We did not find ourselves, most probably we were run as `sh COMMAND'
72376 # in which case we are not to be found in the path.
72377 if test "x$as_myself" = x; then
72378 as_myself=$0
72379 fi
72380 if test ! -f "$as_myself"; then
72381 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
72382 exit 1
72383 fi
72384
72385 # Unset variables that we do not need and which cause bugs (e.g. in
72386 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
72387 # suppresses any "Segmentation fault" message there. '((' could
72388 # trigger a bug in pdksh 5.2.14.
72389 for as_var in BASH_ENV ENV MAIL MAILPATH
72390 do eval test x\${$as_var+set} = xset \
72391 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
72392 done
72393 PS1='$ '
72394 PS2='> '
72395 PS4='+ '
72396
72397 # NLS nuisances.
72398 LC_ALL=C
72399 export LC_ALL
72400 LANGUAGE=C
72401 export LANGUAGE
72402
72403 # CDPATH.
72404 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72405
72406
72407 # as_fn_error ERROR [LINENO LOG_FD]
72408 # ---------------------------------
72409 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
72410 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
72411 # script with status $?, using 1 if that was 0.
72412 as_fn_error ()
72413 {
72414 as_status=$?; test $as_status -eq 0 && as_status=1
72415 if test "$3"; then
72416 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
72417 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
72418 fi
72419 $as_echo "$as_me: error: $1" >&2
72420 as_fn_exit $as_status
72421 } # as_fn_error
72422
72423
72424 # as_fn_set_status STATUS
72425 # -----------------------
72426 # Set $? to STATUS, without forking.
72427 as_fn_set_status ()
72428 {
72429 return $1
72430 } # as_fn_set_status
72431
72432 # as_fn_exit STATUS
72433 # -----------------
72434 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
72435 as_fn_exit ()
72436 {
72437 set +e
72438 as_fn_set_status $1
72439 exit $1
72440 } # as_fn_exit
72441
72442 # as_fn_unset VAR
72443 # ---------------
72444 # Portably unset VAR.
72445 as_fn_unset ()
72446 {
72447 { eval $1=; unset $1;}
72448 }
72449 as_unset=as_fn_unset
72450 # as_fn_append VAR VALUE
72451 # ----------------------
72452 # Append the text in VALUE to the end of the definition contained in VAR. Take
72453 # advantage of any shell optimizations that allow amortized linear growth over
72454 # repeated appends, instead of the typical quadratic growth present in naive
72455 # implementations.
72456 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
72457 eval 'as_fn_append ()
72458 {
72459 eval $1+=\$2
72460 }'
72461 else
72462 as_fn_append ()
72463 {
72464 eval $1=\$$1\$2
72465 }
72466 fi # as_fn_append
72467
72468 # as_fn_arith ARG...
72469 # ------------------
72470 # Perform arithmetic evaluation on the ARGs, and store the result in the
72471 # global $as_val. Take advantage of shells that can avoid forks. The arguments
72472 # must be portable across $(()) and expr.
72473 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
72474 eval 'as_fn_arith ()
72475 {
72476 as_val=$(( $* ))
72477 }'
72478 else
72479 as_fn_arith ()
72480 {
72481 as_val=`expr "$@" || test $? -eq 1`
72482 }
72483 fi # as_fn_arith
72484
72485
72486 if expr a : '\(a\)' >/dev/null 2>&1 &&
72487 test "X`expr 00001 : '.*\(...\)'`" = X001; then
72488 as_expr=expr
72489 else
72490 as_expr=false
72491 fi
72492
72493 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
72494 as_basename=basename
72495 else
72496 as_basename=false
72497 fi
72498
72499 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
72500 as_dirname=dirname
72501 else
72502 as_dirname=false
72503 fi
72504
72505 as_me=`$as_basename -- "$0" ||
72506 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
72507 X"$0" : 'X\(//\)$' \| \
72508 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
72509 $as_echo X/"$0" |
72510 sed '/^.*\/\([^/][^/]*\)\/*$/{
72511 s//\1/
72512 q
72513 }
72514 /^X\/\(\/\/\)$/{
72515 s//\1/
72516 q
72517 }
72518 /^X\/\(\/\).*/{
72519 s//\1/
72520 q
72521 }
72522 s/.*/./; q'`
72523
72524 # Avoid depending upon Character Ranges.
72525 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
72526 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
72527 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
72528 as_cr_digits='0123456789'
72529 as_cr_alnum=$as_cr_Letters$as_cr_digits
72530
72531 ECHO_C= ECHO_N= ECHO_T=
72532 case `echo -n x` in #(((((
72533 -n*)
72534 case `echo 'xy\c'` in
72535 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
72536 xy) ECHO_C='\c';;
72537 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
72538 ECHO_T=' ';;
72539 esac;;
72540 *)
72541 ECHO_N='-n';;
72542 esac
72543
72544 rm -f conf$$ conf$$.exe conf$$.file
72545 if test -d conf$$.dir; then
72546 rm -f conf$$.dir/conf$$.file
72547 else
72548 rm -f conf$$.dir
72549 mkdir conf$$.dir 2>/dev/null
72550 fi
72551 if (echo >conf$$.file) 2>/dev/null; then
72552 if ln -s conf$$.file conf$$ 2>/dev/null; then
72553 as_ln_s='ln -s'
72554 # ... but there are two gotchas:
72555 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
72556 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
72557 # In both cases, we have to default to `cp -p'.
72558 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
72559 as_ln_s='cp -p'
72560 elif ln conf$$.file conf$$ 2>/dev/null; then
72561 as_ln_s=ln
72562 else
72563 as_ln_s='cp -p'
72564 fi
72565 else
72566 as_ln_s='cp -p'
72567 fi
72568 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
72569 rmdir conf$$.dir 2>/dev/null
72570
72571
72572 # as_fn_mkdir_p
72573 # -------------
72574 # Create "$as_dir" as a directory, including parents if necessary.
72575 as_fn_mkdir_p ()
72576 {
72577
72578 case $as_dir in #(
72579 -*) as_dir=./$as_dir;;
72580 esac
72581 test -d "$as_dir" || eval $as_mkdir_p || {
72582 as_dirs=
72583 while :; do
72584 case $as_dir in #(
72585 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
72586 *) as_qdir=$as_dir;;
72587 esac
72588 as_dirs="'$as_qdir' $as_dirs"
72589 as_dir=`$as_dirname -- "$as_dir" ||
72590 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
72591 X"$as_dir" : 'X\(//\)[^/]' \| \
72592 X"$as_dir" : 'X\(//\)$' \| \
72593 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
72594 $as_echo X"$as_dir" |
72595 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
72596 s//\1/
72597 q
72598 }
72599 /^X\(\/\/\)[^/].*/{
72600 s//\1/
72601 q
72602 }
72603 /^X\(\/\/\)$/{
72604 s//\1/
72605 q
72606 }
72607 /^X\(\/\).*/{
72608 s//\1/
72609 q
72610 }
72611 s/.*/./; q'`
72612 test -d "$as_dir" && break
72613 done
72614 test -z "$as_dirs" || eval "mkdir $as_dirs"
72615 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
72616
72617
72618 } # as_fn_mkdir_p
72619 if mkdir -p . 2>/dev/null; then
72620 as_mkdir_p='mkdir -p "$as_dir"'
72621 else
72622 test -d ./-p && rmdir ./-p
72623 as_mkdir_p=false
72624 fi
72625
72626 if test -x / >/dev/null 2>&1; then
72627 as_test_x='test -x'
72628 else
72629 if ls -dL / >/dev/null 2>&1; then
72630 as_ls_L_option=L
72631 else
72632 as_ls_L_option=
72633 fi
72634 as_test_x='
72635 eval sh -c '\''
72636 if test -d "$1"; then
72637 test -d "$1/.";
72638 else
72639 case $1 in #(
72640 -*)set "./$1";;
72641 esac;
72642 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
72643 ???[sx]*):;;*)false;;esac;fi
72644 '\'' sh
72645 '
72646 fi
72647 as_executable_p=$as_test_x
72648
72649 # Sed expression to map a string onto a valid CPP name.
72650 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
72651
72652 # Sed expression to map a string onto a valid variable name.
72653 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
72654
72655
72656 exec 6>&1
72657 ## ----------------------------------- ##
72658 ## Main body of $CONFIG_STATUS script. ##
72659 ## ----------------------------------- ##
72660 _ASEOF
72661 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
72662
72663 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72664 # Save the log message, to keep $0 and so on meaningful, and to
72665 # report actual input values of CONFIG_FILES etc. instead of their
72666 # values after options handling.
72667 ac_log="
72668 This file was extended by package-unused $as_me version-unused, which was
72669 generated by GNU Autoconf 2.64. Invocation command line was
72670
72671 CONFIG_FILES = $CONFIG_FILES
72672 CONFIG_HEADERS = $CONFIG_HEADERS
72673 CONFIG_LINKS = $CONFIG_LINKS
72674 CONFIG_COMMANDS = $CONFIG_COMMANDS
72675 $ $0 $@
72676
72677 on `(hostname || uname -n) 2>/dev/null | sed 1q`
72678 "
72679
72680 _ACEOF
72681
72682 case $ac_config_files in *"
72683 "*) set x $ac_config_files; shift; ac_config_files=$*;;
72684 esac
72685
72686 case $ac_config_headers in *"
72687 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
72688 esac
72689
72690
72691 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72692 # Files that config.status was made for.
72693 config_files="$ac_config_files"
72694 config_headers="$ac_config_headers"
72695 config_commands="$ac_config_commands"
72696
72697 _ACEOF
72698
72699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72700 ac_cs_usage="\
72701 \`$as_me' instantiates files and other configuration actions
72702 from templates according to the current configuration. Unless the files
72703 and actions are specified as TAGs, all are instantiated by default.
72704
72705 Usage: $0 [OPTION]... [TAG]...
72706
72707 -h, --help print this help, then exit
72708 -V, --version print version number and configuration settings, then exit
72709 -q, --quiet, --silent
72710 do not print progress messages
72711 -d, --debug don't remove temporary files
72712 --recheck update $as_me by reconfiguring in the same conditions
72713 --file=FILE[:TEMPLATE]
72714 instantiate the configuration file FILE
72715 --header=FILE[:TEMPLATE]
72716 instantiate the configuration header FILE
72717
72718 Configuration files:
72719 $config_files
72720
72721 Configuration headers:
72722 $config_headers
72723
72724 Configuration commands:
72725 $config_commands
72726
72727 Report bugs to the package provider."
72728
72729 _ACEOF
72730 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72731 ac_cs_version="\\
72732 package-unused config.status version-unused
72733 configured by $0, generated by GNU Autoconf 2.64,
72734 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
72735
72736 Copyright (C) 2009 Free Software Foundation, Inc.
72737 This config.status script is free software; the Free Software Foundation
72738 gives unlimited permission to copy, distribute and modify it."
72739
72740 ac_pwd='$ac_pwd'
72741 srcdir='$srcdir'
72742 INSTALL='$INSTALL'
72743 MKDIR_P='$MKDIR_P'
72744 AWK='$AWK'
72745 test -n "\$AWK" || AWK=awk
72746 _ACEOF
72747
72748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72749 # The default lists apply if the user does not specify any file.
72750 ac_need_defaults=:
72751 while test $# != 0
72752 do
72753 case $1 in
72754 --*=*)
72755 ac_option=`expr "X$1" : 'X\([^=]*\)='`
72756 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
72757 ac_shift=:
72758 ;;
72759 *)
72760 ac_option=$1
72761 ac_optarg=$2
72762 ac_shift=shift
72763 ;;
72764 esac
72765
72766 case $ac_option in
72767 # Handling of the options.
72768 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
72769 ac_cs_recheck=: ;;
72770 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
72771 $as_echo "$ac_cs_version"; exit ;;
72772 --debug | --debu | --deb | --de | --d | -d )
72773 debug=: ;;
72774 --file | --fil | --fi | --f )
72775 $ac_shift
72776 case $ac_optarg in
72777 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72778 esac
72779 as_fn_append CONFIG_FILES " '$ac_optarg'"
72780 ac_need_defaults=false;;
72781 --header | --heade | --head | --hea )
72782 $ac_shift
72783 case $ac_optarg in
72784 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
72785 esac
72786 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
72787 ac_need_defaults=false;;
72788 --he | --h)
72789 # Conflict between --help and --header
72790 as_fn_error "ambiguous option: \`$1'
72791 Try \`$0 --help' for more information.";;
72792 --help | --hel | -h )
72793 $as_echo "$ac_cs_usage"; exit ;;
72794 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
72795 | -silent | --silent | --silen | --sile | --sil | --si | --s)
72796 ac_cs_silent=: ;;
72797
72798 # This is an error.
72799 -*) as_fn_error "unrecognized option: \`$1'
72800 Try \`$0 --help' for more information." ;;
72801
72802 *) as_fn_append ac_config_targets " $1"
72803 ac_need_defaults=false ;;
72804
72805 esac
72806 shift
72807 done
72808
72809 ac_configure_extra_args=
72810
72811 if $ac_cs_silent; then
72812 exec 6>/dev/null
72813 ac_configure_extra_args="$ac_configure_extra_args --silent"
72814 fi
72815
72816 _ACEOF
72817 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72818 if \$ac_cs_recheck; then
72819 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
72820 shift
72821 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
72822 CONFIG_SHELL='$SHELL'
72823 export CONFIG_SHELL
72824 exec "\$@"
72825 fi
72826
72827 _ACEOF
72828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
72829 exec 5>>config.log
72830 {
72831 echo
72832 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
72833 ## Running $as_me. ##
72834 _ASBOX
72835 $as_echo "$ac_log"
72836 } >&5
72837
72838 _ACEOF
72839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
72840 #
72841 # INIT-COMMANDS
72842 #
72843
72844 srcdir="$srcdir"
72845 host="$host"
72846 target="$target"
72847 with_multisubdir="$with_multisubdir"
72848 with_multisrctop="$with_multisrctop"
72849 with_target_subdir="$with_target_subdir"
72850 ac_configure_args="${multilib_arg} ${ac_configure_args}"
72851 multi_basedir="$multi_basedir"
72852 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
72853 CC="$CC"
72854 CXX="$CXX"
72855 GFORTRAN="$GFORTRAN"
72856 GCJ="$GCJ"
72857
72858
72859 # The HP-UX ksh and POSIX shell print the target directory to stdout
72860 # if CDPATH is set.
72861 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
72862
72863 sed_quote_subst='$sed_quote_subst'
72864 double_quote_subst='$double_quote_subst'
72865 delay_variable_subst='$delay_variable_subst'
72866 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
72867 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
72868 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
72869 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
72870 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
72871 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
72872 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
72873 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
72874 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
72875 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
72876 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
72877 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
72878 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
72879 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
72880 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
72881 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
72882 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
72883 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
72884 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
72885 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
72886 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
72887 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
72888 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
72889 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
72890 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
72891 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
72892 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
72893 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
72894 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
72895 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
72896 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
72897 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
72898 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
72899 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
72900 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
72901 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
72902 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
72903 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72904 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72905 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
72906 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
72907 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
72908 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
72909 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
72910 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
72911 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
72912 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
72913 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
72914 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"`'
72915 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
72916 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
72917 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
72918 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
72919 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
72920 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
72921 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
72922 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
72923 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
72924 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
72925 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
72926 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
72927 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
72928 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
72929 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
72930 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72931 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
72932 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
72933 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
72934 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
72935 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
72936 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
72937 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
72938 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
72939 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72940 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
72941 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
72942 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
72943 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
72944 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
72945 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
72946 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
72947 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
72948 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
72949 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
72950 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
72951 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
72952 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
72953 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
72954 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
72955 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
72956 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
72957 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
72958 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
72959 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
72960 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
72961 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
72962 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
72963 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
72964 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
72965 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
72966 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
72967 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
72968 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
72969 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
72970 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
72971 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
72972 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
72973 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
72974 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
72975 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
72976 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
72977 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
72978 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
72979 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
72980 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
72981 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
72982 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
72983 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
72984 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
72985 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
72986 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
72987 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
72988 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
72989 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
72990 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
72991 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
72992 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
72993 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
72994 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72995 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
72996 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
72997 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
72998 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
72999 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
73000 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
73001 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
73002 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
73003 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
73004 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
73005 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73006 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73007 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
73008 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73009 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73010 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73011 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73012 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73013 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73014 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
73015 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73016 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
73017 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
73018 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
73019 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
73020 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
73021 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
73022 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
73023 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
73024 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
73025 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
73026 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
73027 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
73028 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
73029 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73030 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73031 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
73032 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
73033 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
73034 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
73035 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
73036 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73037 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
73038 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
73039 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
73040 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
73041
73042 LTCC='$LTCC'
73043 LTCFLAGS='$LTCFLAGS'
73044 compiler='$compiler_DEFAULT'
73045
73046 # A function that is used when there is no print builtin or printf.
73047 func_fallback_echo ()
73048 {
73049 eval 'cat <<_LTECHO_EOF
73050 \$1
73051 _LTECHO_EOF'
73052 }
73053
73054 # Quote evaled strings.
73055 for var in SHELL \
73056 ECHO \
73057 SED \
73058 GREP \
73059 EGREP \
73060 FGREP \
73061 LD \
73062 NM \
73063 LN_S \
73064 lt_SP2NL \
73065 lt_NL2SP \
73066 reload_flag \
73067 OBJDUMP \
73068 deplibs_check_method \
73069 file_magic_cmd \
73070 AR \
73071 AR_FLAGS \
73072 STRIP \
73073 RANLIB \
73074 CC \
73075 CFLAGS \
73076 compiler \
73077 lt_cv_sys_global_symbol_pipe \
73078 lt_cv_sys_global_symbol_to_cdecl \
73079 lt_cv_sys_global_symbol_to_c_name_address \
73080 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
73081 lt_prog_compiler_no_builtin_flag \
73082 lt_prog_compiler_wl \
73083 lt_prog_compiler_pic \
73084 lt_prog_compiler_static \
73085 lt_cv_prog_compiler_c_o \
73086 need_locks \
73087 DSYMUTIL \
73088 NMEDIT \
73089 LIPO \
73090 OTOOL \
73091 OTOOL64 \
73092 shrext_cmds \
73093 export_dynamic_flag_spec \
73094 whole_archive_flag_spec \
73095 compiler_needs_object \
73096 with_gnu_ld \
73097 allow_undefined_flag \
73098 no_undefined_flag \
73099 hardcode_libdir_flag_spec \
73100 hardcode_libdir_flag_spec_ld \
73101 hardcode_libdir_separator \
73102 fix_srcfile_path \
73103 exclude_expsyms \
73104 include_expsyms \
73105 file_list_spec \
73106 variables_saved_for_relink \
73107 libname_spec \
73108 library_names_spec \
73109 soname_spec \
73110 install_override_mode \
73111 finish_eval \
73112 old_striplib \
73113 striplib \
73114 compiler_lib_search_dirs \
73115 predep_objects \
73116 postdep_objects \
73117 predeps \
73118 postdeps \
73119 compiler_lib_search_path \
73120 LD_CXX \
73121 reload_flag_CXX \
73122 compiler_CXX \
73123 lt_prog_compiler_no_builtin_flag_CXX \
73124 lt_prog_compiler_wl_CXX \
73125 lt_prog_compiler_pic_CXX \
73126 lt_prog_compiler_static_CXX \
73127 lt_cv_prog_compiler_c_o_CXX \
73128 export_dynamic_flag_spec_CXX \
73129 whole_archive_flag_spec_CXX \
73130 compiler_needs_object_CXX \
73131 with_gnu_ld_CXX \
73132 allow_undefined_flag_CXX \
73133 no_undefined_flag_CXX \
73134 hardcode_libdir_flag_spec_CXX \
73135 hardcode_libdir_flag_spec_ld_CXX \
73136 hardcode_libdir_separator_CXX \
73137 fix_srcfile_path_CXX \
73138 exclude_expsyms_CXX \
73139 include_expsyms_CXX \
73140 file_list_spec_CXX \
73141 compiler_lib_search_dirs_CXX \
73142 predep_objects_CXX \
73143 postdep_objects_CXX \
73144 predeps_CXX \
73145 postdeps_CXX \
73146 compiler_lib_search_path_CXX; do
73147 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73148 *[\\\\\\\`\\"\\\$]*)
73149 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
73150 ;;
73151 *)
73152 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73153 ;;
73154 esac
73155 done
73156
73157 # Double-quote double-evaled strings.
73158 for var in reload_cmds \
73159 old_postinstall_cmds \
73160 old_postuninstall_cmds \
73161 old_archive_cmds \
73162 extract_expsyms_cmds \
73163 old_archive_from_new_cmds \
73164 old_archive_from_expsyms_cmds \
73165 archive_cmds \
73166 archive_expsym_cmds \
73167 module_cmds \
73168 module_expsym_cmds \
73169 export_symbols_cmds \
73170 prelink_cmds \
73171 postinstall_cmds \
73172 postuninstall_cmds \
73173 finish_cmds \
73174 sys_lib_search_path_spec \
73175 sys_lib_dlsearch_path_spec \
73176 reload_cmds_CXX \
73177 old_archive_cmds_CXX \
73178 old_archive_from_new_cmds_CXX \
73179 old_archive_from_expsyms_cmds_CXX \
73180 archive_cmds_CXX \
73181 archive_expsym_cmds_CXX \
73182 module_cmds_CXX \
73183 module_expsym_cmds_CXX \
73184 export_symbols_cmds_CXX \
73185 prelink_cmds_CXX; do
73186 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
73187 *[\\\\\\\`\\"\\\$]*)
73188 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
73189 ;;
73190 *)
73191 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
73192 ;;
73193 esac
73194 done
73195
73196 ac_aux_dir='$ac_aux_dir'
73197 xsi_shell='$xsi_shell'
73198 lt_shell_append='$lt_shell_append'
73199
73200 # See if we are running on zsh, and set the options which allow our
73201 # commands through without removal of \ escapes INIT.
73202 if test -n "\${ZSH_VERSION+set}" ; then
73203 setopt NO_GLOB_SUBST
73204 fi
73205
73206
73207 PACKAGE='$PACKAGE'
73208 VERSION='$VERSION'
73209 TIMESTAMP='$TIMESTAMP'
73210 RM='$RM'
73211 ofile='$ofile'
73212
73213
73214
73215
73216
73217
73218 GCC="$GCC"
73219 CC="$CC"
73220 acx_cv_header_stdint="$acx_cv_header_stdint"
73221 acx_cv_type_int8_t="$acx_cv_type_int8_t"
73222 acx_cv_type_int16_t="$acx_cv_type_int16_t"
73223 acx_cv_type_int32_t="$acx_cv_type_int32_t"
73224 acx_cv_type_int64_t="$acx_cv_type_int64_t"
73225 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
73226 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
73227 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
73228 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
73229 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
73230 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
73231 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
73232 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
73233 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
73234
73235
73236 _ACEOF
73237
73238 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73239
73240 # Handling of arguments.
73241 for ac_config_target in $ac_config_targets
73242 do
73243 case $ac_config_target in
73244 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
73245 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
73246 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
73247 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
73248 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
73249 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
73250 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
73251 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
73252 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
73253 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
73254 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
73255 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
73256 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
73257 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
73258 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
73259 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
73260 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
73261 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
73262
73263 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
73264 esac
73265 done
73266
73267
73268 # If the user did not use the arguments to specify the items to instantiate,
73269 # then the envvar interface is used. Set only those that are not.
73270 # We use the long form for the default assignment because of an extremely
73271 # bizarre bug on SunOS 4.1.3.
73272 if $ac_need_defaults; then
73273 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
73274 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
73275 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
73276 fi
73277
73278 # Have a temporary directory for convenience. Make it in the build tree
73279 # simply because there is no reason against having it here, and in addition,
73280 # creating and moving files from /tmp can sometimes cause problems.
73281 # Hook for its removal unless debugging.
73282 # Note that there is a small window in which the directory will not be cleaned:
73283 # after its creation but before its name has been assigned to `$tmp'.
73284 $debug ||
73285 {
73286 tmp=
73287 trap 'exit_status=$?
73288 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
73289 ' 0
73290 trap 'as_fn_exit 1' 1 2 13 15
73291 }
73292 # Create a (secure) tmp directory for tmp files.
73293
73294 {
73295 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
73296 test -n "$tmp" && test -d "$tmp"
73297 } ||
73298 {
73299 tmp=./conf$$-$RANDOM
73300 (umask 077 && mkdir "$tmp")
73301 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
73302
73303 # Set up the scripts for CONFIG_FILES section.
73304 # No need to generate them if there are no CONFIG_FILES.
73305 # This happens for instance with `./config.status config.h'.
73306 if test -n "$CONFIG_FILES"; then
73307
73308
73309 ac_cr=`echo X | tr X '\015'`
73310 # On cygwin, bash can eat \r inside `` if the user requested igncr.
73311 # But we know of no other shell where ac_cr would be empty at this
73312 # point, so we can use a bashism as a fallback.
73313 if test "x$ac_cr" = x; then
73314 eval ac_cr=\$\'\\r\'
73315 fi
73316 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
73317 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
73318 ac_cs_awk_cr='\r'
73319 else
73320 ac_cs_awk_cr=$ac_cr
73321 fi
73322
73323 echo 'BEGIN {' >"$tmp/subs1.awk" &&
73324 _ACEOF
73325
73326
73327 {
73328 echo "cat >conf$$subs.awk <<_ACEOF" &&
73329 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
73330 echo "_ACEOF"
73331 } >conf$$subs.sh ||
73332 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73333 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
73334 ac_delim='%!_!# '
73335 for ac_last_try in false false false false false :; do
73336 . ./conf$$subs.sh ||
73337 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73338
73339 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
73340 if test $ac_delim_n = $ac_delim_num; then
73341 break
73342 elif $ac_last_try; then
73343 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
73344 else
73345 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73346 fi
73347 done
73348 rm -f conf$$subs.sh
73349
73350 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73351 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
73352 _ACEOF
73353 sed -n '
73354 h
73355 s/^/S["/; s/!.*/"]=/
73356 p
73357 g
73358 s/^[^!]*!//
73359 :repl
73360 t repl
73361 s/'"$ac_delim"'$//
73362 t delim
73363 :nl
73364 h
73365 s/\(.\{148\}\).*/\1/
73366 t more1
73367 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
73368 p
73369 n
73370 b repl
73371 :more1
73372 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73373 p
73374 g
73375 s/.\{148\}//
73376 t nl
73377 :delim
73378 h
73379 s/\(.\{148\}\).*/\1/
73380 t more2
73381 s/["\\]/\\&/g; s/^/"/; s/$/"/
73382 p
73383 b
73384 :more2
73385 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
73386 p
73387 g
73388 s/.\{148\}//
73389 t delim
73390 ' <conf$$subs.awk | sed '
73391 /^[^""]/{
73392 N
73393 s/\n//
73394 }
73395 ' >>$CONFIG_STATUS || ac_write_fail=1
73396 rm -f conf$$subs.awk
73397 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73398 _ACAWK
73399 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
73400 for (key in S) S_is_set[key] = 1
73401 FS = "\a"
73402
73403 }
73404 {
73405 line = $ 0
73406 nfields = split(line, field, "@")
73407 substed = 0
73408 len = length(field[1])
73409 for (i = 2; i < nfields; i++) {
73410 key = field[i]
73411 keylen = length(key)
73412 if (S_is_set[key]) {
73413 value = S[key]
73414 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
73415 len += length(value) + length(field[++i])
73416 substed = 1
73417 } else
73418 len += 1 + keylen
73419 }
73420
73421 print line
73422 }
73423
73424 _ACAWK
73425 _ACEOF
73426 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73427 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
73428 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
73429 else
73430 cat
73431 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
73432 || as_fn_error "could not setup config files machinery" "$LINENO" 5
73433 _ACEOF
73434
73435 # VPATH may cause trouble with some makes, so we remove $(srcdir),
73436 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
73437 # trailing colons and then remove the whole line if VPATH becomes empty
73438 # (actually we leave an empty line to preserve line numbers).
73439 if test "x$srcdir" = x.; then
73440 ac_vpsub='/^[ ]*VPATH[ ]*=/{
73441 s/:*\$(srcdir):*/:/
73442 s/:*\${srcdir}:*/:/
73443 s/:*@srcdir@:*/:/
73444 s/^\([^=]*=[ ]*\):*/\1/
73445 s/:*$//
73446 s/^[^=]*=[ ]*$//
73447 }'
73448 fi
73449
73450 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73451 fi # test -n "$CONFIG_FILES"
73452
73453 # Set up the scripts for CONFIG_HEADERS section.
73454 # No need to generate them if there are no CONFIG_HEADERS.
73455 # This happens for instance with `./config.status Makefile'.
73456 if test -n "$CONFIG_HEADERS"; then
73457 cat >"$tmp/defines.awk" <<\_ACAWK ||
73458 BEGIN {
73459 _ACEOF
73460
73461 # Transform confdefs.h into an awk script `defines.awk', embedded as
73462 # here-document in config.status, that substitutes the proper values into
73463 # config.h.in to produce config.h.
73464
73465 # Create a delimiter string that does not exist in confdefs.h, to ease
73466 # handling of long lines.
73467 ac_delim='%!_!# '
73468 for ac_last_try in false false :; do
73469 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
73470 if test -z "$ac_t"; then
73471 break
73472 elif $ac_last_try; then
73473 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
73474 else
73475 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
73476 fi
73477 done
73478
73479 # For the awk script, D is an array of macro values keyed by name,
73480 # likewise P contains macro parameters if any. Preserve backslash
73481 # newline sequences.
73482
73483 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
73484 sed -n '
73485 s/.\{148\}/&'"$ac_delim"'/g
73486 t rset
73487 :rset
73488 s/^[ ]*#[ ]*define[ ][ ]*/ /
73489 t def
73490 d
73491 :def
73492 s/\\$//
73493 t bsnl
73494 s/["\\]/\\&/g
73495 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73496 D["\1"]=" \3"/p
73497 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
73498 d
73499 :bsnl
73500 s/["\\]/\\&/g
73501 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
73502 D["\1"]=" \3\\\\\\n"\\/p
73503 t cont
73504 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
73505 t cont
73506 d
73507 :cont
73508 n
73509 s/.\{148\}/&'"$ac_delim"'/g
73510 t clear
73511 :clear
73512 s/\\$//
73513 t bsnlc
73514 s/["\\]/\\&/g; s/^/"/; s/$/"/p
73515 d
73516 :bsnlc
73517 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
73518 b cont
73519 ' <confdefs.h | sed '
73520 s/'"$ac_delim"'/"\\\
73521 "/g' >>$CONFIG_STATUS || ac_write_fail=1
73522
73523 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73524 for (key in D) D_is_set[key] = 1
73525 FS = "\a"
73526 }
73527 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
73528 line = \$ 0
73529 split(line, arg, " ")
73530 if (arg[1] == "#") {
73531 defundef = arg[2]
73532 mac1 = arg[3]
73533 } else {
73534 defundef = substr(arg[1], 2)
73535 mac1 = arg[2]
73536 }
73537 split(mac1, mac2, "(") #)
73538 macro = mac2[1]
73539 prefix = substr(line, 1, index(line, defundef) - 1)
73540 if (D_is_set[macro]) {
73541 # Preserve the white space surrounding the "#".
73542 print prefix "define", macro P[macro] D[macro]
73543 next
73544 } else {
73545 # Replace #undef with comments. This is necessary, for example,
73546 # in the case of _POSIX_SOURCE, which is predefined and required
73547 # on some systems where configure will not decide to define it.
73548 if (defundef == "undef") {
73549 print "/*", prefix defundef, macro, "*/"
73550 next
73551 }
73552 }
73553 }
73554 { print }
73555 _ACAWK
73556 _ACEOF
73557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73558 as_fn_error "could not setup config headers machinery" "$LINENO" 5
73559 fi # test -n "$CONFIG_HEADERS"
73560
73561
73562 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
73563 shift
73564 for ac_tag
73565 do
73566 case $ac_tag in
73567 :[FHLC]) ac_mode=$ac_tag; continue;;
73568 esac
73569 case $ac_mode$ac_tag in
73570 :[FHL]*:*);;
73571 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
73572 :[FH]-) ac_tag=-:-;;
73573 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
73574 esac
73575 ac_save_IFS=$IFS
73576 IFS=:
73577 set x $ac_tag
73578 IFS=$ac_save_IFS
73579 shift
73580 ac_file=$1
73581 shift
73582
73583 case $ac_mode in
73584 :L) ac_source=$1;;
73585 :[FH])
73586 ac_file_inputs=
73587 for ac_f
73588 do
73589 case $ac_f in
73590 -) ac_f="$tmp/stdin";;
73591 *) # Look for the file first in the build tree, then in the source tree
73592 # (if the path is not absolute). The absolute path cannot be DOS-style,
73593 # because $ac_f cannot contain `:'.
73594 test -f "$ac_f" ||
73595 case $ac_f in
73596 [\\/$]*) false;;
73597 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
73598 esac ||
73599 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
73600 esac
73601 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
73602 as_fn_append ac_file_inputs " '$ac_f'"
73603 done
73604
73605 # Let's still pretend it is `configure' which instantiates (i.e., don't
73606 # use $as_me), people would be surprised to read:
73607 # /* config.h. Generated by config.status. */
73608 configure_input='Generated from '`
73609 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
73610 `' by configure.'
73611 if test x"$ac_file" != x-; then
73612 configure_input="$ac_file. $configure_input"
73613 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
73614 $as_echo "$as_me: creating $ac_file" >&6;}
73615 fi
73616 # Neutralize special characters interpreted by sed in replacement strings.
73617 case $configure_input in #(
73618 *\&* | *\|* | *\\* )
73619 ac_sed_conf_input=`$as_echo "$configure_input" |
73620 sed 's/[\\\\&|]/\\\\&/g'`;; #(
73621 *) ac_sed_conf_input=$configure_input;;
73622 esac
73623
73624 case $ac_tag in
73625 *:-:* | *:-) cat >"$tmp/stdin" \
73626 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
73627 esac
73628 ;;
73629 esac
73630
73631 ac_dir=`$as_dirname -- "$ac_file" ||
73632 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73633 X"$ac_file" : 'X\(//\)[^/]' \| \
73634 X"$ac_file" : 'X\(//\)$' \| \
73635 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
73636 $as_echo X"$ac_file" |
73637 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73638 s//\1/
73639 q
73640 }
73641 /^X\(\/\/\)[^/].*/{
73642 s//\1/
73643 q
73644 }
73645 /^X\(\/\/\)$/{
73646 s//\1/
73647 q
73648 }
73649 /^X\(\/\).*/{
73650 s//\1/
73651 q
73652 }
73653 s/.*/./; q'`
73654 as_dir="$ac_dir"; as_fn_mkdir_p
73655 ac_builddir=.
73656
73657 case "$ac_dir" in
73658 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
73659 *)
73660 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
73661 # A ".." for each directory in $ac_dir_suffix.
73662 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
73663 case $ac_top_builddir_sub in
73664 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
73665 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
73666 esac ;;
73667 esac
73668 ac_abs_top_builddir=$ac_pwd
73669 ac_abs_builddir=$ac_pwd$ac_dir_suffix
73670 # for backward compatibility:
73671 ac_top_builddir=$ac_top_build_prefix
73672
73673 case $srcdir in
73674 .) # We are building in place.
73675 ac_srcdir=.
73676 ac_top_srcdir=$ac_top_builddir_sub
73677 ac_abs_top_srcdir=$ac_pwd ;;
73678 [\\/]* | ?:[\\/]* ) # Absolute name.
73679 ac_srcdir=$srcdir$ac_dir_suffix;
73680 ac_top_srcdir=$srcdir
73681 ac_abs_top_srcdir=$srcdir ;;
73682 *) # Relative name.
73683 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
73684 ac_top_srcdir=$ac_top_build_prefix$srcdir
73685 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
73686 esac
73687 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
73688
73689
73690 case $ac_mode in
73691 :F)
73692 #
73693 # CONFIG_FILE
73694 #
73695
73696 case $INSTALL in
73697 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
73698 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
73699 esac
73700 ac_MKDIR_P=$MKDIR_P
73701 case $MKDIR_P in
73702 [\\/$]* | ?:[\\/]* ) ;;
73703 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
73704 esac
73705 _ACEOF
73706
73707 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73708 # If the template does not know about datarootdir, expand it.
73709 # FIXME: This hack should be removed a few years after 2.60.
73710 ac_datarootdir_hack=; ac_datarootdir_seen=
73711 ac_sed_dataroot='
73712 /datarootdir/ {
73713 p
73714 q
73715 }
73716 /@datadir@/p
73717 /@docdir@/p
73718 /@infodir@/p
73719 /@localedir@/p
73720 /@mandir@/p'
73721 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
73722 *datarootdir*) ac_datarootdir_seen=yes;;
73723 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
73724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
73725 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
73726 _ACEOF
73727 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73728 ac_datarootdir_hack='
73729 s&@datadir@&$datadir&g
73730 s&@docdir@&$docdir&g
73731 s&@infodir@&$infodir&g
73732 s&@localedir@&$localedir&g
73733 s&@mandir@&$mandir&g
73734 s&\\\${datarootdir}&$datarootdir&g' ;;
73735 esac
73736 _ACEOF
73737
73738 # Neutralize VPATH when `$srcdir' = `.'.
73739 # Shell code in configure.ac might set extrasub.
73740 # FIXME: do we really want to maintain this feature?
73741 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
73742 ac_sed_extra="$ac_vpsub
73743 $extrasub
73744 _ACEOF
73745 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
73746 :t
73747 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
73748 s|@configure_input@|$ac_sed_conf_input|;t t
73749 s&@top_builddir@&$ac_top_builddir_sub&;t t
73750 s&@top_build_prefix@&$ac_top_build_prefix&;t t
73751 s&@srcdir@&$ac_srcdir&;t t
73752 s&@abs_srcdir@&$ac_abs_srcdir&;t t
73753 s&@top_srcdir@&$ac_top_srcdir&;t t
73754 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
73755 s&@builddir@&$ac_builddir&;t t
73756 s&@abs_builddir@&$ac_abs_builddir&;t t
73757 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
73758 s&@INSTALL@&$ac_INSTALL&;t t
73759 s&@MKDIR_P@&$ac_MKDIR_P&;t t
73760 $ac_datarootdir_hack
73761 "
73762 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
73763 || as_fn_error "could not create $ac_file" "$LINENO" 5
73764
73765 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
73766 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
73767 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
73768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73769 which seems to be undefined. Please make sure it is defined." >&5
73770 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
73771 which seems to be undefined. Please make sure it is defined." >&2;}
73772
73773 rm -f "$tmp/stdin"
73774 case $ac_file in
73775 -) cat "$tmp/out" && rm -f "$tmp/out";;
73776 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
73777 esac \
73778 || as_fn_error "could not create $ac_file" "$LINENO" 5
73779 ;;
73780 :H)
73781 #
73782 # CONFIG_HEADER
73783 #
73784 if test x"$ac_file" != x-; then
73785 {
73786 $as_echo "/* $configure_input */" \
73787 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
73788 } >"$tmp/config.h" \
73789 || as_fn_error "could not create $ac_file" "$LINENO" 5
73790 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
73791 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
73792 $as_echo "$as_me: $ac_file is unchanged" >&6;}
73793 else
73794 rm -f "$ac_file"
73795 mv "$tmp/config.h" "$ac_file" \
73796 || as_fn_error "could not create $ac_file" "$LINENO" 5
73797 fi
73798 else
73799 $as_echo "/* $configure_input */" \
73800 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
73801 || as_fn_error "could not create -" "$LINENO" 5
73802 fi
73803 # Compute "$ac_file"'s index in $config_headers.
73804 _am_arg="$ac_file"
73805 _am_stamp_count=1
73806 for _am_header in $config_headers :; do
73807 case $_am_header in
73808 $_am_arg | $_am_arg:* )
73809 break ;;
73810 * )
73811 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
73812 esac
73813 done
73814 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
73815 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
73816 X"$_am_arg" : 'X\(//\)[^/]' \| \
73817 X"$_am_arg" : 'X\(//\)$' \| \
73818 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
73819 $as_echo X"$_am_arg" |
73820 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
73821 s//\1/
73822 q
73823 }
73824 /^X\(\/\/\)[^/].*/{
73825 s//\1/
73826 q
73827 }
73828 /^X\(\/\/\)$/{
73829 s//\1/
73830 q
73831 }
73832 /^X\(\/\).*/{
73833 s//\1/
73834 q
73835 }
73836 s/.*/./; q'`/stamp-h$_am_stamp_count
73837 ;;
73838
73839 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
73840 $as_echo "$as_me: executing $ac_file commands" >&6;}
73841 ;;
73842 esac
73843
73844
73845 case $ac_file$ac_mode in
73846 "default-1":C)
73847 # Only add multilib support code if we just rebuilt the top-level
73848 # Makefile.
73849 case " $CONFIG_FILES " in
73850 *" Makefile "*)
73851 ac_file=Makefile . ${multi_basedir}/config-ml.in
73852 ;;
73853 esac ;;
73854 "libtool":C)
73855
73856 # See if we are running on zsh, and set the options which allow our
73857 # commands through without removal of \ escapes.
73858 if test -n "${ZSH_VERSION+set}" ; then
73859 setopt NO_GLOB_SUBST
73860 fi
73861
73862 cfgfile="${ofile}T"
73863 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
73864 $RM "$cfgfile"
73865
73866 cat <<_LT_EOF >> "$cfgfile"
73867 #! $SHELL
73868
73869 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
73870 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
73871 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
73872 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
73873 #
73874 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
73875 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
73876 # Written by Gordon Matzigkeit, 1996
73877 #
73878 # This file is part of GNU Libtool.
73879 #
73880 # GNU Libtool is free software; you can redistribute it and/or
73881 # modify it under the terms of the GNU General Public License as
73882 # published by the Free Software Foundation; either version 2 of
73883 # the License, or (at your option) any later version.
73884 #
73885 # As a special exception to the GNU General Public License,
73886 # if you distribute this file as part of a program or library that
73887 # is built using GNU Libtool, you may include this file under the
73888 # same distribution terms that you use for the rest of that program.
73889 #
73890 # GNU Libtool is distributed in the hope that it will be useful,
73891 # but WITHOUT ANY WARRANTY; without even the implied warranty of
73892 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
73893 # GNU General Public License for more details.
73894 #
73895 # You should have received a copy of the GNU General Public License
73896 # along with GNU Libtool; see the file COPYING. If not, a copy
73897 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
73898 # obtained by writing to the Free Software Foundation, Inc.,
73899 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
73900
73901
73902 # The names of the tagged configurations supported by this script.
73903 available_tags="CXX "
73904
73905 # ### BEGIN LIBTOOL CONFIG
73906
73907 # Which release of libtool.m4 was used?
73908 macro_version=$macro_version
73909 macro_revision=$macro_revision
73910
73911 # Whether or not to build shared libraries.
73912 build_libtool_libs=$enable_shared
73913
73914 # Whether or not to build static libraries.
73915 build_old_libs=$enable_static
73916
73917 # What type of objects to build.
73918 pic_mode=$pic_mode
73919
73920 # Whether or not to optimize for fast installation.
73921 fast_install=$enable_fast_install
73922
73923 # Shell to use when invoking shell scripts.
73924 SHELL=$lt_SHELL
73925
73926 # An echo program that protects backslashes.
73927 ECHO=$lt_ECHO
73928
73929 # The host system.
73930 host_alias=$host_alias
73931 host=$host
73932 host_os=$host_os
73933
73934 # The build system.
73935 build_alias=$build_alias
73936 build=$build
73937 build_os=$build_os
73938
73939 # A sed program that does not truncate output.
73940 SED=$lt_SED
73941
73942 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
73943 Xsed="\$SED -e 1s/^X//"
73944
73945 # A grep program that handles long lines.
73946 GREP=$lt_GREP
73947
73948 # An ERE matcher.
73949 EGREP=$lt_EGREP
73950
73951 # A literal string matcher.
73952 FGREP=$lt_FGREP
73953
73954 # A BSD- or MS-compatible name lister.
73955 NM=$lt_NM
73956
73957 # Whether we need soft or hard links.
73958 LN_S=$lt_LN_S
73959
73960 # What is the maximum length of a command?
73961 max_cmd_len=$max_cmd_len
73962
73963 # Object file suffix (normally "o").
73964 objext=$ac_objext
73965
73966 # Executable file suffix (normally "").
73967 exeext=$exeext
73968
73969 # whether the shell understands "unset".
73970 lt_unset=$lt_unset
73971
73972 # turn spaces into newlines.
73973 SP2NL=$lt_lt_SP2NL
73974
73975 # turn newlines into spaces.
73976 NL2SP=$lt_lt_NL2SP
73977
73978 # An object symbol dumper.
73979 OBJDUMP=$lt_OBJDUMP
73980
73981 # Method to check whether dependent libraries are shared objects.
73982 deplibs_check_method=$lt_deplibs_check_method
73983
73984 # Command to use when deplibs_check_method == "file_magic".
73985 file_magic_cmd=$lt_file_magic_cmd
73986
73987 # The archiver.
73988 AR=$lt_AR
73989 AR_FLAGS=$lt_AR_FLAGS
73990
73991 # A symbol stripping program.
73992 STRIP=$lt_STRIP
73993
73994 # Commands used to install an old-style archive.
73995 RANLIB=$lt_RANLIB
73996 old_postinstall_cmds=$lt_old_postinstall_cmds
73997 old_postuninstall_cmds=$lt_old_postuninstall_cmds
73998
73999 # Whether to use a lock for old archive extraction.
74000 lock_old_archive_extraction=$lock_old_archive_extraction
74001
74002 # A C compiler.
74003 LTCC=$lt_CC
74004
74005 # LTCC compiler flags.
74006 LTCFLAGS=$lt_CFLAGS
74007
74008 # Take the output of nm and produce a listing of raw symbols and C names.
74009 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
74010
74011 # Transform the output of nm in a proper C declaration.
74012 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
74013
74014 # Transform the output of nm in a C name address pair.
74015 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
74016
74017 # Transform the output of nm in a C name address pair when lib prefix is needed.
74018 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
74019
74020 # The name of the directory that contains temporary libtool files.
74021 objdir=$objdir
74022
74023 # Used to examine libraries when file_magic_cmd begins with "file".
74024 MAGIC_CMD=$MAGIC_CMD
74025
74026 # Must we lock files when doing compilation?
74027 need_locks=$lt_need_locks
74028
74029 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
74030 DSYMUTIL=$lt_DSYMUTIL
74031
74032 # Tool to change global to local symbols on Mac OS X.
74033 NMEDIT=$lt_NMEDIT
74034
74035 # Tool to manipulate fat objects and archives on Mac OS X.
74036 LIPO=$lt_LIPO
74037
74038 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
74039 OTOOL=$lt_OTOOL
74040
74041 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
74042 OTOOL64=$lt_OTOOL64
74043
74044 # Old archive suffix (normally "a").
74045 libext=$libext
74046
74047 # Shared library suffix (normally ".so").
74048 shrext_cmds=$lt_shrext_cmds
74049
74050 # The commands to extract the exported symbol list from a shared archive.
74051 extract_expsyms_cmds=$lt_extract_expsyms_cmds
74052
74053 # Variables whose values should be saved in libtool wrapper scripts and
74054 # restored at link time.
74055 variables_saved_for_relink=$lt_variables_saved_for_relink
74056
74057 # Do we need the "lib" prefix for modules?
74058 need_lib_prefix=$need_lib_prefix
74059
74060 # Do we need a version for libraries?
74061 need_version=$need_version
74062
74063 # Library versioning type.
74064 version_type=$version_type
74065
74066 # Shared library runtime path variable.
74067 runpath_var=$runpath_var
74068
74069 # Shared library path variable.
74070 shlibpath_var=$shlibpath_var
74071
74072 # Is shlibpath searched before the hard-coded library search path?
74073 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
74074
74075 # Format of library name prefix.
74076 libname_spec=$lt_libname_spec
74077
74078 # List of archive names. First name is the real one, the rest are links.
74079 # The last name is the one that the linker finds with -lNAME
74080 library_names_spec=$lt_library_names_spec
74081
74082 # The coded name of the library, if different from the real name.
74083 soname_spec=$lt_soname_spec
74084
74085 # Permission mode override for installation of shared libraries.
74086 install_override_mode=$lt_install_override_mode
74087
74088 # Command to use after installation of a shared archive.
74089 postinstall_cmds=$lt_postinstall_cmds
74090
74091 # Command to use after uninstallation of a shared archive.
74092 postuninstall_cmds=$lt_postuninstall_cmds
74093
74094 # Commands used to finish a libtool library installation in a directory.
74095 finish_cmds=$lt_finish_cmds
74096
74097 # As "finish_cmds", except a single script fragment to be evaled but
74098 # not shown.
74099 finish_eval=$lt_finish_eval
74100
74101 # Whether we should hardcode library paths into libraries.
74102 hardcode_into_libs=$hardcode_into_libs
74103
74104 # Compile-time system search path for libraries.
74105 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
74106
74107 # Run-time system search path for libraries.
74108 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
74109
74110 # Whether dlopen is supported.
74111 dlopen_support=$enable_dlopen
74112
74113 # Whether dlopen of programs is supported.
74114 dlopen_self=$enable_dlopen_self
74115
74116 # Whether dlopen of statically linked programs is supported.
74117 dlopen_self_static=$enable_dlopen_self_static
74118
74119 # Commands to strip libraries.
74120 old_striplib=$lt_old_striplib
74121 striplib=$lt_striplib
74122
74123
74124 # The linker used to build libraries.
74125 LD=$lt_LD
74126
74127 # How to create reloadable object files.
74128 reload_flag=$lt_reload_flag
74129 reload_cmds=$lt_reload_cmds
74130
74131 # Commands used to build an old-style archive.
74132 old_archive_cmds=$lt_old_archive_cmds
74133
74134 # A language specific compiler.
74135 CC=$lt_compiler
74136
74137 # Is the compiler the GNU compiler?
74138 with_gcc=$GCC
74139
74140 # Compiler flag to turn off builtin functions.
74141 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
74142
74143 # How to pass a linker flag through the compiler.
74144 wl=$lt_lt_prog_compiler_wl
74145
74146 # Additional compiler flags for building library objects.
74147 pic_flag=$lt_lt_prog_compiler_pic
74148
74149 # Compiler flag to prevent dynamic linking.
74150 link_static_flag=$lt_lt_prog_compiler_static
74151
74152 # Does compiler simultaneously support -c and -o options?
74153 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
74154
74155 # Whether or not to add -lc for building shared libraries.
74156 build_libtool_need_lc=$archive_cmds_need_lc
74157
74158 # Whether or not to disallow shared libs when runtime libs are static.
74159 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
74160
74161 # Compiler flag to allow reflexive dlopens.
74162 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
74163
74164 # Compiler flag to generate shared objects directly from archives.
74165 whole_archive_flag_spec=$lt_whole_archive_flag_spec
74166
74167 # Whether the compiler copes with passing no objects directly.
74168 compiler_needs_object=$lt_compiler_needs_object
74169
74170 # Create an old-style archive from a shared archive.
74171 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
74172
74173 # Create a temporary old-style archive to link instead of a shared archive.
74174 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
74175
74176 # Commands used to build a shared archive.
74177 archive_cmds=$lt_archive_cmds
74178 archive_expsym_cmds=$lt_archive_expsym_cmds
74179
74180 # Commands used to build a loadable module if different from building
74181 # a shared archive.
74182 module_cmds=$lt_module_cmds
74183 module_expsym_cmds=$lt_module_expsym_cmds
74184
74185 # Whether we are building with GNU ld or not.
74186 with_gnu_ld=$lt_with_gnu_ld
74187
74188 # Flag that allows shared libraries with undefined symbols to be built.
74189 allow_undefined_flag=$lt_allow_undefined_flag
74190
74191 # Flag that enforces no undefined symbols.
74192 no_undefined_flag=$lt_no_undefined_flag
74193
74194 # Flag to hardcode \$libdir into a binary during linking.
74195 # This must work even if \$libdir does not exist
74196 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
74197
74198 # If ld is used when linking, flag to hardcode \$libdir into a binary
74199 # during linking. This must work even if \$libdir does not exist.
74200 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
74201
74202 # Whether we need a single "-rpath" flag with a separated argument.
74203 hardcode_libdir_separator=$lt_hardcode_libdir_separator
74204
74205 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74206 # DIR into the resulting binary.
74207 hardcode_direct=$hardcode_direct
74208
74209 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74210 # DIR into the resulting binary and the resulting library dependency is
74211 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74212 # library is relocated.
74213 hardcode_direct_absolute=$hardcode_direct_absolute
74214
74215 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74216 # into the resulting binary.
74217 hardcode_minus_L=$hardcode_minus_L
74218
74219 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74220 # into the resulting binary.
74221 hardcode_shlibpath_var=$hardcode_shlibpath_var
74222
74223 # Set to "yes" if building a shared library automatically hardcodes DIR
74224 # into the library and all subsequent libraries and executables linked
74225 # against it.
74226 hardcode_automatic=$hardcode_automatic
74227
74228 # Set to yes if linker adds runtime paths of dependent libraries
74229 # to runtime path list.
74230 inherit_rpath=$inherit_rpath
74231
74232 # Whether libtool must link a program against all its dependency libraries.
74233 link_all_deplibs=$link_all_deplibs
74234
74235 # Fix the shell variable \$srcfile for the compiler.
74236 fix_srcfile_path=$lt_fix_srcfile_path
74237
74238 # Set to "yes" if exported symbols are required.
74239 always_export_symbols=$always_export_symbols
74240
74241 # The commands to list exported symbols.
74242 export_symbols_cmds=$lt_export_symbols_cmds
74243
74244 # Symbols that should not be listed in the preloaded symbols.
74245 exclude_expsyms=$lt_exclude_expsyms
74246
74247 # Symbols that must always be exported.
74248 include_expsyms=$lt_include_expsyms
74249
74250 # Commands necessary for linking programs (against libraries) with templates.
74251 prelink_cmds=$lt_prelink_cmds
74252
74253 # Specify filename containing input files.
74254 file_list_spec=$lt_file_list_spec
74255
74256 # How to hardcode a shared library path into an executable.
74257 hardcode_action=$hardcode_action
74258
74259 # The directories searched by this compiler when creating a shared library.
74260 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
74261
74262 # Dependencies to place before and after the objects being linked to
74263 # create a shared library.
74264 predep_objects=$lt_predep_objects
74265 postdep_objects=$lt_postdep_objects
74266 predeps=$lt_predeps
74267 postdeps=$lt_postdeps
74268
74269 # The library search path used internally by the compiler when linking
74270 # a shared library.
74271 compiler_lib_search_path=$lt_compiler_lib_search_path
74272
74273 # ### END LIBTOOL CONFIG
74274
74275 _LT_EOF
74276
74277 case $host_os in
74278 aix3*)
74279 cat <<\_LT_EOF >> "$cfgfile"
74280 # AIX sometimes has problems with the GCC collect2 program. For some
74281 # reason, if we set the COLLECT_NAMES environment variable, the problems
74282 # vanish in a puff of smoke.
74283 if test "X${COLLECT_NAMES+set}" != Xset; then
74284 COLLECT_NAMES=
74285 export COLLECT_NAMES
74286 fi
74287 _LT_EOF
74288 ;;
74289 esac
74290
74291
74292 ltmain="$ac_aux_dir/ltmain.sh"
74293
74294
74295 # We use sed instead of cat because bash on DJGPP gets confused if
74296 # if finds mixed CR/LF and LF-only lines. Since sed operates in
74297 # text mode, it properly converts lines to CR/LF. This bash problem
74298 # is reportedly fixed, but why not run on old versions too?
74299 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
74300 || (rm -f "$cfgfile"; exit 1)
74301
74302 case $xsi_shell in
74303 yes)
74304 cat << \_LT_EOF >> "$cfgfile"
74305
74306 # func_dirname file append nondir_replacement
74307 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74308 # otherwise set result to NONDIR_REPLACEMENT.
74309 func_dirname ()
74310 {
74311 case ${1} in
74312 */*) func_dirname_result="${1%/*}${2}" ;;
74313 * ) func_dirname_result="${3}" ;;
74314 esac
74315 }
74316
74317 # func_basename file
74318 func_basename ()
74319 {
74320 func_basename_result="${1##*/}"
74321 }
74322
74323 # func_dirname_and_basename file append nondir_replacement
74324 # perform func_basename and func_dirname in a single function
74325 # call:
74326 # dirname: Compute the dirname of FILE. If nonempty,
74327 # add APPEND to the result, otherwise set result
74328 # to NONDIR_REPLACEMENT.
74329 # value returned in "$func_dirname_result"
74330 # basename: Compute filename of FILE.
74331 # value retuned in "$func_basename_result"
74332 # Implementation must be kept synchronized with func_dirname
74333 # and func_basename. For efficiency, we do not delegate to
74334 # those functions but instead duplicate the functionality here.
74335 func_dirname_and_basename ()
74336 {
74337 case ${1} in
74338 */*) func_dirname_result="${1%/*}${2}" ;;
74339 * ) func_dirname_result="${3}" ;;
74340 esac
74341 func_basename_result="${1##*/}"
74342 }
74343
74344 # func_stripname prefix suffix name
74345 # strip PREFIX and SUFFIX off of NAME.
74346 # PREFIX and SUFFIX must not contain globbing or regex special
74347 # characters, hashes, percent signs, but SUFFIX may contain a leading
74348 # dot (in which case that matches only a dot).
74349 func_stripname ()
74350 {
74351 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
74352 # positional parameters, so assign one to ordinary parameter first.
74353 func_stripname_result=${3}
74354 func_stripname_result=${func_stripname_result#"${1}"}
74355 func_stripname_result=${func_stripname_result%"${2}"}
74356 }
74357
74358 # func_opt_split
74359 func_opt_split ()
74360 {
74361 func_opt_split_opt=${1%%=*}
74362 func_opt_split_arg=${1#*=}
74363 }
74364
74365 # func_lo2o object
74366 func_lo2o ()
74367 {
74368 case ${1} in
74369 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
74370 *) func_lo2o_result=${1} ;;
74371 esac
74372 }
74373
74374 # func_xform libobj-or-source
74375 func_xform ()
74376 {
74377 func_xform_result=${1%.*}.lo
74378 }
74379
74380 # func_arith arithmetic-term...
74381 func_arith ()
74382 {
74383 func_arith_result=$(( $* ))
74384 }
74385
74386 # func_len string
74387 # STRING may not start with a hyphen.
74388 func_len ()
74389 {
74390 func_len_result=${#1}
74391 }
74392
74393 _LT_EOF
74394 ;;
74395 *) # Bourne compatible functions.
74396 cat << \_LT_EOF >> "$cfgfile"
74397
74398 # func_dirname file append nondir_replacement
74399 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
74400 # otherwise set result to NONDIR_REPLACEMENT.
74401 func_dirname ()
74402 {
74403 # Extract subdirectory from the argument.
74404 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
74405 if test "X$func_dirname_result" = "X${1}"; then
74406 func_dirname_result="${3}"
74407 else
74408 func_dirname_result="$func_dirname_result${2}"
74409 fi
74410 }
74411
74412 # func_basename file
74413 func_basename ()
74414 {
74415 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
74416 }
74417
74418
74419 # func_stripname prefix suffix name
74420 # strip PREFIX and SUFFIX off of NAME.
74421 # PREFIX and SUFFIX must not contain globbing or regex special
74422 # characters, hashes, percent signs, but SUFFIX may contain a leading
74423 # dot (in which case that matches only a dot).
74424 # func_strip_suffix prefix name
74425 func_stripname ()
74426 {
74427 case ${2} in
74428 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
74429 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
74430 esac
74431 }
74432
74433 # sed scripts:
74434 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
74435 my_sed_long_arg='1s/^-[^=]*=//'
74436
74437 # func_opt_split
74438 func_opt_split ()
74439 {
74440 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
74441 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
74442 }
74443
74444 # func_lo2o object
74445 func_lo2o ()
74446 {
74447 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
74448 }
74449
74450 # func_xform libobj-or-source
74451 func_xform ()
74452 {
74453 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
74454 }
74455
74456 # func_arith arithmetic-term...
74457 func_arith ()
74458 {
74459 func_arith_result=`expr "$@"`
74460 }
74461
74462 # func_len string
74463 # STRING may not start with a hyphen.
74464 func_len ()
74465 {
74466 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
74467 }
74468
74469 _LT_EOF
74470 esac
74471
74472 case $lt_shell_append in
74473 yes)
74474 cat << \_LT_EOF >> "$cfgfile"
74475
74476 # func_append var value
74477 # Append VALUE to the end of shell variable VAR.
74478 func_append ()
74479 {
74480 eval "$1+=\$2"
74481 }
74482 _LT_EOF
74483 ;;
74484 *)
74485 cat << \_LT_EOF >> "$cfgfile"
74486
74487 # func_append var value
74488 # Append VALUE to the end of shell variable VAR.
74489 func_append ()
74490 {
74491 eval "$1=\$$1\$2"
74492 }
74493
74494 _LT_EOF
74495 ;;
74496 esac
74497
74498
74499 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
74500 || (rm -f "$cfgfile"; exit 1)
74501
74502 mv -f "$cfgfile" "$ofile" ||
74503 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
74504 chmod +x "$ofile"
74505
74506
74507 cat <<_LT_EOF >> "$ofile"
74508
74509 # ### BEGIN LIBTOOL TAG CONFIG: CXX
74510
74511 # The linker used to build libraries.
74512 LD=$lt_LD_CXX
74513
74514 # How to create reloadable object files.
74515 reload_flag=$lt_reload_flag_CXX
74516 reload_cmds=$lt_reload_cmds_CXX
74517
74518 # Commands used to build an old-style archive.
74519 old_archive_cmds=$lt_old_archive_cmds_CXX
74520
74521 # A language specific compiler.
74522 CC=$lt_compiler_CXX
74523
74524 # Is the compiler the GNU compiler?
74525 with_gcc=$GCC_CXX
74526
74527 # Compiler flag to turn off builtin functions.
74528 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
74529
74530 # How to pass a linker flag through the compiler.
74531 wl=$lt_lt_prog_compiler_wl_CXX
74532
74533 # Additional compiler flags for building library objects.
74534 pic_flag=$lt_lt_prog_compiler_pic_CXX
74535
74536 # Compiler flag to prevent dynamic linking.
74537 link_static_flag=$lt_lt_prog_compiler_static_CXX
74538
74539 # Does compiler simultaneously support -c and -o options?
74540 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
74541
74542 # Whether or not to add -lc for building shared libraries.
74543 build_libtool_need_lc=$archive_cmds_need_lc_CXX
74544
74545 # Whether or not to disallow shared libs when runtime libs are static.
74546 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
74547
74548 # Compiler flag to allow reflexive dlopens.
74549 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
74550
74551 # Compiler flag to generate shared objects directly from archives.
74552 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
74553
74554 # Whether the compiler copes with passing no objects directly.
74555 compiler_needs_object=$lt_compiler_needs_object_CXX
74556
74557 # Create an old-style archive from a shared archive.
74558 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
74559
74560 # Create a temporary old-style archive to link instead of a shared archive.
74561 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
74562
74563 # Commands used to build a shared archive.
74564 archive_cmds=$lt_archive_cmds_CXX
74565 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
74566
74567 # Commands used to build a loadable module if different from building
74568 # a shared archive.
74569 module_cmds=$lt_module_cmds_CXX
74570 module_expsym_cmds=$lt_module_expsym_cmds_CXX
74571
74572 # Whether we are building with GNU ld or not.
74573 with_gnu_ld=$lt_with_gnu_ld_CXX
74574
74575 # Flag that allows shared libraries with undefined symbols to be built.
74576 allow_undefined_flag=$lt_allow_undefined_flag_CXX
74577
74578 # Flag that enforces no undefined symbols.
74579 no_undefined_flag=$lt_no_undefined_flag_CXX
74580
74581 # Flag to hardcode \$libdir into a binary during linking.
74582 # This must work even if \$libdir does not exist
74583 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
74584
74585 # If ld is used when linking, flag to hardcode \$libdir into a binary
74586 # during linking. This must work even if \$libdir does not exist.
74587 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
74588
74589 # Whether we need a single "-rpath" flag with a separated argument.
74590 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
74591
74592 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74593 # DIR into the resulting binary.
74594 hardcode_direct=$hardcode_direct_CXX
74595
74596 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
74597 # DIR into the resulting binary and the resulting library dependency is
74598 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
74599 # library is relocated.
74600 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
74601
74602 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
74603 # into the resulting binary.
74604 hardcode_minus_L=$hardcode_minus_L_CXX
74605
74606 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
74607 # into the resulting binary.
74608 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
74609
74610 # Set to "yes" if building a shared library automatically hardcodes DIR
74611 # into the library and all subsequent libraries and executables linked
74612 # against it.
74613 hardcode_automatic=$hardcode_automatic_CXX
74614
74615 # Set to yes if linker adds runtime paths of dependent libraries
74616 # to runtime path list.
74617 inherit_rpath=$inherit_rpath_CXX
74618
74619 # Whether libtool must link a program against all its dependency libraries.
74620 link_all_deplibs=$link_all_deplibs_CXX
74621
74622 # Fix the shell variable \$srcfile for the compiler.
74623 fix_srcfile_path=$lt_fix_srcfile_path_CXX
74624
74625 # Set to "yes" if exported symbols are required.
74626 always_export_symbols=$always_export_symbols_CXX
74627
74628 # The commands to list exported symbols.
74629 export_symbols_cmds=$lt_export_symbols_cmds_CXX
74630
74631 # Symbols that should not be listed in the preloaded symbols.
74632 exclude_expsyms=$lt_exclude_expsyms_CXX
74633
74634 # Symbols that must always be exported.
74635 include_expsyms=$lt_include_expsyms_CXX
74636
74637 # Commands necessary for linking programs (against libraries) with templates.
74638 prelink_cmds=$lt_prelink_cmds_CXX
74639
74640 # Specify filename containing input files.
74641 file_list_spec=$lt_file_list_spec_CXX
74642
74643 # How to hardcode a shared library path into an executable.
74644 hardcode_action=$hardcode_action_CXX
74645
74646 # The directories searched by this compiler when creating a shared library.
74647 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
74648
74649 # Dependencies to place before and after the objects being linked to
74650 # create a shared library.
74651 predep_objects=$lt_predep_objects_CXX
74652 postdep_objects=$lt_postdep_objects_CXX
74653 predeps=$lt_predeps_CXX
74654 postdeps=$lt_postdeps_CXX
74655
74656 # The library search path used internally by the compiler when linking
74657 # a shared library.
74658 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
74659
74660 # ### END LIBTOOL TAG CONFIG: CXX
74661 _LT_EOF
74662
74663 ;;
74664 "include/gstdint.h":C)
74665 if test "$GCC" = yes; then
74666 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
74667 else
74668 echo "/* generated for $CC */" > tmp-stdint.h
74669 fi
74670
74671 sed 's/^ *//' >> tmp-stdint.h <<EOF
74672
74673 #ifndef GCC_GENERATED_STDINT_H
74674 #define GCC_GENERATED_STDINT_H 1
74675
74676 #include <sys/types.h>
74677 EOF
74678
74679 if test "$acx_cv_header_stdint" != stdint.h; then
74680 echo "#include <stddef.h>" >> tmp-stdint.h
74681 fi
74682 if test "$acx_cv_header_stdint" != stddef.h; then
74683 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
74684 fi
74685
74686 sed 's/^ *//' >> tmp-stdint.h <<EOF
74687 /* glibc uses these symbols as guards to prevent redefinitions. */
74688 #ifdef __int8_t_defined
74689 #define _INT8_T
74690 #define _INT16_T
74691 #define _INT32_T
74692 #endif
74693 #ifdef __uint32_t_defined
74694 #define _UINT32_T
74695 #endif
74696
74697 EOF
74698
74699 # ----------------- done header, emit basic int types -------------
74700 if test "$acx_cv_header_stdint" = stddef.h; then
74701 sed 's/^ *//' >> tmp-stdint.h <<EOF
74702
74703 #ifndef _UINT8_T
74704 #define _UINT8_T
74705 #ifndef __uint8_t_defined
74706 #define __uint8_t_defined
74707 #ifndef uint8_t
74708 typedef unsigned $acx_cv_type_int8_t uint8_t;
74709 #endif
74710 #endif
74711 #endif
74712
74713 #ifndef _UINT16_T
74714 #define _UINT16_T
74715 #ifndef __uint16_t_defined
74716 #define __uint16_t_defined
74717 #ifndef uint16_t
74718 typedef unsigned $acx_cv_type_int16_t uint16_t;
74719 #endif
74720 #endif
74721 #endif
74722
74723 #ifndef _UINT32_T
74724 #define _UINT32_T
74725 #ifndef __uint32_t_defined
74726 #define __uint32_t_defined
74727 #ifndef uint32_t
74728 typedef unsigned $acx_cv_type_int32_t uint32_t;
74729 #endif
74730 #endif
74731 #endif
74732
74733 #ifndef _INT8_T
74734 #define _INT8_T
74735 #ifndef __int8_t_defined
74736 #define __int8_t_defined
74737 #ifndef int8_t
74738 typedef $acx_cv_type_int8_t int8_t;
74739 #endif
74740 #endif
74741 #endif
74742
74743 #ifndef _INT16_T
74744 #define _INT16_T
74745 #ifndef __int16_t_defined
74746 #define __int16_t_defined
74747 #ifndef int16_t
74748 typedef $acx_cv_type_int16_t int16_t;
74749 #endif
74750 #endif
74751 #endif
74752
74753 #ifndef _INT32_T
74754 #define _INT32_T
74755 #ifndef __int32_t_defined
74756 #define __int32_t_defined
74757 #ifndef int32_t
74758 typedef $acx_cv_type_int32_t int32_t;
74759 #endif
74760 #endif
74761 #endif
74762 EOF
74763 elif test "$ac_cv_type_u_int32_t" = yes; then
74764 sed 's/^ *//' >> tmp-stdint.h <<EOF
74765
74766 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
74767 #ifndef _INT8_T
74768 #define _INT8_T
74769 #endif
74770 #ifndef _INT16_T
74771 #define _INT16_T
74772 #endif
74773 #ifndef _INT32_T
74774 #define _INT32_T
74775 #endif
74776
74777 #ifndef _UINT8_T
74778 #define _UINT8_T
74779 #ifndef __uint8_t_defined
74780 #define __uint8_t_defined
74781 #ifndef uint8_t
74782 typedef u_int8_t uint8_t;
74783 #endif
74784 #endif
74785 #endif
74786
74787 #ifndef _UINT16_T
74788 #define _UINT16_T
74789 #ifndef __uint16_t_defined
74790 #define __uint16_t_defined
74791 #ifndef uint16_t
74792 typedef u_int16_t uint16_t;
74793 #endif
74794 #endif
74795 #endif
74796
74797 #ifndef _UINT32_T
74798 #define _UINT32_T
74799 #ifndef __uint32_t_defined
74800 #define __uint32_t_defined
74801 #ifndef uint32_t
74802 typedef u_int32_t uint32_t;
74803 #endif
74804 #endif
74805 #endif
74806 EOF
74807 else
74808 sed 's/^ *//' >> tmp-stdint.h <<EOF
74809
74810 /* Some systems have guard macros to prevent redefinitions, define them. */
74811 #ifndef _INT8_T
74812 #define _INT8_T
74813 #endif
74814 #ifndef _INT16_T
74815 #define _INT16_T
74816 #endif
74817 #ifndef _INT32_T
74818 #define _INT32_T
74819 #endif
74820 #ifndef _UINT8_T
74821 #define _UINT8_T
74822 #endif
74823 #ifndef _UINT16_T
74824 #define _UINT16_T
74825 #endif
74826 #ifndef _UINT32_T
74827 #define _UINT32_T
74828 #endif
74829 EOF
74830 fi
74831
74832 # ------------- done basic int types, emit int64_t types ------------
74833 if test "$ac_cv_type_uint64_t" = yes; then
74834 sed 's/^ *//' >> tmp-stdint.h <<EOF
74835
74836 /* system headers have good uint64_t and int64_t */
74837 #ifndef _INT64_T
74838 #define _INT64_T
74839 #endif
74840 #ifndef _UINT64_T
74841 #define _UINT64_T
74842 #endif
74843 EOF
74844 elif test "$ac_cv_type_u_int64_t" = yes; then
74845 sed 's/^ *//' >> tmp-stdint.h <<EOF
74846
74847 /* system headers have an u_int64_t (and int64_t) */
74848 #ifndef _INT64_T
74849 #define _INT64_T
74850 #endif
74851 #ifndef _UINT64_T
74852 #define _UINT64_T
74853 #ifndef __uint64_t_defined
74854 #define __uint64_t_defined
74855 #ifndef uint64_t
74856 typedef u_int64_t uint64_t;
74857 #endif
74858 #endif
74859 #endif
74860 EOF
74861 elif test -n "$acx_cv_type_int64_t"; then
74862 sed 's/^ *//' >> tmp-stdint.h <<EOF
74863
74864 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
74865 #ifndef _INT64_T
74866 #define _INT64_T
74867 #ifndef int64_t
74868 typedef $acx_cv_type_int64_t int64_t;
74869 #endif
74870 #endif
74871 #ifndef _UINT64_T
74872 #define _UINT64_T
74873 #ifndef __uint64_t_defined
74874 #define __uint64_t_defined
74875 #ifndef uint64_t
74876 typedef unsigned $acx_cv_type_int64_t uint64_t;
74877 #endif
74878 #endif
74879 #endif
74880 EOF
74881 else
74882 sed 's/^ *//' >> tmp-stdint.h <<EOF
74883
74884 /* some common heuristics for int64_t, using compiler-specific tests */
74885 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
74886 #ifndef _INT64_T
74887 #define _INT64_T
74888 #ifndef __int64_t_defined
74889 #ifndef int64_t
74890 typedef long long int64_t;
74891 #endif
74892 #endif
74893 #endif
74894 #ifndef _UINT64_T
74895 #define _UINT64_T
74896 #ifndef uint64_t
74897 typedef unsigned long long uint64_t;
74898 #endif
74899 #endif
74900
74901 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
74902 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
74903 does not implement __extension__. But that compiler doesn't define
74904 __GNUC_MINOR__. */
74905 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
74906 # define __extension__
74907 # endif
74908
74909 # ifndef _INT64_T
74910 # define _INT64_T
74911 # ifndef int64_t
74912 __extension__ typedef long long int64_t;
74913 # endif
74914 # endif
74915 # ifndef _UINT64_T
74916 # define _UINT64_T
74917 # ifndef uint64_t
74918 __extension__ typedef unsigned long long uint64_t;
74919 # endif
74920 # endif
74921
74922 #elif !defined __STRICT_ANSI__
74923 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
74924
74925 # ifndef _INT64_T
74926 # define _INT64_T
74927 # ifndef int64_t
74928 typedef __int64 int64_t;
74929 # endif
74930 # endif
74931 # ifndef _UINT64_T
74932 # define _UINT64_T
74933 # ifndef uint64_t
74934 typedef unsigned __int64 uint64_t;
74935 # endif
74936 # endif
74937 # endif /* compiler */
74938
74939 #endif /* ANSI version */
74940 EOF
74941 fi
74942
74943 # ------------- done int64_t types, emit intptr types ------------
74944 if test "$ac_cv_type_uintptr_t" != yes; then
74945 sed 's/^ *//' >> tmp-stdint.h <<EOF
74946
74947 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
74948 #ifndef __uintptr_t_defined
74949 #ifndef uintptr_t
74950 typedef u$acx_cv_type_intptr_t uintptr_t;
74951 #endif
74952 #endif
74953 #ifndef __intptr_t_defined
74954 #ifndef intptr_t
74955 typedef $acx_cv_type_intptr_t intptr_t;
74956 #endif
74957 #endif
74958 EOF
74959 fi
74960
74961 # ------------- done intptr types, emit int_least types ------------
74962 if test "$ac_cv_type_int_least32_t" != yes; then
74963 sed 's/^ *//' >> tmp-stdint.h <<EOF
74964
74965 /* Define int_least types */
74966 typedef int8_t int_least8_t;
74967 typedef int16_t int_least16_t;
74968 typedef int32_t int_least32_t;
74969 #ifdef _INT64_T
74970 typedef int64_t int_least64_t;
74971 #endif
74972
74973 typedef uint8_t uint_least8_t;
74974 typedef uint16_t uint_least16_t;
74975 typedef uint32_t uint_least32_t;
74976 #ifdef _UINT64_T
74977 typedef uint64_t uint_least64_t;
74978 #endif
74979 EOF
74980 fi
74981
74982 # ------------- done intptr types, emit int_fast types ------------
74983 if test "$ac_cv_type_int_fast32_t" != yes; then
74984 sed 's/^ *//' >> tmp-stdint.h <<EOF
74985
74986 /* Define int_fast types. short is often slow */
74987 typedef int8_t int_fast8_t;
74988 typedef int int_fast16_t;
74989 typedef int32_t int_fast32_t;
74990 #ifdef _INT64_T
74991 typedef int64_t int_fast64_t;
74992 #endif
74993
74994 typedef uint8_t uint_fast8_t;
74995 typedef unsigned int uint_fast16_t;
74996 typedef uint32_t uint_fast32_t;
74997 #ifdef _UINT64_T
74998 typedef uint64_t uint_fast64_t;
74999 #endif
75000 EOF
75001 fi
75002
75003 if test "$ac_cv_type_uintmax_t" != yes; then
75004 sed 's/^ *//' >> tmp-stdint.h <<EOF
75005
75006 /* Define intmax based on what we found */
75007 #ifndef intmax_t
75008 #ifdef _INT64_T
75009 typedef int64_t intmax_t;
75010 #else
75011 typedef long intmax_t;
75012 #endif
75013 #endif
75014 #ifndef uintmax_t
75015 #ifdef _UINT64_T
75016 typedef uint64_t uintmax_t;
75017 #else
75018 typedef unsigned long uintmax_t;
75019 #endif
75020 #endif
75021 EOF
75022 fi
75023
75024 sed 's/^ *//' >> tmp-stdint.h <<EOF
75025
75026 #endif /* GCC_GENERATED_STDINT_H */
75027 EOF
75028
75029 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
75030 rm -f tmp-stdint.h
75031 else
75032 mv -f tmp-stdint.h include/gstdint.h
75033 fi
75034
75035 ;;
75036 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
75037 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
75038 "include/Makefile":F) cat > vpsed$$ << \_EOF
75039 s!`test -f '$<' || echo '$(srcdir)/'`!!
75040 _EOF
75041 sed -f vpsed$$ $ac_file > tmp$$
75042 mv tmp$$ $ac_file
75043 rm vpsed$$
75044 echo 'MULTISUBDIR =' >> $ac_file
75045 ml_norecursion=yes
75046 . ${multi_basedir}/config-ml.in
75047 { ml_norecursion=; unset ml_norecursion;}
75048 ;;
75049 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
75050 s!`test -f '$<' || echo '$(srcdir)/'`!!
75051 _EOF
75052 sed -f vpsed$$ $ac_file > tmp$$
75053 mv tmp$$ $ac_file
75054 rm vpsed$$
75055 echo 'MULTISUBDIR =' >> $ac_file
75056 ml_norecursion=yes
75057 . ${multi_basedir}/config-ml.in
75058 { ml_norecursion=; unset ml_norecursion;}
75059 ;;
75060 "python/Makefile":F) cat > vpsed$$ << \_EOF
75061 s!`test -f '$<' || echo '$(srcdir)/'`!!
75062 _EOF
75063 sed -f vpsed$$ $ac_file > tmp$$
75064 mv tmp$$ $ac_file
75065 rm vpsed$$
75066 echo 'MULTISUBDIR =' >> $ac_file
75067 ml_norecursion=yes
75068 . ${multi_basedir}/config-ml.in
75069 { ml_norecursion=; unset ml_norecursion;}
75070 ;;
75071 "src/Makefile":F) cat > vpsed$$ << \_EOF
75072 s!`test -f '$<' || echo '$(srcdir)/'`!!
75073 _EOF
75074 sed -f vpsed$$ $ac_file > tmp$$
75075 mv tmp$$ $ac_file
75076 rm vpsed$$
75077 echo 'MULTISUBDIR =' >> $ac_file
75078 ml_norecursion=yes
75079 . ${multi_basedir}/config-ml.in
75080 { ml_norecursion=; unset ml_norecursion;}
75081 ;;
75082 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
75083 s!`test -f '$<' || echo '$(srcdir)/'`!!
75084 _EOF
75085 sed -f vpsed$$ $ac_file > tmp$$
75086 mv tmp$$ $ac_file
75087 rm vpsed$$
75088 echo 'MULTISUBDIR =' >> $ac_file
75089 ml_norecursion=yes
75090 . ${multi_basedir}/config-ml.in
75091 { ml_norecursion=; unset ml_norecursion;}
75092 ;;
75093 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
75094 s!`test -f '$<' || echo '$(srcdir)/'`!!
75095 _EOF
75096 sed -f vpsed$$ $ac_file > tmp$$
75097 mv tmp$$ $ac_file
75098 rm vpsed$$
75099 echo 'MULTISUBDIR =' >> $ac_file
75100 ml_norecursion=yes
75101 . ${multi_basedir}/config-ml.in
75102 { ml_norecursion=; unset ml_norecursion;}
75103 ;;
75104 "doc/Makefile":F) cat > vpsed$$ << \_EOF
75105 s!`test -f '$<' || echo '$(srcdir)/'`!!
75106 _EOF
75107 sed -f vpsed$$ $ac_file > tmp$$
75108 mv tmp$$ $ac_file
75109 rm vpsed$$
75110 echo 'MULTISUBDIR =' >> $ac_file
75111 ml_norecursion=yes
75112 . ${multi_basedir}/config-ml.in
75113 { ml_norecursion=; unset ml_norecursion;}
75114 ;;
75115 "po/Makefile":F) cat > vpsed$$ << \_EOF
75116 s!`test -f '$<' || echo '$(srcdir)/'`!!
75117 _EOF
75118 sed -f vpsed$$ $ac_file > tmp$$
75119 mv tmp$$ $ac_file
75120 rm vpsed$$
75121 echo 'MULTISUBDIR =' >> $ac_file
75122 ml_norecursion=yes
75123 . ${multi_basedir}/config-ml.in
75124 { ml_norecursion=; unset ml_norecursion;}
75125 ;;
75126 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
75127 s!`test -f '$<' || echo '$(srcdir)/'`!!
75128 _EOF
75129 sed -f vpsed$$ $ac_file > tmp$$
75130 mv tmp$$ $ac_file
75131 rm vpsed$$
75132 echo 'MULTISUBDIR =' >> $ac_file
75133 ml_norecursion=yes
75134 . ${multi_basedir}/config-ml.in
75135 { ml_norecursion=; unset ml_norecursion;}
75136 ;;
75137 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
75138
75139 esac
75140 done # for ac_tag
75141
75142
75143 as_fn_exit 0
75144 _ACEOF
75145 ac_clean_files=$ac_clean_files_save
75146
75147 test $ac_write_fail = 0 ||
75148 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
75149
75150
75151 # configure is writing to config.log, and then calls config.status.
75152 # config.status does its own redirection, appending to config.log.
75153 # Unfortunately, on DOS this fails, as config.log is still kept open
75154 # by configure, so config.status won't be able to write to it; its
75155 # output is simply discarded. So we exec the FD to /dev/null,
75156 # effectively closing config.log, so it can be properly (re)opened and
75157 # appended to by config.status. When coming back to configure, we
75158 # need to make the FD available again.
75159 if test "$no_create" != yes; then
75160 ac_cs_success=:
75161 ac_config_status_args=
75162 test "$silent" = yes &&
75163 ac_config_status_args="$ac_config_status_args --quiet"
75164 exec 5>/dev/null
75165 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
75166 exec 5>>config.log
75167 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
75168 # would make configure fail if this is the last instruction.
75169 $ac_cs_success || as_fn_exit $?
75170 fi
75171 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
75172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
75173 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
75174 fi
75175