ChangeLog: Fix whitespace.
[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_VTABLE_VERIFY_FALSE
668 ENABLE_VTABLE_VERIFY_TRUE
669 VTV_CXXLINKFLAGS
670 VTV_PCH_CXXFLAGS
671 VTV_CXXFLAGS
672 ENABLE_WERROR_FALSE
673 ENABLE_WERROR_TRUE
674 ENABLE_PYTHONDIR_FALSE
675 ENABLE_PYTHONDIR_TRUE
676 python_mod_dir
677 ENABLE_EXTERN_TEMPLATE_FALSE
678 ENABLE_EXTERN_TEMPLATE_TRUE
679 EXTRA_CXX_FLAGS
680 GLIBCXX_BUILD_DEBUG_FALSE
681 GLIBCXX_BUILD_DEBUG_TRUE
682 DEBUG_FLAGS
683 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
684 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
685 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
686 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
687 GLIBCXX_C_HEADERS_C_STD_FALSE
688 GLIBCXX_C_HEADERS_C_STD_TRUE
689 GLIBCXX_C_HEADERS_C_FALSE
690 GLIBCXX_C_HEADERS_C_TRUE
691 C_INCLUDE_DIR
692 ALLOCATOR_NAME
693 ALLOCATOR_H
694 CLOCALE_INTERNAL_H
695 CLOCALE_CC
696 CTIME_CC
697 CTIME_H
698 CNUMERIC_CC
699 CMONEY_CC
700 CMESSAGES_CC
701 CCTYPE_CC
702 CCOLLATE_CC
703 CCODECVT_CC
704 CMESSAGES_H
705 CLOCALE_H
706 USE_NLS
707 glibcxx_localedir
708 glibcxx_POFILES
709 glibcxx_MOFILES
710 check_msgfmt
711 BASIC_FILE_CC
712 BASIC_FILE_H
713 CSTDIO_H
714 SECTION_FLAGS
715 WERROR
716 thread_header
717 glibcxx_PCHFLAGS
718 GLIBCXX_BUILD_PCH_FALSE
719 GLIBCXX_BUILD_PCH_TRUE
720 GLIBCXX_HOSTED_FALSE
721 GLIBCXX_HOSTED_TRUE
722 glibcxx_compiler_shared_flag
723 glibcxx_compiler_pic_flag
724 glibcxx_lt_pic_flag
725 enable_static
726 enable_shared
727 lt_host_flags
728 CXXCPP
729 OTOOL64
730 OTOOL
731 LIPO
732 NMEDIT
733 DSYMUTIL
734 OBJDUMP
735 NM
736 ac_ct_DUMPBIN
737 DUMPBIN
738 LD
739 FGREP
740 SED
741 LIBTOOL
742 EGREP
743 GREP
744 CPP
745 MAINT
746 MAINTAINER_MODE_FALSE
747 MAINTAINER_MODE_TRUE
748 RANLIB
749 AR
750 AS
751 LN_S
752 toplevel_srcdir
753 toplevel_builddir
754 glibcxx_srcdir
755 glibcxx_builddir
756 ac_ct_CXX
757 CXXFLAGS
758 CXX
759 OBJEXT
760 EXEEXT
761 ac_ct_CC
762 CPPFLAGS
763 LDFLAGS
764 CFLAGS
765 CC
766 am__untar
767 am__tar
768 AMTAR
769 am__leading_dot
770 SET_MAKE
771 AWK
772 mkdir_p
773 MKDIR_P
774 INSTALL_STRIP_PROGRAM
775 STRIP
776 install_sh
777 MAKEINFO
778 AUTOHEADER
779 AUTOMAKE
780 AUTOCONF
781 ACLOCAL
782 VERSION
783 PACKAGE
784 CYGPATH_W
785 am__isrc
786 INSTALL_DATA
787 INSTALL_SCRIPT
788 INSTALL_PROGRAM
789 target_os
790 target_vendor
791 target_cpu
792 target
793 host_os
794 host_vendor
795 host_cpu
796 host
797 build_os
798 build_vendor
799 build_cpu
800 build
801 multi_basedir
802 target_alias
803 host_alias
804 build_alias
805 LIBS
806 ECHO_T
807 ECHO_N
808 ECHO_C
809 DEFS
810 mandir
811 localedir
812 libdir
813 psdir
814 pdfdir
815 dvidir
816 htmldir
817 infodir
818 docdir
819 oldincludedir
820 includedir
821 localstatedir
822 sharedstatedir
823 sysconfdir
824 datadir
825 datarootdir
826 libexecdir
827 sbindir
828 bindir
829 program_transform_name
830 prefix
831 exec_prefix
832 PACKAGE_URL
833 PACKAGE_BUGREPORT
834 PACKAGE_STRING
835 PACKAGE_VERSION
836 PACKAGE_TARNAME
837 PACKAGE_NAME
838 PATH_SEPARATOR
839 SHELL'
840 ac_subst_files=''
841 ac_user_opts='
842 enable_option_checking
843 enable_multilib
844 with_target_subdir
845 with_cross_host
846 with_newlib
847 enable_maintainer_mode
848 enable_shared
849 enable_static
850 with_pic
851 enable_fast_install
852 with_gnu_ld
853 enable_libtool_lock
854 enable_hosted_libstdcxx
855 enable_libstdcxx_verbose
856 enable_sjlj_exceptions
857 enable_libstdcxx_pch
858 enable_cstdio
859 enable_clocale
860 enable_nls
861 enable_libstdcxx_allocator
862 enable_cheaders
863 enable_long_long
864 enable_wchar_t
865 enable_c99
866 enable_concept_checks
867 enable_libstdcxx_debug_flags
868 enable_libstdcxx_debug
869 enable_cxx_flags
870 enable_fully_dynamic_string
871 enable_extern_template
872 with_python_dir
873 enable_werror
874 enable_vtable_verify
875 enable_libstdcxx_time
876 enable_tls
877 enable_rpath
878 with_libiconv_prefix
879 with_system_libunwind
880 enable_linux_futex
881 enable_symvers
882 enable_libstdcxx_visibility
883 enable_libstdcxx_threads
884 with_gxx_include_dir
885 enable_version_specific_runtime_libs
886 '
887 ac_precious_vars='build_alias
888 host_alias
889 target_alias
890 CC
891 CFLAGS
892 LDFLAGS
893 LIBS
894 CPPFLAGS
895 CXX
896 CXXFLAGS
897 CCC
898 CPP
899 CXXCPP
900 CXXFILT'
901
902
903 # Initialize some variables set by options.
904 ac_init_help=
905 ac_init_version=false
906 ac_unrecognized_opts=
907 ac_unrecognized_sep=
908 # The variables have the same names as the options, with
909 # dashes changed to underlines.
910 cache_file=/dev/null
911 exec_prefix=NONE
912 no_create=
913 no_recursion=
914 prefix=NONE
915 program_prefix=NONE
916 program_suffix=NONE
917 program_transform_name=s,x,x,
918 silent=
919 site=
920 srcdir=
921 verbose=
922 x_includes=NONE
923 x_libraries=NONE
924
925 # Installation directory options.
926 # These are left unexpanded so users can "make install exec_prefix=/foo"
927 # and all the variables that are supposed to be based on exec_prefix
928 # by default will actually change.
929 # Use braces instead of parens because sh, perl, etc. also accept them.
930 # (The list follows the same order as the GNU Coding Standards.)
931 bindir='${exec_prefix}/bin'
932 sbindir='${exec_prefix}/sbin'
933 libexecdir='${exec_prefix}/libexec'
934 datarootdir='${prefix}/share'
935 datadir='${datarootdir}'
936 sysconfdir='${prefix}/etc'
937 sharedstatedir='${prefix}/com'
938 localstatedir='${prefix}/var'
939 includedir='${prefix}/include'
940 oldincludedir='/usr/include'
941 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
942 infodir='${datarootdir}/info'
943 htmldir='${docdir}'
944 dvidir='${docdir}'
945 pdfdir='${docdir}'
946 psdir='${docdir}'
947 libdir='${exec_prefix}/lib'
948 localedir='${datarootdir}/locale'
949 mandir='${datarootdir}/man'
950
951 ac_prev=
952 ac_dashdash=
953 for ac_option
954 do
955 # If the previous option needs an argument, assign it.
956 if test -n "$ac_prev"; then
957 eval $ac_prev=\$ac_option
958 ac_prev=
959 continue
960 fi
961
962 case $ac_option in
963 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
964 *) ac_optarg=yes ;;
965 esac
966
967 # Accept the important Cygnus configure options, so we can diagnose typos.
968
969 case $ac_dashdash$ac_option in
970 --)
971 ac_dashdash=yes ;;
972
973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
974 ac_prev=bindir ;;
975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
976 bindir=$ac_optarg ;;
977
978 -build | --build | --buil | --bui | --bu)
979 ac_prev=build_alias ;;
980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
981 build_alias=$ac_optarg ;;
982
983 -cache-file | --cache-file | --cache-fil | --cache-fi \
984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
985 ac_prev=cache_file ;;
986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
988 cache_file=$ac_optarg ;;
989
990 --config-cache | -C)
991 cache_file=config.cache ;;
992
993 -datadir | --datadir | --datadi | --datad)
994 ac_prev=datadir ;;
995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
996 datadir=$ac_optarg ;;
997
998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
999 | --dataroo | --dataro | --datar)
1000 ac_prev=datarootdir ;;
1001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1003 datarootdir=$ac_optarg ;;
1004
1005 -disable-* | --disable-*)
1006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1007 # Reject names that are not valid shell variable names.
1008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1009 as_fn_error "invalid feature name: $ac_useropt"
1010 ac_useropt_orig=$ac_useropt
1011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1012 case $ac_user_opts in
1013 *"
1014 "enable_$ac_useropt"
1015 "*) ;;
1016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1017 ac_unrecognized_sep=', ';;
1018 esac
1019 eval enable_$ac_useropt=no ;;
1020
1021 -docdir | --docdir | --docdi | --doc | --do)
1022 ac_prev=docdir ;;
1023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1024 docdir=$ac_optarg ;;
1025
1026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1027 ac_prev=dvidir ;;
1028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1029 dvidir=$ac_optarg ;;
1030
1031 -enable-* | --enable-*)
1032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1033 # Reject names that are not valid shell variable names.
1034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1035 as_fn_error "invalid feature name: $ac_useropt"
1036 ac_useropt_orig=$ac_useropt
1037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1038 case $ac_user_opts in
1039 *"
1040 "enable_$ac_useropt"
1041 "*) ;;
1042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1043 ac_unrecognized_sep=', ';;
1044 esac
1045 eval enable_$ac_useropt=\$ac_optarg ;;
1046
1047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1049 | --exec | --exe | --ex)
1050 ac_prev=exec_prefix ;;
1051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1053 | --exec=* | --exe=* | --ex=*)
1054 exec_prefix=$ac_optarg ;;
1055
1056 -gas | --gas | --ga | --g)
1057 # Obsolete; use --with-gas.
1058 with_gas=yes ;;
1059
1060 -help | --help | --hel | --he | -h)
1061 ac_init_help=long ;;
1062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1063 ac_init_help=recursive ;;
1064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1065 ac_init_help=short ;;
1066
1067 -host | --host | --hos | --ho)
1068 ac_prev=host_alias ;;
1069 -host=* | --host=* | --hos=* | --ho=*)
1070 host_alias=$ac_optarg ;;
1071
1072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1073 ac_prev=htmldir ;;
1074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1075 | --ht=*)
1076 htmldir=$ac_optarg ;;
1077
1078 -includedir | --includedir | --includedi | --included | --include \
1079 | --includ | --inclu | --incl | --inc)
1080 ac_prev=includedir ;;
1081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1082 | --includ=* | --inclu=* | --incl=* | --inc=*)
1083 includedir=$ac_optarg ;;
1084
1085 -infodir | --infodir | --infodi | --infod | --info | --inf)
1086 ac_prev=infodir ;;
1087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1088 infodir=$ac_optarg ;;
1089
1090 -libdir | --libdir | --libdi | --libd)
1091 ac_prev=libdir ;;
1092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1093 libdir=$ac_optarg ;;
1094
1095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1096 | --libexe | --libex | --libe)
1097 ac_prev=libexecdir ;;
1098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1099 | --libexe=* | --libex=* | --libe=*)
1100 libexecdir=$ac_optarg ;;
1101
1102 -localedir | --localedir | --localedi | --localed | --locale)
1103 ac_prev=localedir ;;
1104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1105 localedir=$ac_optarg ;;
1106
1107 -localstatedir | --localstatedir | --localstatedi | --localstated \
1108 | --localstate | --localstat | --localsta | --localst | --locals)
1109 ac_prev=localstatedir ;;
1110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1112 localstatedir=$ac_optarg ;;
1113
1114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1115 ac_prev=mandir ;;
1116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1117 mandir=$ac_optarg ;;
1118
1119 -nfp | --nfp | --nf)
1120 # Obsolete; use --without-fp.
1121 with_fp=no ;;
1122
1123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1124 | --no-cr | --no-c | -n)
1125 no_create=yes ;;
1126
1127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1129 no_recursion=yes ;;
1130
1131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1133 | --oldin | --oldi | --old | --ol | --o)
1134 ac_prev=oldincludedir ;;
1135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1138 oldincludedir=$ac_optarg ;;
1139
1140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1141 ac_prev=prefix ;;
1142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1143 prefix=$ac_optarg ;;
1144
1145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1146 | --program-pre | --program-pr | --program-p)
1147 ac_prev=program_prefix ;;
1148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1150 program_prefix=$ac_optarg ;;
1151
1152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1153 | --program-suf | --program-su | --program-s)
1154 ac_prev=program_suffix ;;
1155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1157 program_suffix=$ac_optarg ;;
1158
1159 -program-transform-name | --program-transform-name \
1160 | --program-transform-nam | --program-transform-na \
1161 | --program-transform-n | --program-transform- \
1162 | --program-transform | --program-transfor \
1163 | --program-transfo | --program-transf \
1164 | --program-trans | --program-tran \
1165 | --progr-tra | --program-tr | --program-t)
1166 ac_prev=program_transform_name ;;
1167 -program-transform-name=* | --program-transform-name=* \
1168 | --program-transform-nam=* | --program-transform-na=* \
1169 | --program-transform-n=* | --program-transform-=* \
1170 | --program-transform=* | --program-transfor=* \
1171 | --program-transfo=* | --program-transf=* \
1172 | --program-trans=* | --program-tran=* \
1173 | --progr-tra=* | --program-tr=* | --program-t=*)
1174 program_transform_name=$ac_optarg ;;
1175
1176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1177 ac_prev=pdfdir ;;
1178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1179 pdfdir=$ac_optarg ;;
1180
1181 -psdir | --psdir | --psdi | --psd | --ps)
1182 ac_prev=psdir ;;
1183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1184 psdir=$ac_optarg ;;
1185
1186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1187 | -silent | --silent | --silen | --sile | --sil)
1188 silent=yes ;;
1189
1190 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1191 ac_prev=sbindir ;;
1192 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1193 | --sbi=* | --sb=*)
1194 sbindir=$ac_optarg ;;
1195
1196 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1197 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1198 | --sharedst | --shareds | --shared | --share | --shar \
1199 | --sha | --sh)
1200 ac_prev=sharedstatedir ;;
1201 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1202 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1203 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1204 | --sha=* | --sh=*)
1205 sharedstatedir=$ac_optarg ;;
1206
1207 -site | --site | --sit)
1208 ac_prev=site ;;
1209 -site=* | --site=* | --sit=*)
1210 site=$ac_optarg ;;
1211
1212 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1213 ac_prev=srcdir ;;
1214 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1215 srcdir=$ac_optarg ;;
1216
1217 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1218 | --syscon | --sysco | --sysc | --sys | --sy)
1219 ac_prev=sysconfdir ;;
1220 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1221 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1222 sysconfdir=$ac_optarg ;;
1223
1224 -target | --target | --targe | --targ | --tar | --ta | --t)
1225 ac_prev=target_alias ;;
1226 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1227 target_alias=$ac_optarg ;;
1228
1229 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1230 verbose=yes ;;
1231
1232 -version | --version | --versio | --versi | --vers | -V)
1233 ac_init_version=: ;;
1234
1235 -with-* | --with-*)
1236 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1237 # Reject names that are not valid shell variable names.
1238 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1239 as_fn_error "invalid package name: $ac_useropt"
1240 ac_useropt_orig=$ac_useropt
1241 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1242 case $ac_user_opts in
1243 *"
1244 "with_$ac_useropt"
1245 "*) ;;
1246 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1247 ac_unrecognized_sep=', ';;
1248 esac
1249 eval with_$ac_useropt=\$ac_optarg ;;
1250
1251 -without-* | --without-*)
1252 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1253 # Reject names that are not valid shell variable names.
1254 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1255 as_fn_error "invalid package name: $ac_useropt"
1256 ac_useropt_orig=$ac_useropt
1257 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1258 case $ac_user_opts in
1259 *"
1260 "with_$ac_useropt"
1261 "*) ;;
1262 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1263 ac_unrecognized_sep=', ';;
1264 esac
1265 eval with_$ac_useropt=no ;;
1266
1267 --x)
1268 # Obsolete; use --with-x.
1269 with_x=yes ;;
1270
1271 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1272 | --x-incl | --x-inc | --x-in | --x-i)
1273 ac_prev=x_includes ;;
1274 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1275 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1276 x_includes=$ac_optarg ;;
1277
1278 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1279 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1280 ac_prev=x_libraries ;;
1281 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1282 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1283 x_libraries=$ac_optarg ;;
1284
1285 -*) as_fn_error "unrecognized option: \`$ac_option'
1286 Try \`$0 --help' for more information."
1287 ;;
1288
1289 *=*)
1290 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1291 # Reject names that are not valid shell variable names.
1292 case $ac_envvar in #(
1293 '' | [0-9]* | *[!_$as_cr_alnum]* )
1294 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1295 esac
1296 eval $ac_envvar=\$ac_optarg
1297 export $ac_envvar ;;
1298
1299 *)
1300 # FIXME: should be removed in autoconf 3.0.
1301 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1302 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1303 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1304 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1305 ;;
1306
1307 esac
1308 done
1309
1310 if test -n "$ac_prev"; then
1311 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1312 as_fn_error "missing argument to $ac_option"
1313 fi
1314
1315 if test -n "$ac_unrecognized_opts"; then
1316 case $enable_option_checking in
1317 no) ;;
1318 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1319 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1320 esac
1321 fi
1322
1323 # Check all directory arguments for consistency.
1324 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1325 datadir sysconfdir sharedstatedir localstatedir includedir \
1326 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1327 libdir localedir mandir
1328 do
1329 eval ac_val=\$$ac_var
1330 # Remove trailing slashes.
1331 case $ac_val in
1332 */ )
1333 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1334 eval $ac_var=\$ac_val;;
1335 esac
1336 # Be sure to have absolute directory names.
1337 case $ac_val in
1338 [\\/$]* | ?:[\\/]* ) continue;;
1339 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1340 esac
1341 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1342 done
1343
1344 # There might be people who depend on the old broken behavior: `$host'
1345 # used to hold the argument of --host etc.
1346 # FIXME: To remove some day.
1347 build=$build_alias
1348 host=$host_alias
1349 target=$target_alias
1350
1351 # FIXME: To remove some day.
1352 if test "x$host_alias" != x; then
1353 if test "x$build_alias" = x; then
1354 cross_compiling=maybe
1355 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1356 If a cross compiler is detected then cross compile mode will be used." >&2
1357 elif test "x$build_alias" != "x$host_alias"; then
1358 cross_compiling=yes
1359 fi
1360 fi
1361
1362 ac_tool_prefix=
1363 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1364
1365 test "$silent" = yes && exec 6>/dev/null
1366
1367
1368 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1369 ac_ls_di=`ls -di .` &&
1370 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1371 as_fn_error "working directory cannot be determined"
1372 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1373 as_fn_error "pwd does not report name of working directory"
1374
1375
1376 # Find the source files, if location was not specified.
1377 if test -z "$srcdir"; then
1378 ac_srcdir_defaulted=yes
1379 # Try the directory containing this script, then the parent directory.
1380 ac_confdir=`$as_dirname -- "$as_myself" ||
1381 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1382 X"$as_myself" : 'X\(//\)[^/]' \| \
1383 X"$as_myself" : 'X\(//\)$' \| \
1384 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1385 $as_echo X"$as_myself" |
1386 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1387 s//\1/
1388 q
1389 }
1390 /^X\(\/\/\)[^/].*/{
1391 s//\1/
1392 q
1393 }
1394 /^X\(\/\/\)$/{
1395 s//\1/
1396 q
1397 }
1398 /^X\(\/\).*/{
1399 s//\1/
1400 q
1401 }
1402 s/.*/./; q'`
1403 srcdir=$ac_confdir
1404 if test ! -r "$srcdir/$ac_unique_file"; then
1405 srcdir=..
1406 fi
1407 else
1408 ac_srcdir_defaulted=no
1409 fi
1410 if test ! -r "$srcdir/$ac_unique_file"; then
1411 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1412 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1413 fi
1414 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1415 ac_abs_confdir=`(
1416 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1417 pwd)`
1418 # When building in place, set srcdir=.
1419 if test "$ac_abs_confdir" = "$ac_pwd"; then
1420 srcdir=.
1421 fi
1422 # Remove unnecessary trailing slashes from srcdir.
1423 # Double slashes in file names in object file debugging info
1424 # mess up M-x gdb in Emacs.
1425 case $srcdir in
1426 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1427 esac
1428 for ac_var in $ac_precious_vars; do
1429 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1430 eval ac_env_${ac_var}_value=\$${ac_var}
1431 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1432 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1433 done
1434
1435 #
1436 # Report the --help message.
1437 #
1438 if test "$ac_init_help" = "long"; then
1439 # Omit some internal or obsolete options to make the list less imposing.
1440 # This message is too long to be a string in the A/UX 3.1 sh.
1441 cat <<_ACEOF
1442 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1443
1444 Usage: $0 [OPTION]... [VAR=VALUE]...
1445
1446 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1447 VAR=VALUE. See below for descriptions of some of the useful variables.
1448
1449 Defaults for the options are specified in brackets.
1450
1451 Configuration:
1452 -h, --help display this help and exit
1453 --help=short display options specific to this package
1454 --help=recursive display the short help of all the included packages
1455 -V, --version display version information and exit
1456 -q, --quiet, --silent do not print \`checking...' messages
1457 --cache-file=FILE cache test results in FILE [disabled]
1458 -C, --config-cache alias for \`--cache-file=config.cache'
1459 -n, --no-create do not create output files
1460 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1461
1462 Installation directories:
1463 --prefix=PREFIX install architecture-independent files in PREFIX
1464 [$ac_default_prefix]
1465 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1466 [PREFIX]
1467
1468 By default, \`make install' will install all the files in
1469 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1470 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1471 for instance \`--prefix=\$HOME'.
1472
1473 For better control, use the options below.
1474
1475 Fine tuning of the installation directories:
1476 --bindir=DIR user executables [EPREFIX/bin]
1477 --sbindir=DIR system admin executables [EPREFIX/sbin]
1478 --libexecdir=DIR program executables [EPREFIX/libexec]
1479 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1480 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1481 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1482 --libdir=DIR object code libraries [EPREFIX/lib]
1483 --includedir=DIR C header files [PREFIX/include]
1484 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1485 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1486 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1487 --infodir=DIR info documentation [DATAROOTDIR/info]
1488 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1489 --mandir=DIR man documentation [DATAROOTDIR/man]
1490 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1491 --htmldir=DIR html documentation [DOCDIR]
1492 --dvidir=DIR dvi documentation [DOCDIR]
1493 --pdfdir=DIR pdf documentation [DOCDIR]
1494 --psdir=DIR ps documentation [DOCDIR]
1495 _ACEOF
1496
1497 cat <<\_ACEOF
1498
1499 Program names:
1500 --program-prefix=PREFIX prepend PREFIX to installed program names
1501 --program-suffix=SUFFIX append SUFFIX to installed program names
1502 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1503
1504 System types:
1505 --build=BUILD configure for building on BUILD [guessed]
1506 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1507 --target=TARGET configure for building compilers for TARGET [HOST]
1508 _ACEOF
1509 fi
1510
1511 if test -n "$ac_init_help"; then
1512 case $ac_init_help in
1513 short | recursive ) echo "Configuration of package-unused version-unused:";;
1514 esac
1515 cat <<\_ACEOF
1516
1517 Optional Features:
1518 --disable-option-checking ignore unrecognized --enable/--with options
1519 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1520 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1521 --enable-multilib build many library versions (default)
1522 --enable-maintainer-mode enable make rules and dependencies not useful
1523 (and sometimes confusing) to the casual installer
1524 --enable-shared[=PKGS] build shared libraries [default=yes]
1525 --enable-static[=PKGS] build static libraries [default=yes]
1526 --enable-fast-install[=PKGS]
1527 optimize for fast installation [default=yes]
1528 --disable-libtool-lock avoid locking (might break parallel builds)
1529 --disable-hosted-libstdcxx
1530 only build freestanding C++ runtime support
1531 --disable-libstdcxx-verbose
1532 disable termination messages to standard error
1533 --enable-sjlj-exceptions
1534 force use of builtin_setjmp for exceptions
1535 [default=auto]
1536 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1537 [default=$is_hosted]
1538 --enable-cstdio[=PACKAGE]
1539 use target-specific I/O package [default=stdio]
1540 --enable-clocale[=MODEL]
1541 use MODEL for target locale package [default=auto]
1542 --enable-nls use Native Language Support (default)
1543 --enable-libstdcxx-allocator[=KIND]
1544 use KIND for target std::allocator base
1545 [default=auto]
1546 --enable-cheaders[=KIND]
1547 construct "C" headers for g++ [default=$c_model]
1548 --enable-long-long enable template specializations for 'long long'
1549 [default=yes]
1550 --enable-wchar_t enable template specializations for 'wchar_t'
1551 [default=yes]
1552 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1553 --enable-concept-checks use Boost-derived template checks [default=no]
1554 --enable-libstdcxx-debug-flags=FLAGS
1555 pass compiler FLAGS when building debug library
1556 [default="-gdwarf-4 -g3 -O0"]
1557 --enable-libstdcxx-debug
1558 build extra debug library [default=no]
1559 --enable-cxx-flags=FLAGS
1560 pass compiler FLAGS when building library [default=]
1561 --enable-fully-dynamic-string
1562 do not put empty strings in per-process static
1563 memory [default=no]
1564 --enable-extern-template
1565 enable extern template [default=yes]
1566 --enable-werror turns on -Werror [default=yes]
1567 --enable-vtable-verify enable vtable verify [default=no]
1568 --enable-libstdcxx-time[=KIND]
1569 use KIND for check type [default=auto]
1570 --enable-tls Use thread-local storage [default=yes]
1571 --disable-rpath do not hardcode runtime library paths
1572 --enable-linux-futex use the Linux futex system call [default=default]
1573 --enable-symvers[=STYLE]
1574 enables symbol versioning of the shared library
1575 [default=yes]
1576 --enable-libstdcxx-visibility
1577 enables visibility safe usage [default=yes]
1578 --enable-libstdcxx-threads
1579 enable C++11 threads support [default=auto]
1580 --enable-version-specific-runtime-libs
1581 Specify that runtime libraries should be installed
1582 in a compiler-specific directory
1583
1584 Optional Packages:
1585 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1586 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1587 --with-target-subdir=SUBDIR
1588 configuring in a subdirectory
1589 --with-cross-host=HOST configuring with a cross compiler
1590 --with-newlib assume newlib as a system C library
1591 --with-pic try to use only PIC/non-PIC objects [default=use
1592 both]
1593 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1594 --with-python-dir the location to install Python modules. This path is
1595 relative starting from the prefix.
1596 --with-gnu-ld assume the C compiler uses GNU ld default=no
1597 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1598 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1599 --with-system-libunwind use installed libunwind
1600 --with-gxx-include-dir=DIR
1601 installation directory for include files
1602
1603 Some influential environment variables:
1604 CC C compiler command
1605 CFLAGS C compiler flags
1606 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1607 nonstandard directory <lib dir>
1608 LIBS libraries to pass to the linker, e.g. -l<library>
1609 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1610 you have headers in a nonstandard directory <include dir>
1611 CXX C++ compiler command
1612 CXXFLAGS C++ compiler flags
1613 CPP C preprocessor
1614 CXXCPP C++ preprocessor
1615 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1616 `c++filt', `gc++filt' on PATH.
1617
1618 Use these variables to override the choices made by `configure' or to help
1619 it to find libraries and programs with nonstandard names/locations.
1620
1621 Report bugs to the package provider.
1622 _ACEOF
1623 ac_status=$?
1624 fi
1625
1626 if test "$ac_init_help" = "recursive"; then
1627 # If there are subdirs, report their specific --help.
1628 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1629 test -d "$ac_dir" ||
1630 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1631 continue
1632 ac_builddir=.
1633
1634 case "$ac_dir" in
1635 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1636 *)
1637 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1638 # A ".." for each directory in $ac_dir_suffix.
1639 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1640 case $ac_top_builddir_sub in
1641 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1642 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1643 esac ;;
1644 esac
1645 ac_abs_top_builddir=$ac_pwd
1646 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1647 # for backward compatibility:
1648 ac_top_builddir=$ac_top_build_prefix
1649
1650 case $srcdir in
1651 .) # We are building in place.
1652 ac_srcdir=.
1653 ac_top_srcdir=$ac_top_builddir_sub
1654 ac_abs_top_srcdir=$ac_pwd ;;
1655 [\\/]* | ?:[\\/]* ) # Absolute name.
1656 ac_srcdir=$srcdir$ac_dir_suffix;
1657 ac_top_srcdir=$srcdir
1658 ac_abs_top_srcdir=$srcdir ;;
1659 *) # Relative name.
1660 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1661 ac_top_srcdir=$ac_top_build_prefix$srcdir
1662 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1663 esac
1664 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1665
1666 cd "$ac_dir" || { ac_status=$?; continue; }
1667 # Check for guested configure.
1668 if test -f "$ac_srcdir/configure.gnu"; then
1669 echo &&
1670 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1671 elif test -f "$ac_srcdir/configure"; then
1672 echo &&
1673 $SHELL "$ac_srcdir/configure" --help=recursive
1674 else
1675 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1676 fi || ac_status=$?
1677 cd "$ac_pwd" || { ac_status=$?; break; }
1678 done
1679 fi
1680
1681 test -n "$ac_init_help" && exit $ac_status
1682 if $ac_init_version; then
1683 cat <<\_ACEOF
1684 package-unused configure version-unused
1685 generated by GNU Autoconf 2.64
1686
1687 Copyright (C) 2009 Free Software Foundation, Inc.
1688 This configure script is free software; the Free Software Foundation
1689 gives unlimited permission to copy, distribute and modify it.
1690 _ACEOF
1691 exit
1692 fi
1693
1694 ## ------------------------ ##
1695 ## Autoconf initialization. ##
1696 ## ------------------------ ##
1697
1698 # ac_fn_c_try_compile LINENO
1699 # --------------------------
1700 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1701 ac_fn_c_try_compile ()
1702 {
1703 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1704 rm -f conftest.$ac_objext
1705 if { { ac_try="$ac_compile"
1706 case "(($ac_try" in
1707 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1708 *) ac_try_echo=$ac_try;;
1709 esac
1710 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1711 $as_echo "$ac_try_echo"; } >&5
1712 (eval "$ac_compile") 2>conftest.err
1713 ac_status=$?
1714 if test -s conftest.err; then
1715 grep -v '^ *+' conftest.err >conftest.er1
1716 cat conftest.er1 >&5
1717 mv -f conftest.er1 conftest.err
1718 fi
1719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1720 test $ac_status = 0; } && {
1721 test -z "$ac_c_werror_flag" ||
1722 test ! -s conftest.err
1723 } && test -s conftest.$ac_objext; then :
1724 ac_retval=0
1725 else
1726 $as_echo "$as_me: failed program was:" >&5
1727 sed 's/^/| /' conftest.$ac_ext >&5
1728
1729 ac_retval=1
1730 fi
1731 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1732 return $ac_retval
1733
1734 } # ac_fn_c_try_compile
1735
1736 # ac_fn_cxx_try_compile LINENO
1737 # ----------------------------
1738 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1739 ac_fn_cxx_try_compile ()
1740 {
1741 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1742 rm -f conftest.$ac_objext
1743 if { { ac_try="$ac_compile"
1744 case "(($ac_try" in
1745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1746 *) ac_try_echo=$ac_try;;
1747 esac
1748 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1749 $as_echo "$ac_try_echo"; } >&5
1750 (eval "$ac_compile") 2>conftest.err
1751 ac_status=$?
1752 if test -s conftest.err; then
1753 grep -v '^ *+' conftest.err >conftest.er1
1754 cat conftest.er1 >&5
1755 mv -f conftest.er1 conftest.err
1756 fi
1757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1758 test $ac_status = 0; } && {
1759 test -z "$ac_cxx_werror_flag" ||
1760 test ! -s conftest.err
1761 } && test -s conftest.$ac_objext; then :
1762 ac_retval=0
1763 else
1764 $as_echo "$as_me: failed program was:" >&5
1765 sed 's/^/| /' conftest.$ac_ext >&5
1766
1767 ac_retval=1
1768 fi
1769 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1770 return $ac_retval
1771
1772 } # ac_fn_cxx_try_compile
1773
1774 # ac_fn_c_try_cpp LINENO
1775 # ----------------------
1776 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1777 ac_fn_c_try_cpp ()
1778 {
1779 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1780 if { { ac_try="$ac_cpp conftest.$ac_ext"
1781 case "(($ac_try" in
1782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1783 *) ac_try_echo=$ac_try;;
1784 esac
1785 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1786 $as_echo "$ac_try_echo"; } >&5
1787 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1788 ac_status=$?
1789 if test -s conftest.err; then
1790 grep -v '^ *+' conftest.err >conftest.er1
1791 cat conftest.er1 >&5
1792 mv -f conftest.er1 conftest.err
1793 fi
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; } >/dev/null && {
1796 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1797 test ! -s conftest.err
1798 }; then :
1799 ac_retval=0
1800 else
1801 $as_echo "$as_me: failed program was:" >&5
1802 sed 's/^/| /' conftest.$ac_ext >&5
1803
1804 ac_retval=1
1805 fi
1806 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1807 return $ac_retval
1808
1809 } # ac_fn_c_try_cpp
1810
1811 # ac_fn_c_try_link LINENO
1812 # -----------------------
1813 # Try to link conftest.$ac_ext, and return whether this succeeded.
1814 ac_fn_c_try_link ()
1815 {
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 rm -f conftest.$ac_objext conftest$ac_exeext
1818 if { { ac_try="$ac_link"
1819 case "(($ac_try" in
1820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1821 *) ac_try_echo=$ac_try;;
1822 esac
1823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1824 $as_echo "$ac_try_echo"; } >&5
1825 (eval "$ac_link") 2>conftest.err
1826 ac_status=$?
1827 if test -s conftest.err; then
1828 grep -v '^ *+' conftest.err >conftest.er1
1829 cat conftest.er1 >&5
1830 mv -f conftest.er1 conftest.err
1831 fi
1832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1833 test $ac_status = 0; } && {
1834 test -z "$ac_c_werror_flag" ||
1835 test ! -s conftest.err
1836 } && test -s conftest$ac_exeext && {
1837 test "$cross_compiling" = yes ||
1838 $as_test_x conftest$ac_exeext
1839 }; then :
1840 ac_retval=0
1841 else
1842 $as_echo "$as_me: failed program was:" >&5
1843 sed 's/^/| /' conftest.$ac_ext >&5
1844
1845 ac_retval=1
1846 fi
1847 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1848 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1849 # interfere with the next link command; also delete a directory that is
1850 # left behind by Apple's compiler. We do this before executing the actions.
1851 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1852 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1853 return $ac_retval
1854
1855 } # ac_fn_c_try_link
1856
1857 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1858 # -------------------------------------------------------
1859 # Tests whether HEADER exists and can be compiled using the include files in
1860 # INCLUDES, setting the cache variable VAR accordingly.
1861 ac_fn_c_check_header_compile ()
1862 {
1863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1865 $as_echo_n "checking for $2... " >&6; }
1866 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1867 $as_echo_n "(cached) " >&6
1868 else
1869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1870 /* end confdefs.h. */
1871 $4
1872 #include <$2>
1873 _ACEOF
1874 if ac_fn_c_try_compile "$LINENO"; then :
1875 eval "$3=yes"
1876 else
1877 eval "$3=no"
1878 fi
1879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1880 fi
1881 eval ac_res=\$$3
1882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1883 $as_echo "$ac_res" >&6; }
1884 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1885
1886 } # ac_fn_c_check_header_compile
1887
1888 # ac_fn_c_try_run LINENO
1889 # ----------------------
1890 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1891 # that executables *can* be run.
1892 ac_fn_c_try_run ()
1893 {
1894 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1895 if { { ac_try="$ac_link"
1896 case "(($ac_try" in
1897 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1898 *) ac_try_echo=$ac_try;;
1899 esac
1900 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1901 $as_echo "$ac_try_echo"; } >&5
1902 (eval "$ac_link") 2>&5
1903 ac_status=$?
1904 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1905 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1906 { { case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_try") 2>&5
1913 ac_status=$?
1914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1915 test $ac_status = 0; }; }; then :
1916 ac_retval=0
1917 else
1918 $as_echo "$as_me: program exited with status $ac_status" >&5
1919 $as_echo "$as_me: failed program was:" >&5
1920 sed 's/^/| /' conftest.$ac_ext >&5
1921
1922 ac_retval=$ac_status
1923 fi
1924 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1925 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1926 return $ac_retval
1927
1928 } # ac_fn_c_try_run
1929
1930 # ac_fn_c_check_func LINENO FUNC VAR
1931 # ----------------------------------
1932 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1933 ac_fn_c_check_func ()
1934 {
1935 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937 $as_echo_n "checking for $2... " >&6; }
1938 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1939 $as_echo_n "(cached) " >&6
1940 else
1941 if test x$gcc_no_link = xyes; then
1942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1943 fi
1944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1945 /* end confdefs.h. */
1946 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1948 #define $2 innocuous_$2
1949
1950 /* System header to define __stub macros and hopefully few prototypes,
1951 which can conflict with char $2 (); below.
1952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1953 <limits.h> exists even on freestanding compilers. */
1954
1955 #ifdef __STDC__
1956 # include <limits.h>
1957 #else
1958 # include <assert.h>
1959 #endif
1960
1961 #undef $2
1962
1963 /* Override any GCC internal prototype to avoid an error.
1964 Use char because int might match the return type of a GCC
1965 builtin and then its argument prototype would still apply. */
1966 #ifdef __cplusplus
1967 extern "C"
1968 #endif
1969 char $2 ();
1970 /* The GNU C library defines this for functions which it implements
1971 to always fail with ENOSYS. Some functions are actually named
1972 something starting with __ and the normal name is an alias. */
1973 #if defined __stub_$2 || defined __stub___$2
1974 choke me
1975 #endif
1976
1977 int
1978 main ()
1979 {
1980 return $2 ();
1981 ;
1982 return 0;
1983 }
1984 _ACEOF
1985 if ac_fn_c_try_link "$LINENO"; then :
1986 eval "$3=yes"
1987 else
1988 eval "$3=no"
1989 fi
1990 rm -f core conftest.err conftest.$ac_objext \
1991 conftest$ac_exeext conftest.$ac_ext
1992 fi
1993 eval ac_res=\$$3
1994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1995 $as_echo "$ac_res" >&6; }
1996 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1997
1998 } # ac_fn_c_check_func
1999
2000 # ac_fn_cxx_try_cpp LINENO
2001 # ------------------------
2002 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2003 ac_fn_cxx_try_cpp ()
2004 {
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 if { { ac_try="$ac_cpp conftest.$ac_ext"
2007 case "(($ac_try" in
2008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2009 *) ac_try_echo=$ac_try;;
2010 esac
2011 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2012 $as_echo "$ac_try_echo"; } >&5
2013 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2014 ac_status=$?
2015 if test -s conftest.err; then
2016 grep -v '^ *+' conftest.err >conftest.er1
2017 cat conftest.er1 >&5
2018 mv -f conftest.er1 conftest.err
2019 fi
2020 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2021 test $ac_status = 0; } >/dev/null && {
2022 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2023 test ! -s conftest.err
2024 }; then :
2025 ac_retval=0
2026 else
2027 $as_echo "$as_me: failed program was:" >&5
2028 sed 's/^/| /' conftest.$ac_ext >&5
2029
2030 ac_retval=1
2031 fi
2032 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2033 return $ac_retval
2034
2035 } # ac_fn_cxx_try_cpp
2036
2037 # ac_fn_cxx_try_link LINENO
2038 # -------------------------
2039 # Try to link conftest.$ac_ext, and return whether this succeeded.
2040 ac_fn_cxx_try_link ()
2041 {
2042 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2043 rm -f conftest.$ac_objext conftest$ac_exeext
2044 if { { ac_try="$ac_link"
2045 case "(($ac_try" in
2046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2047 *) ac_try_echo=$ac_try;;
2048 esac
2049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2050 $as_echo "$ac_try_echo"; } >&5
2051 (eval "$ac_link") 2>conftest.err
2052 ac_status=$?
2053 if test -s conftest.err; then
2054 grep -v '^ *+' conftest.err >conftest.er1
2055 cat conftest.er1 >&5
2056 mv -f conftest.er1 conftest.err
2057 fi
2058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2059 test $ac_status = 0; } && {
2060 test -z "$ac_cxx_werror_flag" ||
2061 test ! -s conftest.err
2062 } && test -s conftest$ac_exeext && {
2063 test "$cross_compiling" = yes ||
2064 $as_test_x conftest$ac_exeext
2065 }; then :
2066 ac_retval=0
2067 else
2068 $as_echo "$as_me: failed program was:" >&5
2069 sed 's/^/| /' conftest.$ac_ext >&5
2070
2071 ac_retval=1
2072 fi
2073 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2074 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2075 # interfere with the next link command; also delete a directory that is
2076 # left behind by Apple's compiler. We do this before executing the actions.
2077 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2078 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2079 return $ac_retval
2080
2081 } # ac_fn_cxx_try_link
2082
2083 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2084 # -------------------------------------------------------
2085 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2086 # the include files in INCLUDES and setting the cache variable VAR
2087 # accordingly.
2088 ac_fn_c_check_header_mongrel ()
2089 {
2090 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2091 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2093 $as_echo_n "checking for $2... " >&6; }
2094 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2095 $as_echo_n "(cached) " >&6
2096 fi
2097 eval ac_res=\$$3
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2099 $as_echo "$ac_res" >&6; }
2100 else
2101 # Is the header compilable?
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2103 $as_echo_n "checking $2 usability... " >&6; }
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2106 $4
2107 #include <$2>
2108 _ACEOF
2109 if ac_fn_c_try_compile "$LINENO"; then :
2110 ac_header_compiler=yes
2111 else
2112 ac_header_compiler=no
2113 fi
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2116 $as_echo "$ac_header_compiler" >&6; }
2117
2118 # Is the header present?
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2120 $as_echo_n "checking $2 presence... " >&6; }
2121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2122 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_cpp "$LINENO"; then :
2126 ac_header_preproc=yes
2127 else
2128 ac_header_preproc=no
2129 fi
2130 rm -f conftest.err conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2132 $as_echo "$ac_header_preproc" >&6; }
2133
2134 # So? What about this header?
2135 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2136 yes:no: )
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2138 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2140 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2141 ;;
2142 no:yes:* )
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2144 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2146 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2148 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2150 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2152 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2153 ;;
2154 esac
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2156 $as_echo_n "checking for $2... " >&6; }
2157 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2158 $as_echo_n "(cached) " >&6
2159 else
2160 eval "$3=\$ac_header_compiler"
2161 fi
2162 eval ac_res=\$$3
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2164 $as_echo "$ac_res" >&6; }
2165 fi
2166 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2167
2168 } # ac_fn_c_check_header_mongrel
2169
2170 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # ---------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_cxx_check_header_mongrel ()
2176 {
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2182 $as_echo_n "(cached) " >&6
2183 fi
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2193 $4
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_cxx_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2200 fi
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2204
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2216 fi
2217 rm -f conftest.err conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2220
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2228 ;;
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2240 ;;
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2248 fi
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 fi
2253 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2254
2255 } # ac_fn_cxx_check_header_mongrel
2256
2257 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2258 # --------------------------------------------
2259 # Tries to find the compile-time value of EXPR in a program that includes
2260 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2261 # computed
2262 ac_fn_c_compute_int ()
2263 {
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if test "$cross_compiling" = yes; then
2266 # Depending upon the size, compute the lo and hi bounds.
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2269 $4
2270 int
2271 main ()
2272 {
2273 static int test_array [1 - 2 * !(($2) >= 0)];
2274 test_array [0] = 0
2275
2276 ;
2277 return 0;
2278 }
2279 _ACEOF
2280 if ac_fn_c_try_compile "$LINENO"; then :
2281 ac_lo=0 ac_mid=0
2282 while :; do
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2285 $4
2286 int
2287 main ()
2288 {
2289 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2290 test_array [0] = 0
2291
2292 ;
2293 return 0;
2294 }
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_hi=$ac_mid; break
2298 else
2299 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2300 if test $ac_lo -le $ac_mid; then
2301 ac_lo= ac_hi=
2302 break
2303 fi
2304 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2305 fi
2306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2307 done
2308 else
2309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2310 /* end confdefs.h. */
2311 $4
2312 int
2313 main ()
2314 {
2315 static int test_array [1 - 2 * !(($2) < 0)];
2316 test_array [0] = 0
2317
2318 ;
2319 return 0;
2320 }
2321 _ACEOF
2322 if ac_fn_c_try_compile "$LINENO"; then :
2323 ac_hi=-1 ac_mid=-1
2324 while :; do
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2327 $4
2328 int
2329 main ()
2330 {
2331 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2332 test_array [0] = 0
2333
2334 ;
2335 return 0;
2336 }
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_lo=$ac_mid; break
2340 else
2341 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2342 if test $ac_mid -le $ac_hi; then
2343 ac_lo= ac_hi=
2344 break
2345 fi
2346 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2347 fi
2348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2349 done
2350 else
2351 ac_lo= ac_hi=
2352 fi
2353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2354 fi
2355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2356 # Binary search between lo and hi bounds.
2357 while test "x$ac_lo" != "x$ac_hi"; do
2358 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2360 /* end confdefs.h. */
2361 $4
2362 int
2363 main ()
2364 {
2365 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2366 test_array [0] = 0
2367
2368 ;
2369 return 0;
2370 }
2371 _ACEOF
2372 if ac_fn_c_try_compile "$LINENO"; then :
2373 ac_hi=$ac_mid
2374 else
2375 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2376 fi
2377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2378 done
2379 case $ac_lo in #((
2380 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2381 '') ac_retval=1 ;;
2382 esac
2383 else
2384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2385 /* end confdefs.h. */
2386 $4
2387 static long int longval () { return $2; }
2388 static unsigned long int ulongval () { return $2; }
2389 #include <stdio.h>
2390 #include <stdlib.h>
2391 int
2392 main ()
2393 {
2394
2395 FILE *f = fopen ("conftest.val", "w");
2396 if (! f)
2397 return 1;
2398 if (($2) < 0)
2399 {
2400 long int i = longval ();
2401 if (i != ($2))
2402 return 1;
2403 fprintf (f, "%ld", i);
2404 }
2405 else
2406 {
2407 unsigned long int i = ulongval ();
2408 if (i != ($2))
2409 return 1;
2410 fprintf (f, "%lu", i);
2411 }
2412 /* Do not output a trailing newline, as this causes \r\n confusion
2413 on some platforms. */
2414 return ferror (f) || fclose (f) != 0;
2415
2416 ;
2417 return 0;
2418 }
2419 _ACEOF
2420 if ac_fn_c_try_run "$LINENO"; then :
2421 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2422 else
2423 ac_retval=1
2424 fi
2425 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2426 conftest.$ac_objext conftest.beam conftest.$ac_ext
2427 rm -f conftest.val
2428
2429 fi
2430 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2431 return $ac_retval
2432
2433 } # ac_fn_c_compute_int
2434
2435 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2436 # -------------------------------------------
2437 # Tests whether TYPE exists after having included INCLUDES, setting cache
2438 # variable VAR accordingly.
2439 ac_fn_c_check_type ()
2440 {
2441 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2443 $as_echo_n "checking for $2... " >&6; }
2444 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2445 $as_echo_n "(cached) " >&6
2446 else
2447 eval "$3=no"
2448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2449 /* end confdefs.h. */
2450 $4
2451 int
2452 main ()
2453 {
2454 if (sizeof ($2))
2455 return 0;
2456 ;
2457 return 0;
2458 }
2459 _ACEOF
2460 if ac_fn_c_try_compile "$LINENO"; then :
2461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2462 /* end confdefs.h. */
2463 $4
2464 int
2465 main ()
2466 {
2467 if (sizeof (($2)))
2468 return 0;
2469 ;
2470 return 0;
2471 }
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2474
2475 else
2476 eval "$3=yes"
2477 fi
2478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2479 fi
2480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2481 fi
2482 eval ac_res=\$$3
2483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2484 $as_echo "$ac_res" >&6; }
2485 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2486
2487 } # ac_fn_c_check_type
2488 cat >config.log <<_ACEOF
2489 This file contains any messages produced by compilers while
2490 running configure, to aid debugging if configure makes a mistake.
2491
2492 It was created by package-unused $as_me version-unused, which was
2493 generated by GNU Autoconf 2.64. Invocation command line was
2494
2495 $ $0 $@
2496
2497 _ACEOF
2498 exec 5>>config.log
2499 {
2500 cat <<_ASUNAME
2501 ## --------- ##
2502 ## Platform. ##
2503 ## --------- ##
2504
2505 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2506 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2507 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2508 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2509 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2510
2511 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2512 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2513
2514 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2515 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2516 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2517 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2518 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2519 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2520 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2521
2522 _ASUNAME
2523
2524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2525 for as_dir in $PATH
2526 do
2527 IFS=$as_save_IFS
2528 test -z "$as_dir" && as_dir=.
2529 $as_echo "PATH: $as_dir"
2530 done
2531 IFS=$as_save_IFS
2532
2533 } >&5
2534
2535 cat >&5 <<_ACEOF
2536
2537
2538 ## ----------- ##
2539 ## Core tests. ##
2540 ## ----------- ##
2541
2542 _ACEOF
2543
2544
2545 # Keep a trace of the command line.
2546 # Strip out --no-create and --no-recursion so they do not pile up.
2547 # Strip out --silent because we don't want to record it for future runs.
2548 # Also quote any args containing shell meta-characters.
2549 # Make two passes to allow for proper duplicate-argument suppression.
2550 ac_configure_args=
2551 ac_configure_args0=
2552 ac_configure_args1=
2553 ac_must_keep_next=false
2554 for ac_pass in 1 2
2555 do
2556 for ac_arg
2557 do
2558 case $ac_arg in
2559 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2560 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2561 | -silent | --silent | --silen | --sile | --sil)
2562 continue ;;
2563 *\'*)
2564 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2565 esac
2566 case $ac_pass in
2567 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2568 2)
2569 as_fn_append ac_configure_args1 " '$ac_arg'"
2570 if test $ac_must_keep_next = true; then
2571 ac_must_keep_next=false # Got value, back to normal.
2572 else
2573 case $ac_arg in
2574 *=* | --config-cache | -C | -disable-* | --disable-* \
2575 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2576 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2577 | -with-* | --with-* | -without-* | --without-* | --x)
2578 case "$ac_configure_args0 " in
2579 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2580 esac
2581 ;;
2582 -* ) ac_must_keep_next=true ;;
2583 esac
2584 fi
2585 as_fn_append ac_configure_args " '$ac_arg'"
2586 ;;
2587 esac
2588 done
2589 done
2590 { ac_configure_args0=; unset ac_configure_args0;}
2591 { ac_configure_args1=; unset ac_configure_args1;}
2592
2593 # When interrupted or exit'd, cleanup temporary files, and complete
2594 # config.log. We remove comments because anyway the quotes in there
2595 # would cause problems or look ugly.
2596 # WARNING: Use '\'' to represent an apostrophe within the trap.
2597 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2598 trap 'exit_status=$?
2599 # Save into config.log some information that might help in debugging.
2600 {
2601 echo
2602
2603 cat <<\_ASBOX
2604 ## ---------------- ##
2605 ## Cache variables. ##
2606 ## ---------------- ##
2607 _ASBOX
2608 echo
2609 # The following way of writing the cache mishandles newlines in values,
2610 (
2611 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2612 eval ac_val=\$$ac_var
2613 case $ac_val in #(
2614 *${as_nl}*)
2615 case $ac_var in #(
2616 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2617 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2618 esac
2619 case $ac_var in #(
2620 _ | IFS | as_nl) ;; #(
2621 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2622 *) { eval $ac_var=; unset $ac_var;} ;;
2623 esac ;;
2624 esac
2625 done
2626 (set) 2>&1 |
2627 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2628 *${as_nl}ac_space=\ *)
2629 sed -n \
2630 "s/'\''/'\''\\\\'\'''\''/g;
2631 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2632 ;; #(
2633 *)
2634 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2635 ;;
2636 esac |
2637 sort
2638 )
2639 echo
2640
2641 cat <<\_ASBOX
2642 ## ----------------- ##
2643 ## Output variables. ##
2644 ## ----------------- ##
2645 _ASBOX
2646 echo
2647 for ac_var in $ac_subst_vars
2648 do
2649 eval ac_val=\$$ac_var
2650 case $ac_val in
2651 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2652 esac
2653 $as_echo "$ac_var='\''$ac_val'\''"
2654 done | sort
2655 echo
2656
2657 if test -n "$ac_subst_files"; then
2658 cat <<\_ASBOX
2659 ## ------------------- ##
2660 ## File substitutions. ##
2661 ## ------------------- ##
2662 _ASBOX
2663 echo
2664 for ac_var in $ac_subst_files
2665 do
2666 eval ac_val=\$$ac_var
2667 case $ac_val in
2668 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2669 esac
2670 $as_echo "$ac_var='\''$ac_val'\''"
2671 done | sort
2672 echo
2673 fi
2674
2675 if test -s confdefs.h; then
2676 cat <<\_ASBOX
2677 ## ----------- ##
2678 ## confdefs.h. ##
2679 ## ----------- ##
2680 _ASBOX
2681 echo
2682 cat confdefs.h
2683 echo
2684 fi
2685 test "$ac_signal" != 0 &&
2686 $as_echo "$as_me: caught signal $ac_signal"
2687 $as_echo "$as_me: exit $exit_status"
2688 } >&5
2689 rm -f core *.core core.conftest.* &&
2690 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2691 exit $exit_status
2692 ' 0
2693 for ac_signal in 1 2 13 15; do
2694 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2695 done
2696 ac_signal=0
2697
2698 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2699 rm -f -r conftest* confdefs.h
2700
2701 $as_echo "/* confdefs.h */" > confdefs.h
2702
2703 # Predefined preprocessor variables.
2704
2705 cat >>confdefs.h <<_ACEOF
2706 #define PACKAGE_NAME "$PACKAGE_NAME"
2707 _ACEOF
2708
2709 cat >>confdefs.h <<_ACEOF
2710 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2711 _ACEOF
2712
2713 cat >>confdefs.h <<_ACEOF
2714 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2715 _ACEOF
2716
2717 cat >>confdefs.h <<_ACEOF
2718 #define PACKAGE_STRING "$PACKAGE_STRING"
2719 _ACEOF
2720
2721 cat >>confdefs.h <<_ACEOF
2722 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2723 _ACEOF
2724
2725 cat >>confdefs.h <<_ACEOF
2726 #define PACKAGE_URL "$PACKAGE_URL"
2727 _ACEOF
2728
2729
2730 # Let the site file select an alternate cache file if it wants to.
2731 # Prefer an explicitly selected file to automatically selected ones.
2732 ac_site_file1=NONE
2733 ac_site_file2=NONE
2734 if test -n "$CONFIG_SITE"; then
2735 ac_site_file1=$CONFIG_SITE
2736 elif test "x$prefix" != xNONE; then
2737 ac_site_file1=$prefix/share/config.site
2738 ac_site_file2=$prefix/etc/config.site
2739 else
2740 ac_site_file1=$ac_default_prefix/share/config.site
2741 ac_site_file2=$ac_default_prefix/etc/config.site
2742 fi
2743 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2744 do
2745 test "x$ac_site_file" = xNONE && continue
2746 if test -r "$ac_site_file"; then
2747 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2748 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2749 sed 's/^/| /' "$ac_site_file" >&5
2750 . "$ac_site_file"
2751 fi
2752 done
2753
2754 if test -r "$cache_file"; then
2755 # Some versions of bash will fail to source /dev/null (special
2756 # files actually), so we avoid doing that.
2757 if test -f "$cache_file"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2759 $as_echo "$as_me: loading cache $cache_file" >&6;}
2760 case $cache_file in
2761 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2762 *) . "./$cache_file";;
2763 esac
2764 fi
2765 else
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2767 $as_echo "$as_me: creating cache $cache_file" >&6;}
2768 >$cache_file
2769 fi
2770
2771 # Check that the precious variables saved in the cache have kept the same
2772 # value.
2773 ac_cache_corrupted=false
2774 for ac_var in $ac_precious_vars; do
2775 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2776 eval ac_new_set=\$ac_env_${ac_var}_set
2777 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2778 eval ac_new_val=\$ac_env_${ac_var}_value
2779 case $ac_old_set,$ac_new_set in
2780 set,)
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2782 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2783 ac_cache_corrupted=: ;;
2784 ,set)
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2786 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2787 ac_cache_corrupted=: ;;
2788 ,);;
2789 *)
2790 if test "x$ac_old_val" != "x$ac_new_val"; then
2791 # differences in whitespace do not lead to failure.
2792 ac_old_val_w=`echo x $ac_old_val`
2793 ac_new_val_w=`echo x $ac_new_val`
2794 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2796 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2797 ac_cache_corrupted=:
2798 else
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2800 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2801 eval $ac_var=\$ac_old_val
2802 fi
2803 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2804 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2805 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2806 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2807 fi;;
2808 esac
2809 # Pass precious variables to config.status.
2810 if test "$ac_new_set" = set; then
2811 case $ac_new_val in
2812 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2813 *) ac_arg=$ac_var=$ac_new_val ;;
2814 esac
2815 case " $ac_configure_args " in
2816 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2817 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2818 esac
2819 fi
2820 done
2821 if $ac_cache_corrupted; then
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2823 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2825 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2826 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2827 fi
2828 ## -------------------- ##
2829 ## Main body of script. ##
2830 ## -------------------- ##
2831
2832 ac_ext=c
2833 ac_cpp='$CPP $CPPFLAGS'
2834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2837
2838
2839
2840
2841
2842
2843 ac_config_headers="$ac_config_headers config.h"
2844
2845
2846 # This works around the fact that libtool configuration may change LD
2847 # for this particular configuration, but some shells, instead of
2848 # keeping the changes in LD private, export them just because LD is
2849 # exported. Only used at the end of this file.
2850 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2851
2852 # Find the rest of the source tree framework.
2853 # Default to --enable-multilib
2854 # Check whether --enable-multilib was given.
2855 if test "${enable_multilib+set}" = set; then :
2856 enableval=$enable_multilib; case "$enableval" in
2857 yes) multilib=yes ;;
2858 no) multilib=no ;;
2859 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2860 esac
2861 else
2862 multilib=yes
2863 fi
2864
2865
2866 # We may get other options which we leave undocumented:
2867 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2868 # See config-ml.in if you want the gory details.
2869
2870 if test "$srcdir" = "."; then
2871 if test "$with_target_subdir" != "."; then
2872 multi_basedir="$srcdir/$with_multisrctop../.."
2873 else
2874 multi_basedir="$srcdir/$with_multisrctop.."
2875 fi
2876 else
2877 multi_basedir="$srcdir/.."
2878 fi
2879
2880
2881 # Even if the default multilib is not a cross compilation,
2882 # it may be that some of the other multilibs are.
2883 if test $cross_compiling = no && test $multilib = yes \
2884 && test "x${with_multisubdir}" != x ; then
2885 cross_compiling=maybe
2886 fi
2887
2888 ac_config_commands="$ac_config_commands default-1"
2889
2890
2891 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2892 #
2893 # You will slowly go insane if you do not grok the following fact: when
2894 # building v3 as part of the compiler, the top-level /target/ becomes the
2895 # library's /host/. configure then causes --target to default to --host,
2896 # exactly like any other package using autoconf. Therefore, 'target' and
2897 # 'host' will always be the same. This makes sense both for native and
2898 # cross compilers, just think about it for a little while. :-)
2899 #
2900 # Also, if v3 is being configured as part of a cross compiler, the top-level
2901 # configure script will pass the "real" host as $with_cross_host.
2902 #
2903 # Do not delete or change the following two lines. For why, see
2904 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2905 ac_aux_dir=
2906 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2907 for ac_t in install-sh install.sh shtool; do
2908 if test -f "$ac_dir/$ac_t"; then
2909 ac_aux_dir=$ac_dir
2910 ac_install_sh="$ac_aux_dir/$ac_t -c"
2911 break 2
2912 fi
2913 done
2914 done
2915 if test -z "$ac_aux_dir"; then
2916 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2917 fi
2918
2919 # These three variables are undocumented and unsupported,
2920 # and are intended to be withdrawn in a future Autoconf release.
2921 # They can cause serious problems if a builder's source tree is in a directory
2922 # whose full name contains unusual characters.
2923 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2924 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2925 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2926
2927
2928 # Make sure we can run config.sub.
2929 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2930 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2931
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2933 $as_echo_n "checking build system type... " >&6; }
2934 if test "${ac_cv_build+set}" = set; then :
2935 $as_echo_n "(cached) " >&6
2936 else
2937 ac_build_alias=$build_alias
2938 test "x$ac_build_alias" = x &&
2939 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2940 test "x$ac_build_alias" = x &&
2941 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2942 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2943 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2944
2945 fi
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2947 $as_echo "$ac_cv_build" >&6; }
2948 case $ac_cv_build in
2949 *-*-*) ;;
2950 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2951 esac
2952 build=$ac_cv_build
2953 ac_save_IFS=$IFS; IFS='-'
2954 set x $ac_cv_build
2955 shift
2956 build_cpu=$1
2957 build_vendor=$2
2958 shift; shift
2959 # Remember, the first character of IFS is used to create $*,
2960 # except with old shells:
2961 build_os=$*
2962 IFS=$ac_save_IFS
2963 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2964
2965
2966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2967 $as_echo_n "checking host system type... " >&6; }
2968 if test "${ac_cv_host+set}" = set; then :
2969 $as_echo_n "(cached) " >&6
2970 else
2971 if test "x$host_alias" = x; then
2972 ac_cv_host=$ac_cv_build
2973 else
2974 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2975 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2976 fi
2977
2978 fi
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2980 $as_echo "$ac_cv_host" >&6; }
2981 case $ac_cv_host in
2982 *-*-*) ;;
2983 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2984 esac
2985 host=$ac_cv_host
2986 ac_save_IFS=$IFS; IFS='-'
2987 set x $ac_cv_host
2988 shift
2989 host_cpu=$1
2990 host_vendor=$2
2991 shift; shift
2992 # Remember, the first character of IFS is used to create $*,
2993 # except with old shells:
2994 host_os=$*
2995 IFS=$ac_save_IFS
2996 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2997
2998
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3000 $as_echo_n "checking target system type... " >&6; }
3001 if test "${ac_cv_target+set}" = set; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 if test "x$target_alias" = x; then
3005 ac_cv_target=$ac_cv_host
3006 else
3007 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3008 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3009 fi
3010
3011 fi
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3013 $as_echo "$ac_cv_target" >&6; }
3014 case $ac_cv_target in
3015 *-*-*) ;;
3016 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3017 esac
3018 target=$ac_cv_target
3019 ac_save_IFS=$IFS; IFS='-'
3020 set x $ac_cv_target
3021 shift
3022 target_cpu=$1
3023 target_vendor=$2
3024 shift; shift
3025 # Remember, the first character of IFS is used to create $*,
3026 # except with old shells:
3027 target_os=$*
3028 IFS=$ac_save_IFS
3029 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3030
3031
3032 # The aliases save the names the user supplied, while $host etc.
3033 # will get canonicalized.
3034 test -n "$target_alias" &&
3035 test "$program_prefix$program_suffix$program_transform_name" = \
3036 NONENONEs,x,x, &&
3037 program_prefix=${target_alias}-
3038
3039 target_alias=${target_alias-$host_alias}
3040
3041 # Handy for debugging:
3042 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3043
3044 if test "$build" != "$host"; then
3045 # We are being configured with some form of cross compiler.
3046 GLIBCXX_IS_NATIVE=false
3047 case "$host","$target" in
3048 # Darwin crosses can use the host system's libraries and headers,
3049 # because of the fat library support. Of course, it must be the
3050 # same version of Darwin on both sides. Allow the user to
3051 # just say --target=foo-darwin without a version number to mean
3052 # "the version on this system".
3053 *-*-darwin*,*-*-darwin*)
3054 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3055 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3056 if test $hostos = $targetos -o $targetos = darwin ; then
3057 GLIBCXX_IS_NATIVE=true
3058 fi
3059 ;;
3060
3061 *)
3062
3063 ;;
3064 esac
3065 else
3066 GLIBCXX_IS_NATIVE=true
3067 fi
3068
3069 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3070 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3071 # 1.x: minimum required version
3072 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3073 # of other PACKAGE_* variables will, however, and there's nothing
3074 # we can do about that; they come from AC_INIT).
3075 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3076 # file in the top srcdir, etc, etc), so stop complaining.
3077 # no-dependencies: turns off auto dependency generation (just for now)
3078 # no-dist: we don't want 'dist' and related rules.
3079 # -Wall: turns on all automake warnings...
3080 # -Wno-portability: ...except this one, since GNU make is now required.
3081 am__api_version='1.11'
3082
3083 # Find a good install program. We prefer a C program (faster),
3084 # so one script is as good as another. But avoid the broken or
3085 # incompatible versions:
3086 # SysV /etc/install, /usr/sbin/install
3087 # SunOS /usr/etc/install
3088 # IRIX /sbin/install
3089 # AIX /bin/install
3090 # AmigaOS /C/install, which installs bootblocks on floppy discs
3091 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3092 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3093 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3094 # OS/2's system install, which has a completely different semantic
3095 # ./install, which can be erroneously created by make from ./install.sh.
3096 # Reject install programs that cannot install multiple files.
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3098 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3099 if test -z "$INSTALL"; then
3100 if test "${ac_cv_path_install+set}" = set; then :
3101 $as_echo_n "(cached) " >&6
3102 else
3103 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3104 for as_dir in $PATH
3105 do
3106 IFS=$as_save_IFS
3107 test -z "$as_dir" && as_dir=.
3108 # Account for people who put trailing slashes in PATH elements.
3109 case $as_dir/ in #((
3110 ./ | .// | /[cC]/* | \
3111 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3112 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3113 /usr/ucb/* ) ;;
3114 *)
3115 # OSF1 and SCO ODT 3.0 have their own names for install.
3116 # Don't use installbsd from OSF since it installs stuff as root
3117 # by default.
3118 for ac_prog in ginstall scoinst install; do
3119 for ac_exec_ext in '' $ac_executable_extensions; do
3120 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3121 if test $ac_prog = install &&
3122 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3123 # AIX install. It has an incompatible calling convention.
3124 :
3125 elif test $ac_prog = install &&
3126 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3127 # program-specific install script used by HP pwplus--don't use.
3128 :
3129 else
3130 rm -rf conftest.one conftest.two conftest.dir
3131 echo one > conftest.one
3132 echo two > conftest.two
3133 mkdir conftest.dir
3134 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3135 test -s conftest.one && test -s conftest.two &&
3136 test -s conftest.dir/conftest.one &&
3137 test -s conftest.dir/conftest.two
3138 then
3139 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3140 break 3
3141 fi
3142 fi
3143 fi
3144 done
3145 done
3146 ;;
3147 esac
3148
3149 done
3150 IFS=$as_save_IFS
3151
3152 rm -rf conftest.one conftest.two conftest.dir
3153
3154 fi
3155 if test "${ac_cv_path_install+set}" = set; then
3156 INSTALL=$ac_cv_path_install
3157 else
3158 # As a last resort, use the slow shell script. Don't cache a
3159 # value for INSTALL within a source directory, because that will
3160 # break other packages using the cache if that directory is
3161 # removed, or if the value is a relative name.
3162 INSTALL=$ac_install_sh
3163 fi
3164 fi
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3166 $as_echo "$INSTALL" >&6; }
3167
3168 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3169 # It thinks the first close brace ends the variable substitution.
3170 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3171
3172 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3173
3174 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3175
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3177 $as_echo_n "checking whether build environment is sane... " >&6; }
3178 # Just in case
3179 sleep 1
3180 echo timestamp > conftest.file
3181 # Reject unsafe characters in $srcdir or the absolute working directory
3182 # name. Accept space and tab only in the latter.
3183 am_lf='
3184 '
3185 case `pwd` in
3186 *[\\\"\#\$\&\'\`$am_lf]*)
3187 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3188 esac
3189 case $srcdir in
3190 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3191 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3192 esac
3193
3194 # Do `set' in a subshell so we don't clobber the current shell's
3195 # arguments. Must try -L first in case configure is actually a
3196 # symlink; some systems play weird games with the mod time of symlinks
3197 # (eg FreeBSD returns the mod time of the symlink's containing
3198 # directory).
3199 if (
3200 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3201 if test "$*" = "X"; then
3202 # -L didn't work.
3203 set X `ls -t "$srcdir/configure" conftest.file`
3204 fi
3205 rm -f conftest.file
3206 if test "$*" != "X $srcdir/configure conftest.file" \
3207 && test "$*" != "X conftest.file $srcdir/configure"; then
3208
3209 # If neither matched, then we have a broken ls. This can happen
3210 # if, for instance, CONFIG_SHELL is bash and it inherits a
3211 # broken ls alias from the environment. This has actually
3212 # happened. Such a system could not be considered "sane".
3213 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3214 alias in your environment" "$LINENO" 5
3215 fi
3216
3217 test "$2" = conftest.file
3218 )
3219 then
3220 # Ok.
3221 :
3222 else
3223 as_fn_error "newly created file is older than distributed files!
3224 Check your system clock" "$LINENO" 5
3225 fi
3226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3227 $as_echo "yes" >&6; }
3228 test "$program_prefix" != NONE &&
3229 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3230 # Use a double $ so make ignores it.
3231 test "$program_suffix" != NONE &&
3232 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3233 # Double any \ or $.
3234 # By default was `s,x,x', remove it if useless.
3235 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3236 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3237
3238 # expand $ac_aux_dir to an absolute path
3239 am_aux_dir=`cd $ac_aux_dir && pwd`
3240
3241 if test x"${MISSING+set}" != xset; then
3242 case $am_aux_dir in
3243 *\ * | *\ *)
3244 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3245 *)
3246 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3247 esac
3248 fi
3249 # Use eval to expand $SHELL
3250 if eval "$MISSING --run true"; then
3251 am_missing_run="$MISSING --run "
3252 else
3253 am_missing_run=
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3255 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3256 fi
3257
3258 if test x"${install_sh}" != xset; then
3259 case $am_aux_dir in
3260 *\ * | *\ *)
3261 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3262 *)
3263 install_sh="\${SHELL} $am_aux_dir/install-sh"
3264 esac
3265 fi
3266
3267 # Installed binaries are usually stripped using `strip' when the user
3268 # run `make install-strip'. However `strip' might not be the right
3269 # tool to use in cross-compilation environments, therefore Automake
3270 # will honor the `STRIP' environment variable to overrule this program.
3271 if test "$cross_compiling" != no; then
3272 if test -n "$ac_tool_prefix"; then
3273 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3274 set dummy ${ac_tool_prefix}strip; ac_word=$2
3275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3276 $as_echo_n "checking for $ac_word... " >&6; }
3277 if test "${ac_cv_prog_STRIP+set}" = set; then :
3278 $as_echo_n "(cached) " >&6
3279 else
3280 if test -n "$STRIP"; then
3281 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3282 else
3283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3284 for as_dir in $PATH
3285 do
3286 IFS=$as_save_IFS
3287 test -z "$as_dir" && as_dir=.
3288 for ac_exec_ext in '' $ac_executable_extensions; do
3289 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3290 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3292 break 2
3293 fi
3294 done
3295 done
3296 IFS=$as_save_IFS
3297
3298 fi
3299 fi
3300 STRIP=$ac_cv_prog_STRIP
3301 if test -n "$STRIP"; then
3302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3303 $as_echo "$STRIP" >&6; }
3304 else
3305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3306 $as_echo "no" >&6; }
3307 fi
3308
3309
3310 fi
3311 if test -z "$ac_cv_prog_STRIP"; then
3312 ac_ct_STRIP=$STRIP
3313 # Extract the first word of "strip", so it can be a program name with args.
3314 set dummy strip; ac_word=$2
3315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3316 $as_echo_n "checking for $ac_word... " >&6; }
3317 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3318 $as_echo_n "(cached) " >&6
3319 else
3320 if test -n "$ac_ct_STRIP"; then
3321 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3322 else
3323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3324 for as_dir in $PATH
3325 do
3326 IFS=$as_save_IFS
3327 test -z "$as_dir" && as_dir=.
3328 for ac_exec_ext in '' $ac_executable_extensions; do
3329 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3330 ac_cv_prog_ac_ct_STRIP="strip"
3331 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3332 break 2
3333 fi
3334 done
3335 done
3336 IFS=$as_save_IFS
3337
3338 fi
3339 fi
3340 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3341 if test -n "$ac_ct_STRIP"; then
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3343 $as_echo "$ac_ct_STRIP" >&6; }
3344 else
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3346 $as_echo "no" >&6; }
3347 fi
3348
3349 if test "x$ac_ct_STRIP" = x; then
3350 STRIP=":"
3351 else
3352 case $cross_compiling:$ac_tool_warned in
3353 yes:)
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3355 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3356 ac_tool_warned=yes ;;
3357 esac
3358 STRIP=$ac_ct_STRIP
3359 fi
3360 else
3361 STRIP="$ac_cv_prog_STRIP"
3362 fi
3363
3364 fi
3365 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3366
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3368 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3369 if test -z "$MKDIR_P"; then
3370 if test "${ac_cv_path_mkdir+set}" = set; then :
3371 $as_echo_n "(cached) " >&6
3372 else
3373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3374 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3375 do
3376 IFS=$as_save_IFS
3377 test -z "$as_dir" && as_dir=.
3378 for ac_prog in mkdir gmkdir; do
3379 for ac_exec_ext in '' $ac_executable_extensions; do
3380 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3381 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3382 'mkdir (GNU coreutils) '* | \
3383 'mkdir (coreutils) '* | \
3384 'mkdir (fileutils) '4.1*)
3385 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3386 break 3;;
3387 esac
3388 done
3389 done
3390 done
3391 IFS=$as_save_IFS
3392
3393 fi
3394
3395 if test "${ac_cv_path_mkdir+set}" = set; then
3396 MKDIR_P="$ac_cv_path_mkdir -p"
3397 else
3398 # As a last resort, use the slow shell script. Don't cache a
3399 # value for MKDIR_P within a source directory, because that will
3400 # break other packages using the cache if that directory is
3401 # removed, or if the value is a relative name.
3402 test -d ./--version && rmdir ./--version
3403 MKDIR_P="$ac_install_sh -d"
3404 fi
3405 fi
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3407 $as_echo "$MKDIR_P" >&6; }
3408
3409 mkdir_p="$MKDIR_P"
3410 case $mkdir_p in
3411 [\\/$]* | ?:[\\/]*) ;;
3412 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3413 esac
3414
3415 for ac_prog in gawk mawk nawk awk
3416 do
3417 # Extract the first word of "$ac_prog", so it can be a program name with args.
3418 set dummy $ac_prog; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if test "${ac_cv_prog_AWK+set}" = set; then :
3422 $as_echo_n "(cached) " >&6
3423 else
3424 if test -n "$AWK"; then
3425 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3426 else
3427 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3428 for as_dir in $PATH
3429 do
3430 IFS=$as_save_IFS
3431 test -z "$as_dir" && as_dir=.
3432 for ac_exec_ext in '' $ac_executable_extensions; do
3433 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3434 ac_cv_prog_AWK="$ac_prog"
3435 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3436 break 2
3437 fi
3438 done
3439 done
3440 IFS=$as_save_IFS
3441
3442 fi
3443 fi
3444 AWK=$ac_cv_prog_AWK
3445 if test -n "$AWK"; then
3446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3447 $as_echo "$AWK" >&6; }
3448 else
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3450 $as_echo "no" >&6; }
3451 fi
3452
3453
3454 test -n "$AWK" && break
3455 done
3456
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3458 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3459 set x ${MAKE-make}
3460 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3461 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3462 $as_echo_n "(cached) " >&6
3463 else
3464 cat >conftest.make <<\_ACEOF
3465 SHELL = /bin/sh
3466 all:
3467 @echo '@@@%%%=$(MAKE)=@@@%%%'
3468 _ACEOF
3469 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3470 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3471 *@@@%%%=?*=@@@%%%*)
3472 eval ac_cv_prog_make_${ac_make}_set=yes;;
3473 *)
3474 eval ac_cv_prog_make_${ac_make}_set=no;;
3475 esac
3476 rm -f conftest.make
3477 fi
3478 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3480 $as_echo "yes" >&6; }
3481 SET_MAKE=
3482 else
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3485 SET_MAKE="MAKE=${MAKE-make}"
3486 fi
3487
3488 rm -rf .tst 2>/dev/null
3489 mkdir .tst 2>/dev/null
3490 if test -d .tst; then
3491 am__leading_dot=.
3492 else
3493 am__leading_dot=_
3494 fi
3495 rmdir .tst 2>/dev/null
3496
3497 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3498 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3499 # is not polluted with repeated "-I."
3500 am__isrc=' -I$(srcdir)'
3501 # test to see if srcdir already configured
3502 if test -f $srcdir/config.status; then
3503 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3504 fi
3505 fi
3506
3507 # test whether we have cygpath
3508 if test -z "$CYGPATH_W"; then
3509 if (cygpath --version) >/dev/null 2>/dev/null; then
3510 CYGPATH_W='cygpath -w'
3511 else
3512 CYGPATH_W=echo
3513 fi
3514 fi
3515
3516
3517 # Define the identity of the package.
3518 PACKAGE='libstdc++'
3519 VERSION='version-unused'
3520
3521
3522 # Some tools Automake needs.
3523
3524 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3525
3526
3527 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3528
3529
3530 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3531
3532
3533 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3534
3535
3536 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3537
3538 # We need awk for the "check" target. The system "awk" is bad on
3539 # some platforms.
3540 # Always define AMTAR for backward compatibility.
3541
3542 AMTAR=${AMTAR-"${am_missing_run}tar"}
3543
3544 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3545
3546
3547
3548
3549
3550
3551
3552
3553 # -fno-builtin must be present here so that a non-conflicting form of
3554 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3555
3556 save_CXXFLAGS="$CXXFLAGS"
3557 CXXFLAGS="$CXXFLAGS -fno-builtin"
3558 ac_ext=c
3559 ac_cpp='$CPP $CPPFLAGS'
3560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 if test -n "$ac_tool_prefix"; then
3564 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3565 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3567 $as_echo_n "checking for $ac_word... " >&6; }
3568 if test "${ac_cv_prog_CC+set}" = set; then :
3569 $as_echo_n "(cached) " >&6
3570 else
3571 if test -n "$CC"; then
3572 ac_cv_prog_CC="$CC" # Let the user override the test.
3573 else
3574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3575 for as_dir in $PATH
3576 do
3577 IFS=$as_save_IFS
3578 test -z "$as_dir" && as_dir=.
3579 for ac_exec_ext in '' $ac_executable_extensions; do
3580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3581 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3582 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3583 break 2
3584 fi
3585 done
3586 done
3587 IFS=$as_save_IFS
3588
3589 fi
3590 fi
3591 CC=$ac_cv_prog_CC
3592 if test -n "$CC"; then
3593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3594 $as_echo "$CC" >&6; }
3595 else
3596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3597 $as_echo "no" >&6; }
3598 fi
3599
3600
3601 fi
3602 if test -z "$ac_cv_prog_CC"; then
3603 ac_ct_CC=$CC
3604 # Extract the first word of "gcc", so it can be a program name with args.
3605 set dummy gcc; ac_word=$2
3606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3607 $as_echo_n "checking for $ac_word... " >&6; }
3608 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 if test -n "$ac_ct_CC"; then
3612 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3613 else
3614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3615 for as_dir in $PATH
3616 do
3617 IFS=$as_save_IFS
3618 test -z "$as_dir" && as_dir=.
3619 for ac_exec_ext in '' $ac_executable_extensions; do
3620 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3621 ac_cv_prog_ac_ct_CC="gcc"
3622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3623 break 2
3624 fi
3625 done
3626 done
3627 IFS=$as_save_IFS
3628
3629 fi
3630 fi
3631 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3632 if test -n "$ac_ct_CC"; then
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3634 $as_echo "$ac_ct_CC" >&6; }
3635 else
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3637 $as_echo "no" >&6; }
3638 fi
3639
3640 if test "x$ac_ct_CC" = x; then
3641 CC=""
3642 else
3643 case $cross_compiling:$ac_tool_warned in
3644 yes:)
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3646 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3647 ac_tool_warned=yes ;;
3648 esac
3649 CC=$ac_ct_CC
3650 fi
3651 else
3652 CC="$ac_cv_prog_CC"
3653 fi
3654
3655 if test -z "$CC"; then
3656 if test -n "$ac_tool_prefix"; then
3657 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3658 set dummy ${ac_tool_prefix}cc; ac_word=$2
3659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3660 $as_echo_n "checking for $ac_word... " >&6; }
3661 if test "${ac_cv_prog_CC+set}" = set; then :
3662 $as_echo_n "(cached) " >&6
3663 else
3664 if test -n "$CC"; then
3665 ac_cv_prog_CC="$CC" # Let the user override the test.
3666 else
3667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3668 for as_dir in $PATH
3669 do
3670 IFS=$as_save_IFS
3671 test -z "$as_dir" && as_dir=.
3672 for ac_exec_ext in '' $ac_executable_extensions; do
3673 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3674 ac_cv_prog_CC="${ac_tool_prefix}cc"
3675 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3676 break 2
3677 fi
3678 done
3679 done
3680 IFS=$as_save_IFS
3681
3682 fi
3683 fi
3684 CC=$ac_cv_prog_CC
3685 if test -n "$CC"; then
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3687 $as_echo "$CC" >&6; }
3688 else
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3690 $as_echo "no" >&6; }
3691 fi
3692
3693
3694 fi
3695 fi
3696 if test -z "$CC"; then
3697 # Extract the first word of "cc", so it can be a program name with args.
3698 set dummy cc; ac_word=$2
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3700 $as_echo_n "checking for $ac_word... " >&6; }
3701 if test "${ac_cv_prog_CC+set}" = set; then :
3702 $as_echo_n "(cached) " >&6
3703 else
3704 if test -n "$CC"; then
3705 ac_cv_prog_CC="$CC" # Let the user override the test.
3706 else
3707 ac_prog_rejected=no
3708 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3709 for as_dir in $PATH
3710 do
3711 IFS=$as_save_IFS
3712 test -z "$as_dir" && as_dir=.
3713 for ac_exec_ext in '' $ac_executable_extensions; do
3714 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3715 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3716 ac_prog_rejected=yes
3717 continue
3718 fi
3719 ac_cv_prog_CC="cc"
3720 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3721 break 2
3722 fi
3723 done
3724 done
3725 IFS=$as_save_IFS
3726
3727 if test $ac_prog_rejected = yes; then
3728 # We found a bogon in the path, so make sure we never use it.
3729 set dummy $ac_cv_prog_CC
3730 shift
3731 if test $# != 0; then
3732 # We chose a different compiler from the bogus one.
3733 # However, it has the same basename, so the bogon will be chosen
3734 # first if we set CC to just the basename; use the full file name.
3735 shift
3736 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3737 fi
3738 fi
3739 fi
3740 fi
3741 CC=$ac_cv_prog_CC
3742 if test -n "$CC"; then
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3744 $as_echo "$CC" >&6; }
3745 else
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3747 $as_echo "no" >&6; }
3748 fi
3749
3750
3751 fi
3752 if test -z "$CC"; then
3753 if test -n "$ac_tool_prefix"; then
3754 for ac_prog in cl.exe
3755 do
3756 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3757 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3759 $as_echo_n "checking for $ac_word... " >&6; }
3760 if test "${ac_cv_prog_CC+set}" = set; then :
3761 $as_echo_n "(cached) " >&6
3762 else
3763 if test -n "$CC"; then
3764 ac_cv_prog_CC="$CC" # Let the user override the test.
3765 else
3766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3767 for as_dir in $PATH
3768 do
3769 IFS=$as_save_IFS
3770 test -z "$as_dir" && as_dir=.
3771 for ac_exec_ext in '' $ac_executable_extensions; do
3772 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3773 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3775 break 2
3776 fi
3777 done
3778 done
3779 IFS=$as_save_IFS
3780
3781 fi
3782 fi
3783 CC=$ac_cv_prog_CC
3784 if test -n "$CC"; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3786 $as_echo "$CC" >&6; }
3787 else
3788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3789 $as_echo "no" >&6; }
3790 fi
3791
3792
3793 test -n "$CC" && break
3794 done
3795 fi
3796 if test -z "$CC"; then
3797 ac_ct_CC=$CC
3798 for ac_prog in cl.exe
3799 do
3800 # Extract the first word of "$ac_prog", so it can be a program name with args.
3801 set dummy $ac_prog; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3806 else
3807 if test -n "$ac_ct_CC"; then
3808 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3809 else
3810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3811 for as_dir in $PATH
3812 do
3813 IFS=$as_save_IFS
3814 test -z "$as_dir" && as_dir=.
3815 for ac_exec_ext in '' $ac_executable_extensions; do
3816 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3817 ac_cv_prog_ac_ct_CC="$ac_prog"
3818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3819 break 2
3820 fi
3821 done
3822 done
3823 IFS=$as_save_IFS
3824
3825 fi
3826 fi
3827 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3828 if test -n "$ac_ct_CC"; then
3829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3830 $as_echo "$ac_ct_CC" >&6; }
3831 else
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3833 $as_echo "no" >&6; }
3834 fi
3835
3836
3837 test -n "$ac_ct_CC" && break
3838 done
3839
3840 if test "x$ac_ct_CC" = x; then
3841 CC=""
3842 else
3843 case $cross_compiling:$ac_tool_warned in
3844 yes:)
3845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3847 ac_tool_warned=yes ;;
3848 esac
3849 CC=$ac_ct_CC
3850 fi
3851 fi
3852
3853 fi
3854
3855
3856 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3857 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3858 as_fn_error "no acceptable C compiler found in \$PATH
3859 See \`config.log' for more details." "$LINENO" 5; }
3860
3861 # Provide some information about the compiler.
3862 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3863 set X $ac_compile
3864 ac_compiler=$2
3865 for ac_option in --version -v -V -qversion; do
3866 { { ac_try="$ac_compiler $ac_option >&5"
3867 case "(($ac_try" in
3868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3869 *) ac_try_echo=$ac_try;;
3870 esac
3871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3872 $as_echo "$ac_try_echo"; } >&5
3873 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3874 ac_status=$?
3875 if test -s conftest.err; then
3876 sed '10a\
3877 ... rest of stderr output deleted ...
3878 10q' conftest.err >conftest.er1
3879 cat conftest.er1 >&5
3880 rm -f conftest.er1 conftest.err
3881 fi
3882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3883 test $ac_status = 0; }
3884 done
3885
3886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3887 /* end confdefs.h. */
3888
3889 int
3890 main ()
3891 {
3892
3893 ;
3894 return 0;
3895 }
3896 _ACEOF
3897 # FIXME: Cleanup?
3898 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3899 (eval $ac_link) 2>&5
3900 ac_status=$?
3901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }; then :
3903 gcc_no_link=no
3904 else
3905 gcc_no_link=yes
3906 fi
3907 if test x$gcc_no_link = xyes; then
3908 # Setting cross_compile will disable run tests; it will
3909 # also disable AC_CHECK_FILE but that's generally
3910 # correct if we can't link.
3911 cross_compiling=yes
3912 EXEEXT=
3913 else
3914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3915 /* end confdefs.h. */
3916
3917 int
3918 main ()
3919 {
3920
3921 ;
3922 return 0;
3923 }
3924 _ACEOF
3925 ac_clean_files_save=$ac_clean_files
3926 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3927 # Try to create an executable without -o first, disregard a.out.
3928 # It will help us diagnose broken compilers, and finding out an intuition
3929 # of exeext.
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3931 $as_echo_n "checking for C compiler default output file name... " >&6; }
3932 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3933
3934 # The possible output files:
3935 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3936
3937 ac_rmfiles=
3938 for ac_file in $ac_files
3939 do
3940 case $ac_file in
3941 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3942 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3943 esac
3944 done
3945 rm -f $ac_rmfiles
3946
3947 if { { ac_try="$ac_link_default"
3948 case "(($ac_try" in
3949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3950 *) ac_try_echo=$ac_try;;
3951 esac
3952 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3953 $as_echo "$ac_try_echo"; } >&5
3954 (eval "$ac_link_default") 2>&5
3955 ac_status=$?
3956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3957 test $ac_status = 0; }; then :
3958 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3959 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3960 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3961 # so that the user can short-circuit this test for compilers unknown to
3962 # Autoconf.
3963 for ac_file in $ac_files ''
3964 do
3965 test -f "$ac_file" || continue
3966 case $ac_file in
3967 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3968 ;;
3969 [ab].out )
3970 # We found the default executable, but exeext='' is most
3971 # certainly right.
3972 break;;
3973 *.* )
3974 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3975 then :; else
3976 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3977 fi
3978 # We set ac_cv_exeext here because the later test for it is not
3979 # safe: cross compilers may not add the suffix if given an `-o'
3980 # argument, so we may need to know it at that point already.
3981 # Even if this section looks crufty: it has the advantage of
3982 # actually working.
3983 break;;
3984 * )
3985 break;;
3986 esac
3987 done
3988 test "$ac_cv_exeext" = no && ac_cv_exeext=
3989
3990 else
3991 ac_file=''
3992 fi
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3994 $as_echo "$ac_file" >&6; }
3995 if test -z "$ac_file"; then :
3996 $as_echo "$as_me: failed program was:" >&5
3997 sed 's/^/| /' conftest.$ac_ext >&5
3998
3999 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4000 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4001 { as_fn_set_status 77
4002 as_fn_error "C compiler cannot create executables
4003 See \`config.log' for more details." "$LINENO" 5; }; }
4004 fi
4005 ac_exeext=$ac_cv_exeext
4006
4007 # Check that the compiler produces executables we can run. If not, either
4008 # the compiler is broken, or we cross compile.
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4010 $as_echo_n "checking whether the C compiler works... " >&6; }
4011 # If not cross compiling, check that we can run a simple program.
4012 if test "$cross_compiling" != yes; then
4013 if { ac_try='./$ac_file'
4014 { { case "(($ac_try" in
4015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4016 *) ac_try_echo=$ac_try;;
4017 esac
4018 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4019 $as_echo "$ac_try_echo"; } >&5
4020 (eval "$ac_try") 2>&5
4021 ac_status=$?
4022 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4023 test $ac_status = 0; }; }; then
4024 cross_compiling=no
4025 else
4026 if test "$cross_compiling" = maybe; then
4027 cross_compiling=yes
4028 else
4029 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4030 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4031 as_fn_error "cannot run C compiled programs.
4032 If you meant to cross compile, use \`--host'.
4033 See \`config.log' for more details." "$LINENO" 5; }
4034 fi
4035 fi
4036 fi
4037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4038 $as_echo "yes" >&6; }
4039
4040 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4041 ac_clean_files=$ac_clean_files_save
4042 # Check that the compiler produces executables we can run. If not, either
4043 # the compiler is broken, or we cross compile.
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4045 $as_echo_n "checking whether we are cross compiling... " >&6; }
4046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4047 $as_echo "$cross_compiling" >&6; }
4048
4049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4050 $as_echo_n "checking for suffix of executables... " >&6; }
4051 if { { ac_try="$ac_link"
4052 case "(($ac_try" in
4053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4054 *) ac_try_echo=$ac_try;;
4055 esac
4056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4057 $as_echo "$ac_try_echo"; } >&5
4058 (eval "$ac_link") 2>&5
4059 ac_status=$?
4060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4061 test $ac_status = 0; }; then :
4062 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4063 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4064 # work properly (i.e., refer to `conftest.exe'), while it won't with
4065 # `rm'.
4066 for ac_file in conftest.exe conftest conftest.*; do
4067 test -f "$ac_file" || continue
4068 case $ac_file in
4069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4070 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4071 break;;
4072 * ) break;;
4073 esac
4074 done
4075 else
4076 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4077 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4078 as_fn_error "cannot compute suffix of executables: cannot compile and link
4079 See \`config.log' for more details." "$LINENO" 5; }
4080 fi
4081 rm -f conftest$ac_cv_exeext
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4083 $as_echo "$ac_cv_exeext" >&6; }
4084
4085 rm -f conftest.$ac_ext
4086 EXEEXT=$ac_cv_exeext
4087 ac_exeext=$EXEEXT
4088 fi
4089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4090 $as_echo_n "checking for suffix of object files... " >&6; }
4091 if test "${ac_cv_objext+set}" = set; then :
4092 $as_echo_n "(cached) " >&6
4093 else
4094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4095 /* end confdefs.h. */
4096
4097 int
4098 main ()
4099 {
4100
4101 ;
4102 return 0;
4103 }
4104 _ACEOF
4105 rm -f conftest.o conftest.obj
4106 if { { ac_try="$ac_compile"
4107 case "(($ac_try" in
4108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109 *) ac_try_echo=$ac_try;;
4110 esac
4111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4112 $as_echo "$ac_try_echo"; } >&5
4113 (eval "$ac_compile") 2>&5
4114 ac_status=$?
4115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4116 test $ac_status = 0; }; then :
4117 for ac_file in conftest.o conftest.obj conftest.*; do
4118 test -f "$ac_file" || continue;
4119 case $ac_file in
4120 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4121 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4122 break;;
4123 esac
4124 done
4125 else
4126 $as_echo "$as_me: failed program was:" >&5
4127 sed 's/^/| /' conftest.$ac_ext >&5
4128
4129 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4130 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4131 as_fn_error "cannot compute suffix of object files: cannot compile
4132 See \`config.log' for more details." "$LINENO" 5; }
4133 fi
4134 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4135 fi
4136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4137 $as_echo "$ac_cv_objext" >&6; }
4138 OBJEXT=$ac_cv_objext
4139 ac_objext=$OBJEXT
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4141 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4142 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4143 $as_echo_n "(cached) " >&6
4144 else
4145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4146 /* end confdefs.h. */
4147
4148 int
4149 main ()
4150 {
4151 #ifndef __GNUC__
4152 choke me
4153 #endif
4154
4155 ;
4156 return 0;
4157 }
4158 _ACEOF
4159 if ac_fn_c_try_compile "$LINENO"; then :
4160 ac_compiler_gnu=yes
4161 else
4162 ac_compiler_gnu=no
4163 fi
4164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4165 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4166
4167 fi
4168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4169 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4170 if test $ac_compiler_gnu = yes; then
4171 GCC=yes
4172 else
4173 GCC=
4174 fi
4175 ac_test_CFLAGS=${CFLAGS+set}
4176 ac_save_CFLAGS=$CFLAGS
4177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4178 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4179 if test "${ac_cv_prog_cc_g+set}" = set; then :
4180 $as_echo_n "(cached) " >&6
4181 else
4182 ac_save_c_werror_flag=$ac_c_werror_flag
4183 ac_c_werror_flag=yes
4184 ac_cv_prog_cc_g=no
4185 CFLAGS="-g"
4186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4187 /* end confdefs.h. */
4188
4189 int
4190 main ()
4191 {
4192
4193 ;
4194 return 0;
4195 }
4196 _ACEOF
4197 if ac_fn_c_try_compile "$LINENO"; then :
4198 ac_cv_prog_cc_g=yes
4199 else
4200 CFLAGS=""
4201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4202 /* end confdefs.h. */
4203
4204 int
4205 main ()
4206 {
4207
4208 ;
4209 return 0;
4210 }
4211 _ACEOF
4212 if ac_fn_c_try_compile "$LINENO"; then :
4213
4214 else
4215 ac_c_werror_flag=$ac_save_c_werror_flag
4216 CFLAGS="-g"
4217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4218 /* end confdefs.h. */
4219
4220 int
4221 main ()
4222 {
4223
4224 ;
4225 return 0;
4226 }
4227 _ACEOF
4228 if ac_fn_c_try_compile "$LINENO"; then :
4229 ac_cv_prog_cc_g=yes
4230 fi
4231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4232 fi
4233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4234 fi
4235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4236 ac_c_werror_flag=$ac_save_c_werror_flag
4237 fi
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4239 $as_echo "$ac_cv_prog_cc_g" >&6; }
4240 if test "$ac_test_CFLAGS" = set; then
4241 CFLAGS=$ac_save_CFLAGS
4242 elif test $ac_cv_prog_cc_g = yes; then
4243 if test "$GCC" = yes; then
4244 CFLAGS="-g -O2"
4245 else
4246 CFLAGS="-g"
4247 fi
4248 else
4249 if test "$GCC" = yes; then
4250 CFLAGS="-O2"
4251 else
4252 CFLAGS=
4253 fi
4254 fi
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4256 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4257 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 ac_cv_prog_cc_c89=no
4261 ac_save_CC=$CC
4262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4263 /* end confdefs.h. */
4264 #include <stdarg.h>
4265 #include <stdio.h>
4266 #include <sys/types.h>
4267 #include <sys/stat.h>
4268 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4269 struct buf { int x; };
4270 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4271 static char *e (p, i)
4272 char **p;
4273 int i;
4274 {
4275 return p[i];
4276 }
4277 static char *f (char * (*g) (char **, int), char **p, ...)
4278 {
4279 char *s;
4280 va_list v;
4281 va_start (v,p);
4282 s = g (p, va_arg (v,int));
4283 va_end (v);
4284 return s;
4285 }
4286
4287 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4288 function prototypes and stuff, but not '\xHH' hex character constants.
4289 These don't provoke an error unfortunately, instead are silently treated
4290 as 'x'. The following induces an error, until -std is added to get
4291 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4292 array size at least. It's necessary to write '\x00'==0 to get something
4293 that's true only with -std. */
4294 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4295
4296 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4297 inside strings and character constants. */
4298 #define FOO(x) 'x'
4299 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4300
4301 int test (int i, double x);
4302 struct s1 {int (*f) (int a);};
4303 struct s2 {int (*f) (double a);};
4304 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4305 int argc;
4306 char **argv;
4307 int
4308 main ()
4309 {
4310 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4311 ;
4312 return 0;
4313 }
4314 _ACEOF
4315 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4316 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4317 do
4318 CC="$ac_save_CC $ac_arg"
4319 if ac_fn_c_try_compile "$LINENO"; then :
4320 ac_cv_prog_cc_c89=$ac_arg
4321 fi
4322 rm -f core conftest.err conftest.$ac_objext
4323 test "x$ac_cv_prog_cc_c89" != "xno" && break
4324 done
4325 rm -f conftest.$ac_ext
4326 CC=$ac_save_CC
4327
4328 fi
4329 # AC_CACHE_VAL
4330 case "x$ac_cv_prog_cc_c89" in
4331 x)
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4333 $as_echo "none needed" >&6; } ;;
4334 xno)
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4336 $as_echo "unsupported" >&6; } ;;
4337 *)
4338 CC="$CC $ac_cv_prog_cc_c89"
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4340 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4341 esac
4342 if test "x$ac_cv_prog_cc_c89" != xno; then :
4343
4344 fi
4345
4346 ac_ext=c
4347 ac_cpp='$CPP $CPPFLAGS'
4348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4351
4352 ac_ext=cpp
4353 ac_cpp='$CXXCPP $CPPFLAGS'
4354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4357 if test -z "$CXX"; then
4358 if test -n "$CCC"; then
4359 CXX=$CCC
4360 else
4361 if test -n "$ac_tool_prefix"; then
4362 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4363 do
4364 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4365 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4367 $as_echo_n "checking for $ac_word... " >&6; }
4368 if test "${ac_cv_prog_CXX+set}" = set; then :
4369 $as_echo_n "(cached) " >&6
4370 else
4371 if test -n "$CXX"; then
4372 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4373 else
4374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4375 for as_dir in $PATH
4376 do
4377 IFS=$as_save_IFS
4378 test -z "$as_dir" && as_dir=.
4379 for ac_exec_ext in '' $ac_executable_extensions; do
4380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4381 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4382 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4383 break 2
4384 fi
4385 done
4386 done
4387 IFS=$as_save_IFS
4388
4389 fi
4390 fi
4391 CXX=$ac_cv_prog_CXX
4392 if test -n "$CXX"; then
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4394 $as_echo "$CXX" >&6; }
4395 else
4396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4397 $as_echo "no" >&6; }
4398 fi
4399
4400
4401 test -n "$CXX" && break
4402 done
4403 fi
4404 if test -z "$CXX"; then
4405 ac_ct_CXX=$CXX
4406 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4407 do
4408 # Extract the first word of "$ac_prog", so it can be a program name with args.
4409 set dummy $ac_prog; ac_word=$2
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4411 $as_echo_n "checking for $ac_word... " >&6; }
4412 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4413 $as_echo_n "(cached) " >&6
4414 else
4415 if test -n "$ac_ct_CXX"; then
4416 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4417 else
4418 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4419 for as_dir in $PATH
4420 do
4421 IFS=$as_save_IFS
4422 test -z "$as_dir" && as_dir=.
4423 for ac_exec_ext in '' $ac_executable_extensions; do
4424 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4425 ac_cv_prog_ac_ct_CXX="$ac_prog"
4426 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4427 break 2
4428 fi
4429 done
4430 done
4431 IFS=$as_save_IFS
4432
4433 fi
4434 fi
4435 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4436 if test -n "$ac_ct_CXX"; then
4437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4438 $as_echo "$ac_ct_CXX" >&6; }
4439 else
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4441 $as_echo "no" >&6; }
4442 fi
4443
4444
4445 test -n "$ac_ct_CXX" && break
4446 done
4447
4448 if test "x$ac_ct_CXX" = x; then
4449 CXX="g++"
4450 else
4451 case $cross_compiling:$ac_tool_warned in
4452 yes:)
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4454 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4455 ac_tool_warned=yes ;;
4456 esac
4457 CXX=$ac_ct_CXX
4458 fi
4459 fi
4460
4461 fi
4462 fi
4463 # Provide some information about the compiler.
4464 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4465 set X $ac_compile
4466 ac_compiler=$2
4467 for ac_option in --version -v -V -qversion; do
4468 { { ac_try="$ac_compiler $ac_option >&5"
4469 case "(($ac_try" in
4470 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4471 *) ac_try_echo=$ac_try;;
4472 esac
4473 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4474 $as_echo "$ac_try_echo"; } >&5
4475 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4476 ac_status=$?
4477 if test -s conftest.err; then
4478 sed '10a\
4479 ... rest of stderr output deleted ...
4480 10q' conftest.err >conftest.er1
4481 cat conftest.er1 >&5
4482 rm -f conftest.er1 conftest.err
4483 fi
4484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4485 test $ac_status = 0; }
4486 done
4487
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4489 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4490 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4491 $as_echo_n "(cached) " >&6
4492 else
4493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4494 /* end confdefs.h. */
4495
4496 int
4497 main ()
4498 {
4499 #ifndef __GNUC__
4500 choke me
4501 #endif
4502
4503 ;
4504 return 0;
4505 }
4506 _ACEOF
4507 if ac_fn_cxx_try_compile "$LINENO"; then :
4508 ac_compiler_gnu=yes
4509 else
4510 ac_compiler_gnu=no
4511 fi
4512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4513 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4514
4515 fi
4516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4517 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4518 if test $ac_compiler_gnu = yes; then
4519 GXX=yes
4520 else
4521 GXX=
4522 fi
4523 ac_test_CXXFLAGS=${CXXFLAGS+set}
4524 ac_save_CXXFLAGS=$CXXFLAGS
4525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4526 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4527 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4528 $as_echo_n "(cached) " >&6
4529 else
4530 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4531 ac_cxx_werror_flag=yes
4532 ac_cv_prog_cxx_g=no
4533 CXXFLAGS="-g"
4534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4535 /* end confdefs.h. */
4536
4537 int
4538 main ()
4539 {
4540
4541 ;
4542 return 0;
4543 }
4544 _ACEOF
4545 if ac_fn_cxx_try_compile "$LINENO"; then :
4546 ac_cv_prog_cxx_g=yes
4547 else
4548 CXXFLAGS=""
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4551
4552 int
4553 main ()
4554 {
4555
4556 ;
4557 return 0;
4558 }
4559 _ACEOF
4560 if ac_fn_cxx_try_compile "$LINENO"; then :
4561
4562 else
4563 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4564 CXXFLAGS="-g"
4565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4567
4568 int
4569 main ()
4570 {
4571
4572 ;
4573 return 0;
4574 }
4575 _ACEOF
4576 if ac_fn_cxx_try_compile "$LINENO"; then :
4577 ac_cv_prog_cxx_g=yes
4578 fi
4579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4580 fi
4581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4582 fi
4583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4584 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4585 fi
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4587 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4588 if test "$ac_test_CXXFLAGS" = set; then
4589 CXXFLAGS=$ac_save_CXXFLAGS
4590 elif test $ac_cv_prog_cxx_g = yes; then
4591 if test "$GXX" = yes; then
4592 CXXFLAGS="-g -O2"
4593 else
4594 CXXFLAGS="-g"
4595 fi
4596 else
4597 if test "$GXX" = yes; then
4598 CXXFLAGS="-O2"
4599 else
4600 CXXFLAGS=
4601 fi
4602 fi
4603 ac_ext=c
4604 ac_cpp='$CPP $CPPFLAGS'
4605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4608
4609 CXXFLAGS="$save_CXXFLAGS"
4610
4611 # Runs configure.host, and assorted other critical bits. Sets
4612 # up critical shell variables.
4613
4614 ac_ext=c
4615 ac_cpp='$CPP $CPPFLAGS'
4616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4620 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4621 # On Suns, sometimes $CPP names a directory.
4622 if test -n "$CPP" && test -d "$CPP"; then
4623 CPP=
4624 fi
4625 if test -z "$CPP"; then
4626 if test "${ac_cv_prog_CPP+set}" = set; then :
4627 $as_echo_n "(cached) " >&6
4628 else
4629 # Double quotes because CPP needs to be expanded
4630 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4631 do
4632 ac_preproc_ok=false
4633 for ac_c_preproc_warn_flag in '' yes
4634 do
4635 # Use a header file that comes with gcc, so configuring glibc
4636 # with a fresh cross-compiler works.
4637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4638 # <limits.h> exists even on freestanding compilers.
4639 # On the NeXT, cc -E runs the code through the compiler's parser,
4640 # not just through cpp. "Syntax error" is here to catch this case.
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4643 #ifdef __STDC__
4644 # include <limits.h>
4645 #else
4646 # include <assert.h>
4647 #endif
4648 Syntax error
4649 _ACEOF
4650 if ac_fn_c_try_cpp "$LINENO"; then :
4651
4652 else
4653 # Broken: fails on valid input.
4654 continue
4655 fi
4656 rm -f conftest.err conftest.$ac_ext
4657
4658 # OK, works on sane cases. Now check whether nonexistent headers
4659 # can be detected and how.
4660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4662 #include <ac_nonexistent.h>
4663 _ACEOF
4664 if ac_fn_c_try_cpp "$LINENO"; then :
4665 # Broken: success on invalid input.
4666 continue
4667 else
4668 # Passes both tests.
4669 ac_preproc_ok=:
4670 break
4671 fi
4672 rm -f conftest.err conftest.$ac_ext
4673
4674 done
4675 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4676 rm -f conftest.err conftest.$ac_ext
4677 if $ac_preproc_ok; then :
4678 break
4679 fi
4680
4681 done
4682 ac_cv_prog_CPP=$CPP
4683
4684 fi
4685 CPP=$ac_cv_prog_CPP
4686 else
4687 ac_cv_prog_CPP=$CPP
4688 fi
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4690 $as_echo "$CPP" >&6; }
4691 ac_preproc_ok=false
4692 for ac_c_preproc_warn_flag in '' yes
4693 do
4694 # Use a header file that comes with gcc, so configuring glibc
4695 # with a fresh cross-compiler works.
4696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4697 # <limits.h> exists even on freestanding compilers.
4698 # On the NeXT, cc -E runs the code through the compiler's parser,
4699 # not just through cpp. "Syntax error" is here to catch this case.
4700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4701 /* end confdefs.h. */
4702 #ifdef __STDC__
4703 # include <limits.h>
4704 #else
4705 # include <assert.h>
4706 #endif
4707 Syntax error
4708 _ACEOF
4709 if ac_fn_c_try_cpp "$LINENO"; then :
4710
4711 else
4712 # Broken: fails on valid input.
4713 continue
4714 fi
4715 rm -f conftest.err conftest.$ac_ext
4716
4717 # OK, works on sane cases. Now check whether nonexistent headers
4718 # can be detected and how.
4719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4720 /* end confdefs.h. */
4721 #include <ac_nonexistent.h>
4722 _ACEOF
4723 if ac_fn_c_try_cpp "$LINENO"; then :
4724 # Broken: success on invalid input.
4725 continue
4726 else
4727 # Passes both tests.
4728 ac_preproc_ok=:
4729 break
4730 fi
4731 rm -f conftest.err conftest.$ac_ext
4732
4733 done
4734 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4735 rm -f conftest.err conftest.$ac_ext
4736 if $ac_preproc_ok; then :
4737
4738 else
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4742 See \`config.log' for more details." "$LINENO" 5; }
4743 fi
4744
4745 ac_ext=c
4746 ac_cpp='$CPP $CPPFLAGS'
4747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4750
4751
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4753 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4754 if test "${ac_cv_path_GREP+set}" = set; then :
4755 $as_echo_n "(cached) " >&6
4756 else
4757 if test -z "$GREP"; then
4758 ac_path_GREP_found=false
4759 # Loop through the user's path and test for each of PROGNAME-LIST
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4762 do
4763 IFS=$as_save_IFS
4764 test -z "$as_dir" && as_dir=.
4765 for ac_prog in grep ggrep; do
4766 for ac_exec_ext in '' $ac_executable_extensions; do
4767 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4768 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4769 # Check for GNU ac_path_GREP and select it if it is found.
4770 # Check for GNU $ac_path_GREP
4771 case `"$ac_path_GREP" --version 2>&1` in
4772 *GNU*)
4773 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4774 *)
4775 ac_count=0
4776 $as_echo_n 0123456789 >"conftest.in"
4777 while :
4778 do
4779 cat "conftest.in" "conftest.in" >"conftest.tmp"
4780 mv "conftest.tmp" "conftest.in"
4781 cp "conftest.in" "conftest.nl"
4782 $as_echo 'GREP' >> "conftest.nl"
4783 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4784 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4785 as_fn_arith $ac_count + 1 && ac_count=$as_val
4786 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4787 # Best one so far, save it but keep looking for a better one
4788 ac_cv_path_GREP="$ac_path_GREP"
4789 ac_path_GREP_max=$ac_count
4790 fi
4791 # 10*(2^10) chars as input seems more than enough
4792 test $ac_count -gt 10 && break
4793 done
4794 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4795 esac
4796
4797 $ac_path_GREP_found && break 3
4798 done
4799 done
4800 done
4801 IFS=$as_save_IFS
4802 if test -z "$ac_cv_path_GREP"; then
4803 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4804 fi
4805 else
4806 ac_cv_path_GREP=$GREP
4807 fi
4808
4809 fi
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4811 $as_echo "$ac_cv_path_GREP" >&6; }
4812 GREP="$ac_cv_path_GREP"
4813
4814
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4816 $as_echo_n "checking for egrep... " >&6; }
4817 if test "${ac_cv_path_EGREP+set}" = set; then :
4818 $as_echo_n "(cached) " >&6
4819 else
4820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4821 then ac_cv_path_EGREP="$GREP -E"
4822 else
4823 if test -z "$EGREP"; then
4824 ac_path_EGREP_found=false
4825 # Loop through the user's path and test for each of PROGNAME-LIST
4826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4828 do
4829 IFS=$as_save_IFS
4830 test -z "$as_dir" && as_dir=.
4831 for ac_prog in egrep; do
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4834 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4835 # Check for GNU ac_path_EGREP and select it if it is found.
4836 # Check for GNU $ac_path_EGREP
4837 case `"$ac_path_EGREP" --version 2>&1` in
4838 *GNU*)
4839 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4840 *)
4841 ac_count=0
4842 $as_echo_n 0123456789 >"conftest.in"
4843 while :
4844 do
4845 cat "conftest.in" "conftest.in" >"conftest.tmp"
4846 mv "conftest.tmp" "conftest.in"
4847 cp "conftest.in" "conftest.nl"
4848 $as_echo 'EGREP' >> "conftest.nl"
4849 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4851 as_fn_arith $ac_count + 1 && ac_count=$as_val
4852 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4853 # Best one so far, save it but keep looking for a better one
4854 ac_cv_path_EGREP="$ac_path_EGREP"
4855 ac_path_EGREP_max=$ac_count
4856 fi
4857 # 10*(2^10) chars as input seems more than enough
4858 test $ac_count -gt 10 && break
4859 done
4860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4861 esac
4862
4863 $ac_path_EGREP_found && break 3
4864 done
4865 done
4866 done
4867 IFS=$as_save_IFS
4868 if test -z "$ac_cv_path_EGREP"; then
4869 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4870 fi
4871 else
4872 ac_cv_path_EGREP=$EGREP
4873 fi
4874
4875 fi
4876 fi
4877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4878 $as_echo "$ac_cv_path_EGREP" >&6; }
4879 EGREP="$ac_cv_path_EGREP"
4880
4881
4882
4883 # Keep these sync'd with the list in Makefile.am. The first provides an
4884 # expandable list at autoconf time; the second provides an expandable list
4885 # (i.e., shell variable) at configure time.
4886
4887 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4888
4889 # These need to be absolute paths, yet at the same time need to
4890 # canonicalize only relative paths, because then amd will not unmount
4891 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4892 glibcxx_builddir=`${PWDCMD-pwd}`
4893 case $srcdir in
4894 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4895 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4896 esac
4897 toplevel_builddir=${glibcxx_builddir}/..
4898 toplevel_srcdir=${glibcxx_srcdir}/..
4899
4900
4901
4902
4903
4904 # We use these options to decide which functions to include. They are
4905 # set from the top level.
4906
4907 # Check whether --with-target-subdir was given.
4908 if test "${with_target_subdir+set}" = set; then :
4909 withval=$with_target_subdir;
4910 fi
4911
4912
4913
4914 # Check whether --with-cross-host was given.
4915 if test "${with_cross_host+set}" = set; then :
4916 withval=$with_cross_host;
4917 fi
4918
4919
4920
4921 # Check whether --with-newlib was given.
4922 if test "${with_newlib+set}" = set; then :
4923 withval=$with_newlib;
4924 fi
4925
4926
4927 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4928 # available). Uncomment the next line to force a particular method.
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4930 $as_echo_n "checking whether ln -s works... " >&6; }
4931 LN_S=$as_ln_s
4932 if test "$LN_S" = "ln -s"; then
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4934 $as_echo "yes" >&6; }
4935 else
4936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4937 $as_echo "no, using $LN_S" >&6; }
4938 fi
4939
4940 #LN_S='cp -p'
4941
4942 if test -n "$ac_tool_prefix"; then
4943 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4944 set dummy ${ac_tool_prefix}as; ac_word=$2
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4946 $as_echo_n "checking for $ac_word... " >&6; }
4947 if test "${ac_cv_prog_AS+set}" = set; then :
4948 $as_echo_n "(cached) " >&6
4949 else
4950 if test -n "$AS"; then
4951 ac_cv_prog_AS="$AS" # Let the user override the test.
4952 else
4953 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4954 for as_dir in $PATH
4955 do
4956 IFS=$as_save_IFS
4957 test -z "$as_dir" && as_dir=.
4958 for ac_exec_ext in '' $ac_executable_extensions; do
4959 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4960 ac_cv_prog_AS="${ac_tool_prefix}as"
4961 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4962 break 2
4963 fi
4964 done
4965 done
4966 IFS=$as_save_IFS
4967
4968 fi
4969 fi
4970 AS=$ac_cv_prog_AS
4971 if test -n "$AS"; then
4972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4973 $as_echo "$AS" >&6; }
4974 else
4975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4976 $as_echo "no" >&6; }
4977 fi
4978
4979
4980 fi
4981 if test -z "$ac_cv_prog_AS"; then
4982 ac_ct_AS=$AS
4983 # Extract the first word of "as", so it can be a program name with args.
4984 set dummy as; ac_word=$2
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4986 $as_echo_n "checking for $ac_word... " >&6; }
4987 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 if test -n "$ac_ct_AS"; then
4991 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
4992 else
4993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4994 for as_dir in $PATH
4995 do
4996 IFS=$as_save_IFS
4997 test -z "$as_dir" && as_dir=.
4998 for ac_exec_ext in '' $ac_executable_extensions; do
4999 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5000 ac_cv_prog_ac_ct_AS="as"
5001 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5002 break 2
5003 fi
5004 done
5005 done
5006 IFS=$as_save_IFS
5007
5008 fi
5009 fi
5010 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5011 if test -n "$ac_ct_AS"; then
5012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5013 $as_echo "$ac_ct_AS" >&6; }
5014 else
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5016 $as_echo "no" >&6; }
5017 fi
5018
5019 if test "x$ac_ct_AS" = x; then
5020 AS=""
5021 else
5022 case $cross_compiling:$ac_tool_warned in
5023 yes:)
5024 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5025 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5026 ac_tool_warned=yes ;;
5027 esac
5028 AS=$ac_ct_AS
5029 fi
5030 else
5031 AS="$ac_cv_prog_AS"
5032 fi
5033
5034 if test -n "$ac_tool_prefix"; then
5035 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5036 set dummy ${ac_tool_prefix}ar; ac_word=$2
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5038 $as_echo_n "checking for $ac_word... " >&6; }
5039 if test "${ac_cv_prog_AR+set}" = set; then :
5040 $as_echo_n "(cached) " >&6
5041 else
5042 if test -n "$AR"; then
5043 ac_cv_prog_AR="$AR" # Let the user override the test.
5044 else
5045 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5046 for as_dir in $PATH
5047 do
5048 IFS=$as_save_IFS
5049 test -z "$as_dir" && as_dir=.
5050 for ac_exec_ext in '' $ac_executable_extensions; do
5051 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5052 ac_cv_prog_AR="${ac_tool_prefix}ar"
5053 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5054 break 2
5055 fi
5056 done
5057 done
5058 IFS=$as_save_IFS
5059
5060 fi
5061 fi
5062 AR=$ac_cv_prog_AR
5063 if test -n "$AR"; then
5064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5065 $as_echo "$AR" >&6; }
5066 else
5067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5068 $as_echo "no" >&6; }
5069 fi
5070
5071
5072 fi
5073 if test -z "$ac_cv_prog_AR"; then
5074 ac_ct_AR=$AR
5075 # Extract the first word of "ar", so it can be a program name with args.
5076 set dummy ar; ac_word=$2
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5078 $as_echo_n "checking for $ac_word... " >&6; }
5079 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 if test -n "$ac_ct_AR"; then
5083 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5084 else
5085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5086 for as_dir in $PATH
5087 do
5088 IFS=$as_save_IFS
5089 test -z "$as_dir" && as_dir=.
5090 for ac_exec_ext in '' $ac_executable_extensions; do
5091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5092 ac_cv_prog_ac_ct_AR="ar"
5093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5094 break 2
5095 fi
5096 done
5097 done
5098 IFS=$as_save_IFS
5099
5100 fi
5101 fi
5102 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5103 if test -n "$ac_ct_AR"; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5105 $as_echo "$ac_ct_AR" >&6; }
5106 else
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5108 $as_echo "no" >&6; }
5109 fi
5110
5111 if test "x$ac_ct_AR" = x; then
5112 AR=""
5113 else
5114 case $cross_compiling:$ac_tool_warned in
5115 yes:)
5116 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5117 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5118 ac_tool_warned=yes ;;
5119 esac
5120 AR=$ac_ct_AR
5121 fi
5122 else
5123 AR="$ac_cv_prog_AR"
5124 fi
5125
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$RANLIB"; then
5135 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5139 do
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5144 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5147 fi
5148 done
5149 done
5150 IFS=$as_save_IFS
5151
5152 fi
5153 fi
5154 RANLIB=$ac_cv_prog_RANLIB
5155 if test -n "$RANLIB"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5157 $as_echo "$RANLIB" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5161 fi
5162
5163
5164 fi
5165 if test -z "$ac_cv_prog_RANLIB"; then
5166 ac_ct_RANLIB=$RANLIB
5167 # Extract the first word of "ranlib", so it can be a program name with args.
5168 set dummy ranlib; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$ac_ct_RANLIB"; then
5175 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5179 do
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5184 ac_cv_prog_ac_ct_RANLIB="ranlib"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5187 fi
5188 done
5189 done
5190 IFS=$as_save_IFS
5191
5192 fi
5193 fi
5194 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5195 if test -n "$ac_ct_RANLIB"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5197 $as_echo "$ac_ct_RANLIB" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5201 fi
5202
5203 if test "x$ac_ct_RANLIB" = x; then
5204 RANLIB="ranlib-not-found-in-path-error"
5205 else
5206 case $cross_compiling:$ac_tool_warned in
5207 yes:)
5208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5210 ac_tool_warned=yes ;;
5211 esac
5212 RANLIB=$ac_ct_RANLIB
5213 fi
5214 else
5215 RANLIB="$ac_cv_prog_RANLIB"
5216 fi
5217
5218
5219
5220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5221 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5222 # Check whether --enable-maintainer-mode was given.
5223 if test "${enable_maintainer_mode+set}" = set; then :
5224 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5225 else
5226 USE_MAINTAINER_MODE=no
5227 fi
5228
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5230 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5231 if test $USE_MAINTAINER_MODE = yes; then
5232 MAINTAINER_MODE_TRUE=
5233 MAINTAINER_MODE_FALSE='#'
5234 else
5235 MAINTAINER_MODE_TRUE='#'
5236 MAINTAINER_MODE_FALSE=
5237 fi
5238
5239 MAINT=$MAINTAINER_MODE_TRUE
5240
5241
5242
5243 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5244 # which are themselves conditionally expanded.
5245 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5246 ## other macros from doing the same. This should be automated.) -pme
5247
5248 # Check for C library flavor since GNU/Linux platforms use different
5249 # configuration directories depending on the C library in use.
5250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5251 /* end confdefs.h. */
5252
5253 #include <stdio.h>
5254 #if __UCLIBC__
5255 _using_uclibc
5256 #endif
5257
5258 _ACEOF
5259 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5260 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5261 uclibc=yes
5262 else
5263 uclibc=no
5264 fi
5265 rm -f conftest*
5266
5267
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5270
5271 #include <stdio.h>
5272 #if __BIONIC__
5273 _using_bionic
5274 #endif
5275
5276 _ACEOF
5277 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5278 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5279 bionic=yes
5280 else
5281 bionic=no
5282 fi
5283 rm -f conftest*
5284
5285
5286 # Find platform-specific directories containing configuration info.
5287 # Also possibly modify flags used elsewhere, as needed by the platform.
5288
5289 . $glibcxx_srcdir/configure.host
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5291 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5293 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5294
5295
5296
5297 # Libtool setup.
5298 if test "x${with_newlib}" != "xyes"; then
5299 enable_dlopen=yes
5300
5301
5302
5303 fi
5304 case `pwd` in
5305 *\ * | *\ *)
5306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5307 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5308 esac
5309
5310
5311
5312 macro_version='2.2.7a'
5313 macro_revision='1.3134'
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327 ltmain="$ac_aux_dir/ltmain.sh"
5328
5329 # Backslashify metacharacters that are still active within
5330 # double-quoted strings.
5331 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5332
5333 # Same as above, but do not quote variable references.
5334 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5335
5336 # Sed substitution to delay expansion of an escaped shell variable in a
5337 # double_quote_subst'ed string.
5338 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5339
5340 # Sed substitution to delay expansion of an escaped single quote.
5341 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5342
5343 # Sed substitution to avoid accidental globbing in evaled expressions
5344 no_glob_subst='s/\*/\\\*/g'
5345
5346 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5347 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5348 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5349
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5351 $as_echo_n "checking how to print strings... " >&6; }
5352 # Test print first, because it will be a builtin if present.
5353 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5354 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5355 ECHO='print -r --'
5356 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5357 ECHO='printf %s\n'
5358 else
5359 # Use this function as a fallback that always works.
5360 func_fallback_echo ()
5361 {
5362 eval 'cat <<_LTECHO_EOF
5363 $1
5364 _LTECHO_EOF'
5365 }
5366 ECHO='func_fallback_echo'
5367 fi
5368
5369 # func_echo_all arg...
5370 # Invoke $ECHO with all args, space-separated.
5371 func_echo_all ()
5372 {
5373 $ECHO ""
5374 }
5375
5376 case "$ECHO" in
5377 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5378 $as_echo "printf" >&6; } ;;
5379 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5380 $as_echo "print -r" >&6; } ;;
5381 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5382 $as_echo "cat" >&6; } ;;
5383 esac
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5399 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5400 if test "${ac_cv_path_SED+set}" = set; then :
5401 $as_echo_n "(cached) " >&6
5402 else
5403 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5404 for ac_i in 1 2 3 4 5 6 7; do
5405 ac_script="$ac_script$as_nl$ac_script"
5406 done
5407 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5408 { ac_script=; unset ac_script;}
5409 if test -z "$SED"; then
5410 ac_path_SED_found=false
5411 # Loop through the user's path and test for each of PROGNAME-LIST
5412 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5413 for as_dir in $PATH
5414 do
5415 IFS=$as_save_IFS
5416 test -z "$as_dir" && as_dir=.
5417 for ac_prog in sed gsed; do
5418 for ac_exec_ext in '' $ac_executable_extensions; do
5419 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5420 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5421 # Check for GNU ac_path_SED and select it if it is found.
5422 # Check for GNU $ac_path_SED
5423 case `"$ac_path_SED" --version 2>&1` in
5424 *GNU*)
5425 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5426 *)
5427 ac_count=0
5428 $as_echo_n 0123456789 >"conftest.in"
5429 while :
5430 do
5431 cat "conftest.in" "conftest.in" >"conftest.tmp"
5432 mv "conftest.tmp" "conftest.in"
5433 cp "conftest.in" "conftest.nl"
5434 $as_echo '' >> "conftest.nl"
5435 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5436 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5437 as_fn_arith $ac_count + 1 && ac_count=$as_val
5438 if test $ac_count -gt ${ac_path_SED_max-0}; then
5439 # Best one so far, save it but keep looking for a better one
5440 ac_cv_path_SED="$ac_path_SED"
5441 ac_path_SED_max=$ac_count
5442 fi
5443 # 10*(2^10) chars as input seems more than enough
5444 test $ac_count -gt 10 && break
5445 done
5446 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5447 esac
5448
5449 $ac_path_SED_found && break 3
5450 done
5451 done
5452 done
5453 IFS=$as_save_IFS
5454 if test -z "$ac_cv_path_SED"; then
5455 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5456 fi
5457 else
5458 ac_cv_path_SED=$SED
5459 fi
5460
5461 fi
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5463 $as_echo "$ac_cv_path_SED" >&6; }
5464 SED="$ac_cv_path_SED"
5465 rm -f conftest.sed
5466
5467 test -z "$SED" && SED=sed
5468 Xsed="$SED -e 1s/^X//"
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5481 $as_echo_n "checking for fgrep... " >&6; }
5482 if test "${ac_cv_path_FGREP+set}" = set; then :
5483 $as_echo_n "(cached) " >&6
5484 else
5485 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5486 then ac_cv_path_FGREP="$GREP -F"
5487 else
5488 if test -z "$FGREP"; then
5489 ac_path_FGREP_found=false
5490 # Loop through the user's path and test for each of PROGNAME-LIST
5491 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5492 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5493 do
5494 IFS=$as_save_IFS
5495 test -z "$as_dir" && as_dir=.
5496 for ac_prog in fgrep; do
5497 for ac_exec_ext in '' $ac_executable_extensions; do
5498 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5499 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5500 # Check for GNU ac_path_FGREP and select it if it is found.
5501 # Check for GNU $ac_path_FGREP
5502 case `"$ac_path_FGREP" --version 2>&1` in
5503 *GNU*)
5504 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5505 *)
5506 ac_count=0
5507 $as_echo_n 0123456789 >"conftest.in"
5508 while :
5509 do
5510 cat "conftest.in" "conftest.in" >"conftest.tmp"
5511 mv "conftest.tmp" "conftest.in"
5512 cp "conftest.in" "conftest.nl"
5513 $as_echo 'FGREP' >> "conftest.nl"
5514 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5515 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5516 as_fn_arith $ac_count + 1 && ac_count=$as_val
5517 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5518 # Best one so far, save it but keep looking for a better one
5519 ac_cv_path_FGREP="$ac_path_FGREP"
5520 ac_path_FGREP_max=$ac_count
5521 fi
5522 # 10*(2^10) chars as input seems more than enough
5523 test $ac_count -gt 10 && break
5524 done
5525 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5526 esac
5527
5528 $ac_path_FGREP_found && break 3
5529 done
5530 done
5531 done
5532 IFS=$as_save_IFS
5533 if test -z "$ac_cv_path_FGREP"; then
5534 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5535 fi
5536 else
5537 ac_cv_path_FGREP=$FGREP
5538 fi
5539
5540 fi
5541 fi
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5543 $as_echo "$ac_cv_path_FGREP" >&6; }
5544 FGREP="$ac_cv_path_FGREP"
5545
5546
5547 test -z "$GREP" && GREP=grep
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567 # Check whether --with-gnu-ld was given.
5568 if test "${with_gnu_ld+set}" = set; then :
5569 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5570 else
5571 with_gnu_ld=no
5572 fi
5573
5574 ac_prog=ld
5575 if test "$GCC" = yes; then
5576 # Check if gcc -print-prog-name=ld gives a path.
5577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5578 $as_echo_n "checking for ld used by $CC... " >&6; }
5579 case $host in
5580 *-*-mingw*)
5581 # gcc leaves a trailing carriage return which upsets mingw
5582 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5583 *)
5584 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5585 esac
5586 case $ac_prog in
5587 # Accept absolute paths.
5588 [\\/]* | ?:[\\/]*)
5589 re_direlt='/[^/][^/]*/\.\./'
5590 # Canonicalize the pathname of ld
5591 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5592 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5593 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5594 done
5595 test -z "$LD" && LD="$ac_prog"
5596 ;;
5597 "")
5598 # If it fails, then pretend we aren't using GCC.
5599 ac_prog=ld
5600 ;;
5601 *)
5602 # If it is relative, then search for the first ld in PATH.
5603 with_gnu_ld=unknown
5604 ;;
5605 esac
5606 elif test "$with_gnu_ld" = yes; then
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5608 $as_echo_n "checking for GNU ld... " >&6; }
5609 else
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5611 $as_echo_n "checking for non-GNU ld... " >&6; }
5612 fi
5613 if test "${lt_cv_path_LD+set}" = set; then :
5614 $as_echo_n "(cached) " >&6
5615 else
5616 if test -z "$LD"; then
5617 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5618 for ac_dir in $PATH; do
5619 IFS="$lt_save_ifs"
5620 test -z "$ac_dir" && ac_dir=.
5621 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5622 lt_cv_path_LD="$ac_dir/$ac_prog"
5623 # Check to see if the program is GNU ld. I'd rather use --version,
5624 # but apparently some variants of GNU ld only accept -v.
5625 # Break only if it was the GNU/non-GNU ld that we prefer.
5626 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5627 *GNU* | *'with BFD'*)
5628 test "$with_gnu_ld" != no && break
5629 ;;
5630 *)
5631 test "$with_gnu_ld" != yes && break
5632 ;;
5633 esac
5634 fi
5635 done
5636 IFS="$lt_save_ifs"
5637 else
5638 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5639 fi
5640 fi
5641
5642 LD="$lt_cv_path_LD"
5643 if test -n "$LD"; then
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5645 $as_echo "$LD" >&6; }
5646 else
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5648 $as_echo "no" >&6; }
5649 fi
5650 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5652 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5653 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5654 $as_echo_n "(cached) " >&6
5655 else
5656 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5657 case `$LD -v 2>&1 </dev/null` in
5658 *GNU* | *'with BFD'*)
5659 lt_cv_prog_gnu_ld=yes
5660 ;;
5661 *)
5662 lt_cv_prog_gnu_ld=no
5663 ;;
5664 esac
5665 fi
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5667 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5668 with_gnu_ld=$lt_cv_prog_gnu_ld
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5679 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5680 if test "${lt_cv_path_NM+set}" = set; then :
5681 $as_echo_n "(cached) " >&6
5682 else
5683 if test -n "$NM"; then
5684 # Let the user override the test.
5685 lt_cv_path_NM="$NM"
5686 else
5687 lt_nm_to_check="${ac_tool_prefix}nm"
5688 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5689 lt_nm_to_check="$lt_nm_to_check nm"
5690 fi
5691 for lt_tmp_nm in $lt_nm_to_check; do
5692 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5693 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5694 IFS="$lt_save_ifs"
5695 test -z "$ac_dir" && ac_dir=.
5696 tmp_nm="$ac_dir/$lt_tmp_nm"
5697 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5698 # Check to see if the nm accepts a BSD-compat flag.
5699 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5700 # nm: unknown option "B" ignored
5701 # Tru64's nm complains that /dev/null is an invalid object file
5702 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5703 */dev/null* | *'Invalid file or object type'*)
5704 lt_cv_path_NM="$tmp_nm -B"
5705 break
5706 ;;
5707 *)
5708 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5709 */dev/null*)
5710 lt_cv_path_NM="$tmp_nm -p"
5711 break
5712 ;;
5713 *)
5714 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5715 continue # so that we can try to find one that supports BSD flags
5716 ;;
5717 esac
5718 ;;
5719 esac
5720 fi
5721 done
5722 IFS="$lt_save_ifs"
5723 done
5724 : ${lt_cv_path_NM=no}
5725 fi
5726 fi
5727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5728 $as_echo "$lt_cv_path_NM" >&6; }
5729 if test "$lt_cv_path_NM" != "no"; then
5730 NM="$lt_cv_path_NM"
5731 else
5732 # Didn't find any BSD compatible name lister, look for dumpbin.
5733 if test -n "$DUMPBIN"; then :
5734 # Let the user override the test.
5735 else
5736 if test -n "$ac_tool_prefix"; then
5737 for ac_prog in dumpbin "link -dump"
5738 do
5739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5742 $as_echo_n "checking for $ac_word... " >&6; }
5743 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5744 $as_echo_n "(cached) " >&6
5745 else
5746 if test -n "$DUMPBIN"; then
5747 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5748 else
5749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5750 for as_dir in $PATH
5751 do
5752 IFS=$as_save_IFS
5753 test -z "$as_dir" && as_dir=.
5754 for ac_exec_ext in '' $ac_executable_extensions; do
5755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5756 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5758 break 2
5759 fi
5760 done
5761 done
5762 IFS=$as_save_IFS
5763
5764 fi
5765 fi
5766 DUMPBIN=$ac_cv_prog_DUMPBIN
5767 if test -n "$DUMPBIN"; then
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5769 $as_echo "$DUMPBIN" >&6; }
5770 else
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5772 $as_echo "no" >&6; }
5773 fi
5774
5775
5776 test -n "$DUMPBIN" && break
5777 done
5778 fi
5779 if test -z "$DUMPBIN"; then
5780 ac_ct_DUMPBIN=$DUMPBIN
5781 for ac_prog in dumpbin "link -dump"
5782 do
5783 # Extract the first word of "$ac_prog", so it can be a program name with args.
5784 set dummy $ac_prog; ac_word=$2
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5786 $as_echo_n "checking for $ac_word... " >&6; }
5787 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5788 $as_echo_n "(cached) " >&6
5789 else
5790 if test -n "$ac_ct_DUMPBIN"; then
5791 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5792 else
5793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5794 for as_dir in $PATH
5795 do
5796 IFS=$as_save_IFS
5797 test -z "$as_dir" && as_dir=.
5798 for ac_exec_ext in '' $ac_executable_extensions; do
5799 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5800 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5801 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5802 break 2
5803 fi
5804 done
5805 done
5806 IFS=$as_save_IFS
5807
5808 fi
5809 fi
5810 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5811 if test -n "$ac_ct_DUMPBIN"; then
5812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5813 $as_echo "$ac_ct_DUMPBIN" >&6; }
5814 else
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5816 $as_echo "no" >&6; }
5817 fi
5818
5819
5820 test -n "$ac_ct_DUMPBIN" && break
5821 done
5822
5823 if test "x$ac_ct_DUMPBIN" = x; then
5824 DUMPBIN=":"
5825 else
5826 case $cross_compiling:$ac_tool_warned in
5827 yes:)
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5829 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5830 ac_tool_warned=yes ;;
5831 esac
5832 DUMPBIN=$ac_ct_DUMPBIN
5833 fi
5834 fi
5835
5836 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5837 *COFF*)
5838 DUMPBIN="$DUMPBIN -symbols"
5839 ;;
5840 *)
5841 DUMPBIN=:
5842 ;;
5843 esac
5844 fi
5845
5846 if test "$DUMPBIN" != ":"; then
5847 NM="$DUMPBIN"
5848 fi
5849 fi
5850 test -z "$NM" && NM=nm
5851
5852
5853
5854
5855
5856
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5858 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5859 if test "${lt_cv_nm_interface+set}" = set; then :
5860 $as_echo_n "(cached) " >&6
5861 else
5862 lt_cv_nm_interface="BSD nm"
5863 echo "int some_variable = 0;" > conftest.$ac_ext
5864 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5865 (eval "$ac_compile" 2>conftest.err)
5866 cat conftest.err >&5
5867 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5868 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5869 cat conftest.err >&5
5870 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5871 cat conftest.out >&5
5872 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5873 lt_cv_nm_interface="MS dumpbin"
5874 fi
5875 rm -f conftest*
5876 fi
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5878 $as_echo "$lt_cv_nm_interface" >&6; }
5879
5880 # find the maximum length of command line arguments
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5882 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5883 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5884 $as_echo_n "(cached) " >&6
5885 else
5886 i=0
5887 teststring="ABCD"
5888
5889 case $build_os in
5890 msdosdjgpp*)
5891 # On DJGPP, this test can blow up pretty badly due to problems in libc
5892 # (any single argument exceeding 2000 bytes causes a buffer overrun
5893 # during glob expansion). Even if it were fixed, the result of this
5894 # check would be larger than it should be.
5895 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5896 ;;
5897
5898 gnu*)
5899 # Under GNU Hurd, this test is not required because there is
5900 # no limit to the length of command line arguments.
5901 # Libtool will interpret -1 as no limit whatsoever
5902 lt_cv_sys_max_cmd_len=-1;
5903 ;;
5904
5905 cygwin* | mingw* | cegcc*)
5906 # On Win9x/ME, this test blows up -- it succeeds, but takes
5907 # about 5 minutes as the teststring grows exponentially.
5908 # Worse, since 9x/ME are not pre-emptively multitasking,
5909 # you end up with a "frozen" computer, even though with patience
5910 # the test eventually succeeds (with a max line length of 256k).
5911 # Instead, let's just punt: use the minimum linelength reported by
5912 # all of the supported platforms: 8192 (on NT/2K/XP).
5913 lt_cv_sys_max_cmd_len=8192;
5914 ;;
5915
5916 mint*)
5917 # On MiNT this can take a long time and run out of memory.
5918 lt_cv_sys_max_cmd_len=8192;
5919 ;;
5920
5921 amigaos*)
5922 # On AmigaOS with pdksh, this test takes hours, literally.
5923 # So we just punt and use a minimum line length of 8192.
5924 lt_cv_sys_max_cmd_len=8192;
5925 ;;
5926
5927 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5928 # This has been around since 386BSD, at least. Likely further.
5929 if test -x /sbin/sysctl; then
5930 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5931 elif test -x /usr/sbin/sysctl; then
5932 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5933 else
5934 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5935 fi
5936 # And add a safety zone
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5938 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5939 ;;
5940
5941 interix*)
5942 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5943 lt_cv_sys_max_cmd_len=196608
5944 ;;
5945
5946 osf*)
5947 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5948 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5949 # nice to cause kernel panics so lets avoid the loop below.
5950 # First set a reasonable default.
5951 lt_cv_sys_max_cmd_len=16384
5952 #
5953 if test -x /sbin/sysconfig; then
5954 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5955 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5956 esac
5957 fi
5958 ;;
5959 sco3.2v5*)
5960 lt_cv_sys_max_cmd_len=102400
5961 ;;
5962 sysv5* | sco5v6* | sysv4.2uw2*)
5963 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5964 if test -n "$kargmax"; then
5965 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5966 else
5967 lt_cv_sys_max_cmd_len=32768
5968 fi
5969 ;;
5970 *)
5971 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5972 if test -n "$lt_cv_sys_max_cmd_len"; then
5973 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5974 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5975 else
5976 # Make teststring a little bigger before we do anything with it.
5977 # a 1K string should be a reasonable start.
5978 for i in 1 2 3 4 5 6 7 8 ; do
5979 teststring=$teststring$teststring
5980 done
5981 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5982 # If test is not a shell built-in, we'll probably end up computing a
5983 # maximum length that is only half of the actual maximum length, but
5984 # we can't tell.
5985 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5986 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5987 test $i != 17 # 1/2 MB should be enough
5988 do
5989 i=`expr $i + 1`
5990 teststring=$teststring$teststring
5991 done
5992 # Only check the string length outside the loop.
5993 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5994 teststring=
5995 # Add a significant safety factor because C++ compilers can tack on
5996 # massive amounts of additional arguments before passing them to the
5997 # linker. It appears as though 1/2 is a usable value.
5998 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5999 fi
6000 ;;
6001 esac
6002
6003 fi
6004
6005 if test -n $lt_cv_sys_max_cmd_len ; then
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6007 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6008 else
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6010 $as_echo "none" >&6; }
6011 fi
6012 max_cmd_len=$lt_cv_sys_max_cmd_len
6013
6014
6015
6016
6017
6018
6019 : ${CP="cp -f"}
6020 : ${MV="mv -f"}
6021 : ${RM="rm -f"}
6022
6023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6024 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6025 # Try some XSI features
6026 xsi_shell=no
6027 ( _lt_dummy="a/b/c"
6028 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6029 = c,a/b,, \
6030 && eval 'test $(( 1 + 1 )) -eq 2 \
6031 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6032 && xsi_shell=yes
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6034 $as_echo "$xsi_shell" >&6; }
6035
6036
6037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6038 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6039 lt_shell_append=no
6040 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6041 >/dev/null 2>&1 \
6042 && lt_shell_append=yes
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6044 $as_echo "$lt_shell_append" >&6; }
6045
6046
6047 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6048 lt_unset=unset
6049 else
6050 lt_unset=false
6051 fi
6052
6053
6054
6055
6056
6057 # test EBCDIC or ASCII
6058 case `echo X|tr X '\101'` in
6059 A) # ASCII based system
6060 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6061 lt_SP2NL='tr \040 \012'
6062 lt_NL2SP='tr \015\012 \040\040'
6063 ;;
6064 *) # EBCDIC based system
6065 lt_SP2NL='tr \100 \n'
6066 lt_NL2SP='tr \r\n \100\100'
6067 ;;
6068 esac
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6079 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6080 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6081 $as_echo_n "(cached) " >&6
6082 else
6083 lt_cv_ld_reload_flag='-r'
6084 fi
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6086 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6087 reload_flag=$lt_cv_ld_reload_flag
6088 case $reload_flag in
6089 "" | " "*) ;;
6090 *) reload_flag=" $reload_flag" ;;
6091 esac
6092 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6093 case $host_os in
6094 darwin*)
6095 if test "$GCC" = yes; then
6096 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6097 else
6098 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6099 fi
6100 ;;
6101 esac
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111 if test -n "$ac_tool_prefix"; then
6112 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6113 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6115 $as_echo_n "checking for $ac_word... " >&6; }
6116 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6117 $as_echo_n "(cached) " >&6
6118 else
6119 if test -n "$OBJDUMP"; then
6120 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6121 else
6122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6123 for as_dir in $PATH
6124 do
6125 IFS=$as_save_IFS
6126 test -z "$as_dir" && as_dir=.
6127 for ac_exec_ext in '' $ac_executable_extensions; do
6128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6129 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6131 break 2
6132 fi
6133 done
6134 done
6135 IFS=$as_save_IFS
6136
6137 fi
6138 fi
6139 OBJDUMP=$ac_cv_prog_OBJDUMP
6140 if test -n "$OBJDUMP"; then
6141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6142 $as_echo "$OBJDUMP" >&6; }
6143 else
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6145 $as_echo "no" >&6; }
6146 fi
6147
6148
6149 fi
6150 if test -z "$ac_cv_prog_OBJDUMP"; then
6151 ac_ct_OBJDUMP=$OBJDUMP
6152 # Extract the first word of "objdump", so it can be a program name with args.
6153 set dummy objdump; ac_word=$2
6154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6155 $as_echo_n "checking for $ac_word... " >&6; }
6156 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6157 $as_echo_n "(cached) " >&6
6158 else
6159 if test -n "$ac_ct_OBJDUMP"; then
6160 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6161 else
6162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6163 for as_dir in $PATH
6164 do
6165 IFS=$as_save_IFS
6166 test -z "$as_dir" && as_dir=.
6167 for ac_exec_ext in '' $ac_executable_extensions; do
6168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6169 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6171 break 2
6172 fi
6173 done
6174 done
6175 IFS=$as_save_IFS
6176
6177 fi
6178 fi
6179 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6180 if test -n "$ac_ct_OBJDUMP"; then
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6182 $as_echo "$ac_ct_OBJDUMP" >&6; }
6183 else
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6185 $as_echo "no" >&6; }
6186 fi
6187
6188 if test "x$ac_ct_OBJDUMP" = x; then
6189 OBJDUMP="false"
6190 else
6191 case $cross_compiling:$ac_tool_warned in
6192 yes:)
6193 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6194 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6195 ac_tool_warned=yes ;;
6196 esac
6197 OBJDUMP=$ac_ct_OBJDUMP
6198 fi
6199 else
6200 OBJDUMP="$ac_cv_prog_OBJDUMP"
6201 fi
6202
6203 test -z "$OBJDUMP" && OBJDUMP=objdump
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6214 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6215 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6216 $as_echo_n "(cached) " >&6
6217 else
6218 lt_cv_file_magic_cmd='$MAGIC_CMD'
6219 lt_cv_file_magic_test_file=
6220 lt_cv_deplibs_check_method='unknown'
6221 # Need to set the preceding variable on all platforms that support
6222 # interlibrary dependencies.
6223 # 'none' -- dependencies not supported.
6224 # `unknown' -- same as none, but documents that we really don't know.
6225 # 'pass_all' -- all dependencies passed with no checks.
6226 # 'test_compile' -- check by making test program.
6227 # 'file_magic [[regex]]' -- check by looking for files in library path
6228 # which responds to the $file_magic_cmd with a given extended regex.
6229 # If you have `file' or equivalent on your system and you're not sure
6230 # whether `pass_all' will *always* work, you probably want this one.
6231
6232 case $host_os in
6233 aix[4-9]*)
6234 lt_cv_deplibs_check_method=pass_all
6235 ;;
6236
6237 beos*)
6238 lt_cv_deplibs_check_method=pass_all
6239 ;;
6240
6241 bsdi[45]*)
6242 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6243 lt_cv_file_magic_cmd='/usr/bin/file -L'
6244 lt_cv_file_magic_test_file=/shlib/libc.so
6245 ;;
6246
6247 cygwin*)
6248 # func_win32_libid is a shell function defined in ltmain.sh
6249 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6250 lt_cv_file_magic_cmd='func_win32_libid'
6251 ;;
6252
6253 mingw* | pw32*)
6254 # Base MSYS/MinGW do not provide the 'file' command needed by
6255 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6256 # unless we find 'file', for example because we are cross-compiling.
6257 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6258 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6259 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6260 lt_cv_file_magic_cmd='func_win32_libid'
6261 else
6262 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6263 lt_cv_file_magic_cmd='$OBJDUMP -f'
6264 fi
6265 ;;
6266
6267 cegcc*)
6268 # use the weaker test based on 'objdump'. See mingw*.
6269 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6270 lt_cv_file_magic_cmd='$OBJDUMP -f'
6271 ;;
6272
6273 darwin* | rhapsody*)
6274 lt_cv_deplibs_check_method=pass_all
6275 ;;
6276
6277 freebsd* | dragonfly*)
6278 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6279 case $host_cpu in
6280 i*86 )
6281 # Not sure whether the presence of OpenBSD here was a mistake.
6282 # Let's accept both of them until this is cleared up.
6283 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6284 lt_cv_file_magic_cmd=/usr/bin/file
6285 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6286 ;;
6287 esac
6288 else
6289 lt_cv_deplibs_check_method=pass_all
6290 fi
6291 ;;
6292
6293 gnu*)
6294 lt_cv_deplibs_check_method=pass_all
6295 ;;
6296
6297 haiku*)
6298 lt_cv_deplibs_check_method=pass_all
6299 ;;
6300
6301 hpux10.20* | hpux11*)
6302 lt_cv_file_magic_cmd=/usr/bin/file
6303 case $host_cpu in
6304 ia64*)
6305 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6306 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6307 ;;
6308 hppa*64*)
6309 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]'
6310 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6311 ;;
6312 *)
6313 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6314 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6315 ;;
6316 esac
6317 ;;
6318
6319 interix[3-9]*)
6320 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6321 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6322 ;;
6323
6324 irix5* | irix6* | nonstopux*)
6325 case $LD in
6326 *-32|*"-32 ") libmagic=32-bit;;
6327 *-n32|*"-n32 ") libmagic=N32;;
6328 *-64|*"-64 ") libmagic=64-bit;;
6329 *) libmagic=never-match;;
6330 esac
6331 lt_cv_deplibs_check_method=pass_all
6332 ;;
6333
6334 # This must be Linux ELF.
6335 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6336 lt_cv_deplibs_check_method=pass_all
6337 ;;
6338
6339 netbsd*)
6340 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6341 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6342 else
6343 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6344 fi
6345 ;;
6346
6347 newos6*)
6348 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6349 lt_cv_file_magic_cmd=/usr/bin/file
6350 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6351 ;;
6352
6353 *nto* | *qnx*)
6354 lt_cv_deplibs_check_method=pass_all
6355 ;;
6356
6357 openbsd*)
6358 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6359 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6360 else
6361 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6362 fi
6363 ;;
6364
6365 osf3* | osf4* | osf5*)
6366 lt_cv_deplibs_check_method=pass_all
6367 ;;
6368
6369 rdos*)
6370 lt_cv_deplibs_check_method=pass_all
6371 ;;
6372
6373 solaris*)
6374 lt_cv_deplibs_check_method=pass_all
6375 ;;
6376
6377 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6378 lt_cv_deplibs_check_method=pass_all
6379 ;;
6380
6381 sysv4 | sysv4.3*)
6382 case $host_vendor in
6383 motorola)
6384 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]'
6385 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6386 ;;
6387 ncr)
6388 lt_cv_deplibs_check_method=pass_all
6389 ;;
6390 sequent)
6391 lt_cv_file_magic_cmd='/bin/file'
6392 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6393 ;;
6394 sni)
6395 lt_cv_file_magic_cmd='/bin/file'
6396 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6397 lt_cv_file_magic_test_file=/lib/libc.so
6398 ;;
6399 siemens)
6400 lt_cv_deplibs_check_method=pass_all
6401 ;;
6402 pc)
6403 lt_cv_deplibs_check_method=pass_all
6404 ;;
6405 esac
6406 ;;
6407
6408 tpf*)
6409 lt_cv_deplibs_check_method=pass_all
6410 ;;
6411 esac
6412
6413 fi
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6415 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6416 file_magic_cmd=$lt_cv_file_magic_cmd
6417 deplibs_check_method=$lt_cv_deplibs_check_method
6418 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}ar; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if test "${ac_cv_prog_AR+set}" = set; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$AR"; then
6440 ac_cv_prog_AR="$AR" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6444 do
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6449 ac_cv_prog_AR="${ac_tool_prefix}ar"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6452 fi
6453 done
6454 done
6455 IFS=$as_save_IFS
6456
6457 fi
6458 fi
6459 AR=$ac_cv_prog_AR
6460 if test -n "$AR"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6462 $as_echo "$AR" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6466 fi
6467
6468
6469 fi
6470 if test -z "$ac_cv_prog_AR"; then
6471 ac_ct_AR=$AR
6472 # Extract the first word of "ar", so it can be a program name with args.
6473 set dummy ar; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_AR"; then
6480 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6484 do
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6489 ac_cv_prog_ac_ct_AR="ar"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6492 fi
6493 done
6494 done
6495 IFS=$as_save_IFS
6496
6497 fi
6498 fi
6499 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6500 if test -n "$ac_ct_AR"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6502 $as_echo "$ac_ct_AR" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6506 fi
6507
6508 if test "x$ac_ct_AR" = x; then
6509 AR="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 AR=$ac_ct_AR
6518 fi
6519 else
6520 AR="$ac_cv_prog_AR"
6521 fi
6522
6523 test -z "$AR" && AR=ar
6524 test -z "$AR_FLAGS" && AR_FLAGS=cru
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536 if test -n "$ac_tool_prefix"; then
6537 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6538 set dummy ${ac_tool_prefix}strip; ac_word=$2
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6540 $as_echo_n "checking for $ac_word... " >&6; }
6541 if test "${ac_cv_prog_STRIP+set}" = set; then :
6542 $as_echo_n "(cached) " >&6
6543 else
6544 if test -n "$STRIP"; then
6545 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6546 else
6547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6548 for as_dir in $PATH
6549 do
6550 IFS=$as_save_IFS
6551 test -z "$as_dir" && as_dir=.
6552 for ac_exec_ext in '' $ac_executable_extensions; do
6553 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6554 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6555 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6556 break 2
6557 fi
6558 done
6559 done
6560 IFS=$as_save_IFS
6561
6562 fi
6563 fi
6564 STRIP=$ac_cv_prog_STRIP
6565 if test -n "$STRIP"; then
6566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6567 $as_echo "$STRIP" >&6; }
6568 else
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6570 $as_echo "no" >&6; }
6571 fi
6572
6573
6574 fi
6575 if test -z "$ac_cv_prog_STRIP"; then
6576 ac_ct_STRIP=$STRIP
6577 # Extract the first word of "strip", so it can be a program name with args.
6578 set dummy strip; ac_word=$2
6579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6580 $as_echo_n "checking for $ac_word... " >&6; }
6581 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6582 $as_echo_n "(cached) " >&6
6583 else
6584 if test -n "$ac_ct_STRIP"; then
6585 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6586 else
6587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6588 for as_dir in $PATH
6589 do
6590 IFS=$as_save_IFS
6591 test -z "$as_dir" && as_dir=.
6592 for ac_exec_ext in '' $ac_executable_extensions; do
6593 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6594 ac_cv_prog_ac_ct_STRIP="strip"
6595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6596 break 2
6597 fi
6598 done
6599 done
6600 IFS=$as_save_IFS
6601
6602 fi
6603 fi
6604 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6605 if test -n "$ac_ct_STRIP"; then
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6607 $as_echo "$ac_ct_STRIP" >&6; }
6608 else
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6610 $as_echo "no" >&6; }
6611 fi
6612
6613 if test "x$ac_ct_STRIP" = x; then
6614 STRIP=":"
6615 else
6616 case $cross_compiling:$ac_tool_warned in
6617 yes:)
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6620 ac_tool_warned=yes ;;
6621 esac
6622 STRIP=$ac_ct_STRIP
6623 fi
6624 else
6625 STRIP="$ac_cv_prog_STRIP"
6626 fi
6627
6628 test -z "$STRIP" && STRIP=:
6629
6630
6631
6632
6633
6634
6635 if test -n "$ac_tool_prefix"; then
6636 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6637 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 $as_echo_n "checking for $ac_word... " >&6; }
6640 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6641 $as_echo_n "(cached) " >&6
6642 else
6643 if test -n "$RANLIB"; then
6644 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6645 else
6646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6647 for as_dir in $PATH
6648 do
6649 IFS=$as_save_IFS
6650 test -z "$as_dir" && as_dir=.
6651 for ac_exec_ext in '' $ac_executable_extensions; do
6652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6653 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6655 break 2
6656 fi
6657 done
6658 done
6659 IFS=$as_save_IFS
6660
6661 fi
6662 fi
6663 RANLIB=$ac_cv_prog_RANLIB
6664 if test -n "$RANLIB"; then
6665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6666 $as_echo "$RANLIB" >&6; }
6667 else
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6669 $as_echo "no" >&6; }
6670 fi
6671
6672
6673 fi
6674 if test -z "$ac_cv_prog_RANLIB"; then
6675 ac_ct_RANLIB=$RANLIB
6676 # Extract the first word of "ranlib", so it can be a program name with args.
6677 set dummy ranlib; ac_word=$2
6678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6679 $as_echo_n "checking for $ac_word... " >&6; }
6680 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6681 $as_echo_n "(cached) " >&6
6682 else
6683 if test -n "$ac_ct_RANLIB"; then
6684 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6685 else
6686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6687 for as_dir in $PATH
6688 do
6689 IFS=$as_save_IFS
6690 test -z "$as_dir" && as_dir=.
6691 for ac_exec_ext in '' $ac_executable_extensions; do
6692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6693 ac_cv_prog_ac_ct_RANLIB="ranlib"
6694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6695 break 2
6696 fi
6697 done
6698 done
6699 IFS=$as_save_IFS
6700
6701 fi
6702 fi
6703 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6704 if test -n "$ac_ct_RANLIB"; then
6705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6706 $as_echo "$ac_ct_RANLIB" >&6; }
6707 else
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6709 $as_echo "no" >&6; }
6710 fi
6711
6712 if test "x$ac_ct_RANLIB" = x; then
6713 RANLIB=":"
6714 else
6715 case $cross_compiling:$ac_tool_warned in
6716 yes:)
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6719 ac_tool_warned=yes ;;
6720 esac
6721 RANLIB=$ac_ct_RANLIB
6722 fi
6723 else
6724 RANLIB="$ac_cv_prog_RANLIB"
6725 fi
6726
6727 test -z "$RANLIB" && RANLIB=:
6728
6729
6730
6731
6732
6733
6734 # Determine commands to create old-style static archives.
6735 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6736 old_postinstall_cmds='chmod 644 $oldlib'
6737 old_postuninstall_cmds=
6738
6739 if test -n "$RANLIB"; then
6740 case $host_os in
6741 openbsd*)
6742 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6743 ;;
6744 *)
6745 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6746 ;;
6747 esac
6748 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6749 fi
6750
6751 case $host_os in
6752 darwin*)
6753 lock_old_archive_extraction=yes ;;
6754 *)
6755 lock_old_archive_extraction=no ;;
6756 esac
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
6791
6792
6793
6794
6795
6796 # If no C compiler was specified, use CC.
6797 LTCC=${LTCC-"$CC"}
6798
6799 # If no C compiler flags were specified, use CFLAGS.
6800 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6801
6802 # Allow CC to be a program name with arguments.
6803 compiler=$CC
6804
6805
6806 # Check for command to grab the raw symbol name followed by C symbol from nm.
6807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6808 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6809 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6810 $as_echo_n "(cached) " >&6
6811 else
6812
6813 # These are sane defaults that work on at least a few old systems.
6814 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6815
6816 # Character class describing NM global symbol codes.
6817 symcode='[BCDEGRST]'
6818
6819 # Regexp to match symbols that can be accessed directly from C.
6820 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6821
6822 # Define system-specific variables.
6823 case $host_os in
6824 aix*)
6825 symcode='[BCDT]'
6826 ;;
6827 cygwin* | mingw* | pw32* | cegcc*)
6828 symcode='[ABCDGISTW]'
6829 ;;
6830 hpux*)
6831 if test "$host_cpu" = ia64; then
6832 symcode='[ABCDEGRST]'
6833 fi
6834 ;;
6835 irix* | nonstopux*)
6836 symcode='[BCDEGRST]'
6837 ;;
6838 osf*)
6839 symcode='[BCDEGQRST]'
6840 ;;
6841 solaris*)
6842 symcode='[BDRT]'
6843 ;;
6844 sco3.2v5*)
6845 symcode='[DT]'
6846 ;;
6847 sysv4.2uw2*)
6848 symcode='[DT]'
6849 ;;
6850 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6851 symcode='[ABDT]'
6852 ;;
6853 sysv4)
6854 symcode='[DFNSTU]'
6855 ;;
6856 esac
6857
6858 # If we're using GNU nm, then use its standard symbol codes.
6859 case `$NM -V 2>&1` in
6860 *GNU* | *'with BFD'*)
6861 symcode='[ABCDGIRSTW]' ;;
6862 esac
6863
6864 # Transform an extracted symbol line into a proper C declaration.
6865 # Some systems (esp. on ia64) link data and code symbols differently,
6866 # so use this general approach.
6867 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6868
6869 # Transform an extracted symbol line into symbol name and symbol address
6870 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6871 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'"
6872
6873 # Handle CRLF in mingw tool chain
6874 opt_cr=
6875 case $build_os in
6876 mingw*)
6877 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6878 ;;
6879 esac
6880
6881 # Try without a prefix underscore, then with it.
6882 for ac_symprfx in "" "_"; do
6883
6884 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6885 symxfrm="\\1 $ac_symprfx\\2 \\2"
6886
6887 # Write the raw and C identifiers.
6888 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6889 # Fake it for dumpbin and say T for any non-static function
6890 # and D for any global variable.
6891 # Also find C++ and __fastcall symbols from MSVC++,
6892 # which start with @ or ?.
6893 lt_cv_sys_global_symbol_pipe="$AWK '"\
6894 " {last_section=section; section=\$ 3};"\
6895 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6896 " \$ 0!~/External *\|/{next};"\
6897 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6898 " {if(hide[section]) next};"\
6899 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6900 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6901 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6902 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6903 " ' prfx=^$ac_symprfx"
6904 else
6905 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6906 fi
6907
6908 # Check to see that the pipe works correctly.
6909 pipe_works=no
6910
6911 rm -f conftest*
6912 cat > conftest.$ac_ext <<_LT_EOF
6913 #ifdef __cplusplus
6914 extern "C" {
6915 #endif
6916 char nm_test_var;
6917 void nm_test_func(void);
6918 void nm_test_func(void){}
6919 #ifdef __cplusplus
6920 }
6921 #endif
6922 int main(){nm_test_var='a';nm_test_func();return(0);}
6923 _LT_EOF
6924
6925 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6926 (eval $ac_compile) 2>&5
6927 ac_status=$?
6928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6929 test $ac_status = 0; }; then
6930 # Now try to grab the symbols.
6931 nlist=conftest.nm
6932 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6933 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6934 ac_status=$?
6935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6936 test $ac_status = 0; } && test -s "$nlist"; then
6937 # Try sorting and uniquifying the output.
6938 if sort "$nlist" | uniq > "$nlist"T; then
6939 mv -f "$nlist"T "$nlist"
6940 else
6941 rm -f "$nlist"T
6942 fi
6943
6944 # Make sure that we snagged all the symbols we need.
6945 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6946 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6947 cat <<_LT_EOF > conftest.$ac_ext
6948 #ifdef __cplusplus
6949 extern "C" {
6950 #endif
6951
6952 _LT_EOF
6953 # Now generate the symbol file.
6954 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6955
6956 cat <<_LT_EOF >> conftest.$ac_ext
6957
6958 /* The mapping between symbol names and symbols. */
6959 const struct {
6960 const char *name;
6961 void *address;
6962 }
6963 lt__PROGRAM__LTX_preloaded_symbols[] =
6964 {
6965 { "@PROGRAM@", (void *) 0 },
6966 _LT_EOF
6967 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6968 cat <<\_LT_EOF >> conftest.$ac_ext
6969 {0, (void *) 0}
6970 };
6971
6972 /* This works around a problem in FreeBSD linker */
6973 #ifdef FREEBSD_WORKAROUND
6974 static const void *lt_preloaded_setup() {
6975 return lt__PROGRAM__LTX_preloaded_symbols;
6976 }
6977 #endif
6978
6979 #ifdef __cplusplus
6980 }
6981 #endif
6982 _LT_EOF
6983 # Now try linking the two files.
6984 mv conftest.$ac_objext conftstm.$ac_objext
6985 lt_save_LIBS="$LIBS"
6986 lt_save_CFLAGS="$CFLAGS"
6987 LIBS="conftstm.$ac_objext"
6988 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6989 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6990 (eval $ac_link) 2>&5
6991 ac_status=$?
6992 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6993 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6994 pipe_works=yes
6995 fi
6996 LIBS="$lt_save_LIBS"
6997 CFLAGS="$lt_save_CFLAGS"
6998 else
6999 echo "cannot find nm_test_func in $nlist" >&5
7000 fi
7001 else
7002 echo "cannot find nm_test_var in $nlist" >&5
7003 fi
7004 else
7005 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7006 fi
7007 else
7008 echo "$progname: failed program was:" >&5
7009 cat conftest.$ac_ext >&5
7010 fi
7011 rm -rf conftest* conftst*
7012
7013 # Do not use the global_symbol_pipe unless it works.
7014 if test "$pipe_works" = yes; then
7015 break
7016 else
7017 lt_cv_sys_global_symbol_pipe=
7018 fi
7019 done
7020
7021 fi
7022
7023 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7024 lt_cv_sys_global_symbol_to_cdecl=
7025 fi
7026 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7028 $as_echo "failed" >&6; }
7029 else
7030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7031 $as_echo "ok" >&6; }
7032 fi
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055 # Check whether --enable-libtool-lock was given.
7056 if test "${enable_libtool_lock+set}" = set; then :
7057 enableval=$enable_libtool_lock;
7058 fi
7059
7060 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7061
7062 # Some flags need to be propagated to the compiler or linker for good
7063 # libtool support.
7064 case $host in
7065 ia64-*-hpux*)
7066 # Find out which ABI we are using.
7067 echo 'int i;' > conftest.$ac_ext
7068 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7069 (eval $ac_compile) 2>&5
7070 ac_status=$?
7071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7072 test $ac_status = 0; }; then
7073 case `/usr/bin/file conftest.$ac_objext` in
7074 *ELF-32*)
7075 HPUX_IA64_MODE="32"
7076 ;;
7077 *ELF-64*)
7078 HPUX_IA64_MODE="64"
7079 ;;
7080 esac
7081 fi
7082 rm -rf conftest*
7083 ;;
7084 *-*-irix6*)
7085 # Find out which ABI we are using.
7086 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7088 (eval $ac_compile) 2>&5
7089 ac_status=$?
7090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7091 test $ac_status = 0; }; then
7092 if test "$lt_cv_prog_gnu_ld" = yes; then
7093 case `/usr/bin/file conftest.$ac_objext` in
7094 *32-bit*)
7095 LD="${LD-ld} -melf32bsmip"
7096 ;;
7097 *N32*)
7098 LD="${LD-ld} -melf32bmipn32"
7099 ;;
7100 *64-bit*)
7101 LD="${LD-ld} -melf64bmip"
7102 ;;
7103 esac
7104 else
7105 case `/usr/bin/file conftest.$ac_objext` in
7106 *32-bit*)
7107 LD="${LD-ld} -32"
7108 ;;
7109 *N32*)
7110 LD="${LD-ld} -n32"
7111 ;;
7112 *64-bit*)
7113 LD="${LD-ld} -64"
7114 ;;
7115 esac
7116 fi
7117 fi
7118 rm -rf conftest*
7119 ;;
7120
7121 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7122 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7123 # Find out which ABI we are using.
7124 echo 'int i;' > conftest.$ac_ext
7125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7126 (eval $ac_compile) 2>&5
7127 ac_status=$?
7128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7129 test $ac_status = 0; }; then
7130 case `/usr/bin/file conftest.o` in
7131 *32-bit*)
7132 case $host in
7133 x86_64-*kfreebsd*-gnu)
7134 LD="${LD-ld} -m elf_i386_fbsd"
7135 ;;
7136 x86_64-*linux*)
7137 case `/usr/bin/file conftest.o` in
7138 *x86-64*)
7139 LD="${LD-ld} -m elf32_x86_64"
7140 ;;
7141 *)
7142 LD="${LD-ld} -m elf_i386"
7143 ;;
7144 esac
7145 ;;
7146 powerpc64le-*linux*)
7147 LD="${LD-ld} -m elf32lppclinux"
7148 ;;
7149 powerpc64-*linux*)
7150 LD="${LD-ld} -m elf32ppclinux"
7151 ;;
7152 s390x-*linux*)
7153 LD="${LD-ld} -m elf_s390"
7154 ;;
7155 sparc64-*linux*)
7156 LD="${LD-ld} -m elf32_sparc"
7157 ;;
7158 esac
7159 ;;
7160 *64-bit*)
7161 case $host in
7162 x86_64-*kfreebsd*-gnu)
7163 LD="${LD-ld} -m elf_x86_64_fbsd"
7164 ;;
7165 x86_64-*linux*)
7166 LD="${LD-ld} -m elf_x86_64"
7167 ;;
7168 powerpcle-*linux*)
7169 LD="${LD-ld} -m elf64lppc"
7170 ;;
7171 powerpc-*linux*)
7172 LD="${LD-ld} -m elf64ppc"
7173 ;;
7174 s390*-*linux*|s390*-*tpf*)
7175 LD="${LD-ld} -m elf64_s390"
7176 ;;
7177 sparc*-*linux*)
7178 LD="${LD-ld} -m elf64_sparc"
7179 ;;
7180 esac
7181 ;;
7182 esac
7183 fi
7184 rm -rf conftest*
7185 ;;
7186
7187 *-*-sco3.2v5*)
7188 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7189 SAVE_CFLAGS="$CFLAGS"
7190 CFLAGS="$CFLAGS -belf"
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7192 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7193 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7194 $as_echo_n "(cached) " >&6
7195 else
7196 ac_ext=c
7197 ac_cpp='$CPP $CPPFLAGS'
7198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7201
7202 if test x$gcc_no_link = xyes; then
7203 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7204 fi
7205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7206 /* end confdefs.h. */
7207
7208 int
7209 main ()
7210 {
7211
7212 ;
7213 return 0;
7214 }
7215 _ACEOF
7216 if ac_fn_c_try_link "$LINENO"; then :
7217 lt_cv_cc_needs_belf=yes
7218 else
7219 lt_cv_cc_needs_belf=no
7220 fi
7221 rm -f core conftest.err conftest.$ac_objext \
7222 conftest$ac_exeext conftest.$ac_ext
7223 ac_ext=c
7224 ac_cpp='$CPP $CPPFLAGS'
7225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7228
7229 fi
7230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7231 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7232 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7233 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7234 CFLAGS="$SAVE_CFLAGS"
7235 fi
7236 ;;
7237 sparc*-*solaris*)
7238 # Find out which ABI we are using.
7239 echo 'int i;' > conftest.$ac_ext
7240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7241 (eval $ac_compile) 2>&5
7242 ac_status=$?
7243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7244 test $ac_status = 0; }; then
7245 case `/usr/bin/file conftest.o` in
7246 *64-bit*)
7247 case $lt_cv_prog_gnu_ld in
7248 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7249 *)
7250 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7251 LD="${LD-ld} -64"
7252 fi
7253 ;;
7254 esac
7255 ;;
7256 esac
7257 fi
7258 rm -rf conftest*
7259 ;;
7260 esac
7261
7262 need_locks="$enable_libtool_lock"
7263
7264
7265 case $host_os in
7266 rhapsody* | darwin*)
7267 if test -n "$ac_tool_prefix"; then
7268 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7269 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7271 $as_echo_n "checking for $ac_word... " >&6; }
7272 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7273 $as_echo_n "(cached) " >&6
7274 else
7275 if test -n "$DSYMUTIL"; then
7276 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7277 else
7278 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7279 for as_dir in $PATH
7280 do
7281 IFS=$as_save_IFS
7282 test -z "$as_dir" && as_dir=.
7283 for ac_exec_ext in '' $ac_executable_extensions; do
7284 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7285 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7286 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7287 break 2
7288 fi
7289 done
7290 done
7291 IFS=$as_save_IFS
7292
7293 fi
7294 fi
7295 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7296 if test -n "$DSYMUTIL"; then
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7298 $as_echo "$DSYMUTIL" >&6; }
7299 else
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7301 $as_echo "no" >&6; }
7302 fi
7303
7304
7305 fi
7306 if test -z "$ac_cv_prog_DSYMUTIL"; then
7307 ac_ct_DSYMUTIL=$DSYMUTIL
7308 # Extract the first word of "dsymutil", so it can be a program name with args.
7309 set dummy dsymutil; ac_word=$2
7310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7311 $as_echo_n "checking for $ac_word... " >&6; }
7312 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7313 $as_echo_n "(cached) " >&6
7314 else
7315 if test -n "$ac_ct_DSYMUTIL"; then
7316 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7317 else
7318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7319 for as_dir in $PATH
7320 do
7321 IFS=$as_save_IFS
7322 test -z "$as_dir" && as_dir=.
7323 for ac_exec_ext in '' $ac_executable_extensions; do
7324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7325 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7327 break 2
7328 fi
7329 done
7330 done
7331 IFS=$as_save_IFS
7332
7333 fi
7334 fi
7335 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7336 if test -n "$ac_ct_DSYMUTIL"; then
7337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7338 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7339 else
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7341 $as_echo "no" >&6; }
7342 fi
7343
7344 if test "x$ac_ct_DSYMUTIL" = x; then
7345 DSYMUTIL=":"
7346 else
7347 case $cross_compiling:$ac_tool_warned in
7348 yes:)
7349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7351 ac_tool_warned=yes ;;
7352 esac
7353 DSYMUTIL=$ac_ct_DSYMUTIL
7354 fi
7355 else
7356 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7357 fi
7358
7359 if test -n "$ac_tool_prefix"; then
7360 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7361 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7363 $as_echo_n "checking for $ac_word... " >&6; }
7364 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7365 $as_echo_n "(cached) " >&6
7366 else
7367 if test -n "$NMEDIT"; then
7368 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7369 else
7370 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7371 for as_dir in $PATH
7372 do
7373 IFS=$as_save_IFS
7374 test -z "$as_dir" && as_dir=.
7375 for ac_exec_ext in '' $ac_executable_extensions; do
7376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7377 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7378 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7379 break 2
7380 fi
7381 done
7382 done
7383 IFS=$as_save_IFS
7384
7385 fi
7386 fi
7387 NMEDIT=$ac_cv_prog_NMEDIT
7388 if test -n "$NMEDIT"; then
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7390 $as_echo "$NMEDIT" >&6; }
7391 else
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7393 $as_echo "no" >&6; }
7394 fi
7395
7396
7397 fi
7398 if test -z "$ac_cv_prog_NMEDIT"; then
7399 ac_ct_NMEDIT=$NMEDIT
7400 # Extract the first word of "nmedit", so it can be a program name with args.
7401 set dummy nmedit; ac_word=$2
7402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7403 $as_echo_n "checking for $ac_word... " >&6; }
7404 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7405 $as_echo_n "(cached) " >&6
7406 else
7407 if test -n "$ac_ct_NMEDIT"; then
7408 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7409 else
7410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7411 for as_dir in $PATH
7412 do
7413 IFS=$as_save_IFS
7414 test -z "$as_dir" && as_dir=.
7415 for ac_exec_ext in '' $ac_executable_extensions; do
7416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7417 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7418 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7419 break 2
7420 fi
7421 done
7422 done
7423 IFS=$as_save_IFS
7424
7425 fi
7426 fi
7427 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7428 if test -n "$ac_ct_NMEDIT"; then
7429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7430 $as_echo "$ac_ct_NMEDIT" >&6; }
7431 else
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7433 $as_echo "no" >&6; }
7434 fi
7435
7436 if test "x$ac_ct_NMEDIT" = x; then
7437 NMEDIT=":"
7438 else
7439 case $cross_compiling:$ac_tool_warned in
7440 yes:)
7441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7442 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7443 ac_tool_warned=yes ;;
7444 esac
7445 NMEDIT=$ac_ct_NMEDIT
7446 fi
7447 else
7448 NMEDIT="$ac_cv_prog_NMEDIT"
7449 fi
7450
7451 if test -n "$ac_tool_prefix"; then
7452 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7453 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7455 $as_echo_n "checking for $ac_word... " >&6; }
7456 if test "${ac_cv_prog_LIPO+set}" = set; then :
7457 $as_echo_n "(cached) " >&6
7458 else
7459 if test -n "$LIPO"; then
7460 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7461 else
7462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7463 for as_dir in $PATH
7464 do
7465 IFS=$as_save_IFS
7466 test -z "$as_dir" && as_dir=.
7467 for ac_exec_ext in '' $ac_executable_extensions; do
7468 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7469 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7470 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7471 break 2
7472 fi
7473 done
7474 done
7475 IFS=$as_save_IFS
7476
7477 fi
7478 fi
7479 LIPO=$ac_cv_prog_LIPO
7480 if test -n "$LIPO"; then
7481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7482 $as_echo "$LIPO" >&6; }
7483 else
7484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7485 $as_echo "no" >&6; }
7486 fi
7487
7488
7489 fi
7490 if test -z "$ac_cv_prog_LIPO"; then
7491 ac_ct_LIPO=$LIPO
7492 # Extract the first word of "lipo", so it can be a program name with args.
7493 set dummy lipo; ac_word=$2
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7495 $as_echo_n "checking for $ac_word... " >&6; }
7496 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7497 $as_echo_n "(cached) " >&6
7498 else
7499 if test -n "$ac_ct_LIPO"; then
7500 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7501 else
7502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7503 for as_dir in $PATH
7504 do
7505 IFS=$as_save_IFS
7506 test -z "$as_dir" && as_dir=.
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7509 ac_cv_prog_ac_ct_LIPO="lipo"
7510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7511 break 2
7512 fi
7513 done
7514 done
7515 IFS=$as_save_IFS
7516
7517 fi
7518 fi
7519 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7520 if test -n "$ac_ct_LIPO"; then
7521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7522 $as_echo "$ac_ct_LIPO" >&6; }
7523 else
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7525 $as_echo "no" >&6; }
7526 fi
7527
7528 if test "x$ac_ct_LIPO" = x; then
7529 LIPO=":"
7530 else
7531 case $cross_compiling:$ac_tool_warned in
7532 yes:)
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7534 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7535 ac_tool_warned=yes ;;
7536 esac
7537 LIPO=$ac_ct_LIPO
7538 fi
7539 else
7540 LIPO="$ac_cv_prog_LIPO"
7541 fi
7542
7543 if test -n "$ac_tool_prefix"; then
7544 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7545 set dummy ${ac_tool_prefix}otool; ac_word=$2
7546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7547 $as_echo_n "checking for $ac_word... " >&6; }
7548 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7549 $as_echo_n "(cached) " >&6
7550 else
7551 if test -n "$OTOOL"; then
7552 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7553 else
7554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7555 for as_dir in $PATH
7556 do
7557 IFS=$as_save_IFS
7558 test -z "$as_dir" && as_dir=.
7559 for ac_exec_ext in '' $ac_executable_extensions; do
7560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7561 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7562 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7563 break 2
7564 fi
7565 done
7566 done
7567 IFS=$as_save_IFS
7568
7569 fi
7570 fi
7571 OTOOL=$ac_cv_prog_OTOOL
7572 if test -n "$OTOOL"; then
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7574 $as_echo "$OTOOL" >&6; }
7575 else
7576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7577 $as_echo "no" >&6; }
7578 fi
7579
7580
7581 fi
7582 if test -z "$ac_cv_prog_OTOOL"; then
7583 ac_ct_OTOOL=$OTOOL
7584 # Extract the first word of "otool", so it can be a program name with args.
7585 set dummy otool; ac_word=$2
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7587 $as_echo_n "checking for $ac_word... " >&6; }
7588 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7589 $as_echo_n "(cached) " >&6
7590 else
7591 if test -n "$ac_ct_OTOOL"; then
7592 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7593 else
7594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7595 for as_dir in $PATH
7596 do
7597 IFS=$as_save_IFS
7598 test -z "$as_dir" && as_dir=.
7599 for ac_exec_ext in '' $ac_executable_extensions; do
7600 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7601 ac_cv_prog_ac_ct_OTOOL="otool"
7602 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7603 break 2
7604 fi
7605 done
7606 done
7607 IFS=$as_save_IFS
7608
7609 fi
7610 fi
7611 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7612 if test -n "$ac_ct_OTOOL"; then
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7614 $as_echo "$ac_ct_OTOOL" >&6; }
7615 else
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7617 $as_echo "no" >&6; }
7618 fi
7619
7620 if test "x$ac_ct_OTOOL" = x; then
7621 OTOOL=":"
7622 else
7623 case $cross_compiling:$ac_tool_warned in
7624 yes:)
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7626 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7627 ac_tool_warned=yes ;;
7628 esac
7629 OTOOL=$ac_ct_OTOOL
7630 fi
7631 else
7632 OTOOL="$ac_cv_prog_OTOOL"
7633 fi
7634
7635 if test -n "$ac_tool_prefix"; then
7636 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7637 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7639 $as_echo_n "checking for $ac_word... " >&6; }
7640 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7641 $as_echo_n "(cached) " >&6
7642 else
7643 if test -n "$OTOOL64"; then
7644 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7645 else
7646 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7647 for as_dir in $PATH
7648 do
7649 IFS=$as_save_IFS
7650 test -z "$as_dir" && as_dir=.
7651 for ac_exec_ext in '' $ac_executable_extensions; do
7652 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7653 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7654 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7655 break 2
7656 fi
7657 done
7658 done
7659 IFS=$as_save_IFS
7660
7661 fi
7662 fi
7663 OTOOL64=$ac_cv_prog_OTOOL64
7664 if test -n "$OTOOL64"; then
7665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7666 $as_echo "$OTOOL64" >&6; }
7667 else
7668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7669 $as_echo "no" >&6; }
7670 fi
7671
7672
7673 fi
7674 if test -z "$ac_cv_prog_OTOOL64"; then
7675 ac_ct_OTOOL64=$OTOOL64
7676 # Extract the first word of "otool64", so it can be a program name with args.
7677 set dummy otool64; ac_word=$2
7678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7679 $as_echo_n "checking for $ac_word... " >&6; }
7680 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7681 $as_echo_n "(cached) " >&6
7682 else
7683 if test -n "$ac_ct_OTOOL64"; then
7684 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7685 else
7686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7687 for as_dir in $PATH
7688 do
7689 IFS=$as_save_IFS
7690 test -z "$as_dir" && as_dir=.
7691 for ac_exec_ext in '' $ac_executable_extensions; do
7692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7693 ac_cv_prog_ac_ct_OTOOL64="otool64"
7694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7695 break 2
7696 fi
7697 done
7698 done
7699 IFS=$as_save_IFS
7700
7701 fi
7702 fi
7703 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7704 if test -n "$ac_ct_OTOOL64"; then
7705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7706 $as_echo "$ac_ct_OTOOL64" >&6; }
7707 else
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7709 $as_echo "no" >&6; }
7710 fi
7711
7712 if test "x$ac_ct_OTOOL64" = x; then
7713 OTOOL64=":"
7714 else
7715 case $cross_compiling:$ac_tool_warned in
7716 yes:)
7717 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7718 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7719 ac_tool_warned=yes ;;
7720 esac
7721 OTOOL64=$ac_ct_OTOOL64
7722 fi
7723 else
7724 OTOOL64="$ac_cv_prog_OTOOL64"
7725 fi
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7754 $as_echo_n "checking for -single_module linker flag... " >&6; }
7755 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7756 $as_echo_n "(cached) " >&6
7757 else
7758 lt_cv_apple_cc_single_mod=no
7759 if test -z "${LT_MULTI_MODULE}"; then
7760 # By default we will add the -single_module flag. You can override
7761 # by either setting the environment variable LT_MULTI_MODULE
7762 # non-empty at configure time, or by adding -multi_module to the
7763 # link flags.
7764 rm -rf libconftest.dylib*
7765 echo "int foo(void){return 1;}" > conftest.c
7766 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7767 -dynamiclib -Wl,-single_module conftest.c" >&5
7768 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7769 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7770 _lt_result=$?
7771 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7772 lt_cv_apple_cc_single_mod=yes
7773 else
7774 cat conftest.err >&5
7775 fi
7776 rm -rf libconftest.dylib*
7777 rm -f conftest.*
7778 fi
7779 fi
7780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7781 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7783 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7784 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7785 $as_echo_n "(cached) " >&6
7786 else
7787 lt_cv_ld_exported_symbols_list=no
7788 save_LDFLAGS=$LDFLAGS
7789 echo "_main" > conftest.sym
7790 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7791 if test x$gcc_no_link = xyes; then
7792 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7793 fi
7794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7795 /* end confdefs.h. */
7796
7797 int
7798 main ()
7799 {
7800
7801 ;
7802 return 0;
7803 }
7804 _ACEOF
7805 if ac_fn_c_try_link "$LINENO"; then :
7806 lt_cv_ld_exported_symbols_list=yes
7807 else
7808 lt_cv_ld_exported_symbols_list=no
7809 fi
7810 rm -f core conftest.err conftest.$ac_objext \
7811 conftest$ac_exeext conftest.$ac_ext
7812 LDFLAGS="$save_LDFLAGS"
7813
7814 fi
7815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7816 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7818 $as_echo_n "checking for -force_load linker flag... " >&6; }
7819 if test "${lt_cv_ld_force_load+set}" = set; then :
7820 $as_echo_n "(cached) " >&6
7821 else
7822 lt_cv_ld_force_load=no
7823 cat > conftest.c << _LT_EOF
7824 int forced_loaded() { return 2;}
7825 _LT_EOF
7826 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7827 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7828 echo "$AR cru libconftest.a conftest.o" >&5
7829 $AR cru libconftest.a conftest.o 2>&5
7830 cat > conftest.c << _LT_EOF
7831 int main() { return 0;}
7832 _LT_EOF
7833 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7834 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7835 _lt_result=$?
7836 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7837 lt_cv_ld_force_load=yes
7838 else
7839 cat conftest.err >&5
7840 fi
7841 rm -f conftest.err libconftest.a conftest conftest.c
7842 rm -rf conftest.dSYM
7843
7844 fi
7845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7846 $as_echo "$lt_cv_ld_force_load" >&6; }
7847 case $host_os in
7848 rhapsody* | darwin1.[012])
7849 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7850 darwin1.*)
7851 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7852 darwin*) # darwin 5.x on
7853 # if running on 10.5 or later, the deployment target defaults
7854 # to the OS version, if on x86, and 10.4, the deployment
7855 # target defaults to 10.4. Don't you love it?
7856 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7857 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7858 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7859 10.[012]*)
7860 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7861 10.*)
7862 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7863 esac
7864 ;;
7865 esac
7866 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7867 _lt_dar_single_mod='$single_module'
7868 fi
7869 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7870 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7871 else
7872 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7873 fi
7874 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7875 _lt_dsymutil='~$DSYMUTIL $lib || :'
7876 else
7877 _lt_dsymutil=
7878 fi
7879 ;;
7880 esac
7881
7882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7883 $as_echo_n "checking for ANSI C header files... " >&6; }
7884 if test "${ac_cv_header_stdc+set}" = set; then :
7885 $as_echo_n "(cached) " >&6
7886 else
7887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7888 /* end confdefs.h. */
7889 #include <stdlib.h>
7890 #include <stdarg.h>
7891 #include <string.h>
7892 #include <float.h>
7893
7894 int
7895 main ()
7896 {
7897
7898 ;
7899 return 0;
7900 }
7901 _ACEOF
7902 if ac_fn_c_try_compile "$LINENO"; then :
7903 ac_cv_header_stdc=yes
7904 else
7905 ac_cv_header_stdc=no
7906 fi
7907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7908
7909 if test $ac_cv_header_stdc = yes; then
7910 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7912 /* end confdefs.h. */
7913 #include <string.h>
7914
7915 _ACEOF
7916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7917 $EGREP "memchr" >/dev/null 2>&1; then :
7918
7919 else
7920 ac_cv_header_stdc=no
7921 fi
7922 rm -f conftest*
7923
7924 fi
7925
7926 if test $ac_cv_header_stdc = yes; then
7927 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7929 /* end confdefs.h. */
7930 #include <stdlib.h>
7931
7932 _ACEOF
7933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7934 $EGREP "free" >/dev/null 2>&1; then :
7935
7936 else
7937 ac_cv_header_stdc=no
7938 fi
7939 rm -f conftest*
7940
7941 fi
7942
7943 if test $ac_cv_header_stdc = yes; then
7944 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7945 if test "$cross_compiling" = yes; then :
7946 :
7947 else
7948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7949 /* end confdefs.h. */
7950 #include <ctype.h>
7951 #include <stdlib.h>
7952 #if ((' ' & 0x0FF) == 0x020)
7953 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7954 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7955 #else
7956 # define ISLOWER(c) \
7957 (('a' <= (c) && (c) <= 'i') \
7958 || ('j' <= (c) && (c) <= 'r') \
7959 || ('s' <= (c) && (c) <= 'z'))
7960 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7961 #endif
7962
7963 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7964 int
7965 main ()
7966 {
7967 int i;
7968 for (i = 0; i < 256; i++)
7969 if (XOR (islower (i), ISLOWER (i))
7970 || toupper (i) != TOUPPER (i))
7971 return 2;
7972 return 0;
7973 }
7974 _ACEOF
7975 if ac_fn_c_try_run "$LINENO"; then :
7976
7977 else
7978 ac_cv_header_stdc=no
7979 fi
7980 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7981 conftest.$ac_objext conftest.beam conftest.$ac_ext
7982 fi
7983
7984 fi
7985 fi
7986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7987 $as_echo "$ac_cv_header_stdc" >&6; }
7988 if test $ac_cv_header_stdc = yes; then
7989
7990 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7991
7992 fi
7993
7994 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7995 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7996 inttypes.h stdint.h unistd.h
7997 do :
7998 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7999 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8000 "
8001 eval as_val=\$$as_ac_Header
8002 if test "x$as_val" = x""yes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8005 _ACEOF
8006
8007 fi
8008
8009 done
8010
8011
8012 for ac_header in dlfcn.h
8013 do :
8014 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8015 "
8016 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8017 cat >>confdefs.h <<_ACEOF
8018 #define HAVE_DLFCN_H 1
8019 _ACEOF
8020
8021 fi
8022
8023 done
8024
8025
8026
8027
8028
8029
8030 # Set options
8031
8032
8033
8034
8035 enable_win32_dll=no
8036
8037
8038 # Check whether --enable-shared was given.
8039 if test "${enable_shared+set}" = set; then :
8040 enableval=$enable_shared; p=${PACKAGE-default}
8041 case $enableval in
8042 yes) enable_shared=yes ;;
8043 no) enable_shared=no ;;
8044 *)
8045 enable_shared=no
8046 # Look at the argument we got. We use all the common list separators.
8047 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8048 for pkg in $enableval; do
8049 IFS="$lt_save_ifs"
8050 if test "X$pkg" = "X$p"; then
8051 enable_shared=yes
8052 fi
8053 done
8054 IFS="$lt_save_ifs"
8055 ;;
8056 esac
8057 else
8058 enable_shared=yes
8059 fi
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069 # Check whether --enable-static was given.
8070 if test "${enable_static+set}" = set; then :
8071 enableval=$enable_static; p=${PACKAGE-default}
8072 case $enableval in
8073 yes) enable_static=yes ;;
8074 no) enable_static=no ;;
8075 *)
8076 enable_static=no
8077 # Look at the argument we got. We use all the common list separators.
8078 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8079 for pkg in $enableval; do
8080 IFS="$lt_save_ifs"
8081 if test "X$pkg" = "X$p"; then
8082 enable_static=yes
8083 fi
8084 done
8085 IFS="$lt_save_ifs"
8086 ;;
8087 esac
8088 else
8089 enable_static=yes
8090 fi
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101 # Check whether --with-pic was given.
8102 if test "${with_pic+set}" = set; then :
8103 withval=$with_pic; pic_mode="$withval"
8104 else
8105 pic_mode=default
8106 fi
8107
8108
8109 test -z "$pic_mode" && pic_mode=default
8110
8111
8112
8113
8114
8115
8116
8117 # Check whether --enable-fast-install was given.
8118 if test "${enable_fast_install+set}" = set; then :
8119 enableval=$enable_fast_install; p=${PACKAGE-default}
8120 case $enableval in
8121 yes) enable_fast_install=yes ;;
8122 no) enable_fast_install=no ;;
8123 *)
8124 enable_fast_install=no
8125 # Look at the argument we got. We use all the common list separators.
8126 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8127 for pkg in $enableval; do
8128 IFS="$lt_save_ifs"
8129 if test "X$pkg" = "X$p"; then
8130 enable_fast_install=yes
8131 fi
8132 done
8133 IFS="$lt_save_ifs"
8134 ;;
8135 esac
8136 else
8137 enable_fast_install=yes
8138 fi
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150 # This can be used to rebuild libtool when needed
8151 LIBTOOL_DEPS="$ltmain"
8152
8153 # Always use our own libtool.
8154 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181 test -z "$LN_S" && LN_S="ln -s"
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196 if test -n "${ZSH_VERSION+set}" ; then
8197 setopt NO_GLOB_SUBST
8198 fi
8199
8200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8201 $as_echo_n "checking for objdir... " >&6; }
8202 if test "${lt_cv_objdir+set}" = set; then :
8203 $as_echo_n "(cached) " >&6
8204 else
8205 rm -f .libs 2>/dev/null
8206 mkdir .libs 2>/dev/null
8207 if test -d .libs; then
8208 lt_cv_objdir=.libs
8209 else
8210 # MS-DOS does not allow filenames that begin with a dot.
8211 lt_cv_objdir=_libs
8212 fi
8213 rmdir .libs 2>/dev/null
8214 fi
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8216 $as_echo "$lt_cv_objdir" >&6; }
8217 objdir=$lt_cv_objdir
8218
8219
8220
8221
8222
8223 cat >>confdefs.h <<_ACEOF
8224 #define LT_OBJDIR "$lt_cv_objdir/"
8225 _ACEOF
8226
8227
8228
8229
8230 case $host_os in
8231 aix3*)
8232 # AIX sometimes has problems with the GCC collect2 program. For some
8233 # reason, if we set the COLLECT_NAMES environment variable, the problems
8234 # vanish in a puff of smoke.
8235 if test "X${COLLECT_NAMES+set}" != Xset; then
8236 COLLECT_NAMES=
8237 export COLLECT_NAMES
8238 fi
8239 ;;
8240 esac
8241
8242 # Global variables:
8243 ofile=libtool
8244 can_build_shared=yes
8245
8246 # All known linkers require a `.a' archive for static linking (except MSVC,
8247 # which needs '.lib').
8248 libext=a
8249
8250 with_gnu_ld="$lt_cv_prog_gnu_ld"
8251
8252 old_CC="$CC"
8253 old_CFLAGS="$CFLAGS"
8254
8255 # Set sane defaults for various variables
8256 test -z "$CC" && CC=cc
8257 test -z "$LTCC" && LTCC=$CC
8258 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8259 test -z "$LD" && LD=ld
8260 test -z "$ac_objext" && ac_objext=o
8261
8262 for cc_temp in $compiler""; do
8263 case $cc_temp in
8264 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8265 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8266 \-*) ;;
8267 *) break;;
8268 esac
8269 done
8270 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8271
8272
8273 # Only perform the check for file, if the check method requires it
8274 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8275 case $deplibs_check_method in
8276 file_magic*)
8277 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8279 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8280 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8281 $as_echo_n "(cached) " >&6
8282 else
8283 case $MAGIC_CMD in
8284 [\\/*] | ?:[\\/]*)
8285 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8286 ;;
8287 *)
8288 lt_save_MAGIC_CMD="$MAGIC_CMD"
8289 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8290 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8291 for ac_dir in $ac_dummy; do
8292 IFS="$lt_save_ifs"
8293 test -z "$ac_dir" && ac_dir=.
8294 if test -f $ac_dir/${ac_tool_prefix}file; then
8295 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8296 if test -n "$file_magic_test_file"; then
8297 case $deplibs_check_method in
8298 "file_magic "*)
8299 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8300 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8301 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8302 $EGREP "$file_magic_regex" > /dev/null; then
8303 :
8304 else
8305 cat <<_LT_EOF 1>&2
8306
8307 *** Warning: the command libtool uses to detect shared libraries,
8308 *** $file_magic_cmd, produces output that libtool cannot recognize.
8309 *** The result is that libtool may fail to recognize shared libraries
8310 *** as such. This will affect the creation of libtool libraries that
8311 *** depend on shared libraries, but programs linked with such libtool
8312 *** libraries will work regardless of this problem. Nevertheless, you
8313 *** may want to report the problem to your system manager and/or to
8314 *** bug-libtool@gnu.org
8315
8316 _LT_EOF
8317 fi ;;
8318 esac
8319 fi
8320 break
8321 fi
8322 done
8323 IFS="$lt_save_ifs"
8324 MAGIC_CMD="$lt_save_MAGIC_CMD"
8325 ;;
8326 esac
8327 fi
8328
8329 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8330 if test -n "$MAGIC_CMD"; then
8331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8332 $as_echo "$MAGIC_CMD" >&6; }
8333 else
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8335 $as_echo "no" >&6; }
8336 fi
8337
8338
8339
8340
8341
8342 if test -z "$lt_cv_path_MAGIC_CMD"; then
8343 if test -n "$ac_tool_prefix"; then
8344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8345 $as_echo_n "checking for file... " >&6; }
8346 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8347 $as_echo_n "(cached) " >&6
8348 else
8349 case $MAGIC_CMD in
8350 [\\/*] | ?:[\\/]*)
8351 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8352 ;;
8353 *)
8354 lt_save_MAGIC_CMD="$MAGIC_CMD"
8355 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8356 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8357 for ac_dir in $ac_dummy; do
8358 IFS="$lt_save_ifs"
8359 test -z "$ac_dir" && ac_dir=.
8360 if test -f $ac_dir/file; then
8361 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8362 if test -n "$file_magic_test_file"; then
8363 case $deplibs_check_method in
8364 "file_magic "*)
8365 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8366 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8367 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8368 $EGREP "$file_magic_regex" > /dev/null; then
8369 :
8370 else
8371 cat <<_LT_EOF 1>&2
8372
8373 *** Warning: the command libtool uses to detect shared libraries,
8374 *** $file_magic_cmd, produces output that libtool cannot recognize.
8375 *** The result is that libtool may fail to recognize shared libraries
8376 *** as such. This will affect the creation of libtool libraries that
8377 *** depend on shared libraries, but programs linked with such libtool
8378 *** libraries will work regardless of this problem. Nevertheless, you
8379 *** may want to report the problem to your system manager and/or to
8380 *** bug-libtool@gnu.org
8381
8382 _LT_EOF
8383 fi ;;
8384 esac
8385 fi
8386 break
8387 fi
8388 done
8389 IFS="$lt_save_ifs"
8390 MAGIC_CMD="$lt_save_MAGIC_CMD"
8391 ;;
8392 esac
8393 fi
8394
8395 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8396 if test -n "$MAGIC_CMD"; then
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8398 $as_echo "$MAGIC_CMD" >&6; }
8399 else
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8401 $as_echo "no" >&6; }
8402 fi
8403
8404
8405 else
8406 MAGIC_CMD=:
8407 fi
8408 fi
8409
8410 fi
8411 ;;
8412 esac
8413
8414 # Use C for the default configuration in the libtool script
8415
8416 lt_save_CC="$CC"
8417 ac_ext=c
8418 ac_cpp='$CPP $CPPFLAGS'
8419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8422
8423
8424 # Source file extension for C test sources.
8425 ac_ext=c
8426
8427 # Object file extension for compiled C test sources.
8428 objext=o
8429 objext=$objext
8430
8431 # Code to be used in simple compile tests
8432 lt_simple_compile_test_code="int some_variable = 0;"
8433
8434 # Code to be used in simple link tests
8435 lt_simple_link_test_code='int main(){return(0);}'
8436
8437
8438
8439
8440
8441
8442
8443 # If no C compiler was specified, use CC.
8444 LTCC=${LTCC-"$CC"}
8445
8446 # If no C compiler flags were specified, use CFLAGS.
8447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8448
8449 # Allow CC to be a program name with arguments.
8450 compiler=$CC
8451
8452 # Save the default compiler, since it gets overwritten when the other
8453 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8454 compiler_DEFAULT=$CC
8455
8456 # save warnings/boilerplate of simple test code
8457 ac_outfile=conftest.$ac_objext
8458 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8459 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8460 _lt_compiler_boilerplate=`cat conftest.err`
8461 $RM conftest*
8462
8463 ac_outfile=conftest.$ac_objext
8464 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8465 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8466 _lt_linker_boilerplate=`cat conftest.err`
8467 $RM -r conftest*
8468
8469
8470 ## CAVEAT EMPTOR:
8471 ## There is no encapsulation within the following macros, do not change
8472 ## the running order or otherwise move them around unless you know exactly
8473 ## what you are doing...
8474 if test -n "$compiler"; then
8475
8476 lt_prog_compiler_no_builtin_flag=
8477
8478 if test "$GCC" = yes; then
8479 case $cc_basename in
8480 nvcc*)
8481 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8482 *)
8483 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8484 esac
8485
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8487 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8488 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8489 $as_echo_n "(cached) " >&6
8490 else
8491 lt_cv_prog_compiler_rtti_exceptions=no
8492 ac_outfile=conftest.$ac_objext
8493 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8494 lt_compiler_flag="-fno-rtti -fno-exceptions"
8495 # Insert the option either (1) after the last *FLAGS variable, or
8496 # (2) before a word containing "conftest.", or (3) at the end.
8497 # Note that $ac_compile itself does not contain backslashes and begins
8498 # with a dollar sign (not a hyphen), so the echo should work correctly.
8499 # The option is referenced via a variable to avoid confusing sed.
8500 lt_compile=`echo "$ac_compile" | $SED \
8501 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8502 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8503 -e 's:$: $lt_compiler_flag:'`
8504 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8505 (eval "$lt_compile" 2>conftest.err)
8506 ac_status=$?
8507 cat conftest.err >&5
8508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8509 if (exit $ac_status) && test -s "$ac_outfile"; then
8510 # The compiler can only warn and ignore the option if not recognized
8511 # So say no if there are warnings other than the usual output.
8512 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8513 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8514 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8515 lt_cv_prog_compiler_rtti_exceptions=yes
8516 fi
8517 fi
8518 $RM conftest*
8519
8520 fi
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8522 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8523
8524 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8525 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8526 else
8527 :
8528 fi
8529
8530 fi
8531
8532
8533
8534
8535
8536
8537 lt_prog_compiler_wl=
8538 lt_prog_compiler_pic=
8539 lt_prog_compiler_static=
8540
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8542 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8543
8544 if test "$GCC" = yes; then
8545 lt_prog_compiler_wl='-Wl,'
8546 lt_prog_compiler_static='-static'
8547
8548 case $host_os in
8549 aix*)
8550 # All AIX code is PIC.
8551 if test "$host_cpu" = ia64; then
8552 # AIX 5 now supports IA64 processor
8553 lt_prog_compiler_static='-Bstatic'
8554 fi
8555 lt_prog_compiler_pic='-fPIC'
8556 ;;
8557
8558 amigaos*)
8559 case $host_cpu in
8560 powerpc)
8561 # see comment about AmigaOS4 .so support
8562 lt_prog_compiler_pic='-fPIC'
8563 ;;
8564 m68k)
8565 # FIXME: we need at least 68020 code to build shared libraries, but
8566 # adding the `-m68020' flag to GCC prevents building anything better,
8567 # like `-m68040'.
8568 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8569 ;;
8570 esac
8571 ;;
8572
8573 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8574 # PIC is the default for these OSes.
8575 ;;
8576
8577 mingw* | cygwin* | pw32* | os2* | cegcc*)
8578 # This hack is so that the source file can tell whether it is being
8579 # built for inclusion in a dll (and should export symbols for example).
8580 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8581 # (--disable-auto-import) libraries
8582 lt_prog_compiler_pic='-DDLL_EXPORT'
8583 ;;
8584
8585 darwin* | rhapsody*)
8586 # PIC is the default on this platform
8587 # Common symbols not allowed in MH_DYLIB files
8588 lt_prog_compiler_pic='-fno-common'
8589 ;;
8590
8591 haiku*)
8592 # PIC is the default for Haiku.
8593 # The "-static" flag exists, but is broken.
8594 lt_prog_compiler_static=
8595 ;;
8596
8597 hpux*)
8598 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8599 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8600 # sets the default TLS model and affects inlining.
8601 case $host_cpu in
8602 hppa*64*)
8603 # +Z the default
8604 ;;
8605 *)
8606 lt_prog_compiler_pic='-fPIC'
8607 ;;
8608 esac
8609 ;;
8610
8611 interix[3-9]*)
8612 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8613 # Instead, we relocate shared libraries at runtime.
8614 ;;
8615
8616 msdosdjgpp*)
8617 # Just because we use GCC doesn't mean we suddenly get shared libraries
8618 # on systems that don't support them.
8619 lt_prog_compiler_can_build_shared=no
8620 enable_shared=no
8621 ;;
8622
8623 *nto* | *qnx*)
8624 # QNX uses GNU C++, but need to define -shared option too, otherwise
8625 # it will coredump.
8626 lt_prog_compiler_pic='-fPIC -shared'
8627 ;;
8628
8629 sysv4*MP*)
8630 if test -d /usr/nec; then
8631 lt_prog_compiler_pic=-Kconform_pic
8632 fi
8633 ;;
8634
8635 *)
8636 lt_prog_compiler_pic='-fPIC'
8637 ;;
8638 esac
8639
8640 case $cc_basename in
8641 nvcc*) # Cuda Compiler Driver 2.2
8642 lt_prog_compiler_wl='-Xlinker '
8643 lt_prog_compiler_pic='-Xcompiler -fPIC'
8644 ;;
8645 esac
8646 else
8647 # PORTME Check for flag to pass linker flags through the system compiler.
8648 case $host_os in
8649 aix*)
8650 lt_prog_compiler_wl='-Wl,'
8651 if test "$host_cpu" = ia64; then
8652 # AIX 5 now supports IA64 processor
8653 lt_prog_compiler_static='-Bstatic'
8654 else
8655 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8656 fi
8657 ;;
8658
8659 mingw* | cygwin* | pw32* | os2* | cegcc*)
8660 # This hack is so that the source file can tell whether it is being
8661 # built for inclusion in a dll (and should export symbols for example).
8662 lt_prog_compiler_pic='-DDLL_EXPORT'
8663 ;;
8664
8665 hpux9* | hpux10* | hpux11*)
8666 lt_prog_compiler_wl='-Wl,'
8667 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8668 # not for PA HP-UX.
8669 case $host_cpu in
8670 hppa*64*|ia64*)
8671 # +Z the default
8672 ;;
8673 *)
8674 lt_prog_compiler_pic='+Z'
8675 ;;
8676 esac
8677 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8678 lt_prog_compiler_static='${wl}-a ${wl}archive'
8679 ;;
8680
8681 irix5* | irix6* | nonstopux*)
8682 lt_prog_compiler_wl='-Wl,'
8683 # PIC (with -KPIC) is the default.
8684 lt_prog_compiler_static='-non_shared'
8685 ;;
8686
8687 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8688 case $cc_basename in
8689 # old Intel for x86_64 which still supported -KPIC.
8690 ecc*)
8691 lt_prog_compiler_wl='-Wl,'
8692 lt_prog_compiler_pic='-KPIC'
8693 lt_prog_compiler_static='-static'
8694 ;;
8695 # icc used to be incompatible with GCC.
8696 # ICC 10 doesn't accept -KPIC any more.
8697 icc* | ifort*)
8698 lt_prog_compiler_wl='-Wl,'
8699 lt_prog_compiler_pic='-fPIC'
8700 lt_prog_compiler_static='-static'
8701 ;;
8702 # Lahey Fortran 8.1.
8703 lf95*)
8704 lt_prog_compiler_wl='-Wl,'
8705 lt_prog_compiler_pic='--shared'
8706 lt_prog_compiler_static='--static'
8707 ;;
8708 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8709 # Portland Group compilers (*not* the Pentium gcc compiler,
8710 # which looks to be a dead project)
8711 lt_prog_compiler_wl='-Wl,'
8712 lt_prog_compiler_pic='-fpic'
8713 lt_prog_compiler_static='-Bstatic'
8714 ;;
8715 ccc*)
8716 lt_prog_compiler_wl='-Wl,'
8717 # All Alpha code is PIC.
8718 lt_prog_compiler_static='-non_shared'
8719 ;;
8720 xl* | bgxl* | bgf* | mpixl*)
8721 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-qpic'
8724 lt_prog_compiler_static='-qstaticlink'
8725 ;;
8726 *)
8727 case `$CC -V 2>&1 | sed 5q` in
8728 *Sun\ F* | *Sun*Fortran*)
8729 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8730 lt_prog_compiler_pic='-KPIC'
8731 lt_prog_compiler_static='-Bstatic'
8732 lt_prog_compiler_wl=''
8733 ;;
8734 *Sun\ C*)
8735 # Sun C 5.9
8736 lt_prog_compiler_pic='-KPIC'
8737 lt_prog_compiler_static='-Bstatic'
8738 lt_prog_compiler_wl='-Wl,'
8739 ;;
8740 esac
8741 ;;
8742 esac
8743 ;;
8744
8745 newsos6)
8746 lt_prog_compiler_pic='-KPIC'
8747 lt_prog_compiler_static='-Bstatic'
8748 ;;
8749
8750 *nto* | *qnx*)
8751 # QNX uses GNU C++, but need to define -shared option too, otherwise
8752 # it will coredump.
8753 lt_prog_compiler_pic='-fPIC -shared'
8754 ;;
8755
8756 osf3* | osf4* | osf5*)
8757 lt_prog_compiler_wl='-Wl,'
8758 # All OSF/1 code is PIC.
8759 lt_prog_compiler_static='-non_shared'
8760 ;;
8761
8762 rdos*)
8763 lt_prog_compiler_static='-non_shared'
8764 ;;
8765
8766 solaris*)
8767 lt_prog_compiler_pic='-KPIC'
8768 lt_prog_compiler_static='-Bstatic'
8769 case $cc_basename in
8770 f77* | f90* | f95*)
8771 lt_prog_compiler_wl='-Qoption ld ';;
8772 *)
8773 lt_prog_compiler_wl='-Wl,';;
8774 esac
8775 ;;
8776
8777 sunos4*)
8778 lt_prog_compiler_wl='-Qoption ld '
8779 lt_prog_compiler_pic='-PIC'
8780 lt_prog_compiler_static='-Bstatic'
8781 ;;
8782
8783 sysv4 | sysv4.2uw2* | sysv4.3*)
8784 lt_prog_compiler_wl='-Wl,'
8785 lt_prog_compiler_pic='-KPIC'
8786 lt_prog_compiler_static='-Bstatic'
8787 ;;
8788
8789 sysv4*MP*)
8790 if test -d /usr/nec ;then
8791 lt_prog_compiler_pic='-Kconform_pic'
8792 lt_prog_compiler_static='-Bstatic'
8793 fi
8794 ;;
8795
8796 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8797 lt_prog_compiler_wl='-Wl,'
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8800 ;;
8801
8802 unicos*)
8803 lt_prog_compiler_wl='-Wl,'
8804 lt_prog_compiler_can_build_shared=no
8805 ;;
8806
8807 uts4*)
8808 lt_prog_compiler_pic='-pic'
8809 lt_prog_compiler_static='-Bstatic'
8810 ;;
8811
8812 *)
8813 lt_prog_compiler_can_build_shared=no
8814 ;;
8815 esac
8816 fi
8817
8818 case $host_os in
8819 # For platforms which do not support PIC, -DPIC is meaningless:
8820 *djgpp*)
8821 lt_prog_compiler_pic=
8822 ;;
8823 *)
8824 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8825 ;;
8826 esac
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8828 $as_echo "$lt_prog_compiler_pic" >&6; }
8829
8830
8831
8832
8833
8834
8835 #
8836 # Check to make sure the PIC flag actually works.
8837 #
8838 if test -n "$lt_prog_compiler_pic"; then
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8840 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8841 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8842 $as_echo_n "(cached) " >&6
8843 else
8844 lt_cv_prog_compiler_pic_works=no
8845 ac_outfile=conftest.$ac_objext
8846 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8847 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8848 # Insert the option either (1) after the last *FLAGS variable, or
8849 # (2) before a word containing "conftest.", or (3) at the end.
8850 # Note that $ac_compile itself does not contain backslashes and begins
8851 # with a dollar sign (not a hyphen), so the echo should work correctly.
8852 # The option is referenced via a variable to avoid confusing sed.
8853 lt_compile=`echo "$ac_compile" | $SED \
8854 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8855 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8856 -e 's:$: $lt_compiler_flag:'`
8857 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8858 (eval "$lt_compile" 2>conftest.err)
8859 ac_status=$?
8860 cat conftest.err >&5
8861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8862 if (exit $ac_status) && test -s "$ac_outfile"; then
8863 # The compiler can only warn and ignore the option if not recognized
8864 # So say no if there are warnings other than the usual output.
8865 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8866 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8867 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8868 lt_cv_prog_compiler_pic_works=yes
8869 fi
8870 fi
8871 $RM conftest*
8872
8873 fi
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8875 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8876
8877 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8878 case $lt_prog_compiler_pic in
8879 "" | " "*) ;;
8880 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8881 esac
8882 else
8883 lt_prog_compiler_pic=
8884 lt_prog_compiler_can_build_shared=no
8885 fi
8886
8887 fi
8888
8889
8890
8891
8892
8893
8894 #
8895 # Check to make sure the static flag actually works.
8896 #
8897 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8899 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8900 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8901 $as_echo_n "(cached) " >&6
8902 else
8903 lt_cv_prog_compiler_static_works=no
8904 save_LDFLAGS="$LDFLAGS"
8905 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8906 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8907 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8908 # The linker can only warn and ignore the option if not recognized
8909 # So say no if there are warnings
8910 if test -s conftest.err; then
8911 # Append any errors to the config.log.
8912 cat conftest.err 1>&5
8913 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8914 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8915 if diff conftest.exp conftest.er2 >/dev/null; then
8916 lt_cv_prog_compiler_static_works=yes
8917 fi
8918 else
8919 lt_cv_prog_compiler_static_works=yes
8920 fi
8921 fi
8922 $RM -r conftest*
8923 LDFLAGS="$save_LDFLAGS"
8924
8925 fi
8926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8927 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8928
8929 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8930 :
8931 else
8932 lt_prog_compiler_static=
8933 fi
8934
8935
8936
8937
8938
8939
8940
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8942 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8943 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8944 $as_echo_n "(cached) " >&6
8945 else
8946 lt_cv_prog_compiler_c_o=no
8947 $RM -r conftest 2>/dev/null
8948 mkdir conftest
8949 cd conftest
8950 mkdir out
8951 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8952
8953 lt_compiler_flag="-o out/conftest2.$ac_objext"
8954 # Insert the option either (1) after the last *FLAGS variable, or
8955 # (2) before a word containing "conftest.", or (3) at the end.
8956 # Note that $ac_compile itself does not contain backslashes and begins
8957 # with a dollar sign (not a hyphen), so the echo should work correctly.
8958 lt_compile=`echo "$ac_compile" | $SED \
8959 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8960 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8961 -e 's:$: $lt_compiler_flag:'`
8962 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8963 (eval "$lt_compile" 2>out/conftest.err)
8964 ac_status=$?
8965 cat out/conftest.err >&5
8966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8967 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8968 then
8969 # The compiler can only warn and ignore the option if not recognized
8970 # So say no if there are warnings
8971 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8972 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8973 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8974 lt_cv_prog_compiler_c_o=yes
8975 fi
8976 fi
8977 chmod u+w . 2>&5
8978 $RM conftest*
8979 # SGI C++ compiler will create directory out/ii_files/ for
8980 # template instantiation
8981 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8982 $RM out/* && rmdir out
8983 cd ..
8984 $RM -r conftest
8985 $RM conftest*
8986
8987 fi
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
8989 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
8990
8991
8992
8993
8994
8995
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8997 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8998 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8999 $as_echo_n "(cached) " >&6
9000 else
9001 lt_cv_prog_compiler_c_o=no
9002 $RM -r conftest 2>/dev/null
9003 mkdir conftest
9004 cd conftest
9005 mkdir out
9006 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9007
9008 lt_compiler_flag="-o out/conftest2.$ac_objext"
9009 # Insert the option either (1) after the last *FLAGS variable, or
9010 # (2) before a word containing "conftest.", or (3) at the end.
9011 # Note that $ac_compile itself does not contain backslashes and begins
9012 # with a dollar sign (not a hyphen), so the echo should work correctly.
9013 lt_compile=`echo "$ac_compile" | $SED \
9014 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9015 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9016 -e 's:$: $lt_compiler_flag:'`
9017 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9018 (eval "$lt_compile" 2>out/conftest.err)
9019 ac_status=$?
9020 cat out/conftest.err >&5
9021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9022 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9023 then
9024 # The compiler can only warn and ignore the option if not recognized
9025 # So say no if there are warnings
9026 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9027 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9028 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9029 lt_cv_prog_compiler_c_o=yes
9030 fi
9031 fi
9032 chmod u+w . 2>&5
9033 $RM conftest*
9034 # SGI C++ compiler will create directory out/ii_files/ for
9035 # template instantiation
9036 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9037 $RM out/* && rmdir out
9038 cd ..
9039 $RM -r conftest
9040 $RM conftest*
9041
9042 fi
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9044 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9045
9046
9047
9048
9049 hard_links="nottested"
9050 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9051 # do not overwrite the value of need_locks provided by the user
9052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9053 $as_echo_n "checking if we can lock with hard links... " >&6; }
9054 hard_links=yes
9055 $RM conftest*
9056 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9057 touch conftest.a
9058 ln conftest.a conftest.b 2>&5 || hard_links=no
9059 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9061 $as_echo "$hard_links" >&6; }
9062 if test "$hard_links" = no; then
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9064 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9065 need_locks=warn
9066 fi
9067 else
9068 need_locks=no
9069 fi
9070
9071
9072
9073
9074
9075
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9077 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9078
9079 runpath_var=
9080 allow_undefined_flag=
9081 always_export_symbols=no
9082 archive_cmds=
9083 archive_expsym_cmds=
9084 compiler_needs_object=no
9085 enable_shared_with_static_runtimes=no
9086 export_dynamic_flag_spec=
9087 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9088 hardcode_automatic=no
9089 hardcode_direct=no
9090 hardcode_direct_absolute=no
9091 hardcode_libdir_flag_spec=
9092 hardcode_libdir_flag_spec_ld=
9093 hardcode_libdir_separator=
9094 hardcode_minus_L=no
9095 hardcode_shlibpath_var=unsupported
9096 inherit_rpath=no
9097 link_all_deplibs=unknown
9098 module_cmds=
9099 module_expsym_cmds=
9100 old_archive_from_new_cmds=
9101 old_archive_from_expsyms_cmds=
9102 thread_safe_flag_spec=
9103 whole_archive_flag_spec=
9104 # include_expsyms should be a list of space-separated symbols to be *always*
9105 # included in the symbol list
9106 include_expsyms=
9107 # exclude_expsyms can be an extended regexp of symbols to exclude
9108 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9109 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9110 # as well as any symbol that contains `d'.
9111 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9112 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9113 # platforms (ab)use it in PIC code, but their linkers get confused if
9114 # the symbol is explicitly referenced. Since portable code cannot
9115 # rely on this symbol name, it's probably fine to never include it in
9116 # preloaded symbol tables.
9117 # Exclude shared library initialization/finalization symbols.
9118 extract_expsyms_cmds=
9119
9120 case $host_os in
9121 cygwin* | mingw* | pw32* | cegcc*)
9122 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9123 # When not using gcc, we currently assume that we are using
9124 # Microsoft Visual C++.
9125 if test "$GCC" != yes; then
9126 with_gnu_ld=no
9127 fi
9128 ;;
9129 interix*)
9130 # we just hope/assume this is gcc and not c89 (= MSVC++)
9131 with_gnu_ld=yes
9132 ;;
9133 openbsd*)
9134 with_gnu_ld=no
9135 ;;
9136 esac
9137
9138 ld_shlibs=yes
9139
9140 # On some targets, GNU ld is compatible enough with the native linker
9141 # that we're better off using the native interface for both.
9142 lt_use_gnu_ld_interface=no
9143 if test "$with_gnu_ld" = yes; then
9144 case $host_os in
9145 aix*)
9146 # The AIX port of GNU ld has always aspired to compatibility
9147 # with the native linker. However, as the warning in the GNU ld
9148 # block says, versions before 2.19.5* couldn't really create working
9149 # shared libraries, regardless of the interface used.
9150 case `$LD -v 2>&1` in
9151 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9152 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9153 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9154 *)
9155 lt_use_gnu_ld_interface=yes
9156 ;;
9157 esac
9158 ;;
9159 *)
9160 lt_use_gnu_ld_interface=yes
9161 ;;
9162 esac
9163 fi
9164
9165 if test "$lt_use_gnu_ld_interface" = yes; then
9166 # If archive_cmds runs LD, not CC, wlarc should be empty
9167 wlarc='${wl}'
9168
9169 # Set some defaults for GNU ld with shared library support. These
9170 # are reset later if shared libraries are not supported. Putting them
9171 # here allows them to be overridden if necessary.
9172 runpath_var=LD_RUN_PATH
9173 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9174 export_dynamic_flag_spec='${wl}--export-dynamic'
9175 # ancient GNU ld didn't support --whole-archive et. al.
9176 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9177 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9178 else
9179 whole_archive_flag_spec=
9180 fi
9181 supports_anon_versioning=no
9182 case `$LD -v 2>&1` in
9183 *GNU\ gold*) supports_anon_versioning=yes ;;
9184 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9185 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9186 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9187 *\ 2.11.*) ;; # other 2.11 versions
9188 *) supports_anon_versioning=yes ;;
9189 esac
9190
9191 # See if GNU ld supports shared libraries.
9192 case $host_os in
9193 aix[3-9]*)
9194 # On AIX/PPC, the GNU linker is very broken
9195 if test "$host_cpu" != ia64; then
9196 ld_shlibs=no
9197 cat <<_LT_EOF 1>&2
9198
9199 *** Warning: the GNU linker, at least up to release 2.19, is reported
9200 *** to be unable to reliably create shared libraries on AIX.
9201 *** Therefore, libtool is disabling shared libraries support. If you
9202 *** really care for shared libraries, you may want to install binutils
9203 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9204 *** You will then need to restart the configuration process.
9205
9206 _LT_EOF
9207 fi
9208 ;;
9209
9210 amigaos*)
9211 case $host_cpu in
9212 powerpc)
9213 # see comment about AmigaOS4 .so support
9214 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9215 archive_expsym_cmds=''
9216 ;;
9217 m68k)
9218 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)'
9219 hardcode_libdir_flag_spec='-L$libdir'
9220 hardcode_minus_L=yes
9221 ;;
9222 esac
9223 ;;
9224
9225 beos*)
9226 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9227 allow_undefined_flag=unsupported
9228 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9229 # support --undefined. This deserves some investigation. FIXME
9230 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9231 else
9232 ld_shlibs=no
9233 fi
9234 ;;
9235
9236 cygwin* | mingw* | pw32* | cegcc*)
9237 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9238 # as there is no search path for DLLs.
9239 hardcode_libdir_flag_spec='-L$libdir'
9240 export_dynamic_flag_spec='${wl}--export-all-symbols'
9241 allow_undefined_flag=unsupported
9242 always_export_symbols=no
9243 enable_shared_with_static_runtimes=yes
9244 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9245
9246 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9247 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9248 # If the export-symbols file already is a .def file (1st line
9249 # is EXPORTS), use it as is; otherwise, prepend...
9250 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9251 cp $export_symbols $output_objdir/$soname.def;
9252 else
9253 echo EXPORTS > $output_objdir/$soname.def;
9254 cat $export_symbols >> $output_objdir/$soname.def;
9255 fi~
9256 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9257 else
9258 ld_shlibs=no
9259 fi
9260 ;;
9261
9262 haiku*)
9263 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9264 link_all_deplibs=yes
9265 ;;
9266
9267 interix[3-9]*)
9268 hardcode_direct=no
9269 hardcode_shlibpath_var=no
9270 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9271 export_dynamic_flag_spec='${wl}-E'
9272 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9273 # Instead, shared libraries are loaded at an image base (0x10000000 by
9274 # default) and relocated if they conflict, which is a slow very memory
9275 # consuming and fragmenting process. To avoid this, we pick a random,
9276 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9277 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9278 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9279 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'
9280 ;;
9281
9282 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9283 tmp_diet=no
9284 if test "$host_os" = linux-dietlibc; then
9285 case $cc_basename in
9286 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9287 esac
9288 fi
9289 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9290 && test "$tmp_diet" = no
9291 then
9292 tmp_addflag=
9293 tmp_sharedflag='-shared'
9294 case $cc_basename,$host_cpu in
9295 pgcc*) # Portland Group C compiler
9296 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'
9297 tmp_addflag=' $pic_flag'
9298 ;;
9299 pgf77* | pgf90* | pgf95* | pgfortran*)
9300 # Portland Group f77 and f90 compilers
9301 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'
9302 tmp_addflag=' $pic_flag -Mnomain' ;;
9303 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9304 tmp_addflag=' -i_dynamic' ;;
9305 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9306 tmp_addflag=' -i_dynamic -nofor_main' ;;
9307 ifc* | ifort*) # Intel Fortran compiler
9308 tmp_addflag=' -nofor_main' ;;
9309 lf95*) # Lahey Fortran 8.1
9310 whole_archive_flag_spec=
9311 tmp_sharedflag='--shared' ;;
9312 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9313 tmp_sharedflag='-qmkshrobj'
9314 tmp_addflag= ;;
9315 nvcc*) # Cuda Compiler Driver 2.2
9316 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'
9317 compiler_needs_object=yes
9318 ;;
9319 esac
9320 case `$CC -V 2>&1 | sed 5q` in
9321 *Sun\ C*) # Sun C 5.9
9322 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'
9323 compiler_needs_object=yes
9324 tmp_sharedflag='-G' ;;
9325 *Sun\ F*) # Sun Fortran 8.3
9326 tmp_sharedflag='-G' ;;
9327 esac
9328 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9329
9330 if test "x$supports_anon_versioning" = xyes; then
9331 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9332 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9333 echo "local: *; };" >> $output_objdir/$libname.ver~
9334 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9335 fi
9336
9337 case $cc_basename in
9338 xlf* | bgf* | bgxlf* | mpixlf*)
9339 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9340 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9341 hardcode_libdir_flag_spec=
9342 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9343 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9344 if test "x$supports_anon_versioning" = xyes; then
9345 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9346 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9347 echo "local: *; };" >> $output_objdir/$libname.ver~
9348 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9349 fi
9350 ;;
9351 esac
9352 else
9353 ld_shlibs=no
9354 fi
9355 ;;
9356
9357 netbsd*)
9358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9359 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9360 wlarc=
9361 else
9362 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9363 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9364 fi
9365 ;;
9366
9367 solaris*)
9368 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9369 ld_shlibs=no
9370 cat <<_LT_EOF 1>&2
9371
9372 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9373 *** create shared libraries on Solaris systems. Therefore, libtool
9374 *** is disabling shared libraries support. We urge you to upgrade GNU
9375 *** binutils to release 2.9.1 or newer. Another option is to modify
9376 *** your PATH or compiler configuration so that the native linker is
9377 *** used, and then restart.
9378
9379 _LT_EOF
9380 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9381 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9382 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9383 else
9384 ld_shlibs=no
9385 fi
9386 ;;
9387
9388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9389 case `$LD -v 2>&1` in
9390 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9391 ld_shlibs=no
9392 cat <<_LT_EOF 1>&2
9393
9394 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9395 *** reliably create shared libraries on SCO systems. Therefore, libtool
9396 *** is disabling shared libraries support. We urge you to upgrade GNU
9397 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9398 *** your PATH or compiler configuration so that the native linker is
9399 *** used, and then restart.
9400
9401 _LT_EOF
9402 ;;
9403 *)
9404 # For security reasons, it is highly recommended that you always
9405 # use absolute paths for naming shared libraries, and exclude the
9406 # DT_RUNPATH tag from executables and libraries. But doing so
9407 # requires that you compile everything twice, which is a pain.
9408 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9409 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9410 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9411 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9412 else
9413 ld_shlibs=no
9414 fi
9415 ;;
9416 esac
9417 ;;
9418
9419 sunos4*)
9420 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9421 wlarc=
9422 hardcode_direct=yes
9423 hardcode_shlibpath_var=no
9424 ;;
9425
9426 *)
9427 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9428 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9429 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9430 else
9431 ld_shlibs=no
9432 fi
9433 ;;
9434 esac
9435
9436 if test "$ld_shlibs" = no; then
9437 runpath_var=
9438 hardcode_libdir_flag_spec=
9439 export_dynamic_flag_spec=
9440 whole_archive_flag_spec=
9441 fi
9442 else
9443 # PORTME fill in a description of your system's linker (not GNU ld)
9444 case $host_os in
9445 aix3*)
9446 allow_undefined_flag=unsupported
9447 always_export_symbols=yes
9448 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'
9449 # Note: this linker hardcodes the directories in LIBPATH if there
9450 # are no directories specified by -L.
9451 hardcode_minus_L=yes
9452 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9453 # Neither direct hardcoding nor static linking is supported with a
9454 # broken collect2.
9455 hardcode_direct=unsupported
9456 fi
9457 ;;
9458
9459 aix[4-9]*)
9460 if test "$host_cpu" = ia64; then
9461 # On IA64, the linker does run time linking by default, so we don't
9462 # have to do anything special.
9463 aix_use_runtimelinking=no
9464 exp_sym_flag='-Bexport'
9465 no_entry_flag=""
9466 else
9467 # If we're using GNU nm, then we don't want the "-C" option.
9468 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9469 # Also, AIX nm treats weak defined symbols like other global
9470 # defined symbols, whereas GNU nm marks them as "W".
9471 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9472 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'
9473 else
9474 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'
9475 fi
9476 aix_use_runtimelinking=no
9477
9478 # Test if we are trying to use run time linking or normal
9479 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9480 # need to do runtime linking.
9481 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9482 for ld_flag in $LDFLAGS; do
9483 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9484 aix_use_runtimelinking=yes
9485 break
9486 fi
9487 done
9488 ;;
9489 esac
9490
9491 exp_sym_flag='-bexport'
9492 no_entry_flag='-bnoentry'
9493 fi
9494
9495 # When large executables or shared objects are built, AIX ld can
9496 # have problems creating the table of contents. If linking a library
9497 # or program results in "error TOC overflow" add -mminimal-toc to
9498 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9499 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9500
9501 archive_cmds=''
9502 hardcode_direct=yes
9503 hardcode_direct_absolute=yes
9504 hardcode_libdir_separator=':'
9505 link_all_deplibs=yes
9506 file_list_spec='${wl}-f,'
9507
9508 if test "$GCC" = yes; then
9509 case $host_os in aix4.[012]|aix4.[012].*)
9510 # We only want to do this on AIX 4.2 and lower, the check
9511 # below for broken collect2 doesn't work under 4.3+
9512 collect2name=`${CC} -print-prog-name=collect2`
9513 if test -f "$collect2name" &&
9514 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9515 then
9516 # We have reworked collect2
9517 :
9518 else
9519 # We have old collect2
9520 hardcode_direct=unsupported
9521 # It fails to find uninstalled libraries when the uninstalled
9522 # path is not listed in the libpath. Setting hardcode_minus_L
9523 # to unsupported forces relinking
9524 hardcode_minus_L=yes
9525 hardcode_libdir_flag_spec='-L$libdir'
9526 hardcode_libdir_separator=
9527 fi
9528 ;;
9529 esac
9530 shared_flag='-shared'
9531 if test "$aix_use_runtimelinking" = yes; then
9532 shared_flag="$shared_flag "'${wl}-G'
9533 fi
9534 else
9535 # not using gcc
9536 if test "$host_cpu" = ia64; then
9537 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9538 # chokes on -Wl,-G. The following line is correct:
9539 shared_flag='-G'
9540 else
9541 if test "$aix_use_runtimelinking" = yes; then
9542 shared_flag='${wl}-G'
9543 else
9544 shared_flag='${wl}-bM:SRE'
9545 fi
9546 fi
9547 fi
9548
9549 export_dynamic_flag_spec='${wl}-bexpall'
9550 # It seems that -bexpall does not export symbols beginning with
9551 # underscore (_), so it is better to generate a list of symbols to export.
9552 always_export_symbols=yes
9553 if test "$aix_use_runtimelinking" = yes; then
9554 # Warning - without using the other runtime loading flags (-brtl),
9555 # -berok will link without error, but may produce a broken library.
9556 allow_undefined_flag='-berok'
9557 # Determine the default libpath from the value encoded in an
9558 # empty executable.
9559 if test x$gcc_no_link = xyes; then
9560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9561 fi
9562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9563 /* end confdefs.h. */
9564
9565 int
9566 main ()
9567 {
9568
9569 ;
9570 return 0;
9571 }
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574
9575 lt_aix_libpath_sed='
9576 /Import File Strings/,/^$/ {
9577 /^0/ {
9578 s/^0 *\(.*\)$/\1/
9579 p
9580 }
9581 }'
9582 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9583 # Check for a 64-bit object if we didn't find anything.
9584 if test -z "$aix_libpath"; then
9585 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9586 fi
9587 fi
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9591
9592 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9593 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"
9594 else
9595 if test "$host_cpu" = ia64; then
9596 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9597 allow_undefined_flag="-z nodefs"
9598 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"
9599 else
9600 # Determine the default libpath from the value encoded in an
9601 # empty executable.
9602 if test x$gcc_no_link = xyes; then
9603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9604 fi
9605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9606 /* end confdefs.h. */
9607
9608 int
9609 main ()
9610 {
9611
9612 ;
9613 return 0;
9614 }
9615 _ACEOF
9616 if ac_fn_c_try_link "$LINENO"; then :
9617
9618 lt_aix_libpath_sed='
9619 /Import File Strings/,/^$/ {
9620 /^0/ {
9621 s/^0 *\(.*\)$/\1/
9622 p
9623 }
9624 }'
9625 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9626 # Check for a 64-bit object if we didn't find anything.
9627 if test -z "$aix_libpath"; then
9628 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9629 fi
9630 fi
9631 rm -f core conftest.err conftest.$ac_objext \
9632 conftest$ac_exeext conftest.$ac_ext
9633 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9634
9635 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9636 # Warning - without using the other run time loading flags,
9637 # -berok will link without error, but may produce a broken library.
9638 no_undefined_flag=' ${wl}-bernotok'
9639 allow_undefined_flag=' ${wl}-berok'
9640 if test "$with_gnu_ld" = yes; then
9641 # We only use this code for GNU lds that support --whole-archive.
9642 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9643 else
9644 # Exported symbols can be pulled into shared objects from archives
9645 whole_archive_flag_spec='$convenience'
9646 fi
9647 archive_cmds_need_lc=yes
9648 # This is similar to how AIX traditionally builds its shared libraries.
9649 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'
9650 fi
9651 fi
9652 ;;
9653
9654 amigaos*)
9655 case $host_cpu in
9656 powerpc)
9657 # see comment about AmigaOS4 .so support
9658 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9659 archive_expsym_cmds=''
9660 ;;
9661 m68k)
9662 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)'
9663 hardcode_libdir_flag_spec='-L$libdir'
9664 hardcode_minus_L=yes
9665 ;;
9666 esac
9667 ;;
9668
9669 bsdi[45]*)
9670 export_dynamic_flag_spec=-rdynamic
9671 ;;
9672
9673 cygwin* | mingw* | pw32* | cegcc*)
9674 # When not using gcc, we currently assume that we are using
9675 # Microsoft Visual C++.
9676 # hardcode_libdir_flag_spec is actually meaningless, as there is
9677 # no search path for DLLs.
9678 hardcode_libdir_flag_spec=' '
9679 allow_undefined_flag=unsupported
9680 # Tell ltmain to make .lib files, not .a files.
9681 libext=lib
9682 # Tell ltmain to make .dll files, not .so files.
9683 shrext_cmds=".dll"
9684 # FIXME: Setting linknames here is a bad hack.
9685 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9686 # The linker will automatically build a .lib file if we build a DLL.
9687 old_archive_from_new_cmds='true'
9688 # FIXME: Should let the user specify the lib program.
9689 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9690 fix_srcfile_path='`cygpath -w "$srcfile"`'
9691 enable_shared_with_static_runtimes=yes
9692 ;;
9693
9694 darwin* | rhapsody*)
9695
9696
9697 archive_cmds_need_lc=no
9698 hardcode_direct=no
9699 hardcode_automatic=yes
9700 hardcode_shlibpath_var=unsupported
9701 if test "$lt_cv_ld_force_load" = "yes"; then
9702 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\"`'
9703 else
9704 whole_archive_flag_spec=''
9705 fi
9706 link_all_deplibs=yes
9707 allow_undefined_flag="$_lt_dar_allow_undefined"
9708 case $cc_basename in
9709 ifort*) _lt_dar_can_shared=yes ;;
9710 *) _lt_dar_can_shared=$GCC ;;
9711 esac
9712 if test "$_lt_dar_can_shared" = "yes"; then
9713 output_verbose_link_cmd=func_echo_all
9714 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9715 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9716 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}"
9717 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}"
9718
9719 else
9720 ld_shlibs=no
9721 fi
9722
9723 ;;
9724
9725 dgux*)
9726 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9727 hardcode_libdir_flag_spec='-L$libdir'
9728 hardcode_shlibpath_var=no
9729 ;;
9730
9731 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9732 # support. Future versions do this automatically, but an explicit c++rt0.o
9733 # does not break anything, and helps significantly (at the cost of a little
9734 # extra space).
9735 freebsd2.2*)
9736 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9737 hardcode_libdir_flag_spec='-R$libdir'
9738 hardcode_direct=yes
9739 hardcode_shlibpath_var=no
9740 ;;
9741
9742 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9743 freebsd2.*)
9744 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9745 hardcode_direct=yes
9746 hardcode_minus_L=yes
9747 hardcode_shlibpath_var=no
9748 ;;
9749
9750 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9751 freebsd* | dragonfly*)
9752 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9753 hardcode_libdir_flag_spec='-R$libdir'
9754 hardcode_direct=yes
9755 hardcode_shlibpath_var=no
9756 ;;
9757
9758 hpux9*)
9759 if test "$GCC" = yes; then
9760 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'
9761 else
9762 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'
9763 fi
9764 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9765 hardcode_libdir_separator=:
9766 hardcode_direct=yes
9767
9768 # hardcode_minus_L: Not really in the search PATH,
9769 # but as the default location of the library.
9770 hardcode_minus_L=yes
9771 export_dynamic_flag_spec='${wl}-E'
9772 ;;
9773
9774 hpux10*)
9775 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9776 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9777 else
9778 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9779 fi
9780 if test "$with_gnu_ld" = no; then
9781 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9782 hardcode_libdir_flag_spec_ld='+b $libdir'
9783 hardcode_libdir_separator=:
9784 hardcode_direct=yes
9785 hardcode_direct_absolute=yes
9786 export_dynamic_flag_spec='${wl}-E'
9787 # hardcode_minus_L: Not really in the search PATH,
9788 # but as the default location of the library.
9789 hardcode_minus_L=yes
9790 fi
9791 ;;
9792
9793 hpux11*)
9794 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9795 case $host_cpu in
9796 hppa*64*)
9797 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9798 ;;
9799 ia64*)
9800 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9801 ;;
9802 *)
9803 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9804 ;;
9805 esac
9806 else
9807 case $host_cpu in
9808 hppa*64*)
9809 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9810 ;;
9811 ia64*)
9812 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9813 ;;
9814 *)
9815
9816 # Older versions of the 11.00 compiler do not understand -b yet
9817 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9819 $as_echo_n "checking if $CC understands -b... " >&6; }
9820 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9821 $as_echo_n "(cached) " >&6
9822 else
9823 lt_cv_prog_compiler__b=no
9824 save_LDFLAGS="$LDFLAGS"
9825 LDFLAGS="$LDFLAGS -b"
9826 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9827 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9828 # The linker can only warn and ignore the option if not recognized
9829 # So say no if there are warnings
9830 if test -s conftest.err; then
9831 # Append any errors to the config.log.
9832 cat conftest.err 1>&5
9833 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9834 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9835 if diff conftest.exp conftest.er2 >/dev/null; then
9836 lt_cv_prog_compiler__b=yes
9837 fi
9838 else
9839 lt_cv_prog_compiler__b=yes
9840 fi
9841 fi
9842 $RM -r conftest*
9843 LDFLAGS="$save_LDFLAGS"
9844
9845 fi
9846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9847 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9848
9849 if test x"$lt_cv_prog_compiler__b" = xyes; then
9850 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9851 else
9852 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9853 fi
9854
9855 ;;
9856 esac
9857 fi
9858 if test "$with_gnu_ld" = no; then
9859 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9860 hardcode_libdir_separator=:
9861
9862 case $host_cpu in
9863 hppa*64*|ia64*)
9864 hardcode_direct=no
9865 hardcode_shlibpath_var=no
9866 ;;
9867 *)
9868 hardcode_direct=yes
9869 hardcode_direct_absolute=yes
9870 export_dynamic_flag_spec='${wl}-E'
9871
9872 # hardcode_minus_L: Not really in the search PATH,
9873 # but as the default location of the library.
9874 hardcode_minus_L=yes
9875 ;;
9876 esac
9877 fi
9878 ;;
9879
9880 irix5* | irix6* | nonstopux*)
9881 if test "$GCC" = yes; then
9882 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'
9883 # Try to use the -exported_symbol ld option, if it does not
9884 # work, assume that -exports_file does not work either and
9885 # implicitly export all symbols.
9886 save_LDFLAGS="$LDFLAGS"
9887 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9888 if test x$gcc_no_link = xyes; then
9889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9890 fi
9891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9892 /* end confdefs.h. */
9893 int foo(void) {}
9894 _ACEOF
9895 if ac_fn_c_try_link "$LINENO"; then :
9896 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'
9897
9898 fi
9899 rm -f core conftest.err conftest.$ac_objext \
9900 conftest$ac_exeext conftest.$ac_ext
9901 LDFLAGS="$save_LDFLAGS"
9902 else
9903 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'
9904 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'
9905 fi
9906 archive_cmds_need_lc='no'
9907 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9908 hardcode_libdir_separator=:
9909 inherit_rpath=yes
9910 link_all_deplibs=yes
9911 ;;
9912
9913 netbsd*)
9914 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9915 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9916 else
9917 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9918 fi
9919 hardcode_libdir_flag_spec='-R$libdir'
9920 hardcode_direct=yes
9921 hardcode_shlibpath_var=no
9922 ;;
9923
9924 newsos6)
9925 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9926 hardcode_direct=yes
9927 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9928 hardcode_libdir_separator=:
9929 hardcode_shlibpath_var=no
9930 ;;
9931
9932 *nto* | *qnx*)
9933 ;;
9934
9935 openbsd*)
9936 if test -f /usr/libexec/ld.so; then
9937 hardcode_direct=yes
9938 hardcode_shlibpath_var=no
9939 hardcode_direct_absolute=yes
9940 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9941 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9942 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9943 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9944 export_dynamic_flag_spec='${wl}-E'
9945 else
9946 case $host_os in
9947 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9948 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9949 hardcode_libdir_flag_spec='-R$libdir'
9950 ;;
9951 *)
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9954 ;;
9955 esac
9956 fi
9957 else
9958 ld_shlibs=no
9959 fi
9960 ;;
9961
9962 os2*)
9963 hardcode_libdir_flag_spec='-L$libdir'
9964 hardcode_minus_L=yes
9965 allow_undefined_flag=unsupported
9966 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'
9967 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9968 ;;
9969
9970 osf3*)
9971 if test "$GCC" = yes; then
9972 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9973 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9974 else
9975 allow_undefined_flag=' -expect_unresolved \*'
9976 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'
9977 fi
9978 archive_cmds_need_lc='no'
9979 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9980 hardcode_libdir_separator=:
9981 ;;
9982
9983 osf4* | osf5*) # as osf3* with the addition of -msym flag
9984 if test "$GCC" = yes; then
9985 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9986 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'
9987 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9988 else
9989 allow_undefined_flag=' -expect_unresolved \*'
9990 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'
9991 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~
9992 $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'
9993
9994 # Both c and cxx compiler support -rpath directly
9995 hardcode_libdir_flag_spec='-rpath $libdir'
9996 fi
9997 archive_cmds_need_lc='no'
9998 hardcode_libdir_separator=:
9999 ;;
10000
10001 solaris*)
10002 no_undefined_flag=' -z defs'
10003 if test "$GCC" = yes; then
10004 wlarc='${wl}'
10005 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10006 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10007 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10008 else
10009 case `$CC -V 2>&1` in
10010 *"Compilers 5.0"*)
10011 wlarc=''
10012 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10013 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10014 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10015 ;;
10016 *)
10017 wlarc='${wl}'
10018 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10019 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10020 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10021 ;;
10022 esac
10023 fi
10024 hardcode_libdir_flag_spec='-R$libdir'
10025 hardcode_shlibpath_var=no
10026 case $host_os in
10027 solaris2.[0-5] | solaris2.[0-5].*) ;;
10028 *)
10029 # The compiler driver will combine and reorder linker options,
10030 # but understands `-z linker_flag'. GCC discards it without `$wl',
10031 # but is careful enough not to reorder.
10032 # Supported since Solaris 2.6 (maybe 2.5.1?)
10033 if test "$GCC" = yes; then
10034 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10035 else
10036 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10037 fi
10038 ;;
10039 esac
10040 link_all_deplibs=yes
10041 ;;
10042
10043 sunos4*)
10044 if test "x$host_vendor" = xsequent; then
10045 # Use $CC to link under sequent, because it throws in some extra .o
10046 # files that make .init and .fini sections work.
10047 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10048 else
10049 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10050 fi
10051 hardcode_libdir_flag_spec='-L$libdir'
10052 hardcode_direct=yes
10053 hardcode_minus_L=yes
10054 hardcode_shlibpath_var=no
10055 ;;
10056
10057 sysv4)
10058 case $host_vendor in
10059 sni)
10060 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10061 hardcode_direct=yes # is this really true???
10062 ;;
10063 siemens)
10064 ## LD is ld it makes a PLAMLIB
10065 ## CC just makes a GrossModule.
10066 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10067 reload_cmds='$CC -r -o $output$reload_objs'
10068 hardcode_direct=no
10069 ;;
10070 motorola)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10073 ;;
10074 esac
10075 runpath_var='LD_RUN_PATH'
10076 hardcode_shlibpath_var=no
10077 ;;
10078
10079 sysv4.3*)
10080 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 hardcode_shlibpath_var=no
10082 export_dynamic_flag_spec='-Bexport'
10083 ;;
10084
10085 sysv4*MP*)
10086 if test -d /usr/nec; then
10087 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10088 hardcode_shlibpath_var=no
10089 runpath_var=LD_RUN_PATH
10090 hardcode_runpath_var=yes
10091 ld_shlibs=yes
10092 fi
10093 ;;
10094
10095 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10096 no_undefined_flag='${wl}-z,text'
10097 archive_cmds_need_lc=no
10098 hardcode_shlibpath_var=no
10099 runpath_var='LD_RUN_PATH'
10100
10101 if test "$GCC" = yes; then
10102 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10103 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10104 else
10105 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10106 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10107 fi
10108 ;;
10109
10110 sysv5* | sco3.2v5* | sco5v6*)
10111 # Note: We can NOT use -z defs as we might desire, because we do not
10112 # link with -lc, and that would cause any symbols used from libc to
10113 # always be unresolved, which means just about no library would
10114 # ever link correctly. If we're not using GNU ld we use -z text
10115 # though, which does catch some bad symbols but isn't as heavy-handed
10116 # as -z defs.
10117 no_undefined_flag='${wl}-z,text'
10118 allow_undefined_flag='${wl}-z,nodefs'
10119 archive_cmds_need_lc=no
10120 hardcode_shlibpath_var=no
10121 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10122 hardcode_libdir_separator=':'
10123 link_all_deplibs=yes
10124 export_dynamic_flag_spec='${wl}-Bexport'
10125 runpath_var='LD_RUN_PATH'
10126
10127 if test "$GCC" = yes; then
10128 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10130 else
10131 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10132 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10133 fi
10134 ;;
10135
10136 uts4*)
10137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10138 hardcode_libdir_flag_spec='-L$libdir'
10139 hardcode_shlibpath_var=no
10140 ;;
10141
10142 *)
10143 ld_shlibs=no
10144 ;;
10145 esac
10146
10147 if test x$host_vendor = xsni; then
10148 case $host in
10149 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10150 export_dynamic_flag_spec='${wl}-Blargedynsym'
10151 ;;
10152 esac
10153 fi
10154 fi
10155
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10157 $as_echo "$ld_shlibs" >&6; }
10158 test "$ld_shlibs" = no && can_build_shared=no
10159
10160 with_gnu_ld=$with_gnu_ld
10161
10162
10163
10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176 #
10177 # Do we need to explicitly link libc?
10178 #
10179 case "x$archive_cmds_need_lc" in
10180 x|xyes)
10181 # Assume -lc should be added
10182 archive_cmds_need_lc=yes
10183
10184 if test "$enable_shared" = yes && test "$GCC" = yes; then
10185 case $archive_cmds in
10186 *'~'*)
10187 # FIXME: we may have to deal with multi-command sequences.
10188 ;;
10189 '$CC '*)
10190 # Test whether the compiler implicitly links with -lc since on some
10191 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10192 # to ld, don't add -lc before -lgcc.
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10194 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10195 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10196 $as_echo_n "(cached) " >&6
10197 else
10198 $RM conftest*
10199 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10200
10201 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10202 (eval $ac_compile) 2>&5
10203 ac_status=$?
10204 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10205 test $ac_status = 0; } 2>conftest.err; then
10206 soname=conftest
10207 lib=conftest
10208 libobjs=conftest.$ac_objext
10209 deplibs=
10210 wl=$lt_prog_compiler_wl
10211 pic_flag=$lt_prog_compiler_pic
10212 compiler_flags=-v
10213 linker_flags=-v
10214 verstring=
10215 output_objdir=.
10216 libname=conftest
10217 lt_save_allow_undefined_flag=$allow_undefined_flag
10218 allow_undefined_flag=
10219 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10220 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10221 ac_status=$?
10222 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10223 test $ac_status = 0; }
10224 then
10225 lt_cv_archive_cmds_need_lc=no
10226 else
10227 lt_cv_archive_cmds_need_lc=yes
10228 fi
10229 allow_undefined_flag=$lt_save_allow_undefined_flag
10230 else
10231 cat conftest.err 1>&5
10232 fi
10233 $RM conftest*
10234
10235 fi
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10237 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10238 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10239 ;;
10240 esac
10241 fi
10242 ;;
10243 esac
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
10390
10391
10392
10393
10394
10395
10396
10397
10398
10399
10400
10401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10402 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10403
10404 if test "$GCC" = yes; then
10405 case $host_os in
10406 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10407 *) lt_awk_arg="/^libraries:/" ;;
10408 esac
10409 case $host_os in
10410 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10411 *) lt_sed_strip_eq="s,=/,/,g" ;;
10412 esac
10413 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10414 case $lt_search_path_spec in
10415 *\;*)
10416 # if the path contains ";" then we assume it to be the separator
10417 # otherwise default to the standard path separator (i.e. ":") - it is
10418 # assumed that no part of a normal pathname contains ";" but that should
10419 # okay in the real world where ";" in dirpaths is itself problematic.
10420 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10421 ;;
10422 *)
10423 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10424 ;;
10425 esac
10426 # Ok, now we have the path, separated by spaces, we can step through it
10427 # and add multilib dir if necessary.
10428 lt_tmp_lt_search_path_spec=
10429 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10430 for lt_sys_path in $lt_search_path_spec; do
10431 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10432 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10433 else
10434 test -d "$lt_sys_path" && \
10435 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10436 fi
10437 done
10438 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10439 BEGIN {RS=" "; FS="/|\n";} {
10440 lt_foo="";
10441 lt_count=0;
10442 for (lt_i = NF; lt_i > 0; lt_i--) {
10443 if ($lt_i != "" && $lt_i != ".") {
10444 if ($lt_i == "..") {
10445 lt_count++;
10446 } else {
10447 if (lt_count == 0) {
10448 lt_foo="/" $lt_i lt_foo;
10449 } else {
10450 lt_count--;
10451 }
10452 }
10453 }
10454 }
10455 if (lt_foo != "") { lt_freq[lt_foo]++; }
10456 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10457 }'`
10458 # AWK program above erroneously prepends '/' to C:/dos/paths
10459 # for these hosts.
10460 case $host_os in
10461 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10462 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10463 esac
10464 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10465 else
10466 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10467 fi
10468 library_names_spec=
10469 libname_spec='lib$name'
10470 soname_spec=
10471 shrext_cmds=".so"
10472 postinstall_cmds=
10473 postuninstall_cmds=
10474 finish_cmds=
10475 finish_eval=
10476 shlibpath_var=
10477 shlibpath_overrides_runpath=unknown
10478 version_type=none
10479 dynamic_linker="$host_os ld.so"
10480 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10481 need_lib_prefix=unknown
10482 hardcode_into_libs=no
10483
10484 # when you set need_version to no, make sure it does not cause -set_version
10485 # flags to be left without arguments
10486 need_version=unknown
10487
10488 case $host_os in
10489 aix3*)
10490 version_type=linux
10491 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10492 shlibpath_var=LIBPATH
10493
10494 # AIX 3 has no versioning support, so we append a major version to the name.
10495 soname_spec='${libname}${release}${shared_ext}$major'
10496 ;;
10497
10498 aix[4-9]*)
10499 version_type=linux
10500 need_lib_prefix=no
10501 need_version=no
10502 hardcode_into_libs=yes
10503 if test "$host_cpu" = ia64; then
10504 # AIX 5 supports IA64
10505 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10506 shlibpath_var=LD_LIBRARY_PATH
10507 else
10508 # With GCC up to 2.95.x, collect2 would create an import file
10509 # for dependence libraries. The import file would start with
10510 # the line `#! .'. This would cause the generated library to
10511 # depend on `.', always an invalid library. This was fixed in
10512 # development snapshots of GCC prior to 3.0.
10513 case $host_os in
10514 aix4 | aix4.[01] | aix4.[01].*)
10515 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10516 echo ' yes '
10517 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10518 :
10519 else
10520 can_build_shared=no
10521 fi
10522 ;;
10523 esac
10524 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10525 # soname into executable. Probably we can add versioning support to
10526 # collect2, so additional links can be useful in future.
10527 if test "$aix_use_runtimelinking" = yes; then
10528 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10529 # instead of lib<name>.a to let people know that these are not
10530 # typical AIX shared libraries.
10531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10532 else
10533 # We preserve .a as extension for shared libraries through AIX4.2
10534 # and later when we are not doing run time linking.
10535 library_names_spec='${libname}${release}.a $libname.a'
10536 soname_spec='${libname}${release}${shared_ext}$major'
10537 fi
10538 shlibpath_var=LIBPATH
10539 fi
10540 ;;
10541
10542 amigaos*)
10543 case $host_cpu in
10544 powerpc)
10545 # Since July 2007 AmigaOS4 officially supports .so libraries.
10546 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10547 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10548 ;;
10549 m68k)
10550 library_names_spec='$libname.ixlibrary $libname.a'
10551 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10552 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'
10553 ;;
10554 esac
10555 ;;
10556
10557 beos*)
10558 library_names_spec='${libname}${shared_ext}'
10559 dynamic_linker="$host_os ld.so"
10560 shlibpath_var=LIBRARY_PATH
10561 ;;
10562
10563 bsdi[45]*)
10564 version_type=linux
10565 need_version=no
10566 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10567 soname_spec='${libname}${release}${shared_ext}$major'
10568 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10569 shlibpath_var=LD_LIBRARY_PATH
10570 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10571 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10572 # the default ld.so.conf also contains /usr/contrib/lib and
10573 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10574 # libtool to hard-code these into programs
10575 ;;
10576
10577 cygwin* | mingw* | pw32* | cegcc*)
10578 version_type=windows
10579 shrext_cmds=".dll"
10580 need_version=no
10581 need_lib_prefix=no
10582
10583 case $GCC,$host_os in
10584 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10585 library_names_spec='$libname.dll.a'
10586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10587 postinstall_cmds='base_file=`basename \${file}`~
10588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10589 dldir=$destdir/`dirname \$dlpath`~
10590 test -d \$dldir || mkdir -p \$dldir~
10591 $install_prog $dir/$dlname \$dldir/$dlname~
10592 chmod a+x \$dldir/$dlname~
10593 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10594 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10595 fi'
10596 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10597 dlpath=$dir/\$dldll~
10598 $RM \$dlpath'
10599 shlibpath_overrides_runpath=yes
10600
10601 case $host_os in
10602 cygwin*)
10603 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10604 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10605
10606 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10607 ;;
10608 mingw* | cegcc*)
10609 # MinGW DLLs use traditional 'lib' prefix
10610 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10611 ;;
10612 pw32*)
10613 # pw32 DLLs use 'pw' prefix rather than 'lib'
10614 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10615 ;;
10616 esac
10617 ;;
10618
10619 *)
10620 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10621 ;;
10622 esac
10623 dynamic_linker='Win32 ld.exe'
10624 # FIXME: first we should search . and the directory the executable is in
10625 shlibpath_var=PATH
10626 ;;
10627
10628 darwin* | rhapsody*)
10629 dynamic_linker="$host_os dyld"
10630 version_type=darwin
10631 need_lib_prefix=no
10632 need_version=no
10633 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10634 soname_spec='${libname}${release}${major}$shared_ext'
10635 shlibpath_overrides_runpath=yes
10636 shlibpath_var=DYLD_LIBRARY_PATH
10637 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10638
10639 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10640 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10641 ;;
10642
10643 dgux*)
10644 version_type=linux
10645 need_lib_prefix=no
10646 need_version=no
10647 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10648 soname_spec='${libname}${release}${shared_ext}$major'
10649 shlibpath_var=LD_LIBRARY_PATH
10650 ;;
10651
10652 freebsd* | dragonfly*)
10653 # DragonFly does not have aout. When/if they implement a new
10654 # versioning mechanism, adjust this.
10655 if test -x /usr/bin/objformat; then
10656 objformat=`/usr/bin/objformat`
10657 else
10658 case $host_os in
10659 freebsd[23].*) objformat=aout ;;
10660 *) objformat=elf ;;
10661 esac
10662 fi
10663 version_type=freebsd-$objformat
10664 case $version_type in
10665 freebsd-elf*)
10666 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10667 need_version=no
10668 need_lib_prefix=no
10669 ;;
10670 freebsd-*)
10671 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10672 need_version=yes
10673 ;;
10674 esac
10675 shlibpath_var=LD_LIBRARY_PATH
10676 case $host_os in
10677 freebsd2.*)
10678 shlibpath_overrides_runpath=yes
10679 ;;
10680 freebsd3.[01]* | freebsdelf3.[01]*)
10681 shlibpath_overrides_runpath=yes
10682 hardcode_into_libs=yes
10683 ;;
10684 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10685 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10686 shlibpath_overrides_runpath=no
10687 hardcode_into_libs=yes
10688 ;;
10689 *) # from 4.6 on, and DragonFly
10690 shlibpath_overrides_runpath=yes
10691 hardcode_into_libs=yes
10692 ;;
10693 esac
10694 ;;
10695
10696 gnu*)
10697 version_type=linux
10698 need_lib_prefix=no
10699 need_version=no
10700 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10701 soname_spec='${libname}${release}${shared_ext}$major'
10702 shlibpath_var=LD_LIBRARY_PATH
10703 hardcode_into_libs=yes
10704 ;;
10705
10706 haiku*)
10707 version_type=linux
10708 need_lib_prefix=no
10709 need_version=no
10710 dynamic_linker="$host_os runtime_loader"
10711 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10712 soname_spec='${libname}${release}${shared_ext}$major'
10713 shlibpath_var=LIBRARY_PATH
10714 shlibpath_overrides_runpath=yes
10715 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10716 hardcode_into_libs=yes
10717 ;;
10718
10719 hpux9* | hpux10* | hpux11*)
10720 # Give a soname corresponding to the major version so that dld.sl refuses to
10721 # link against other versions.
10722 version_type=sunos
10723 need_lib_prefix=no
10724 need_version=no
10725 case $host_cpu in
10726 ia64*)
10727 shrext_cmds='.so'
10728 hardcode_into_libs=yes
10729 dynamic_linker="$host_os dld.so"
10730 shlibpath_var=LD_LIBRARY_PATH
10731 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10733 soname_spec='${libname}${release}${shared_ext}$major'
10734 if test "X$HPUX_IA64_MODE" = X32; then
10735 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10736 else
10737 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10738 fi
10739 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10740 ;;
10741 hppa*64*)
10742 shrext_cmds='.sl'
10743 hardcode_into_libs=yes
10744 dynamic_linker="$host_os dld.sl"
10745 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10746 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10747 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10748 soname_spec='${libname}${release}${shared_ext}$major'
10749 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10751 ;;
10752 *)
10753 shrext_cmds='.sl'
10754 dynamic_linker="$host_os dld.sl"
10755 shlibpath_var=SHLIB_PATH
10756 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10758 soname_spec='${libname}${release}${shared_ext}$major'
10759 ;;
10760 esac
10761 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10762 postinstall_cmds='chmod 555 $lib'
10763 # or fails outright, so override atomically:
10764 install_override_mode=555
10765 ;;
10766
10767 interix[3-9]*)
10768 version_type=linux
10769 need_lib_prefix=no
10770 need_version=no
10771 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10772 soname_spec='${libname}${release}${shared_ext}$major'
10773 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10774 shlibpath_var=LD_LIBRARY_PATH
10775 shlibpath_overrides_runpath=no
10776 hardcode_into_libs=yes
10777 ;;
10778
10779 irix5* | irix6* | nonstopux*)
10780 case $host_os in
10781 nonstopux*) version_type=nonstopux ;;
10782 *)
10783 if test "$lt_cv_prog_gnu_ld" = yes; then
10784 version_type=linux
10785 else
10786 version_type=irix
10787 fi ;;
10788 esac
10789 need_lib_prefix=no
10790 need_version=no
10791 soname_spec='${libname}${release}${shared_ext}$major'
10792 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10793 case $host_os in
10794 irix5* | nonstopux*)
10795 libsuff= shlibsuff=
10796 ;;
10797 *)
10798 case $LD in # libtool.m4 will add one of these switches to LD
10799 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10800 libsuff= shlibsuff= libmagic=32-bit;;
10801 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10802 libsuff=32 shlibsuff=N32 libmagic=N32;;
10803 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10804 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10805 *) libsuff= shlibsuff= libmagic=never-match;;
10806 esac
10807 ;;
10808 esac
10809 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10810 shlibpath_overrides_runpath=no
10811 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10812 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10813 hardcode_into_libs=yes
10814 ;;
10815
10816 # No shared lib support for Linux oldld, aout, or coff.
10817 linux*oldld* | linux*aout* | linux*coff*)
10818 dynamic_linker=no
10819 ;;
10820
10821 # This must be Linux ELF.
10822 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10823 version_type=linux
10824 need_lib_prefix=no
10825 need_version=no
10826 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10827 soname_spec='${libname}${release}${shared_ext}$major'
10828 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10829 shlibpath_var=LD_LIBRARY_PATH
10830 shlibpath_overrides_runpath=no
10831
10832 # Some binutils ld are patched to set DT_RUNPATH
10833 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10834 $as_echo_n "(cached) " >&6
10835 else
10836 lt_cv_shlibpath_overrides_runpath=no
10837 save_LDFLAGS=$LDFLAGS
10838 save_libdir=$libdir
10839 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10840 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10841 if test x$gcc_no_link = xyes; then
10842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10843 fi
10844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10845 /* end confdefs.h. */
10846
10847 int
10848 main ()
10849 {
10850
10851 ;
10852 return 0;
10853 }
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10856 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10857 lt_cv_shlibpath_overrides_runpath=yes
10858 fi
10859 fi
10860 rm -f core conftest.err conftest.$ac_objext \
10861 conftest$ac_exeext conftest.$ac_ext
10862 LDFLAGS=$save_LDFLAGS
10863 libdir=$save_libdir
10864
10865 fi
10866
10867 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10868
10869 # This implies no fast_install, which is unacceptable.
10870 # Some rework will be needed to allow for fast_install
10871 # before this can be enabled.
10872 hardcode_into_libs=yes
10873
10874 # Append ld.so.conf contents to the search path
10875 if test -f /etc/ld.so.conf; then
10876 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' ' '`
10877 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10878 fi
10879
10880 # We used to test for /lib/ld.so.1 and disable shared libraries on
10881 # powerpc, because MkLinux only supported shared libraries with the
10882 # GNU dynamic linker. Since this was broken with cross compilers,
10883 # most powerpc-linux boxes support dynamic linking these days and
10884 # people can always --disable-shared, the test was removed, and we
10885 # assume the GNU/Linux dynamic linker is in use.
10886 dynamic_linker='GNU/Linux ld.so'
10887 ;;
10888
10889 netbsd*)
10890 version_type=sunos
10891 need_lib_prefix=no
10892 need_version=no
10893 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10895 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10896 dynamic_linker='NetBSD (a.out) ld.so'
10897 else
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10899 soname_spec='${libname}${release}${shared_ext}$major'
10900 dynamic_linker='NetBSD ld.elf_so'
10901 fi
10902 shlibpath_var=LD_LIBRARY_PATH
10903 shlibpath_overrides_runpath=yes
10904 hardcode_into_libs=yes
10905 ;;
10906
10907 newsos6)
10908 version_type=linux
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10910 shlibpath_var=LD_LIBRARY_PATH
10911 shlibpath_overrides_runpath=yes
10912 ;;
10913
10914 *nto* | *qnx*)
10915 version_type=qnx
10916 need_lib_prefix=no
10917 need_version=no
10918 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10919 soname_spec='${libname}${release}${shared_ext}$major'
10920 shlibpath_var=LD_LIBRARY_PATH
10921 shlibpath_overrides_runpath=no
10922 hardcode_into_libs=yes
10923 dynamic_linker='ldqnx.so'
10924 ;;
10925
10926 openbsd*)
10927 version_type=sunos
10928 sys_lib_dlsearch_path_spec="/usr/lib"
10929 need_lib_prefix=no
10930 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10931 case $host_os in
10932 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10933 *) need_version=no ;;
10934 esac
10935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10936 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10937 shlibpath_var=LD_LIBRARY_PATH
10938 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10939 case $host_os in
10940 openbsd2.[89] | openbsd2.[89].*)
10941 shlibpath_overrides_runpath=no
10942 ;;
10943 *)
10944 shlibpath_overrides_runpath=yes
10945 ;;
10946 esac
10947 else
10948 shlibpath_overrides_runpath=yes
10949 fi
10950 ;;
10951
10952 os2*)
10953 libname_spec='$name'
10954 shrext_cmds=".dll"
10955 need_lib_prefix=no
10956 library_names_spec='$libname${shared_ext} $libname.a'
10957 dynamic_linker='OS/2 ld.exe'
10958 shlibpath_var=LIBPATH
10959 ;;
10960
10961 osf3* | osf4* | osf5*)
10962 version_type=osf
10963 need_lib_prefix=no
10964 need_version=no
10965 soname_spec='${libname}${release}${shared_ext}$major'
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10967 shlibpath_var=LD_LIBRARY_PATH
10968 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10969 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10970 ;;
10971
10972 rdos*)
10973 dynamic_linker=no
10974 ;;
10975
10976 solaris*)
10977 version_type=linux
10978 need_lib_prefix=no
10979 need_version=no
10980 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10981 soname_spec='${libname}${release}${shared_ext}$major'
10982 shlibpath_var=LD_LIBRARY_PATH
10983 shlibpath_overrides_runpath=yes
10984 hardcode_into_libs=yes
10985 # ldd complains unless libraries are executable
10986 postinstall_cmds='chmod +x $lib'
10987 ;;
10988
10989 sunos4*)
10990 version_type=sunos
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10992 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 if test "$with_gnu_ld" = yes; then
10996 need_lib_prefix=no
10997 fi
10998 need_version=yes
10999 ;;
11000
11001 sysv4 | sysv4.3*)
11002 version_type=linux
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11004 soname_spec='${libname}${release}${shared_ext}$major'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 case $host_vendor in
11007 sni)
11008 shlibpath_overrides_runpath=no
11009 need_lib_prefix=no
11010 runpath_var=LD_RUN_PATH
11011 ;;
11012 siemens)
11013 need_lib_prefix=no
11014 ;;
11015 motorola)
11016 need_lib_prefix=no
11017 need_version=no
11018 shlibpath_overrides_runpath=no
11019 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11020 ;;
11021 esac
11022 ;;
11023
11024 sysv4*MP*)
11025 if test -d /usr/nec ;then
11026 version_type=linux
11027 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11028 soname_spec='$libname${shared_ext}.$major'
11029 shlibpath_var=LD_LIBRARY_PATH
11030 fi
11031 ;;
11032
11033 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11034 version_type=freebsd-elf
11035 need_lib_prefix=no
11036 need_version=no
11037 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11038 soname_spec='${libname}${release}${shared_ext}$major'
11039 shlibpath_var=LD_LIBRARY_PATH
11040 shlibpath_overrides_runpath=yes
11041 hardcode_into_libs=yes
11042 if test "$with_gnu_ld" = yes; then
11043 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11044 else
11045 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11046 case $host_os in
11047 sco3.2v5*)
11048 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11049 ;;
11050 esac
11051 fi
11052 sys_lib_dlsearch_path_spec='/usr/lib'
11053 ;;
11054
11055 tpf*)
11056 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11057 version_type=linux
11058 need_lib_prefix=no
11059 need_version=no
11060 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=no
11063 hardcode_into_libs=yes
11064 ;;
11065
11066 uts4*)
11067 version_type=linux
11068 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11069 soname_spec='${libname}${release}${shared_ext}$major'
11070 shlibpath_var=LD_LIBRARY_PATH
11071 ;;
11072
11073 *)
11074 dynamic_linker=no
11075 ;;
11076 esac
11077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11078 $as_echo "$dynamic_linker" >&6; }
11079 test "$dynamic_linker" = no && can_build_shared=no
11080
11081 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11082 if test "$GCC" = yes; then
11083 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11084 fi
11085
11086 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11087 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11088 fi
11089 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11090 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11091 fi
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
11173
11174
11175
11176
11177
11178
11179
11180
11181
11182
11183
11184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11185 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11186 hardcode_action=
11187 if test -n "$hardcode_libdir_flag_spec" ||
11188 test -n "$runpath_var" ||
11189 test "X$hardcode_automatic" = "Xyes" ; then
11190
11191 # We can hardcode non-existent directories.
11192 if test "$hardcode_direct" != no &&
11193 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11194 # have to relink, otherwise we might link with an installed library
11195 # when we should be linking with a yet-to-be-installed one
11196 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11197 test "$hardcode_minus_L" != no; then
11198 # Linking always hardcodes the temporary library directory.
11199 hardcode_action=relink
11200 else
11201 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11202 hardcode_action=immediate
11203 fi
11204 else
11205 # We cannot hardcode anything, or else we can only hardcode existing
11206 # directories.
11207 hardcode_action=unsupported
11208 fi
11209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11210 $as_echo "$hardcode_action" >&6; }
11211
11212 if test "$hardcode_action" = relink ||
11213 test "$inherit_rpath" = yes; then
11214 # Fast installation is not supported
11215 enable_fast_install=no
11216 elif test "$shlibpath_overrides_runpath" = yes ||
11217 test "$enable_shared" = no; then
11218 # Fast installation is not necessary
11219 enable_fast_install=needless
11220 fi
11221
11222
11223
11224
11225
11226
11227 if test "x$enable_dlopen" != xyes; then
11228 enable_dlopen=unknown
11229 enable_dlopen_self=unknown
11230 enable_dlopen_self_static=unknown
11231 else
11232 lt_cv_dlopen=no
11233 lt_cv_dlopen_libs=
11234
11235 case $host_os in
11236 beos*)
11237 lt_cv_dlopen="load_add_on"
11238 lt_cv_dlopen_libs=
11239 lt_cv_dlopen_self=yes
11240 ;;
11241
11242 mingw* | pw32* | cegcc*)
11243 lt_cv_dlopen="LoadLibrary"
11244 lt_cv_dlopen_libs=
11245 ;;
11246
11247 cygwin*)
11248 lt_cv_dlopen="dlopen"
11249 lt_cv_dlopen_libs=
11250 ;;
11251
11252 darwin*)
11253 # if libdl is installed we need to link against it
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11255 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11256 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11257 $as_echo_n "(cached) " >&6
11258 else
11259 ac_check_lib_save_LIBS=$LIBS
11260 LIBS="-ldl $LIBS"
11261 if test x$gcc_no_link = xyes; then
11262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11263 fi
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11266
11267 /* Override any GCC internal prototype to avoid an error.
11268 Use char because int might match the return type of a GCC
11269 builtin and then its argument prototype would still apply. */
11270 #ifdef __cplusplus
11271 extern "C"
11272 #endif
11273 char dlopen ();
11274 int
11275 main ()
11276 {
11277 return dlopen ();
11278 ;
11279 return 0;
11280 }
11281 _ACEOF
11282 if ac_fn_c_try_link "$LINENO"; then :
11283 ac_cv_lib_dl_dlopen=yes
11284 else
11285 ac_cv_lib_dl_dlopen=no
11286 fi
11287 rm -f core conftest.err conftest.$ac_objext \
11288 conftest$ac_exeext conftest.$ac_ext
11289 LIBS=$ac_check_lib_save_LIBS
11290 fi
11291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11292 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11293 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11294 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11295 else
11296
11297 lt_cv_dlopen="dyld"
11298 lt_cv_dlopen_libs=
11299 lt_cv_dlopen_self=yes
11300
11301 fi
11302
11303 ;;
11304
11305 *)
11306 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11307 if test "x$ac_cv_func_shl_load" = x""yes; then :
11308 lt_cv_dlopen="shl_load"
11309 else
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11311 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11312 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11313 $as_echo_n "(cached) " >&6
11314 else
11315 ac_check_lib_save_LIBS=$LIBS
11316 LIBS="-ldld $LIBS"
11317 if test x$gcc_no_link = xyes; then
11318 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11319 fi
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11322
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char shl_load ();
11330 int
11331 main ()
11332 {
11333 return shl_load ();
11334 ;
11335 return 0;
11336 }
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 ac_cv_lib_dld_shl_load=yes
11340 else
11341 ac_cv_lib_dld_shl_load=no
11342 fi
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_lib_save_LIBS
11346 fi
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11348 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11349 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11350 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11351 else
11352 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11353 if test "x$ac_cv_func_dlopen" = x""yes; then :
11354 lt_cv_dlopen="dlopen"
11355 else
11356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11357 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11358 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11359 $as_echo_n "(cached) " >&6
11360 else
11361 ac_check_lib_save_LIBS=$LIBS
11362 LIBS="-ldl $LIBS"
11363 if test x$gcc_no_link = xyes; then
11364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11365 fi
11366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11367 /* end confdefs.h. */
11368
11369 /* Override any GCC internal prototype to avoid an error.
11370 Use char because int might match the return type of a GCC
11371 builtin and then its argument prototype would still apply. */
11372 #ifdef __cplusplus
11373 extern "C"
11374 #endif
11375 char dlopen ();
11376 int
11377 main ()
11378 {
11379 return dlopen ();
11380 ;
11381 return 0;
11382 }
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"; then :
11385 ac_cv_lib_dl_dlopen=yes
11386 else
11387 ac_cv_lib_dl_dlopen=no
11388 fi
11389 rm -f core conftest.err conftest.$ac_objext \
11390 conftest$ac_exeext conftest.$ac_ext
11391 LIBS=$ac_check_lib_save_LIBS
11392 fi
11393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11394 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11395 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11396 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11397 else
11398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11399 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11400 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11401 $as_echo_n "(cached) " >&6
11402 else
11403 ac_check_lib_save_LIBS=$LIBS
11404 LIBS="-lsvld $LIBS"
11405 if test x$gcc_no_link = xyes; then
11406 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11407 fi
11408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11409 /* end confdefs.h. */
11410
11411 /* Override any GCC internal prototype to avoid an error.
11412 Use char because int might match the return type of a GCC
11413 builtin and then its argument prototype would still apply. */
11414 #ifdef __cplusplus
11415 extern "C"
11416 #endif
11417 char dlopen ();
11418 int
11419 main ()
11420 {
11421 return dlopen ();
11422 ;
11423 return 0;
11424 }
11425 _ACEOF
11426 if ac_fn_c_try_link "$LINENO"; then :
11427 ac_cv_lib_svld_dlopen=yes
11428 else
11429 ac_cv_lib_svld_dlopen=no
11430 fi
11431 rm -f core conftest.err conftest.$ac_objext \
11432 conftest$ac_exeext conftest.$ac_ext
11433 LIBS=$ac_check_lib_save_LIBS
11434 fi
11435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11436 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11437 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11438 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11439 else
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11441 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11442 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11443 $as_echo_n "(cached) " >&6
11444 else
11445 ac_check_lib_save_LIBS=$LIBS
11446 LIBS="-ldld $LIBS"
11447 if test x$gcc_no_link = xyes; then
11448 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11449 fi
11450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11451 /* end confdefs.h. */
11452
11453 /* Override any GCC internal prototype to avoid an error.
11454 Use char because int might match the return type of a GCC
11455 builtin and then its argument prototype would still apply. */
11456 #ifdef __cplusplus
11457 extern "C"
11458 #endif
11459 char dld_link ();
11460 int
11461 main ()
11462 {
11463 return dld_link ();
11464 ;
11465 return 0;
11466 }
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"; then :
11469 ac_cv_lib_dld_dld_link=yes
11470 else
11471 ac_cv_lib_dld_dld_link=no
11472 fi
11473 rm -f core conftest.err conftest.$ac_objext \
11474 conftest$ac_exeext conftest.$ac_ext
11475 LIBS=$ac_check_lib_save_LIBS
11476 fi
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11478 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11479 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11480 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11481 fi
11482
11483
11484 fi
11485
11486
11487 fi
11488
11489
11490 fi
11491
11492
11493 fi
11494
11495
11496 fi
11497
11498 ;;
11499 esac
11500
11501 if test "x$lt_cv_dlopen" != xno; then
11502 enable_dlopen=yes
11503 else
11504 enable_dlopen=no
11505 fi
11506
11507 case $lt_cv_dlopen in
11508 dlopen)
11509 save_CPPFLAGS="$CPPFLAGS"
11510 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11511
11512 save_LDFLAGS="$LDFLAGS"
11513 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11514
11515 save_LIBS="$LIBS"
11516 LIBS="$lt_cv_dlopen_libs $LIBS"
11517
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11519 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11520 if test "${lt_cv_dlopen_self+set}" = set; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 if test "$cross_compiling" = yes; then :
11524 lt_cv_dlopen_self=cross
11525 else
11526 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11527 lt_status=$lt_dlunknown
11528 cat > conftest.$ac_ext <<_LT_EOF
11529 #line 11529 "configure"
11530 #include "confdefs.h"
11531
11532 #if HAVE_DLFCN_H
11533 #include <dlfcn.h>
11534 #endif
11535
11536 #include <stdio.h>
11537
11538 #ifdef RTLD_GLOBAL
11539 # define LT_DLGLOBAL RTLD_GLOBAL
11540 #else
11541 # ifdef DL_GLOBAL
11542 # define LT_DLGLOBAL DL_GLOBAL
11543 # else
11544 # define LT_DLGLOBAL 0
11545 # endif
11546 #endif
11547
11548 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11549 find out it does not work in some platform. */
11550 #ifndef LT_DLLAZY_OR_NOW
11551 # ifdef RTLD_LAZY
11552 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11553 # else
11554 # ifdef DL_LAZY
11555 # define LT_DLLAZY_OR_NOW DL_LAZY
11556 # else
11557 # ifdef RTLD_NOW
11558 # define LT_DLLAZY_OR_NOW RTLD_NOW
11559 # else
11560 # ifdef DL_NOW
11561 # define LT_DLLAZY_OR_NOW DL_NOW
11562 # else
11563 # define LT_DLLAZY_OR_NOW 0
11564 # endif
11565 # endif
11566 # endif
11567 # endif
11568 #endif
11569
11570 /* When -fvisbility=hidden is used, assume the code has been annotated
11571 correspondingly for the symbols needed. */
11572 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11573 void fnord () __attribute__((visibility("default")));
11574 #endif
11575
11576 void fnord () { int i=42; }
11577 int main ()
11578 {
11579 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11580 int status = $lt_dlunknown;
11581
11582 if (self)
11583 {
11584 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11585 else
11586 {
11587 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11588 else puts (dlerror ());
11589 }
11590 /* dlclose (self); */
11591 }
11592 else
11593 puts (dlerror ());
11594
11595 return status;
11596 }
11597 _LT_EOF
11598 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11599 (eval $ac_link) 2>&5
11600 ac_status=$?
11601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11602 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11603 (./conftest; exit; ) >&5 2>/dev/null
11604 lt_status=$?
11605 case x$lt_status in
11606 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11607 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11608 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11609 esac
11610 else :
11611 # compilation failed
11612 lt_cv_dlopen_self=no
11613 fi
11614 fi
11615 rm -fr conftest*
11616
11617
11618 fi
11619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11620 $as_echo "$lt_cv_dlopen_self" >&6; }
11621
11622 if test "x$lt_cv_dlopen_self" = xyes; then
11623 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11625 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11626 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11627 $as_echo_n "(cached) " >&6
11628 else
11629 if test "$cross_compiling" = yes; then :
11630 lt_cv_dlopen_self_static=cross
11631 else
11632 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11633 lt_status=$lt_dlunknown
11634 cat > conftest.$ac_ext <<_LT_EOF
11635 #line 11635 "configure"
11636 #include "confdefs.h"
11637
11638 #if HAVE_DLFCN_H
11639 #include <dlfcn.h>
11640 #endif
11641
11642 #include <stdio.h>
11643
11644 #ifdef RTLD_GLOBAL
11645 # define LT_DLGLOBAL RTLD_GLOBAL
11646 #else
11647 # ifdef DL_GLOBAL
11648 # define LT_DLGLOBAL DL_GLOBAL
11649 # else
11650 # define LT_DLGLOBAL 0
11651 # endif
11652 #endif
11653
11654 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11655 find out it does not work in some platform. */
11656 #ifndef LT_DLLAZY_OR_NOW
11657 # ifdef RTLD_LAZY
11658 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11659 # else
11660 # ifdef DL_LAZY
11661 # define LT_DLLAZY_OR_NOW DL_LAZY
11662 # else
11663 # ifdef RTLD_NOW
11664 # define LT_DLLAZY_OR_NOW RTLD_NOW
11665 # else
11666 # ifdef DL_NOW
11667 # define LT_DLLAZY_OR_NOW DL_NOW
11668 # else
11669 # define LT_DLLAZY_OR_NOW 0
11670 # endif
11671 # endif
11672 # endif
11673 # endif
11674 #endif
11675
11676 /* When -fvisbility=hidden is used, assume the code has been annotated
11677 correspondingly for the symbols needed. */
11678 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11679 void fnord () __attribute__((visibility("default")));
11680 #endif
11681
11682 void fnord () { int i=42; }
11683 int main ()
11684 {
11685 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11686 int status = $lt_dlunknown;
11687
11688 if (self)
11689 {
11690 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11691 else
11692 {
11693 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11694 else puts (dlerror ());
11695 }
11696 /* dlclose (self); */
11697 }
11698 else
11699 puts (dlerror ());
11700
11701 return status;
11702 }
11703 _LT_EOF
11704 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11705 (eval $ac_link) 2>&5
11706 ac_status=$?
11707 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11708 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11709 (./conftest; exit; ) >&5 2>/dev/null
11710 lt_status=$?
11711 case x$lt_status in
11712 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11713 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11714 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11715 esac
11716 else :
11717 # compilation failed
11718 lt_cv_dlopen_self_static=no
11719 fi
11720 fi
11721 rm -fr conftest*
11722
11723
11724 fi
11725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11726 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11727 fi
11728
11729 CPPFLAGS="$save_CPPFLAGS"
11730 LDFLAGS="$save_LDFLAGS"
11731 LIBS="$save_LIBS"
11732 ;;
11733 esac
11734
11735 case $lt_cv_dlopen_self in
11736 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11737 *) enable_dlopen_self=unknown ;;
11738 esac
11739
11740 case $lt_cv_dlopen_self_static in
11741 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11742 *) enable_dlopen_self_static=unknown ;;
11743 esac
11744 fi
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762 striplib=
11763 old_striplib=
11764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11765 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11766 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11767 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11768 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11770 $as_echo "yes" >&6; }
11771 else
11772 # FIXME - insert some real tests, host_os isn't really good enough
11773 case $host_os in
11774 darwin*)
11775 if test -n "$STRIP" ; then
11776 striplib="$STRIP -x"
11777 old_striplib="$STRIP -S"
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11779 $as_echo "yes" >&6; }
11780 else
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 $as_echo "no" >&6; }
11783 fi
11784 ;;
11785 *)
11786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11787 $as_echo "no" >&6; }
11788 ;;
11789 esac
11790 fi
11791
11792
11793
11794
11795
11796
11797
11798
11799
11800
11801
11802
11803 # Report which library types will actually be built
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11805 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11807 $as_echo "$can_build_shared" >&6; }
11808
11809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11810 $as_echo_n "checking whether to build shared libraries... " >&6; }
11811 test "$can_build_shared" = "no" && enable_shared=no
11812
11813 # On AIX, shared libraries and static libraries use the same namespace, and
11814 # are all built from PIC.
11815 case $host_os in
11816 aix3*)
11817 test "$enable_shared" = yes && enable_static=no
11818 if test -n "$RANLIB"; then
11819 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11820 postinstall_cmds='$RANLIB $lib'
11821 fi
11822 ;;
11823
11824 aix[4-9]*)
11825 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11826 test "$enable_shared" = yes && enable_static=no
11827 fi
11828 ;;
11829 esac
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11831 $as_echo "$enable_shared" >&6; }
11832
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11834 $as_echo_n "checking whether to build static libraries... " >&6; }
11835 # Make sure either enable_shared or enable_static is yes.
11836 test "$enable_shared" = yes || enable_static=yes
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11838 $as_echo "$enable_static" >&6; }
11839
11840
11841
11842
11843 fi
11844 ac_ext=c
11845 ac_cpp='$CPP $CPPFLAGS'
11846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11849
11850 CC="$lt_save_CC"
11851
11852 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11853 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11854 (test "X$CXX" != "Xg++"))) ; then
11855 ac_ext=cpp
11856 ac_cpp='$CXXCPP $CPPFLAGS'
11857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11861 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11862 if test -z "$CXXCPP"; then
11863 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11864 $as_echo_n "(cached) " >&6
11865 else
11866 # Double quotes because CXXCPP needs to be expanded
11867 for CXXCPP in "$CXX -E" "/lib/cpp"
11868 do
11869 ac_preproc_ok=false
11870 for ac_cxx_preproc_warn_flag in '' yes
11871 do
11872 # Use a header file that comes with gcc, so configuring glibc
11873 # with a fresh cross-compiler works.
11874 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11875 # <limits.h> exists even on freestanding compilers.
11876 # On the NeXT, cc -E runs the code through the compiler's parser,
11877 # not just through cpp. "Syntax error" is here to catch this case.
11878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11879 /* end confdefs.h. */
11880 #ifdef __STDC__
11881 # include <limits.h>
11882 #else
11883 # include <assert.h>
11884 #endif
11885 Syntax error
11886 _ACEOF
11887 if ac_fn_cxx_try_cpp "$LINENO"; then :
11888
11889 else
11890 # Broken: fails on valid input.
11891 continue
11892 fi
11893 rm -f conftest.err conftest.$ac_ext
11894
11895 # OK, works on sane cases. Now check whether nonexistent headers
11896 # can be detected and how.
11897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11898 /* end confdefs.h. */
11899 #include <ac_nonexistent.h>
11900 _ACEOF
11901 if ac_fn_cxx_try_cpp "$LINENO"; then :
11902 # Broken: success on invalid input.
11903 continue
11904 else
11905 # Passes both tests.
11906 ac_preproc_ok=:
11907 break
11908 fi
11909 rm -f conftest.err conftest.$ac_ext
11910
11911 done
11912 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11913 rm -f conftest.err conftest.$ac_ext
11914 if $ac_preproc_ok; then :
11915 break
11916 fi
11917
11918 done
11919 ac_cv_prog_CXXCPP=$CXXCPP
11920
11921 fi
11922 CXXCPP=$ac_cv_prog_CXXCPP
11923 else
11924 ac_cv_prog_CXXCPP=$CXXCPP
11925 fi
11926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11927 $as_echo "$CXXCPP" >&6; }
11928 ac_preproc_ok=false
11929 for ac_cxx_preproc_warn_flag in '' yes
11930 do
11931 # Use a header file that comes with gcc, so configuring glibc
11932 # with a fresh cross-compiler works.
11933 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11934 # <limits.h> exists even on freestanding compilers.
11935 # On the NeXT, cc -E runs the code through the compiler's parser,
11936 # not just through cpp. "Syntax error" is here to catch this case.
11937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11938 /* end confdefs.h. */
11939 #ifdef __STDC__
11940 # include <limits.h>
11941 #else
11942 # include <assert.h>
11943 #endif
11944 Syntax error
11945 _ACEOF
11946 if ac_fn_cxx_try_cpp "$LINENO"; then :
11947
11948 else
11949 # Broken: fails on valid input.
11950 continue
11951 fi
11952 rm -f conftest.err conftest.$ac_ext
11953
11954 # OK, works on sane cases. Now check whether nonexistent headers
11955 # can be detected and how.
11956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11957 /* end confdefs.h. */
11958 #include <ac_nonexistent.h>
11959 _ACEOF
11960 if ac_fn_cxx_try_cpp "$LINENO"; then :
11961 # Broken: success on invalid input.
11962 continue
11963 else
11964 # Passes both tests.
11965 ac_preproc_ok=:
11966 break
11967 fi
11968 rm -f conftest.err conftest.$ac_ext
11969
11970 done
11971 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11972 rm -f conftest.err conftest.$ac_ext
11973 if $ac_preproc_ok; then :
11974
11975 else
11976 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11977 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11978 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11979 See \`config.log' for more details." "$LINENO" 5; }
11980 fi
11981
11982 ac_ext=c
11983 ac_cpp='$CPP $CPPFLAGS'
11984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11987
11988 else
11989 _lt_caught_CXX_error=yes
11990 fi
11991
11992 ac_ext=cpp
11993 ac_cpp='$CXXCPP $CPPFLAGS'
11994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11997
11998 archive_cmds_need_lc_CXX=no
11999 allow_undefined_flag_CXX=
12000 always_export_symbols_CXX=no
12001 archive_expsym_cmds_CXX=
12002 compiler_needs_object_CXX=no
12003 export_dynamic_flag_spec_CXX=
12004 hardcode_direct_CXX=no
12005 hardcode_direct_absolute_CXX=no
12006 hardcode_libdir_flag_spec_CXX=
12007 hardcode_libdir_flag_spec_ld_CXX=
12008 hardcode_libdir_separator_CXX=
12009 hardcode_minus_L_CXX=no
12010 hardcode_shlibpath_var_CXX=unsupported
12011 hardcode_automatic_CXX=no
12012 inherit_rpath_CXX=no
12013 module_cmds_CXX=
12014 module_expsym_cmds_CXX=
12015 link_all_deplibs_CXX=unknown
12016 old_archive_cmds_CXX=$old_archive_cmds
12017 reload_flag_CXX=$reload_flag
12018 reload_cmds_CXX=$reload_cmds
12019 no_undefined_flag_CXX=
12020 whole_archive_flag_spec_CXX=
12021 enable_shared_with_static_runtimes_CXX=no
12022
12023 # Source file extension for C++ test sources.
12024 ac_ext=cpp
12025
12026 # Object file extension for compiled C++ test sources.
12027 objext=o
12028 objext_CXX=$objext
12029
12030 # No sense in running all these tests if we already determined that
12031 # the CXX compiler isn't working. Some variables (like enable_shared)
12032 # are currently assumed to apply to all compilers on this platform,
12033 # and will be corrupted by setting them based on a non-working compiler.
12034 if test "$_lt_caught_CXX_error" != yes; then
12035 # Code to be used in simple compile tests
12036 lt_simple_compile_test_code="int some_variable = 0;"
12037
12038 # Code to be used in simple link tests
12039 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12040
12041 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12042
12043
12044
12045
12046
12047
12048 # If no C compiler was specified, use CC.
12049 LTCC=${LTCC-"$CC"}
12050
12051 # If no C compiler flags were specified, use CFLAGS.
12052 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12053
12054 # Allow CC to be a program name with arguments.
12055 compiler=$CC
12056
12057
12058 # save warnings/boilerplate of simple test code
12059 ac_outfile=conftest.$ac_objext
12060 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12061 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12062 _lt_compiler_boilerplate=`cat conftest.err`
12063 $RM conftest*
12064
12065 ac_outfile=conftest.$ac_objext
12066 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12067 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12068 _lt_linker_boilerplate=`cat conftest.err`
12069 $RM -r conftest*
12070
12071
12072 # Allow CC to be a program name with arguments.
12073 lt_save_CC=$CC
12074 lt_save_LD=$LD
12075 lt_save_GCC=$GCC
12076 GCC=$GXX
12077 lt_save_with_gnu_ld=$with_gnu_ld
12078 lt_save_path_LD=$lt_cv_path_LD
12079 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12080 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12081 else
12082 $as_unset lt_cv_prog_gnu_ld
12083 fi
12084 if test -n "${lt_cv_path_LDCXX+set}"; then
12085 lt_cv_path_LD=$lt_cv_path_LDCXX
12086 else
12087 $as_unset lt_cv_path_LD
12088 fi
12089 test -z "${LDCXX+set}" || LD=$LDCXX
12090 CC=${CXX-"c++"}
12091 compiler=$CC
12092 compiler_CXX=$CC
12093 for cc_temp in $compiler""; do
12094 case $cc_temp in
12095 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12096 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12097 \-*) ;;
12098 *) break;;
12099 esac
12100 done
12101 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12102
12103
12104 if test -n "$compiler"; then
12105 # We don't want -fno-exception when compiling C++ code, so set the
12106 # no_builtin_flag separately
12107 if test "$GXX" = yes; then
12108 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12109 else
12110 lt_prog_compiler_no_builtin_flag_CXX=
12111 fi
12112
12113 if test "$GXX" = yes; then
12114 # Set up default GNU C++ configuration
12115
12116
12117
12118 # Check whether --with-gnu-ld was given.
12119 if test "${with_gnu_ld+set}" = set; then :
12120 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12121 else
12122 with_gnu_ld=no
12123 fi
12124
12125 ac_prog=ld
12126 if test "$GCC" = yes; then
12127 # Check if gcc -print-prog-name=ld gives a path.
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12129 $as_echo_n "checking for ld used by $CC... " >&6; }
12130 case $host in
12131 *-*-mingw*)
12132 # gcc leaves a trailing carriage return which upsets mingw
12133 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12134 *)
12135 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12136 esac
12137 case $ac_prog in
12138 # Accept absolute paths.
12139 [\\/]* | ?:[\\/]*)
12140 re_direlt='/[^/][^/]*/\.\./'
12141 # Canonicalize the pathname of ld
12142 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12143 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12144 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12145 done
12146 test -z "$LD" && LD="$ac_prog"
12147 ;;
12148 "")
12149 # If it fails, then pretend we aren't using GCC.
12150 ac_prog=ld
12151 ;;
12152 *)
12153 # If it is relative, then search for the first ld in PATH.
12154 with_gnu_ld=unknown
12155 ;;
12156 esac
12157 elif test "$with_gnu_ld" = yes; then
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12159 $as_echo_n "checking for GNU ld... " >&6; }
12160 else
12161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12162 $as_echo_n "checking for non-GNU ld... " >&6; }
12163 fi
12164 if test "${lt_cv_path_LD+set}" = set; then :
12165 $as_echo_n "(cached) " >&6
12166 else
12167 if test -z "$LD"; then
12168 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12169 for ac_dir in $PATH; do
12170 IFS="$lt_save_ifs"
12171 test -z "$ac_dir" && ac_dir=.
12172 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12173 lt_cv_path_LD="$ac_dir/$ac_prog"
12174 # Check to see if the program is GNU ld. I'd rather use --version,
12175 # but apparently some variants of GNU ld only accept -v.
12176 # Break only if it was the GNU/non-GNU ld that we prefer.
12177 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12178 *GNU* | *'with BFD'*)
12179 test "$with_gnu_ld" != no && break
12180 ;;
12181 *)
12182 test "$with_gnu_ld" != yes && break
12183 ;;
12184 esac
12185 fi
12186 done
12187 IFS="$lt_save_ifs"
12188 else
12189 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12190 fi
12191 fi
12192
12193 LD="$lt_cv_path_LD"
12194 if test -n "$LD"; then
12195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12196 $as_echo "$LD" >&6; }
12197 else
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12199 $as_echo "no" >&6; }
12200 fi
12201 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12203 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12204 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12205 $as_echo_n "(cached) " >&6
12206 else
12207 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12208 case `$LD -v 2>&1 </dev/null` in
12209 *GNU* | *'with BFD'*)
12210 lt_cv_prog_gnu_ld=yes
12211 ;;
12212 *)
12213 lt_cv_prog_gnu_ld=no
12214 ;;
12215 esac
12216 fi
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12218 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12219 with_gnu_ld=$lt_cv_prog_gnu_ld
12220
12221
12222
12223
12224
12225
12226
12227 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12228 # archiving commands below assume that GNU ld is being used.
12229 if test "$with_gnu_ld" = yes; then
12230 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12231 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'
12232
12233 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12234 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12235
12236 # If archive_cmds runs LD, not CC, wlarc should be empty
12237 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12238 # investigate it a little bit more. (MM)
12239 wlarc='${wl}'
12240
12241 # ancient GNU ld didn't support --whole-archive et. al.
12242 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12243 $GREP 'no-whole-archive' > /dev/null; then
12244 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12245 else
12246 whole_archive_flag_spec_CXX=
12247 fi
12248 else
12249 with_gnu_ld=no
12250 wlarc=
12251
12252 # A generic and very simple default shared library creation
12253 # command for GNU C++ for the case where it uses the native
12254 # linker, instead of GNU ld. If possible, this setting should
12255 # overridden to take advantage of the native linker features on
12256 # the platform it is being used on.
12257 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12258 fi
12259
12260 # Commands to make compiler produce verbose output that lists
12261 # what "hidden" libraries, object files and flags are used when
12262 # linking a shared library.
12263 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12264
12265 else
12266 GXX=no
12267 with_gnu_ld=no
12268 wlarc=
12269 fi
12270
12271 # PORTME: fill in a description of your system's C++ link characteristics
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12273 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12274 ld_shlibs_CXX=yes
12275 case $host_os in
12276 aix3*)
12277 # FIXME: insert proper C++ library support
12278 ld_shlibs_CXX=no
12279 ;;
12280 aix[4-9]*)
12281 if test "$host_cpu" = ia64; then
12282 # On IA64, the linker does run time linking by default, so we don't
12283 # have to do anything special.
12284 aix_use_runtimelinking=no
12285 exp_sym_flag='-Bexport'
12286 no_entry_flag=""
12287 else
12288 aix_use_runtimelinking=no
12289
12290 # Test if we are trying to use run time linking or normal
12291 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12292 # need to do runtime linking.
12293 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12294 for ld_flag in $LDFLAGS; do
12295 case $ld_flag in
12296 *-brtl*)
12297 aix_use_runtimelinking=yes
12298 break
12299 ;;
12300 esac
12301 done
12302 ;;
12303 esac
12304
12305 exp_sym_flag='-bexport'
12306 no_entry_flag='-bnoentry'
12307 fi
12308
12309 # When large executables or shared objects are built, AIX ld can
12310 # have problems creating the table of contents. If linking a library
12311 # or program results in "error TOC overflow" add -mminimal-toc to
12312 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12313 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12314
12315 archive_cmds_CXX=''
12316 hardcode_direct_CXX=yes
12317 hardcode_direct_absolute_CXX=yes
12318 hardcode_libdir_separator_CXX=':'
12319 link_all_deplibs_CXX=yes
12320 file_list_spec_CXX='${wl}-f,'
12321
12322 if test "$GXX" = yes; then
12323 case $host_os in aix4.[012]|aix4.[012].*)
12324 # We only want to do this on AIX 4.2 and lower, the check
12325 # below for broken collect2 doesn't work under 4.3+
12326 collect2name=`${CC} -print-prog-name=collect2`
12327 if test -f "$collect2name" &&
12328 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12329 then
12330 # We have reworked collect2
12331 :
12332 else
12333 # We have old collect2
12334 hardcode_direct_CXX=unsupported
12335 # It fails to find uninstalled libraries when the uninstalled
12336 # path is not listed in the libpath. Setting hardcode_minus_L
12337 # to unsupported forces relinking
12338 hardcode_minus_L_CXX=yes
12339 hardcode_libdir_flag_spec_CXX='-L$libdir'
12340 hardcode_libdir_separator_CXX=
12341 fi
12342 esac
12343 shared_flag='-shared'
12344 if test "$aix_use_runtimelinking" = yes; then
12345 shared_flag="$shared_flag "'${wl}-G'
12346 fi
12347 else
12348 # not using gcc
12349 if test "$host_cpu" = ia64; then
12350 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12351 # chokes on -Wl,-G. The following line is correct:
12352 shared_flag='-G'
12353 else
12354 if test "$aix_use_runtimelinking" = yes; then
12355 shared_flag='${wl}-G'
12356 else
12357 shared_flag='${wl}-bM:SRE'
12358 fi
12359 fi
12360 fi
12361
12362 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12363 # It seems that -bexpall does not export symbols beginning with
12364 # underscore (_), so it is better to generate a list of symbols to
12365 # export.
12366 always_export_symbols_CXX=yes
12367 if test "$aix_use_runtimelinking" = yes; then
12368 # Warning - without using the other runtime loading flags (-brtl),
12369 # -berok will link without error, but may produce a broken library.
12370 allow_undefined_flag_CXX='-berok'
12371 # Determine the default libpath from the value encoded in an empty
12372 # executable.
12373 if test x$gcc_no_link = xyes; then
12374 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12375 fi
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12378
12379 int
12380 main ()
12381 {
12382
12383 ;
12384 return 0;
12385 }
12386 _ACEOF
12387 if ac_fn_cxx_try_link "$LINENO"; then :
12388
12389 lt_aix_libpath_sed='
12390 /Import File Strings/,/^$/ {
12391 /^0/ {
12392 s/^0 *\(.*\)$/\1/
12393 p
12394 }
12395 }'
12396 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12397 # Check for a 64-bit object if we didn't find anything.
12398 if test -z "$aix_libpath"; then
12399 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12400 fi
12401 fi
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12405
12406 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12407
12408 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"
12409 else
12410 if test "$host_cpu" = ia64; then
12411 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12412 allow_undefined_flag_CXX="-z nodefs"
12413 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"
12414 else
12415 # Determine the default libpath from the value encoded in an
12416 # empty executable.
12417 if test x$gcc_no_link = xyes; then
12418 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12419 fi
12420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12421 /* end confdefs.h. */
12422
12423 int
12424 main ()
12425 {
12426
12427 ;
12428 return 0;
12429 }
12430 _ACEOF
12431 if ac_fn_cxx_try_link "$LINENO"; then :
12432
12433 lt_aix_libpath_sed='
12434 /Import File Strings/,/^$/ {
12435 /^0/ {
12436 s/^0 *\(.*\)$/\1/
12437 p
12438 }
12439 }'
12440 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12441 # Check for a 64-bit object if we didn't find anything.
12442 if test -z "$aix_libpath"; then
12443 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12444 fi
12445 fi
12446 rm -f core conftest.err conftest.$ac_objext \
12447 conftest$ac_exeext conftest.$ac_ext
12448 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12449
12450 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12451 # Warning - without using the other run time loading flags,
12452 # -berok will link without error, but may produce a broken library.
12453 no_undefined_flag_CXX=' ${wl}-bernotok'
12454 allow_undefined_flag_CXX=' ${wl}-berok'
12455 if test "$with_gnu_ld" = yes; then
12456 # We only use this code for GNU lds that support --whole-archive.
12457 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12458 else
12459 # Exported symbols can be pulled into shared objects from archives
12460 whole_archive_flag_spec_CXX='$convenience'
12461 fi
12462 archive_cmds_need_lc_CXX=yes
12463 # This is similar to how AIX traditionally builds its shared
12464 # libraries.
12465 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'
12466 fi
12467 fi
12468 ;;
12469
12470 beos*)
12471 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12472 allow_undefined_flag_CXX=unsupported
12473 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12474 # support --undefined. This deserves some investigation. FIXME
12475 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12476 else
12477 ld_shlibs_CXX=no
12478 fi
12479 ;;
12480
12481 chorus*)
12482 case $cc_basename in
12483 *)
12484 # FIXME: insert proper C++ library support
12485 ld_shlibs_CXX=no
12486 ;;
12487 esac
12488 ;;
12489
12490 cygwin* | mingw* | pw32* | cegcc*)
12491 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12492 # as there is no search path for DLLs.
12493 hardcode_libdir_flag_spec_CXX='-L$libdir'
12494 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12495 allow_undefined_flag_CXX=unsupported
12496 always_export_symbols_CXX=no
12497 enable_shared_with_static_runtimes_CXX=yes
12498
12499 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12500 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'
12501 # If the export-symbols file already is a .def file (1st line
12502 # is EXPORTS), use it as is; otherwise, prepend...
12503 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12504 cp $export_symbols $output_objdir/$soname.def;
12505 else
12506 echo EXPORTS > $output_objdir/$soname.def;
12507 cat $export_symbols >> $output_objdir/$soname.def;
12508 fi~
12509 $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'
12510 else
12511 ld_shlibs_CXX=no
12512 fi
12513 ;;
12514 darwin* | rhapsody*)
12515
12516
12517 archive_cmds_need_lc_CXX=no
12518 hardcode_direct_CXX=no
12519 hardcode_automatic_CXX=yes
12520 hardcode_shlibpath_var_CXX=unsupported
12521 if test "$lt_cv_ld_force_load" = "yes"; then
12522 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\"`'
12523 else
12524 whole_archive_flag_spec_CXX=''
12525 fi
12526 link_all_deplibs_CXX=yes
12527 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12528 case $cc_basename in
12529 ifort*) _lt_dar_can_shared=yes ;;
12530 *) _lt_dar_can_shared=$GCC ;;
12531 esac
12532 if test "$_lt_dar_can_shared" = "yes"; then
12533 output_verbose_link_cmd=func_echo_all
12534 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}"
12535 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12536 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}"
12537 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}"
12538 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12539 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}"
12540 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}"
12541 fi
12542
12543 else
12544 ld_shlibs_CXX=no
12545 fi
12546
12547 ;;
12548
12549 dgux*)
12550 case $cc_basename in
12551 ec++*)
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12554 ;;
12555 ghcx*)
12556 # Green Hills C++ Compiler
12557 # FIXME: insert proper C++ library support
12558 ld_shlibs_CXX=no
12559 ;;
12560 *)
12561 # FIXME: insert proper C++ library support
12562 ld_shlibs_CXX=no
12563 ;;
12564 esac
12565 ;;
12566
12567 freebsd2.*)
12568 # C++ shared libraries reported to be fairly broken before
12569 # switch to ELF
12570 ld_shlibs_CXX=no
12571 ;;
12572
12573 freebsd-elf*)
12574 archive_cmds_need_lc_CXX=no
12575 ;;
12576
12577 freebsd* | dragonfly*)
12578 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12579 # conventions
12580 ld_shlibs_CXX=yes
12581 ;;
12582
12583 gnu*)
12584 ;;
12585
12586 haiku*)
12587 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12588 link_all_deplibs_CXX=yes
12589 ;;
12590
12591 hpux9*)
12592 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12593 hardcode_libdir_separator_CXX=:
12594 export_dynamic_flag_spec_CXX='${wl}-E'
12595 hardcode_direct_CXX=yes
12596 hardcode_minus_L_CXX=yes # Not in the search PATH,
12597 # but as the default
12598 # location of the library.
12599
12600 case $cc_basename in
12601 CC*)
12602 # FIXME: insert proper C++ library support
12603 ld_shlibs_CXX=no
12604 ;;
12605 aCC*)
12606 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'
12607 # Commands to make compiler produce verbose output that lists
12608 # what "hidden" libraries, object files and flags are used when
12609 # linking a shared library.
12610 #
12611 # There doesn't appear to be a way to prevent this compiler from
12612 # explicitly linking system object files so we need to strip them
12613 # from the output so that they don't get included in the library
12614 # dependencies.
12615 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"'
12616 ;;
12617 *)
12618 if test "$GXX" = yes; then
12619 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'
12620 else
12621 # FIXME: insert proper C++ library support
12622 ld_shlibs_CXX=no
12623 fi
12624 ;;
12625 esac
12626 ;;
12627
12628 hpux10*|hpux11*)
12629 if test $with_gnu_ld = no; then
12630 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12631 hardcode_libdir_separator_CXX=:
12632
12633 case $host_cpu in
12634 hppa*64*|ia64*)
12635 ;;
12636 *)
12637 export_dynamic_flag_spec_CXX='${wl}-E'
12638 ;;
12639 esac
12640 fi
12641 case $host_cpu in
12642 hppa*64*|ia64*)
12643 hardcode_direct_CXX=no
12644 hardcode_shlibpath_var_CXX=no
12645 ;;
12646 *)
12647 hardcode_direct_CXX=yes
12648 hardcode_direct_absolute_CXX=yes
12649 hardcode_minus_L_CXX=yes # Not in the search PATH,
12650 # but as the default
12651 # location of the library.
12652 ;;
12653 esac
12654
12655 case $cc_basename in
12656 CC*)
12657 # FIXME: insert proper C++ library support
12658 ld_shlibs_CXX=no
12659 ;;
12660 aCC*)
12661 case $host_cpu in
12662 hppa*64*)
12663 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12664 ;;
12665 ia64*)
12666 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12667 ;;
12668 *)
12669 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12670 ;;
12671 esac
12672 # Commands to make compiler produce verbose output that lists
12673 # what "hidden" libraries, object files and flags are used when
12674 # linking a shared library.
12675 #
12676 # There doesn't appear to be a way to prevent this compiler from
12677 # explicitly linking system object files so we need to strip them
12678 # from the output so that they don't get included in the library
12679 # dependencies.
12680 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"'
12681 ;;
12682 *)
12683 if test "$GXX" = yes; then
12684 if test $with_gnu_ld = no; then
12685 case $host_cpu in
12686 hppa*64*)
12687 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12688 ;;
12689 ia64*)
12690 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12691 ;;
12692 *)
12693 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'
12694 ;;
12695 esac
12696 fi
12697 else
12698 # FIXME: insert proper C++ library support
12699 ld_shlibs_CXX=no
12700 fi
12701 ;;
12702 esac
12703 ;;
12704
12705 interix[3-9]*)
12706 hardcode_direct_CXX=no
12707 hardcode_shlibpath_var_CXX=no
12708 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12709 export_dynamic_flag_spec_CXX='${wl}-E'
12710 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12711 # Instead, shared libraries are loaded at an image base (0x10000000 by
12712 # default) and relocated if they conflict, which is a slow very memory
12713 # consuming and fragmenting process. To avoid this, we pick a random,
12714 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12715 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12716 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'
12717 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'
12718 ;;
12719 irix5* | irix6*)
12720 case $cc_basename in
12721 CC*)
12722 # SGI C++
12723 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'
12724
12725 # Archives containing C++ object files must be created using
12726 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12727 # necessary to make sure instantiated templates are included
12728 # in the archive.
12729 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12730 ;;
12731 *)
12732 if test "$GXX" = yes; then
12733 if test "$with_gnu_ld" = no; then
12734 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'
12735 else
12736 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'
12737 fi
12738 fi
12739 link_all_deplibs_CXX=yes
12740 ;;
12741 esac
12742 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12743 hardcode_libdir_separator_CXX=:
12744 inherit_rpath_CXX=yes
12745 ;;
12746
12747 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12748 case $cc_basename in
12749 KCC*)
12750 # Kuck and Associates, Inc. (KAI) C++ Compiler
12751
12752 # KCC will only create a shared library if the output file
12753 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12754 # to its proper name (with version) after linking.
12755 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'
12756 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'
12757 # Commands to make compiler produce verbose output that lists
12758 # what "hidden" libraries, object files and flags are used when
12759 # linking a shared library.
12760 #
12761 # There doesn't appear to be a way to prevent this compiler from
12762 # explicitly linking system object files so we need to strip them
12763 # from the output so that they don't get included in the library
12764 # dependencies.
12765 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"'
12766
12767 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12768 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12769
12770 # Archives containing C++ object files must be created using
12771 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12772 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12773 ;;
12774 icpc* | ecpc* )
12775 # Intel C++
12776 with_gnu_ld=yes
12777 # version 8.0 and above of icpc choke on multiply defined symbols
12778 # if we add $predep_objects and $postdep_objects, however 7.1 and
12779 # earlier do not add the objects themselves.
12780 case `$CC -V 2>&1` in
12781 *"Version 7."*)
12782 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12783 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'
12784 ;;
12785 *) # Version 8.0 or newer
12786 tmp_idyn=
12787 case $host_cpu in
12788 ia64*) tmp_idyn=' -i_dynamic';;
12789 esac
12790 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12791 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'
12792 ;;
12793 esac
12794 archive_cmds_need_lc_CXX=no
12795 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12796 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12797 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12798 ;;
12799 pgCC* | pgcpp*)
12800 # Portland Group C++ compiler
12801 case `$CC -V` in
12802 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12803 prelink_cmds_CXX='tpldir=Template.dir~
12804 rm -rf $tpldir~
12805 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12806 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12807 old_archive_cmds_CXX='tpldir=Template.dir~
12808 rm -rf $tpldir~
12809 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12810 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12811 $RANLIB $oldlib'
12812 archive_cmds_CXX='tpldir=Template.dir~
12813 rm -rf $tpldir~
12814 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12815 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12816 archive_expsym_cmds_CXX='tpldir=Template.dir~
12817 rm -rf $tpldir~
12818 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12819 $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'
12820 ;;
12821 *) # Version 6 and above use weak symbols
12822 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12823 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'
12824 ;;
12825 esac
12826
12827 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12828 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12829 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'
12830 ;;
12831 cxx*)
12832 # Compaq C++
12833 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12834 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'
12835
12836 runpath_var=LD_RUN_PATH
12837 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12838 hardcode_libdir_separator_CXX=:
12839
12840 # Commands to make compiler produce verbose output that lists
12841 # what "hidden" libraries, object files and flags are used when
12842 # linking a shared library.
12843 #
12844 # There doesn't appear to be a way to prevent this compiler from
12845 # explicitly linking system object files so we need to strip them
12846 # from the output so that they don't get included in the library
12847 # dependencies.
12848 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'
12849 ;;
12850 xl* | mpixl* | bgxl*)
12851 # IBM XL 8.0 on PPC, with GNU ld
12852 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12853 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12854 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12855 if test "x$supports_anon_versioning" = xyes; then
12856 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12857 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12858 echo "local: *; };" >> $output_objdir/$libname.ver~
12859 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12860 fi
12861 ;;
12862 *)
12863 case `$CC -V 2>&1 | sed 5q` in
12864 *Sun\ C*)
12865 # Sun C++ 5.9
12866 no_undefined_flag_CXX=' -zdefs'
12867 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12868 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'
12869 hardcode_libdir_flag_spec_CXX='-R$libdir'
12870 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'
12871 compiler_needs_object_CXX=yes
12872
12873 # Not sure whether something based on
12874 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12875 # would be better.
12876 output_verbose_link_cmd='func_echo_all'
12877
12878 # Archives containing C++ object files must be created using
12879 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12880 # necessary to make sure instantiated templates are included
12881 # in the archive.
12882 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12883 ;;
12884 esac
12885 ;;
12886 esac
12887 ;;
12888
12889 lynxos*)
12890 # FIXME: insert proper C++ library support
12891 ld_shlibs_CXX=no
12892 ;;
12893
12894 m88k*)
12895 # FIXME: insert proper C++ library support
12896 ld_shlibs_CXX=no
12897 ;;
12898
12899 mvs*)
12900 case $cc_basename in
12901 cxx*)
12902 # FIXME: insert proper C++ library support
12903 ld_shlibs_CXX=no
12904 ;;
12905 *)
12906 # FIXME: insert proper C++ library support
12907 ld_shlibs_CXX=no
12908 ;;
12909 esac
12910 ;;
12911
12912 netbsd*)
12913 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12914 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12915 wlarc=
12916 hardcode_libdir_flag_spec_CXX='-R$libdir'
12917 hardcode_direct_CXX=yes
12918 hardcode_shlibpath_var_CXX=no
12919 fi
12920 # Workaround some broken pre-1.5 toolchains
12921 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12922 ;;
12923
12924 *nto* | *qnx*)
12925 ld_shlibs_CXX=yes
12926 ;;
12927
12928 openbsd2*)
12929 # C++ shared libraries are fairly broken
12930 ld_shlibs_CXX=no
12931 ;;
12932
12933 openbsd*)
12934 if test -f /usr/libexec/ld.so; then
12935 hardcode_direct_CXX=yes
12936 hardcode_shlibpath_var_CXX=no
12937 hardcode_direct_absolute_CXX=yes
12938 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12939 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12940 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12941 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12942 export_dynamic_flag_spec_CXX='${wl}-E'
12943 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12944 fi
12945 output_verbose_link_cmd=func_echo_all
12946 else
12947 ld_shlibs_CXX=no
12948 fi
12949 ;;
12950
12951 osf3* | osf4* | osf5*)
12952 case $cc_basename in
12953 KCC*)
12954 # Kuck and Associates, Inc. (KAI) C++ Compiler
12955
12956 # KCC will only create a shared library if the output file
12957 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12958 # to its proper name (with version) after linking.
12959 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'
12960
12961 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12962 hardcode_libdir_separator_CXX=:
12963
12964 # Archives containing C++ object files must be created using
12965 # the KAI C++ compiler.
12966 case $host in
12967 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12968 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12969 esac
12970 ;;
12971 RCC*)
12972 # Rational C++ 2.4.1
12973 # FIXME: insert proper C++ library support
12974 ld_shlibs_CXX=no
12975 ;;
12976 cxx*)
12977 case $host in
12978 osf3*)
12979 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12980 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'
12981 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12982 ;;
12983 *)
12984 allow_undefined_flag_CXX=' -expect_unresolved \*'
12985 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'
12986 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12987 echo "-hidden">> $lib.exp~
12988 $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~
12989 $RM $lib.exp'
12990 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12991 ;;
12992 esac
12993
12994 hardcode_libdir_separator_CXX=:
12995
12996 # Commands to make compiler produce verbose output that lists
12997 # what "hidden" libraries, object files and flags are used when
12998 # linking a shared library.
12999 #
13000 # There doesn't appear to be a way to prevent this compiler from
13001 # explicitly linking system object files so we need to strip them
13002 # from the output so that they don't get included in the library
13003 # dependencies.
13004 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"'
13005 ;;
13006 *)
13007 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13008 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13009 case $host in
13010 osf3*)
13011 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'
13012 ;;
13013 *)
13014 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'
13015 ;;
13016 esac
13017
13018 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13019 hardcode_libdir_separator_CXX=:
13020
13021 # Commands to make compiler produce verbose output that lists
13022 # what "hidden" libraries, object files and flags are used when
13023 # linking a shared library.
13024 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13025
13026 else
13027 # FIXME: insert proper C++ library support
13028 ld_shlibs_CXX=no
13029 fi
13030 ;;
13031 esac
13032 ;;
13033
13034 psos*)
13035 # FIXME: insert proper C++ library support
13036 ld_shlibs_CXX=no
13037 ;;
13038
13039 sunos4*)
13040 case $cc_basename in
13041 CC*)
13042 # Sun C++ 4.x
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13045 ;;
13046 lcc*)
13047 # Lucid
13048 # FIXME: insert proper C++ library support
13049 ld_shlibs_CXX=no
13050 ;;
13051 *)
13052 # FIXME: insert proper C++ library support
13053 ld_shlibs_CXX=no
13054 ;;
13055 esac
13056 ;;
13057
13058 solaris*)
13059 case $cc_basename in
13060 CC*)
13061 # Sun C++ 4.2, 5.x and Centerline C++
13062 archive_cmds_need_lc_CXX=yes
13063 no_undefined_flag_CXX=' -zdefs'
13064 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13065 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13066 $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'
13067
13068 hardcode_libdir_flag_spec_CXX='-R$libdir'
13069 hardcode_shlibpath_var_CXX=no
13070 case $host_os in
13071 solaris2.[0-5] | solaris2.[0-5].*) ;;
13072 *)
13073 # The compiler driver will combine and reorder linker options,
13074 # but understands `-z linker_flag'.
13075 # Supported since Solaris 2.6 (maybe 2.5.1?)
13076 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13077 ;;
13078 esac
13079 link_all_deplibs_CXX=yes
13080
13081 output_verbose_link_cmd='func_echo_all'
13082
13083 # Archives containing C++ object files must be created using
13084 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13085 # necessary to make sure instantiated templates are included
13086 # in the archive.
13087 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13088 ;;
13089 gcx*)
13090 # Green Hills C++ Compiler
13091 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13092
13093 # The C++ compiler must be used to create the archive.
13094 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13095 ;;
13096 *)
13097 # GNU C++ compiler with Solaris linker
13098 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13099 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13100 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13101 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13102 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13103 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13104
13105 # Commands to make compiler produce verbose output that lists
13106 # what "hidden" libraries, object files and flags are used when
13107 # linking a shared library.
13108 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13109 else
13110 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13111 # platform.
13112 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13113 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13114 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13115
13116 # Commands to make compiler produce verbose output that lists
13117 # what "hidden" libraries, object files and flags are used when
13118 # linking a shared library.
13119 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13120 fi
13121
13122 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13123 case $host_os in
13124 solaris2.[0-5] | solaris2.[0-5].*) ;;
13125 *)
13126 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13127 ;;
13128 esac
13129 fi
13130 ;;
13131 esac
13132 ;;
13133
13134 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13135 no_undefined_flag_CXX='${wl}-z,text'
13136 archive_cmds_need_lc_CXX=no
13137 hardcode_shlibpath_var_CXX=no
13138 runpath_var='LD_RUN_PATH'
13139
13140 case $cc_basename in
13141 CC*)
13142 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13143 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13144 ;;
13145 *)
13146 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13147 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13148 ;;
13149 esac
13150 ;;
13151
13152 sysv5* | sco3.2v5* | sco5v6*)
13153 # Note: We can NOT use -z defs as we might desire, because we do not
13154 # link with -lc, and that would cause any symbols used from libc to
13155 # always be unresolved, which means just about no library would
13156 # ever link correctly. If we're not using GNU ld we use -z text
13157 # though, which does catch some bad symbols but isn't as heavy-handed
13158 # as -z defs.
13159 no_undefined_flag_CXX='${wl}-z,text'
13160 allow_undefined_flag_CXX='${wl}-z,nodefs'
13161 archive_cmds_need_lc_CXX=no
13162 hardcode_shlibpath_var_CXX=no
13163 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13164 hardcode_libdir_separator_CXX=':'
13165 link_all_deplibs_CXX=yes
13166 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13167 runpath_var='LD_RUN_PATH'
13168
13169 case $cc_basename in
13170 CC*)
13171 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13173 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13174 '"$old_archive_cmds_CXX"
13175 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13176 '"$reload_cmds_CXX"
13177 ;;
13178 *)
13179 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13180 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13181 ;;
13182 esac
13183 ;;
13184
13185 tandem*)
13186 case $cc_basename in
13187 NCC*)
13188 # NonStop-UX NCC 3.20
13189 # FIXME: insert proper C++ library support
13190 ld_shlibs_CXX=no
13191 ;;
13192 *)
13193 # FIXME: insert proper C++ library support
13194 ld_shlibs_CXX=no
13195 ;;
13196 esac
13197 ;;
13198
13199 vxworks*)
13200 # FIXME: insert proper C++ library support
13201 ld_shlibs_CXX=no
13202 ;;
13203
13204 *)
13205 # FIXME: insert proper C++ library support
13206 ld_shlibs_CXX=no
13207 ;;
13208 esac
13209
13210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13211 $as_echo "$ld_shlibs_CXX" >&6; }
13212 test "$ld_shlibs_CXX" = no && can_build_shared=no
13213
13214 GCC_CXX="$GXX"
13215 LD_CXX="$LD"
13216
13217 ## CAVEAT EMPTOR:
13218 ## There is no encapsulation within the following macros, do not change
13219 ## the running order or otherwise move them around unless you know exactly
13220 ## what you are doing...
13221 # Dependencies to place before and after the object being linked:
13222 predep_objects_CXX=
13223 postdep_objects_CXX=
13224 predeps_CXX=
13225 postdeps_CXX=
13226 compiler_lib_search_path_CXX=
13227
13228 cat > conftest.$ac_ext <<_LT_EOF
13229 class Foo
13230 {
13231 public:
13232 Foo (void) { a = 0; }
13233 private:
13234 int a;
13235 };
13236 _LT_EOF
13237
13238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13239 (eval $ac_compile) 2>&5
13240 ac_status=$?
13241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13242 test $ac_status = 0; }; then
13243 # Parse the compiler output and extract the necessary
13244 # objects, libraries and library flags.
13245
13246 # Sentinel used to keep track of whether or not we are before
13247 # the conftest object file.
13248 pre_test_object_deps_done=no
13249
13250 for p in `eval "$output_verbose_link_cmd"`; do
13251 case $p in
13252
13253 -L* | -R* | -l*)
13254 # Some compilers place space between "-{L,R}" and the path.
13255 # Remove the space.
13256 if test $p = "-L" ||
13257 test $p = "-R"; then
13258 prev=$p
13259 continue
13260 else
13261 prev=
13262 fi
13263
13264 if test "$pre_test_object_deps_done" = no; then
13265 case $p in
13266 -L* | -R*)
13267 # Internal compiler library paths should come after those
13268 # provided the user. The postdeps already come after the
13269 # user supplied libs so there is no need to process them.
13270 if test -z "$compiler_lib_search_path_CXX"; then
13271 compiler_lib_search_path_CXX="${prev}${p}"
13272 else
13273 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13274 fi
13275 ;;
13276 # The "-l" case would never come before the object being
13277 # linked, so don't bother handling this case.
13278 esac
13279 else
13280 if test -z "$postdeps_CXX"; then
13281 postdeps_CXX="${prev}${p}"
13282 else
13283 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13284 fi
13285 fi
13286 ;;
13287
13288 *.$objext)
13289 # This assumes that the test object file only shows up
13290 # once in the compiler output.
13291 if test "$p" = "conftest.$objext"; then
13292 pre_test_object_deps_done=yes
13293 continue
13294 fi
13295
13296 if test "$pre_test_object_deps_done" = no; then
13297 if test -z "$predep_objects_CXX"; then
13298 predep_objects_CXX="$p"
13299 else
13300 predep_objects_CXX="$predep_objects_CXX $p"
13301 fi
13302 else
13303 if test -z "$postdep_objects_CXX"; then
13304 postdep_objects_CXX="$p"
13305 else
13306 postdep_objects_CXX="$postdep_objects_CXX $p"
13307 fi
13308 fi
13309 ;;
13310
13311 *) ;; # Ignore the rest.
13312
13313 esac
13314 done
13315
13316 # Clean up.
13317 rm -f a.out a.exe
13318 else
13319 echo "libtool.m4: error: problem compiling CXX test program"
13320 fi
13321
13322 $RM -f confest.$objext
13323
13324 # PORTME: override above test on systems where it is broken
13325 case $host_os in
13326 interix[3-9]*)
13327 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13328 # hack all around it, let's just trust "g++" to DTRT.
13329 predep_objects_CXX=
13330 postdep_objects_CXX=
13331 postdeps_CXX=
13332 ;;
13333
13334 linux*)
13335 case `$CC -V 2>&1 | sed 5q` in
13336 *Sun\ C*)
13337 # Sun C++ 5.9
13338
13339 # The more standards-conforming stlport4 library is
13340 # incompatible with the Cstd library. Avoid specifying
13341 # it if it's in CXXFLAGS. Ignore libCrun as
13342 # -library=stlport4 depends on it.
13343 case " $CXX $CXXFLAGS " in
13344 *" -library=stlport4 "*)
13345 solaris_use_stlport4=yes
13346 ;;
13347 esac
13348
13349 if test "$solaris_use_stlport4" != yes; then
13350 postdeps_CXX='-library=Cstd -library=Crun'
13351 fi
13352 ;;
13353 esac
13354 ;;
13355
13356 solaris*)
13357 case $cc_basename in
13358 CC*)
13359 # The more standards-conforming stlport4 library is
13360 # incompatible with the Cstd library. Avoid specifying
13361 # it if it's in CXXFLAGS. Ignore libCrun as
13362 # -library=stlport4 depends on it.
13363 case " $CXX $CXXFLAGS " in
13364 *" -library=stlport4 "*)
13365 solaris_use_stlport4=yes
13366 ;;
13367 esac
13368
13369 # Adding this requires a known-good setup of shared libraries for
13370 # Sun compiler versions before 5.6, else PIC objects from an old
13371 # archive will be linked into the output, leading to subtle bugs.
13372 if test "$solaris_use_stlport4" != yes; then
13373 postdeps_CXX='-library=Cstd -library=Crun'
13374 fi
13375 ;;
13376 esac
13377 ;;
13378 esac
13379
13380
13381 case " $postdeps_CXX " in
13382 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13383 esac
13384 compiler_lib_search_dirs_CXX=
13385 if test -n "${compiler_lib_search_path_CXX}"; then
13386 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13387 fi
13388
13389
13390
13391
13392
13393
13394
13395
13396
13397
13398
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419 lt_prog_compiler_wl_CXX=
13420 lt_prog_compiler_pic_CXX=
13421 lt_prog_compiler_static_CXX=
13422
13423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13424 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13425
13426 # C++ specific cases for pic, static, wl, etc.
13427 if test "$GXX" = yes; then
13428 lt_prog_compiler_wl_CXX='-Wl,'
13429 lt_prog_compiler_static_CXX='-static'
13430
13431 case $host_os in
13432 aix*)
13433 # All AIX code is PIC.
13434 if test "$host_cpu" = ia64; then
13435 # AIX 5 now supports IA64 processor
13436 lt_prog_compiler_static_CXX='-Bstatic'
13437 fi
13438 lt_prog_compiler_pic_CXX='-fPIC'
13439 ;;
13440
13441 amigaos*)
13442 case $host_cpu in
13443 powerpc)
13444 # see comment about AmigaOS4 .so support
13445 lt_prog_compiler_pic_CXX='-fPIC'
13446 ;;
13447 m68k)
13448 # FIXME: we need at least 68020 code to build shared libraries, but
13449 # adding the `-m68020' flag to GCC prevents building anything better,
13450 # like `-m68040'.
13451 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13452 ;;
13453 esac
13454 ;;
13455
13456 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13457 # PIC is the default for these OSes.
13458 ;;
13459 mingw* | cygwin* | os2* | pw32* | cegcc*)
13460 # This hack is so that the source file can tell whether it is being
13461 # built for inclusion in a dll (and should export symbols for example).
13462 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13463 # (--disable-auto-import) libraries
13464 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13465 ;;
13466 darwin* | rhapsody*)
13467 # PIC is the default on this platform
13468 # Common symbols not allowed in MH_DYLIB files
13469 lt_prog_compiler_pic_CXX='-fno-common'
13470 ;;
13471 *djgpp*)
13472 # DJGPP does not support shared libraries at all
13473 lt_prog_compiler_pic_CXX=
13474 ;;
13475 haiku*)
13476 # PIC is the default for Haiku.
13477 # The "-static" flag exists, but is broken.
13478 lt_prog_compiler_static_CXX=
13479 ;;
13480 interix[3-9]*)
13481 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13482 # Instead, we relocate shared libraries at runtime.
13483 ;;
13484 sysv4*MP*)
13485 if test -d /usr/nec; then
13486 lt_prog_compiler_pic_CXX=-Kconform_pic
13487 fi
13488 ;;
13489 hpux*)
13490 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13491 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13492 # sets the default TLS model and affects inlining.
13493 case $host_cpu in
13494 hppa*64*)
13495 ;;
13496 *)
13497 lt_prog_compiler_pic_CXX='-fPIC'
13498 ;;
13499 esac
13500 ;;
13501 *qnx* | *nto*)
13502 # QNX uses GNU C++, but need to define -shared option too, otherwise
13503 # it will coredump.
13504 lt_prog_compiler_pic_CXX='-fPIC -shared'
13505 ;;
13506 *)
13507 lt_prog_compiler_pic_CXX='-fPIC'
13508 ;;
13509 esac
13510 else
13511 case $host_os in
13512 aix[4-9]*)
13513 # All AIX code is PIC.
13514 if test "$host_cpu" = ia64; then
13515 # AIX 5 now supports IA64 processor
13516 lt_prog_compiler_static_CXX='-Bstatic'
13517 else
13518 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13519 fi
13520 ;;
13521 chorus*)
13522 case $cc_basename in
13523 cxch68*)
13524 # Green Hills C++ Compiler
13525 # _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"
13526 ;;
13527 esac
13528 ;;
13529 dgux*)
13530 case $cc_basename in
13531 ec++*)
13532 lt_prog_compiler_pic_CXX='-KPIC'
13533 ;;
13534 ghcx*)
13535 # Green Hills C++ Compiler
13536 lt_prog_compiler_pic_CXX='-pic'
13537 ;;
13538 *)
13539 ;;
13540 esac
13541 ;;
13542 freebsd* | dragonfly*)
13543 # FreeBSD uses GNU C++
13544 ;;
13545 hpux9* | hpux10* | hpux11*)
13546 case $cc_basename in
13547 CC*)
13548 lt_prog_compiler_wl_CXX='-Wl,'
13549 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13550 if test "$host_cpu" != ia64; then
13551 lt_prog_compiler_pic_CXX='+Z'
13552 fi
13553 ;;
13554 aCC*)
13555 lt_prog_compiler_wl_CXX='-Wl,'
13556 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13557 case $host_cpu in
13558 hppa*64*|ia64*)
13559 # +Z the default
13560 ;;
13561 *)
13562 lt_prog_compiler_pic_CXX='+Z'
13563 ;;
13564 esac
13565 ;;
13566 *)
13567 ;;
13568 esac
13569 ;;
13570 interix*)
13571 # This is c89, which is MS Visual C++ (no shared libs)
13572 # Anyone wants to do a port?
13573 ;;
13574 irix5* | irix6* | nonstopux*)
13575 case $cc_basename in
13576 CC*)
13577 lt_prog_compiler_wl_CXX='-Wl,'
13578 lt_prog_compiler_static_CXX='-non_shared'
13579 # CC pic flag -KPIC is the default.
13580 ;;
13581 *)
13582 ;;
13583 esac
13584 ;;
13585 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13586 case $cc_basename in
13587 KCC*)
13588 # KAI C++ Compiler
13589 lt_prog_compiler_wl_CXX='--backend -Wl,'
13590 lt_prog_compiler_pic_CXX='-fPIC'
13591 ;;
13592 ecpc* )
13593 # old Intel C++ for x86_64 which still supported -KPIC.
13594 lt_prog_compiler_wl_CXX='-Wl,'
13595 lt_prog_compiler_pic_CXX='-KPIC'
13596 lt_prog_compiler_static_CXX='-static'
13597 ;;
13598 icpc* )
13599 # Intel C++, used to be incompatible with GCC.
13600 # ICC 10 doesn't accept -KPIC any more.
13601 lt_prog_compiler_wl_CXX='-Wl,'
13602 lt_prog_compiler_pic_CXX='-fPIC'
13603 lt_prog_compiler_static_CXX='-static'
13604 ;;
13605 pgCC* | pgcpp*)
13606 # Portland Group C++ compiler
13607 lt_prog_compiler_wl_CXX='-Wl,'
13608 lt_prog_compiler_pic_CXX='-fpic'
13609 lt_prog_compiler_static_CXX='-Bstatic'
13610 ;;
13611 cxx*)
13612 # Compaq C++
13613 # Make sure the PIC flag is empty. It appears that all Alpha
13614 # Linux and Compaq Tru64 Unix objects are PIC.
13615 lt_prog_compiler_pic_CXX=
13616 lt_prog_compiler_static_CXX='-non_shared'
13617 ;;
13618 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13619 # IBM XL 8.0, 9.0 on PPC and BlueGene
13620 lt_prog_compiler_wl_CXX='-Wl,'
13621 lt_prog_compiler_pic_CXX='-qpic'
13622 lt_prog_compiler_static_CXX='-qstaticlink'
13623 ;;
13624 *)
13625 case `$CC -V 2>&1 | sed 5q` in
13626 *Sun\ C*)
13627 # Sun C++ 5.9
13628 lt_prog_compiler_pic_CXX='-KPIC'
13629 lt_prog_compiler_static_CXX='-Bstatic'
13630 lt_prog_compiler_wl_CXX='-Qoption ld '
13631 ;;
13632 esac
13633 ;;
13634 esac
13635 ;;
13636 lynxos*)
13637 ;;
13638 m88k*)
13639 ;;
13640 mvs*)
13641 case $cc_basename in
13642 cxx*)
13643 lt_prog_compiler_pic_CXX='-W c,exportall'
13644 ;;
13645 *)
13646 ;;
13647 esac
13648 ;;
13649 netbsd*)
13650 ;;
13651 *qnx* | *nto*)
13652 # QNX uses GNU C++, but need to define -shared option too, otherwise
13653 # it will coredump.
13654 lt_prog_compiler_pic_CXX='-fPIC -shared'
13655 ;;
13656 osf3* | osf4* | osf5*)
13657 case $cc_basename in
13658 KCC*)
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13660 ;;
13661 RCC*)
13662 # Rational C++ 2.4.1
13663 lt_prog_compiler_pic_CXX='-pic'
13664 ;;
13665 cxx*)
13666 # Digital/Compaq C++
13667 lt_prog_compiler_wl_CXX='-Wl,'
13668 # Make sure the PIC flag is empty. It appears that all Alpha
13669 # Linux and Compaq Tru64 Unix objects are PIC.
13670 lt_prog_compiler_pic_CXX=
13671 lt_prog_compiler_static_CXX='-non_shared'
13672 ;;
13673 *)
13674 ;;
13675 esac
13676 ;;
13677 psos*)
13678 ;;
13679 solaris*)
13680 case $cc_basename in
13681 CC*)
13682 # Sun C++ 4.2, 5.x and Centerline C++
13683 lt_prog_compiler_pic_CXX='-KPIC'
13684 lt_prog_compiler_static_CXX='-Bstatic'
13685 lt_prog_compiler_wl_CXX='-Qoption ld '
13686 ;;
13687 gcx*)
13688 # Green Hills C++ Compiler
13689 lt_prog_compiler_pic_CXX='-PIC'
13690 ;;
13691 *)
13692 ;;
13693 esac
13694 ;;
13695 sunos4*)
13696 case $cc_basename in
13697 CC*)
13698 # Sun C++ 4.x
13699 lt_prog_compiler_pic_CXX='-pic'
13700 lt_prog_compiler_static_CXX='-Bstatic'
13701 ;;
13702 lcc*)
13703 # Lucid
13704 lt_prog_compiler_pic_CXX='-pic'
13705 ;;
13706 *)
13707 ;;
13708 esac
13709 ;;
13710 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13711 case $cc_basename in
13712 CC*)
13713 lt_prog_compiler_wl_CXX='-Wl,'
13714 lt_prog_compiler_pic_CXX='-KPIC'
13715 lt_prog_compiler_static_CXX='-Bstatic'
13716 ;;
13717 esac
13718 ;;
13719 tandem*)
13720 case $cc_basename in
13721 NCC*)
13722 # NonStop-UX NCC 3.20
13723 lt_prog_compiler_pic_CXX='-KPIC'
13724 ;;
13725 *)
13726 ;;
13727 esac
13728 ;;
13729 vxworks*)
13730 ;;
13731 *)
13732 lt_prog_compiler_can_build_shared_CXX=no
13733 ;;
13734 esac
13735 fi
13736
13737 case $host_os in
13738 # For platforms which do not support PIC, -DPIC is meaningless:
13739 *djgpp*)
13740 lt_prog_compiler_pic_CXX=
13741 ;;
13742 *)
13743 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13744 ;;
13745 esac
13746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13747 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13748
13749
13750
13751 #
13752 # Check to make sure the PIC flag actually works.
13753 #
13754 if test -n "$lt_prog_compiler_pic_CXX"; then
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13756 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13757 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13758 $as_echo_n "(cached) " >&6
13759 else
13760 lt_cv_prog_compiler_pic_works_CXX=no
13761 ac_outfile=conftest.$ac_objext
13762 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13763 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13764 # Insert the option either (1) after the last *FLAGS variable, or
13765 # (2) before a word containing "conftest.", or (3) at the end.
13766 # Note that $ac_compile itself does not contain backslashes and begins
13767 # with a dollar sign (not a hyphen), so the echo should work correctly.
13768 # The option is referenced via a variable to avoid confusing sed.
13769 lt_compile=`echo "$ac_compile" | $SED \
13770 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13771 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13772 -e 's:$: $lt_compiler_flag:'`
13773 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13774 (eval "$lt_compile" 2>conftest.err)
13775 ac_status=$?
13776 cat conftest.err >&5
13777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13778 if (exit $ac_status) && test -s "$ac_outfile"; then
13779 # The compiler can only warn and ignore the option if not recognized
13780 # So say no if there are warnings other than the usual output.
13781 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13782 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13783 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13784 lt_cv_prog_compiler_pic_works_CXX=yes
13785 fi
13786 fi
13787 $RM conftest*
13788
13789 fi
13790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13791 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13792
13793 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13794 case $lt_prog_compiler_pic_CXX in
13795 "" | " "*) ;;
13796 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13797 esac
13798 else
13799 lt_prog_compiler_pic_CXX=
13800 lt_prog_compiler_can_build_shared_CXX=no
13801 fi
13802
13803 fi
13804
13805
13806
13807 #
13808 # Check to make sure the static flag actually works.
13809 #
13810 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13812 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13813 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13814 $as_echo_n "(cached) " >&6
13815 else
13816 lt_cv_prog_compiler_static_works_CXX=no
13817 save_LDFLAGS="$LDFLAGS"
13818 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13819 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13820 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13821 # The linker can only warn and ignore the option if not recognized
13822 # So say no if there are warnings
13823 if test -s conftest.err; then
13824 # Append any errors to the config.log.
13825 cat conftest.err 1>&5
13826 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13827 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13828 if diff conftest.exp conftest.er2 >/dev/null; then
13829 lt_cv_prog_compiler_static_works_CXX=yes
13830 fi
13831 else
13832 lt_cv_prog_compiler_static_works_CXX=yes
13833 fi
13834 fi
13835 $RM -r conftest*
13836 LDFLAGS="$save_LDFLAGS"
13837
13838 fi
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13840 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13841
13842 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13843 :
13844 else
13845 lt_prog_compiler_static_CXX=
13846 fi
13847
13848
13849
13850
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13852 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13853 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13854 $as_echo_n "(cached) " >&6
13855 else
13856 lt_cv_prog_compiler_c_o_CXX=no
13857 $RM -r conftest 2>/dev/null
13858 mkdir conftest
13859 cd conftest
13860 mkdir out
13861 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13862
13863 lt_compiler_flag="-o out/conftest2.$ac_objext"
13864 # Insert the option either (1) after the last *FLAGS variable, or
13865 # (2) before a word containing "conftest.", or (3) at the end.
13866 # Note that $ac_compile itself does not contain backslashes and begins
13867 # with a dollar sign (not a hyphen), so the echo should work correctly.
13868 lt_compile=`echo "$ac_compile" | $SED \
13869 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13870 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13871 -e 's:$: $lt_compiler_flag:'`
13872 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13873 (eval "$lt_compile" 2>out/conftest.err)
13874 ac_status=$?
13875 cat out/conftest.err >&5
13876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13877 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13878 then
13879 # The compiler can only warn and ignore the option if not recognized
13880 # So say no if there are warnings
13881 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13882 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13883 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13884 lt_cv_prog_compiler_c_o_CXX=yes
13885 fi
13886 fi
13887 chmod u+w . 2>&5
13888 $RM conftest*
13889 # SGI C++ compiler will create directory out/ii_files/ for
13890 # template instantiation
13891 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13892 $RM out/* && rmdir out
13893 cd ..
13894 $RM -r conftest
13895 $RM conftest*
13896
13897 fi
13898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13899 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13900
13901
13902
13903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13904 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13905 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13906 $as_echo_n "(cached) " >&6
13907 else
13908 lt_cv_prog_compiler_c_o_CXX=no
13909 $RM -r conftest 2>/dev/null
13910 mkdir conftest
13911 cd conftest
13912 mkdir out
13913 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13914
13915 lt_compiler_flag="-o out/conftest2.$ac_objext"
13916 # Insert the option either (1) after the last *FLAGS variable, or
13917 # (2) before a word containing "conftest.", or (3) at the end.
13918 # Note that $ac_compile itself does not contain backslashes and begins
13919 # with a dollar sign (not a hyphen), so the echo should work correctly.
13920 lt_compile=`echo "$ac_compile" | $SED \
13921 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13922 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13923 -e 's:$: $lt_compiler_flag:'`
13924 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13925 (eval "$lt_compile" 2>out/conftest.err)
13926 ac_status=$?
13927 cat out/conftest.err >&5
13928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13929 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13930 then
13931 # The compiler can only warn and ignore the option if not recognized
13932 # So say no if there are warnings
13933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13934 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13935 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13936 lt_cv_prog_compiler_c_o_CXX=yes
13937 fi
13938 fi
13939 chmod u+w . 2>&5
13940 $RM conftest*
13941 # SGI C++ compiler will create directory out/ii_files/ for
13942 # template instantiation
13943 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13944 $RM out/* && rmdir out
13945 cd ..
13946 $RM -r conftest
13947 $RM conftest*
13948
13949 fi
13950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13951 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13952
13953
13954
13955
13956 hard_links="nottested"
13957 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13958 # do not overwrite the value of need_locks provided by the user
13959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13960 $as_echo_n "checking if we can lock with hard links... " >&6; }
13961 hard_links=yes
13962 $RM conftest*
13963 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13964 touch conftest.a
13965 ln conftest.a conftest.b 2>&5 || hard_links=no
13966 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13968 $as_echo "$hard_links" >&6; }
13969 if test "$hard_links" = no; then
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13971 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13972 need_locks=warn
13973 fi
13974 else
13975 need_locks=no
13976 fi
13977
13978
13979
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13981 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13982
13983 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13984 case $host_os in
13985 aix[4-9]*)
13986 # If we're using GNU nm, then we don't want the "-C" option.
13987 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13988 # Also, AIX nm treats weak defined symbols like other global defined
13989 # symbols, whereas GNU nm marks them as "W".
13990 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13991 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'
13992 else
13993 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'
13994 fi
13995 ;;
13996 pw32*)
13997 export_symbols_cmds_CXX="$ltdll_cmds"
13998 ;;
13999 cygwin* | mingw* | cegcc*)
14000 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'
14001 ;;
14002 *)
14003 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14004 ;;
14005 esac
14006 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14007
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14009 $as_echo "$ld_shlibs_CXX" >&6; }
14010 test "$ld_shlibs_CXX" = no && can_build_shared=no
14011
14012 with_gnu_ld_CXX=$with_gnu_ld
14013
14014
14015
14016
14017
14018
14019 #
14020 # Do we need to explicitly link libc?
14021 #
14022 case "x$archive_cmds_need_lc_CXX" in
14023 x|xyes)
14024 # Assume -lc should be added
14025 archive_cmds_need_lc_CXX=yes
14026
14027 if test "$enable_shared" = yes && test "$GCC" = yes; then
14028 case $archive_cmds_CXX in
14029 *'~'*)
14030 # FIXME: we may have to deal with multi-command sequences.
14031 ;;
14032 '$CC '*)
14033 # Test whether the compiler implicitly links with -lc since on some
14034 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14035 # to ld, don't add -lc before -lgcc.
14036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14037 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14038 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14039 $as_echo_n "(cached) " >&6
14040 else
14041 $RM conftest*
14042 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14043
14044 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14045 (eval $ac_compile) 2>&5
14046 ac_status=$?
14047 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14048 test $ac_status = 0; } 2>conftest.err; then
14049 soname=conftest
14050 lib=conftest
14051 libobjs=conftest.$ac_objext
14052 deplibs=
14053 wl=$lt_prog_compiler_wl_CXX
14054 pic_flag=$lt_prog_compiler_pic_CXX
14055 compiler_flags=-v
14056 linker_flags=-v
14057 verstring=
14058 output_objdir=.
14059 libname=conftest
14060 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14061 allow_undefined_flag_CXX=
14062 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14063 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14064 ac_status=$?
14065 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14066 test $ac_status = 0; }
14067 then
14068 lt_cv_archive_cmds_need_lc_CXX=no
14069 else
14070 lt_cv_archive_cmds_need_lc_CXX=yes
14071 fi
14072 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14073 else
14074 cat conftest.err 1>&5
14075 fi
14076 $RM conftest*
14077
14078 fi
14079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14080 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14081 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14082 ;;
14083 esac
14084 fi
14085 ;;
14086 esac
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
14140
14141
14142
14143
14144
14145
14146
14147
14148
14149
14150
14151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14152 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14153
14154 library_names_spec=
14155 libname_spec='lib$name'
14156 soname_spec=
14157 shrext_cmds=".so"
14158 postinstall_cmds=
14159 postuninstall_cmds=
14160 finish_cmds=
14161 finish_eval=
14162 shlibpath_var=
14163 shlibpath_overrides_runpath=unknown
14164 version_type=none
14165 dynamic_linker="$host_os ld.so"
14166 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14167 need_lib_prefix=unknown
14168 hardcode_into_libs=no
14169
14170 # when you set need_version to no, make sure it does not cause -set_version
14171 # flags to be left without arguments
14172 need_version=unknown
14173
14174 case $host_os in
14175 aix3*)
14176 version_type=linux
14177 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14178 shlibpath_var=LIBPATH
14179
14180 # AIX 3 has no versioning support, so we append a major version to the name.
14181 soname_spec='${libname}${release}${shared_ext}$major'
14182 ;;
14183
14184 aix[4-9]*)
14185 version_type=linux
14186 need_lib_prefix=no
14187 need_version=no
14188 hardcode_into_libs=yes
14189 if test "$host_cpu" = ia64; then
14190 # AIX 5 supports IA64
14191 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14192 shlibpath_var=LD_LIBRARY_PATH
14193 else
14194 # With GCC up to 2.95.x, collect2 would create an import file
14195 # for dependence libraries. The import file would start with
14196 # the line `#! .'. This would cause the generated library to
14197 # depend on `.', always an invalid library. This was fixed in
14198 # development snapshots of GCC prior to 3.0.
14199 case $host_os in
14200 aix4 | aix4.[01] | aix4.[01].*)
14201 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14202 echo ' yes '
14203 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14204 :
14205 else
14206 can_build_shared=no
14207 fi
14208 ;;
14209 esac
14210 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14211 # soname into executable. Probably we can add versioning support to
14212 # collect2, so additional links can be useful in future.
14213 if test "$aix_use_runtimelinking" = yes; then
14214 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14215 # instead of lib<name>.a to let people know that these are not
14216 # typical AIX shared libraries.
14217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14218 else
14219 # We preserve .a as extension for shared libraries through AIX4.2
14220 # and later when we are not doing run time linking.
14221 library_names_spec='${libname}${release}.a $libname.a'
14222 soname_spec='${libname}${release}${shared_ext}$major'
14223 fi
14224 shlibpath_var=LIBPATH
14225 fi
14226 ;;
14227
14228 amigaos*)
14229 case $host_cpu in
14230 powerpc)
14231 # Since July 2007 AmigaOS4 officially supports .so libraries.
14232 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14233 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14234 ;;
14235 m68k)
14236 library_names_spec='$libname.ixlibrary $libname.a'
14237 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14238 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'
14239 ;;
14240 esac
14241 ;;
14242
14243 beos*)
14244 library_names_spec='${libname}${shared_ext}'
14245 dynamic_linker="$host_os ld.so"
14246 shlibpath_var=LIBRARY_PATH
14247 ;;
14248
14249 bsdi[45]*)
14250 version_type=linux
14251 need_version=no
14252 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14253 soname_spec='${libname}${release}${shared_ext}$major'
14254 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14255 shlibpath_var=LD_LIBRARY_PATH
14256 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14257 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14258 # the default ld.so.conf also contains /usr/contrib/lib and
14259 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14260 # libtool to hard-code these into programs
14261 ;;
14262
14263 cygwin* | mingw* | pw32* | cegcc*)
14264 version_type=windows
14265 shrext_cmds=".dll"
14266 need_version=no
14267 need_lib_prefix=no
14268
14269 case $GCC,$host_os in
14270 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14271 library_names_spec='$libname.dll.a'
14272 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14273 postinstall_cmds='base_file=`basename \${file}`~
14274 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14275 dldir=$destdir/`dirname \$dlpath`~
14276 test -d \$dldir || mkdir -p \$dldir~
14277 $install_prog $dir/$dlname \$dldir/$dlname~
14278 chmod a+x \$dldir/$dlname~
14279 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14280 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14281 fi'
14282 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14283 dlpath=$dir/\$dldll~
14284 $RM \$dlpath'
14285 shlibpath_overrides_runpath=yes
14286
14287 case $host_os in
14288 cygwin*)
14289 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14290 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14291
14292 ;;
14293 mingw* | cegcc*)
14294 # MinGW DLLs use traditional 'lib' prefix
14295 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14296 ;;
14297 pw32*)
14298 # pw32 DLLs use 'pw' prefix rather than 'lib'
14299 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14300 ;;
14301 esac
14302 ;;
14303
14304 *)
14305 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14306 ;;
14307 esac
14308 dynamic_linker='Win32 ld.exe'
14309 # FIXME: first we should search . and the directory the executable is in
14310 shlibpath_var=PATH
14311 ;;
14312
14313 darwin* | rhapsody*)
14314 dynamic_linker="$host_os dyld"
14315 version_type=darwin
14316 need_lib_prefix=no
14317 need_version=no
14318 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14319 soname_spec='${libname}${release}${major}$shared_ext'
14320 shlibpath_overrides_runpath=yes
14321 shlibpath_var=DYLD_LIBRARY_PATH
14322 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14323
14324 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14325 ;;
14326
14327 dgux*)
14328 version_type=linux
14329 need_lib_prefix=no
14330 need_version=no
14331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14332 soname_spec='${libname}${release}${shared_ext}$major'
14333 shlibpath_var=LD_LIBRARY_PATH
14334 ;;
14335
14336 freebsd* | dragonfly*)
14337 # DragonFly does not have aout. When/if they implement a new
14338 # versioning mechanism, adjust this.
14339 if test -x /usr/bin/objformat; then
14340 objformat=`/usr/bin/objformat`
14341 else
14342 case $host_os in
14343 freebsd[23].*) objformat=aout ;;
14344 *) objformat=elf ;;
14345 esac
14346 fi
14347 version_type=freebsd-$objformat
14348 case $version_type in
14349 freebsd-elf*)
14350 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14351 need_version=no
14352 need_lib_prefix=no
14353 ;;
14354 freebsd-*)
14355 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14356 need_version=yes
14357 ;;
14358 esac
14359 shlibpath_var=LD_LIBRARY_PATH
14360 case $host_os in
14361 freebsd2.*)
14362 shlibpath_overrides_runpath=yes
14363 ;;
14364 freebsd3.[01]* | freebsdelf3.[01]*)
14365 shlibpath_overrides_runpath=yes
14366 hardcode_into_libs=yes
14367 ;;
14368 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14369 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14370 shlibpath_overrides_runpath=no
14371 hardcode_into_libs=yes
14372 ;;
14373 *) # from 4.6 on, and DragonFly
14374 shlibpath_overrides_runpath=yes
14375 hardcode_into_libs=yes
14376 ;;
14377 esac
14378 ;;
14379
14380 gnu*)
14381 version_type=linux
14382 need_lib_prefix=no
14383 need_version=no
14384 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14385 soname_spec='${libname}${release}${shared_ext}$major'
14386 shlibpath_var=LD_LIBRARY_PATH
14387 hardcode_into_libs=yes
14388 ;;
14389
14390 haiku*)
14391 version_type=linux
14392 need_lib_prefix=no
14393 need_version=no
14394 dynamic_linker="$host_os runtime_loader"
14395 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14396 soname_spec='${libname}${release}${shared_ext}$major'
14397 shlibpath_var=LIBRARY_PATH
14398 shlibpath_overrides_runpath=yes
14399 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14400 hardcode_into_libs=yes
14401 ;;
14402
14403 hpux9* | hpux10* | hpux11*)
14404 # Give a soname corresponding to the major version so that dld.sl refuses to
14405 # link against other versions.
14406 version_type=sunos
14407 need_lib_prefix=no
14408 need_version=no
14409 case $host_cpu in
14410 ia64*)
14411 shrext_cmds='.so'
14412 hardcode_into_libs=yes
14413 dynamic_linker="$host_os dld.so"
14414 shlibpath_var=LD_LIBRARY_PATH
14415 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14416 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14417 soname_spec='${libname}${release}${shared_ext}$major'
14418 if test "X$HPUX_IA64_MODE" = X32; then
14419 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14420 else
14421 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14422 fi
14423 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14424 ;;
14425 hppa*64*)
14426 shrext_cmds='.sl'
14427 hardcode_into_libs=yes
14428 dynamic_linker="$host_os dld.sl"
14429 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14430 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14432 soname_spec='${libname}${release}${shared_ext}$major'
14433 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14434 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14435 ;;
14436 *)
14437 shrext_cmds='.sl'
14438 dynamic_linker="$host_os dld.sl"
14439 shlibpath_var=SHLIB_PATH
14440 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14441 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14442 soname_spec='${libname}${release}${shared_ext}$major'
14443 ;;
14444 esac
14445 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14446 postinstall_cmds='chmod 555 $lib'
14447 # or fails outright, so override atomically:
14448 install_override_mode=555
14449 ;;
14450
14451 interix[3-9]*)
14452 version_type=linux
14453 need_lib_prefix=no
14454 need_version=no
14455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14456 soname_spec='${libname}${release}${shared_ext}$major'
14457 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14458 shlibpath_var=LD_LIBRARY_PATH
14459 shlibpath_overrides_runpath=no
14460 hardcode_into_libs=yes
14461 ;;
14462
14463 irix5* | irix6* | nonstopux*)
14464 case $host_os in
14465 nonstopux*) version_type=nonstopux ;;
14466 *)
14467 if test "$lt_cv_prog_gnu_ld" = yes; then
14468 version_type=linux
14469 else
14470 version_type=irix
14471 fi ;;
14472 esac
14473 need_lib_prefix=no
14474 need_version=no
14475 soname_spec='${libname}${release}${shared_ext}$major'
14476 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14477 case $host_os in
14478 irix5* | nonstopux*)
14479 libsuff= shlibsuff=
14480 ;;
14481 *)
14482 case $LD in # libtool.m4 will add one of these switches to LD
14483 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14484 libsuff= shlibsuff= libmagic=32-bit;;
14485 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14486 libsuff=32 shlibsuff=N32 libmagic=N32;;
14487 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14488 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14489 *) libsuff= shlibsuff= libmagic=never-match;;
14490 esac
14491 ;;
14492 esac
14493 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14494 shlibpath_overrides_runpath=no
14495 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14496 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14497 hardcode_into_libs=yes
14498 ;;
14499
14500 # No shared lib support for Linux oldld, aout, or coff.
14501 linux*oldld* | linux*aout* | linux*coff*)
14502 dynamic_linker=no
14503 ;;
14504
14505 # This must be Linux ELF.
14506 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14507 version_type=linux
14508 need_lib_prefix=no
14509 need_version=no
14510 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14511 soname_spec='${libname}${release}${shared_ext}$major'
14512 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14513 shlibpath_var=LD_LIBRARY_PATH
14514 shlibpath_overrides_runpath=no
14515
14516 # Some binutils ld are patched to set DT_RUNPATH
14517 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14518 $as_echo_n "(cached) " >&6
14519 else
14520 lt_cv_shlibpath_overrides_runpath=no
14521 save_LDFLAGS=$LDFLAGS
14522 save_libdir=$libdir
14523 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14524 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14525 if test x$gcc_no_link = xyes; then
14526 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14527 fi
14528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14529 /* end confdefs.h. */
14530
14531 int
14532 main ()
14533 {
14534
14535 ;
14536 return 0;
14537 }
14538 _ACEOF
14539 if ac_fn_cxx_try_link "$LINENO"; then :
14540 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14541 lt_cv_shlibpath_overrides_runpath=yes
14542 fi
14543 fi
14544 rm -f core conftest.err conftest.$ac_objext \
14545 conftest$ac_exeext conftest.$ac_ext
14546 LDFLAGS=$save_LDFLAGS
14547 libdir=$save_libdir
14548
14549 fi
14550
14551 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14552
14553 # This implies no fast_install, which is unacceptable.
14554 # Some rework will be needed to allow for fast_install
14555 # before this can be enabled.
14556 hardcode_into_libs=yes
14557
14558 # Append ld.so.conf contents to the search path
14559 if test -f /etc/ld.so.conf; then
14560 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' ' '`
14561 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14562 fi
14563
14564 # We used to test for /lib/ld.so.1 and disable shared libraries on
14565 # powerpc, because MkLinux only supported shared libraries with the
14566 # GNU dynamic linker. Since this was broken with cross compilers,
14567 # most powerpc-linux boxes support dynamic linking these days and
14568 # people can always --disable-shared, the test was removed, and we
14569 # assume the GNU/Linux dynamic linker is in use.
14570 dynamic_linker='GNU/Linux ld.so'
14571 ;;
14572
14573 netbsd*)
14574 version_type=sunos
14575 need_lib_prefix=no
14576 need_version=no
14577 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14579 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14580 dynamic_linker='NetBSD (a.out) ld.so'
14581 else
14582 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14583 soname_spec='${libname}${release}${shared_ext}$major'
14584 dynamic_linker='NetBSD ld.elf_so'
14585 fi
14586 shlibpath_var=LD_LIBRARY_PATH
14587 shlibpath_overrides_runpath=yes
14588 hardcode_into_libs=yes
14589 ;;
14590
14591 newsos6)
14592 version_type=linux
14593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14594 shlibpath_var=LD_LIBRARY_PATH
14595 shlibpath_overrides_runpath=yes
14596 ;;
14597
14598 *nto* | *qnx*)
14599 version_type=qnx
14600 need_lib_prefix=no
14601 need_version=no
14602 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14603 soname_spec='${libname}${release}${shared_ext}$major'
14604 shlibpath_var=LD_LIBRARY_PATH
14605 shlibpath_overrides_runpath=no
14606 hardcode_into_libs=yes
14607 dynamic_linker='ldqnx.so'
14608 ;;
14609
14610 openbsd*)
14611 version_type=sunos
14612 sys_lib_dlsearch_path_spec="/usr/lib"
14613 need_lib_prefix=no
14614 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14615 case $host_os in
14616 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14617 *) need_version=no ;;
14618 esac
14619 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14620 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14621 shlibpath_var=LD_LIBRARY_PATH
14622 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14623 case $host_os in
14624 openbsd2.[89] | openbsd2.[89].*)
14625 shlibpath_overrides_runpath=no
14626 ;;
14627 *)
14628 shlibpath_overrides_runpath=yes
14629 ;;
14630 esac
14631 else
14632 shlibpath_overrides_runpath=yes
14633 fi
14634 ;;
14635
14636 os2*)
14637 libname_spec='$name'
14638 shrext_cmds=".dll"
14639 need_lib_prefix=no
14640 library_names_spec='$libname${shared_ext} $libname.a'
14641 dynamic_linker='OS/2 ld.exe'
14642 shlibpath_var=LIBPATH
14643 ;;
14644
14645 osf3* | osf4* | osf5*)
14646 version_type=osf
14647 need_lib_prefix=no
14648 need_version=no
14649 soname_spec='${libname}${release}${shared_ext}$major'
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14651 shlibpath_var=LD_LIBRARY_PATH
14652 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14653 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14654 ;;
14655
14656 rdos*)
14657 dynamic_linker=no
14658 ;;
14659
14660 solaris*)
14661 version_type=linux
14662 need_lib_prefix=no
14663 need_version=no
14664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14665 soname_spec='${libname}${release}${shared_ext}$major'
14666 shlibpath_var=LD_LIBRARY_PATH
14667 shlibpath_overrides_runpath=yes
14668 hardcode_into_libs=yes
14669 # ldd complains unless libraries are executable
14670 postinstall_cmds='chmod +x $lib'
14671 ;;
14672
14673 sunos4*)
14674 version_type=sunos
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14676 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14677 shlibpath_var=LD_LIBRARY_PATH
14678 shlibpath_overrides_runpath=yes
14679 if test "$with_gnu_ld" = yes; then
14680 need_lib_prefix=no
14681 fi
14682 need_version=yes
14683 ;;
14684
14685 sysv4 | sysv4.3*)
14686 version_type=linux
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14688 soname_spec='${libname}${release}${shared_ext}$major'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 case $host_vendor in
14691 sni)
14692 shlibpath_overrides_runpath=no
14693 need_lib_prefix=no
14694 runpath_var=LD_RUN_PATH
14695 ;;
14696 siemens)
14697 need_lib_prefix=no
14698 ;;
14699 motorola)
14700 need_lib_prefix=no
14701 need_version=no
14702 shlibpath_overrides_runpath=no
14703 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14704 ;;
14705 esac
14706 ;;
14707
14708 sysv4*MP*)
14709 if test -d /usr/nec ;then
14710 version_type=linux
14711 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14712 soname_spec='$libname${shared_ext}.$major'
14713 shlibpath_var=LD_LIBRARY_PATH
14714 fi
14715 ;;
14716
14717 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14718 version_type=freebsd-elf
14719 need_lib_prefix=no
14720 need_version=no
14721 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14722 soname_spec='${libname}${release}${shared_ext}$major'
14723 shlibpath_var=LD_LIBRARY_PATH
14724 shlibpath_overrides_runpath=yes
14725 hardcode_into_libs=yes
14726 if test "$with_gnu_ld" = yes; then
14727 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14728 else
14729 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14730 case $host_os in
14731 sco3.2v5*)
14732 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14733 ;;
14734 esac
14735 fi
14736 sys_lib_dlsearch_path_spec='/usr/lib'
14737 ;;
14738
14739 tpf*)
14740 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14741 version_type=linux
14742 need_lib_prefix=no
14743 need_version=no
14744 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=no
14747 hardcode_into_libs=yes
14748 ;;
14749
14750 uts4*)
14751 version_type=linux
14752 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14753 soname_spec='${libname}${release}${shared_ext}$major'
14754 shlibpath_var=LD_LIBRARY_PATH
14755 ;;
14756
14757 *)
14758 dynamic_linker=no
14759 ;;
14760 esac
14761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14762 $as_echo "$dynamic_linker" >&6; }
14763 test "$dynamic_linker" = no && can_build_shared=no
14764
14765 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14766 if test "$GCC" = yes; then
14767 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14768 fi
14769
14770 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14771 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14772 fi
14773 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14774 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14775 fi
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
14803
14804
14805
14806
14807
14808
14809
14810
14811
14812
14813
14814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14815 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14816 hardcode_action_CXX=
14817 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14818 test -n "$runpath_var_CXX" ||
14819 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14820
14821 # We can hardcode non-existent directories.
14822 if test "$hardcode_direct_CXX" != no &&
14823 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14824 # have to relink, otherwise we might link with an installed library
14825 # when we should be linking with a yet-to-be-installed one
14826 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14827 test "$hardcode_minus_L_CXX" != no; then
14828 # Linking always hardcodes the temporary library directory.
14829 hardcode_action_CXX=relink
14830 else
14831 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14832 hardcode_action_CXX=immediate
14833 fi
14834 else
14835 # We cannot hardcode anything, or else we can only hardcode existing
14836 # directories.
14837 hardcode_action_CXX=unsupported
14838 fi
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14840 $as_echo "$hardcode_action_CXX" >&6; }
14841
14842 if test "$hardcode_action_CXX" = relink ||
14843 test "$inherit_rpath_CXX" = yes; then
14844 # Fast installation is not supported
14845 enable_fast_install=no
14846 elif test "$shlibpath_overrides_runpath" = yes ||
14847 test "$enable_shared" = no; then
14848 # Fast installation is not necessary
14849 enable_fast_install=needless
14850 fi
14851
14852
14853
14854
14855
14856
14857
14858 fi # test -n "$compiler"
14859
14860 CC=$lt_save_CC
14861 LDCXX=$LD
14862 LD=$lt_save_LD
14863 GCC=$lt_save_GCC
14864 with_gnu_ld=$lt_save_with_gnu_ld
14865 lt_cv_path_LDCXX=$lt_cv_path_LD
14866 lt_cv_path_LD=$lt_save_path_LD
14867 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14868 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14869 fi # test "$_lt_caught_CXX_error" != yes
14870
14871 ac_ext=c
14872 ac_cpp='$CPP $CPPFLAGS'
14873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14876
14877
14878
14879
14880
14881
14882
14883
14884
14885
14886
14887
14888
14889 ac_config_commands="$ac_config_commands libtool"
14890
14891
14892
14893
14894 # Only expand once:
14895
14896
14897
14898
14899
14900 case $host in
14901 *-cygwin* | *-mingw*)
14902 # 'host' will be top-level target in the case of a target lib,
14903 # we must compare to with_cross_host to decide if this is a native
14904 # or cross-compiler and select where to install dlls appropriately.
14905 if test -n "$with_cross_host" &&
14906 test x"$with_cross_host" != x"no"; then
14907 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14908 else
14909 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14910 fi
14911 ;;
14912 *)
14913 lt_host_flags=
14914 ;;
14915 esac
14916
14917
14918
14919
14920
14921
14922 if test "$enable_vtable_verify" = yes; then
14923 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14924 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14925 fi
14926
14927
14928 # libtool variables for C++ shared and position-independent compiles.
14929 #
14930 # Use glibcxx_lt_pic_flag to designate the automake variable
14931 # used to encapsulate the default libtool approach to creating objects
14932 # with position-independent code. Default: -prefer-pic.
14933 #
14934 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14935 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14936 #
14937 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14938 # creating position-independent objects. This varies with the target
14939 # hardware and operating system, but is often: -DPIC -fPIC.
14940 if test "$enable_shared" = yes; then
14941 glibcxx_lt_pic_flag="-prefer-pic"
14942 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14943 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14944
14945 else
14946 glibcxx_lt_pic_flag=
14947 glibcxx_compiler_pic_flag=
14948 glibcxx_compiler_shared_flag=
14949 fi
14950
14951
14952
14953
14954 # Override the libtool's pic_flag and pic_mode.
14955 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14956 # NB: this impacts --with-pic and --without-pic.
14957 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14958 pic_mode='default'
14959
14960 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14961 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14962
14963 # Possibly disable most of the library.
14964 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14965 ## than just ignoring the results. Faster /and/ more correct, win win.
14966
14967 # Check whether --enable-hosted-libstdcxx was given.
14968 if test "${enable_hosted_libstdcxx+set}" = set; then :
14969 enableval=$enable_hosted_libstdcxx;
14970 else
14971 case "$host" in
14972 arm*-*-symbianelf*)
14973 enable_hosted_libstdcxx=no
14974 ;;
14975 *)
14976 enable_hosted_libstdcxx=yes
14977 ;;
14978 esac
14979 fi
14980
14981 if test "$enable_hosted_libstdcxx" = no; then
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14983 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14984 is_hosted=no
14985 hosted_define=0
14986 enable_abi_check=no
14987 enable_libstdcxx_pch=no
14988 else
14989 is_hosted=yes
14990 hosted_define=1
14991 fi
14992
14993
14994 cat >>confdefs.h <<_ACEOF
14995 #define _GLIBCXX_HOSTED $hosted_define
14996 _ACEOF
14997
14998
14999
15000 # Enable descriptive messages to standard output on termination.
15001
15002 # Check whether --enable-libstdcxx-verbose was given.
15003 if test "${enable_libstdcxx_verbose+set}" = set; then :
15004 enableval=$enable_libstdcxx_verbose;
15005 else
15006 enable_libstdcxx_verbose=yes
15007 fi
15008
15009 if test x"$enable_libstdcxx_verbose" = xyes; then
15010 verbose_define=1
15011 else
15012 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15013 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15014 verbose_define=0
15015 fi
15016
15017 cat >>confdefs.h <<_ACEOF
15018 #define _GLIBCXX_VERBOSE $verbose_define
15019 _ACEOF
15020
15021
15022
15023 # Enable compiler support that doesn't require linking.
15024
15025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15026 $as_echo_n "checking for exception model to use... " >&6; }
15027
15028 ac_ext=cpp
15029 ac_cpp='$CXXCPP $CPPFLAGS'
15030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15033
15034 # Check whether --enable-sjlj-exceptions was given.
15035 if test "${enable_sjlj_exceptions+set}" = set; then :
15036 enableval=$enable_sjlj_exceptions;
15037 case "$enableval" in
15038 yes|no|auto) ;;
15039 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15040 esac
15041
15042 else
15043 enable_sjlj_exceptions=auto
15044 fi
15045
15046
15047
15048 if test $enable_sjlj_exceptions = auto; then
15049 # Botheration. Now we've got to detect the exception model. Link tests
15050 # against libgcc.a are problematic since we've not been given proper -L
15051 # bits for single-tree newlib and libgloss.
15052 #
15053 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15054 cat > conftest.$ac_ext << EOF
15055 #line 15055 "configure"
15056 struct S { ~S(); };
15057 void bar();
15058 void foo()
15059 {
15060 S s;
15061 bar();
15062 }
15063 EOF
15064 old_CXXFLAGS="$CXXFLAGS"
15065 CXXFLAGS=-S
15066 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15067 (eval $ac_compile) 2>&5
15068 ac_status=$?
15069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15070 test $ac_status = 0; }; then
15071 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15072 enable_sjlj_exceptions=yes
15073 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15074 enable_sjlj_exceptions=yes
15075 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15076 enable_sjlj_exceptions=no
15077 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15078 enable_sjlj_exceptions=no
15079 fi
15080 fi
15081 CXXFLAGS="$old_CXXFLAGS"
15082 rm -f conftest*
15083 fi
15084
15085 # This is a tad weird, for hysterical raisins. We have to map
15086 # enable/disable to two different models.
15087 case $enable_sjlj_exceptions in
15088 yes)
15089
15090 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15091
15092 ac_exception_model_name=sjlj
15093 ;;
15094 no)
15095 ac_exception_model_name="call frame"
15096 ;;
15097 *)
15098 as_fn_error "unable to detect exception model" "$LINENO" 5
15099 ;;
15100 esac
15101 ac_ext=c
15102 ac_cpp='$CPP $CPPFLAGS'
15103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15106
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15108 $as_echo "$ac_exception_model_name" >&6; }
15109
15110
15111 # Check whether --enable-libstdcxx-pch was given.
15112 if test "${enable_libstdcxx_pch+set}" = set; then :
15113 enableval=$enable_libstdcxx_pch;
15114 case "$enableval" in
15115 yes|no) ;;
15116 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15117 esac
15118
15119 else
15120 enable_libstdcxx_pch=$is_hosted
15121 fi
15122
15123
15124 if test $enable_libstdcxx_pch = yes; then
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15126 $as_echo_n "checking for compiler with PCH support... " >&6; }
15127 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15128 $as_echo_n "(cached) " >&6
15129 else
15130 ac_save_CXXFLAGS="$CXXFLAGS"
15131 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15132
15133 ac_ext=cpp
15134 ac_cpp='$CXXCPP $CPPFLAGS'
15135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15138
15139 echo '#include <math.h>' > conftest.h
15140 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15141 -o conftest.h.gch 1>&5 2>&1 &&
15142 echo '#error "pch failed"' > conftest.h &&
15143 echo '#include "conftest.h"' > conftest.cc &&
15144 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15145 then
15146 glibcxx_cv_prog_CXX_pch=yes
15147 else
15148 glibcxx_cv_prog_CXX_pch=no
15149 fi
15150 rm -f conftest*
15151 CXXFLAGS=$ac_save_CXXFLAGS
15152 ac_ext=c
15153 ac_cpp='$CPP $CPPFLAGS'
15154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15157
15158
15159 fi
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15161 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15162 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15163 fi
15164
15165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15166 $as_echo_n "checking for enabled PCH... " >&6; }
15167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15168 $as_echo "$enable_libstdcxx_pch" >&6; }
15169
15170
15171 if test $enable_libstdcxx_pch = yes; then
15172 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15173 else
15174 glibcxx_PCHFLAGS=""
15175 fi
15176
15177
15178
15179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15180 $as_echo_n "checking for thread model used by GCC... " >&6; }
15181 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15183 $as_echo "$target_thread_file" >&6; }
15184
15185 case $target_thread_file in
15186 aix) thread_header=config/rs6000/gthr-aix.h ;;
15187 dce) thread_header=config/pa/gthr-dce.h ;;
15188 lynx) thread_header=config/gthr-lynx.h ;;
15189 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15190 posix) thread_header=gthr-posix.h ;;
15191 rtems) thread_header=config/gthr-rtems.h ;;
15192 single) thread_header=gthr-single.h ;;
15193 tpf) thread_header=config/s390/gthr-tpf.h ;;
15194 vxworks) thread_header=config/gthr-vxworks.h ;;
15195 win32) thread_header=config/i386/gthr-win32.h ;;
15196 esac
15197
15198
15199
15200
15201
15202 ac_ext=cpp
15203 ac_cpp='$CXXCPP $CPPFLAGS'
15204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15207
15208 old_CXXFLAGS="$CXXFLAGS"
15209
15210 # Do link tests if possible, instead asm tests, limited to some platforms
15211 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15212 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15213 atomic_builtins_link_tests=no
15214 if test x$gcc_no_link != xyes; then
15215 # Can do link tests. Limit to some tested platforms
15216 case "$host" in
15217 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15218 atomic_builtins_link_tests=yes
15219 ;;
15220 esac
15221 fi
15222
15223 if test x$atomic_builtins_link_tests = xyes; then
15224
15225 # Do link tests.
15226
15227 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15228
15229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15230 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15231 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15232 $as_echo_n "(cached) " >&6
15233 else
15234
15235 if test x$gcc_no_link = xyes; then
15236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15237 fi
15238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15239 /* end confdefs.h. */
15240
15241 int
15242 main ()
15243 {
15244 typedef bool atomic_type;
15245 atomic_type c1;
15246 atomic_type c2;
15247 atomic_type c3(0);
15248 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15249 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15250 __ATOMIC_RELAXED);
15251 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15252 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15253
15254 ;
15255 return 0;
15256 }
15257 _ACEOF
15258 if ac_fn_cxx_try_link "$LINENO"; then :
15259 glibcxx_cv_atomic_bool=yes
15260 else
15261 glibcxx_cv_atomic_bool=no
15262 fi
15263 rm -f core conftest.err conftest.$ac_objext \
15264 conftest$ac_exeext conftest.$ac_ext
15265
15266 fi
15267
15268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15269 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15270
15271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15272 $as_echo_n "checking for atomic builtins for short... " >&6; }
15273 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15274 $as_echo_n "(cached) " >&6
15275 else
15276
15277 if test x$gcc_no_link = xyes; then
15278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15279 fi
15280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15281 /* end confdefs.h. */
15282
15283 int
15284 main ()
15285 {
15286 typedef short atomic_type;
15287 atomic_type c1;
15288 atomic_type c2;
15289 atomic_type c3(0);
15290 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15291 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15292 __ATOMIC_RELAXED);
15293 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15294 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15295
15296 ;
15297 return 0;
15298 }
15299 _ACEOF
15300 if ac_fn_cxx_try_link "$LINENO"; then :
15301 glibcxx_cv_atomic_short=yes
15302 else
15303 glibcxx_cv_atomic_short=no
15304 fi
15305 rm -f core conftest.err conftest.$ac_objext \
15306 conftest$ac_exeext conftest.$ac_ext
15307
15308 fi
15309
15310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15311 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15312
15313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15314 $as_echo_n "checking for atomic builtins for int... " >&6; }
15315 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15316 $as_echo_n "(cached) " >&6
15317 else
15318
15319 if test x$gcc_no_link = xyes; then
15320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15321 fi
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15324
15325 int
15326 main ()
15327 {
15328 typedef int atomic_type;
15329 atomic_type c1;
15330 atomic_type c2;
15331 atomic_type c3(0);
15332 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15333 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15334 __ATOMIC_RELAXED);
15335 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15336 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15337
15338 ;
15339 return 0;
15340 }
15341 _ACEOF
15342 if ac_fn_cxx_try_link "$LINENO"; then :
15343 glibcxx_cv_atomic_int=yes
15344 else
15345 glibcxx_cv_atomic_int=no
15346 fi
15347 rm -f core conftest.err conftest.$ac_objext \
15348 conftest$ac_exeext conftest.$ac_ext
15349
15350 fi
15351
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15353 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15354
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15356 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15357 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15358 $as_echo_n "(cached) " >&6
15359 else
15360
15361 if test x$gcc_no_link = xyes; then
15362 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15363 fi
15364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15365 /* end confdefs.h. */
15366
15367 int
15368 main ()
15369 {
15370 typedef long long atomic_type;
15371 atomic_type c1;
15372 atomic_type c2;
15373 atomic_type c3(0);
15374 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15375 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15376 __ATOMIC_RELAXED);
15377 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15378 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15379
15380 ;
15381 return 0;
15382 }
15383 _ACEOF
15384 if ac_fn_cxx_try_link "$LINENO"; then :
15385 glibcxx_cv_atomic_long_long=yes
15386 else
15387 glibcxx_cv_atomic_long_long=no
15388 fi
15389 rm -f core conftest.err conftest.$ac_objext \
15390 conftest$ac_exeext conftest.$ac_ext
15391
15392 fi
15393
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15395 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15396
15397 else
15398
15399 # Do asm tests.
15400
15401 # Compile unoptimized.
15402 CXXFLAGS='-O0 -S'
15403
15404 # Fake what AC_TRY_COMPILE does.
15405
15406 cat > conftest.$ac_ext << EOF
15407 #line 15407 "configure"
15408 int main()
15409 {
15410 typedef bool 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 bool" >&5
15425 $as_echo_n "checking for atomic builtins for bool... " >&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_bool=no
15433 else
15434 glibcxx_cv_atomic_bool=yes
15435 fi
15436 fi
15437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15438 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15439 rm -f conftest*
15440
15441 cat > conftest.$ac_ext << EOF
15442 #line 15442 "configure"
15443 int main()
15444 {
15445 typedef short atomic_type;
15446 atomic_type c1;
15447 atomic_type c2;
15448 atomic_type c3(0);
15449 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15450 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15451 __ATOMIC_RELAXED);
15452 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15453 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15454
15455 return 0;
15456 }
15457 EOF
15458
15459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15460 $as_echo_n "checking for atomic builtins for short... " >&6; }
15461 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15462 (eval $ac_compile) 2>&5
15463 ac_status=$?
15464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15465 test $ac_status = 0; }; then
15466 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15467 glibcxx_cv_atomic_short=no
15468 else
15469 glibcxx_cv_atomic_short=yes
15470 fi
15471 fi
15472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15473 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15474 rm -f conftest*
15475
15476 cat > conftest.$ac_ext << EOF
15477 #line 15477 "configure"
15478 int main()
15479 {
15480 // NB: _Atomic_word not necessarily int.
15481 typedef int 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 int" >&5
15496 $as_echo_n "checking for atomic builtins for int... " >&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_int=no
15504 else
15505 glibcxx_cv_atomic_int=yes
15506 fi
15507 fi
15508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15509 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15510 rm -f conftest*
15511
15512 cat > conftest.$ac_ext << EOF
15513 #line 15513 "configure"
15514 int main()
15515 {
15516 typedef long long atomic_type;
15517 atomic_type c1;
15518 atomic_type c2;
15519 atomic_type c3(0);
15520 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15521 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15522 __ATOMIC_RELAXED);
15523 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15524 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15525
15526 return 0;
15527 }
15528 EOF
15529
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15531 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15532 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15533 (eval $ac_compile) 2>&5
15534 ac_status=$?
15535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15536 test $ac_status = 0; }; then
15537 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15538 glibcxx_cv_atomic_long_long=no
15539 else
15540 glibcxx_cv_atomic_long_long=yes
15541 fi
15542 fi
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15544 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15545 rm -f conftest*
15546
15547 fi
15548
15549 CXXFLAGS="$old_CXXFLAGS"
15550 ac_ext=c
15551 ac_cpp='$CPP $CPPFLAGS'
15552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15555
15556
15557 # Set atomicity_dir to builtins if all but the long long test above passes.
15558 if test $glibcxx_cv_atomic_bool = yes \
15559 && test $glibcxx_cv_atomic_short = yes \
15560 && test $glibcxx_cv_atomic_int = yes; then
15561
15562 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15563
15564 atomicity_dir=cpu/generic/atomicity_builtins
15565 fi
15566
15567 # If still generic, set to mutex.
15568 if test $atomicity_dir = "cpu/generic" ; then
15569 atomicity_dir=cpu/generic/atomicity_mutex
15570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15571 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15572 if test "x$target_thread_file" = xsingle; then
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15574 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15576 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15577 else
15578 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15579 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15580 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15581 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15582 fi
15583 fi
15584
15585
15586
15587
15588 # Fake what AC_TRY_COMPILE does, without linking as this is
15589 # unnecessary for this test.
15590
15591 cat > conftest.$ac_ext << EOF
15592 #line 15592 "configure"
15593 int main()
15594 {
15595 _Decimal32 d1;
15596 _Decimal64 d2;
15597 _Decimal128 d3;
15598 return 0;
15599 }
15600 EOF
15601
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15603 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15604 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15605 (eval $ac_compile) 2>&5
15606 ac_status=$?
15607 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15608 test $ac_status = 0; }; then
15609
15610 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15611
15612 enable_dfp=yes
15613 else
15614 enable_dfp=no
15615 fi
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15617 $as_echo "$enable_dfp" >&6; }
15618 rm -f conftest*
15619
15620
15621
15622
15623 ac_ext=cpp
15624 ac_cpp='$CXXCPP $CPPFLAGS'
15625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15628
15629
15630 # Fake what AC_TRY_COMPILE does, without linking as this is
15631 # unnecessary for this test.
15632
15633 cat > conftest.$ac_ext << EOF
15634 #line 15634 "configure"
15635 template<typename T1, typename T2>
15636 struct same
15637 { typedef T2 type; };
15638
15639 template<typename T>
15640 struct same<T, T>;
15641
15642 int main()
15643 {
15644 typename same<long, __int128>::type i1;
15645 typename same<long long, __int128>::type i2;
15646 }
15647 EOF
15648
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15650 $as_echo_n "checking for __int128... " >&6; }
15651 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15652 (eval $ac_compile) 2>&5
15653 ac_status=$?
15654 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15655 test $ac_status = 0; }; then
15656
15657 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15658
15659 enable_int128=yes
15660 else
15661 enable_int128=no
15662 fi
15663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15664 $as_echo "$enable_int128" >&6; }
15665 rm -f conftest*
15666
15667 cat > conftest.$ac_ext << EOF
15668 #line 15668 "configure"
15669 template<typename T1, typename T2>
15670 struct same
15671 { typedef T2 type; };
15672
15673 template<typename T>
15674 struct same<T, T>;
15675
15676 int main()
15677 {
15678 typename same<double, __float128>::type f1;
15679 typename same<long double, __float128>::type f2;
15680 }
15681 EOF
15682
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15684 $as_echo_n "checking for __float128... " >&6; }
15685 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15686 (eval $ac_compile) 2>&5
15687 ac_status=$?
15688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15689 test $ac_status = 0; }; then
15690
15691 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15692
15693 enable_float128=yes
15694 else
15695 enable_float128=no
15696 fi
15697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15698 $as_echo "$enable_float128" >&6; }
15699 rm -f conftest*
15700
15701 ac_ext=c
15702 ac_cpp='$CPP $CPPFLAGS'
15703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15706
15707
15708
15709 # Checks for compiler support that doesn't require linking.
15710
15711 # All these tests are for C++; save the language and the compiler flags.
15712 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15713 # found in GLIBCXX_CONFIGURE.
15714
15715 ac_ext=cpp
15716 ac_cpp='$CXXCPP $CPPFLAGS'
15717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15720
15721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15722 ac_save_CXXFLAGS="$CXXFLAGS"
15723
15724 # Check for maintainer-mode bits.
15725 if test x"$USE_MAINTAINER_MODE" = xno; then
15726 WERROR=''
15727 else
15728 WERROR='-Werror'
15729 fi
15730
15731 # Check for -ffunction-sections -fdata-sections
15732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15733 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15734 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15736 /* end confdefs.h. */
15737 int foo; void bar() { };
15738 int
15739 main ()
15740 {
15741
15742 ;
15743 return 0;
15744 }
15745 _ACEOF
15746 if ac_fn_cxx_try_compile "$LINENO"; then :
15747 ac_fdsections=yes
15748 else
15749 ac_fdsections=no
15750 fi
15751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15752 if test "$ac_test_CXXFLAGS" = set; then
15753 CXXFLAGS="$ac_save_CXXFLAGS"
15754 else
15755 # this is the suspicious part
15756 CXXFLAGS=''
15757 fi
15758 if test x"$ac_fdsections" = x"yes"; then
15759 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15760 fi
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15762 $as_echo "$ac_fdsections" >&6; }
15763
15764 ac_ext=c
15765 ac_cpp='$CPP $CPPFLAGS'
15766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15769
15770
15771
15772
15773
15774 # Enable all the variable C++ runtime options that don't require linking.
15775
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15777 $as_echo_n "checking for underlying I/O to use... " >&6; }
15778 # Check whether --enable-cstdio was given.
15779 if test "${enable_cstdio+set}" = set; then :
15780 enableval=$enable_cstdio;
15781 case "$enableval" in
15782 stdio) ;;
15783 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15784 esac
15785
15786 else
15787 enable_cstdio=stdio
15788 fi
15789
15790
15791
15792 # Now that libio has been removed, you can have any color you want as long
15793 # as it's black. This is one big no-op until other packages are added, but
15794 # showing the framework never hurts.
15795 case ${enable_cstdio} in
15796 stdio)
15797 CSTDIO_H=config/io/c_io_stdio.h
15798 BASIC_FILE_H=config/io/basic_file_stdio.h
15799 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15801 $as_echo "stdio" >&6; }
15802 ;;
15803 esac
15804
15805
15806
15807
15808
15809
15810 # Check whether --enable-clocale was given.
15811 if test "${enable_clocale+set}" = set; then :
15812 enableval=$enable_clocale;
15813 case "$enableval" in
15814 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15815 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15816 esac
15817
15818 else
15819 enable_clocale=auto
15820 fi
15821
15822
15823
15824 # Deal with gettext issues. Default to not using it (=no) until we detect
15825 # support for it later. Let the user turn it off via --e/d, but let that
15826 # default to on for easier handling.
15827 USE_NLS=no
15828 # Check whether --enable-nls was given.
15829 if test "${enable_nls+set}" = set; then :
15830 enableval=$enable_nls;
15831 else
15832 enable_nls=yes
15833 fi
15834
15835
15836 # Either a known package, or "auto"
15837 if test $enable_clocale = no || test $enable_clocale = yes; then
15838 enable_clocale=auto
15839 fi
15840 enable_clocale_flag=$enable_clocale
15841
15842 # Probe for locale model to use if none specified.
15843 # Default to "generic".
15844 if test $enable_clocale_flag = auto; then
15845 case ${target_os} in
15846 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15847 enable_clocale_flag=gnu
15848 ;;
15849 darwin* | freebsd*)
15850 enable_clocale_flag=darwin
15851 ;;
15852 dragonfly*)
15853 enable_clocale_flag=dragonfly
15854 ;;
15855 openbsd*)
15856 enable_clocale_flag=newlib
15857 ;;
15858 *)
15859 if test x"$with_newlib" = x"yes"; then
15860 enable_clocale_flag=newlib
15861 else
15862 enable_clocale_flag=generic
15863 fi
15864 ;;
15865 esac
15866 fi
15867
15868 # Sanity check model, and test for special functionality.
15869 if test $enable_clocale_flag = gnu; then
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15872
15873 #include <features.h>
15874 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15875 _GLIBCXX_ok
15876 #endif
15877
15878 _ACEOF
15879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15880 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15881 enable_clocale_flag=gnu
15882 else
15883 enable_clocale_flag=generic
15884 fi
15885 rm -f conftest*
15886
15887
15888 # Set it to scream when it hurts.
15889 ac_save_CFLAGS="$CFLAGS"
15890 CFLAGS="-Wimplicit-function-declaration -Werror"
15891
15892 # Use strxfrm_l if available.
15893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15894 /* end confdefs.h. */
15895 #define _GNU_SOURCE 1
15896 #include <string.h>
15897 #include <locale.h>
15898 int
15899 main ()
15900 {
15901 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15902 ;
15903 return 0;
15904 }
15905 _ACEOF
15906 if ac_fn_c_try_compile "$LINENO"; then :
15907
15908 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15909
15910 fi
15911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15912
15913 # Use strerror_l if available.
15914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15915 /* end confdefs.h. */
15916 #define _GNU_SOURCE 1
15917 #include <string.h>
15918 #include <locale.h>
15919 int
15920 main ()
15921 {
15922 __locale_t loc; strerror_l(5, loc);
15923 ;
15924 return 0;
15925 }
15926 _ACEOF
15927 if ac_fn_c_try_compile "$LINENO"; then :
15928
15929 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15930
15931 fi
15932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15933
15934 CFLAGS="$ac_save_CFLAGS"
15935 fi
15936
15937 # Perhaps use strerror_r if available, and strerror_l isn't.
15938 ac_save_CFLAGS="$CFLAGS"
15939 CFLAGS="-Wimplicit-function-declaration -Werror"
15940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15941 /* end confdefs.h. */
15942 #define _GNU_SOURCE 1
15943 #include <string.h>
15944 #include <locale.h>
15945 int
15946 main ()
15947 {
15948 char s[128]; strerror_r(5, s, 128);
15949 ;
15950 return 0;
15951 }
15952 _ACEOF
15953 if ac_fn_c_try_compile "$LINENO"; then :
15954
15955 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15956
15957 fi
15958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15959 CFLAGS="$ac_save_CFLAGS"
15960
15961 # Set configure bits for specified locale package
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15963 $as_echo_n "checking for C locale to use... " >&6; }
15964 case ${enable_clocale_flag} in
15965 generic)
15966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15967 $as_echo "generic" >&6; }
15968
15969 CLOCALE_H=config/locale/generic/c_locale.h
15970 CLOCALE_CC=config/locale/generic/c_locale.cc
15971 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15972 CCOLLATE_CC=config/locale/generic/collate_members.cc
15973 CCTYPE_CC=config/locale/generic/ctype_members.cc
15974 CMESSAGES_H=config/locale/generic/messages_members.h
15975 CMESSAGES_CC=config/locale/generic/messages_members.cc
15976 CMONEY_CC=config/locale/generic/monetary_members.cc
15977 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15978 CTIME_H=config/locale/generic/time_members.h
15979 CTIME_CC=config/locale/generic/time_members.cc
15980 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15981 ;;
15982 darwin)
15983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15984 $as_echo "darwin or freebsd" >&6; }
15985
15986 CLOCALE_H=config/locale/generic/c_locale.h
15987 CLOCALE_CC=config/locale/generic/c_locale.cc
15988 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15989 CCOLLATE_CC=config/locale/generic/collate_members.cc
15990 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15991 CMESSAGES_H=config/locale/generic/messages_members.h
15992 CMESSAGES_CC=config/locale/generic/messages_members.cc
15993 CMONEY_CC=config/locale/generic/monetary_members.cc
15994 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15995 CTIME_H=config/locale/generic/time_members.h
15996 CTIME_CC=config/locale/generic/time_members.cc
15997 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15998 ;;
15999
16000 dragonfly)
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16002 $as_echo "dragonfly" >&6; }
16003
16004 CLOCALE_H=config/locale/generic/c_locale.h
16005 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16006 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16007 CCOLLATE_CC=config/locale/generic/collate_members.cc
16008 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16009 CMESSAGES_H=config/locale/generic/messages_members.h
16010 CMESSAGES_CC=config/locale/generic/messages_members.cc
16011 CMONEY_CC=config/locale/generic/monetary_members.cc
16012 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16013 CTIME_H=config/locale/generic/time_members.h
16014 CTIME_CC=config/locale/generic/time_members.cc
16015 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16016 ;;
16017
16018 gnu)
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16020 $as_echo "gnu" >&6; }
16021
16022 # Declare intention to use gettext, and add support for specific
16023 # languages.
16024 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16025 ALL_LINGUAS="de fr"
16026
16027 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16028 # Extract the first word of "msgfmt", so it can be a program name with args.
16029 set dummy msgfmt; ac_word=$2
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16031 $as_echo_n "checking for $ac_word... " >&6; }
16032 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16033 $as_echo_n "(cached) " >&6
16034 else
16035 if test -n "$check_msgfmt"; then
16036 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16037 else
16038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16039 for as_dir in $PATH
16040 do
16041 IFS=$as_save_IFS
16042 test -z "$as_dir" && as_dir=.
16043 for ac_exec_ext in '' $ac_executable_extensions; do
16044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16045 ac_cv_prog_check_msgfmt="yes"
16046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16047 break 2
16048 fi
16049 done
16050 done
16051 IFS=$as_save_IFS
16052
16053 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16054 fi
16055 fi
16056 check_msgfmt=$ac_cv_prog_check_msgfmt
16057 if test -n "$check_msgfmt"; then
16058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16059 $as_echo "$check_msgfmt" >&6; }
16060 else
16061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16062 $as_echo "no" >&6; }
16063 fi
16064
16065
16066 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16067 USE_NLS=yes
16068 fi
16069 # Export the build objects.
16070 for ling in $ALL_LINGUAS; do \
16071 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16072 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16073 done
16074
16075
16076
16077 CLOCALE_H=config/locale/gnu/c_locale.h
16078 CLOCALE_CC=config/locale/gnu/c_locale.cc
16079 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16080 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16081 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16082 CMESSAGES_H=config/locale/gnu/messages_members.h
16083 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16084 CMONEY_CC=config/locale/gnu/monetary_members.cc
16085 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16086 CTIME_H=config/locale/gnu/time_members.h
16087 CTIME_CC=config/locale/gnu/time_members.cc
16088 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16089 ;;
16090 ieee_1003.1-2001)
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16092 $as_echo "IEEE 1003.1" >&6; }
16093
16094 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16095 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16096 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16097 CCOLLATE_CC=config/locale/generic/collate_members.cc
16098 CCTYPE_CC=config/locale/generic/ctype_members.cc
16099 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16100 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16101 CMONEY_CC=config/locale/generic/monetary_members.cc
16102 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16103 CTIME_H=config/locale/generic/time_members.h
16104 CTIME_CC=config/locale/generic/time_members.cc
16105 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16106 ;;
16107 newlib)
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16109 $as_echo "newlib" >&6; }
16110
16111 CLOCALE_H=config/locale/generic/c_locale.h
16112 CLOCALE_CC=config/locale/generic/c_locale.cc
16113 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16114 CCOLLATE_CC=config/locale/generic/collate_members.cc
16115 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16116 CMESSAGES_H=config/locale/generic/messages_members.h
16117 CMESSAGES_CC=config/locale/generic/messages_members.cc
16118 CMONEY_CC=config/locale/generic/monetary_members.cc
16119 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16120 CTIME_H=config/locale/generic/time_members.h
16121 CTIME_CC=config/locale/generic/time_members.cc
16122 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16123 ;;
16124 esac
16125
16126 # This is where the testsuite looks for locale catalogs, using the
16127 # -DLOCALEDIR define during testsuite compilation.
16128 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16129
16130
16131 # A standalone libintl (e.g., GNU libintl) may be in use.
16132 if test $USE_NLS = yes; then
16133 for ac_header in libintl.h
16134 do :
16135 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16136 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16137 cat >>confdefs.h <<_ACEOF
16138 #define HAVE_LIBINTL_H 1
16139 _ACEOF
16140
16141 else
16142 USE_NLS=no
16143 fi
16144
16145 done
16146
16147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16148 $as_echo_n "checking for library containing gettext... " >&6; }
16149 if test "${ac_cv_search_gettext+set}" = set; then :
16150 $as_echo_n "(cached) " >&6
16151 else
16152 ac_func_search_save_LIBS=$LIBS
16153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16154 /* end confdefs.h. */
16155
16156 /* Override any GCC internal prototype to avoid an error.
16157 Use char because int might match the return type of a GCC
16158 builtin and then its argument prototype would still apply. */
16159 #ifdef __cplusplus
16160 extern "C"
16161 #endif
16162 char gettext ();
16163 int
16164 main ()
16165 {
16166 return gettext ();
16167 ;
16168 return 0;
16169 }
16170 _ACEOF
16171 for ac_lib in '' intl; do
16172 if test -z "$ac_lib"; then
16173 ac_res="none required"
16174 else
16175 ac_res=-l$ac_lib
16176 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16177 fi
16178 if test x$gcc_no_link = xyes; then
16179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16180 fi
16181 if ac_fn_c_try_link "$LINENO"; then :
16182 ac_cv_search_gettext=$ac_res
16183 fi
16184 rm -f core conftest.err conftest.$ac_objext \
16185 conftest$ac_exeext
16186 if test "${ac_cv_search_gettext+set}" = set; then :
16187 break
16188 fi
16189 done
16190 if test "${ac_cv_search_gettext+set}" = set; then :
16191
16192 else
16193 ac_cv_search_gettext=no
16194 fi
16195 rm conftest.$ac_ext
16196 LIBS=$ac_func_search_save_LIBS
16197 fi
16198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16199 $as_echo "$ac_cv_search_gettext" >&6; }
16200 ac_res=$ac_cv_search_gettext
16201 if test "$ac_res" != no; then :
16202 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16203
16204 else
16205 USE_NLS=no
16206 fi
16207
16208 fi
16209 if test $USE_NLS = yes; then
16210
16211 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16212
16213 fi
16214
16215
16216
16217
16218
16219
16220
16221
16222
16223
16224
16225
16226
16227
16228
16229
16230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16231 $as_echo_n "checking for std::allocator base class... " >&6; }
16232 # Check whether --enable-libstdcxx-allocator was given.
16233 if test "${enable_libstdcxx_allocator+set}" = set; then :
16234 enableval=$enable_libstdcxx_allocator;
16235 case "$enableval" in
16236 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16237 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16238 esac
16239
16240 else
16241 enable_libstdcxx_allocator=auto
16242 fi
16243
16244
16245
16246 # If they didn't use this option switch, or if they specified --enable
16247 # with no specific model, we'll have to look for one. If they
16248 # specified --disable (???), do likewise.
16249 if test $enable_libstdcxx_allocator = no ||
16250 test $enable_libstdcxx_allocator = yes;
16251 then
16252 enable_libstdcxx_allocator=auto
16253 fi
16254
16255 # Either a known package, or "auto". Auto implies the default choice
16256 # for a particular platform.
16257 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16258
16259 # Probe for host-specific support if no specific model is specified.
16260 # Default to "new".
16261 if test $enable_libstdcxx_allocator_flag = auto; then
16262 case ${target_os} in
16263 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16264 enable_libstdcxx_allocator_flag=new
16265 ;;
16266 *)
16267 enable_libstdcxx_allocator_flag=new
16268 ;;
16269 esac
16270 fi
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16272 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16273
16274
16275 # Set configure bits for specified locale package
16276 case ${enable_libstdcxx_allocator_flag} in
16277 bitmap)
16278 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16279 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16280 ;;
16281 malloc)
16282 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16283 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16284 ;;
16285 mt)
16286 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16287 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16288 ;;
16289 new)
16290 ALLOCATOR_H=config/allocator/new_allocator_base.h
16291 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16292 ;;
16293 pool)
16294 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16295 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16296 ;;
16297 esac
16298
16299
16300
16301
16302
16303 # Check whether --enable-cheaders was given.
16304 if test "${enable_cheaders+set}" = set; then :
16305 enableval=$enable_cheaders;
16306 case "$enableval" in
16307 c|c_std|c_global) ;;
16308 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16309 esac
16310
16311 else
16312 enable_cheaders=$c_model
16313 fi
16314
16315
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16317 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16318
16319 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16320
16321 # Allow overrides to configure.host here.
16322 if test $enable_cheaders = c_global; then
16323 c_compatibility=yes
16324 fi
16325
16326
16327
16328
16329
16330
16331
16332 # Check whether --enable-long-long was given.
16333 if test "${enable_long_long+set}" = set; then :
16334 enableval=$enable_long_long;
16335 case "$enableval" in
16336 yes|no) ;;
16337 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16338 esac
16339
16340 else
16341 enable_long_long=yes
16342 fi
16343
16344
16345 if test $enable_long_long = yes; then
16346
16347 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16348
16349 fi
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16351 $as_echo_n "checking for enabled long long specializations... " >&6; }
16352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16353 $as_echo "$enable_long_long" >&6; }
16354
16355
16356 # Check whether --enable-wchar_t was given.
16357 if test "${enable_wchar_t+set}" = set; then :
16358 enableval=$enable_wchar_t;
16359 case "$enableval" in
16360 yes|no) ;;
16361 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16362 esac
16363
16364 else
16365 enable_wchar_t=yes
16366 fi
16367
16368
16369
16370 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16371 for ac_header in wchar.h
16372 do :
16373 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16374 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16375 cat >>confdefs.h <<_ACEOF
16376 #define HAVE_WCHAR_H 1
16377 _ACEOF
16378 ac_has_wchar_h=yes
16379 else
16380 ac_has_wchar_h=no
16381 fi
16382
16383 done
16384
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16386 $as_echo_n "checking for mbstate_t... " >&6; }
16387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16388 /* end confdefs.h. */
16389 #include <wchar.h>
16390 int
16391 main ()
16392 {
16393 mbstate_t teststate;
16394 ;
16395 return 0;
16396 }
16397 _ACEOF
16398 if ac_fn_c_try_compile "$LINENO"; then :
16399 have_mbstate_t=yes
16400 else
16401 have_mbstate_t=no
16402 fi
16403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16405 $as_echo "$have_mbstate_t" >&6; }
16406 if test x"$have_mbstate_t" = xyes; then
16407
16408 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16409
16410 fi
16411
16412 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16413 # ac_has_wchar_h.
16414 for ac_header in wctype.h
16415 do :
16416 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16417 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16418 cat >>confdefs.h <<_ACEOF
16419 #define HAVE_WCTYPE_H 1
16420 _ACEOF
16421 ac_has_wctype_h=yes
16422 else
16423 ac_has_wctype_h=no
16424 fi
16425
16426 done
16427
16428
16429 if test x"$enable_wchar_t" = x"yes"; then
16430
16431
16432 ac_ext=cpp
16433 ac_cpp='$CXXCPP $CPPFLAGS'
16434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16437
16438
16439 if test x"$ac_has_wchar_h" = xyes &&
16440 test x"$ac_has_wctype_h" = xyes; then
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443 #include <wchar.h>
16444 #include <stddef.h>
16445 wint_t i;
16446 long l = WEOF;
16447 long j = WCHAR_MIN;
16448 long k = WCHAR_MAX;
16449 namespace test
16450 {
16451 using ::btowc;
16452 using ::fgetwc;
16453 using ::fgetws;
16454 using ::fputwc;
16455 using ::fputws;
16456 using ::fwide;
16457 using ::fwprintf;
16458 using ::fwscanf;
16459 using ::getwc;
16460 using ::getwchar;
16461 using ::mbrlen;
16462 using ::mbrtowc;
16463 using ::mbsinit;
16464 using ::mbsrtowcs;
16465 using ::putwc;
16466 using ::putwchar;
16467 using ::swprintf;
16468 using ::swscanf;
16469 using ::ungetwc;
16470 using ::vfwprintf;
16471 using ::vswprintf;
16472 using ::vwprintf;
16473 using ::wcrtomb;
16474 using ::wcscat;
16475 using ::wcschr;
16476 using ::wcscmp;
16477 using ::wcscoll;
16478 using ::wcscpy;
16479 using ::wcscspn;
16480 using ::wcsftime;
16481 using ::wcslen;
16482 using ::wcsncat;
16483 using ::wcsncmp;
16484 using ::wcsncpy;
16485 using ::wcspbrk;
16486 using ::wcsrchr;
16487 using ::wcsrtombs;
16488 using ::wcsspn;
16489 using ::wcsstr;
16490 using ::wcstod;
16491 using ::wcstok;
16492 using ::wcstol;
16493 using ::wcstoul;
16494 using ::wcsxfrm;
16495 using ::wctob;
16496 using ::wmemchr;
16497 using ::wmemcmp;
16498 using ::wmemcpy;
16499 using ::wmemmove;
16500 using ::wmemset;
16501 using ::wprintf;
16502 using ::wscanf;
16503 }
16504
16505 int
16506 main ()
16507 {
16508
16509 ;
16510 return 0;
16511 }
16512 _ACEOF
16513 if ac_fn_cxx_try_compile "$LINENO"; then :
16514
16515 else
16516 enable_wchar_t=no
16517 fi
16518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16519 else
16520 enable_wchar_t=no
16521 fi
16522
16523 ac_ext=c
16524 ac_cpp='$CPP $CPPFLAGS'
16525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16528
16529 fi
16530
16531 if test x"$enable_wchar_t" = x"yes"; then
16532
16533 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16534
16535 fi
16536
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16538 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16540 $as_echo "$enable_wchar_t" >&6; }
16541
16542
16543
16544 # Check whether --enable-c99 was given.
16545 if test "${enable_c99+set}" = set; then :
16546 enableval=$enable_c99;
16547 case "$enableval" in
16548 yes|no) ;;
16549 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16550 esac
16551
16552 else
16553 enable_c99=yes
16554 fi
16555
16556
16557
16558 if test x"$enable_c99" = x"yes"; then
16559
16560
16561 ac_ext=cpp
16562 ac_cpp='$CXXCPP $CPPFLAGS'
16563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16566
16567
16568 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16569 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16570 # spuriously enabled.
16571 # Long term, -std=c++0x could be even better, could manage to explicitly
16572 # request C99 facilities to the underlying C headers.
16573 ac_save_CXXFLAGS="$CXXFLAGS"
16574 CXXFLAGS="$CXXFLAGS -std=c++98"
16575 ac_save_LIBS="$LIBS"
16576 ac_save_gcc_no_link="$gcc_no_link"
16577
16578 if test x$gcc_no_link != xyes; then
16579 # Use -fno-exceptions to that the C driver can link these tests without
16580 # hitting undefined references to personality routines.
16581 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16583 $as_echo_n "checking for sin in -lm... " >&6; }
16584 if test "${ac_cv_lib_m_sin+set}" = set; then :
16585 $as_echo_n "(cached) " >&6
16586 else
16587 ac_check_lib_save_LIBS=$LIBS
16588 LIBS="-lm $LIBS"
16589 if test x$gcc_no_link = xyes; then
16590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16591 fi
16592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16593 /* end confdefs.h. */
16594
16595 /* Override any GCC internal prototype to avoid an error.
16596 Use char because int might match the return type of a GCC
16597 builtin and then its argument prototype would still apply. */
16598 #ifdef __cplusplus
16599 extern "C"
16600 #endif
16601 char sin ();
16602 int
16603 main ()
16604 {
16605 return sin ();
16606 ;
16607 return 0;
16608 }
16609 _ACEOF
16610 if ac_fn_cxx_try_link "$LINENO"; then :
16611 ac_cv_lib_m_sin=yes
16612 else
16613 ac_cv_lib_m_sin=no
16614 fi
16615 rm -f core conftest.err conftest.$ac_objext \
16616 conftest$ac_exeext conftest.$ac_ext
16617 LIBS=$ac_check_lib_save_LIBS
16618 fi
16619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16620 $as_echo "$ac_cv_lib_m_sin" >&6; }
16621 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16622
16623 LIBS="$LIBS -lm"
16624
16625 else
16626
16627 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16628 gcc_no_link=yes
16629
16630 fi
16631
16632 fi
16633
16634 # Check for the existence of <math.h> functions used if C99 is enabled.
16635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16636 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16637 if test "${glibcxx_cv_c99_math+set}" = set; then :
16638 $as_echo_n "(cached) " >&6
16639 else
16640
16641 if test x$gcc_no_link = xyes; then
16642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16643 /* end confdefs.h. */
16644 #include <math.h>
16645 volatile double d1, d2;
16646 volatile int i;
16647 int
16648 main ()
16649 {
16650 i = fpclassify(d1);
16651 i = isfinite(d1);
16652 i = isinf(d1);
16653 i = isnan(d1);
16654 i = isnormal(d1);
16655 i = signbit(d1);
16656 i = isgreater(d1, d2);
16657 i = isgreaterequal(d1, d2);
16658 i = isless(d1, d2);
16659 i = islessequal(d1, d2);
16660 i = islessgreater(d1, d2);
16661 i = islessgreater(d1, d2);
16662 i = isunordered(d1, d2);
16663
16664 ;
16665 return 0;
16666 }
16667 _ACEOF
16668 if ac_fn_cxx_try_compile "$LINENO"; then :
16669 glibcxx_cv_c99_math=yes
16670 else
16671 glibcxx_cv_c99_math=no
16672 fi
16673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16674 else
16675 if test x$gcc_no_link = xyes; then
16676 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16677 fi
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16680 #include <math.h>
16681 volatile double d1, d2;
16682 volatile int i;
16683 int
16684 main ()
16685 {
16686 i = fpclassify(d1);
16687 i = isfinite(d1);
16688 i = isinf(d1);
16689 i = isnan(d1);
16690 i = isnormal(d1);
16691 i = signbit(d1);
16692 i = isgreater(d1, d2);
16693 i = isgreaterequal(d1, d2);
16694 i = isless(d1, d2);
16695 i = islessequal(d1, d2);
16696 i = islessgreater(d1, d2);
16697 i = islessgreater(d1, d2);
16698 i = isunordered(d1, d2);
16699
16700 ;
16701 return 0;
16702 }
16703 _ACEOF
16704 if ac_fn_cxx_try_link "$LINENO"; then :
16705 glibcxx_cv_c99_math=yes
16706 else
16707 glibcxx_cv_c99_math=no
16708 fi
16709 rm -f core conftest.err conftest.$ac_objext \
16710 conftest$ac_exeext conftest.$ac_ext
16711 fi
16712
16713 fi
16714
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16716 $as_echo "$glibcxx_cv_c99_math" >&6; }
16717 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16718
16719 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16720
16721 fi
16722
16723 # Check for the existence of <complex.h> complex math functions.
16724 # This is necessary even though libstdc++ uses the builtin versions
16725 # of these functions, because if the builtin cannot be used, a reference
16726 # to the library function is emitted.
16727 for ac_header in tgmath.h
16728 do :
16729 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16730 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16731 cat >>confdefs.h <<_ACEOF
16732 #define HAVE_TGMATH_H 1
16733 _ACEOF
16734 ac_has_tgmath_h=yes
16735 else
16736 ac_has_tgmath_h=no
16737 fi
16738
16739 done
16740
16741 for ac_header in complex.h
16742 do :
16743 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16744 if test "x$ac_cv_header_complex_h" = x""yes; then :
16745 cat >>confdefs.h <<_ACEOF
16746 #define HAVE_COMPLEX_H 1
16747 _ACEOF
16748 ac_has_complex_h=yes
16749 else
16750 ac_has_complex_h=no
16751 fi
16752
16753 done
16754
16755 glibcxx_cv_c99_complex=no;
16756 if test x"$ac_has_complex_h" = x"yes"; then
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16758 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16759 if test x$gcc_no_link = xyes; then
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16762 #include <complex.h>
16763 typedef __complex__ float float_type;
16764 typedef __complex__ double double_type;
16765 typedef __complex__ long double ld_type;
16766 volatile float_type tmpf;
16767 volatile double_type tmpd;
16768 volatile ld_type tmpld;
16769 volatile float f;
16770 volatile double d;
16771 volatile long double ld;
16772 int
16773 main ()
16774 {
16775 f = cabsf(tmpf);
16776 f = cargf(tmpf);
16777 tmpf = ccosf(tmpf);
16778 tmpf = ccoshf(tmpf);
16779 tmpf = cexpf(tmpf);
16780 tmpf = clogf(tmpf);
16781 tmpf = csinf(tmpf);
16782 tmpf = csinhf(tmpf);
16783 tmpf = csqrtf(tmpf);
16784 tmpf = ctanf(tmpf);
16785 tmpf = ctanhf(tmpf);
16786 tmpf = cpowf(tmpf, tmpf);
16787 tmpf = cprojf(tmpf);
16788 d = cabs(tmpd);
16789 d = carg(tmpd);
16790 tmpd = ccos(tmpd);
16791 tmpd = ccosh(tmpd);
16792 tmpd = cexp(tmpd);
16793 tmpd = clog(tmpd);
16794 tmpd = csin(tmpd);
16795 tmpd = csinh(tmpd);
16796 tmpd = csqrt(tmpd);
16797 tmpd = ctan(tmpd);
16798 tmpd = ctanh(tmpd);
16799 tmpd = cpow(tmpd, tmpd);
16800 tmpd = cproj(tmpd);
16801 ld = cabsl(tmpld);
16802 ld = cargl(tmpld);
16803 tmpld = ccosl(tmpld);
16804 tmpld = ccoshl(tmpld);
16805 tmpld = cexpl(tmpld);
16806 tmpld = clogl(tmpld);
16807 tmpld = csinl(tmpld);
16808 tmpld = csinhl(tmpld);
16809 tmpld = csqrtl(tmpld);
16810 tmpld = ctanl(tmpld);
16811 tmpld = ctanhl(tmpld);
16812 tmpld = cpowl(tmpld, tmpld);
16813 tmpld = cprojl(tmpld);
16814
16815 ;
16816 return 0;
16817 }
16818 _ACEOF
16819 if ac_fn_cxx_try_compile "$LINENO"; then :
16820 glibcxx_cv_c99_complex=yes
16821 else
16822 glibcxx_cv_c99_complex=no
16823 fi
16824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16825 else
16826 if test x$gcc_no_link = xyes; then
16827 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16828 fi
16829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16830 /* end confdefs.h. */
16831 #include <complex.h>
16832 typedef __complex__ float float_type;
16833 typedef __complex__ double double_type;
16834 typedef __complex__ long double ld_type;
16835 volatile float_type tmpf;
16836 volatile double_type tmpd;
16837 volatile ld_type tmpld;
16838 volatile float f;
16839 volatile double d;
16840 volatile long double ld;
16841 int
16842 main ()
16843 {
16844 f = cabsf(tmpf);
16845 f = cargf(tmpf);
16846 tmpf = ccosf(tmpf);
16847 tmpf = ccoshf(tmpf);
16848 tmpf = cexpf(tmpf);
16849 tmpf = clogf(tmpf);
16850 tmpf = csinf(tmpf);
16851 tmpf = csinhf(tmpf);
16852 tmpf = csqrtf(tmpf);
16853 tmpf = ctanf(tmpf);
16854 tmpf = ctanhf(tmpf);
16855 tmpf = cpowf(tmpf, tmpf);
16856 tmpf = cprojf(tmpf);
16857 d = cabs(tmpd);
16858 d = carg(tmpd);
16859 tmpd = ccos(tmpd);
16860 tmpd = ccosh(tmpd);
16861 tmpd = cexp(tmpd);
16862 tmpd = clog(tmpd);
16863 tmpd = csin(tmpd);
16864 tmpd = csinh(tmpd);
16865 tmpd = csqrt(tmpd);
16866 tmpd = ctan(tmpd);
16867 tmpd = ctanh(tmpd);
16868 tmpd = cpow(tmpd, tmpd);
16869 tmpd = cproj(tmpd);
16870 ld = cabsl(tmpld);
16871 ld = cargl(tmpld);
16872 tmpld = ccosl(tmpld);
16873 tmpld = ccoshl(tmpld);
16874 tmpld = cexpl(tmpld);
16875 tmpld = clogl(tmpld);
16876 tmpld = csinl(tmpld);
16877 tmpld = csinhl(tmpld);
16878 tmpld = csqrtl(tmpld);
16879 tmpld = ctanl(tmpld);
16880 tmpld = ctanhl(tmpld);
16881 tmpld = cpowl(tmpld, tmpld);
16882 tmpld = cprojl(tmpld);
16883
16884 ;
16885 return 0;
16886 }
16887 _ACEOF
16888 if ac_fn_cxx_try_link "$LINENO"; then :
16889 glibcxx_cv_c99_complex=yes
16890 else
16891 glibcxx_cv_c99_complex=no
16892 fi
16893 rm -f core conftest.err conftest.$ac_objext \
16894 conftest$ac_exeext conftest.$ac_ext
16895 fi
16896 fi
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16898 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16899 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16900
16901 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16902
16903 fi
16904
16905 # Check for the existence in <stdio.h> of vscanf, et. al.
16906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16907 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16908 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16909 $as_echo_n "(cached) " >&6
16910 else
16911
16912 if test x$gcc_no_link = xyes; then
16913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16914 /* end confdefs.h. */
16915 #include <stdio.h>
16916 #include <stdarg.h>
16917 void foo(char* fmt, ...)
16918 {
16919 va_list args; va_start(args, fmt);
16920 vfscanf(stderr, "%i", args);
16921 vscanf("%i", args);
16922 vsnprintf(fmt, 0, "%i", args);
16923 vsscanf(fmt, "%i", args);
16924 snprintf(fmt, 0, "%i");
16925 }
16926 int
16927 main ()
16928 {
16929
16930 ;
16931 return 0;
16932 }
16933 _ACEOF
16934 if ac_fn_cxx_try_compile "$LINENO"; then :
16935 glibcxx_cv_c99_stdio=yes
16936 else
16937 glibcxx_cv_c99_stdio=no
16938 fi
16939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16940 else
16941 if test x$gcc_no_link = xyes; then
16942 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16943 fi
16944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16945 /* end confdefs.h. */
16946 #include <stdio.h>
16947 #include <stdarg.h>
16948 void foo(char* fmt, ...)
16949 {
16950 va_list args; va_start(args, fmt);
16951 vfscanf(stderr, "%i", args);
16952 vscanf("%i", args);
16953 vsnprintf(fmt, 0, "%i", args);
16954 vsscanf(fmt, "%i", args);
16955 snprintf(fmt, 0, "%i");
16956 }
16957 int
16958 main ()
16959 {
16960
16961 ;
16962 return 0;
16963 }
16964 _ACEOF
16965 if ac_fn_cxx_try_link "$LINENO"; then :
16966 glibcxx_cv_c99_stdio=yes
16967 else
16968 glibcxx_cv_c99_stdio=no
16969 fi
16970 rm -f core conftest.err conftest.$ac_objext \
16971 conftest$ac_exeext conftest.$ac_ext
16972 fi
16973
16974 fi
16975
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16977 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16978
16979 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16981 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16982 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16983 $as_echo_n "(cached) " >&6
16984 else
16985
16986 if test x$gcc_no_link = xyes; then
16987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16988 /* end confdefs.h. */
16989 #include <stdlib.h>
16990 volatile float f;
16991 volatile long double ld;
16992 volatile unsigned long long ll;
16993 lldiv_t mydivt;
16994 int
16995 main ()
16996 {
16997 char* tmp;
16998 f = strtof("gnu", &tmp);
16999 ld = strtold("gnu", &tmp);
17000 ll = strtoll("gnu", &tmp, 10);
17001 ll = strtoull("gnu", &tmp, 10);
17002 ll = llabs(10);
17003 mydivt = lldiv(10,1);
17004 ll = mydivt.quot;
17005 ll = mydivt.rem;
17006 ll = atoll("10");
17007 _Exit(0);
17008
17009 ;
17010 return 0;
17011 }
17012 _ACEOF
17013 if ac_fn_cxx_try_compile "$LINENO"; then :
17014 glibcxx_cv_c99_stdlib=yes
17015 else
17016 glibcxx_cv_c99_stdlib=no
17017 fi
17018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17019 else
17020 if test x$gcc_no_link = xyes; then
17021 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17022 fi
17023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17024 /* end confdefs.h. */
17025 #include <stdlib.h>
17026 volatile float f;
17027 volatile long double ld;
17028 volatile unsigned long long ll;
17029 lldiv_t mydivt;
17030 int
17031 main ()
17032 {
17033 char* tmp;
17034 f = strtof("gnu", &tmp);
17035 ld = strtold("gnu", &tmp);
17036 ll = strtoll("gnu", &tmp, 10);
17037 ll = strtoull("gnu", &tmp, 10);
17038 ll = llabs(10);
17039 mydivt = lldiv(10,1);
17040 ll = mydivt.quot;
17041 ll = mydivt.rem;
17042 ll = atoll("10");
17043 _Exit(0);
17044
17045 ;
17046 return 0;
17047 }
17048 _ACEOF
17049 if ac_fn_cxx_try_link "$LINENO"; then :
17050 glibcxx_cv_c99_stdlib=yes
17051 else
17052 glibcxx_cv_c99_stdlib=no
17053 fi
17054 rm -f core conftest.err conftest.$ac_objext \
17055 conftest$ac_exeext conftest.$ac_ext
17056 fi
17057
17058 fi
17059
17060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17061 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17062
17063 # Check for the existence in <wchar.h> of wcstold, etc.
17064 glibcxx_cv_c99_wchar=no;
17065 if test x"$ac_has_wchar_h" = xyes &&
17066 test x"$ac_has_wctype_h" = xyes; then
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17068 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17070 /* end confdefs.h. */
17071 #include <wchar.h>
17072 namespace test
17073 {
17074 using ::wcstold;
17075 using ::wcstoll;
17076 using ::wcstoull;
17077 }
17078
17079 int
17080 main ()
17081 {
17082
17083 ;
17084 return 0;
17085 }
17086 _ACEOF
17087 if ac_fn_cxx_try_compile "$LINENO"; then :
17088 glibcxx_cv_c99_wchar=yes
17089 else
17090 glibcxx_cv_c99_wchar=no
17091 fi
17092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17093
17094 # Checks for wide character functions that may not be present.
17095 # Injection of these is wrapped with guard macros.
17096 # NB: only put functions here, instead of immediately above, if
17097 # absolutely necessary.
17098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17099 /* end confdefs.h. */
17100 #include <wchar.h>
17101 namespace test { using ::vfwscanf; }
17102 int
17103 main ()
17104 {
17105
17106 ;
17107 return 0;
17108 }
17109 _ACEOF
17110 if ac_fn_cxx_try_compile "$LINENO"; then :
17111
17112 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17113
17114 fi
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116
17117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17118 /* end confdefs.h. */
17119 #include <wchar.h>
17120 namespace test { using ::vswscanf; }
17121 int
17122 main ()
17123 {
17124
17125 ;
17126 return 0;
17127 }
17128 _ACEOF
17129 if ac_fn_cxx_try_compile "$LINENO"; then :
17130
17131 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17132
17133 fi
17134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17135
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17138 #include <wchar.h>
17139 namespace test { using ::vwscanf; }
17140 int
17141 main ()
17142 {
17143
17144 ;
17145 return 0;
17146 }
17147 _ACEOF
17148 if ac_fn_cxx_try_compile "$LINENO"; then :
17149
17150 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17151
17152 fi
17153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17154
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 #include <wchar.h>
17158 namespace test { using ::wcstof; }
17159 int
17160 main ()
17161 {
17162
17163 ;
17164 return 0;
17165 }
17166 _ACEOF
17167 if ac_fn_cxx_try_compile "$LINENO"; then :
17168
17169 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17170
17171 fi
17172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17173
17174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17175 /* end confdefs.h. */
17176 #include <wctype.h>
17177 int
17178 main ()
17179 {
17180 wint_t t; int i = iswblank(t);
17181 ;
17182 return 0;
17183 }
17184 _ACEOF
17185 if ac_fn_cxx_try_compile "$LINENO"; then :
17186
17187 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17188
17189 fi
17190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17191
17192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17193 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17194 fi
17195
17196 # Option parsed, now set things appropriately.
17197 if test x"$glibcxx_cv_c99_math" = x"no" ||
17198 test x"$glibcxx_cv_c99_complex" = x"no" ||
17199 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17200 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17201 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17202 enable_c99=no;
17203 else
17204
17205 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17206
17207 fi
17208
17209 gcc_no_link="$ac_save_gcc_no_link"
17210 LIBS="$ac_save_LIBS"
17211 CXXFLAGS="$ac_save_CXXFLAGS"
17212 ac_ext=c
17213 ac_cpp='$CPP $CPPFLAGS'
17214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17217
17218 fi
17219
17220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17221 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17223 $as_echo "$enable_c99" >&6; }
17224
17225
17226 # Check whether --enable-concept-checks was given.
17227 if test "${enable_concept_checks+set}" = set; then :
17228 enableval=$enable_concept_checks;
17229 case "$enableval" in
17230 yes|no) ;;
17231 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17232 esac
17233
17234 else
17235 enable_concept_checks=no
17236 fi
17237
17238
17239 if test $enable_concept_checks = yes; then
17240
17241 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17242
17243 fi
17244
17245
17246 # Check whether --enable-libstdcxx-debug-flags was given.
17247 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17248 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17249 xno | x) enable_libstdcxx_debug_flags= ;;
17250 x-*) ;;
17251 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17252 esac
17253 else
17254 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17255 fi
17256
17257
17258
17259 # Option parsed, now set things appropriately
17260 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17261
17262
17263 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17264 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17265
17266
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17268 $as_echo_n "checking for additional debug build... " >&6; }
17269 # Check whether --enable-libstdcxx-debug was given.
17270 if test "${enable_libstdcxx_debug+set}" = set; then :
17271 enableval=$enable_libstdcxx_debug;
17272 case "$enableval" in
17273 yes|no) ;;
17274 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17275 esac
17276
17277 else
17278 enable_libstdcxx_debug=no
17279 fi
17280
17281
17282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17283 $as_echo "$enable_libstdcxx_debug" >&6; }
17284
17285
17286
17287
17288 enable_parallel=no;
17289
17290 # See if configured libgomp/omp.h exists. (libgomp may be in
17291 # noconfigdirs but not explicitly disabled.)
17292 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17293 enable_parallel=yes;
17294 else
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17296 $as_echo "$as_me: target-libgomp not built" >&6;}
17297 fi
17298
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17300 $as_echo_n "checking for parallel mode support... " >&6; }
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17302 $as_echo "$enable_parallel" >&6; }
17303
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17305 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17306 # Check whether --enable-cxx-flags was given.
17307 if test "${enable_cxx_flags+set}" = set; then :
17308 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17309 xno | x) enable_cxx_flags= ;;
17310 x-*) ;;
17311 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17312 esac
17313 else
17314 enable_cxx_flags=
17315 fi
17316
17317
17318
17319 # Run through flags (either default or command-line) and set anything
17320 # extra (e.g., #defines) that must accompany particular g++ options.
17321 if test -n "$enable_cxx_flags"; then
17322 for f in $enable_cxx_flags; do
17323 case "$f" in
17324 -fhonor-std) ;;
17325 -*) ;;
17326 *) # and we're trying to pass /what/ exactly?
17327 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17328 esac
17329 done
17330 fi
17331
17332 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17334 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17335
17336
17337
17338 # Check whether --enable-fully-dynamic-string was given.
17339 if test "${enable_fully_dynamic_string+set}" = set; then :
17340 enableval=$enable_fully_dynamic_string;
17341 case "$enableval" in
17342 yes|no) ;;
17343 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17344 esac
17345
17346 else
17347 enable_fully_dynamic_string=no
17348 fi
17349
17350
17351 if test $enable_fully_dynamic_string = yes; then
17352 enable_fully_dynamic_string_def=1
17353 else
17354 enable_fully_dynamic_string_def=0
17355 fi
17356
17357 cat >>confdefs.h <<_ACEOF
17358 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17359 _ACEOF
17360
17361
17362
17363
17364 # Check whether --enable-extern-template was given.
17365 if test "${enable_extern_template+set}" = set; then :
17366 enableval=$enable_extern_template;
17367 case "$enableval" in
17368 yes|no) ;;
17369 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17370 esac
17371
17372 else
17373 enable_extern_template=yes
17374 fi
17375
17376
17377
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17379 $as_echo_n "checking for extern template support... " >&6; }
17380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17381 $as_echo "$enable_extern_template" >&6; }
17382
17383
17384
17385
17386
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17388 $as_echo_n "checking for custom python install directory... " >&6; }
17389
17390 # Check whether --with-python-dir was given.
17391 if test "${with_python_dir+set}" = set; then :
17392 withval=$with_python_dir; with_python_dir=$withval
17393 else
17394 with_python_dir="no"
17395 fi
17396
17397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17398 $as_echo "${with_python_dir}" >&6; }
17399
17400 # Needed for installing Python modules during make install.
17401 python_mod_dir="${with_python_dir}"
17402
17403
17404
17405
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17407 $as_echo_n "checking for -Werror... " >&6; }
17408 # Check whether --enable-werror was given.
17409 if test "${enable_werror+set}" = set; then :
17410 enableval=$enable_werror;
17411 case "$enableval" in
17412 yes|no) ;;
17413 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17414 esac
17415
17416 else
17417 enable_werror=yes
17418 fi
17419
17420
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17422 $as_echo "$enable_werror" >&6; }
17423
17424
17425
17426
17427 # Check whether --enable-vtable-verify was given.
17428 if test "${enable_vtable_verify+set}" = set; then :
17429 enableval=$enable_vtable_verify;
17430 case "$enableval" in
17431 yes|no) ;;
17432 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17433 esac
17434
17435 else
17436 enable_vtable_verify=no
17437 fi
17438
17439
17440
17441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17442 $as_echo_n "checking for vtable verify support... " >&6; }
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17444 $as_echo "$enable_vtable_verify" >&6; }
17445
17446 if test $enable_vtable_verify = yes; then
17447 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17448 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17449 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17450 else
17451 VTV_CXXFLAGS=
17452 VTV_PCH_CXXFLAGS=
17453 VTV_CXXLINKFLAGS=
17454 fi
17455
17456
17457
17458
17459
17460
17461
17462 # Checks for operating systems support that doesn't require linking.
17463
17464
17465
17466 ac_ext=cpp
17467 ac_cpp='$CXXCPP $CPPFLAGS'
17468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17471
17472
17473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17474 $as_echo_n "checking for gets declaration... " >&6; }
17475 if test "${glibcxx_cv_gets+set}" = set; then :
17476 $as_echo_n "(cached) " >&6
17477 else
17478
17479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17480 /* end confdefs.h. */
17481 #include <stdio.h>
17482 namespace test
17483 {
17484 using ::gets;
17485 }
17486
17487 _ACEOF
17488 if ac_fn_cxx_try_compile "$LINENO"; then :
17489 glibcxx_cv_gets=yes
17490 else
17491 glibcxx_cv_gets=no
17492
17493 fi
17494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17495 fi
17496
17497
17498 if test $glibcxx_cv_gets = yes; then
17499
17500 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17501
17502 fi
17503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17504 $as_echo "$glibcxx_cv_gets" >&6; }
17505
17506 ac_ext=c
17507 ac_cpp='$CPP $CPPFLAGS'
17508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17511
17512
17513
17514
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17516 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17517 if test "${glibcxx_cv_system_error1+set}" = set; then :
17518 $as_echo_n "(cached) " >&6
17519 else
17520
17521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17522 /* end confdefs.h. */
17523 #include <errno.h>
17524 int
17525 main ()
17526 {
17527 int i = EOWNERDEAD;
17528 ;
17529 return 0;
17530 }
17531 _ACEOF
17532 if ac_fn_c_try_compile "$LINENO"; then :
17533 glibcxx_cv_system_error1=yes
17534 else
17535 glibcxx_cv_system_error1=no
17536 fi
17537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17538
17539 fi
17540
17541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17542 $as_echo "$glibcxx_cv_system_error1" >&6; }
17543 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17544
17545 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17546
17547 fi
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17549 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17550 if test "${glibcxx_cv_system_error2+set}" = set; then :
17551 $as_echo_n "(cached) " >&6
17552 else
17553
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 #include <errno.h>
17557 int
17558 main ()
17559 {
17560 int i = ENOTRECOVERABLE;
17561 ;
17562 return 0;
17563 }
17564 _ACEOF
17565 if ac_fn_c_try_compile "$LINENO"; then :
17566 glibcxx_cv_system_error2=yes
17567 else
17568 glibcxx_cv_system_error2=no
17569 fi
17570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17571
17572 fi
17573
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17575 $as_echo "$glibcxx_cv_system_error2" >&6; }
17576 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17577
17578 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17579
17580 fi
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17582 $as_echo_n "checking for ENOLINK... " >&6; }
17583 if test "${glibcxx_cv_system_error3+set}" = set; then :
17584 $as_echo_n "(cached) " >&6
17585 else
17586
17587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17588 /* end confdefs.h. */
17589 #include <errno.h>
17590 int
17591 main ()
17592 {
17593 int i = ENOLINK;
17594 ;
17595 return 0;
17596 }
17597 _ACEOF
17598 if ac_fn_c_try_compile "$LINENO"; then :
17599 glibcxx_cv_system_error3=yes
17600 else
17601 glibcxx_cv_system_error3=no
17602 fi
17603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17604
17605 fi
17606
17607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17608 $as_echo "$glibcxx_cv_system_error3" >&6; }
17609 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17610
17611 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17612
17613 fi
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17615 $as_echo_n "checking for EPROTO... " >&6; }
17616 if test "${glibcxx_cv_system_error4+set}" = set; then :
17617 $as_echo_n "(cached) " >&6
17618 else
17619
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #include <errno.h>
17623 int
17624 main ()
17625 {
17626 int i = EPROTO;
17627 ;
17628 return 0;
17629 }
17630 _ACEOF
17631 if ac_fn_c_try_compile "$LINENO"; then :
17632 glibcxx_cv_system_error4=yes
17633 else
17634 glibcxx_cv_system_error4=no
17635 fi
17636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17637
17638 fi
17639
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17641 $as_echo "$glibcxx_cv_system_error4" >&6; }
17642 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17643
17644 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17645
17646 fi
17647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17648 $as_echo_n "checking for ENODATA... " >&6; }
17649 if test "${glibcxx_cv_system_error5+set}" = set; then :
17650 $as_echo_n "(cached) " >&6
17651 else
17652
17653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17654 /* end confdefs.h. */
17655 #include <errno.h>
17656 int
17657 main ()
17658 {
17659 int i = ENODATA;
17660 ;
17661 return 0;
17662 }
17663 _ACEOF
17664 if ac_fn_c_try_compile "$LINENO"; then :
17665 glibcxx_cv_system_error5=yes
17666 else
17667 glibcxx_cv_system_error5=no
17668 fi
17669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17670
17671 fi
17672
17673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17674 $as_echo "$glibcxx_cv_system_error5" >&6; }
17675 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17676
17677 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17678
17679 fi
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17681 $as_echo_n "checking for ENOSR... " >&6; }
17682 if test "${glibcxx_cv_system_error6+set}" = set; then :
17683 $as_echo_n "(cached) " >&6
17684 else
17685
17686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17687 /* end confdefs.h. */
17688 #include <errno.h>
17689 int
17690 main ()
17691 {
17692 int i = ENOSR;
17693 ;
17694 return 0;
17695 }
17696 _ACEOF
17697 if ac_fn_c_try_compile "$LINENO"; then :
17698 glibcxx_cv_system_error6=yes
17699 else
17700 glibcxx_cv_system_error6=no
17701 fi
17702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17703
17704 fi
17705
17706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17707 $as_echo "$glibcxx_cv_system_error6" >&6; }
17708 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17709
17710 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17711
17712 fi
17713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17714 $as_echo_n "checking for ENOSTR... " >&6; }
17715 if test "${glibcxx_cv_system_error7+set}" = set; then :
17716 $as_echo_n "(cached) " >&6
17717 else
17718
17719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17720 /* end confdefs.h. */
17721 #include <errno.h>
17722 int
17723 main ()
17724 {
17725 int i = ENOSTR;
17726 ;
17727 return 0;
17728 }
17729 _ACEOF
17730 if ac_fn_c_try_compile "$LINENO"; then :
17731 glibcxx_cv_system_error7=yes
17732 else
17733 glibcxx_cv_system_error7=no
17734 fi
17735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17736
17737 fi
17738
17739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17740 $as_echo "$glibcxx_cv_system_error7" >&6; }
17741 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17742
17743 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17744
17745 fi
17746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17747 $as_echo_n "checking for ETIME... " >&6; }
17748 if test "${glibcxx_cv_system_error8+set}" = set; then :
17749 $as_echo_n "(cached) " >&6
17750 else
17751
17752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17753 /* end confdefs.h. */
17754 #include <errno.h>
17755 int
17756 main ()
17757 {
17758 int i = ETIME;
17759 ;
17760 return 0;
17761 }
17762 _ACEOF
17763 if ac_fn_c_try_compile "$LINENO"; then :
17764 glibcxx_cv_system_error8=yes
17765 else
17766 glibcxx_cv_system_error8=no
17767 fi
17768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17769
17770 fi
17771
17772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17773 $as_echo "$glibcxx_cv_system_error8" >&6; }
17774 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17775
17776 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17777
17778 fi
17779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17780 $as_echo_n "checking for EBADMSG... " >&6; }
17781 if test "${glibcxx_cv_system_error9+set}" = set; then :
17782 $as_echo_n "(cached) " >&6
17783 else
17784
17785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17786 /* end confdefs.h. */
17787 #include <errno.h>
17788 int
17789 main ()
17790 {
17791 int i = EBADMSG;
17792 ;
17793 return 0;
17794 }
17795 _ACEOF
17796 if ac_fn_c_try_compile "$LINENO"; then :
17797 glibcxx_cv_system_error9=yes
17798 else
17799 glibcxx_cv_system_error9=no
17800 fi
17801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802
17803 fi
17804
17805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17806 $as_echo "$glibcxx_cv_system_error9" >&6; }
17807 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17808
17809 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17810
17811 fi
17812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17813 $as_echo_n "checking for ECANCELED... " >&6; }
17814 if test "${glibcxx_cv_system_error10+set}" = set; then :
17815 $as_echo_n "(cached) " >&6
17816 else
17817
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17820 #include <errno.h>
17821 int
17822 main ()
17823 {
17824 int i = ECANCELED;
17825 ;
17826 return 0;
17827 }
17828 _ACEOF
17829 if ac_fn_c_try_compile "$LINENO"; then :
17830 glibcxx_cv_system_error10=yes
17831 else
17832 glibcxx_cv_system_error10=no
17833 fi
17834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17835
17836 fi
17837
17838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17839 $as_echo "$glibcxx_cv_system_error10" >&6; }
17840 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17841
17842 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17843
17844 fi
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17846 $as_echo_n "checking for EOVERFLOW... " >&6; }
17847 if test "${glibcxx_cv_system_error11+set}" = set; then :
17848 $as_echo_n "(cached) " >&6
17849 else
17850
17851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17852 /* end confdefs.h. */
17853 #include <errno.h>
17854 int
17855 main ()
17856 {
17857 int i = EOVERFLOW;
17858 ;
17859 return 0;
17860 }
17861 _ACEOF
17862 if ac_fn_c_try_compile "$LINENO"; then :
17863 glibcxx_cv_system_error11=yes
17864 else
17865 glibcxx_cv_system_error11=no
17866 fi
17867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17868
17869 fi
17870
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17872 $as_echo "$glibcxx_cv_system_error11" >&6; }
17873 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17874
17875 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17876
17877 fi
17878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17879 $as_echo_n "checking for ENOTSUP... " >&6; }
17880 if test "${glibcxx_cv_system_error12+set}" = set; then :
17881 $as_echo_n "(cached) " >&6
17882 else
17883
17884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17885 /* end confdefs.h. */
17886 #include <errno.h>
17887 int
17888 main ()
17889 {
17890 int i = ENOTSUP;
17891 ;
17892 return 0;
17893 }
17894 _ACEOF
17895 if ac_fn_c_try_compile "$LINENO"; then :
17896 glibcxx_cv_system_error12=yes
17897 else
17898 glibcxx_cv_system_error12=no
17899 fi
17900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17901
17902 fi
17903
17904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17905 $as_echo "$glibcxx_cv_system_error12" >&6; }
17906 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17907
17908 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17909
17910 fi
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17912 $as_echo_n "checking for EIDRM... " >&6; }
17913 if test "${glibcxx_cv_system_error13+set}" = set; then :
17914 $as_echo_n "(cached) " >&6
17915 else
17916
17917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17918 /* end confdefs.h. */
17919 #include <errno.h>
17920 int
17921 main ()
17922 {
17923 int i = EIDRM;
17924 ;
17925 return 0;
17926 }
17927 _ACEOF
17928 if ac_fn_c_try_compile "$LINENO"; then :
17929 glibcxx_cv_system_error13=yes
17930 else
17931 glibcxx_cv_system_error13=no
17932 fi
17933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17934
17935 fi
17936
17937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17938 $as_echo "$glibcxx_cv_system_error13" >&6; }
17939 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17940
17941 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17942
17943 fi
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17945 $as_echo_n "checking for ETXTBSY... " >&6; }
17946 if test "${glibcxx_cv_system_error14+set}" = set; then :
17947 $as_echo_n "(cached) " >&6
17948 else
17949
17950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17951 /* end confdefs.h. */
17952 #include <errno.h>
17953 int
17954 main ()
17955 {
17956 int i = ETXTBSY;
17957 ;
17958 return 0;
17959 }
17960 _ACEOF
17961 if ac_fn_c_try_compile "$LINENO"; then :
17962 glibcxx_cv_system_error14=yes
17963 else
17964 glibcxx_cv_system_error14=no
17965 fi
17966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17967
17968 fi
17969
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17971 $as_echo "$glibcxx_cv_system_error14" >&6; }
17972 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17973
17974 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17975
17976 fi
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17978 $as_echo_n "checking for ECHILD... " >&6; }
17979 if test "${glibcxx_cv_system_error15+set}" = set; then :
17980 $as_echo_n "(cached) " >&6
17981 else
17982
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17985 #include <errno.h>
17986 int
17987 main ()
17988 {
17989 int i = ECHILD;
17990 ;
17991 return 0;
17992 }
17993 _ACEOF
17994 if ac_fn_c_try_compile "$LINENO"; then :
17995 glibcxx_cv_system_error15=yes
17996 else
17997 glibcxx_cv_system_error15=no
17998 fi
17999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18000
18001 fi
18002
18003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18004 $as_echo "$glibcxx_cv_system_error15" >&6; }
18005 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18006
18007 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18008
18009 fi
18010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18011 $as_echo_n "checking for ENOSPC... " >&6; }
18012 if test "${glibcxx_cv_system_error16+set}" = set; then :
18013 $as_echo_n "(cached) " >&6
18014 else
18015
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 #include <errno.h>
18019 int
18020 main ()
18021 {
18022 int i = ENOSPC;
18023 ;
18024 return 0;
18025 }
18026 _ACEOF
18027 if ac_fn_c_try_compile "$LINENO"; then :
18028 glibcxx_cv_system_error16=yes
18029 else
18030 glibcxx_cv_system_error16=no
18031 fi
18032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18033
18034 fi
18035
18036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18037 $as_echo "$glibcxx_cv_system_error16" >&6; }
18038 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18039
18040 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18041
18042 fi
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18044 $as_echo_n "checking for EPERM... " >&6; }
18045 if test "${glibcxx_cv_system_error17+set}" = set; then :
18046 $as_echo_n "(cached) " >&6
18047 else
18048
18049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18050 /* end confdefs.h. */
18051 #include <errno.h>
18052 int
18053 main ()
18054 {
18055 int i = EPERM;
18056 ;
18057 return 0;
18058 }
18059 _ACEOF
18060 if ac_fn_c_try_compile "$LINENO"; then :
18061 glibcxx_cv_system_error17=yes
18062 else
18063 glibcxx_cv_system_error17=no
18064 fi
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18066
18067 fi
18068
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18070 $as_echo "$glibcxx_cv_system_error17" >&6; }
18071 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18072
18073 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18074
18075 fi
18076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18077 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18078 if test "${glibcxx_cv_system_error18+set}" = set; then :
18079 $as_echo_n "(cached) " >&6
18080 else
18081
18082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18083 /* end confdefs.h. */
18084 #include <errno.h>
18085 int
18086 main ()
18087 {
18088 int i = ETIMEDOUT;
18089 ;
18090 return 0;
18091 }
18092 _ACEOF
18093 if ac_fn_c_try_compile "$LINENO"; then :
18094 glibcxx_cv_system_error18=yes
18095 else
18096 glibcxx_cv_system_error18=no
18097 fi
18098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18099
18100 fi
18101
18102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18103 $as_echo "$glibcxx_cv_system_error18" >&6; }
18104 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18105
18106 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18107
18108 fi
18109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18110 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18111 if test "${glibcxx_cv_system_error19+set}" = set; then :
18112 $as_echo_n "(cached) " >&6
18113 else
18114
18115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18116 /* end confdefs.h. */
18117 #include <errno.h>
18118 int
18119 main ()
18120 {
18121 int i = EWOULDBLOCK;
18122 ;
18123 return 0;
18124 }
18125 _ACEOF
18126 if ac_fn_c_try_compile "$LINENO"; then :
18127 glibcxx_cv_system_error19=yes
18128 else
18129 glibcxx_cv_system_error19=no
18130 fi
18131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18132
18133 fi
18134
18135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18136 $as_echo "$glibcxx_cv_system_error19" >&6; }
18137 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18138
18139 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18140
18141 fi
18142
18143
18144
18145 # For the streamoff typedef.
18146
18147
18148
18149 ac_ext=cpp
18150 ac_cpp='$CXXCPP $CPPFLAGS'
18151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18154
18155
18156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18157 $as_echo_n "checking for int64_t... " >&6; }
18158 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18159 $as_echo_n "(cached) " >&6
18160 else
18161
18162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18163 /* end confdefs.h. */
18164 #include <stdint.h>
18165 int
18166 main ()
18167 {
18168 int64_t var;
18169 ;
18170 return 0;
18171 }
18172 _ACEOF
18173 if ac_fn_cxx_try_compile "$LINENO"; then :
18174 glibcxx_cv_INT64_T=yes
18175 else
18176 glibcxx_cv_INT64_T=no
18177 fi
18178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18179
18180 fi
18181
18182
18183 if test $glibcxx_cv_INT64_T = yes; then
18184
18185 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18186
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18188 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18189
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18191 $as_echo_n "checking for int64_t as long... " >&6; }
18192 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18193 $as_echo_n "(cached) " >&6
18194 else
18195
18196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18197 /* end confdefs.h. */
18198 #include <stdint.h>
18199 template<typename, typename> struct same { enum { value = -1 }; };
18200 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18201 int array[same<int64_t, long>::value];
18202 int
18203 main ()
18204 {
18205
18206 ;
18207 return 0;
18208 }
18209 _ACEOF
18210 if ac_fn_cxx_try_compile "$LINENO"; then :
18211 glibcxx_cv_int64_t_long=yes
18212 else
18213 glibcxx_cv_int64_t_long=no
18214 fi
18215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18216
18217 fi
18218
18219
18220 if test $glibcxx_cv_int64_t_long = yes; then
18221
18222 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18223
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18225 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18226 fi
18227
18228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18229 $as_echo_n "checking for int64_t as long long... " >&6; }
18230 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18231 $as_echo_n "(cached) " >&6
18232 else
18233
18234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18235 /* end confdefs.h. */
18236 #include <stdint.h>
18237 template<typename, typename> struct same { enum { value = -1 }; };
18238 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18239 int array[same<int64_t, long long>::value];
18240 int
18241 main ()
18242 {
18243
18244 ;
18245 return 0;
18246 }
18247 _ACEOF
18248 if ac_fn_cxx_try_compile "$LINENO"; then :
18249 glibcxx_cv_int64_t_long_long=yes
18250 else
18251 glibcxx_cv_int64_t_long_long=no
18252 fi
18253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18254
18255 fi
18256
18257
18258 if test $glibcxx_cv_int64_t_long_long = yes; then
18259
18260 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18261
18262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18263 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18264 fi
18265 fi
18266
18267 ac_ext=c
18268 ac_cpp='$CPP $CPPFLAGS'
18269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18272
18273
18274
18275 # For LFS support.
18276
18277
18278 ac_ext=cpp
18279 ac_cpp='$CXXCPP $CPPFLAGS'
18280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18283
18284 ac_save_CXXFLAGS="$CXXFLAGS"
18285 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18287 $as_echo_n "checking for LFS support... " >&6; }
18288 if test "${glibcxx_cv_LFS+set}" = set; then :
18289 $as_echo_n "(cached) " >&6
18290 else
18291
18292 if test x$gcc_no_link = xyes; then
18293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18294 /* end confdefs.h. */
18295 #include <unistd.h>
18296 #include <stdio.h>
18297 #include <sys/stat.h>
18298
18299 int
18300 main ()
18301 {
18302 FILE* fp;
18303 fopen64("t", "w");
18304 fseeko64(fp, 0, SEEK_CUR);
18305 ftello64(fp);
18306 lseek64(1, 0, SEEK_CUR);
18307 struct stat64 buf;
18308 fstat64(1, &buf);
18309 ;
18310 return 0;
18311 }
18312 _ACEOF
18313 if ac_fn_cxx_try_compile "$LINENO"; then :
18314 glibcxx_cv_LFS=yes
18315 else
18316 glibcxx_cv_LFS=no
18317 fi
18318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18319 else
18320 if test x$gcc_no_link = xyes; then
18321 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18322 fi
18323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18324 /* end confdefs.h. */
18325 #include <unistd.h>
18326 #include <stdio.h>
18327 #include <sys/stat.h>
18328
18329 int
18330 main ()
18331 {
18332 FILE* fp;
18333 fopen64("t", "w");
18334 fseeko64(fp, 0, SEEK_CUR);
18335 ftello64(fp);
18336 lseek64(1, 0, SEEK_CUR);
18337 struct stat64 buf;
18338 fstat64(1, &buf);
18339 ;
18340 return 0;
18341 }
18342 _ACEOF
18343 if ac_fn_cxx_try_link "$LINENO"; then :
18344 glibcxx_cv_LFS=yes
18345 else
18346 glibcxx_cv_LFS=no
18347 fi
18348 rm -f core conftest.err conftest.$ac_objext \
18349 conftest$ac_exeext conftest.$ac_ext
18350 fi
18351
18352 fi
18353
18354 if test $glibcxx_cv_LFS = yes; then
18355
18356 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18357
18358 fi
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18360 $as_echo "$glibcxx_cv_LFS" >&6; }
18361 CXXFLAGS="$ac_save_CXXFLAGS"
18362 ac_ext=c
18363 ac_cpp='$CPP $CPPFLAGS'
18364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18367
18368
18369
18370 # For showmanyc_helper().
18371 for ac_header in sys/ioctl.h sys/filio.h
18372 do :
18373 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18374 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18375 eval as_val=\$$as_ac_Header
18376 if test "x$as_val" = x""yes; then :
18377 cat >>confdefs.h <<_ACEOF
18378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18379 _ACEOF
18380
18381 fi
18382
18383 done
18384
18385
18386
18387
18388 ac_ext=cpp
18389 ac_cpp='$CXXCPP $CPPFLAGS'
18390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18393
18394 ac_save_CXXFLAGS="$CXXFLAGS"
18395 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18396
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18398 $as_echo_n "checking for poll... " >&6; }
18399 if test "${glibcxx_cv_POLL+set}" = set; then :
18400 $as_echo_n "(cached) " >&6
18401 else
18402
18403 if test x$gcc_no_link = xyes; then
18404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18405 /* end confdefs.h. */
18406 #include <poll.h>
18407 int
18408 main ()
18409 {
18410 struct pollfd pfd[1];
18411 pfd[0].events = POLLIN;
18412 poll(pfd, 1, 0);
18413 ;
18414 return 0;
18415 }
18416 _ACEOF
18417 if ac_fn_cxx_try_compile "$LINENO"; then :
18418 glibcxx_cv_POLL=yes
18419 else
18420 glibcxx_cv_POLL=no
18421 fi
18422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18423 else
18424 if test x$gcc_no_link = xyes; then
18425 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18426 fi
18427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18428 /* end confdefs.h. */
18429 #include <poll.h>
18430 int
18431 main ()
18432 {
18433 struct pollfd pfd[1];
18434 pfd[0].events = POLLIN;
18435 poll(pfd, 1, 0);
18436 ;
18437 return 0;
18438 }
18439 _ACEOF
18440 if ac_fn_cxx_try_link "$LINENO"; then :
18441 glibcxx_cv_POLL=yes
18442 else
18443 glibcxx_cv_POLL=no
18444 fi
18445 rm -f core conftest.err conftest.$ac_objext \
18446 conftest$ac_exeext conftest.$ac_ext
18447 fi
18448
18449 fi
18450
18451 if test $glibcxx_cv_POLL = yes; then
18452
18453 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18454
18455 fi
18456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18457 $as_echo "$glibcxx_cv_POLL" >&6; }
18458
18459 CXXFLAGS="$ac_save_CXXFLAGS"
18460 ac_ext=c
18461 ac_cpp='$CPP $CPPFLAGS'
18462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18465
18466
18467
18468
18469
18470 ac_ext=cpp
18471 ac_cpp='$CXXCPP $CPPFLAGS'
18472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18475
18476 ac_save_CXXFLAGS="$CXXFLAGS"
18477 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18478
18479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18480 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18481 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18482 $as_echo_n "(cached) " >&6
18483 else
18484
18485 if test x$gcc_no_link = xyes; then
18486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18487 /* end confdefs.h. */
18488 #include <sys/stat.h>
18489 int
18490 main ()
18491 {
18492 struct stat buffer;
18493 fstat(0, &buffer);
18494 S_ISREG(buffer.st_mode);
18495 ;
18496 return 0;
18497 }
18498 _ACEOF
18499 if ac_fn_cxx_try_compile "$LINENO"; then :
18500 glibcxx_cv_S_ISREG=yes
18501 else
18502 glibcxx_cv_S_ISREG=no
18503 fi
18504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18505 else
18506 if test x$gcc_no_link = xyes; then
18507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18508 fi
18509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18510 /* end confdefs.h. */
18511 #include <sys/stat.h>
18512 int
18513 main ()
18514 {
18515 struct stat buffer;
18516 fstat(0, &buffer);
18517 S_ISREG(buffer.st_mode);
18518 ;
18519 return 0;
18520 }
18521 _ACEOF
18522 if ac_fn_cxx_try_link "$LINENO"; then :
18523 glibcxx_cv_S_ISREG=yes
18524 else
18525 glibcxx_cv_S_ISREG=no
18526 fi
18527 rm -f core conftest.err conftest.$ac_objext \
18528 conftest$ac_exeext conftest.$ac_ext
18529 fi
18530
18531 fi
18532
18533 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18534 $as_echo_n "(cached) " >&6
18535 else
18536
18537 if test x$gcc_no_link = xyes; then
18538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18539 /* end confdefs.h. */
18540 #include <sys/stat.h>
18541 int
18542 main ()
18543 {
18544 struct stat buffer;
18545 fstat(0, &buffer);
18546 S_IFREG & buffer.st_mode;
18547 ;
18548 return 0;
18549 }
18550 _ACEOF
18551 if ac_fn_cxx_try_compile "$LINENO"; then :
18552 glibcxx_cv_S_IFREG=yes
18553 else
18554 glibcxx_cv_S_IFREG=no
18555 fi
18556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18557 else
18558 if test x$gcc_no_link = xyes; then
18559 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18560 fi
18561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18562 /* end confdefs.h. */
18563 #include <sys/stat.h>
18564 int
18565 main ()
18566 {
18567 struct stat buffer;
18568 fstat(0, &buffer);
18569 S_IFREG & buffer.st_mode;
18570 ;
18571 return 0;
18572 }
18573 _ACEOF
18574 if ac_fn_cxx_try_link "$LINENO"; then :
18575 glibcxx_cv_S_IFREG=yes
18576 else
18577 glibcxx_cv_S_IFREG=no
18578 fi
18579 rm -f core conftest.err conftest.$ac_objext \
18580 conftest$ac_exeext conftest.$ac_ext
18581 fi
18582
18583 fi
18584
18585 res=no
18586 if test $glibcxx_cv_S_ISREG = yes; then
18587
18588 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18589
18590 res=S_ISREG
18591 elif test $glibcxx_cv_S_IFREG = yes; then
18592
18593 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18594
18595 res=S_IFREG
18596 fi
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18598 $as_echo "$res" >&6; }
18599
18600 CXXFLAGS="$ac_save_CXXFLAGS"
18601 ac_ext=c
18602 ac_cpp='$CPP $CPPFLAGS'
18603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18606
18607
18608
18609 # For xsputn_2().
18610 for ac_header in sys/uio.h
18611 do :
18612 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18613 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18614 cat >>confdefs.h <<_ACEOF
18615 #define HAVE_SYS_UIO_H 1
18616 _ACEOF
18617
18618 fi
18619
18620 done
18621
18622
18623
18624
18625 ac_ext=cpp
18626 ac_cpp='$CXXCPP $CPPFLAGS'
18627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18630
18631 ac_save_CXXFLAGS="$CXXFLAGS"
18632 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18633
18634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18635 $as_echo_n "checking for writev... " >&6; }
18636 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18637 $as_echo_n "(cached) " >&6
18638 else
18639
18640 if test x$gcc_no_link = xyes; then
18641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18642 /* end confdefs.h. */
18643 #include <sys/uio.h>
18644 int
18645 main ()
18646 {
18647 struct iovec iov[2];
18648 writev(0, iov, 0);
18649 ;
18650 return 0;
18651 }
18652 _ACEOF
18653 if ac_fn_cxx_try_compile "$LINENO"; then :
18654 glibcxx_cv_WRITEV=yes
18655 else
18656 glibcxx_cv_WRITEV=no
18657 fi
18658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18659 else
18660 if test x$gcc_no_link = xyes; then
18661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18662 fi
18663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18664 /* end confdefs.h. */
18665 #include <sys/uio.h>
18666 int
18667 main ()
18668 {
18669 struct iovec iov[2];
18670 writev(0, iov, 0);
18671 ;
18672 return 0;
18673 }
18674 _ACEOF
18675 if ac_fn_cxx_try_link "$LINENO"; then :
18676 glibcxx_cv_WRITEV=yes
18677 else
18678 glibcxx_cv_WRITEV=no
18679 fi
18680 rm -f core conftest.err conftest.$ac_objext \
18681 conftest$ac_exeext conftest.$ac_ext
18682 fi
18683
18684 fi
18685
18686 if test $glibcxx_cv_WRITEV = yes; then
18687
18688 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18689
18690 fi
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18692 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18693
18694 CXXFLAGS="$ac_save_CXXFLAGS"
18695 ac_ext=c
18696 ac_cpp='$CPP $CPPFLAGS'
18697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18700
18701
18702
18703 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18704 # so that the check is done with the C compiler (not C++).
18705 # Checking with C++ can break a canadian cross build if either
18706 # file does not exist in C but does in C++.
18707 for ac_header in fenv.h complex.h
18708 do :
18709 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18710 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18711 eval as_val=\$$as_ac_Header
18712 if test "x$as_val" = x""yes; then :
18713 cat >>confdefs.h <<_ACEOF
18714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18715 _ACEOF
18716
18717 fi
18718
18719 done
18720
18721
18722 # For C99 support to TR1.
18723
18724
18725
18726 ac_ext=cpp
18727 ac_cpp='$CXXCPP $CPPFLAGS'
18728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18731
18732
18733 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18734 # undefined and fake C99 facilities may be spuriously enabled.
18735 ac_save_CXXFLAGS="$CXXFLAGS"
18736 CXXFLAGS="$CXXFLAGS -std=c++98"
18737
18738 # Check for the existence of <complex.h> complex math functions used
18739 # by tr1/complex.
18740 for ac_header in complex.h
18741 do :
18742 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18743 if test "x$ac_cv_header_complex_h" = x""yes; then :
18744 cat >>confdefs.h <<_ACEOF
18745 #define HAVE_COMPLEX_H 1
18746 _ACEOF
18747 ac_has_complex_h=yes
18748 else
18749 ac_has_complex_h=no
18750 fi
18751
18752 done
18753
18754 ac_c99_complex_tr1=no;
18755 if test x"$ac_has_complex_h" = x"yes"; then
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18757 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18759 /* end confdefs.h. */
18760 #include <complex.h>
18761 int
18762 main ()
18763 {
18764 typedef __complex__ float float_type; float_type tmpf;
18765 cacosf(tmpf);
18766 casinf(tmpf);
18767 catanf(tmpf);
18768 cacoshf(tmpf);
18769 casinhf(tmpf);
18770 catanhf(tmpf);
18771 typedef __complex__ double double_type; double_type tmpd;
18772 cacos(tmpd);
18773 casin(tmpd);
18774 catan(tmpd);
18775 cacosh(tmpd);
18776 casinh(tmpd);
18777 catanh(tmpd);
18778 typedef __complex__ long double ld_type; ld_type tmpld;
18779 cacosl(tmpld);
18780 casinl(tmpld);
18781 catanl(tmpld);
18782 cacoshl(tmpld);
18783 casinhl(tmpld);
18784 catanhl(tmpld);
18785
18786 ;
18787 return 0;
18788 }
18789 _ACEOF
18790 if ac_fn_cxx_try_compile "$LINENO"; then :
18791 ac_c99_complex_tr1=yes
18792 else
18793 ac_c99_complex_tr1=no
18794 fi
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796 fi
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18798 $as_echo "$ac_c99_complex_tr1" >&6; }
18799 if test x"$ac_c99_complex_tr1" = x"yes"; then
18800
18801 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18802
18803 fi
18804
18805 # Check for the existence of <ctype.h> functions.
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18807 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18808 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18809 $as_echo_n "(cached) " >&6
18810 else
18811
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 #include <ctype.h>
18815 int
18816 main ()
18817 {
18818 int ch;
18819 int ret;
18820 ret = isblank(ch);
18821
18822 ;
18823 return 0;
18824 }
18825 _ACEOF
18826 if ac_fn_cxx_try_compile "$LINENO"; then :
18827 glibcxx_cv_c99_ctype_tr1=yes
18828 else
18829 glibcxx_cv_c99_ctype_tr1=no
18830 fi
18831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18832
18833 fi
18834
18835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18836 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18837 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18838
18839 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18840
18841 fi
18842
18843 # Check for the existence of <fenv.h> functions.
18844 for ac_header in fenv.h
18845 do :
18846 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18847 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18848 cat >>confdefs.h <<_ACEOF
18849 #define HAVE_FENV_H 1
18850 _ACEOF
18851 ac_has_fenv_h=yes
18852 else
18853 ac_has_fenv_h=no
18854 fi
18855
18856 done
18857
18858 ac_c99_fenv_tr1=no;
18859 if test x"$ac_has_fenv_h" = x"yes"; then
18860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18861 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18864 #include <fenv.h>
18865 int
18866 main ()
18867 {
18868 int except, mode;
18869 fexcept_t* pflag;
18870 fenv_t* penv;
18871 int ret;
18872 ret = feclearexcept(except);
18873 ret = fegetexceptflag(pflag, except);
18874 ret = feraiseexcept(except);
18875 ret = fesetexceptflag(pflag, except);
18876 ret = fetestexcept(except);
18877 ret = fegetround();
18878 ret = fesetround(mode);
18879 ret = fegetenv(penv);
18880 ret = feholdexcept(penv);
18881 ret = fesetenv(penv);
18882 ret = feupdateenv(penv);
18883
18884 ;
18885 return 0;
18886 }
18887 _ACEOF
18888 if ac_fn_cxx_try_compile "$LINENO"; then :
18889 ac_c99_fenv_tr1=yes
18890 else
18891 ac_c99_fenv_tr1=no
18892 fi
18893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18894 fi
18895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18896 $as_echo "$ac_c99_fenv_tr1" >&6; }
18897 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18898
18899 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18900
18901 fi
18902
18903 # Check for the existence of <stdint.h> types.
18904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18905 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18906 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18907 $as_echo_n "(cached) " >&6
18908 else
18909
18910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18911 /* end confdefs.h. */
18912 #define __STDC_LIMIT_MACROS
18913 #define __STDC_CONSTANT_MACROS
18914 #include <stdint.h>
18915 int
18916 main ()
18917 {
18918 typedef int8_t my_int8_t;
18919 my_int8_t i8 = INT8_MIN;
18920 i8 = INT8_MAX;
18921 typedef int16_t my_int16_t;
18922 my_int16_t i16 = INT16_MIN;
18923 i16 = INT16_MAX;
18924 typedef int32_t my_int32_t;
18925 my_int32_t i32 = INT32_MIN;
18926 i32 = INT32_MAX;
18927 typedef int64_t my_int64_t;
18928 my_int64_t i64 = INT64_MIN;
18929 i64 = INT64_MAX;
18930 typedef int_fast8_t my_int_fast8_t;
18931 my_int_fast8_t if8 = INT_FAST8_MIN;
18932 if8 = INT_FAST8_MAX;
18933 typedef int_fast16_t my_int_fast16_t;
18934 my_int_fast16_t if16 = INT_FAST16_MIN;
18935 if16 = INT_FAST16_MAX;
18936 typedef int_fast32_t my_int_fast32_t;
18937 my_int_fast32_t if32 = INT_FAST32_MIN;
18938 if32 = INT_FAST32_MAX;
18939 typedef int_fast64_t my_int_fast64_t;
18940 my_int_fast64_t if64 = INT_FAST64_MIN;
18941 if64 = INT_FAST64_MAX;
18942 typedef int_least8_t my_int_least8_t;
18943 my_int_least8_t il8 = INT_LEAST8_MIN;
18944 il8 = INT_LEAST8_MAX;
18945 typedef int_least16_t my_int_least16_t;
18946 my_int_least16_t il16 = INT_LEAST16_MIN;
18947 il16 = INT_LEAST16_MAX;
18948 typedef int_least32_t my_int_least32_t;
18949 my_int_least32_t il32 = INT_LEAST32_MIN;
18950 il32 = INT_LEAST32_MAX;
18951 typedef int_least64_t my_int_least64_t;
18952 my_int_least64_t il64 = INT_LEAST64_MIN;
18953 il64 = INT_LEAST64_MAX;
18954 typedef intmax_t my_intmax_t;
18955 my_intmax_t im = INTMAX_MAX;
18956 im = INTMAX_MIN;
18957 typedef intptr_t my_intptr_t;
18958 my_intptr_t ip = INTPTR_MAX;
18959 ip = INTPTR_MIN;
18960 typedef uint8_t my_uint8_t;
18961 my_uint8_t ui8 = UINT8_MAX;
18962 ui8 = UINT8_MAX;
18963 typedef uint16_t my_uint16_t;
18964 my_uint16_t ui16 = UINT16_MAX;
18965 ui16 = UINT16_MAX;
18966 typedef uint32_t my_uint32_t;
18967 my_uint32_t ui32 = UINT32_MAX;
18968 ui32 = UINT32_MAX;
18969 typedef uint64_t my_uint64_t;
18970 my_uint64_t ui64 = UINT64_MAX;
18971 ui64 = UINT64_MAX;
18972 typedef uint_fast8_t my_uint_fast8_t;
18973 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18974 uif8 = UINT_FAST8_MAX;
18975 typedef uint_fast16_t my_uint_fast16_t;
18976 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18977 uif16 = UINT_FAST16_MAX;
18978 typedef uint_fast32_t my_uint_fast32_t;
18979 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18980 uif32 = UINT_FAST32_MAX;
18981 typedef uint_fast64_t my_uint_fast64_t;
18982 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18983 uif64 = UINT_FAST64_MAX;
18984 typedef uint_least8_t my_uint_least8_t;
18985 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18986 uil8 = UINT_LEAST8_MAX;
18987 typedef uint_least16_t my_uint_least16_t;
18988 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18989 uil16 = UINT_LEAST16_MAX;
18990 typedef uint_least32_t my_uint_least32_t;
18991 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18992 uil32 = UINT_LEAST32_MAX;
18993 typedef uint_least64_t my_uint_least64_t;
18994 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18995 uil64 = UINT_LEAST64_MAX;
18996 typedef uintmax_t my_uintmax_t;
18997 my_uintmax_t uim = UINTMAX_MAX;
18998 uim = UINTMAX_MAX;
18999 typedef uintptr_t my_uintptr_t;
19000 my_uintptr_t uip = UINTPTR_MAX;
19001 uip = UINTPTR_MAX;
19002
19003 ;
19004 return 0;
19005 }
19006 _ACEOF
19007 if ac_fn_cxx_try_compile "$LINENO"; then :
19008 glibcxx_cv_c99_stdint_tr1=yes
19009 else
19010 glibcxx_cv_c99_stdint_tr1=no
19011 fi
19012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19013
19014 fi
19015
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19017 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19018 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19019
19020 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19021
19022 fi
19023
19024 # Check for the existence of <math.h> functions.
19025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19026 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19027 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19028 $as_echo_n "(cached) " >&6
19029 else
19030
19031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19032 /* end confdefs.h. */
19033 #include <math.h>
19034 int
19035 main ()
19036 {
19037 typedef double_t my_double_t;
19038 typedef float_t my_float_t;
19039 acosh(0.0);
19040 acoshf(0.0f);
19041 acoshl(0.0l);
19042 asinh(0.0);
19043 asinhf(0.0f);
19044 asinhl(0.0l);
19045 atanh(0.0);
19046 atanhf(0.0f);
19047 atanhl(0.0l);
19048 cbrt(0.0);
19049 cbrtf(0.0f);
19050 cbrtl(0.0l);
19051 copysign(0.0, 0.0);
19052 copysignf(0.0f, 0.0f);
19053 copysignl(0.0l, 0.0l);
19054 erf(0.0);
19055 erff(0.0f);
19056 erfl(0.0l);
19057 erfc(0.0);
19058 erfcf(0.0f);
19059 erfcl(0.0l);
19060 exp2(0.0);
19061 exp2f(0.0f);
19062 exp2l(0.0l);
19063 expm1(0.0);
19064 expm1f(0.0f);
19065 expm1l(0.0l);
19066 fdim(0.0, 0.0);
19067 fdimf(0.0f, 0.0f);
19068 fdiml(0.0l, 0.0l);
19069 fma(0.0, 0.0, 0.0);
19070 fmaf(0.0f, 0.0f, 0.0f);
19071 fmal(0.0l, 0.0l, 0.0l);
19072 fmax(0.0, 0.0);
19073 fmaxf(0.0f, 0.0f);
19074 fmaxl(0.0l, 0.0l);
19075 fmin(0.0, 0.0);
19076 fminf(0.0f, 0.0f);
19077 fminl(0.0l, 0.0l);
19078 hypot(0.0, 0.0);
19079 hypotf(0.0f, 0.0f);
19080 hypotl(0.0l, 0.0l);
19081 ilogb(0.0);
19082 ilogbf(0.0f);
19083 ilogbl(0.0l);
19084 lgamma(0.0);
19085 lgammaf(0.0f);
19086 lgammal(0.0l);
19087 llrint(0.0);
19088 llrintf(0.0f);
19089 llrintl(0.0l);
19090 llround(0.0);
19091 llroundf(0.0f);
19092 llroundl(0.0l);
19093 log1p(0.0);
19094 log1pf(0.0f);
19095 log1pl(0.0l);
19096 log2(0.0);
19097 log2f(0.0f);
19098 log2l(0.0l);
19099 logb(0.0);
19100 logbf(0.0f);
19101 logbl(0.0l);
19102 lrint(0.0);
19103 lrintf(0.0f);
19104 lrintl(0.0l);
19105 lround(0.0);
19106 lroundf(0.0f);
19107 lroundl(0.0l);
19108 nan(0);
19109 nanf(0);
19110 nanl(0);
19111 nearbyint(0.0);
19112 nearbyintf(0.0f);
19113 nearbyintl(0.0l);
19114 nextafter(0.0, 0.0);
19115 nextafterf(0.0f, 0.0f);
19116 nextafterl(0.0l, 0.0l);
19117 nexttoward(0.0, 0.0);
19118 nexttowardf(0.0f, 0.0f);
19119 nexttowardl(0.0l, 0.0l);
19120 remainder(0.0, 0.0);
19121 remainderf(0.0f, 0.0f);
19122 remainderl(0.0l, 0.0l);
19123 remquo(0.0, 0.0, 0);
19124 remquof(0.0f, 0.0f, 0);
19125 remquol(0.0l, 0.0l, 0);
19126 rint(0.0);
19127 rintf(0.0f);
19128 rintl(0.0l);
19129 round(0.0);
19130 roundf(0.0f);
19131 roundl(0.0l);
19132 scalbln(0.0, 0l);
19133 scalblnf(0.0f, 0l);
19134 scalblnl(0.0l, 0l);
19135 scalbn(0.0, 0);
19136 scalbnf(0.0f, 0);
19137 scalbnl(0.0l, 0);
19138 tgamma(0.0);
19139 tgammaf(0.0f);
19140 tgammal(0.0l);
19141 trunc(0.0);
19142 truncf(0.0f);
19143 truncl(0.0l);
19144
19145 ;
19146 return 0;
19147 }
19148 _ACEOF
19149 if ac_fn_cxx_try_compile "$LINENO"; then :
19150 glibcxx_cv_c99_math_tr1=yes
19151 else
19152 glibcxx_cv_c99_math_tr1=no
19153 fi
19154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19155
19156 fi
19157
19158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19159 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19160 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19161
19162 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19163
19164 fi
19165
19166 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19167 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19168 ac_c99_inttypes_tr1=no;
19169 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19171 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19173 /* end confdefs.h. */
19174 #include <inttypes.h>
19175 int
19176 main ()
19177 {
19178 intmax_t i, numer, denom, base;
19179 const char* s;
19180 char** endptr;
19181 intmax_t ret = imaxabs(i);
19182 imaxdiv_t dret = imaxdiv(numer, denom);
19183 ret = strtoimax(s, endptr, base);
19184 uintmax_t uret = strtoumax(s, endptr, base);
19185
19186 ;
19187 return 0;
19188 }
19189 _ACEOF
19190 if ac_fn_cxx_try_compile "$LINENO"; then :
19191 ac_c99_inttypes_tr1=yes
19192 else
19193 ac_c99_inttypes_tr1=no
19194 fi
19195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19196 fi
19197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19198 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19199 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19200
19201 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19202
19203 fi
19204
19205 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
19206 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19207 ac_c99_inttypes_wchar_t_tr1=no;
19208 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19210 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19212 /* end confdefs.h. */
19213 #include <inttypes.h>
19214 int
19215 main ()
19216 {
19217 intmax_t base;
19218 const wchar_t* s;
19219 wchar_t** endptr;
19220 intmax_t ret = wcstoimax(s, endptr, base);
19221 uintmax_t uret = wcstoumax(s, endptr, base);
19222
19223 ;
19224 return 0;
19225 }
19226 _ACEOF
19227 if ac_fn_cxx_try_compile "$LINENO"; then :
19228 ac_c99_inttypes_wchar_t_tr1=yes
19229 else
19230 ac_c99_inttypes_wchar_t_tr1=no
19231 fi
19232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19233 fi
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19235 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19236 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19237
19238 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19239
19240 fi
19241
19242 # Check for the existence of the <stdbool.h> header.
19243 for ac_header in stdbool.h
19244 do :
19245 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19246 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19247 cat >>confdefs.h <<_ACEOF
19248 #define HAVE_STDBOOL_H 1
19249 _ACEOF
19250
19251 fi
19252
19253 done
19254
19255
19256 # Check for the existence of the <stdalign.h> header.
19257 for ac_header in stdalign.h
19258 do :
19259 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19260 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19261 cat >>confdefs.h <<_ACEOF
19262 #define HAVE_STDALIGN_H 1
19263 _ACEOF
19264
19265 fi
19266
19267 done
19268
19269
19270 CXXFLAGS="$ac_save_CXXFLAGS"
19271 ac_ext=c
19272 ac_cpp='$CPP $CPPFLAGS'
19273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19276
19277
19278
19279 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19280
19281
19282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19283 $as_echo_n "checking for the value of EOF... " >&6; }
19284 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19285 $as_echo_n "(cached) " >&6
19286 else
19287
19288 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19289
19290 else
19291 as_fn_error "computing EOF failed" "$LINENO" 5
19292 fi
19293
19294
19295 fi
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19297 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19298
19299 cat >>confdefs.h <<_ACEOF
19300 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19301 _ACEOF
19302
19303
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19305 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19306 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19307 $as_echo_n "(cached) " >&6
19308 else
19309
19310 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19311
19312 else
19313 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19314 fi
19315
19316
19317 fi
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19319 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19320
19321 cat >>confdefs.h <<_ACEOF
19322 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19323 _ACEOF
19324
19325
19326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19327 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19328 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19329 $as_echo_n "(cached) " >&6
19330 else
19331
19332 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19333
19334 else
19335 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19336 fi
19337
19338
19339 fi
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19341 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19342
19343 cat >>confdefs.h <<_ACEOF
19344 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19345 _ACEOF
19346
19347
19348
19349 # For gettimeofday support.
19350
19351
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19353 $as_echo_n "checking for gettimeofday... " >&6; }
19354
19355
19356 ac_ext=cpp
19357 ac_cpp='$CXXCPP $CPPFLAGS'
19358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19361
19362 ac_save_CXXFLAGS="$CXXFLAGS"
19363 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19364
19365 ac_has_gettimeofday=no;
19366 for ac_header in sys/time.h
19367 do :
19368 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19369 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19370 cat >>confdefs.h <<_ACEOF
19371 #define HAVE_SYS_TIME_H 1
19372 _ACEOF
19373 ac_has_sys_time_h=yes
19374 else
19375 ac_has_sys_time_h=no
19376 fi
19377
19378 done
19379
19380 if test x"$ac_has_sys_time_h" = x"yes"; then
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19382 $as_echo_n "checking for gettimeofday... " >&6; }
19383 if test x$gcc_no_link = xyes; then
19384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19385 /* end confdefs.h. */
19386 #include <sys/time.h>
19387 int
19388 main ()
19389 {
19390 timeval tv; gettimeofday(&tv, 0);
19391 ;
19392 return 0;
19393 }
19394 _ACEOF
19395 if ac_fn_cxx_try_compile "$LINENO"; then :
19396 ac_has_gettimeofday=yes
19397 else
19398 ac_has_gettimeofday=no
19399 fi
19400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19401 else
19402 if test x$gcc_no_link = xyes; then
19403 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19404 fi
19405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19406 /* end confdefs.h. */
19407 #include <sys/time.h>
19408 int
19409 main ()
19410 {
19411 timeval tv; gettimeofday(&tv, 0);
19412 ;
19413 return 0;
19414 }
19415 _ACEOF
19416 if ac_fn_cxx_try_link "$LINENO"; then :
19417 ac_has_gettimeofday=yes
19418 else
19419 ac_has_gettimeofday=no
19420 fi
19421 rm -f core conftest.err conftest.$ac_objext \
19422 conftest$ac_exeext conftest.$ac_ext
19423 fi
19424
19425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19426 $as_echo "$ac_has_gettimeofday" >&6; }
19427 fi
19428
19429 if test x"$ac_has_gettimeofday" = x"yes"; then
19430
19431 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19432
19433 fi
19434
19435 CXXFLAGS="$ac_save_CXXFLAGS"
19436 ac_ext=c
19437 ac_cpp='$CPP $CPPFLAGS'
19438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19441
19442
19443
19444 # For clock_gettime, nanosleep and sched_yield support.
19445
19446
19447 # Check whether --enable-libstdcxx-time was given.
19448 if test "${enable_libstdcxx_time+set}" = set; then :
19449 enableval=$enable_libstdcxx_time;
19450 case "$enableval" in
19451 yes|no|rt) ;;
19452 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19453 esac
19454
19455 else
19456 enable_libstdcxx_time=auto
19457 fi
19458
19459
19460
19461
19462 ac_ext=cpp
19463 ac_cpp='$CXXCPP $CPPFLAGS'
19464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19467
19468 ac_save_CXXFLAGS="$CXXFLAGS"
19469 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19470 ac_save_LIBS="$LIBS"
19471
19472 ac_has_clock_monotonic=no
19473 ac_has_clock_realtime=no
19474 ac_has_nanosleep=no
19475 ac_has_sched_yield=no
19476
19477 if test x"$enable_libstdcxx_time" = x"auto"; then
19478
19479 case "${target_os}" in
19480 cygwin*)
19481 ac_has_nanosleep=yes
19482 ;;
19483 darwin*)
19484 ac_has_nanosleep=yes
19485 ac_has_sched_yield=yes
19486 ;;
19487 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19489 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19491 /* end confdefs.h. */
19492 #include <features.h>
19493 int
19494 main ()
19495 {
19496
19497 #if ! __GLIBC_PREREQ(2, 17)
19498 #error
19499 #endif
19500
19501 ;
19502 return 0;
19503 }
19504 _ACEOF
19505 if ac_fn_cxx_try_compile "$LINENO"; then :
19506 glibcxx_glibc217=yes
19507 else
19508 glibcxx_glibc217=no
19509 fi
19510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19512 $as_echo "$glibcxx_glibc217" >&6; }
19513
19514 if test x"$glibcxx_glibc217" = x"yes"; then
19515 ac_has_clock_monotonic=yes
19516 ac_has_clock_realtime=yes
19517 fi
19518 ac_has_nanosleep=yes
19519 ac_has_sched_yield=yes
19520 ;;
19521 freebsd*|netbsd*)
19522 ac_has_clock_monotonic=yes
19523 ac_has_clock_realtime=yes
19524 ac_has_nanosleep=yes
19525 ac_has_sched_yield=yes
19526 ;;
19527 openbsd*)
19528 ac_has_clock_monotonic=yes
19529 ac_has_clock_realtime=yes
19530 ac_has_nanosleep=yes
19531 ;;
19532 solaris*)
19533 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19534 ac_has_clock_monotonic=yes
19535 ac_has_clock_realtime=yes
19536 ac_has_nanosleep=yes
19537 ac_has_sched_yield=yes
19538 ;;
19539 esac
19540
19541 elif test x"$enable_libstdcxx_time" != x"no"; then
19542
19543 if test x"$enable_libstdcxx_time" = x"rt"; then
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19545 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19546 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19547 $as_echo_n "(cached) " >&6
19548 else
19549 ac_func_search_save_LIBS=$LIBS
19550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19551 /* end confdefs.h. */
19552
19553 /* Override any GCC internal prototype to avoid an error.
19554 Use char because int might match the return type of a GCC
19555 builtin and then its argument prototype would still apply. */
19556 #ifdef __cplusplus
19557 extern "C"
19558 #endif
19559 char clock_gettime ();
19560 int
19561 main ()
19562 {
19563 return clock_gettime ();
19564 ;
19565 return 0;
19566 }
19567 _ACEOF
19568 for ac_lib in '' rt posix4; do
19569 if test -z "$ac_lib"; then
19570 ac_res="none required"
19571 else
19572 ac_res=-l$ac_lib
19573 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19574 fi
19575 if test x$gcc_no_link = xyes; then
19576 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19577 fi
19578 if ac_fn_cxx_try_link "$LINENO"; then :
19579 ac_cv_search_clock_gettime=$ac_res
19580 fi
19581 rm -f core conftest.err conftest.$ac_objext \
19582 conftest$ac_exeext
19583 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19584 break
19585 fi
19586 done
19587 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19588
19589 else
19590 ac_cv_search_clock_gettime=no
19591 fi
19592 rm conftest.$ac_ext
19593 LIBS=$ac_func_search_save_LIBS
19594 fi
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19596 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19597 ac_res=$ac_cv_search_clock_gettime
19598 if test "$ac_res" != no; then :
19599 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19600
19601 fi
19602
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19604 $as_echo_n "checking for library containing nanosleep... " >&6; }
19605 if test "${ac_cv_search_nanosleep+set}" = set; then :
19606 $as_echo_n "(cached) " >&6
19607 else
19608 ac_func_search_save_LIBS=$LIBS
19609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19610 /* end confdefs.h. */
19611
19612 /* Override any GCC internal prototype to avoid an error.
19613 Use char because int might match the return type of a GCC
19614 builtin and then its argument prototype would still apply. */
19615 #ifdef __cplusplus
19616 extern "C"
19617 #endif
19618 char nanosleep ();
19619 int
19620 main ()
19621 {
19622 return nanosleep ();
19623 ;
19624 return 0;
19625 }
19626 _ACEOF
19627 for ac_lib in '' rt posix4; do
19628 if test -z "$ac_lib"; then
19629 ac_res="none required"
19630 else
19631 ac_res=-l$ac_lib
19632 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19633 fi
19634 if test x$gcc_no_link = xyes; then
19635 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19636 fi
19637 if ac_fn_cxx_try_link "$LINENO"; then :
19638 ac_cv_search_nanosleep=$ac_res
19639 fi
19640 rm -f core conftest.err conftest.$ac_objext \
19641 conftest$ac_exeext
19642 if test "${ac_cv_search_nanosleep+set}" = set; then :
19643 break
19644 fi
19645 done
19646 if test "${ac_cv_search_nanosleep+set}" = set; then :
19647
19648 else
19649 ac_cv_search_nanosleep=no
19650 fi
19651 rm conftest.$ac_ext
19652 LIBS=$ac_func_search_save_LIBS
19653 fi
19654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19655 $as_echo "$ac_cv_search_nanosleep" >&6; }
19656 ac_res=$ac_cv_search_nanosleep
19657 if test "$ac_res" != no; then :
19658 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19659
19660 fi
19661
19662 else
19663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19664 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19665 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19666 $as_echo_n "(cached) " >&6
19667 else
19668 ac_func_search_save_LIBS=$LIBS
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671
19672 /* Override any GCC internal prototype to avoid an error.
19673 Use char because int might match the return type of a GCC
19674 builtin and then its argument prototype would still apply. */
19675 #ifdef __cplusplus
19676 extern "C"
19677 #endif
19678 char clock_gettime ();
19679 int
19680 main ()
19681 {
19682 return clock_gettime ();
19683 ;
19684 return 0;
19685 }
19686 _ACEOF
19687 for ac_lib in '' posix4; do
19688 if test -z "$ac_lib"; then
19689 ac_res="none required"
19690 else
19691 ac_res=-l$ac_lib
19692 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19693 fi
19694 if test x$gcc_no_link = xyes; then
19695 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19696 fi
19697 if ac_fn_cxx_try_link "$LINENO"; then :
19698 ac_cv_search_clock_gettime=$ac_res
19699 fi
19700 rm -f core conftest.err conftest.$ac_objext \
19701 conftest$ac_exeext
19702 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19703 break
19704 fi
19705 done
19706 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19707
19708 else
19709 ac_cv_search_clock_gettime=no
19710 fi
19711 rm conftest.$ac_ext
19712 LIBS=$ac_func_search_save_LIBS
19713 fi
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19715 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19716 ac_res=$ac_cv_search_clock_gettime
19717 if test "$ac_res" != no; then :
19718 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19719
19720 fi
19721
19722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19723 $as_echo_n "checking for library containing nanosleep... " >&6; }
19724 if test "${ac_cv_search_nanosleep+set}" = set; then :
19725 $as_echo_n "(cached) " >&6
19726 else
19727 ac_func_search_save_LIBS=$LIBS
19728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19729 /* end confdefs.h. */
19730
19731 /* Override any GCC internal prototype to avoid an error.
19732 Use char because int might match the return type of a GCC
19733 builtin and then its argument prototype would still apply. */
19734 #ifdef __cplusplus
19735 extern "C"
19736 #endif
19737 char nanosleep ();
19738 int
19739 main ()
19740 {
19741 return nanosleep ();
19742 ;
19743 return 0;
19744 }
19745 _ACEOF
19746 for ac_lib in '' posix4; do
19747 if test -z "$ac_lib"; then
19748 ac_res="none required"
19749 else
19750 ac_res=-l$ac_lib
19751 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19752 fi
19753 if test x$gcc_no_link = xyes; then
19754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19755 fi
19756 if ac_fn_cxx_try_link "$LINENO"; then :
19757 ac_cv_search_nanosleep=$ac_res
19758 fi
19759 rm -f core conftest.err conftest.$ac_objext \
19760 conftest$ac_exeext
19761 if test "${ac_cv_search_nanosleep+set}" = set; then :
19762 break
19763 fi
19764 done
19765 if test "${ac_cv_search_nanosleep+set}" = set; then :
19766
19767 else
19768 ac_cv_search_nanosleep=no
19769 fi
19770 rm conftest.$ac_ext
19771 LIBS=$ac_func_search_save_LIBS
19772 fi
19773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19774 $as_echo "$ac_cv_search_nanosleep" >&6; }
19775 ac_res=$ac_cv_search_nanosleep
19776 if test "$ac_res" != no; then :
19777 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19778
19779 fi
19780
19781 fi
19782
19783 case "$ac_cv_search_clock_gettime" in
19784 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19785 ;;
19786 esac
19787 case "$ac_cv_search_nanosleep" in
19788 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19789 ;;
19790 esac
19791
19792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19793 $as_echo_n "checking for library containing sched_yield... " >&6; }
19794 if test "${ac_cv_search_sched_yield+set}" = set; then :
19795 $as_echo_n "(cached) " >&6
19796 else
19797 ac_func_search_save_LIBS=$LIBS
19798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19799 /* end confdefs.h. */
19800
19801 /* Override any GCC internal prototype to avoid an error.
19802 Use char because int might match the return type of a GCC
19803 builtin and then its argument prototype would still apply. */
19804 #ifdef __cplusplus
19805 extern "C"
19806 #endif
19807 char sched_yield ();
19808 int
19809 main ()
19810 {
19811 return sched_yield ();
19812 ;
19813 return 0;
19814 }
19815 _ACEOF
19816 for ac_lib in '' rt posix4; do
19817 if test -z "$ac_lib"; then
19818 ac_res="none required"
19819 else
19820 ac_res=-l$ac_lib
19821 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19822 fi
19823 if test x$gcc_no_link = xyes; then
19824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19825 fi
19826 if ac_fn_cxx_try_link "$LINENO"; then :
19827 ac_cv_search_sched_yield=$ac_res
19828 fi
19829 rm -f core conftest.err conftest.$ac_objext \
19830 conftest$ac_exeext
19831 if test "${ac_cv_search_sched_yield+set}" = set; then :
19832 break
19833 fi
19834 done
19835 if test "${ac_cv_search_sched_yield+set}" = set; then :
19836
19837 else
19838 ac_cv_search_sched_yield=no
19839 fi
19840 rm conftest.$ac_ext
19841 LIBS=$ac_func_search_save_LIBS
19842 fi
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19844 $as_echo "$ac_cv_search_sched_yield" >&6; }
19845 ac_res=$ac_cv_search_sched_yield
19846 if test "$ac_res" != no; then :
19847 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19848
19849 fi
19850
19851
19852 case "$ac_cv_search_sched_yield" in
19853 -lposix4*)
19854 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19855 ac_has_sched_yield=yes
19856 ;;
19857 -lrt*)
19858 if test x"$enable_libstdcxx_time" = x"rt"; then
19859 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19860 ac_has_sched_yield=yes
19861 fi
19862 ;;
19863 *)
19864 ac_has_sched_yield=yes
19865 ;;
19866 esac
19867
19868 for ac_header in unistd.h
19869 do :
19870 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19871 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19872 cat >>confdefs.h <<_ACEOF
19873 #define HAVE_UNISTD_H 1
19874 _ACEOF
19875 ac_has_unistd_h=yes
19876 else
19877 ac_has_unistd_h=no
19878 fi
19879
19880 done
19881
19882
19883 if test x"$ac_has_unistd_h" = x"yes"; then
19884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19885 $as_echo_n "checking for monotonic clock... " >&6; }
19886 if test x$gcc_no_link = xyes; then
19887 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19888 fi
19889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19890 /* end confdefs.h. */
19891 #include <unistd.h>
19892 #include <time.h>
19893
19894 int
19895 main ()
19896 {
19897 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19898 timespec tp;
19899 #endif
19900 clock_gettime(CLOCK_MONOTONIC, &tp);
19901
19902 ;
19903 return 0;
19904 }
19905 _ACEOF
19906 if ac_fn_cxx_try_link "$LINENO"; then :
19907 ac_has_clock_monotonic=yes
19908 else
19909 ac_has_clock_monotonic=no
19910 fi
19911 rm -f core conftest.err conftest.$ac_objext \
19912 conftest$ac_exeext conftest.$ac_ext
19913
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19915 $as_echo "$ac_has_clock_monotonic" >&6; }
19916
19917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19918 $as_echo_n "checking for realtime clock... " >&6; }
19919 if test x$gcc_no_link = xyes; then
19920 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19921 fi
19922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19923 /* end confdefs.h. */
19924 #include <unistd.h>
19925 #include <time.h>
19926
19927 int
19928 main ()
19929 {
19930 #if _POSIX_TIMERS > 0
19931 timespec tp;
19932 #endif
19933 clock_gettime(CLOCK_REALTIME, &tp);
19934
19935 ;
19936 return 0;
19937 }
19938 _ACEOF
19939 if ac_fn_cxx_try_link "$LINENO"; then :
19940 ac_has_clock_realtime=yes
19941 else
19942 ac_has_clock_realtime=no
19943 fi
19944 rm -f core conftest.err conftest.$ac_objext \
19945 conftest$ac_exeext conftest.$ac_ext
19946
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19948 $as_echo "$ac_has_clock_realtime" >&6; }
19949
19950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19951 $as_echo_n "checking for nanosleep... " >&6; }
19952 if test x$gcc_no_link = xyes; then
19953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19954 fi
19955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19956 /* end confdefs.h. */
19957 #include <unistd.h>
19958 #include <time.h>
19959
19960 int
19961 main ()
19962 {
19963 #if _POSIX_TIMERS > 0
19964 timespec tp;
19965 #endif
19966 nanosleep(&tp, 0);
19967
19968 ;
19969 return 0;
19970 }
19971 _ACEOF
19972 if ac_fn_cxx_try_link "$LINENO"; then :
19973 ac_has_nanosleep=yes
19974 else
19975 ac_has_nanosleep=no
19976 fi
19977 rm -f core conftest.err conftest.$ac_objext \
19978 conftest$ac_exeext conftest.$ac_ext
19979
19980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19981 $as_echo "$ac_has_nanosleep" >&6; }
19982 fi
19983 fi
19984
19985 if test x"$ac_has_clock_monotonic" != x"yes"; then
19986 case ${target_os} in
19987 linux*)
19988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19989 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19991 /* end confdefs.h. */
19992 #include <unistd.h>
19993 #include <time.h>
19994 #include <sys/syscall.h>
19995
19996 int
19997 main ()
19998 {
19999 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20000 timespec tp;
20001 #endif
20002 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20003 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20004
20005 ;
20006 return 0;
20007 }
20008 _ACEOF
20009 if ac_fn_cxx_try_compile "$LINENO"; then :
20010 ac_has_clock_monotonic_syscall=yes
20011 else
20012 ac_has_clock_monotonic_syscall=no
20013 fi
20014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20016 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20017 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20018
20019 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20020
20021 ac_has_clock_monotonic=yes
20022 ac_has_clock_realtime=yes
20023 fi;;
20024 esac
20025 fi
20026
20027 if test x"$ac_has_clock_monotonic" = x"yes"; then
20028
20029 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20030
20031 fi
20032
20033 if test x"$ac_has_clock_realtime" = x"yes"; then
20034
20035 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20036
20037 fi
20038
20039 if test x"$ac_has_sched_yield" = x"yes"; then
20040
20041 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20042
20043 fi
20044
20045 if test x"$ac_has_nanosleep" = x"yes"; then
20046
20047 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20048
20049 else
20050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20051 $as_echo_n "checking for sleep... " >&6; }
20052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20053 /* end confdefs.h. */
20054 #include <unistd.h>
20055 int
20056 main ()
20057 {
20058 sleep(1)
20059 ;
20060 return 0;
20061 }
20062 _ACEOF
20063 if ac_fn_cxx_try_compile "$LINENO"; then :
20064 ac_has_sleep=yes
20065 else
20066 ac_has_sleep=no
20067 fi
20068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20069 if test x"$ac_has_sleep" = x"yes"; then
20070
20071 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20072
20073 fi
20074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20075 $as_echo "$ac_has_sleep" >&6; }
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20077 $as_echo_n "checking for usleep... " >&6; }
20078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20080 #include <unistd.h>
20081 int
20082 main ()
20083 {
20084 sleep(1);
20085 usleep(100);
20086 ;
20087 return 0;
20088 }
20089 _ACEOF
20090 if ac_fn_cxx_try_compile "$LINENO"; then :
20091 ac_has_usleep=yes
20092 else
20093 ac_has_usleep=no
20094 fi
20095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20096 if test x"$ac_has_usleep" = x"yes"; then
20097
20098 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20099
20100 fi
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20102 $as_echo "$ac_has_usleep" >&6; }
20103 fi
20104
20105 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20107 $as_echo_n "checking for Sleep... " >&6; }
20108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20109 /* end confdefs.h. */
20110 #include <windows.h>
20111 int
20112 main ()
20113 {
20114 Sleep(1)
20115 ;
20116 return 0;
20117 }
20118 _ACEOF
20119 if ac_fn_cxx_try_compile "$LINENO"; then :
20120 ac_has_win32_sleep=yes
20121 else
20122 ac_has_win32_sleep=no
20123 fi
20124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20125 if test x"$ac_has_win32_sleep" = x"yes"; then
20126
20127 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20128
20129 fi
20130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20131 $as_echo "$ac_has_win32_sleep" >&6; }
20132 fi
20133
20134
20135
20136 CXXFLAGS="$ac_save_CXXFLAGS"
20137 LIBS="$ac_save_LIBS"
20138 ac_ext=c
20139 ac_cpp='$CPP $CPPFLAGS'
20140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20143
20144
20145
20146 # Check for tmpnam which is obsolescent in POSIX.1-2008
20147
20148 ac_ext=cpp
20149 ac_cpp='$CXXCPP $CPPFLAGS'
20150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20153
20154 ac_save_CXXFLAGS="$CXXFLAGS"
20155 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20157 $as_echo_n "checking for tmpnam... " >&6; }
20158 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20159 $as_echo_n "(cached) " >&6
20160 else
20161 if test x$gcc_no_link = xyes; then
20162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20163 /* end confdefs.h. */
20164 #include <stdio.h>
20165 int
20166 main ()
20167 {
20168 char *tmp = tmpnam(NULL);
20169 ;
20170 return 0;
20171 }
20172 _ACEOF
20173 if ac_fn_cxx_try_compile "$LINENO"; then :
20174 glibcxx_cv_TMPNAM=yes
20175 else
20176 glibcxx_cv_TMPNAM=no
20177 fi
20178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20179 else
20180 if test x$gcc_no_link = xyes; then
20181 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20182 fi
20183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20184 /* end confdefs.h. */
20185 #include <stdio.h>
20186 int
20187 main ()
20188 {
20189 char *tmp = tmpnam(NULL);
20190 ;
20191 return 0;
20192 }
20193 _ACEOF
20194 if ac_fn_cxx_try_link "$LINENO"; then :
20195 glibcxx_cv_TMPNAM=yes
20196 else
20197 glibcxx_cv_TMPNAM=no
20198 fi
20199 rm -f core conftest.err conftest.$ac_objext \
20200 conftest$ac_exeext conftest.$ac_ext
20201 fi
20202
20203 fi
20204
20205 if test $glibcxx_cv_TMPNAM = yes; then
20206
20207 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20208
20209 fi
20210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20211 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20212 CXXFLAGS="$ac_save_CXXFLAGS"
20213 ac_ext=c
20214 ac_cpp='$CPP $CPPFLAGS'
20215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20218
20219
20220
20221
20222 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20223 if test "x$ac_cv_header_locale_h" = x""yes; then :
20224
20225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20226 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20227 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20228 $as_echo_n "(cached) " >&6
20229 else
20230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20231 /* end confdefs.h. */
20232 #include <locale.h>
20233 int
20234 main ()
20235 {
20236 return LC_MESSAGES
20237 ;
20238 return 0;
20239 }
20240 _ACEOF
20241 if ac_fn_c_try_compile "$LINENO"; then :
20242 ac_cv_val_LC_MESSAGES=yes
20243 else
20244 ac_cv_val_LC_MESSAGES=no
20245 fi
20246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20247 fi
20248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20249 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20250 if test $ac_cv_val_LC_MESSAGES = yes; then
20251
20252 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20253
20254 fi
20255
20256 fi
20257
20258
20259
20260
20261 # For hardware_concurrency
20262 for ac_header in sys/sysinfo.h
20263 do :
20264 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20265 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20266 cat >>confdefs.h <<_ACEOF
20267 #define HAVE_SYS_SYSINFO_H 1
20268 _ACEOF
20269
20270 fi
20271
20272 done
20273
20274
20275
20276
20277 ac_ext=cpp
20278 ac_cpp='$CXXCPP $CPPFLAGS'
20279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20282
20283 ac_save_CXXFLAGS="$CXXFLAGS"
20284 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20285
20286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20287 $as_echo_n "checking for get_nprocs... " >&6; }
20288 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20289 $as_echo_n "(cached) " >&6
20290 else
20291
20292 if test x$gcc_no_link = xyes; then
20293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20294 /* end confdefs.h. */
20295 #include <sys/sysinfo.h>
20296 int
20297 main ()
20298 {
20299 int n = get_nprocs();
20300 ;
20301 return 0;
20302 }
20303 _ACEOF
20304 if ac_fn_cxx_try_compile "$LINENO"; then :
20305 glibcxx_cv_GET_NPROCS=yes
20306 else
20307 glibcxx_cv_GET_NPROCS=no
20308 fi
20309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20310 else
20311 if test x$gcc_no_link = xyes; then
20312 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20313 fi
20314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20315 /* end confdefs.h. */
20316 #include <sys/sysinfo.h>
20317 int
20318 main ()
20319 {
20320 int n = get_nprocs();
20321 ;
20322 return 0;
20323 }
20324 _ACEOF
20325 if ac_fn_cxx_try_link "$LINENO"; then :
20326 glibcxx_cv_GET_NPROCS=yes
20327 else
20328 glibcxx_cv_GET_NPROCS=no
20329 fi
20330 rm -f core conftest.err conftest.$ac_objext \
20331 conftest$ac_exeext conftest.$ac_ext
20332 fi
20333
20334 fi
20335
20336 if test $glibcxx_cv_GET_NPROCS = yes; then
20337
20338 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20339
20340 fi
20341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20342 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20343
20344 CXXFLAGS="$ac_save_CXXFLAGS"
20345 ac_ext=c
20346 ac_cpp='$CPP $CPPFLAGS'
20347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20350
20351
20352 for ac_header in unistd.h
20353 do :
20354 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20355 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20356 cat >>confdefs.h <<_ACEOF
20357 #define HAVE_UNISTD_H 1
20358 _ACEOF
20359
20360 fi
20361
20362 done
20363
20364
20365
20366
20367 ac_ext=cpp
20368 ac_cpp='$CXXCPP $CPPFLAGS'
20369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20372
20373 ac_save_CXXFLAGS="$CXXFLAGS"
20374 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20375
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20377 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20378 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20379 $as_echo_n "(cached) " >&6
20380 else
20381
20382 if test x$gcc_no_link = xyes; then
20383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20384 /* end confdefs.h. */
20385 #include <unistd.h>
20386 int
20387 main ()
20388 {
20389 int n = sysconf(_SC_NPROCESSORS_ONLN);
20390 ;
20391 return 0;
20392 }
20393 _ACEOF
20394 if ac_fn_cxx_try_compile "$LINENO"; then :
20395 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20396 else
20397 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20398 fi
20399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20400 else
20401 if test x$gcc_no_link = xyes; then
20402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20403 fi
20404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20405 /* end confdefs.h. */
20406 #include <unistd.h>
20407 int
20408 main ()
20409 {
20410 int n = sysconf(_SC_NPROCESSORS_ONLN);
20411 ;
20412 return 0;
20413 }
20414 _ACEOF
20415 if ac_fn_cxx_try_link "$LINENO"; then :
20416 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20417 else
20418 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20419 fi
20420 rm -f core conftest.err conftest.$ac_objext \
20421 conftest$ac_exeext conftest.$ac_ext
20422 fi
20423
20424 fi
20425
20426 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20427
20428 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20429
20430 fi
20431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20432 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20433
20434 CXXFLAGS="$ac_save_CXXFLAGS"
20435 ac_ext=c
20436 ac_cpp='$CPP $CPPFLAGS'
20437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20440
20441
20442
20443
20444
20445 ac_ext=cpp
20446 ac_cpp='$CXXCPP $CPPFLAGS'
20447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20450
20451 ac_save_CXXFLAGS="$CXXFLAGS"
20452 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20453
20454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20455 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20456 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20457 $as_echo_n "(cached) " >&6
20458 else
20459
20460 if test x$gcc_no_link = xyes; then
20461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20462 /* end confdefs.h. */
20463 #include <unistd.h>
20464 int
20465 main ()
20466 {
20467 int n = sysconf(_SC_NPROC_ONLN);
20468 ;
20469 return 0;
20470 }
20471 _ACEOF
20472 if ac_fn_cxx_try_compile "$LINENO"; then :
20473 glibcxx_cv_SC_NPROC_ONLN=yes
20474 else
20475 glibcxx_cv_SC_NPROC_ONLN=no
20476 fi
20477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20478 else
20479 if test x$gcc_no_link = xyes; then
20480 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20481 fi
20482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20483 /* end confdefs.h. */
20484 #include <unistd.h>
20485 int
20486 main ()
20487 {
20488 int n = sysconf(_SC_NPROC_ONLN);
20489 ;
20490 return 0;
20491 }
20492 _ACEOF
20493 if ac_fn_cxx_try_link "$LINENO"; then :
20494 glibcxx_cv_SC_NPROC_ONLN=yes
20495 else
20496 glibcxx_cv_SC_NPROC_ONLN=no
20497 fi
20498 rm -f core conftest.err conftest.$ac_objext \
20499 conftest$ac_exeext conftest.$ac_ext
20500 fi
20501
20502 fi
20503
20504 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20505
20506 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20507
20508 fi
20509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20510 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20511
20512 CXXFLAGS="$ac_save_CXXFLAGS"
20513 ac_ext=c
20514 ac_cpp='$CPP $CPPFLAGS'
20515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20518
20519
20520
20521
20522
20523 ac_ext=cpp
20524 ac_cpp='$CXXCPP $CPPFLAGS'
20525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20528
20529 ac_save_CXXFLAGS="$CXXFLAGS"
20530 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20531
20532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20533 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20534 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20535 $as_echo_n "(cached) " >&6
20536 else
20537
20538 if test x$gcc_no_link = xyes; then
20539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20540 /* end confdefs.h. */
20541 #include <pthread.h>
20542 int
20543 main ()
20544 {
20545 int n = pthread_num_processors_np();
20546 ;
20547 return 0;
20548 }
20549 _ACEOF
20550 if ac_fn_cxx_try_compile "$LINENO"; then :
20551 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20552 else
20553 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20554 fi
20555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20556 else
20557 if test x$gcc_no_link = xyes; then
20558 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20559 fi
20560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20561 /* end confdefs.h. */
20562 #include <pthread.h>
20563 int
20564 main ()
20565 {
20566 int n = pthread_num_processors_np();
20567 ;
20568 return 0;
20569 }
20570 _ACEOF
20571 if ac_fn_cxx_try_link "$LINENO"; then :
20572 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20573 else
20574 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20575 fi
20576 rm -f core conftest.err conftest.$ac_objext \
20577 conftest$ac_exeext conftest.$ac_ext
20578 fi
20579
20580 fi
20581
20582 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20583
20584 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20585
20586 fi
20587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20588 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20589
20590 CXXFLAGS="$ac_save_CXXFLAGS"
20591 ac_ext=c
20592 ac_cpp='$CPP $CPPFLAGS'
20593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20596
20597
20598
20599
20600
20601 ac_ext=cpp
20602 ac_cpp='$CXXCPP $CPPFLAGS'
20603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20606
20607 ac_save_CXXFLAGS="$CXXFLAGS"
20608 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20609
20610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20611 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20612 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20613 $as_echo_n "(cached) " >&6
20614 else
20615
20616 if test x$gcc_no_link = xyes; then
20617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20618 /* end confdefs.h. */
20619
20620 #include <stddef.h>
20621 #include <sys/sysctl.h>
20622
20623 int
20624 main ()
20625 {
20626
20627 int count;
20628 size_t size = sizeof(count);
20629 int mib[] = { CTL_HW, HW_NCPU };
20630 sysctl(mib, 2, &count, &size, NULL, 0);
20631
20632 ;
20633 return 0;
20634 }
20635 _ACEOF
20636 if ac_fn_cxx_try_compile "$LINENO"; then :
20637 glibcxx_cv_SYSCTL_HW_NCPU=yes
20638 else
20639 glibcxx_cv_SYSCTL_HW_NCPU=no
20640 fi
20641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20642 else
20643 if test x$gcc_no_link = xyes; then
20644 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20645 fi
20646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20647 /* end confdefs.h. */
20648
20649 #include <stddef.h>
20650 #include <sys/sysctl.h>
20651
20652 int
20653 main ()
20654 {
20655
20656 int count;
20657 size_t size = sizeof(count);
20658 int mib[] = { CTL_HW, HW_NCPU };
20659 sysctl(mib, 2, &count, &size, NULL, 0);
20660
20661 ;
20662 return 0;
20663 }
20664 _ACEOF
20665 if ac_fn_cxx_try_link "$LINENO"; then :
20666 glibcxx_cv_SYSCTL_HW_NCPU=yes
20667 else
20668 glibcxx_cv_SYSCTL_HW_NCPU=no
20669 fi
20670 rm -f core conftest.err conftest.$ac_objext \
20671 conftest$ac_exeext conftest.$ac_ext
20672 fi
20673
20674 fi
20675
20676 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20677
20678 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20679
20680 fi
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20682 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20683
20684 CXXFLAGS="$ac_save_CXXFLAGS"
20685 ac_ext=c
20686 ac_cpp='$CPP $CPPFLAGS'
20687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20690
20691
20692
20693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: for suitable sys/sdt.h" >&5
20694 $as_echo "for suitable sys/sdt.h" >&6; }
20695 # Note that this test has to be run with the C language.
20696 # Otherwise, sdt.h will try to include some headers from
20697 # libstdc++ itself.
20698
20699 ac_ext=c
20700 ac_cpp='$CPP $CPPFLAGS'
20701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20704
20705 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20706 $as_echo_n "(cached) " >&6
20707 else
20708
20709 # Because we have to run the test in C, we use grep rather
20710 # than the compiler to check for the bug. The bug is that
20711 # were strings without trailing whitespace, causing g++
20712 # to look for operator"". The pattern searches for the fixed
20713 # output.
20714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20715 /* end confdefs.h. */
20716
20717 #include <sys/sdt.h>
20718 int f() { STAP_PROBE(hi, bob); }
20719
20720 _ACEOF
20721 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20722 $EGREP " \",\" " >/dev/null 2>&1; then :
20723 glibcxx_cv_sys_sdt_h=yes
20724 else
20725 glibcxx_cv_sys_sdt_h=no
20726 fi
20727 rm -f conftest*
20728
20729
20730 fi
20731
20732 ac_ext=c
20733 ac_cpp='$CPP $CPPFLAGS'
20734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20737
20738 if test $glibcxx_cv_sys_sdt_h = yes; then
20739
20740 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20741
20742 fi
20743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20744 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20745
20746
20747 # Check for available headers.
20748 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20749 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20750 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20751 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20752 wchar.h wctype.h
20753 do :
20754 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20755 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20756 eval as_val=\$$as_ac_Header
20757 if test "x$as_val" = x""yes; then :
20758 cat >>confdefs.h <<_ACEOF
20759 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20760 _ACEOF
20761
20762 fi
20763
20764 done
20765
20766
20767 # Only do link tests if native. Else, hardcode.
20768 if $GLIBCXX_IS_NATIVE; then
20769
20770 # We can do more elaborate tests that assume a working linker.
20771 CANADIAN=no
20772
20773
20774
20775 # Check whether --with-gnu-ld was given.
20776 if test "${with_gnu_ld+set}" = set; then :
20777 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20778 else
20779 with_gnu_ld=no
20780 fi
20781
20782 ac_prog=ld
20783 if test "$GCC" = yes; then
20784 # Check if gcc -print-prog-name=ld gives a path.
20785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20786 $as_echo_n "checking for ld used by $CC... " >&6; }
20787 case $host in
20788 *-*-mingw*)
20789 # gcc leaves a trailing carriage return which upsets mingw
20790 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20791 *)
20792 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20793 esac
20794 case $ac_prog in
20795 # Accept absolute paths.
20796 [\\/]* | ?:[\\/]*)
20797 re_direlt='/[^/][^/]*/\.\./'
20798 # Canonicalize the pathname of ld
20799 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20800 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20801 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20802 done
20803 test -z "$LD" && LD="$ac_prog"
20804 ;;
20805 "")
20806 # If it fails, then pretend we aren't using GCC.
20807 ac_prog=ld
20808 ;;
20809 *)
20810 # If it is relative, then search for the first ld in PATH.
20811 with_gnu_ld=unknown
20812 ;;
20813 esac
20814 elif test "$with_gnu_ld" = yes; then
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20816 $as_echo_n "checking for GNU ld... " >&6; }
20817 else
20818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20819 $as_echo_n "checking for non-GNU ld... " >&6; }
20820 fi
20821 if test "${lt_cv_path_LD+set}" = set; then :
20822 $as_echo_n "(cached) " >&6
20823 else
20824 if test -z "$LD"; then
20825 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20826 for ac_dir in $PATH; do
20827 IFS="$lt_save_ifs"
20828 test -z "$ac_dir" && ac_dir=.
20829 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20830 lt_cv_path_LD="$ac_dir/$ac_prog"
20831 # Check to see if the program is GNU ld. I'd rather use --version,
20832 # but apparently some variants of GNU ld only accept -v.
20833 # Break only if it was the GNU/non-GNU ld that we prefer.
20834 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20835 *GNU* | *'with BFD'*)
20836 test "$with_gnu_ld" != no && break
20837 ;;
20838 *)
20839 test "$with_gnu_ld" != yes && break
20840 ;;
20841 esac
20842 fi
20843 done
20844 IFS="$lt_save_ifs"
20845 else
20846 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20847 fi
20848 fi
20849
20850 LD="$lt_cv_path_LD"
20851 if test -n "$LD"; then
20852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20853 $as_echo "$LD" >&6; }
20854 else
20855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20856 $as_echo "no" >&6; }
20857 fi
20858 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20860 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20861 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20862 $as_echo_n "(cached) " >&6
20863 else
20864 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20865 case `$LD -v 2>&1 </dev/null` in
20866 *GNU* | *'with BFD'*)
20867 lt_cv_prog_gnu_ld=yes
20868 ;;
20869 *)
20870 lt_cv_prog_gnu_ld=no
20871 ;;
20872 esac
20873 fi
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20875 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20876 with_gnu_ld=$lt_cv_prog_gnu_ld
20877
20878
20879
20880
20881
20882
20883
20884 # If we're not using GNU ld, then there's no point in even trying these
20885 # tests. Check for that first. We should have already tested for gld
20886 # by now (in libtool), but require it now just to be safe...
20887 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20888 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20889
20890
20891
20892 # The name set by libtool depends on the version of libtool. Shame on us
20893 # for depending on an impl detail, but c'est la vie. Older versions used
20894 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20895 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20896 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20897 # set (hence we're using an older libtool), then set it.
20898 if test x${with_gnu_ld+set} != xset; then
20899 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20900 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20901 with_gnu_ld=no
20902 else
20903 with_gnu_ld=$ac_cv_prog_gnu_ld
20904 fi
20905 fi
20906
20907 # Start by getting the version number. I think the libtool test already
20908 # does some of this, but throws away the result.
20909 glibcxx_ld_is_gold=no
20910 if test x"$with_gnu_ld" = x"yes"; then
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20912 $as_echo_n "checking for ld version... " >&6; }
20913
20914 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20915 glibcxx_ld_is_gold=yes
20916 fi
20917 ldver=`$LD --version 2>/dev/null |
20918 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'`
20919
20920 glibcxx_gnu_ld_version=`echo $ldver | \
20921 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20923 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20924 fi
20925
20926 # Set --gc-sections.
20927 glibcxx_have_gc_sections=no
20928 if test "$glibcxx_ld_is_gold" = "yes"; then
20929 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20930 glibcxx_have_gc_sections=yes
20931 fi
20932 else
20933 glibcxx_gcsections_min_ld=21602
20934 if test x"$with_gnu_ld" = x"yes" &&
20935 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20936 glibcxx_have_gc_sections=yes
20937 fi
20938 fi
20939 if test "$glibcxx_have_gc_sections" = "yes"; then
20940 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20941 # NB: This flag only works reliably after 2.16.1. Configure tests
20942 # for this are difficult, so hard wire a value that should work.
20943
20944 ac_test_CFLAGS="${CFLAGS+set}"
20945 ac_save_CFLAGS="$CFLAGS"
20946 CFLAGS='-Wl,--gc-sections'
20947
20948 # Check for -Wl,--gc-sections
20949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20950 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20951 if test x$gcc_no_link = xyes; then
20952 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20953 fi
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 int one(void) { return 1; }
20957 int two(void) { return 2; }
20958
20959 int
20960 main ()
20961 {
20962 two();
20963 ;
20964 return 0;
20965 }
20966 _ACEOF
20967 if ac_fn_c_try_link "$LINENO"; then :
20968 ac_gcsections=yes
20969 else
20970 ac_gcsections=no
20971 fi
20972 rm -f core conftest.err conftest.$ac_objext \
20973 conftest$ac_exeext conftest.$ac_ext
20974 if test "$ac_gcsections" = "yes"; then
20975 rm -f conftest.c
20976 touch conftest.c
20977 if $CC -c conftest.c; then
20978 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20979 grep "Warning: gc-sections option ignored" > /dev/null; then
20980 ac_gcsections=no
20981 fi
20982 fi
20983 rm -f conftest.c conftest.o conftest
20984 fi
20985 if test "$ac_gcsections" = "yes"; then
20986 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20987 fi
20988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20989 $as_echo "$ac_gcsections" >&6; }
20990
20991 if test "$ac_test_CFLAGS" = set; then
20992 CFLAGS="$ac_save_CFLAGS"
20993 else
20994 # this is the suspicious part
20995 CFLAGS=''
20996 fi
20997 fi
20998
20999 # Set -z,relro.
21000 # Note this is only for shared objects.
21001 ac_ld_relro=no
21002 if test x"$with_gnu_ld" = x"yes"; then
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21004 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21005 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21006 if test -n "$cxx_z_relo"; then
21007 OPT_LDFLAGS="-Wl,-z,relro"
21008 ac_ld_relro=yes
21009 fi
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21011 $as_echo "$ac_ld_relro" >&6; }
21012 fi
21013
21014 # Set linker optimization flags.
21015 if test x"$with_gnu_ld" = x"yes"; then
21016 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21017 fi
21018
21019
21020
21021
21022
21023 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21024 ac_save_CXXFLAGS="$CXXFLAGS"
21025 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21026
21027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21028 $as_echo_n "checking for sin in -lm... " >&6; }
21029 if test "${ac_cv_lib_m_sin+set}" = set; then :
21030 $as_echo_n "(cached) " >&6
21031 else
21032 ac_check_lib_save_LIBS=$LIBS
21033 LIBS="-lm $LIBS"
21034 if test x$gcc_no_link = xyes; then
21035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21036 fi
21037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21038 /* end confdefs.h. */
21039
21040 /* Override any GCC internal prototype to avoid an error.
21041 Use char because int might match the return type of a GCC
21042 builtin and then its argument prototype would still apply. */
21043 #ifdef __cplusplus
21044 extern "C"
21045 #endif
21046 char sin ();
21047 int
21048 main ()
21049 {
21050 return sin ();
21051 ;
21052 return 0;
21053 }
21054 _ACEOF
21055 if ac_fn_c_try_link "$LINENO"; then :
21056 ac_cv_lib_m_sin=yes
21057 else
21058 ac_cv_lib_m_sin=no
21059 fi
21060 rm -f core conftest.err conftest.$ac_objext \
21061 conftest$ac_exeext conftest.$ac_ext
21062 LIBS=$ac_check_lib_save_LIBS
21063 fi
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21065 $as_echo "$ac_cv_lib_m_sin" >&6; }
21066 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21067 libm="-lm"
21068 fi
21069
21070 ac_save_LIBS="$LIBS"
21071 LIBS="$LIBS $libm"
21072
21073
21074
21075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21076 $as_echo_n "checking for isinf declaration... " >&6; }
21077 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21078 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21079 $as_echo_n "(cached) " >&6
21080 else
21081
21082
21083 ac_ext=cpp
21084 ac_cpp='$CXXCPP $CPPFLAGS'
21085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21088
21089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21090 /* end confdefs.h. */
21091 #include <math.h>
21092 #ifdef HAVE_IEEEFP_H
21093 #include <ieeefp.h>
21094 #endif
21095
21096 int
21097 main ()
21098 {
21099 isinf(0);
21100 ;
21101 return 0;
21102 }
21103 _ACEOF
21104 if ac_fn_cxx_try_compile "$LINENO"; then :
21105 glibcxx_cv_func_isinf_use=yes
21106 else
21107 glibcxx_cv_func_isinf_use=no
21108 fi
21109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21110 ac_ext=c
21111 ac_cpp='$CPP $CPPFLAGS'
21112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21115
21116
21117 fi
21118
21119 fi
21120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21121 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21122
21123 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21124 for ac_func in isinf
21125 do :
21126 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21127 if test "x$ac_cv_func_isinf" = x""yes; then :
21128 cat >>confdefs.h <<_ACEOF
21129 #define HAVE_ISINF 1
21130 _ACEOF
21131
21132 fi
21133 done
21134
21135 else
21136
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21138 $as_echo_n "checking for _isinf declaration... " >&6; }
21139 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21140 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21141 $as_echo_n "(cached) " >&6
21142 else
21143
21144
21145 ac_ext=cpp
21146 ac_cpp='$CXXCPP $CPPFLAGS'
21147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21150
21151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21152 /* end confdefs.h. */
21153 #include <math.h>
21154 #ifdef HAVE_IEEEFP_H
21155 #include <ieeefp.h>
21156 #endif
21157
21158 int
21159 main ()
21160 {
21161 _isinf(0);
21162 ;
21163 return 0;
21164 }
21165 _ACEOF
21166 if ac_fn_cxx_try_compile "$LINENO"; then :
21167 glibcxx_cv_func__isinf_use=yes
21168 else
21169 glibcxx_cv_func__isinf_use=no
21170 fi
21171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21172 ac_ext=c
21173 ac_cpp='$CPP $CPPFLAGS'
21174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21177
21178
21179 fi
21180
21181 fi
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21183 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21184
21185 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21186 for ac_func in _isinf
21187 do :
21188 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21189 if test "x$ac_cv_func__isinf" = x""yes; then :
21190 cat >>confdefs.h <<_ACEOF
21191 #define HAVE__ISINF 1
21192 _ACEOF
21193
21194 fi
21195 done
21196
21197 fi
21198 fi
21199
21200
21201
21202
21203
21204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21205 $as_echo_n "checking for isnan declaration... " >&6; }
21206 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21207 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21208 $as_echo_n "(cached) " >&6
21209 else
21210
21211
21212 ac_ext=cpp
21213 ac_cpp='$CXXCPP $CPPFLAGS'
21214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21217
21218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21219 /* end confdefs.h. */
21220 #include <math.h>
21221 #ifdef HAVE_IEEEFP_H
21222 #include <ieeefp.h>
21223 #endif
21224
21225 int
21226 main ()
21227 {
21228 isnan(0);
21229 ;
21230 return 0;
21231 }
21232 _ACEOF
21233 if ac_fn_cxx_try_compile "$LINENO"; then :
21234 glibcxx_cv_func_isnan_use=yes
21235 else
21236 glibcxx_cv_func_isnan_use=no
21237 fi
21238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21239 ac_ext=c
21240 ac_cpp='$CPP $CPPFLAGS'
21241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21244
21245
21246 fi
21247
21248 fi
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21250 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21251
21252 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21253 for ac_func in isnan
21254 do :
21255 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21256 if test "x$ac_cv_func_isnan" = x""yes; then :
21257 cat >>confdefs.h <<_ACEOF
21258 #define HAVE_ISNAN 1
21259 _ACEOF
21260
21261 fi
21262 done
21263
21264 else
21265
21266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21267 $as_echo_n "checking for _isnan declaration... " >&6; }
21268 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21269 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21270 $as_echo_n "(cached) " >&6
21271 else
21272
21273
21274 ac_ext=cpp
21275 ac_cpp='$CXXCPP $CPPFLAGS'
21276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21279
21280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21281 /* end confdefs.h. */
21282 #include <math.h>
21283 #ifdef HAVE_IEEEFP_H
21284 #include <ieeefp.h>
21285 #endif
21286
21287 int
21288 main ()
21289 {
21290 _isnan(0);
21291 ;
21292 return 0;
21293 }
21294 _ACEOF
21295 if ac_fn_cxx_try_compile "$LINENO"; then :
21296 glibcxx_cv_func__isnan_use=yes
21297 else
21298 glibcxx_cv_func__isnan_use=no
21299 fi
21300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21301 ac_ext=c
21302 ac_cpp='$CPP $CPPFLAGS'
21303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21306
21307
21308 fi
21309
21310 fi
21311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21312 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21313
21314 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21315 for ac_func in _isnan
21316 do :
21317 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21318 if test "x$ac_cv_func__isnan" = x""yes; then :
21319 cat >>confdefs.h <<_ACEOF
21320 #define HAVE__ISNAN 1
21321 _ACEOF
21322
21323 fi
21324 done
21325
21326 fi
21327 fi
21328
21329
21330
21331
21332
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21334 $as_echo_n "checking for finite declaration... " >&6; }
21335 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21336 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21337 $as_echo_n "(cached) " >&6
21338 else
21339
21340
21341 ac_ext=cpp
21342 ac_cpp='$CXXCPP $CPPFLAGS'
21343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21346
21347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21348 /* end confdefs.h. */
21349 #include <math.h>
21350 #ifdef HAVE_IEEEFP_H
21351 #include <ieeefp.h>
21352 #endif
21353
21354 int
21355 main ()
21356 {
21357 finite(0);
21358 ;
21359 return 0;
21360 }
21361 _ACEOF
21362 if ac_fn_cxx_try_compile "$LINENO"; then :
21363 glibcxx_cv_func_finite_use=yes
21364 else
21365 glibcxx_cv_func_finite_use=no
21366 fi
21367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21368 ac_ext=c
21369 ac_cpp='$CPP $CPPFLAGS'
21370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21373
21374
21375 fi
21376
21377 fi
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21379 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21380
21381 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21382 for ac_func in finite
21383 do :
21384 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21385 if test "x$ac_cv_func_finite" = x""yes; then :
21386 cat >>confdefs.h <<_ACEOF
21387 #define HAVE_FINITE 1
21388 _ACEOF
21389
21390 fi
21391 done
21392
21393 else
21394
21395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21396 $as_echo_n "checking for _finite declaration... " >&6; }
21397 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21398 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21399 $as_echo_n "(cached) " >&6
21400 else
21401
21402
21403 ac_ext=cpp
21404 ac_cpp='$CXXCPP $CPPFLAGS'
21405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21408
21409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21410 /* end confdefs.h. */
21411 #include <math.h>
21412 #ifdef HAVE_IEEEFP_H
21413 #include <ieeefp.h>
21414 #endif
21415
21416 int
21417 main ()
21418 {
21419 _finite(0);
21420 ;
21421 return 0;
21422 }
21423 _ACEOF
21424 if ac_fn_cxx_try_compile "$LINENO"; then :
21425 glibcxx_cv_func__finite_use=yes
21426 else
21427 glibcxx_cv_func__finite_use=no
21428 fi
21429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21430 ac_ext=c
21431 ac_cpp='$CPP $CPPFLAGS'
21432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21435
21436
21437 fi
21438
21439 fi
21440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21441 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21442
21443 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21444 for ac_func in _finite
21445 do :
21446 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21447 if test "x$ac_cv_func__finite" = x""yes; then :
21448 cat >>confdefs.h <<_ACEOF
21449 #define HAVE__FINITE 1
21450 _ACEOF
21451
21452 fi
21453 done
21454
21455 fi
21456 fi
21457
21458
21459
21460
21461
21462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21463 $as_echo_n "checking for sincos declaration... " >&6; }
21464 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21465 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21466 $as_echo_n "(cached) " >&6
21467 else
21468
21469
21470 ac_ext=cpp
21471 ac_cpp='$CXXCPP $CPPFLAGS'
21472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21475
21476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21477 /* end confdefs.h. */
21478 #include <math.h>
21479 int
21480 main ()
21481 {
21482 sincos(0, 0, 0);
21483 ;
21484 return 0;
21485 }
21486 _ACEOF
21487 if ac_fn_cxx_try_compile "$LINENO"; then :
21488 glibcxx_cv_func_sincos_use=yes
21489 else
21490 glibcxx_cv_func_sincos_use=no
21491 fi
21492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21493 ac_ext=c
21494 ac_cpp='$CPP $CPPFLAGS'
21495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21498
21499
21500 fi
21501
21502 fi
21503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21504 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21505
21506 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21507 for ac_func in sincos
21508 do :
21509 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21510 if test "x$ac_cv_func_sincos" = x""yes; then :
21511 cat >>confdefs.h <<_ACEOF
21512 #define HAVE_SINCOS 1
21513 _ACEOF
21514
21515 fi
21516 done
21517
21518 else
21519
21520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21521 $as_echo_n "checking for _sincos declaration... " >&6; }
21522 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21523 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21524 $as_echo_n "(cached) " >&6
21525 else
21526
21527
21528 ac_ext=cpp
21529 ac_cpp='$CXXCPP $CPPFLAGS'
21530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21533
21534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21535 /* end confdefs.h. */
21536 #include <math.h>
21537 int
21538 main ()
21539 {
21540 _sincos(0, 0, 0);
21541 ;
21542 return 0;
21543 }
21544 _ACEOF
21545 if ac_fn_cxx_try_compile "$LINENO"; then :
21546 glibcxx_cv_func__sincos_use=yes
21547 else
21548 glibcxx_cv_func__sincos_use=no
21549 fi
21550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21551 ac_ext=c
21552 ac_cpp='$CPP $CPPFLAGS'
21553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21556
21557
21558 fi
21559
21560 fi
21561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21562 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21563
21564 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21565 for ac_func in _sincos
21566 do :
21567 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21568 if test "x$ac_cv_func__sincos" = x""yes; then :
21569 cat >>confdefs.h <<_ACEOF
21570 #define HAVE__SINCOS 1
21571 _ACEOF
21572
21573 fi
21574 done
21575
21576 fi
21577 fi
21578
21579
21580
21581
21582
21583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21584 $as_echo_n "checking for fpclass declaration... " >&6; }
21585 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21586 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21587 $as_echo_n "(cached) " >&6
21588 else
21589
21590
21591 ac_ext=cpp
21592 ac_cpp='$CXXCPP $CPPFLAGS'
21593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21596
21597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21598 /* end confdefs.h. */
21599 #include <math.h>
21600 #ifdef HAVE_IEEEFP_H
21601 #include <ieeefp.h>
21602 #endif
21603
21604 int
21605 main ()
21606 {
21607 fpclass(0);
21608 ;
21609 return 0;
21610 }
21611 _ACEOF
21612 if ac_fn_cxx_try_compile "$LINENO"; then :
21613 glibcxx_cv_func_fpclass_use=yes
21614 else
21615 glibcxx_cv_func_fpclass_use=no
21616 fi
21617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21618 ac_ext=c
21619 ac_cpp='$CPP $CPPFLAGS'
21620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21623
21624
21625 fi
21626
21627 fi
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21629 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21630
21631 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21632 for ac_func in fpclass
21633 do :
21634 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21635 if test "x$ac_cv_func_fpclass" = x""yes; then :
21636 cat >>confdefs.h <<_ACEOF
21637 #define HAVE_FPCLASS 1
21638 _ACEOF
21639
21640 fi
21641 done
21642
21643 else
21644
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21646 $as_echo_n "checking for _fpclass declaration... " >&6; }
21647 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21648 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21649 $as_echo_n "(cached) " >&6
21650 else
21651
21652
21653 ac_ext=cpp
21654 ac_cpp='$CXXCPP $CPPFLAGS'
21655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21658
21659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21660 /* end confdefs.h. */
21661 #include <math.h>
21662 #ifdef HAVE_IEEEFP_H
21663 #include <ieeefp.h>
21664 #endif
21665
21666 int
21667 main ()
21668 {
21669 _fpclass(0);
21670 ;
21671 return 0;
21672 }
21673 _ACEOF
21674 if ac_fn_cxx_try_compile "$LINENO"; then :
21675 glibcxx_cv_func__fpclass_use=yes
21676 else
21677 glibcxx_cv_func__fpclass_use=no
21678 fi
21679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21680 ac_ext=c
21681 ac_cpp='$CPP $CPPFLAGS'
21682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21685
21686
21687 fi
21688
21689 fi
21690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21691 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21692
21693 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21694 for ac_func in _fpclass
21695 do :
21696 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21697 if test "x$ac_cv_func__fpclass" = x""yes; then :
21698 cat >>confdefs.h <<_ACEOF
21699 #define HAVE__FPCLASS 1
21700 _ACEOF
21701
21702 fi
21703 done
21704
21705 fi
21706 fi
21707
21708
21709
21710
21711
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21713 $as_echo_n "checking for qfpclass declaration... " >&6; }
21714 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21715 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21716 $as_echo_n "(cached) " >&6
21717 else
21718
21719
21720 ac_ext=cpp
21721 ac_cpp='$CXXCPP $CPPFLAGS'
21722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21725
21726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21727 /* end confdefs.h. */
21728 #include <math.h>
21729 #ifdef HAVE_IEEEFP_H
21730 #include <ieeefp.h>
21731 #endif
21732
21733 int
21734 main ()
21735 {
21736 qfpclass(0);
21737 ;
21738 return 0;
21739 }
21740 _ACEOF
21741 if ac_fn_cxx_try_compile "$LINENO"; then :
21742 glibcxx_cv_func_qfpclass_use=yes
21743 else
21744 glibcxx_cv_func_qfpclass_use=no
21745 fi
21746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21747 ac_ext=c
21748 ac_cpp='$CPP $CPPFLAGS'
21749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21752
21753
21754 fi
21755
21756 fi
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21758 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21759
21760 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21761 for ac_func in qfpclass
21762 do :
21763 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21764 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21765 cat >>confdefs.h <<_ACEOF
21766 #define HAVE_QFPCLASS 1
21767 _ACEOF
21768
21769 fi
21770 done
21771
21772 else
21773
21774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21775 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21776 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21777 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21778 $as_echo_n "(cached) " >&6
21779 else
21780
21781
21782 ac_ext=cpp
21783 ac_cpp='$CXXCPP $CPPFLAGS'
21784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21787
21788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21789 /* end confdefs.h. */
21790 #include <math.h>
21791 #ifdef HAVE_IEEEFP_H
21792 #include <ieeefp.h>
21793 #endif
21794
21795 int
21796 main ()
21797 {
21798 _qfpclass(0);
21799 ;
21800 return 0;
21801 }
21802 _ACEOF
21803 if ac_fn_cxx_try_compile "$LINENO"; then :
21804 glibcxx_cv_func__qfpclass_use=yes
21805 else
21806 glibcxx_cv_func__qfpclass_use=no
21807 fi
21808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21809 ac_ext=c
21810 ac_cpp='$CPP $CPPFLAGS'
21811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21814
21815
21816 fi
21817
21818 fi
21819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21820 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21821
21822 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21823 for ac_func in _qfpclass
21824 do :
21825 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21826 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21827 cat >>confdefs.h <<_ACEOF
21828 #define HAVE__QFPCLASS 1
21829 _ACEOF
21830
21831 fi
21832 done
21833
21834 fi
21835 fi
21836
21837
21838
21839
21840
21841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21842 $as_echo_n "checking for hypot declaration... " >&6; }
21843 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21844 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21845 $as_echo_n "(cached) " >&6
21846 else
21847
21848
21849 ac_ext=cpp
21850 ac_cpp='$CXXCPP $CPPFLAGS'
21851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21854
21855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21856 /* end confdefs.h. */
21857 #include <math.h>
21858 int
21859 main ()
21860 {
21861 hypot(0, 0);
21862 ;
21863 return 0;
21864 }
21865 _ACEOF
21866 if ac_fn_cxx_try_compile "$LINENO"; then :
21867 glibcxx_cv_func_hypot_use=yes
21868 else
21869 glibcxx_cv_func_hypot_use=no
21870 fi
21871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21872 ac_ext=c
21873 ac_cpp='$CPP $CPPFLAGS'
21874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21877
21878
21879 fi
21880
21881 fi
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21883 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21884
21885 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21886 for ac_func in hypot
21887 do :
21888 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21889 if test "x$ac_cv_func_hypot" = x""yes; then :
21890 cat >>confdefs.h <<_ACEOF
21891 #define HAVE_HYPOT 1
21892 _ACEOF
21893
21894 fi
21895 done
21896
21897 else
21898
21899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21900 $as_echo_n "checking for _hypot declaration... " >&6; }
21901 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21902 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21903 $as_echo_n "(cached) " >&6
21904 else
21905
21906
21907 ac_ext=cpp
21908 ac_cpp='$CXXCPP $CPPFLAGS'
21909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21912
21913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21914 /* end confdefs.h. */
21915 #include <math.h>
21916 int
21917 main ()
21918 {
21919 _hypot(0, 0);
21920 ;
21921 return 0;
21922 }
21923 _ACEOF
21924 if ac_fn_cxx_try_compile "$LINENO"; then :
21925 glibcxx_cv_func__hypot_use=yes
21926 else
21927 glibcxx_cv_func__hypot_use=no
21928 fi
21929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21930 ac_ext=c
21931 ac_cpp='$CPP $CPPFLAGS'
21932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21935
21936
21937 fi
21938
21939 fi
21940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21941 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21942
21943 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21944 for ac_func in _hypot
21945 do :
21946 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21947 if test "x$ac_cv_func__hypot" = x""yes; then :
21948 cat >>confdefs.h <<_ACEOF
21949 #define HAVE__HYPOT 1
21950 _ACEOF
21951
21952 fi
21953 done
21954
21955 fi
21956 fi
21957
21958
21959
21960
21961
21962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21963 $as_echo_n "checking for float trig functions... " >&6; }
21964 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21965 $as_echo_n "(cached) " >&6
21966 else
21967
21968
21969 ac_ext=cpp
21970 ac_cpp='$CXXCPP $CPPFLAGS'
21971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21974
21975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21976 /* end confdefs.h. */
21977 #include <math.h>
21978 int
21979 main ()
21980 {
21981 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21982 ;
21983 return 0;
21984 }
21985 _ACEOF
21986 if ac_fn_cxx_try_compile "$LINENO"; then :
21987 glibcxx_cv_func_float_trig_use=yes
21988 else
21989 glibcxx_cv_func_float_trig_use=no
21990 fi
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992 ac_ext=c
21993 ac_cpp='$CPP $CPPFLAGS'
21994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21997
21998 fi
21999
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22001 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22002 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22003 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22004 do :
22005 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22006 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22007 eval as_val=\$$as_ac_var
22008 if test "x$as_val" = x""yes; then :
22009 cat >>confdefs.h <<_ACEOF
22010 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22011 _ACEOF
22012
22013 fi
22014 done
22015
22016 else
22017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22018 $as_echo_n "checking for _float trig functions... " >&6; }
22019 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22020 $as_echo_n "(cached) " >&6
22021 else
22022
22023
22024 ac_ext=cpp
22025 ac_cpp='$CXXCPP $CPPFLAGS'
22026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22029
22030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22031 /* end confdefs.h. */
22032 #include <math.h>
22033 int
22034 main ()
22035 {
22036 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22037 ;
22038 return 0;
22039 }
22040 _ACEOF
22041 if ac_fn_cxx_try_compile "$LINENO"; then :
22042 glibcxx_cv_func__float_trig_use=yes
22043 else
22044 glibcxx_cv_func__float_trig_use=no
22045 fi
22046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22047 ac_ext=c
22048 ac_cpp='$CPP $CPPFLAGS'
22049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22052
22053 fi
22054
22055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22056 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22057 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22058 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22059 do :
22060 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22061 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22062 eval as_val=\$$as_ac_var
22063 if test "x$as_val" = x""yes; then :
22064 cat >>confdefs.h <<_ACEOF
22065 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22066 _ACEOF
22067
22068 fi
22069 done
22070
22071 fi
22072 fi
22073
22074
22075
22076
22077
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22079 $as_echo_n "checking for float round functions... " >&6; }
22080 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22081 $as_echo_n "(cached) " >&6
22082 else
22083
22084
22085 ac_ext=cpp
22086 ac_cpp='$CXXCPP $CPPFLAGS'
22087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22090
22091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22092 /* end confdefs.h. */
22093 #include <math.h>
22094 int
22095 main ()
22096 {
22097 ceilf (0); floorf (0);
22098 ;
22099 return 0;
22100 }
22101 _ACEOF
22102 if ac_fn_cxx_try_compile "$LINENO"; then :
22103 glibcxx_cv_func_float_round_use=yes
22104 else
22105 glibcxx_cv_func_float_round_use=no
22106 fi
22107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22108 ac_ext=c
22109 ac_cpp='$CPP $CPPFLAGS'
22110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22113
22114 fi
22115
22116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22117 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22118 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22119 for ac_func in ceilf floorf
22120 do :
22121 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22122 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22123 eval as_val=\$$as_ac_var
22124 if test "x$as_val" = x""yes; then :
22125 cat >>confdefs.h <<_ACEOF
22126 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22127 _ACEOF
22128
22129 fi
22130 done
22131
22132 else
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22134 $as_echo_n "checking for _float round functions... " >&6; }
22135 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22136 $as_echo_n "(cached) " >&6
22137 else
22138
22139
22140 ac_ext=cpp
22141 ac_cpp='$CXXCPP $CPPFLAGS'
22142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22145
22146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22147 /* end confdefs.h. */
22148 #include <math.h>
22149 int
22150 main ()
22151 {
22152 _ceilf (0); _floorf (0);
22153 ;
22154 return 0;
22155 }
22156 _ACEOF
22157 if ac_fn_cxx_try_compile "$LINENO"; then :
22158 glibcxx_cv_func__float_round_use=yes
22159 else
22160 glibcxx_cv_func__float_round_use=no
22161 fi
22162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22163 ac_ext=c
22164 ac_cpp='$CPP $CPPFLAGS'
22165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22168
22169 fi
22170
22171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22172 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22173 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22174 for ac_func in _ceilf _floorf
22175 do :
22176 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22177 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22178 eval as_val=\$$as_ac_var
22179 if test "x$as_val" = x""yes; then :
22180 cat >>confdefs.h <<_ACEOF
22181 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22182 _ACEOF
22183
22184 fi
22185 done
22186
22187 fi
22188 fi
22189
22190
22191
22192
22193
22194
22195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22196 $as_echo_n "checking for expf declaration... " >&6; }
22197 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22198 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22199 $as_echo_n "(cached) " >&6
22200 else
22201
22202
22203 ac_ext=cpp
22204 ac_cpp='$CXXCPP $CPPFLAGS'
22205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22208
22209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22210 /* end confdefs.h. */
22211 #include <math.h>
22212 #ifdef HAVE_IEEEFP_H
22213 #include <ieeefp.h>
22214 #endif
22215
22216 int
22217 main ()
22218 {
22219 expf(0);
22220 ;
22221 return 0;
22222 }
22223 _ACEOF
22224 if ac_fn_cxx_try_compile "$LINENO"; then :
22225 glibcxx_cv_func_expf_use=yes
22226 else
22227 glibcxx_cv_func_expf_use=no
22228 fi
22229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22230 ac_ext=c
22231 ac_cpp='$CPP $CPPFLAGS'
22232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22235
22236
22237 fi
22238
22239 fi
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22241 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22242
22243 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22244 for ac_func in expf
22245 do :
22246 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22247 if test "x$ac_cv_func_expf" = x""yes; then :
22248 cat >>confdefs.h <<_ACEOF
22249 #define HAVE_EXPF 1
22250 _ACEOF
22251
22252 fi
22253 done
22254
22255 else
22256
22257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22258 $as_echo_n "checking for _expf declaration... " >&6; }
22259 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22260 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22261 $as_echo_n "(cached) " >&6
22262 else
22263
22264
22265 ac_ext=cpp
22266 ac_cpp='$CXXCPP $CPPFLAGS'
22267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22270
22271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22272 /* end confdefs.h. */
22273 #include <math.h>
22274 #ifdef HAVE_IEEEFP_H
22275 #include <ieeefp.h>
22276 #endif
22277
22278 int
22279 main ()
22280 {
22281 _expf(0);
22282 ;
22283 return 0;
22284 }
22285 _ACEOF
22286 if ac_fn_cxx_try_compile "$LINENO"; then :
22287 glibcxx_cv_func__expf_use=yes
22288 else
22289 glibcxx_cv_func__expf_use=no
22290 fi
22291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22292 ac_ext=c
22293 ac_cpp='$CPP $CPPFLAGS'
22294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22297
22298
22299 fi
22300
22301 fi
22302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22303 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22304
22305 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22306 for ac_func in _expf
22307 do :
22308 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22309 if test "x$ac_cv_func__expf" = x""yes; then :
22310 cat >>confdefs.h <<_ACEOF
22311 #define HAVE__EXPF 1
22312 _ACEOF
22313
22314 fi
22315 done
22316
22317 fi
22318 fi
22319
22320
22321
22322
22323
22324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22325 $as_echo_n "checking for isnanf declaration... " >&6; }
22326 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22327 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22328 $as_echo_n "(cached) " >&6
22329 else
22330
22331
22332 ac_ext=cpp
22333 ac_cpp='$CXXCPP $CPPFLAGS'
22334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22337
22338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22339 /* end confdefs.h. */
22340 #include <math.h>
22341 #ifdef HAVE_IEEEFP_H
22342 #include <ieeefp.h>
22343 #endif
22344
22345 int
22346 main ()
22347 {
22348 isnanf(0);
22349 ;
22350 return 0;
22351 }
22352 _ACEOF
22353 if ac_fn_cxx_try_compile "$LINENO"; then :
22354 glibcxx_cv_func_isnanf_use=yes
22355 else
22356 glibcxx_cv_func_isnanf_use=no
22357 fi
22358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22359 ac_ext=c
22360 ac_cpp='$CPP $CPPFLAGS'
22361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22364
22365
22366 fi
22367
22368 fi
22369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22370 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22371
22372 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22373 for ac_func in isnanf
22374 do :
22375 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22376 if test "x$ac_cv_func_isnanf" = x""yes; then :
22377 cat >>confdefs.h <<_ACEOF
22378 #define HAVE_ISNANF 1
22379 _ACEOF
22380
22381 fi
22382 done
22383
22384 else
22385
22386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22387 $as_echo_n "checking for _isnanf declaration... " >&6; }
22388 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22389 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22390 $as_echo_n "(cached) " >&6
22391 else
22392
22393
22394 ac_ext=cpp
22395 ac_cpp='$CXXCPP $CPPFLAGS'
22396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22399
22400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22401 /* end confdefs.h. */
22402 #include <math.h>
22403 #ifdef HAVE_IEEEFP_H
22404 #include <ieeefp.h>
22405 #endif
22406
22407 int
22408 main ()
22409 {
22410 _isnanf(0);
22411 ;
22412 return 0;
22413 }
22414 _ACEOF
22415 if ac_fn_cxx_try_compile "$LINENO"; then :
22416 glibcxx_cv_func__isnanf_use=yes
22417 else
22418 glibcxx_cv_func__isnanf_use=no
22419 fi
22420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22421 ac_ext=c
22422 ac_cpp='$CPP $CPPFLAGS'
22423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22426
22427
22428 fi
22429
22430 fi
22431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22432 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22433
22434 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22435 for ac_func in _isnanf
22436 do :
22437 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22438 if test "x$ac_cv_func__isnanf" = x""yes; then :
22439 cat >>confdefs.h <<_ACEOF
22440 #define HAVE__ISNANF 1
22441 _ACEOF
22442
22443 fi
22444 done
22445
22446 fi
22447 fi
22448
22449
22450
22451
22452
22453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22454 $as_echo_n "checking for isinff declaration... " >&6; }
22455 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22456 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22457 $as_echo_n "(cached) " >&6
22458 else
22459
22460
22461 ac_ext=cpp
22462 ac_cpp='$CXXCPP $CPPFLAGS'
22463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22466
22467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22468 /* end confdefs.h. */
22469 #include <math.h>
22470 #ifdef HAVE_IEEEFP_H
22471 #include <ieeefp.h>
22472 #endif
22473
22474 int
22475 main ()
22476 {
22477 isinff(0);
22478 ;
22479 return 0;
22480 }
22481 _ACEOF
22482 if ac_fn_cxx_try_compile "$LINENO"; then :
22483 glibcxx_cv_func_isinff_use=yes
22484 else
22485 glibcxx_cv_func_isinff_use=no
22486 fi
22487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22488 ac_ext=c
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22493
22494
22495 fi
22496
22497 fi
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22499 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22500
22501 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22502 for ac_func in isinff
22503 do :
22504 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22505 if test "x$ac_cv_func_isinff" = x""yes; then :
22506 cat >>confdefs.h <<_ACEOF
22507 #define HAVE_ISINFF 1
22508 _ACEOF
22509
22510 fi
22511 done
22512
22513 else
22514
22515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22516 $as_echo_n "checking for _isinff declaration... " >&6; }
22517 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22518 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22519 $as_echo_n "(cached) " >&6
22520 else
22521
22522
22523 ac_ext=cpp
22524 ac_cpp='$CXXCPP $CPPFLAGS'
22525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22528
22529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22530 /* end confdefs.h. */
22531 #include <math.h>
22532 #ifdef HAVE_IEEEFP_H
22533 #include <ieeefp.h>
22534 #endif
22535
22536 int
22537 main ()
22538 {
22539 _isinff(0);
22540 ;
22541 return 0;
22542 }
22543 _ACEOF
22544 if ac_fn_cxx_try_compile "$LINENO"; then :
22545 glibcxx_cv_func__isinff_use=yes
22546 else
22547 glibcxx_cv_func__isinff_use=no
22548 fi
22549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22550 ac_ext=c
22551 ac_cpp='$CPP $CPPFLAGS'
22552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22555
22556
22557 fi
22558
22559 fi
22560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22561 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22562
22563 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22564 for ac_func in _isinff
22565 do :
22566 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22567 if test "x$ac_cv_func__isinff" = x""yes; then :
22568 cat >>confdefs.h <<_ACEOF
22569 #define HAVE__ISINFF 1
22570 _ACEOF
22571
22572 fi
22573 done
22574
22575 fi
22576 fi
22577
22578
22579
22580
22581
22582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22583 $as_echo_n "checking for atan2f declaration... " >&6; }
22584 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22585 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22586 $as_echo_n "(cached) " >&6
22587 else
22588
22589
22590 ac_ext=cpp
22591 ac_cpp='$CXXCPP $CPPFLAGS'
22592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22595
22596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22597 /* end confdefs.h. */
22598 #include <math.h>
22599 int
22600 main ()
22601 {
22602 atan2f(0, 0);
22603 ;
22604 return 0;
22605 }
22606 _ACEOF
22607 if ac_fn_cxx_try_compile "$LINENO"; then :
22608 glibcxx_cv_func_atan2f_use=yes
22609 else
22610 glibcxx_cv_func_atan2f_use=no
22611 fi
22612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22613 ac_ext=c
22614 ac_cpp='$CPP $CPPFLAGS'
22615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22618
22619
22620 fi
22621
22622 fi
22623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22624 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22625
22626 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22627 for ac_func in atan2f
22628 do :
22629 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22630 if test "x$ac_cv_func_atan2f" = x""yes; then :
22631 cat >>confdefs.h <<_ACEOF
22632 #define HAVE_ATAN2F 1
22633 _ACEOF
22634
22635 fi
22636 done
22637
22638 else
22639
22640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22641 $as_echo_n "checking for _atan2f declaration... " >&6; }
22642 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22643 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22644 $as_echo_n "(cached) " >&6
22645 else
22646
22647
22648 ac_ext=cpp
22649 ac_cpp='$CXXCPP $CPPFLAGS'
22650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22653
22654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22655 /* end confdefs.h. */
22656 #include <math.h>
22657 int
22658 main ()
22659 {
22660 _atan2f(0, 0);
22661 ;
22662 return 0;
22663 }
22664 _ACEOF
22665 if ac_fn_cxx_try_compile "$LINENO"; then :
22666 glibcxx_cv_func__atan2f_use=yes
22667 else
22668 glibcxx_cv_func__atan2f_use=no
22669 fi
22670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22671 ac_ext=c
22672 ac_cpp='$CPP $CPPFLAGS'
22673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22676
22677
22678 fi
22679
22680 fi
22681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22682 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22683
22684 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22685 for ac_func in _atan2f
22686 do :
22687 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22688 if test "x$ac_cv_func__atan2f" = x""yes; then :
22689 cat >>confdefs.h <<_ACEOF
22690 #define HAVE__ATAN2F 1
22691 _ACEOF
22692
22693 fi
22694 done
22695
22696 fi
22697 fi
22698
22699
22700
22701
22702
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22704 $as_echo_n "checking for fabsf declaration... " >&6; }
22705 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22706 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22707 $as_echo_n "(cached) " >&6
22708 else
22709
22710
22711 ac_ext=cpp
22712 ac_cpp='$CXXCPP $CPPFLAGS'
22713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22716
22717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22718 /* end confdefs.h. */
22719 #include <math.h>
22720 #ifdef HAVE_IEEEFP_H
22721 #include <ieeefp.h>
22722 #endif
22723
22724 int
22725 main ()
22726 {
22727 fabsf(0);
22728 ;
22729 return 0;
22730 }
22731 _ACEOF
22732 if ac_fn_cxx_try_compile "$LINENO"; then :
22733 glibcxx_cv_func_fabsf_use=yes
22734 else
22735 glibcxx_cv_func_fabsf_use=no
22736 fi
22737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22738 ac_ext=c
22739 ac_cpp='$CPP $CPPFLAGS'
22740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22743
22744
22745 fi
22746
22747 fi
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22749 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22750
22751 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22752 for ac_func in fabsf
22753 do :
22754 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22755 if test "x$ac_cv_func_fabsf" = x""yes; then :
22756 cat >>confdefs.h <<_ACEOF
22757 #define HAVE_FABSF 1
22758 _ACEOF
22759
22760 fi
22761 done
22762
22763 else
22764
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22766 $as_echo_n "checking for _fabsf declaration... " >&6; }
22767 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22768 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
22783 #include <ieeefp.h>
22784 #endif
22785
22786 int
22787 main ()
22788 {
22789 _fabsf(0);
22790 ;
22791 return 0;
22792 }
22793 _ACEOF
22794 if ac_fn_cxx_try_compile "$LINENO"; then :
22795 glibcxx_cv_func__fabsf_use=yes
22796 else
22797 glibcxx_cv_func__fabsf_use=no
22798 fi
22799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22800 ac_ext=c
22801 ac_cpp='$CPP $CPPFLAGS'
22802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22805
22806
22807 fi
22808
22809 fi
22810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22811 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22812
22813 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22814 for ac_func in _fabsf
22815 do :
22816 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22817 if test "x$ac_cv_func__fabsf" = x""yes; then :
22818 cat >>confdefs.h <<_ACEOF
22819 #define HAVE__FABSF 1
22820 _ACEOF
22821
22822 fi
22823 done
22824
22825 fi
22826 fi
22827
22828
22829
22830
22831
22832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22833 $as_echo_n "checking for fmodf declaration... " >&6; }
22834 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22835 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22836 $as_echo_n "(cached) " >&6
22837 else
22838
22839
22840 ac_ext=cpp
22841 ac_cpp='$CXXCPP $CPPFLAGS'
22842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22845
22846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22847 /* end confdefs.h. */
22848 #include <math.h>
22849 int
22850 main ()
22851 {
22852 fmodf(0, 0);
22853 ;
22854 return 0;
22855 }
22856 _ACEOF
22857 if ac_fn_cxx_try_compile "$LINENO"; then :
22858 glibcxx_cv_func_fmodf_use=yes
22859 else
22860 glibcxx_cv_func_fmodf_use=no
22861 fi
22862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22863 ac_ext=c
22864 ac_cpp='$CPP $CPPFLAGS'
22865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22868
22869
22870 fi
22871
22872 fi
22873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22874 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22875
22876 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22877 for ac_func in fmodf
22878 do :
22879 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22880 if test "x$ac_cv_func_fmodf" = x""yes; then :
22881 cat >>confdefs.h <<_ACEOF
22882 #define HAVE_FMODF 1
22883 _ACEOF
22884
22885 fi
22886 done
22887
22888 else
22889
22890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22891 $as_echo_n "checking for _fmodf declaration... " >&6; }
22892 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22893 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22894 $as_echo_n "(cached) " >&6
22895 else
22896
22897
22898 ac_ext=cpp
22899 ac_cpp='$CXXCPP $CPPFLAGS'
22900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22903
22904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22905 /* end confdefs.h. */
22906 #include <math.h>
22907 int
22908 main ()
22909 {
22910 _fmodf(0, 0);
22911 ;
22912 return 0;
22913 }
22914 _ACEOF
22915 if ac_fn_cxx_try_compile "$LINENO"; then :
22916 glibcxx_cv_func__fmodf_use=yes
22917 else
22918 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
22932 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22933
22934 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22935 for ac_func in _fmodf
22936 do :
22937 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22938 if test "x$ac_cv_func__fmodf" = x""yes; then :
22939 cat >>confdefs.h <<_ACEOF
22940 #define HAVE__FMODF 1
22941 _ACEOF
22942
22943 fi
22944 done
22945
22946 fi
22947 fi
22948
22949
22950
22951
22952
22953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22954 $as_echo_n "checking for frexpf declaration... " >&6; }
22955 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22956 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22957 $as_echo_n "(cached) " >&6
22958 else
22959
22960
22961 ac_ext=cpp
22962 ac_cpp='$CXXCPP $CPPFLAGS'
22963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22966
22967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22968 /* end confdefs.h. */
22969 #include <math.h>
22970 int
22971 main ()
22972 {
22973 frexpf(0, 0);
22974 ;
22975 return 0;
22976 }
22977 _ACEOF
22978 if ac_fn_cxx_try_compile "$LINENO"; then :
22979 glibcxx_cv_func_frexpf_use=yes
22980 else
22981 glibcxx_cv_func_frexpf_use=no
22982 fi
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984 ac_ext=c
22985 ac_cpp='$CPP $CPPFLAGS'
22986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22989
22990
22991 fi
22992
22993 fi
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22995 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22996
22997 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
22998 for ac_func in frexpf
22999 do :
23000 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23001 if test "x$ac_cv_func_frexpf" = x""yes; then :
23002 cat >>confdefs.h <<_ACEOF
23003 #define HAVE_FREXPF 1
23004 _ACEOF
23005
23006 fi
23007 done
23008
23009 else
23010
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23012 $as_echo_n "checking for _frexpf declaration... " >&6; }
23013 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23014 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23015 $as_echo_n "(cached) " >&6
23016 else
23017
23018
23019 ac_ext=cpp
23020 ac_cpp='$CXXCPP $CPPFLAGS'
23021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23024
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23027 #include <math.h>
23028 int
23029 main ()
23030 {
23031 _frexpf(0, 0);
23032 ;
23033 return 0;
23034 }
23035 _ACEOF
23036 if ac_fn_cxx_try_compile "$LINENO"; then :
23037 glibcxx_cv_func__frexpf_use=yes
23038 else
23039 glibcxx_cv_func__frexpf_use=no
23040 fi
23041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23042 ac_ext=c
23043 ac_cpp='$CPP $CPPFLAGS'
23044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23047
23048
23049 fi
23050
23051 fi
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23053 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23054
23055 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23056 for ac_func in _frexpf
23057 do :
23058 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23059 if test "x$ac_cv_func__frexpf" = x""yes; then :
23060 cat >>confdefs.h <<_ACEOF
23061 #define HAVE__FREXPF 1
23062 _ACEOF
23063
23064 fi
23065 done
23066
23067 fi
23068 fi
23069
23070
23071
23072
23073
23074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23075 $as_echo_n "checking for hypotf declaration... " >&6; }
23076 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23077 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23078 $as_echo_n "(cached) " >&6
23079 else
23080
23081
23082 ac_ext=cpp
23083 ac_cpp='$CXXCPP $CPPFLAGS'
23084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23087
23088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23089 /* end confdefs.h. */
23090 #include <math.h>
23091 int
23092 main ()
23093 {
23094 hypotf(0, 0);
23095 ;
23096 return 0;
23097 }
23098 _ACEOF
23099 if ac_fn_cxx_try_compile "$LINENO"; then :
23100 glibcxx_cv_func_hypotf_use=yes
23101 else
23102 glibcxx_cv_func_hypotf_use=no
23103 fi
23104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23105 ac_ext=c
23106 ac_cpp='$CPP $CPPFLAGS'
23107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23110
23111
23112 fi
23113
23114 fi
23115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23116 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23117
23118 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23119 for ac_func in hypotf
23120 do :
23121 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23122 if test "x$ac_cv_func_hypotf" = x""yes; then :
23123 cat >>confdefs.h <<_ACEOF
23124 #define HAVE_HYPOTF 1
23125 _ACEOF
23126
23127 fi
23128 done
23129
23130 else
23131
23132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23133 $as_echo_n "checking for _hypotf declaration... " >&6; }
23134 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23135 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23136 $as_echo_n "(cached) " >&6
23137 else
23138
23139
23140 ac_ext=cpp
23141 ac_cpp='$CXXCPP $CPPFLAGS'
23142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23145
23146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23147 /* end confdefs.h. */
23148 #include <math.h>
23149 int
23150 main ()
23151 {
23152 _hypotf(0, 0);
23153 ;
23154 return 0;
23155 }
23156 _ACEOF
23157 if ac_fn_cxx_try_compile "$LINENO"; then :
23158 glibcxx_cv_func__hypotf_use=yes
23159 else
23160 glibcxx_cv_func__hypotf_use=no
23161 fi
23162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23163 ac_ext=c
23164 ac_cpp='$CPP $CPPFLAGS'
23165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23168
23169
23170 fi
23171
23172 fi
23173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23174 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23175
23176 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23177 for ac_func in _hypotf
23178 do :
23179 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23180 if test "x$ac_cv_func__hypotf" = x""yes; then :
23181 cat >>confdefs.h <<_ACEOF
23182 #define HAVE__HYPOTF 1
23183 _ACEOF
23184
23185 fi
23186 done
23187
23188 fi
23189 fi
23190
23191
23192
23193
23194
23195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23196 $as_echo_n "checking for ldexpf declaration... " >&6; }
23197 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23198 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23199 $as_echo_n "(cached) " >&6
23200 else
23201
23202
23203 ac_ext=cpp
23204 ac_cpp='$CXXCPP $CPPFLAGS'
23205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23208
23209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23210 /* end confdefs.h. */
23211 #include <math.h>
23212 int
23213 main ()
23214 {
23215 ldexpf(0, 0);
23216 ;
23217 return 0;
23218 }
23219 _ACEOF
23220 if ac_fn_cxx_try_compile "$LINENO"; then :
23221 glibcxx_cv_func_ldexpf_use=yes
23222 else
23223 glibcxx_cv_func_ldexpf_use=no
23224 fi
23225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23226 ac_ext=c
23227 ac_cpp='$CPP $CPPFLAGS'
23228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23231
23232
23233 fi
23234
23235 fi
23236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23237 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23238
23239 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23240 for ac_func in ldexpf
23241 do :
23242 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23243 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23244 cat >>confdefs.h <<_ACEOF
23245 #define HAVE_LDEXPF 1
23246 _ACEOF
23247
23248 fi
23249 done
23250
23251 else
23252
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23254 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23255 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23256 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23257 $as_echo_n "(cached) " >&6
23258 else
23259
23260
23261 ac_ext=cpp
23262 ac_cpp='$CXXCPP $CPPFLAGS'
23263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23266
23267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23268 /* end confdefs.h. */
23269 #include <math.h>
23270 int
23271 main ()
23272 {
23273 _ldexpf(0, 0);
23274 ;
23275 return 0;
23276 }
23277 _ACEOF
23278 if ac_fn_cxx_try_compile "$LINENO"; then :
23279 glibcxx_cv_func__ldexpf_use=yes
23280 else
23281 glibcxx_cv_func__ldexpf_use=no
23282 fi
23283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23284 ac_ext=c
23285 ac_cpp='$CPP $CPPFLAGS'
23286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23289
23290
23291 fi
23292
23293 fi
23294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23295 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23296
23297 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23298 for ac_func in _ldexpf
23299 do :
23300 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23301 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23302 cat >>confdefs.h <<_ACEOF
23303 #define HAVE__LDEXPF 1
23304 _ACEOF
23305
23306 fi
23307 done
23308
23309 fi
23310 fi
23311
23312
23313
23314
23315
23316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23317 $as_echo_n "checking for logf declaration... " >&6; }
23318 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23319 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23320 $as_echo_n "(cached) " >&6
23321 else
23322
23323
23324 ac_ext=cpp
23325 ac_cpp='$CXXCPP $CPPFLAGS'
23326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23329
23330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23331 /* end confdefs.h. */
23332 #include <math.h>
23333 #ifdef HAVE_IEEEFP_H
23334 #include <ieeefp.h>
23335 #endif
23336
23337 int
23338 main ()
23339 {
23340 logf(0);
23341 ;
23342 return 0;
23343 }
23344 _ACEOF
23345 if ac_fn_cxx_try_compile "$LINENO"; then :
23346 glibcxx_cv_func_logf_use=yes
23347 else
23348 glibcxx_cv_func_logf_use=no
23349 fi
23350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23351 ac_ext=c
23352 ac_cpp='$CPP $CPPFLAGS'
23353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23356
23357
23358 fi
23359
23360 fi
23361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23362 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23363
23364 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23365 for ac_func in logf
23366 do :
23367 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23368 if test "x$ac_cv_func_logf" = x""yes; then :
23369 cat >>confdefs.h <<_ACEOF
23370 #define HAVE_LOGF 1
23371 _ACEOF
23372
23373 fi
23374 done
23375
23376 else
23377
23378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23379 $as_echo_n "checking for _logf declaration... " >&6; }
23380 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23381 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23382 $as_echo_n "(cached) " >&6
23383 else
23384
23385
23386 ac_ext=cpp
23387 ac_cpp='$CXXCPP $CPPFLAGS'
23388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23391
23392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23393 /* end confdefs.h. */
23394 #include <math.h>
23395 #ifdef HAVE_IEEEFP_H
23396 #include <ieeefp.h>
23397 #endif
23398
23399 int
23400 main ()
23401 {
23402 _logf(0);
23403 ;
23404 return 0;
23405 }
23406 _ACEOF
23407 if ac_fn_cxx_try_compile "$LINENO"; then :
23408 glibcxx_cv_func__logf_use=yes
23409 else
23410 glibcxx_cv_func__logf_use=no
23411 fi
23412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23413 ac_ext=c
23414 ac_cpp='$CPP $CPPFLAGS'
23415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23418
23419
23420 fi
23421
23422 fi
23423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23424 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23425
23426 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23427 for ac_func in _logf
23428 do :
23429 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23430 if test "x$ac_cv_func__logf" = x""yes; then :
23431 cat >>confdefs.h <<_ACEOF
23432 #define HAVE__LOGF 1
23433 _ACEOF
23434
23435 fi
23436 done
23437
23438 fi
23439 fi
23440
23441
23442
23443
23444
23445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23446 $as_echo_n "checking for log10f declaration... " >&6; }
23447 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23448 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23449 $as_echo_n "(cached) " >&6
23450 else
23451
23452
23453 ac_ext=cpp
23454 ac_cpp='$CXXCPP $CPPFLAGS'
23455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23458
23459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23460 /* end confdefs.h. */
23461 #include <math.h>
23462 #ifdef HAVE_IEEEFP_H
23463 #include <ieeefp.h>
23464 #endif
23465
23466 int
23467 main ()
23468 {
23469 log10f(0);
23470 ;
23471 return 0;
23472 }
23473 _ACEOF
23474 if ac_fn_cxx_try_compile "$LINENO"; then :
23475 glibcxx_cv_func_log10f_use=yes
23476 else
23477 glibcxx_cv_func_log10f_use=no
23478 fi
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 ac_ext=c
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23485
23486
23487 fi
23488
23489 fi
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23491 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23492
23493 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23494 for ac_func in log10f
23495 do :
23496 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23497 if test "x$ac_cv_func_log10f" = x""yes; then :
23498 cat >>confdefs.h <<_ACEOF
23499 #define HAVE_LOG10F 1
23500 _ACEOF
23501
23502 fi
23503 done
23504
23505 else
23506
23507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23508 $as_echo_n "checking for _log10f declaration... " >&6; }
23509 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23510 if test "${glibcxx_cv_func__log10f_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 _log10f(0);
23532 ;
23533 return 0;
23534 }
23535 _ACEOF
23536 if ac_fn_cxx_try_compile "$LINENO"; then :
23537 glibcxx_cv_func__log10f_use=yes
23538 else
23539 glibcxx_cv_func__log10f_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__log10f_use" >&5
23553 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23554
23555 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23556 for ac_func in _log10f
23557 do :
23558 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23559 if test "x$ac_cv_func__log10f" = x""yes; then :
23560 cat >>confdefs.h <<_ACEOF
23561 #define HAVE__LOG10F 1
23562 _ACEOF
23563
23564 fi
23565 done
23566
23567 fi
23568 fi
23569
23570
23571
23572
23573
23574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23575 $as_echo_n "checking for modff declaration... " >&6; }
23576 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23577 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23578 $as_echo_n "(cached) " >&6
23579 else
23580
23581
23582 ac_ext=cpp
23583 ac_cpp='$CXXCPP $CPPFLAGS'
23584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23587
23588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23589 /* end confdefs.h. */
23590 #include <math.h>
23591 int
23592 main ()
23593 {
23594 modff(0, 0);
23595 ;
23596 return 0;
23597 }
23598 _ACEOF
23599 if ac_fn_cxx_try_compile "$LINENO"; then :
23600 glibcxx_cv_func_modff_use=yes
23601 else
23602 glibcxx_cv_func_modff_use=no
23603 fi
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23610
23611
23612 fi
23613
23614 fi
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23616 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23617
23618 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23619 for ac_func in modff
23620 do :
23621 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23622 if test "x$ac_cv_func_modff" = x""yes; then :
23623 cat >>confdefs.h <<_ACEOF
23624 #define HAVE_MODFF 1
23625 _ACEOF
23626
23627 fi
23628 done
23629
23630 else
23631
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23633 $as_echo_n "checking for _modff declaration... " >&6; }
23634 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23635 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23636 $as_echo_n "(cached) " >&6
23637 else
23638
23639
23640 ac_ext=cpp
23641 ac_cpp='$CXXCPP $CPPFLAGS'
23642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23645
23646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23647 /* end confdefs.h. */
23648 #include <math.h>
23649 int
23650 main ()
23651 {
23652 _modff(0, 0);
23653 ;
23654 return 0;
23655 }
23656 _ACEOF
23657 if ac_fn_cxx_try_compile "$LINENO"; then :
23658 glibcxx_cv_func__modff_use=yes
23659 else
23660 glibcxx_cv_func__modff_use=no
23661 fi
23662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23663 ac_ext=c
23664 ac_cpp='$CPP $CPPFLAGS'
23665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23668
23669
23670 fi
23671
23672 fi
23673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23674 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23675
23676 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23677 for ac_func in _modff
23678 do :
23679 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23680 if test "x$ac_cv_func__modff" = x""yes; then :
23681 cat >>confdefs.h <<_ACEOF
23682 #define HAVE__MODFF 1
23683 _ACEOF
23684
23685 fi
23686 done
23687
23688 fi
23689 fi
23690
23691
23692
23693
23694
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23696 $as_echo_n "checking for modf declaration... " >&6; }
23697 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23698 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23699 $as_echo_n "(cached) " >&6
23700 else
23701
23702
23703 ac_ext=cpp
23704 ac_cpp='$CXXCPP $CPPFLAGS'
23705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23708
23709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23710 /* end confdefs.h. */
23711 #include <math.h>
23712 int
23713 main ()
23714 {
23715 modf(0, 0);
23716 ;
23717 return 0;
23718 }
23719 _ACEOF
23720 if ac_fn_cxx_try_compile "$LINENO"; then :
23721 glibcxx_cv_func_modf_use=yes
23722 else
23723 glibcxx_cv_func_modf_use=no
23724 fi
23725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23726 ac_ext=c
23727 ac_cpp='$CPP $CPPFLAGS'
23728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23731
23732
23733 fi
23734
23735 fi
23736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23737 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23738
23739 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23740 for ac_func in modf
23741 do :
23742 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23743 if test "x$ac_cv_func_modf" = x""yes; then :
23744 cat >>confdefs.h <<_ACEOF
23745 #define HAVE_MODF 1
23746 _ACEOF
23747
23748 fi
23749 done
23750
23751 else
23752
23753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23754 $as_echo_n "checking for _modf declaration... " >&6; }
23755 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23756 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23757 $as_echo_n "(cached) " >&6
23758 else
23759
23760
23761 ac_ext=cpp
23762 ac_cpp='$CXXCPP $CPPFLAGS'
23763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23766
23767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23768 /* end confdefs.h. */
23769 #include <math.h>
23770 int
23771 main ()
23772 {
23773 _modf(0, 0);
23774 ;
23775 return 0;
23776 }
23777 _ACEOF
23778 if ac_fn_cxx_try_compile "$LINENO"; then :
23779 glibcxx_cv_func__modf_use=yes
23780 else
23781 glibcxx_cv_func__modf_use=no
23782 fi
23783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23784 ac_ext=c
23785 ac_cpp='$CPP $CPPFLAGS'
23786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23789
23790
23791 fi
23792
23793 fi
23794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23795 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23796
23797 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23798 for ac_func in _modf
23799 do :
23800 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23801 if test "x$ac_cv_func__modf" = x""yes; then :
23802 cat >>confdefs.h <<_ACEOF
23803 #define HAVE__MODF 1
23804 _ACEOF
23805
23806 fi
23807 done
23808
23809 fi
23810 fi
23811
23812
23813
23814
23815
23816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23817 $as_echo_n "checking for powf declaration... " >&6; }
23818 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23819 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23820 $as_echo_n "(cached) " >&6
23821 else
23822
23823
23824 ac_ext=cpp
23825 ac_cpp='$CXXCPP $CPPFLAGS'
23826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23829
23830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23831 /* end confdefs.h. */
23832 #include <math.h>
23833 int
23834 main ()
23835 {
23836 powf(0, 0);
23837 ;
23838 return 0;
23839 }
23840 _ACEOF
23841 if ac_fn_cxx_try_compile "$LINENO"; then :
23842 glibcxx_cv_func_powf_use=yes
23843 else
23844 glibcxx_cv_func_powf_use=no
23845 fi
23846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23847 ac_ext=c
23848 ac_cpp='$CPP $CPPFLAGS'
23849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23852
23853
23854 fi
23855
23856 fi
23857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23858 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23859
23860 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23861 for ac_func in powf
23862 do :
23863 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23864 if test "x$ac_cv_func_powf" = x""yes; then :
23865 cat >>confdefs.h <<_ACEOF
23866 #define HAVE_POWF 1
23867 _ACEOF
23868
23869 fi
23870 done
23871
23872 else
23873
23874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23875 $as_echo_n "checking for _powf declaration... " >&6; }
23876 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23877 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23878 $as_echo_n "(cached) " >&6
23879 else
23880
23881
23882 ac_ext=cpp
23883 ac_cpp='$CXXCPP $CPPFLAGS'
23884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23887
23888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23889 /* end confdefs.h. */
23890 #include <math.h>
23891 int
23892 main ()
23893 {
23894 _powf(0, 0);
23895 ;
23896 return 0;
23897 }
23898 _ACEOF
23899 if ac_fn_cxx_try_compile "$LINENO"; then :
23900 glibcxx_cv_func__powf_use=yes
23901 else
23902 glibcxx_cv_func__powf_use=no
23903 fi
23904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23905 ac_ext=c
23906 ac_cpp='$CPP $CPPFLAGS'
23907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23910
23911
23912 fi
23913
23914 fi
23915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23916 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23917
23918 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23919 for ac_func in _powf
23920 do :
23921 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23922 if test "x$ac_cv_func__powf" = x""yes; then :
23923 cat >>confdefs.h <<_ACEOF
23924 #define HAVE__POWF 1
23925 _ACEOF
23926
23927 fi
23928 done
23929
23930 fi
23931 fi
23932
23933
23934
23935
23936
23937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23938 $as_echo_n "checking for sqrtf declaration... " >&6; }
23939 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23940 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23941 $as_echo_n "(cached) " >&6
23942 else
23943
23944
23945 ac_ext=cpp
23946 ac_cpp='$CXXCPP $CPPFLAGS'
23947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23950
23951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23952 /* end confdefs.h. */
23953 #include <math.h>
23954 #ifdef HAVE_IEEEFP_H
23955 #include <ieeefp.h>
23956 #endif
23957
23958 int
23959 main ()
23960 {
23961 sqrtf(0);
23962 ;
23963 return 0;
23964 }
23965 _ACEOF
23966 if ac_fn_cxx_try_compile "$LINENO"; then :
23967 glibcxx_cv_func_sqrtf_use=yes
23968 else
23969 glibcxx_cv_func_sqrtf_use=no
23970 fi
23971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23972 ac_ext=c
23973 ac_cpp='$CPP $CPPFLAGS'
23974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23977
23978
23979 fi
23980
23981 fi
23982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23983 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23984
23985 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23986 for ac_func in sqrtf
23987 do :
23988 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23989 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23990 cat >>confdefs.h <<_ACEOF
23991 #define HAVE_SQRTF 1
23992 _ACEOF
23993
23994 fi
23995 done
23996
23997 else
23998
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24000 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24001 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24002 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24003 $as_echo_n "(cached) " >&6
24004 else
24005
24006
24007 ac_ext=cpp
24008 ac_cpp='$CXXCPP $CPPFLAGS'
24009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24012
24013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24014 /* end confdefs.h. */
24015 #include <math.h>
24016 #ifdef HAVE_IEEEFP_H
24017 #include <ieeefp.h>
24018 #endif
24019
24020 int
24021 main ()
24022 {
24023 _sqrtf(0);
24024 ;
24025 return 0;
24026 }
24027 _ACEOF
24028 if ac_fn_cxx_try_compile "$LINENO"; then :
24029 glibcxx_cv_func__sqrtf_use=yes
24030 else
24031 glibcxx_cv_func__sqrtf_use=no
24032 fi
24033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24034 ac_ext=c
24035 ac_cpp='$CPP $CPPFLAGS'
24036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24039
24040
24041 fi
24042
24043 fi
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24045 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24046
24047 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24048 for ac_func in _sqrtf
24049 do :
24050 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24051 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24052 cat >>confdefs.h <<_ACEOF
24053 #define HAVE__SQRTF 1
24054 _ACEOF
24055
24056 fi
24057 done
24058
24059 fi
24060 fi
24061
24062
24063
24064
24065
24066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24067 $as_echo_n "checking for sincosf declaration... " >&6; }
24068 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24069 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24070 $as_echo_n "(cached) " >&6
24071 else
24072
24073
24074 ac_ext=cpp
24075 ac_cpp='$CXXCPP $CPPFLAGS'
24076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24079
24080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24081 /* end confdefs.h. */
24082 #include <math.h>
24083 int
24084 main ()
24085 {
24086 sincosf(0, 0, 0);
24087 ;
24088 return 0;
24089 }
24090 _ACEOF
24091 if ac_fn_cxx_try_compile "$LINENO"; then :
24092 glibcxx_cv_func_sincosf_use=yes
24093 else
24094 glibcxx_cv_func_sincosf_use=no
24095 fi
24096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24097 ac_ext=c
24098 ac_cpp='$CPP $CPPFLAGS'
24099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24102
24103
24104 fi
24105
24106 fi
24107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24108 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24109
24110 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24111 for ac_func in sincosf
24112 do :
24113 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24114 if test "x$ac_cv_func_sincosf" = x""yes; then :
24115 cat >>confdefs.h <<_ACEOF
24116 #define HAVE_SINCOSF 1
24117 _ACEOF
24118
24119 fi
24120 done
24121
24122 else
24123
24124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24125 $as_echo_n "checking for _sincosf declaration... " >&6; }
24126 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24127 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24128 $as_echo_n "(cached) " >&6
24129 else
24130
24131
24132 ac_ext=cpp
24133 ac_cpp='$CXXCPP $CPPFLAGS'
24134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24137
24138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24139 /* end confdefs.h. */
24140 #include <math.h>
24141 int
24142 main ()
24143 {
24144 _sincosf(0, 0, 0);
24145 ;
24146 return 0;
24147 }
24148 _ACEOF
24149 if ac_fn_cxx_try_compile "$LINENO"; then :
24150 glibcxx_cv_func__sincosf_use=yes
24151 else
24152 glibcxx_cv_func__sincosf_use=no
24153 fi
24154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24155 ac_ext=c
24156 ac_cpp='$CPP $CPPFLAGS'
24157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24160
24161
24162 fi
24163
24164 fi
24165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24166 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24167
24168 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24169 for ac_func in _sincosf
24170 do :
24171 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24172 if test "x$ac_cv_func__sincosf" = x""yes; then :
24173 cat >>confdefs.h <<_ACEOF
24174 #define HAVE__SINCOSF 1
24175 _ACEOF
24176
24177 fi
24178 done
24179
24180 fi
24181 fi
24182
24183
24184
24185
24186
24187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24188 $as_echo_n "checking for finitef declaration... " >&6; }
24189 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24190 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24191 $as_echo_n "(cached) " >&6
24192 else
24193
24194
24195 ac_ext=cpp
24196 ac_cpp='$CXXCPP $CPPFLAGS'
24197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24200
24201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24202 /* end confdefs.h. */
24203 #include <math.h>
24204 #ifdef HAVE_IEEEFP_H
24205 #include <ieeefp.h>
24206 #endif
24207
24208 int
24209 main ()
24210 {
24211 finitef(0);
24212 ;
24213 return 0;
24214 }
24215 _ACEOF
24216 if ac_fn_cxx_try_compile "$LINENO"; then :
24217 glibcxx_cv_func_finitef_use=yes
24218 else
24219 glibcxx_cv_func_finitef_use=no
24220 fi
24221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24222 ac_ext=c
24223 ac_cpp='$CPP $CPPFLAGS'
24224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24227
24228
24229 fi
24230
24231 fi
24232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24233 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24234
24235 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24236 for ac_func in finitef
24237 do :
24238 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24239 if test "x$ac_cv_func_finitef" = x""yes; then :
24240 cat >>confdefs.h <<_ACEOF
24241 #define HAVE_FINITEF 1
24242 _ACEOF
24243
24244 fi
24245 done
24246
24247 else
24248
24249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24250 $as_echo_n "checking for _finitef declaration... " >&6; }
24251 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24252 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24253 $as_echo_n "(cached) " >&6
24254 else
24255
24256
24257 ac_ext=cpp
24258 ac_cpp='$CXXCPP $CPPFLAGS'
24259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24262
24263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24264 /* end confdefs.h. */
24265 #include <math.h>
24266 #ifdef HAVE_IEEEFP_H
24267 #include <ieeefp.h>
24268 #endif
24269
24270 int
24271 main ()
24272 {
24273 _finitef(0);
24274 ;
24275 return 0;
24276 }
24277 _ACEOF
24278 if ac_fn_cxx_try_compile "$LINENO"; then :
24279 glibcxx_cv_func__finitef_use=yes
24280 else
24281 glibcxx_cv_func__finitef_use=no
24282 fi
24283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24284 ac_ext=c
24285 ac_cpp='$CPP $CPPFLAGS'
24286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24289
24290
24291 fi
24292
24293 fi
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24295 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24296
24297 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24298 for ac_func in _finitef
24299 do :
24300 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24301 if test "x$ac_cv_func__finitef" = x""yes; then :
24302 cat >>confdefs.h <<_ACEOF
24303 #define HAVE__FINITEF 1
24304 _ACEOF
24305
24306 fi
24307 done
24308
24309 fi
24310 fi
24311
24312
24313
24314
24315
24316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24317 $as_echo_n "checking for long double trig functions... " >&6; }
24318 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24319 $as_echo_n "(cached) " >&6
24320 else
24321
24322
24323 ac_ext=cpp
24324 ac_cpp='$CXXCPP $CPPFLAGS'
24325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24328
24329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24330 /* end confdefs.h. */
24331 #include <math.h>
24332 int
24333 main ()
24334 {
24335 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24336 ;
24337 return 0;
24338 }
24339 _ACEOF
24340 if ac_fn_cxx_try_compile "$LINENO"; then :
24341 glibcxx_cv_func_long_double_trig_use=yes
24342 else
24343 glibcxx_cv_func_long_double_trig_use=no
24344 fi
24345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24346 ac_ext=c
24347 ac_cpp='$CPP $CPPFLAGS'
24348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24351
24352 fi
24353
24354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24355 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24356 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24357 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24358 do :
24359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24361 eval as_val=\$$as_ac_var
24362 if test "x$as_val" = x""yes; then :
24363 cat >>confdefs.h <<_ACEOF
24364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24365 _ACEOF
24366
24367 fi
24368 done
24369
24370 else
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24372 $as_echo_n "checking for _long double trig functions... " >&6; }
24373 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24374 $as_echo_n "(cached) " >&6
24375 else
24376
24377
24378 ac_ext=cpp
24379 ac_cpp='$CXXCPP $CPPFLAGS'
24380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24383
24384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24385 /* end confdefs.h. */
24386 #include <math.h>
24387 int
24388 main ()
24389 {
24390 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24391 ;
24392 return 0;
24393 }
24394 _ACEOF
24395 if ac_fn_cxx_try_compile "$LINENO"; then :
24396 glibcxx_cv_func__long_double_trig_use=yes
24397 else
24398 glibcxx_cv_func__long_double_trig_use=no
24399 fi
24400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24401 ac_ext=c
24402 ac_cpp='$CPP $CPPFLAGS'
24403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24406
24407 fi
24408
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24410 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24411 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24412 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24413 do :
24414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24416 eval as_val=\$$as_ac_var
24417 if test "x$as_val" = x""yes; then :
24418 cat >>confdefs.h <<_ACEOF
24419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24420 _ACEOF
24421
24422 fi
24423 done
24424
24425 fi
24426 fi
24427
24428
24429
24430
24431
24432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24433 $as_echo_n "checking for long double round functions... " >&6; }
24434 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24435 $as_echo_n "(cached) " >&6
24436 else
24437
24438
24439 ac_ext=cpp
24440 ac_cpp='$CXXCPP $CPPFLAGS'
24441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24444
24445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24446 /* end confdefs.h. */
24447 #include <math.h>
24448 int
24449 main ()
24450 {
24451 ceill (0); floorl (0);
24452 ;
24453 return 0;
24454 }
24455 _ACEOF
24456 if ac_fn_cxx_try_compile "$LINENO"; then :
24457 glibcxx_cv_func_long_double_round_use=yes
24458 else
24459 glibcxx_cv_func_long_double_round_use=no
24460 fi
24461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24462 ac_ext=c
24463 ac_cpp='$CPP $CPPFLAGS'
24464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24467
24468 fi
24469
24470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24471 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24472 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24473 for ac_func in ceill floorl
24474 do :
24475 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24476 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24477 eval as_val=\$$as_ac_var
24478 if test "x$as_val" = x""yes; then :
24479 cat >>confdefs.h <<_ACEOF
24480 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24481 _ACEOF
24482
24483 fi
24484 done
24485
24486 else
24487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24488 $as_echo_n "checking for _long double round functions... " >&6; }
24489 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24490 $as_echo_n "(cached) " >&6
24491 else
24492
24493
24494 ac_ext=cpp
24495 ac_cpp='$CXXCPP $CPPFLAGS'
24496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24499
24500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24501 /* end confdefs.h. */
24502 #include <math.h>
24503 int
24504 main ()
24505 {
24506 _ceill (0); _floorl (0);
24507 ;
24508 return 0;
24509 }
24510 _ACEOF
24511 if ac_fn_cxx_try_compile "$LINENO"; then :
24512 glibcxx_cv_func__long_double_round_use=yes
24513 else
24514 glibcxx_cv_func__long_double_round_use=no
24515 fi
24516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24517 ac_ext=c
24518 ac_cpp='$CPP $CPPFLAGS'
24519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24522
24523 fi
24524
24525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24526 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24527 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24528 for ac_func in _ceill _floorl
24529 do :
24530 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24531 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24532 eval as_val=\$$as_ac_var
24533 if test "x$as_val" = x""yes; then :
24534 cat >>confdefs.h <<_ACEOF
24535 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24536 _ACEOF
24537
24538 fi
24539 done
24540
24541 fi
24542 fi
24543
24544
24545
24546
24547
24548
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24550 $as_echo_n "checking for isnanl declaration... " >&6; }
24551 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24552 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24553 $as_echo_n "(cached) " >&6
24554 else
24555
24556
24557 ac_ext=cpp
24558 ac_cpp='$CXXCPP $CPPFLAGS'
24559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24562
24563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24564 /* end confdefs.h. */
24565 #include <math.h>
24566 #ifdef HAVE_IEEEFP_H
24567 #include <ieeefp.h>
24568 #endif
24569
24570 int
24571 main ()
24572 {
24573 isnanl(0);
24574 ;
24575 return 0;
24576 }
24577 _ACEOF
24578 if ac_fn_cxx_try_compile "$LINENO"; then :
24579 glibcxx_cv_func_isnanl_use=yes
24580 else
24581 glibcxx_cv_func_isnanl_use=no
24582 fi
24583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24584 ac_ext=c
24585 ac_cpp='$CPP $CPPFLAGS'
24586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24589
24590
24591 fi
24592
24593 fi
24594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24595 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24596
24597 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24598 for ac_func in isnanl
24599 do :
24600 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24601 if test "x$ac_cv_func_isnanl" = x""yes; then :
24602 cat >>confdefs.h <<_ACEOF
24603 #define HAVE_ISNANL 1
24604 _ACEOF
24605
24606 fi
24607 done
24608
24609 else
24610
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24612 $as_echo_n "checking for _isnanl declaration... " >&6; }
24613 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24614 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24615 $as_echo_n "(cached) " >&6
24616 else
24617
24618
24619 ac_ext=cpp
24620 ac_cpp='$CXXCPP $CPPFLAGS'
24621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24624
24625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24626 /* end confdefs.h. */
24627 #include <math.h>
24628 #ifdef HAVE_IEEEFP_H
24629 #include <ieeefp.h>
24630 #endif
24631
24632 int
24633 main ()
24634 {
24635 _isnanl(0);
24636 ;
24637 return 0;
24638 }
24639 _ACEOF
24640 if ac_fn_cxx_try_compile "$LINENO"; then :
24641 glibcxx_cv_func__isnanl_use=yes
24642 else
24643 glibcxx_cv_func__isnanl_use=no
24644 fi
24645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24646 ac_ext=c
24647 ac_cpp='$CPP $CPPFLAGS'
24648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24651
24652
24653 fi
24654
24655 fi
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24657 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24658
24659 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24660 for ac_func in _isnanl
24661 do :
24662 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24663 if test "x$ac_cv_func__isnanl" = x""yes; then :
24664 cat >>confdefs.h <<_ACEOF
24665 #define HAVE__ISNANL 1
24666 _ACEOF
24667
24668 fi
24669 done
24670
24671 fi
24672 fi
24673
24674
24675
24676
24677
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24679 $as_echo_n "checking for isinfl declaration... " >&6; }
24680 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24681 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24682 $as_echo_n "(cached) " >&6
24683 else
24684
24685
24686 ac_ext=cpp
24687 ac_cpp='$CXXCPP $CPPFLAGS'
24688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24691
24692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24693 /* end confdefs.h. */
24694 #include <math.h>
24695 #ifdef HAVE_IEEEFP_H
24696 #include <ieeefp.h>
24697 #endif
24698
24699 int
24700 main ()
24701 {
24702 isinfl(0);
24703 ;
24704 return 0;
24705 }
24706 _ACEOF
24707 if ac_fn_cxx_try_compile "$LINENO"; then :
24708 glibcxx_cv_func_isinfl_use=yes
24709 else
24710 glibcxx_cv_func_isinfl_use=no
24711 fi
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24713 ac_ext=c
24714 ac_cpp='$CPP $CPPFLAGS'
24715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24718
24719
24720 fi
24721
24722 fi
24723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24724 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24725
24726 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24727 for ac_func in isinfl
24728 do :
24729 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24730 if test "x$ac_cv_func_isinfl" = x""yes; then :
24731 cat >>confdefs.h <<_ACEOF
24732 #define HAVE_ISINFL 1
24733 _ACEOF
24734
24735 fi
24736 done
24737
24738 else
24739
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24741 $as_echo_n "checking for _isinfl declaration... " >&6; }
24742 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24743 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24744 $as_echo_n "(cached) " >&6
24745 else
24746
24747
24748 ac_ext=cpp
24749 ac_cpp='$CXXCPP $CPPFLAGS'
24750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24753
24754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24755 /* end confdefs.h. */
24756 #include <math.h>
24757 #ifdef HAVE_IEEEFP_H
24758 #include <ieeefp.h>
24759 #endif
24760
24761 int
24762 main ()
24763 {
24764 _isinfl(0);
24765 ;
24766 return 0;
24767 }
24768 _ACEOF
24769 if ac_fn_cxx_try_compile "$LINENO"; then :
24770 glibcxx_cv_func__isinfl_use=yes
24771 else
24772 glibcxx_cv_func__isinfl_use=no
24773 fi
24774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24775 ac_ext=c
24776 ac_cpp='$CPP $CPPFLAGS'
24777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24780
24781
24782 fi
24783
24784 fi
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24786 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24787
24788 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24789 for ac_func in _isinfl
24790 do :
24791 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24792 if test "x$ac_cv_func__isinfl" = x""yes; then :
24793 cat >>confdefs.h <<_ACEOF
24794 #define HAVE__ISINFL 1
24795 _ACEOF
24796
24797 fi
24798 done
24799
24800 fi
24801 fi
24802
24803
24804
24805
24806
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24808 $as_echo_n "checking for atan2l declaration... " >&6; }
24809 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24810 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24811 $as_echo_n "(cached) " >&6
24812 else
24813
24814
24815 ac_ext=cpp
24816 ac_cpp='$CXXCPP $CPPFLAGS'
24817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24820
24821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24822 /* end confdefs.h. */
24823 #include <math.h>
24824 int
24825 main ()
24826 {
24827 atan2l(0, 0);
24828 ;
24829 return 0;
24830 }
24831 _ACEOF
24832 if ac_fn_cxx_try_compile "$LINENO"; then :
24833 glibcxx_cv_func_atan2l_use=yes
24834 else
24835 glibcxx_cv_func_atan2l_use=no
24836 fi
24837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24838 ac_ext=c
24839 ac_cpp='$CPP $CPPFLAGS'
24840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24843
24844
24845 fi
24846
24847 fi
24848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24849 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24850
24851 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24852 for ac_func in atan2l
24853 do :
24854 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24855 if test "x$ac_cv_func_atan2l" = x""yes; then :
24856 cat >>confdefs.h <<_ACEOF
24857 #define HAVE_ATAN2L 1
24858 _ACEOF
24859
24860 fi
24861 done
24862
24863 else
24864
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24866 $as_echo_n "checking for _atan2l declaration... " >&6; }
24867 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24868 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24869 $as_echo_n "(cached) " >&6
24870 else
24871
24872
24873 ac_ext=cpp
24874 ac_cpp='$CXXCPP $CPPFLAGS'
24875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24878
24879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24880 /* end confdefs.h. */
24881 #include <math.h>
24882 int
24883 main ()
24884 {
24885 _atan2l(0, 0);
24886 ;
24887 return 0;
24888 }
24889 _ACEOF
24890 if ac_fn_cxx_try_compile "$LINENO"; then :
24891 glibcxx_cv_func__atan2l_use=yes
24892 else
24893 glibcxx_cv_func__atan2l_use=no
24894 fi
24895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24896 ac_ext=c
24897 ac_cpp='$CPP $CPPFLAGS'
24898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24901
24902
24903 fi
24904
24905 fi
24906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24907 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24908
24909 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24910 for ac_func in _atan2l
24911 do :
24912 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24913 if test "x$ac_cv_func__atan2l" = x""yes; then :
24914 cat >>confdefs.h <<_ACEOF
24915 #define HAVE__ATAN2L 1
24916 _ACEOF
24917
24918 fi
24919 done
24920
24921 fi
24922 fi
24923
24924
24925
24926
24927
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24929 $as_echo_n "checking for expl declaration... " >&6; }
24930 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24931 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24932 $as_echo_n "(cached) " >&6
24933 else
24934
24935
24936 ac_ext=cpp
24937 ac_cpp='$CXXCPP $CPPFLAGS'
24938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24941
24942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24943 /* end confdefs.h. */
24944 #include <math.h>
24945 #ifdef HAVE_IEEEFP_H
24946 #include <ieeefp.h>
24947 #endif
24948
24949 int
24950 main ()
24951 {
24952 expl(0);
24953 ;
24954 return 0;
24955 }
24956 _ACEOF
24957 if ac_fn_cxx_try_compile "$LINENO"; then :
24958 glibcxx_cv_func_expl_use=yes
24959 else
24960 glibcxx_cv_func_expl_use=no
24961 fi
24962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24963 ac_ext=c
24964 ac_cpp='$CPP $CPPFLAGS'
24965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24968
24969
24970 fi
24971
24972 fi
24973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24974 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24975
24976 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24977 for ac_func in expl
24978 do :
24979 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24980 if test "x$ac_cv_func_expl" = x""yes; then :
24981 cat >>confdefs.h <<_ACEOF
24982 #define HAVE_EXPL 1
24983 _ACEOF
24984
24985 fi
24986 done
24987
24988 else
24989
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24991 $as_echo_n "checking for _expl declaration... " >&6; }
24992 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24993 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24994 $as_echo_n "(cached) " >&6
24995 else
24996
24997
24998 ac_ext=cpp
24999 ac_cpp='$CXXCPP $CPPFLAGS'
25000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25003
25004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25005 /* end confdefs.h. */
25006 #include <math.h>
25007 #ifdef HAVE_IEEEFP_H
25008 #include <ieeefp.h>
25009 #endif
25010
25011 int
25012 main ()
25013 {
25014 _expl(0);
25015 ;
25016 return 0;
25017 }
25018 _ACEOF
25019 if ac_fn_cxx_try_compile "$LINENO"; then :
25020 glibcxx_cv_func__expl_use=yes
25021 else
25022 glibcxx_cv_func__expl_use=no
25023 fi
25024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25025 ac_ext=c
25026 ac_cpp='$CPP $CPPFLAGS'
25027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25030
25031
25032 fi
25033
25034 fi
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25036 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25037
25038 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25039 for ac_func in _expl
25040 do :
25041 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25042 if test "x$ac_cv_func__expl" = x""yes; then :
25043 cat >>confdefs.h <<_ACEOF
25044 #define HAVE__EXPL 1
25045 _ACEOF
25046
25047 fi
25048 done
25049
25050 fi
25051 fi
25052
25053
25054
25055
25056
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25058 $as_echo_n "checking for fabsl declaration... " >&6; }
25059 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25060 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25061 $as_echo_n "(cached) " >&6
25062 else
25063
25064
25065 ac_ext=cpp
25066 ac_cpp='$CXXCPP $CPPFLAGS'
25067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25070
25071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25072 /* end confdefs.h. */
25073 #include <math.h>
25074 #ifdef HAVE_IEEEFP_H
25075 #include <ieeefp.h>
25076 #endif
25077
25078 int
25079 main ()
25080 {
25081 fabsl(0);
25082 ;
25083 return 0;
25084 }
25085 _ACEOF
25086 if ac_fn_cxx_try_compile "$LINENO"; then :
25087 glibcxx_cv_func_fabsl_use=yes
25088 else
25089 glibcxx_cv_func_fabsl_use=no
25090 fi
25091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25092 ac_ext=c
25093 ac_cpp='$CPP $CPPFLAGS'
25094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25097
25098
25099 fi
25100
25101 fi
25102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25103 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25104
25105 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25106 for ac_func in fabsl
25107 do :
25108 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25109 if test "x$ac_cv_func_fabsl" = x""yes; then :
25110 cat >>confdefs.h <<_ACEOF
25111 #define HAVE_FABSL 1
25112 _ACEOF
25113
25114 fi
25115 done
25116
25117 else
25118
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25120 $as_echo_n "checking for _fabsl declaration... " >&6; }
25121 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25122 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
25137 #include <ieeefp.h>
25138 #endif
25139
25140 int
25141 main ()
25142 {
25143 _fabsl(0);
25144 ;
25145 return 0;
25146 }
25147 _ACEOF
25148 if ac_fn_cxx_try_compile "$LINENO"; then :
25149 glibcxx_cv_func__fabsl_use=yes
25150 else
25151 glibcxx_cv_func__fabsl_use=no
25152 fi
25153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25154 ac_ext=c
25155 ac_cpp='$CPP $CPPFLAGS'
25156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25159
25160
25161 fi
25162
25163 fi
25164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25165 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25166
25167 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25168 for ac_func in _fabsl
25169 do :
25170 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25171 if test "x$ac_cv_func__fabsl" = x""yes; then :
25172 cat >>confdefs.h <<_ACEOF
25173 #define HAVE__FABSL 1
25174 _ACEOF
25175
25176 fi
25177 done
25178
25179 fi
25180 fi
25181
25182
25183
25184
25185
25186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25187 $as_echo_n "checking for fmodl declaration... " >&6; }
25188 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25189 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25190 $as_echo_n "(cached) " >&6
25191 else
25192
25193
25194 ac_ext=cpp
25195 ac_cpp='$CXXCPP $CPPFLAGS'
25196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25199
25200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25201 /* end confdefs.h. */
25202 #include <math.h>
25203 int
25204 main ()
25205 {
25206 fmodl(0, 0);
25207 ;
25208 return 0;
25209 }
25210 _ACEOF
25211 if ac_fn_cxx_try_compile "$LINENO"; then :
25212 glibcxx_cv_func_fmodl_use=yes
25213 else
25214 glibcxx_cv_func_fmodl_use=no
25215 fi
25216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25217 ac_ext=c
25218 ac_cpp='$CPP $CPPFLAGS'
25219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25222
25223
25224 fi
25225
25226 fi
25227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25228 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25229
25230 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25231 for ac_func in fmodl
25232 do :
25233 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25234 if test "x$ac_cv_func_fmodl" = x""yes; then :
25235 cat >>confdefs.h <<_ACEOF
25236 #define HAVE_FMODL 1
25237 _ACEOF
25238
25239 fi
25240 done
25241
25242 else
25243
25244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25245 $as_echo_n "checking for _fmodl declaration... " >&6; }
25246 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25247 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25248 $as_echo_n "(cached) " >&6
25249 else
25250
25251
25252 ac_ext=cpp
25253 ac_cpp='$CXXCPP $CPPFLAGS'
25254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25257
25258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25259 /* end confdefs.h. */
25260 #include <math.h>
25261 int
25262 main ()
25263 {
25264 _fmodl(0, 0);
25265 ;
25266 return 0;
25267 }
25268 _ACEOF
25269 if ac_fn_cxx_try_compile "$LINENO"; then :
25270 glibcxx_cv_func__fmodl_use=yes
25271 else
25272 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
25286 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25287
25288 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25289 for ac_func in _fmodl
25290 do :
25291 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25292 if test "x$ac_cv_func__fmodl" = x""yes; then :
25293 cat >>confdefs.h <<_ACEOF
25294 #define HAVE__FMODL 1
25295 _ACEOF
25296
25297 fi
25298 done
25299
25300 fi
25301 fi
25302
25303
25304
25305
25306
25307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25308 $as_echo_n "checking for frexpl declaration... " >&6; }
25309 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25310 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25311 $as_echo_n "(cached) " >&6
25312 else
25313
25314
25315 ac_ext=cpp
25316 ac_cpp='$CXXCPP $CPPFLAGS'
25317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25320
25321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25322 /* end confdefs.h. */
25323 #include <math.h>
25324 int
25325 main ()
25326 {
25327 frexpl(0, 0);
25328 ;
25329 return 0;
25330 }
25331 _ACEOF
25332 if ac_fn_cxx_try_compile "$LINENO"; then :
25333 glibcxx_cv_func_frexpl_use=yes
25334 else
25335 glibcxx_cv_func_frexpl_use=no
25336 fi
25337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25338 ac_ext=c
25339 ac_cpp='$CPP $CPPFLAGS'
25340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25343
25344
25345 fi
25346
25347 fi
25348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25349 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25350
25351 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25352 for ac_func in frexpl
25353 do :
25354 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25355 if test "x$ac_cv_func_frexpl" = x""yes; then :
25356 cat >>confdefs.h <<_ACEOF
25357 #define HAVE_FREXPL 1
25358 _ACEOF
25359
25360 fi
25361 done
25362
25363 else
25364
25365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25366 $as_echo_n "checking for _frexpl declaration... " >&6; }
25367 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25368 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25369 $as_echo_n "(cached) " >&6
25370 else
25371
25372
25373 ac_ext=cpp
25374 ac_cpp='$CXXCPP $CPPFLAGS'
25375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25378
25379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25380 /* end confdefs.h. */
25381 #include <math.h>
25382 int
25383 main ()
25384 {
25385 _frexpl(0, 0);
25386 ;
25387 return 0;
25388 }
25389 _ACEOF
25390 if ac_fn_cxx_try_compile "$LINENO"; then :
25391 glibcxx_cv_func__frexpl_use=yes
25392 else
25393 glibcxx_cv_func__frexpl_use=no
25394 fi
25395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25396 ac_ext=c
25397 ac_cpp='$CPP $CPPFLAGS'
25398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25401
25402
25403 fi
25404
25405 fi
25406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25407 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25408
25409 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25410 for ac_func in _frexpl
25411 do :
25412 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25413 if test "x$ac_cv_func__frexpl" = x""yes; then :
25414 cat >>confdefs.h <<_ACEOF
25415 #define HAVE__FREXPL 1
25416 _ACEOF
25417
25418 fi
25419 done
25420
25421 fi
25422 fi
25423
25424
25425
25426
25427
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25429 $as_echo_n "checking for hypotl declaration... " >&6; }
25430 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25431 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25432 $as_echo_n "(cached) " >&6
25433 else
25434
25435
25436 ac_ext=cpp
25437 ac_cpp='$CXXCPP $CPPFLAGS'
25438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25441
25442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25443 /* end confdefs.h. */
25444 #include <math.h>
25445 int
25446 main ()
25447 {
25448 hypotl(0, 0);
25449 ;
25450 return 0;
25451 }
25452 _ACEOF
25453 if ac_fn_cxx_try_compile "$LINENO"; then :
25454 glibcxx_cv_func_hypotl_use=yes
25455 else
25456 glibcxx_cv_func_hypotl_use=no
25457 fi
25458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25459 ac_ext=c
25460 ac_cpp='$CPP $CPPFLAGS'
25461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25464
25465
25466 fi
25467
25468 fi
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25470 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25471
25472 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25473 for ac_func in hypotl
25474 do :
25475 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25476 if test "x$ac_cv_func_hypotl" = x""yes; then :
25477 cat >>confdefs.h <<_ACEOF
25478 #define HAVE_HYPOTL 1
25479 _ACEOF
25480
25481 fi
25482 done
25483
25484 else
25485
25486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25487 $as_echo_n "checking for _hypotl declaration... " >&6; }
25488 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25489 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25490 $as_echo_n "(cached) " >&6
25491 else
25492
25493
25494 ac_ext=cpp
25495 ac_cpp='$CXXCPP $CPPFLAGS'
25496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25499
25500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25501 /* end confdefs.h. */
25502 #include <math.h>
25503 int
25504 main ()
25505 {
25506 _hypotl(0, 0);
25507 ;
25508 return 0;
25509 }
25510 _ACEOF
25511 if ac_fn_cxx_try_compile "$LINENO"; then :
25512 glibcxx_cv_func__hypotl_use=yes
25513 else
25514 glibcxx_cv_func__hypotl_use=no
25515 fi
25516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25517 ac_ext=c
25518 ac_cpp='$CPP $CPPFLAGS'
25519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25522
25523
25524 fi
25525
25526 fi
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25528 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25529
25530 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25531 for ac_func in _hypotl
25532 do :
25533 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25534 if test "x$ac_cv_func__hypotl" = x""yes; then :
25535 cat >>confdefs.h <<_ACEOF
25536 #define HAVE__HYPOTL 1
25537 _ACEOF
25538
25539 fi
25540 done
25541
25542 fi
25543 fi
25544
25545
25546
25547
25548
25549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25550 $as_echo_n "checking for ldexpl declaration... " >&6; }
25551 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25552 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25553 $as_echo_n "(cached) " >&6
25554 else
25555
25556
25557 ac_ext=cpp
25558 ac_cpp='$CXXCPP $CPPFLAGS'
25559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25562
25563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25564 /* end confdefs.h. */
25565 #include <math.h>
25566 int
25567 main ()
25568 {
25569 ldexpl(0, 0);
25570 ;
25571 return 0;
25572 }
25573 _ACEOF
25574 if ac_fn_cxx_try_compile "$LINENO"; then :
25575 glibcxx_cv_func_ldexpl_use=yes
25576 else
25577 glibcxx_cv_func_ldexpl_use=no
25578 fi
25579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25580 ac_ext=c
25581 ac_cpp='$CPP $CPPFLAGS'
25582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25585
25586
25587 fi
25588
25589 fi
25590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25591 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25592
25593 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25594 for ac_func in ldexpl
25595 do :
25596 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25597 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25598 cat >>confdefs.h <<_ACEOF
25599 #define HAVE_LDEXPL 1
25600 _ACEOF
25601
25602 fi
25603 done
25604
25605 else
25606
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25608 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25609 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25610 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25611 $as_echo_n "(cached) " >&6
25612 else
25613
25614
25615 ac_ext=cpp
25616 ac_cpp='$CXXCPP $CPPFLAGS'
25617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25620
25621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25622 /* end confdefs.h. */
25623 #include <math.h>
25624 int
25625 main ()
25626 {
25627 _ldexpl(0, 0);
25628 ;
25629 return 0;
25630 }
25631 _ACEOF
25632 if ac_fn_cxx_try_compile "$LINENO"; then :
25633 glibcxx_cv_func__ldexpl_use=yes
25634 else
25635 glibcxx_cv_func__ldexpl_use=no
25636 fi
25637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25638 ac_ext=c
25639 ac_cpp='$CPP $CPPFLAGS'
25640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25643
25644
25645 fi
25646
25647 fi
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25649 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25650
25651 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25652 for ac_func in _ldexpl
25653 do :
25654 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25655 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25656 cat >>confdefs.h <<_ACEOF
25657 #define HAVE__LDEXPL 1
25658 _ACEOF
25659
25660 fi
25661 done
25662
25663 fi
25664 fi
25665
25666
25667
25668
25669
25670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25671 $as_echo_n "checking for logl declaration... " >&6; }
25672 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25673 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25674 $as_echo_n "(cached) " >&6
25675 else
25676
25677
25678 ac_ext=cpp
25679 ac_cpp='$CXXCPP $CPPFLAGS'
25680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25683
25684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25685 /* end confdefs.h. */
25686 #include <math.h>
25687 #ifdef HAVE_IEEEFP_H
25688 #include <ieeefp.h>
25689 #endif
25690
25691 int
25692 main ()
25693 {
25694 logl(0);
25695 ;
25696 return 0;
25697 }
25698 _ACEOF
25699 if ac_fn_cxx_try_compile "$LINENO"; then :
25700 glibcxx_cv_func_logl_use=yes
25701 else
25702 glibcxx_cv_func_logl_use=no
25703 fi
25704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25705 ac_ext=c
25706 ac_cpp='$CPP $CPPFLAGS'
25707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25710
25711
25712 fi
25713
25714 fi
25715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25716 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25717
25718 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25719 for ac_func in logl
25720 do :
25721 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25722 if test "x$ac_cv_func_logl" = x""yes; then :
25723 cat >>confdefs.h <<_ACEOF
25724 #define HAVE_LOGL 1
25725 _ACEOF
25726
25727 fi
25728 done
25729
25730 else
25731
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25733 $as_echo_n "checking for _logl declaration... " >&6; }
25734 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25735 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25736 $as_echo_n "(cached) " >&6
25737 else
25738
25739
25740 ac_ext=cpp
25741 ac_cpp='$CXXCPP $CPPFLAGS'
25742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25745
25746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25747 /* end confdefs.h. */
25748 #include <math.h>
25749 #ifdef HAVE_IEEEFP_H
25750 #include <ieeefp.h>
25751 #endif
25752
25753 int
25754 main ()
25755 {
25756 _logl(0);
25757 ;
25758 return 0;
25759 }
25760 _ACEOF
25761 if ac_fn_cxx_try_compile "$LINENO"; then :
25762 glibcxx_cv_func__logl_use=yes
25763 else
25764 glibcxx_cv_func__logl_use=no
25765 fi
25766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25767 ac_ext=c
25768 ac_cpp='$CPP $CPPFLAGS'
25769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25772
25773
25774 fi
25775
25776 fi
25777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25778 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25779
25780 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25781 for ac_func in _logl
25782 do :
25783 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25784 if test "x$ac_cv_func__logl" = x""yes; then :
25785 cat >>confdefs.h <<_ACEOF
25786 #define HAVE__LOGL 1
25787 _ACEOF
25788
25789 fi
25790 done
25791
25792 fi
25793 fi
25794
25795
25796
25797
25798
25799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25800 $as_echo_n "checking for log10l declaration... " >&6; }
25801 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25802 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25803 $as_echo_n "(cached) " >&6
25804 else
25805
25806
25807 ac_ext=cpp
25808 ac_cpp='$CXXCPP $CPPFLAGS'
25809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25812
25813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25814 /* end confdefs.h. */
25815 #include <math.h>
25816 #ifdef HAVE_IEEEFP_H
25817 #include <ieeefp.h>
25818 #endif
25819
25820 int
25821 main ()
25822 {
25823 log10l(0);
25824 ;
25825 return 0;
25826 }
25827 _ACEOF
25828 if ac_fn_cxx_try_compile "$LINENO"; then :
25829 glibcxx_cv_func_log10l_use=yes
25830 else
25831 glibcxx_cv_func_log10l_use=no
25832 fi
25833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25834 ac_ext=c
25835 ac_cpp='$CPP $CPPFLAGS'
25836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25839
25840
25841 fi
25842
25843 fi
25844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25845 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25846
25847 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25848 for ac_func in log10l
25849 do :
25850 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25851 if test "x$ac_cv_func_log10l" = x""yes; then :
25852 cat >>confdefs.h <<_ACEOF
25853 #define HAVE_LOG10L 1
25854 _ACEOF
25855
25856 fi
25857 done
25858
25859 else
25860
25861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25862 $as_echo_n "checking for _log10l declaration... " >&6; }
25863 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25864 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25865 $as_echo_n "(cached) " >&6
25866 else
25867
25868
25869 ac_ext=cpp
25870 ac_cpp='$CXXCPP $CPPFLAGS'
25871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25874
25875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25876 /* end confdefs.h. */
25877 #include <math.h>
25878 #ifdef HAVE_IEEEFP_H
25879 #include <ieeefp.h>
25880 #endif
25881
25882 int
25883 main ()
25884 {
25885 _log10l(0);
25886 ;
25887 return 0;
25888 }
25889 _ACEOF
25890 if ac_fn_cxx_try_compile "$LINENO"; then :
25891 glibcxx_cv_func__log10l_use=yes
25892 else
25893 glibcxx_cv_func__log10l_use=no
25894 fi
25895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25896 ac_ext=c
25897 ac_cpp='$CPP $CPPFLAGS'
25898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25901
25902
25903 fi
25904
25905 fi
25906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25907 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25908
25909 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25910 for ac_func in _log10l
25911 do :
25912 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25913 if test "x$ac_cv_func__log10l" = x""yes; then :
25914 cat >>confdefs.h <<_ACEOF
25915 #define HAVE__LOG10L 1
25916 _ACEOF
25917
25918 fi
25919 done
25920
25921 fi
25922 fi
25923
25924
25925
25926
25927
25928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25929 $as_echo_n "checking for modfl declaration... " >&6; }
25930 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25931 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25932 $as_echo_n "(cached) " >&6
25933 else
25934
25935
25936 ac_ext=cpp
25937 ac_cpp='$CXXCPP $CPPFLAGS'
25938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25941
25942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25943 /* end confdefs.h. */
25944 #include <math.h>
25945 int
25946 main ()
25947 {
25948 modfl(0, 0);
25949 ;
25950 return 0;
25951 }
25952 _ACEOF
25953 if ac_fn_cxx_try_compile "$LINENO"; then :
25954 glibcxx_cv_func_modfl_use=yes
25955 else
25956 glibcxx_cv_func_modfl_use=no
25957 fi
25958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25959 ac_ext=c
25960 ac_cpp='$CPP $CPPFLAGS'
25961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25964
25965
25966 fi
25967
25968 fi
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25970 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25971
25972 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25973 for ac_func in modfl
25974 do :
25975 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25976 if test "x$ac_cv_func_modfl" = x""yes; then :
25977 cat >>confdefs.h <<_ACEOF
25978 #define HAVE_MODFL 1
25979 _ACEOF
25980
25981 fi
25982 done
25983
25984 else
25985
25986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25987 $as_echo_n "checking for _modfl declaration... " >&6; }
25988 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25989 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25990 $as_echo_n "(cached) " >&6
25991 else
25992
25993
25994 ac_ext=cpp
25995 ac_cpp='$CXXCPP $CPPFLAGS'
25996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25999
26000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26001 /* end confdefs.h. */
26002 #include <math.h>
26003 int
26004 main ()
26005 {
26006 _modfl(0, 0);
26007 ;
26008 return 0;
26009 }
26010 _ACEOF
26011 if ac_fn_cxx_try_compile "$LINENO"; then :
26012 glibcxx_cv_func__modfl_use=yes
26013 else
26014 glibcxx_cv_func__modfl_use=no
26015 fi
26016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26017 ac_ext=c
26018 ac_cpp='$CPP $CPPFLAGS'
26019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26022
26023
26024 fi
26025
26026 fi
26027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26028 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26029
26030 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26031 for ac_func in _modfl
26032 do :
26033 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26034 if test "x$ac_cv_func__modfl" = x""yes; then :
26035 cat >>confdefs.h <<_ACEOF
26036 #define HAVE__MODFL 1
26037 _ACEOF
26038
26039 fi
26040 done
26041
26042 fi
26043 fi
26044
26045
26046
26047
26048
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26050 $as_echo_n "checking for powl declaration... " >&6; }
26051 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26052 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26055
26056
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26062
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26066 int
26067 main ()
26068 {
26069 powl(0, 0);
26070 ;
26071 return 0;
26072 }
26073 _ACEOF
26074 if ac_fn_cxx_try_compile "$LINENO"; then :
26075 glibcxx_cv_func_powl_use=yes
26076 else
26077 glibcxx_cv_func_powl_use=no
26078 fi
26079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26080 ac_ext=c
26081 ac_cpp='$CPP $CPPFLAGS'
26082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26085
26086
26087 fi
26088
26089 fi
26090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26091 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26092
26093 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26094 for ac_func in powl
26095 do :
26096 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26097 if test "x$ac_cv_func_powl" = x""yes; then :
26098 cat >>confdefs.h <<_ACEOF
26099 #define HAVE_POWL 1
26100 _ACEOF
26101
26102 fi
26103 done
26104
26105 else
26106
26107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26108 $as_echo_n "checking for _powl declaration... " >&6; }
26109 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26110 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26111 $as_echo_n "(cached) " >&6
26112 else
26113
26114
26115 ac_ext=cpp
26116 ac_cpp='$CXXCPP $CPPFLAGS'
26117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26120
26121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26122 /* end confdefs.h. */
26123 #include <math.h>
26124 int
26125 main ()
26126 {
26127 _powl(0, 0);
26128 ;
26129 return 0;
26130 }
26131 _ACEOF
26132 if ac_fn_cxx_try_compile "$LINENO"; then :
26133 glibcxx_cv_func__powl_use=yes
26134 else
26135 glibcxx_cv_func__powl_use=no
26136 fi
26137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26138 ac_ext=c
26139 ac_cpp='$CPP $CPPFLAGS'
26140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26143
26144
26145 fi
26146
26147 fi
26148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26149 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26150
26151 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26152 for ac_func in _powl
26153 do :
26154 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26155 if test "x$ac_cv_func__powl" = x""yes; then :
26156 cat >>confdefs.h <<_ACEOF
26157 #define HAVE__POWL 1
26158 _ACEOF
26159
26160 fi
26161 done
26162
26163 fi
26164 fi
26165
26166
26167
26168
26169
26170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26171 $as_echo_n "checking for sqrtl declaration... " >&6; }
26172 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26173 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26174 $as_echo_n "(cached) " >&6
26175 else
26176
26177
26178 ac_ext=cpp
26179 ac_cpp='$CXXCPP $CPPFLAGS'
26180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26183
26184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26185 /* end confdefs.h. */
26186 #include <math.h>
26187 #ifdef HAVE_IEEEFP_H
26188 #include <ieeefp.h>
26189 #endif
26190
26191 int
26192 main ()
26193 {
26194 sqrtl(0);
26195 ;
26196 return 0;
26197 }
26198 _ACEOF
26199 if ac_fn_cxx_try_compile "$LINENO"; then :
26200 glibcxx_cv_func_sqrtl_use=yes
26201 else
26202 glibcxx_cv_func_sqrtl_use=no
26203 fi
26204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26205 ac_ext=c
26206 ac_cpp='$CPP $CPPFLAGS'
26207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26210
26211
26212 fi
26213
26214 fi
26215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26216 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26217
26218 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26219 for ac_func in sqrtl
26220 do :
26221 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26222 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26223 cat >>confdefs.h <<_ACEOF
26224 #define HAVE_SQRTL 1
26225 _ACEOF
26226
26227 fi
26228 done
26229
26230 else
26231
26232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26233 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26234 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26235 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26236 $as_echo_n "(cached) " >&6
26237 else
26238
26239
26240 ac_ext=cpp
26241 ac_cpp='$CXXCPP $CPPFLAGS'
26242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26245
26246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26247 /* end confdefs.h. */
26248 #include <math.h>
26249 #ifdef HAVE_IEEEFP_H
26250 #include <ieeefp.h>
26251 #endif
26252
26253 int
26254 main ()
26255 {
26256 _sqrtl(0);
26257 ;
26258 return 0;
26259 }
26260 _ACEOF
26261 if ac_fn_cxx_try_compile "$LINENO"; then :
26262 glibcxx_cv_func__sqrtl_use=yes
26263 else
26264 glibcxx_cv_func__sqrtl_use=no
26265 fi
26266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26267 ac_ext=c
26268 ac_cpp='$CPP $CPPFLAGS'
26269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26272
26273
26274 fi
26275
26276 fi
26277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26278 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26279
26280 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26281 for ac_func in _sqrtl
26282 do :
26283 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26284 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26285 cat >>confdefs.h <<_ACEOF
26286 #define HAVE__SQRTL 1
26287 _ACEOF
26288
26289 fi
26290 done
26291
26292 fi
26293 fi
26294
26295
26296
26297
26298
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26300 $as_echo_n "checking for sincosl declaration... " >&6; }
26301 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26302 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26303 $as_echo_n "(cached) " >&6
26304 else
26305
26306
26307 ac_ext=cpp
26308 ac_cpp='$CXXCPP $CPPFLAGS'
26309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26312
26313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26314 /* end confdefs.h. */
26315 #include <math.h>
26316 int
26317 main ()
26318 {
26319 sincosl(0, 0, 0);
26320 ;
26321 return 0;
26322 }
26323 _ACEOF
26324 if ac_fn_cxx_try_compile "$LINENO"; then :
26325 glibcxx_cv_func_sincosl_use=yes
26326 else
26327 glibcxx_cv_func_sincosl_use=no
26328 fi
26329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26330 ac_ext=c
26331 ac_cpp='$CPP $CPPFLAGS'
26332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26335
26336
26337 fi
26338
26339 fi
26340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26341 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26342
26343 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26344 for ac_func in sincosl
26345 do :
26346 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26347 if test "x$ac_cv_func_sincosl" = x""yes; then :
26348 cat >>confdefs.h <<_ACEOF
26349 #define HAVE_SINCOSL 1
26350 _ACEOF
26351
26352 fi
26353 done
26354
26355 else
26356
26357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26358 $as_echo_n "checking for _sincosl declaration... " >&6; }
26359 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26360 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26361 $as_echo_n "(cached) " >&6
26362 else
26363
26364
26365 ac_ext=cpp
26366 ac_cpp='$CXXCPP $CPPFLAGS'
26367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26370
26371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26372 /* end confdefs.h. */
26373 #include <math.h>
26374 int
26375 main ()
26376 {
26377 _sincosl(0, 0, 0);
26378 ;
26379 return 0;
26380 }
26381 _ACEOF
26382 if ac_fn_cxx_try_compile "$LINENO"; then :
26383 glibcxx_cv_func__sincosl_use=yes
26384 else
26385 glibcxx_cv_func__sincosl_use=no
26386 fi
26387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26388 ac_ext=c
26389 ac_cpp='$CPP $CPPFLAGS'
26390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26393
26394
26395 fi
26396
26397 fi
26398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26399 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26400
26401 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26402 for ac_func in _sincosl
26403 do :
26404 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26405 if test "x$ac_cv_func__sincosl" = x""yes; then :
26406 cat >>confdefs.h <<_ACEOF
26407 #define HAVE__SINCOSL 1
26408 _ACEOF
26409
26410 fi
26411 done
26412
26413 fi
26414 fi
26415
26416
26417
26418
26419
26420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26421 $as_echo_n "checking for finitel declaration... " >&6; }
26422 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26423 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26424 $as_echo_n "(cached) " >&6
26425 else
26426
26427
26428 ac_ext=cpp
26429 ac_cpp='$CXXCPP $CPPFLAGS'
26430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26433
26434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26435 /* end confdefs.h. */
26436 #include <math.h>
26437 #ifdef HAVE_IEEEFP_H
26438 #include <ieeefp.h>
26439 #endif
26440
26441 int
26442 main ()
26443 {
26444 finitel(0);
26445 ;
26446 return 0;
26447 }
26448 _ACEOF
26449 if ac_fn_cxx_try_compile "$LINENO"; then :
26450 glibcxx_cv_func_finitel_use=yes
26451 else
26452 glibcxx_cv_func_finitel_use=no
26453 fi
26454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26455 ac_ext=c
26456 ac_cpp='$CPP $CPPFLAGS'
26457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26460
26461
26462 fi
26463
26464 fi
26465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26466 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26467
26468 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26469 for ac_func in finitel
26470 do :
26471 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26472 if test "x$ac_cv_func_finitel" = x""yes; then :
26473 cat >>confdefs.h <<_ACEOF
26474 #define HAVE_FINITEL 1
26475 _ACEOF
26476
26477 fi
26478 done
26479
26480 else
26481
26482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26483 $as_echo_n "checking for _finitel declaration... " >&6; }
26484 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26485 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26486 $as_echo_n "(cached) " >&6
26487 else
26488
26489
26490 ac_ext=cpp
26491 ac_cpp='$CXXCPP $CPPFLAGS'
26492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26495
26496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26497 /* end confdefs.h. */
26498 #include <math.h>
26499 #ifdef HAVE_IEEEFP_H
26500 #include <ieeefp.h>
26501 #endif
26502
26503 int
26504 main ()
26505 {
26506 _finitel(0);
26507 ;
26508 return 0;
26509 }
26510 _ACEOF
26511 if ac_fn_cxx_try_compile "$LINENO"; then :
26512 glibcxx_cv_func__finitel_use=yes
26513 else
26514 glibcxx_cv_func__finitel_use=no
26515 fi
26516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26517 ac_ext=c
26518 ac_cpp='$CPP $CPPFLAGS'
26519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26522
26523
26524 fi
26525
26526 fi
26527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26528 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26529
26530 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26531 for ac_func in _finitel
26532 do :
26533 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26534 if test "x$ac_cv_func__finitel" = x""yes; then :
26535 cat >>confdefs.h <<_ACEOF
26536 #define HAVE__FINITEL 1
26537 _ACEOF
26538
26539 fi
26540 done
26541
26542 fi
26543 fi
26544
26545
26546
26547
26548 LIBS="$ac_save_LIBS"
26549 CXXFLAGS="$ac_save_CXXFLAGS"
26550
26551
26552 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26553 ac_save_CXXFLAGS="$CXXFLAGS"
26554 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26555
26556
26557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26558 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26559 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26560 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26561 $as_echo_n "(cached) " >&6
26562 else
26563
26564
26565 ac_ext=cpp
26566 ac_cpp='$CXXCPP $CPPFLAGS'
26567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26570
26571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26572 /* end confdefs.h. */
26573 #include <stdlib.h>
26574 int
26575 main ()
26576 {
26577 at_quick_exit(0);
26578 ;
26579 return 0;
26580 }
26581 _ACEOF
26582 if ac_fn_cxx_try_compile "$LINENO"; then :
26583 glibcxx_cv_func_at_quick_exit_use=yes
26584 else
26585 glibcxx_cv_func_at_quick_exit_use=no
26586 fi
26587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26588 ac_ext=c
26589 ac_cpp='$CPP $CPPFLAGS'
26590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26593
26594
26595 fi
26596
26597 fi
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26599 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26600 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26601 for ac_func in at_quick_exit
26602 do :
26603 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26604 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26605 cat >>confdefs.h <<_ACEOF
26606 #define HAVE_AT_QUICK_EXIT 1
26607 _ACEOF
26608
26609 fi
26610 done
26611
26612 fi
26613
26614
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26616 $as_echo_n "checking for quick_exit declaration... " >&6; }
26617 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26618 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26619 $as_echo_n "(cached) " >&6
26620 else
26621
26622
26623 ac_ext=cpp
26624 ac_cpp='$CXXCPP $CPPFLAGS'
26625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26628
26629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26630 /* end confdefs.h. */
26631 #include <stdlib.h>
26632 int
26633 main ()
26634 {
26635 quick_exit(0);
26636 ;
26637 return 0;
26638 }
26639 _ACEOF
26640 if ac_fn_cxx_try_compile "$LINENO"; then :
26641 glibcxx_cv_func_quick_exit_use=yes
26642 else
26643 glibcxx_cv_func_quick_exit_use=no
26644 fi
26645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26646 ac_ext=c
26647 ac_cpp='$CPP $CPPFLAGS'
26648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26651
26652
26653 fi
26654
26655 fi
26656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26657 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26658 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26659 for ac_func in quick_exit
26660 do :
26661 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26662 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26663 cat >>confdefs.h <<_ACEOF
26664 #define HAVE_QUICK_EXIT 1
26665 _ACEOF
26666
26667 fi
26668 done
26669
26670 fi
26671
26672
26673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26674 $as_echo_n "checking for strtold declaration... " >&6; }
26675 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26676 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26677 $as_echo_n "(cached) " >&6
26678 else
26679
26680
26681 ac_ext=cpp
26682 ac_cpp='$CXXCPP $CPPFLAGS'
26683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26686
26687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26688 /* end confdefs.h. */
26689 #include <stdlib.h>
26690 int
26691 main ()
26692 {
26693 strtold(0, 0);
26694 ;
26695 return 0;
26696 }
26697 _ACEOF
26698 if ac_fn_cxx_try_compile "$LINENO"; then :
26699 glibcxx_cv_func_strtold_use=yes
26700 else
26701 glibcxx_cv_func_strtold_use=no
26702 fi
26703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26704 ac_ext=c
26705 ac_cpp='$CPP $CPPFLAGS'
26706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26709
26710
26711 fi
26712
26713 fi
26714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26715 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26716 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26717 for ac_func in strtold
26718 do :
26719 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26720 if test "x$ac_cv_func_strtold" = x""yes; then :
26721 cat >>confdefs.h <<_ACEOF
26722 #define HAVE_STRTOLD 1
26723 _ACEOF
26724
26725 fi
26726 done
26727
26728 fi
26729
26730
26731
26732
26733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26734 $as_echo_n "checking for strtof declaration... " >&6; }
26735 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26736 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26737 $as_echo_n "(cached) " >&6
26738 else
26739
26740
26741 ac_ext=cpp
26742 ac_cpp='$CXXCPP $CPPFLAGS'
26743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26746
26747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26748 /* end confdefs.h. */
26749 #include <stdlib.h>
26750 int
26751 main ()
26752 {
26753 strtof(0, 0);
26754 ;
26755 return 0;
26756 }
26757 _ACEOF
26758 if ac_fn_cxx_try_compile "$LINENO"; then :
26759 glibcxx_cv_func_strtof_use=yes
26760 else
26761 glibcxx_cv_func_strtof_use=no
26762 fi
26763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26764 ac_ext=c
26765 ac_cpp='$CPP $CPPFLAGS'
26766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26769
26770
26771 fi
26772
26773 fi
26774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26775 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26776 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26777 for ac_func in strtof
26778 do :
26779 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26780 if test "x$ac_cv_func_strtof" = x""yes; then :
26781 cat >>confdefs.h <<_ACEOF
26782 #define HAVE_STRTOF 1
26783 _ACEOF
26784
26785 fi
26786 done
26787
26788 fi
26789
26790
26791
26792
26793 CXXFLAGS="$ac_save_CXXFLAGS"
26794
26795
26796 # For /dev/random and /dev/urandom for TR1.
26797
26798
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26800 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26801 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26802 $as_echo_n "(cached) " >&6
26803 else
26804
26805 if test -r /dev/random && test -r /dev/urandom; then
26806 ## For MSys environment the test above is detect as false-positive
26807 ## on mingw-targets. So disable it explicit for them.
26808 case ${target_os} in
26809 *mingw*) glibcxx_cv_random_tr1=no ;;
26810 *) glibcxx_cv_random_tr1=yes ;;
26811 esac
26812 else
26813 glibcxx_cv_random_tr1=no;
26814 fi
26815
26816 fi
26817
26818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26819 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26820
26821 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26822
26823 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26824
26825 fi
26826
26827
26828
26829 # For TLS support.
26830
26831
26832 # Check whether --enable-tls was given.
26833 if test "${enable_tls+set}" = set; then :
26834 enableval=$enable_tls;
26835 case "$enableval" in
26836 yes|no) ;;
26837 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26838 esac
26839
26840 else
26841 enable_tls=yes
26842 fi
26843
26844
26845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26846 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26847 if test "${gcc_cv_have_tls+set}" = set; then :
26848 $as_echo_n "(cached) " >&6
26849 else
26850
26851 if test "$cross_compiling" = yes; then :
26852 if test x$gcc_no_link = xyes; then
26853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26854 fi
26855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26856 /* end confdefs.h. */
26857 __thread int a; int b; int main() { return a = b; }
26858 _ACEOF
26859 if ac_fn_c_try_link "$LINENO"; then :
26860 chktls_save_LDFLAGS="$LDFLAGS"
26861 case $host in
26862 *-*-linux*)
26863 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26864 ;;
26865 esac
26866 chktls_save_CFLAGS="$CFLAGS"
26867 CFLAGS="-fPIC $CFLAGS"
26868 if test x$gcc_no_link = xyes; then
26869 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26870 fi
26871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26872 /* end confdefs.h. */
26873 int f() { return 0; }
26874 _ACEOF
26875 if ac_fn_c_try_link "$LINENO"; then :
26876 if test x$gcc_no_link = xyes; then
26877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26878 fi
26879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26880 /* end confdefs.h. */
26881 __thread int a; int b; int f() { return a = b; }
26882 _ACEOF
26883 if ac_fn_c_try_link "$LINENO"; then :
26884 gcc_cv_have_tls=yes
26885 else
26886 gcc_cv_have_tls=no
26887 fi
26888 rm -f core conftest.err conftest.$ac_objext \
26889 conftest$ac_exeext conftest.$ac_ext
26890 else
26891 gcc_cv_have_tls=yes
26892 fi
26893 rm -f core conftest.err conftest.$ac_objext \
26894 conftest$ac_exeext conftest.$ac_ext
26895 CFLAGS="$chktls_save_CFLAGS"
26896 LDFLAGS="$chktls_save_LDFLAGS"
26897 else
26898 gcc_cv_have_tls=no
26899 fi
26900 rm -f core conftest.err conftest.$ac_objext \
26901 conftest$ac_exeext conftest.$ac_ext
26902
26903
26904 else
26905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26906 /* end confdefs.h. */
26907 __thread int a; int b; int main() { return a = b; }
26908 _ACEOF
26909 if ac_fn_c_try_run "$LINENO"; then :
26910 chktls_save_LDFLAGS="$LDFLAGS"
26911 LDFLAGS="-static $LDFLAGS"
26912 if test x$gcc_no_link = xyes; then
26913 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26914 fi
26915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26916 /* end confdefs.h. */
26917 int main() { return 0; }
26918 _ACEOF
26919 if ac_fn_c_try_link "$LINENO"; then :
26920 if test "$cross_compiling" = yes; then :
26921 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26922 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26923 as_fn_error "cannot run test program while cross compiling
26924 See \`config.log' for more details." "$LINENO" 5; }
26925 else
26926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26927 /* end confdefs.h. */
26928 __thread int a; int b; int main() { return a = b; }
26929 _ACEOF
26930 if ac_fn_c_try_run "$LINENO"; then :
26931 gcc_cv_have_tls=yes
26932 else
26933 gcc_cv_have_tls=no
26934 fi
26935 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26936 conftest.$ac_objext conftest.beam conftest.$ac_ext
26937 fi
26938
26939 else
26940 gcc_cv_have_tls=yes
26941 fi
26942 rm -f core conftest.err conftest.$ac_objext \
26943 conftest$ac_exeext conftest.$ac_ext
26944 LDFLAGS="$chktls_save_LDFLAGS"
26945 if test $gcc_cv_have_tls = yes; then
26946 chktls_save_CFLAGS="$CFLAGS"
26947 thread_CFLAGS=failed
26948 for flag in '' '-pthread' '-lpthread'; do
26949 CFLAGS="$flag $chktls_save_CFLAGS"
26950 if test x$gcc_no_link = xyes; then
26951 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26952 fi
26953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26954 /* end confdefs.h. */
26955 #include <pthread.h>
26956 void *g(void *d) { return NULL; }
26957 int
26958 main ()
26959 {
26960 pthread_t t; pthread_create(&t,NULL,g,NULL);
26961 ;
26962 return 0;
26963 }
26964 _ACEOF
26965 if ac_fn_c_try_link "$LINENO"; then :
26966 thread_CFLAGS="$flag"
26967 fi
26968 rm -f core conftest.err conftest.$ac_objext \
26969 conftest$ac_exeext conftest.$ac_ext
26970 if test "X$thread_CFLAGS" != Xfailed; then
26971 break
26972 fi
26973 done
26974 CFLAGS="$chktls_save_CFLAGS"
26975 if test "X$thread_CFLAGS" != Xfailed; then
26976 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26977 if test "$cross_compiling" = yes; then :
26978 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26979 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26980 as_fn_error "cannot run test program while cross compiling
26981 See \`config.log' for more details." "$LINENO" 5; }
26982 else
26983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26984 /* end confdefs.h. */
26985 #include <pthread.h>
26986 __thread int a;
26987 static int *volatile a_in_other_thread;
26988 static void *
26989 thread_func (void *arg)
26990 {
26991 a_in_other_thread = &a;
26992 return (void *)0;
26993 }
26994 int
26995 main ()
26996 {
26997 pthread_t thread;
26998 void *thread_retval;
26999 int *volatile a_in_main_thread;
27000 a_in_main_thread = &a;
27001 if (pthread_create (&thread, (pthread_attr_t *)0,
27002 thread_func, (void *)0))
27003 return 0;
27004 if (pthread_join (thread, &thread_retval))
27005 return 0;
27006 return (a_in_other_thread == a_in_main_thread);
27007 ;
27008 return 0;
27009 }
27010 _ACEOF
27011 if ac_fn_c_try_run "$LINENO"; then :
27012 gcc_cv_have_tls=yes
27013 else
27014 gcc_cv_have_tls=no
27015 fi
27016 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27017 conftest.$ac_objext conftest.beam conftest.$ac_ext
27018 fi
27019
27020 CFLAGS="$chktls_save_CFLAGS"
27021 fi
27022 fi
27023 else
27024 gcc_cv_have_tls=no
27025 fi
27026 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27027 conftest.$ac_objext conftest.beam conftest.$ac_ext
27028 fi
27029
27030 fi
27031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27032 $as_echo "$gcc_cv_have_tls" >&6; }
27033 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27034
27035 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27036
27037 fi
27038
27039 for ac_func in __cxa_thread_atexit_impl
27040 do :
27041 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27042 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27043 cat >>confdefs.h <<_ACEOF
27044 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27045 _ACEOF
27046
27047 fi
27048 done
27049
27050
27051 # For iconv support.
27052
27053 if test "X$prefix" = "XNONE"; then
27054 acl_final_prefix="$ac_default_prefix"
27055 else
27056 acl_final_prefix="$prefix"
27057 fi
27058 if test "X$exec_prefix" = "XNONE"; then
27059 acl_final_exec_prefix='${prefix}'
27060 else
27061 acl_final_exec_prefix="$exec_prefix"
27062 fi
27063 acl_save_prefix="$prefix"
27064 prefix="$acl_final_prefix"
27065 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27066 prefix="$acl_save_prefix"
27067
27068
27069 # Check whether --with-gnu-ld was given.
27070 if test "${with_gnu_ld+set}" = set; then :
27071 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27072 else
27073 with_gnu_ld=no
27074 fi
27075
27076 # Prepare PATH_SEPARATOR.
27077 # The user is always right.
27078 if test "${PATH_SEPARATOR+set}" != set; then
27079 echo "#! /bin/sh" >conf$$.sh
27080 echo "exit 0" >>conf$$.sh
27081 chmod +x conf$$.sh
27082 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27083 PATH_SEPARATOR=';'
27084 else
27085 PATH_SEPARATOR=:
27086 fi
27087 rm -f conf$$.sh
27088 fi
27089 ac_prog=ld
27090 if test "$GCC" = yes; then
27091 # Check if gcc -print-prog-name=ld gives a path.
27092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27093 $as_echo_n "checking for ld used by GCC... " >&6; }
27094 case $host in
27095 *-*-mingw*)
27096 # gcc leaves a trailing carriage return which upsets mingw
27097 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27098 *)
27099 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27100 esac
27101 case $ac_prog in
27102 # Accept absolute paths.
27103 [\\/]* | [A-Za-z]:[\\/]*)
27104 re_direlt='/[^/][^/]*/\.\./'
27105 # Canonicalize the path of ld
27106 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27107 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27108 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27109 done
27110 test -z "$LD" && LD="$ac_prog"
27111 ;;
27112 "")
27113 # If it fails, then pretend we aren't using GCC.
27114 ac_prog=ld
27115 ;;
27116 *)
27117 # If it is relative, then search for the first ld in PATH.
27118 with_gnu_ld=unknown
27119 ;;
27120 esac
27121 elif test "$with_gnu_ld" = yes; then
27122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27123 $as_echo_n "checking for GNU ld... " >&6; }
27124 else
27125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27126 $as_echo_n "checking for non-GNU ld... " >&6; }
27127 fi
27128 if test "${acl_cv_path_LD+set}" = set; then :
27129 $as_echo_n "(cached) " >&6
27130 else
27131 if test -z "$LD"; then
27132 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27133 for ac_dir in $PATH; do
27134 test -z "$ac_dir" && ac_dir=.
27135 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27136 acl_cv_path_LD="$ac_dir/$ac_prog"
27137 # Check to see if the program is GNU ld. I'd rather use --version,
27138 # but apparently some GNU ld's only accept -v.
27139 # Break only if it was the GNU/non-GNU ld that we prefer.
27140 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27141 test "$with_gnu_ld" != no && break
27142 else
27143 test "$with_gnu_ld" != yes && break
27144 fi
27145 fi
27146 done
27147 IFS="$ac_save_ifs"
27148 else
27149 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27150 fi
27151 fi
27152
27153 LD="$acl_cv_path_LD"
27154 if test -n "$LD"; then
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27156 $as_echo "$LD" >&6; }
27157 else
27158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27159 $as_echo "no" >&6; }
27160 fi
27161 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27163 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27164 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27165 $as_echo_n "(cached) " >&6
27166 else
27167 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27168 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27169 acl_cv_prog_gnu_ld=yes
27170 else
27171 acl_cv_prog_gnu_ld=no
27172 fi
27173 fi
27174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27175 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27176 with_gnu_ld=$acl_cv_prog_gnu_ld
27177
27178
27179
27180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27181 $as_echo_n "checking for shared library run path origin... " >&6; }
27182 if test "${acl_cv_rpath+set}" = set; then :
27183 $as_echo_n "(cached) " >&6
27184 else
27185
27186 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27187 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27188 . ./conftest.sh
27189 rm -f ./conftest.sh
27190 acl_cv_rpath=done
27191
27192 fi
27193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27194 $as_echo "$acl_cv_rpath" >&6; }
27195 wl="$acl_cv_wl"
27196 libext="$acl_cv_libext"
27197 shlibext="$acl_cv_shlibext"
27198 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27199 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27200 hardcode_direct="$acl_cv_hardcode_direct"
27201 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27202 # Check whether --enable-rpath was given.
27203 if test "${enable_rpath+set}" = set; then :
27204 enableval=$enable_rpath; :
27205 else
27206 enable_rpath=yes
27207 fi
27208
27209
27210
27211
27212
27213
27214
27215
27216 use_additional=yes
27217
27218 acl_save_prefix="$prefix"
27219 prefix="$acl_final_prefix"
27220 acl_save_exec_prefix="$exec_prefix"
27221 exec_prefix="$acl_final_exec_prefix"
27222
27223 eval additional_includedir=\"$includedir\"
27224 eval additional_libdir=\"$libdir\"
27225
27226 exec_prefix="$acl_save_exec_prefix"
27227 prefix="$acl_save_prefix"
27228
27229
27230 # Check whether --with-libiconv-prefix was given.
27231 if test "${with_libiconv_prefix+set}" = set; then :
27232 withval=$with_libiconv_prefix;
27233 if test "X$withval" = "Xno"; then
27234 use_additional=no
27235 else
27236 if test "X$withval" = "X"; then
27237
27238 acl_save_prefix="$prefix"
27239 prefix="$acl_final_prefix"
27240 acl_save_exec_prefix="$exec_prefix"
27241 exec_prefix="$acl_final_exec_prefix"
27242
27243 eval additional_includedir=\"$includedir\"
27244 eval additional_libdir=\"$libdir\"
27245
27246 exec_prefix="$acl_save_exec_prefix"
27247 prefix="$acl_save_prefix"
27248
27249 else
27250 additional_includedir="$withval/include"
27251 additional_libdir="$withval/lib"
27252 fi
27253 fi
27254
27255 fi
27256
27257 LIBICONV=
27258 LTLIBICONV=
27259 INCICONV=
27260 rpathdirs=
27261 ltrpathdirs=
27262 names_already_handled=
27263 names_next_round='iconv '
27264 while test -n "$names_next_round"; do
27265 names_this_round="$names_next_round"
27266 names_next_round=
27267 for name in $names_this_round; do
27268 already_handled=
27269 for n in $names_already_handled; do
27270 if test "$n" = "$name"; then
27271 already_handled=yes
27272 break
27273 fi
27274 done
27275 if test -z "$already_handled"; then
27276 names_already_handled="$names_already_handled $name"
27277 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27278 eval value=\"\$HAVE_LIB$uppername\"
27279 if test -n "$value"; then
27280 if test "$value" = yes; then
27281 eval value=\"\$LIB$uppername\"
27282 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27283 eval value=\"\$LTLIB$uppername\"
27284 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27285 else
27286 :
27287 fi
27288 else
27289 found_dir=
27290 found_la=
27291 found_so=
27292 found_a=
27293 if test $use_additional = yes; then
27294 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27295 found_dir="$additional_libdir"
27296 found_so="$additional_libdir/lib$name.$shlibext"
27297 if test -f "$additional_libdir/lib$name.la"; then
27298 found_la="$additional_libdir/lib$name.la"
27299 fi
27300 else
27301 if test -f "$additional_libdir/lib$name.$libext"; then
27302 found_dir="$additional_libdir"
27303 found_a="$additional_libdir/lib$name.$libext"
27304 if test -f "$additional_libdir/lib$name.la"; then
27305 found_la="$additional_libdir/lib$name.la"
27306 fi
27307 fi
27308 fi
27309 fi
27310 if test "X$found_dir" = "X"; then
27311 for x in $LDFLAGS $LTLIBICONV; do
27312
27313 acl_save_prefix="$prefix"
27314 prefix="$acl_final_prefix"
27315 acl_save_exec_prefix="$exec_prefix"
27316 exec_prefix="$acl_final_exec_prefix"
27317 eval x=\"$x\"
27318 exec_prefix="$acl_save_exec_prefix"
27319 prefix="$acl_save_prefix"
27320
27321 case "$x" in
27322 -L*)
27323 dir=`echo "X$x" | sed -e 's/^X-L//'`
27324 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27325 found_dir="$dir"
27326 found_so="$dir/lib$name.$shlibext"
27327 if test -f "$dir/lib$name.la"; then
27328 found_la="$dir/lib$name.la"
27329 fi
27330 else
27331 if test -f "$dir/lib$name.$libext"; then
27332 found_dir="$dir"
27333 found_a="$dir/lib$name.$libext"
27334 if test -f "$dir/lib$name.la"; then
27335 found_la="$dir/lib$name.la"
27336 fi
27337 fi
27338 fi
27339 ;;
27340 esac
27341 if test "X$found_dir" != "X"; then
27342 break
27343 fi
27344 done
27345 fi
27346 if test "X$found_dir" != "X"; then
27347 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27348 if test "X$found_so" != "X"; then
27349 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27350 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27351 else
27352 haveit=
27353 for x in $ltrpathdirs; do
27354 if test "X$x" = "X$found_dir"; then
27355 haveit=yes
27356 break
27357 fi
27358 done
27359 if test -z "$haveit"; then
27360 ltrpathdirs="$ltrpathdirs $found_dir"
27361 fi
27362 if test "$hardcode_direct" = yes; then
27363 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27364 else
27365 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27366 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27367 haveit=
27368 for x in $rpathdirs; do
27369 if test "X$x" = "X$found_dir"; then
27370 haveit=yes
27371 break
27372 fi
27373 done
27374 if test -z "$haveit"; then
27375 rpathdirs="$rpathdirs $found_dir"
27376 fi
27377 else
27378 haveit=
27379 for x in $LDFLAGS $LIBICONV; do
27380
27381 acl_save_prefix="$prefix"
27382 prefix="$acl_final_prefix"
27383 acl_save_exec_prefix="$exec_prefix"
27384 exec_prefix="$acl_final_exec_prefix"
27385 eval x=\"$x\"
27386 exec_prefix="$acl_save_exec_prefix"
27387 prefix="$acl_save_prefix"
27388
27389 if test "X$x" = "X-L$found_dir"; then
27390 haveit=yes
27391 break
27392 fi
27393 done
27394 if test -z "$haveit"; then
27395 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27396 fi
27397 if test "$hardcode_minus_L" != no; then
27398 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27399 else
27400 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27401 fi
27402 fi
27403 fi
27404 fi
27405 else
27406 if test "X$found_a" != "X"; then
27407 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27408 else
27409 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27410 fi
27411 fi
27412 additional_includedir=
27413 case "$found_dir" in
27414 */lib | */lib/)
27415 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27416 additional_includedir="$basedir/include"
27417 ;;
27418 esac
27419 if test "X$additional_includedir" != "X"; then
27420 if test "X$additional_includedir" != "X/usr/include"; then
27421 haveit=
27422 if test "X$additional_includedir" = "X/usr/local/include"; then
27423 if test -n "$GCC"; then
27424 case $host_os in
27425 linux*) haveit=yes;;
27426 esac
27427 fi
27428 fi
27429 if test -z "$haveit"; then
27430 for x in $CPPFLAGS $INCICONV; do
27431
27432 acl_save_prefix="$prefix"
27433 prefix="$acl_final_prefix"
27434 acl_save_exec_prefix="$exec_prefix"
27435 exec_prefix="$acl_final_exec_prefix"
27436 eval x=\"$x\"
27437 exec_prefix="$acl_save_exec_prefix"
27438 prefix="$acl_save_prefix"
27439
27440 if test "X$x" = "X-I$additional_includedir"; then
27441 haveit=yes
27442 break
27443 fi
27444 done
27445 if test -z "$haveit"; then
27446 if test -d "$additional_includedir"; then
27447 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27448 fi
27449 fi
27450 fi
27451 fi
27452 fi
27453 if test -n "$found_la"; then
27454 save_libdir="$libdir"
27455 case "$found_la" in
27456 */* | *\\*) . "$found_la" ;;
27457 *) . "./$found_la" ;;
27458 esac
27459 libdir="$save_libdir"
27460 for dep in $dependency_libs; do
27461 case "$dep" in
27462 -L*)
27463 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27464 if test "X$additional_libdir" != "X/usr/lib"; then
27465 haveit=
27466 if test "X$additional_libdir" = "X/usr/local/lib"; then
27467 if test -n "$GCC"; then
27468 case $host_os in
27469 linux*) haveit=yes;;
27470 esac
27471 fi
27472 fi
27473 if test -z "$haveit"; then
27474 haveit=
27475 for x in $LDFLAGS $LIBICONV; do
27476
27477 acl_save_prefix="$prefix"
27478 prefix="$acl_final_prefix"
27479 acl_save_exec_prefix="$exec_prefix"
27480 exec_prefix="$acl_final_exec_prefix"
27481 eval x=\"$x\"
27482 exec_prefix="$acl_save_exec_prefix"
27483 prefix="$acl_save_prefix"
27484
27485 if test "X$x" = "X-L$additional_libdir"; then
27486 haveit=yes
27487 break
27488 fi
27489 done
27490 if test -z "$haveit"; then
27491 if test -d "$additional_libdir"; then
27492 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27493 fi
27494 fi
27495 haveit=
27496 for x in $LDFLAGS $LTLIBICONV; do
27497
27498 acl_save_prefix="$prefix"
27499 prefix="$acl_final_prefix"
27500 acl_save_exec_prefix="$exec_prefix"
27501 exec_prefix="$acl_final_exec_prefix"
27502 eval x=\"$x\"
27503 exec_prefix="$acl_save_exec_prefix"
27504 prefix="$acl_save_prefix"
27505
27506 if test "X$x" = "X-L$additional_libdir"; then
27507 haveit=yes
27508 break
27509 fi
27510 done
27511 if test -z "$haveit"; then
27512 if test -d "$additional_libdir"; then
27513 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27514 fi
27515 fi
27516 fi
27517 fi
27518 ;;
27519 -R*)
27520 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27521 if test "$enable_rpath" != no; then
27522 haveit=
27523 for x in $rpathdirs; do
27524 if test "X$x" = "X$dir"; then
27525 haveit=yes
27526 break
27527 fi
27528 done
27529 if test -z "$haveit"; then
27530 rpathdirs="$rpathdirs $dir"
27531 fi
27532 haveit=
27533 for x in $ltrpathdirs; do
27534 if test "X$x" = "X$dir"; then
27535 haveit=yes
27536 break
27537 fi
27538 done
27539 if test -z "$haveit"; then
27540 ltrpathdirs="$ltrpathdirs $dir"
27541 fi
27542 fi
27543 ;;
27544 -l*)
27545 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27546 ;;
27547 *.la)
27548 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27549 ;;
27550 *)
27551 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27552 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27553 ;;
27554 esac
27555 done
27556 fi
27557 else
27558 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27559 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27560 fi
27561 fi
27562 fi
27563 done
27564 done
27565 if test "X$rpathdirs" != "X"; then
27566 if test -n "$hardcode_libdir_separator"; then
27567 alldirs=
27568 for found_dir in $rpathdirs; do
27569 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27570 done
27571 acl_save_libdir="$libdir"
27572 libdir="$alldirs"
27573 eval flag=\"$hardcode_libdir_flag_spec\"
27574 libdir="$acl_save_libdir"
27575 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27576 else
27577 for found_dir in $rpathdirs; do
27578 acl_save_libdir="$libdir"
27579 libdir="$found_dir"
27580 eval flag=\"$hardcode_libdir_flag_spec\"
27581 libdir="$acl_save_libdir"
27582 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27583 done
27584 fi
27585 fi
27586 if test "X$ltrpathdirs" != "X"; then
27587 for found_dir in $ltrpathdirs; do
27588 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27589 done
27590 fi
27591
27592
27593
27594
27595
27596
27597
27598 am_save_CPPFLAGS="$CPPFLAGS"
27599
27600 for element in $INCICONV; do
27601 haveit=
27602 for x in $CPPFLAGS; do
27603
27604 acl_save_prefix="$prefix"
27605 prefix="$acl_final_prefix"
27606 acl_save_exec_prefix="$exec_prefix"
27607 exec_prefix="$acl_final_exec_prefix"
27608 eval x=\"$x\"
27609 exec_prefix="$acl_save_exec_prefix"
27610 prefix="$acl_save_prefix"
27611
27612 if test "X$x" = "X$element"; then
27613 haveit=yes
27614 break
27615 fi
27616 done
27617 if test -z "$haveit"; then
27618 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27619 fi
27620 done
27621
27622
27623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27624 $as_echo_n "checking for iconv... " >&6; }
27625 if test "${am_cv_func_iconv+set}" = set; then :
27626 $as_echo_n "(cached) " >&6
27627 else
27628
27629 am_cv_func_iconv="no, consider installing GNU libiconv"
27630 am_cv_lib_iconv=no
27631 if test x$gcc_no_link = xyes; then
27632 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27633 fi
27634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27635 /* end confdefs.h. */
27636 #include <stdlib.h>
27637 #include <iconv.h>
27638 int
27639 main ()
27640 {
27641 iconv_t cd = iconv_open("","");
27642 iconv(cd,NULL,NULL,NULL,NULL);
27643 iconv_close(cd);
27644 ;
27645 return 0;
27646 }
27647 _ACEOF
27648 if ac_fn_c_try_link "$LINENO"; then :
27649 am_cv_func_iconv=yes
27650 fi
27651 rm -f core conftest.err conftest.$ac_objext \
27652 conftest$ac_exeext conftest.$ac_ext
27653 if test "$am_cv_func_iconv" != yes; then
27654 am_save_LIBS="$LIBS"
27655 LIBS="$LIBS $LIBICONV"
27656 if test x$gcc_no_link = xyes; then
27657 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27658 fi
27659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27660 /* end confdefs.h. */
27661 #include <stdlib.h>
27662 #include <iconv.h>
27663 int
27664 main ()
27665 {
27666 iconv_t cd = iconv_open("","");
27667 iconv(cd,NULL,NULL,NULL,NULL);
27668 iconv_close(cd);
27669 ;
27670 return 0;
27671 }
27672 _ACEOF
27673 if ac_fn_c_try_link "$LINENO"; then :
27674 am_cv_lib_iconv=yes
27675 am_cv_func_iconv=yes
27676 fi
27677 rm -f core conftest.err conftest.$ac_objext \
27678 conftest$ac_exeext conftest.$ac_ext
27679 LIBS="$am_save_LIBS"
27680 fi
27681
27682 fi
27683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27684 $as_echo "$am_cv_func_iconv" >&6; }
27685 if test "$am_cv_func_iconv" = yes; then
27686
27687 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27688
27689 fi
27690 if test "$am_cv_lib_iconv" = yes; then
27691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27692 $as_echo_n "checking how to link with libiconv... " >&6; }
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27694 $as_echo "$LIBICONV" >&6; }
27695 else
27696 CPPFLAGS="$am_save_CPPFLAGS"
27697 LIBICONV=
27698 LTLIBICONV=
27699 fi
27700
27701
27702
27703 if test "$am_cv_func_iconv" = yes; then
27704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27705 $as_echo_n "checking for iconv declaration... " >&6; }
27706 if test "${am_cv_proto_iconv+set}" = set; then :
27707 $as_echo_n "(cached) " >&6
27708 else
27709
27710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27711 /* end confdefs.h. */
27712
27713 #include <stdlib.h>
27714 #include <iconv.h>
27715 extern
27716 #ifdef __cplusplus
27717 "C"
27718 #endif
27719 #if defined(__STDC__) || defined(__cplusplus)
27720 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27721 #else
27722 size_t iconv();
27723 #endif
27724
27725 int
27726 main ()
27727 {
27728
27729 ;
27730 return 0;
27731 }
27732 _ACEOF
27733 if ac_fn_c_try_compile "$LINENO"; then :
27734 am_cv_proto_iconv_arg1=""
27735 else
27736 am_cv_proto_iconv_arg1="const"
27737 fi
27738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27739 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);"
27740 fi
27741
27742 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27744 }$am_cv_proto_iconv" >&5
27745 $as_echo "${ac_t:-
27746 }$am_cv_proto_iconv" >&6; }
27747
27748 cat >>confdefs.h <<_ACEOF
27749 #define ICONV_CONST $am_cv_proto_iconv_arg1
27750 _ACEOF
27751
27752 fi
27753
27754
27755 else
27756
27757 # This lets us hard-code the functionality we know we'll have in the cross
27758 # target environment. "Let" is a sugar-coated word placed on an especially
27759 # dull and tedious hack, actually.
27760 #
27761 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27762 # that involve linking, can't be used:
27763 # "cannot open sim-crt0.o"
27764 # "cannot open crt0.o"
27765 # etc. All this is because there currently exists no unified, consistent
27766 # way for top level CC information to be passed down to target directories:
27767 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27768 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27769 # crosses can be removed.
27770
27771 # If Canadian cross, then don't pick up tools from the build directory.
27772 # Used only in GLIBCXX_EXPORT_INCLUDES.
27773 if test -n "$with_cross_host" &&
27774 test x"$build_alias" != x"$with_cross_host" &&
27775 test x"$build" != x"$target";
27776 then
27777 CANADIAN=yes
27778 else
27779 CANADIAN=no
27780 fi
27781
27782 # Construct crosses by hand, eliminating bits that need ld...
27783 # GLIBCXX_CHECK_MATH_SUPPORT
27784
27785 # First, test for "known" system libraries. We may be using newlib even
27786 # on a hosted environment.
27787 if test "x${with_newlib}" = "xyes"; then
27788 os_include_dir="os/newlib"
27789 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27790
27791
27792 # GLIBCXX_CHECK_STDLIB_SUPPORT
27793 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27794
27795
27796 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27797
27798 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27799
27800 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27801
27802 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27803
27804 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27805
27806 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27807
27808 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27809
27810 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27811
27812 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27813
27814 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27815
27816 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27817
27818 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27819
27820 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27821
27822 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27823
27824 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27825
27826 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27827
27828 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27829
27830 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27831
27832 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27833
27834 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27835
27836 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27837
27838 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27839
27840
27841 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27842
27843 else
27844
27845 # Base decisions on target environment.
27846 case "${host}" in
27847 arm*-*-symbianelf*)
27848 # This is a freestanding configuration; there is nothing to do here.
27849 ;;
27850
27851 mips*-sde-elf*)
27852 # These definitions are for the SDE C library rather than newlib.
27853 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27854
27855
27856 # All these tests are for C++; save the language and the compiler flags.
27857 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27858 # found in GLIBCXX_CONFIGURE.
27859
27860 ac_ext=cpp
27861 ac_cpp='$CXXCPP $CPPFLAGS'
27862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27865
27866 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27867 ac_save_CXXFLAGS="$CXXFLAGS"
27868
27869 # Check for maintainer-mode bits.
27870 if test x"$USE_MAINTAINER_MODE" = xno; then
27871 WERROR=''
27872 else
27873 WERROR='-Werror'
27874 fi
27875
27876 # Check for -ffunction-sections -fdata-sections
27877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27878 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27879 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27881 /* end confdefs.h. */
27882 int foo; void bar() { };
27883 int
27884 main ()
27885 {
27886
27887 ;
27888 return 0;
27889 }
27890 _ACEOF
27891 if ac_fn_cxx_try_compile "$LINENO"; then :
27892 ac_fdsections=yes
27893 else
27894 ac_fdsections=no
27895 fi
27896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27897 if test "$ac_test_CXXFLAGS" = set; then
27898 CXXFLAGS="$ac_save_CXXFLAGS"
27899 else
27900 # this is the suspicious part
27901 CXXFLAGS=''
27902 fi
27903 if test x"$ac_fdsections" = x"yes"; then
27904 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27905 fi
27906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27907 $as_echo "$ac_fdsections" >&6; }
27908
27909 ac_ext=c
27910 ac_cpp='$CPP $CPPFLAGS'
27911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27914
27915
27916
27917
27918
27919 # If we're not using GNU ld, then there's no point in even trying these
27920 # tests. Check for that first. We should have already tested for gld
27921 # by now (in libtool), but require it now just to be safe...
27922 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27923 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27924
27925
27926
27927 # The name set by libtool depends on the version of libtool. Shame on us
27928 # for depending on an impl detail, but c'est la vie. Older versions used
27929 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27930 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27931 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27932 # set (hence we're using an older libtool), then set it.
27933 if test x${with_gnu_ld+set} != xset; then
27934 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27935 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27936 with_gnu_ld=no
27937 else
27938 with_gnu_ld=$ac_cv_prog_gnu_ld
27939 fi
27940 fi
27941
27942 # Start by getting the version number. I think the libtool test already
27943 # does some of this, but throws away the result.
27944 glibcxx_ld_is_gold=no
27945 if test x"$with_gnu_ld" = x"yes"; then
27946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27947 $as_echo_n "checking for ld version... " >&6; }
27948
27949 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27950 glibcxx_ld_is_gold=yes
27951 fi
27952 ldver=`$LD --version 2>/dev/null |
27953 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'`
27954
27955 glibcxx_gnu_ld_version=`echo $ldver | \
27956 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27958 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27959 fi
27960
27961 # Set --gc-sections.
27962 glibcxx_have_gc_sections=no
27963 if test "$glibcxx_ld_is_gold" = "yes"; then
27964 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27965 glibcxx_have_gc_sections=yes
27966 fi
27967 else
27968 glibcxx_gcsections_min_ld=21602
27969 if test x"$with_gnu_ld" = x"yes" &&
27970 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27971 glibcxx_have_gc_sections=yes
27972 fi
27973 fi
27974 if test "$glibcxx_have_gc_sections" = "yes"; then
27975 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27976 # NB: This flag only works reliably after 2.16.1. Configure tests
27977 # for this are difficult, so hard wire a value that should work.
27978
27979 ac_test_CFLAGS="${CFLAGS+set}"
27980 ac_save_CFLAGS="$CFLAGS"
27981 CFLAGS='-Wl,--gc-sections'
27982
27983 # Check for -Wl,--gc-sections
27984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27985 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27986 if test x$gcc_no_link = xyes; then
27987 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27988 fi
27989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27990 /* end confdefs.h. */
27991 int one(void) { return 1; }
27992 int two(void) { return 2; }
27993
27994 int
27995 main ()
27996 {
27997 two();
27998 ;
27999 return 0;
28000 }
28001 _ACEOF
28002 if ac_fn_c_try_link "$LINENO"; then :
28003 ac_gcsections=yes
28004 else
28005 ac_gcsections=no
28006 fi
28007 rm -f core conftest.err conftest.$ac_objext \
28008 conftest$ac_exeext conftest.$ac_ext
28009 if test "$ac_gcsections" = "yes"; then
28010 rm -f conftest.c
28011 touch conftest.c
28012 if $CC -c conftest.c; then
28013 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28014 grep "Warning: gc-sections option ignored" > /dev/null; then
28015 ac_gcsections=no
28016 fi
28017 fi
28018 rm -f conftest.c conftest.o conftest
28019 fi
28020 if test "$ac_gcsections" = "yes"; then
28021 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28022 fi
28023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28024 $as_echo "$ac_gcsections" >&6; }
28025
28026 if test "$ac_test_CFLAGS" = set; then
28027 CFLAGS="$ac_save_CFLAGS"
28028 else
28029 # this is the suspicious part
28030 CFLAGS=''
28031 fi
28032 fi
28033
28034 # Set -z,relro.
28035 # Note this is only for shared objects.
28036 ac_ld_relro=no
28037 if test x"$with_gnu_ld" = x"yes"; then
28038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28039 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28040 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28041 if test -n "$cxx_z_relo"; then
28042 OPT_LDFLAGS="-Wl,-z,relro"
28043 ac_ld_relro=yes
28044 fi
28045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28046 $as_echo "$ac_ld_relro" >&6; }
28047 fi
28048
28049 # Set linker optimization flags.
28050 if test x"$with_gnu_ld" = x"yes"; then
28051 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28052 fi
28053
28054
28055
28056
28057
28058 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28059 ac_save_CXXFLAGS="$CXXFLAGS"
28060 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28061
28062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28063 $as_echo_n "checking for sin in -lm... " >&6; }
28064 if test "${ac_cv_lib_m_sin+set}" = set; then :
28065 $as_echo_n "(cached) " >&6
28066 else
28067 ac_check_lib_save_LIBS=$LIBS
28068 LIBS="-lm $LIBS"
28069 if test x$gcc_no_link = xyes; then
28070 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28071 fi
28072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28073 /* end confdefs.h. */
28074
28075 /* Override any GCC internal prototype to avoid an error.
28076 Use char because int might match the return type of a GCC
28077 builtin and then its argument prototype would still apply. */
28078 #ifdef __cplusplus
28079 extern "C"
28080 #endif
28081 char sin ();
28082 int
28083 main ()
28084 {
28085 return sin ();
28086 ;
28087 return 0;
28088 }
28089 _ACEOF
28090 if ac_fn_c_try_link "$LINENO"; then :
28091 ac_cv_lib_m_sin=yes
28092 else
28093 ac_cv_lib_m_sin=no
28094 fi
28095 rm -f core conftest.err conftest.$ac_objext \
28096 conftest$ac_exeext conftest.$ac_ext
28097 LIBS=$ac_check_lib_save_LIBS
28098 fi
28099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28100 $as_echo "$ac_cv_lib_m_sin" >&6; }
28101 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28102 libm="-lm"
28103 fi
28104
28105 ac_save_LIBS="$LIBS"
28106 LIBS="$LIBS $libm"
28107
28108
28109
28110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28111 $as_echo_n "checking for isinf declaration... " >&6; }
28112 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28113 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28114 $as_echo_n "(cached) " >&6
28115 else
28116
28117
28118 ac_ext=cpp
28119 ac_cpp='$CXXCPP $CPPFLAGS'
28120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28123
28124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28125 /* end confdefs.h. */
28126 #include <math.h>
28127 #ifdef HAVE_IEEEFP_H
28128 #include <ieeefp.h>
28129 #endif
28130
28131 int
28132 main ()
28133 {
28134 isinf(0);
28135 ;
28136 return 0;
28137 }
28138 _ACEOF
28139 if ac_fn_cxx_try_compile "$LINENO"; then :
28140 glibcxx_cv_func_isinf_use=yes
28141 else
28142 glibcxx_cv_func_isinf_use=no
28143 fi
28144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28145 ac_ext=c
28146 ac_cpp='$CPP $CPPFLAGS'
28147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28150
28151
28152 fi
28153
28154 fi
28155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28156 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28157
28158 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28159 for ac_func in isinf
28160 do :
28161 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28162 if test "x$ac_cv_func_isinf" = x""yes; then :
28163 cat >>confdefs.h <<_ACEOF
28164 #define HAVE_ISINF 1
28165 _ACEOF
28166
28167 fi
28168 done
28169
28170 else
28171
28172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28173 $as_echo_n "checking for _isinf declaration... " >&6; }
28174 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28175 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28176 $as_echo_n "(cached) " >&6
28177 else
28178
28179
28180 ac_ext=cpp
28181 ac_cpp='$CXXCPP $CPPFLAGS'
28182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28185
28186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28187 /* end confdefs.h. */
28188 #include <math.h>
28189 #ifdef HAVE_IEEEFP_H
28190 #include <ieeefp.h>
28191 #endif
28192
28193 int
28194 main ()
28195 {
28196 _isinf(0);
28197 ;
28198 return 0;
28199 }
28200 _ACEOF
28201 if ac_fn_cxx_try_compile "$LINENO"; then :
28202 glibcxx_cv_func__isinf_use=yes
28203 else
28204 glibcxx_cv_func__isinf_use=no
28205 fi
28206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28207 ac_ext=c
28208 ac_cpp='$CPP $CPPFLAGS'
28209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28212
28213
28214 fi
28215
28216 fi
28217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28218 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28219
28220 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28221 for ac_func in _isinf
28222 do :
28223 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28224 if test "x$ac_cv_func__isinf" = x""yes; then :
28225 cat >>confdefs.h <<_ACEOF
28226 #define HAVE__ISINF 1
28227 _ACEOF
28228
28229 fi
28230 done
28231
28232 fi
28233 fi
28234
28235
28236
28237
28238
28239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28240 $as_echo_n "checking for isnan declaration... " >&6; }
28241 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28242 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28243 $as_echo_n "(cached) " >&6
28244 else
28245
28246
28247 ac_ext=cpp
28248 ac_cpp='$CXXCPP $CPPFLAGS'
28249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28252
28253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28254 /* end confdefs.h. */
28255 #include <math.h>
28256 #ifdef HAVE_IEEEFP_H
28257 #include <ieeefp.h>
28258 #endif
28259
28260 int
28261 main ()
28262 {
28263 isnan(0);
28264 ;
28265 return 0;
28266 }
28267 _ACEOF
28268 if ac_fn_cxx_try_compile "$LINENO"; then :
28269 glibcxx_cv_func_isnan_use=yes
28270 else
28271 glibcxx_cv_func_isnan_use=no
28272 fi
28273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28274 ac_ext=c
28275 ac_cpp='$CPP $CPPFLAGS'
28276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28279
28280
28281 fi
28282
28283 fi
28284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28285 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28286
28287 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28288 for ac_func in isnan
28289 do :
28290 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28291 if test "x$ac_cv_func_isnan" = x""yes; then :
28292 cat >>confdefs.h <<_ACEOF
28293 #define HAVE_ISNAN 1
28294 _ACEOF
28295
28296 fi
28297 done
28298
28299 else
28300
28301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28302 $as_echo_n "checking for _isnan declaration... " >&6; }
28303 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28304 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28305 $as_echo_n "(cached) " >&6
28306 else
28307
28308
28309 ac_ext=cpp
28310 ac_cpp='$CXXCPP $CPPFLAGS'
28311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28314
28315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28316 /* end confdefs.h. */
28317 #include <math.h>
28318 #ifdef HAVE_IEEEFP_H
28319 #include <ieeefp.h>
28320 #endif
28321
28322 int
28323 main ()
28324 {
28325 _isnan(0);
28326 ;
28327 return 0;
28328 }
28329 _ACEOF
28330 if ac_fn_cxx_try_compile "$LINENO"; then :
28331 glibcxx_cv_func__isnan_use=yes
28332 else
28333 glibcxx_cv_func__isnan_use=no
28334 fi
28335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28336 ac_ext=c
28337 ac_cpp='$CPP $CPPFLAGS'
28338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28341
28342
28343 fi
28344
28345 fi
28346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28347 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28348
28349 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28350 for ac_func in _isnan
28351 do :
28352 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28353 if test "x$ac_cv_func__isnan" = x""yes; then :
28354 cat >>confdefs.h <<_ACEOF
28355 #define HAVE__ISNAN 1
28356 _ACEOF
28357
28358 fi
28359 done
28360
28361 fi
28362 fi
28363
28364
28365
28366
28367
28368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28369 $as_echo_n "checking for finite declaration... " >&6; }
28370 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28371 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28372 $as_echo_n "(cached) " >&6
28373 else
28374
28375
28376 ac_ext=cpp
28377 ac_cpp='$CXXCPP $CPPFLAGS'
28378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28381
28382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28383 /* end confdefs.h. */
28384 #include <math.h>
28385 #ifdef HAVE_IEEEFP_H
28386 #include <ieeefp.h>
28387 #endif
28388
28389 int
28390 main ()
28391 {
28392 finite(0);
28393 ;
28394 return 0;
28395 }
28396 _ACEOF
28397 if ac_fn_cxx_try_compile "$LINENO"; then :
28398 glibcxx_cv_func_finite_use=yes
28399 else
28400 glibcxx_cv_func_finite_use=no
28401 fi
28402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28403 ac_ext=c
28404 ac_cpp='$CPP $CPPFLAGS'
28405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28408
28409
28410 fi
28411
28412 fi
28413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28414 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28415
28416 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28417 for ac_func in finite
28418 do :
28419 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28420 if test "x$ac_cv_func_finite" = x""yes; then :
28421 cat >>confdefs.h <<_ACEOF
28422 #define HAVE_FINITE 1
28423 _ACEOF
28424
28425 fi
28426 done
28427
28428 else
28429
28430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28431 $as_echo_n "checking for _finite declaration... " >&6; }
28432 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28433 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28434 $as_echo_n "(cached) " >&6
28435 else
28436
28437
28438 ac_ext=cpp
28439 ac_cpp='$CXXCPP $CPPFLAGS'
28440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28443
28444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28445 /* end confdefs.h. */
28446 #include <math.h>
28447 #ifdef HAVE_IEEEFP_H
28448 #include <ieeefp.h>
28449 #endif
28450
28451 int
28452 main ()
28453 {
28454 _finite(0);
28455 ;
28456 return 0;
28457 }
28458 _ACEOF
28459 if ac_fn_cxx_try_compile "$LINENO"; then :
28460 glibcxx_cv_func__finite_use=yes
28461 else
28462 glibcxx_cv_func__finite_use=no
28463 fi
28464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28465 ac_ext=c
28466 ac_cpp='$CPP $CPPFLAGS'
28467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28470
28471
28472 fi
28473
28474 fi
28475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28476 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28477
28478 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28479 for ac_func in _finite
28480 do :
28481 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28482 if test "x$ac_cv_func__finite" = x""yes; then :
28483 cat >>confdefs.h <<_ACEOF
28484 #define HAVE__FINITE 1
28485 _ACEOF
28486
28487 fi
28488 done
28489
28490 fi
28491 fi
28492
28493
28494
28495
28496
28497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28498 $as_echo_n "checking for sincos declaration... " >&6; }
28499 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28500 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28501 $as_echo_n "(cached) " >&6
28502 else
28503
28504
28505 ac_ext=cpp
28506 ac_cpp='$CXXCPP $CPPFLAGS'
28507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28510
28511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28512 /* end confdefs.h. */
28513 #include <math.h>
28514 int
28515 main ()
28516 {
28517 sincos(0, 0, 0);
28518 ;
28519 return 0;
28520 }
28521 _ACEOF
28522 if ac_fn_cxx_try_compile "$LINENO"; then :
28523 glibcxx_cv_func_sincos_use=yes
28524 else
28525 glibcxx_cv_func_sincos_use=no
28526 fi
28527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28528 ac_ext=c
28529 ac_cpp='$CPP $CPPFLAGS'
28530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28533
28534
28535 fi
28536
28537 fi
28538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28539 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28540
28541 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28542 for ac_func in sincos
28543 do :
28544 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28545 if test "x$ac_cv_func_sincos" = x""yes; then :
28546 cat >>confdefs.h <<_ACEOF
28547 #define HAVE_SINCOS 1
28548 _ACEOF
28549
28550 fi
28551 done
28552
28553 else
28554
28555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28556 $as_echo_n "checking for _sincos declaration... " >&6; }
28557 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28558 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28559 $as_echo_n "(cached) " >&6
28560 else
28561
28562
28563 ac_ext=cpp
28564 ac_cpp='$CXXCPP $CPPFLAGS'
28565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28568
28569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28570 /* end confdefs.h. */
28571 #include <math.h>
28572 int
28573 main ()
28574 {
28575 _sincos(0, 0, 0);
28576 ;
28577 return 0;
28578 }
28579 _ACEOF
28580 if ac_fn_cxx_try_compile "$LINENO"; then :
28581 glibcxx_cv_func__sincos_use=yes
28582 else
28583 glibcxx_cv_func__sincos_use=no
28584 fi
28585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28586 ac_ext=c
28587 ac_cpp='$CPP $CPPFLAGS'
28588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28591
28592
28593 fi
28594
28595 fi
28596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28597 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28598
28599 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28600 for ac_func in _sincos
28601 do :
28602 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28603 if test "x$ac_cv_func__sincos" = x""yes; then :
28604 cat >>confdefs.h <<_ACEOF
28605 #define HAVE__SINCOS 1
28606 _ACEOF
28607
28608 fi
28609 done
28610
28611 fi
28612 fi
28613
28614
28615
28616
28617
28618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28619 $as_echo_n "checking for fpclass declaration... " >&6; }
28620 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28621 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28622 $as_echo_n "(cached) " >&6
28623 else
28624
28625
28626 ac_ext=cpp
28627 ac_cpp='$CXXCPP $CPPFLAGS'
28628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28631
28632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28633 /* end confdefs.h. */
28634 #include <math.h>
28635 #ifdef HAVE_IEEEFP_H
28636 #include <ieeefp.h>
28637 #endif
28638
28639 int
28640 main ()
28641 {
28642 fpclass(0);
28643 ;
28644 return 0;
28645 }
28646 _ACEOF
28647 if ac_fn_cxx_try_compile "$LINENO"; then :
28648 glibcxx_cv_func_fpclass_use=yes
28649 else
28650 glibcxx_cv_func_fpclass_use=no
28651 fi
28652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28653 ac_ext=c
28654 ac_cpp='$CPP $CPPFLAGS'
28655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28658
28659
28660 fi
28661
28662 fi
28663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28664 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28665
28666 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28667 for ac_func in fpclass
28668 do :
28669 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28670 if test "x$ac_cv_func_fpclass" = x""yes; then :
28671 cat >>confdefs.h <<_ACEOF
28672 #define HAVE_FPCLASS 1
28673 _ACEOF
28674
28675 fi
28676 done
28677
28678 else
28679
28680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28681 $as_echo_n "checking for _fpclass declaration... " >&6; }
28682 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28683 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28684 $as_echo_n "(cached) " >&6
28685 else
28686
28687
28688 ac_ext=cpp
28689 ac_cpp='$CXXCPP $CPPFLAGS'
28690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28693
28694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28695 /* end confdefs.h. */
28696 #include <math.h>
28697 #ifdef HAVE_IEEEFP_H
28698 #include <ieeefp.h>
28699 #endif
28700
28701 int
28702 main ()
28703 {
28704 _fpclass(0);
28705 ;
28706 return 0;
28707 }
28708 _ACEOF
28709 if ac_fn_cxx_try_compile "$LINENO"; then :
28710 glibcxx_cv_func__fpclass_use=yes
28711 else
28712 glibcxx_cv_func__fpclass_use=no
28713 fi
28714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28715 ac_ext=c
28716 ac_cpp='$CPP $CPPFLAGS'
28717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28720
28721
28722 fi
28723
28724 fi
28725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28726 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28727
28728 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28729 for ac_func in _fpclass
28730 do :
28731 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28732 if test "x$ac_cv_func__fpclass" = x""yes; then :
28733 cat >>confdefs.h <<_ACEOF
28734 #define HAVE__FPCLASS 1
28735 _ACEOF
28736
28737 fi
28738 done
28739
28740 fi
28741 fi
28742
28743
28744
28745
28746
28747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28748 $as_echo_n "checking for qfpclass declaration... " >&6; }
28749 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28750 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28751 $as_echo_n "(cached) " >&6
28752 else
28753
28754
28755 ac_ext=cpp
28756 ac_cpp='$CXXCPP $CPPFLAGS'
28757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28760
28761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28762 /* end confdefs.h. */
28763 #include <math.h>
28764 #ifdef HAVE_IEEEFP_H
28765 #include <ieeefp.h>
28766 #endif
28767
28768 int
28769 main ()
28770 {
28771 qfpclass(0);
28772 ;
28773 return 0;
28774 }
28775 _ACEOF
28776 if ac_fn_cxx_try_compile "$LINENO"; then :
28777 glibcxx_cv_func_qfpclass_use=yes
28778 else
28779 glibcxx_cv_func_qfpclass_use=no
28780 fi
28781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28782 ac_ext=c
28783 ac_cpp='$CPP $CPPFLAGS'
28784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28787
28788
28789 fi
28790
28791 fi
28792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28793 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28794
28795 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28796 for ac_func in qfpclass
28797 do :
28798 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28799 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28800 cat >>confdefs.h <<_ACEOF
28801 #define HAVE_QFPCLASS 1
28802 _ACEOF
28803
28804 fi
28805 done
28806
28807 else
28808
28809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28810 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28811 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28812 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28813 $as_echo_n "(cached) " >&6
28814 else
28815
28816
28817 ac_ext=cpp
28818 ac_cpp='$CXXCPP $CPPFLAGS'
28819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28822
28823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28824 /* end confdefs.h. */
28825 #include <math.h>
28826 #ifdef HAVE_IEEEFP_H
28827 #include <ieeefp.h>
28828 #endif
28829
28830 int
28831 main ()
28832 {
28833 _qfpclass(0);
28834 ;
28835 return 0;
28836 }
28837 _ACEOF
28838 if ac_fn_cxx_try_compile "$LINENO"; then :
28839 glibcxx_cv_func__qfpclass_use=yes
28840 else
28841 glibcxx_cv_func__qfpclass_use=no
28842 fi
28843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28844 ac_ext=c
28845 ac_cpp='$CPP $CPPFLAGS'
28846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28849
28850
28851 fi
28852
28853 fi
28854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28855 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28856
28857 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28858 for ac_func in _qfpclass
28859 do :
28860 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28861 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28862 cat >>confdefs.h <<_ACEOF
28863 #define HAVE__QFPCLASS 1
28864 _ACEOF
28865
28866 fi
28867 done
28868
28869 fi
28870 fi
28871
28872
28873
28874
28875
28876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28877 $as_echo_n "checking for hypot declaration... " >&6; }
28878 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28879 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28880 $as_echo_n "(cached) " >&6
28881 else
28882
28883
28884 ac_ext=cpp
28885 ac_cpp='$CXXCPP $CPPFLAGS'
28886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28889
28890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28891 /* end confdefs.h. */
28892 #include <math.h>
28893 int
28894 main ()
28895 {
28896 hypot(0, 0);
28897 ;
28898 return 0;
28899 }
28900 _ACEOF
28901 if ac_fn_cxx_try_compile "$LINENO"; then :
28902 glibcxx_cv_func_hypot_use=yes
28903 else
28904 glibcxx_cv_func_hypot_use=no
28905 fi
28906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28907 ac_ext=c
28908 ac_cpp='$CPP $CPPFLAGS'
28909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28912
28913
28914 fi
28915
28916 fi
28917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28918 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28919
28920 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28921 for ac_func in hypot
28922 do :
28923 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28924 if test "x$ac_cv_func_hypot" = x""yes; then :
28925 cat >>confdefs.h <<_ACEOF
28926 #define HAVE_HYPOT 1
28927 _ACEOF
28928
28929 fi
28930 done
28931
28932 else
28933
28934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28935 $as_echo_n "checking for _hypot declaration... " >&6; }
28936 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28937 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28938 $as_echo_n "(cached) " >&6
28939 else
28940
28941
28942 ac_ext=cpp
28943 ac_cpp='$CXXCPP $CPPFLAGS'
28944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28947
28948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28949 /* end confdefs.h. */
28950 #include <math.h>
28951 int
28952 main ()
28953 {
28954 _hypot(0, 0);
28955 ;
28956 return 0;
28957 }
28958 _ACEOF
28959 if ac_fn_cxx_try_compile "$LINENO"; then :
28960 glibcxx_cv_func__hypot_use=yes
28961 else
28962 glibcxx_cv_func__hypot_use=no
28963 fi
28964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28965 ac_ext=c
28966 ac_cpp='$CPP $CPPFLAGS'
28967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28970
28971
28972 fi
28973
28974 fi
28975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28976 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28977
28978 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28979 for ac_func in _hypot
28980 do :
28981 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28982 if test "x$ac_cv_func__hypot" = x""yes; then :
28983 cat >>confdefs.h <<_ACEOF
28984 #define HAVE__HYPOT 1
28985 _ACEOF
28986
28987 fi
28988 done
28989
28990 fi
28991 fi
28992
28993
28994
28995
28996
28997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
28998 $as_echo_n "checking for float trig functions... " >&6; }
28999 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29000 $as_echo_n "(cached) " >&6
29001 else
29002
29003
29004 ac_ext=cpp
29005 ac_cpp='$CXXCPP $CPPFLAGS'
29006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29009
29010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29011 /* end confdefs.h. */
29012 #include <math.h>
29013 int
29014 main ()
29015 {
29016 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29017 ;
29018 return 0;
29019 }
29020 _ACEOF
29021 if ac_fn_cxx_try_compile "$LINENO"; then :
29022 glibcxx_cv_func_float_trig_use=yes
29023 else
29024 glibcxx_cv_func_float_trig_use=no
29025 fi
29026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29027 ac_ext=c
29028 ac_cpp='$CPP $CPPFLAGS'
29029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29032
29033 fi
29034
29035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29036 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29037 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29038 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29039 do :
29040 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29041 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29042 eval as_val=\$$as_ac_var
29043 if test "x$as_val" = x""yes; then :
29044 cat >>confdefs.h <<_ACEOF
29045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29046 _ACEOF
29047
29048 fi
29049 done
29050
29051 else
29052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29053 $as_echo_n "checking for _float trig functions... " >&6; }
29054 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29055 $as_echo_n "(cached) " >&6
29056 else
29057
29058
29059 ac_ext=cpp
29060 ac_cpp='$CXXCPP $CPPFLAGS'
29061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29064
29065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29066 /* end confdefs.h. */
29067 #include <math.h>
29068 int
29069 main ()
29070 {
29071 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29072 ;
29073 return 0;
29074 }
29075 _ACEOF
29076 if ac_fn_cxx_try_compile "$LINENO"; then :
29077 glibcxx_cv_func__float_trig_use=yes
29078 else
29079 glibcxx_cv_func__float_trig_use=no
29080 fi
29081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29082 ac_ext=c
29083 ac_cpp='$CPP $CPPFLAGS'
29084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29087
29088 fi
29089
29090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29091 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29092 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29093 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29094 do :
29095 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29096 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29097 eval as_val=\$$as_ac_var
29098 if test "x$as_val" = x""yes; then :
29099 cat >>confdefs.h <<_ACEOF
29100 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29101 _ACEOF
29102
29103 fi
29104 done
29105
29106 fi
29107 fi
29108
29109
29110
29111
29112
29113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29114 $as_echo_n "checking for float round functions... " >&6; }
29115 if test "${glibcxx_cv_func_float_round_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 ceilf (0); floorf (0);
29133 ;
29134 return 0;
29135 }
29136 _ACEOF
29137 if ac_fn_cxx_try_compile "$LINENO"; then :
29138 glibcxx_cv_func_float_round_use=yes
29139 else
29140 glibcxx_cv_func_float_round_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 fi
29150
29151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29152 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29153 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29154 for ac_func in ceilf floorf
29155 do :
29156 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29157 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29158 eval as_val=\$$as_ac_var
29159 if test "x$as_val" = x""yes; then :
29160 cat >>confdefs.h <<_ACEOF
29161 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29162 _ACEOF
29163
29164 fi
29165 done
29166
29167 else
29168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29169 $as_echo_n "checking for _float round functions... " >&6; }
29170 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29171 $as_echo_n "(cached) " >&6
29172 else
29173
29174
29175 ac_ext=cpp
29176 ac_cpp='$CXXCPP $CPPFLAGS'
29177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29180
29181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29182 /* end confdefs.h. */
29183 #include <math.h>
29184 int
29185 main ()
29186 {
29187 _ceilf (0); _floorf (0);
29188 ;
29189 return 0;
29190 }
29191 _ACEOF
29192 if ac_fn_cxx_try_compile "$LINENO"; then :
29193 glibcxx_cv_func__float_round_use=yes
29194 else
29195 glibcxx_cv_func__float_round_use=no
29196 fi
29197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29198 ac_ext=c
29199 ac_cpp='$CPP $CPPFLAGS'
29200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29203
29204 fi
29205
29206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29207 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29208 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29209 for ac_func in _ceilf _floorf
29210 do :
29211 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29212 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29213 eval as_val=\$$as_ac_var
29214 if test "x$as_val" = x""yes; then :
29215 cat >>confdefs.h <<_ACEOF
29216 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29217 _ACEOF
29218
29219 fi
29220 done
29221
29222 fi
29223 fi
29224
29225
29226
29227
29228
29229
29230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29231 $as_echo_n "checking for expf declaration... " >&6; }
29232 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29233 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29234 $as_echo_n "(cached) " >&6
29235 else
29236
29237
29238 ac_ext=cpp
29239 ac_cpp='$CXXCPP $CPPFLAGS'
29240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29243
29244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29245 /* end confdefs.h. */
29246 #include <math.h>
29247 #ifdef HAVE_IEEEFP_H
29248 #include <ieeefp.h>
29249 #endif
29250
29251 int
29252 main ()
29253 {
29254 expf(0);
29255 ;
29256 return 0;
29257 }
29258 _ACEOF
29259 if ac_fn_cxx_try_compile "$LINENO"; then :
29260 glibcxx_cv_func_expf_use=yes
29261 else
29262 glibcxx_cv_func_expf_use=no
29263 fi
29264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29265 ac_ext=c
29266 ac_cpp='$CPP $CPPFLAGS'
29267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29270
29271
29272 fi
29273
29274 fi
29275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29276 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29277
29278 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29279 for ac_func in expf
29280 do :
29281 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29282 if test "x$ac_cv_func_expf" = x""yes; then :
29283 cat >>confdefs.h <<_ACEOF
29284 #define HAVE_EXPF 1
29285 _ACEOF
29286
29287 fi
29288 done
29289
29290 else
29291
29292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29293 $as_echo_n "checking for _expf declaration... " >&6; }
29294 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29295 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29296 $as_echo_n "(cached) " >&6
29297 else
29298
29299
29300 ac_ext=cpp
29301 ac_cpp='$CXXCPP $CPPFLAGS'
29302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29305
29306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29307 /* end confdefs.h. */
29308 #include <math.h>
29309 #ifdef HAVE_IEEEFP_H
29310 #include <ieeefp.h>
29311 #endif
29312
29313 int
29314 main ()
29315 {
29316 _expf(0);
29317 ;
29318 return 0;
29319 }
29320 _ACEOF
29321 if ac_fn_cxx_try_compile "$LINENO"; then :
29322 glibcxx_cv_func__expf_use=yes
29323 else
29324 glibcxx_cv_func__expf_use=no
29325 fi
29326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29327 ac_ext=c
29328 ac_cpp='$CPP $CPPFLAGS'
29329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29332
29333
29334 fi
29335
29336 fi
29337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29338 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29339
29340 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29341 for ac_func in _expf
29342 do :
29343 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29344 if test "x$ac_cv_func__expf" = x""yes; then :
29345 cat >>confdefs.h <<_ACEOF
29346 #define HAVE__EXPF 1
29347 _ACEOF
29348
29349 fi
29350 done
29351
29352 fi
29353 fi
29354
29355
29356
29357
29358
29359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29360 $as_echo_n "checking for isnanf declaration... " >&6; }
29361 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29362 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29363 $as_echo_n "(cached) " >&6
29364 else
29365
29366
29367 ac_ext=cpp
29368 ac_cpp='$CXXCPP $CPPFLAGS'
29369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29372
29373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29374 /* end confdefs.h. */
29375 #include <math.h>
29376 #ifdef HAVE_IEEEFP_H
29377 #include <ieeefp.h>
29378 #endif
29379
29380 int
29381 main ()
29382 {
29383 isnanf(0);
29384 ;
29385 return 0;
29386 }
29387 _ACEOF
29388 if ac_fn_cxx_try_compile "$LINENO"; then :
29389 glibcxx_cv_func_isnanf_use=yes
29390 else
29391 glibcxx_cv_func_isnanf_use=no
29392 fi
29393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29394 ac_ext=c
29395 ac_cpp='$CPP $CPPFLAGS'
29396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29399
29400
29401 fi
29402
29403 fi
29404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29405 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29406
29407 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29408 for ac_func in isnanf
29409 do :
29410 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29411 if test "x$ac_cv_func_isnanf" = x""yes; then :
29412 cat >>confdefs.h <<_ACEOF
29413 #define HAVE_ISNANF 1
29414 _ACEOF
29415
29416 fi
29417 done
29418
29419 else
29420
29421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29422 $as_echo_n "checking for _isnanf declaration... " >&6; }
29423 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29424 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29425 $as_echo_n "(cached) " >&6
29426 else
29427
29428
29429 ac_ext=cpp
29430 ac_cpp='$CXXCPP $CPPFLAGS'
29431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29434
29435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29436 /* end confdefs.h. */
29437 #include <math.h>
29438 #ifdef HAVE_IEEEFP_H
29439 #include <ieeefp.h>
29440 #endif
29441
29442 int
29443 main ()
29444 {
29445 _isnanf(0);
29446 ;
29447 return 0;
29448 }
29449 _ACEOF
29450 if ac_fn_cxx_try_compile "$LINENO"; then :
29451 glibcxx_cv_func__isnanf_use=yes
29452 else
29453 glibcxx_cv_func__isnanf_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__isnanf_use" >&5
29467 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29468
29469 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29470 for ac_func in _isnanf
29471 do :
29472 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29473 if test "x$ac_cv_func__isnanf" = x""yes; then :
29474 cat >>confdefs.h <<_ACEOF
29475 #define HAVE__ISNANF 1
29476 _ACEOF
29477
29478 fi
29479 done
29480
29481 fi
29482 fi
29483
29484
29485
29486
29487
29488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29489 $as_echo_n "checking for isinff declaration... " >&6; }
29490 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29491 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29492 $as_echo_n "(cached) " >&6
29493 else
29494
29495
29496 ac_ext=cpp
29497 ac_cpp='$CXXCPP $CPPFLAGS'
29498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29501
29502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29503 /* end confdefs.h. */
29504 #include <math.h>
29505 #ifdef HAVE_IEEEFP_H
29506 #include <ieeefp.h>
29507 #endif
29508
29509 int
29510 main ()
29511 {
29512 isinff(0);
29513 ;
29514 return 0;
29515 }
29516 _ACEOF
29517 if ac_fn_cxx_try_compile "$LINENO"; then :
29518 glibcxx_cv_func_isinff_use=yes
29519 else
29520 glibcxx_cv_func_isinff_use=no
29521 fi
29522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29523 ac_ext=c
29524 ac_cpp='$CPP $CPPFLAGS'
29525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29528
29529
29530 fi
29531
29532 fi
29533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29534 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29535
29536 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29537 for ac_func in isinff
29538 do :
29539 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29540 if test "x$ac_cv_func_isinff" = x""yes; then :
29541 cat >>confdefs.h <<_ACEOF
29542 #define HAVE_ISINFF 1
29543 _ACEOF
29544
29545 fi
29546 done
29547
29548 else
29549
29550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29551 $as_echo_n "checking for _isinff declaration... " >&6; }
29552 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29553 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29554 $as_echo_n "(cached) " >&6
29555 else
29556
29557
29558 ac_ext=cpp
29559 ac_cpp='$CXXCPP $CPPFLAGS'
29560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29563
29564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29565 /* end confdefs.h. */
29566 #include <math.h>
29567 #ifdef HAVE_IEEEFP_H
29568 #include <ieeefp.h>
29569 #endif
29570
29571 int
29572 main ()
29573 {
29574 _isinff(0);
29575 ;
29576 return 0;
29577 }
29578 _ACEOF
29579 if ac_fn_cxx_try_compile "$LINENO"; then :
29580 glibcxx_cv_func__isinff_use=yes
29581 else
29582 glibcxx_cv_func__isinff_use=no
29583 fi
29584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29585 ac_ext=c
29586 ac_cpp='$CPP $CPPFLAGS'
29587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29590
29591
29592 fi
29593
29594 fi
29595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29596 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29597
29598 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29599 for ac_func in _isinff
29600 do :
29601 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29602 if test "x$ac_cv_func__isinff" = x""yes; then :
29603 cat >>confdefs.h <<_ACEOF
29604 #define HAVE__ISINFF 1
29605 _ACEOF
29606
29607 fi
29608 done
29609
29610 fi
29611 fi
29612
29613
29614
29615
29616
29617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29618 $as_echo_n "checking for atan2f declaration... " >&6; }
29619 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29620 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29621 $as_echo_n "(cached) " >&6
29622 else
29623
29624
29625 ac_ext=cpp
29626 ac_cpp='$CXXCPP $CPPFLAGS'
29627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29630
29631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29632 /* end confdefs.h. */
29633 #include <math.h>
29634 int
29635 main ()
29636 {
29637 atan2f(0, 0);
29638 ;
29639 return 0;
29640 }
29641 _ACEOF
29642 if ac_fn_cxx_try_compile "$LINENO"; then :
29643 glibcxx_cv_func_atan2f_use=yes
29644 else
29645 glibcxx_cv_func_atan2f_use=no
29646 fi
29647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29648 ac_ext=c
29649 ac_cpp='$CPP $CPPFLAGS'
29650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29653
29654
29655 fi
29656
29657 fi
29658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29659 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29660
29661 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29662 for ac_func in atan2f
29663 do :
29664 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29665 if test "x$ac_cv_func_atan2f" = x""yes; then :
29666 cat >>confdefs.h <<_ACEOF
29667 #define HAVE_ATAN2F 1
29668 _ACEOF
29669
29670 fi
29671 done
29672
29673 else
29674
29675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29676 $as_echo_n "checking for _atan2f declaration... " >&6; }
29677 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29678 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29679 $as_echo_n "(cached) " >&6
29680 else
29681
29682
29683 ac_ext=cpp
29684 ac_cpp='$CXXCPP $CPPFLAGS'
29685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29688
29689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29690 /* end confdefs.h. */
29691 #include <math.h>
29692 int
29693 main ()
29694 {
29695 _atan2f(0, 0);
29696 ;
29697 return 0;
29698 }
29699 _ACEOF
29700 if ac_fn_cxx_try_compile "$LINENO"; then :
29701 glibcxx_cv_func__atan2f_use=yes
29702 else
29703 glibcxx_cv_func__atan2f_use=no
29704 fi
29705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29706 ac_ext=c
29707 ac_cpp='$CPP $CPPFLAGS'
29708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29711
29712
29713 fi
29714
29715 fi
29716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29717 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29718
29719 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29720 for ac_func in _atan2f
29721 do :
29722 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29723 if test "x$ac_cv_func__atan2f" = x""yes; then :
29724 cat >>confdefs.h <<_ACEOF
29725 #define HAVE__ATAN2F 1
29726 _ACEOF
29727
29728 fi
29729 done
29730
29731 fi
29732 fi
29733
29734
29735
29736
29737
29738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29739 $as_echo_n "checking for fabsf declaration... " >&6; }
29740 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29741 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29742 $as_echo_n "(cached) " >&6
29743 else
29744
29745
29746 ac_ext=cpp
29747 ac_cpp='$CXXCPP $CPPFLAGS'
29748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29751
29752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29753 /* end confdefs.h. */
29754 #include <math.h>
29755 #ifdef HAVE_IEEEFP_H
29756 #include <ieeefp.h>
29757 #endif
29758
29759 int
29760 main ()
29761 {
29762 fabsf(0);
29763 ;
29764 return 0;
29765 }
29766 _ACEOF
29767 if ac_fn_cxx_try_compile "$LINENO"; then :
29768 glibcxx_cv_func_fabsf_use=yes
29769 else
29770 glibcxx_cv_func_fabsf_use=no
29771 fi
29772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29773 ac_ext=c
29774 ac_cpp='$CPP $CPPFLAGS'
29775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29778
29779
29780 fi
29781
29782 fi
29783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29784 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29785
29786 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29787 for ac_func in fabsf
29788 do :
29789 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29790 if test "x$ac_cv_func_fabsf" = x""yes; then :
29791 cat >>confdefs.h <<_ACEOF
29792 #define HAVE_FABSF 1
29793 _ACEOF
29794
29795 fi
29796 done
29797
29798 else
29799
29800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29801 $as_echo_n "checking for _fabsf declaration... " >&6; }
29802 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29803 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29804 $as_echo_n "(cached) " >&6
29805 else
29806
29807
29808 ac_ext=cpp
29809 ac_cpp='$CXXCPP $CPPFLAGS'
29810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29813
29814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29815 /* end confdefs.h. */
29816 #include <math.h>
29817 #ifdef HAVE_IEEEFP_H
29818 #include <ieeefp.h>
29819 #endif
29820
29821 int
29822 main ()
29823 {
29824 _fabsf(0);
29825 ;
29826 return 0;
29827 }
29828 _ACEOF
29829 if ac_fn_cxx_try_compile "$LINENO"; then :
29830 glibcxx_cv_func__fabsf_use=yes
29831 else
29832 glibcxx_cv_func__fabsf_use=no
29833 fi
29834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29835 ac_ext=c
29836 ac_cpp='$CPP $CPPFLAGS'
29837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29840
29841
29842 fi
29843
29844 fi
29845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29846 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29847
29848 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29849 for ac_func in _fabsf
29850 do :
29851 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29852 if test "x$ac_cv_func__fabsf" = x""yes; then :
29853 cat >>confdefs.h <<_ACEOF
29854 #define HAVE__FABSF 1
29855 _ACEOF
29856
29857 fi
29858 done
29859
29860 fi
29861 fi
29862
29863
29864
29865
29866
29867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29868 $as_echo_n "checking for fmodf declaration... " >&6; }
29869 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29870 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29871 $as_echo_n "(cached) " >&6
29872 else
29873
29874
29875 ac_ext=cpp
29876 ac_cpp='$CXXCPP $CPPFLAGS'
29877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29880
29881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29882 /* end confdefs.h. */
29883 #include <math.h>
29884 int
29885 main ()
29886 {
29887 fmodf(0, 0);
29888 ;
29889 return 0;
29890 }
29891 _ACEOF
29892 if ac_fn_cxx_try_compile "$LINENO"; then :
29893 glibcxx_cv_func_fmodf_use=yes
29894 else
29895 glibcxx_cv_func_fmodf_use=no
29896 fi
29897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29898 ac_ext=c
29899 ac_cpp='$CPP $CPPFLAGS'
29900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29903
29904
29905 fi
29906
29907 fi
29908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29909 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29910
29911 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29912 for ac_func in fmodf
29913 do :
29914 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29915 if test "x$ac_cv_func_fmodf" = x""yes; then :
29916 cat >>confdefs.h <<_ACEOF
29917 #define HAVE_FMODF 1
29918 _ACEOF
29919
29920 fi
29921 done
29922
29923 else
29924
29925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29926 $as_echo_n "checking for _fmodf declaration... " >&6; }
29927 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29928 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29929 $as_echo_n "(cached) " >&6
29930 else
29931
29932
29933 ac_ext=cpp
29934 ac_cpp='$CXXCPP $CPPFLAGS'
29935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29938
29939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29940 /* end confdefs.h. */
29941 #include <math.h>
29942 int
29943 main ()
29944 {
29945 _fmodf(0, 0);
29946 ;
29947 return 0;
29948 }
29949 _ACEOF
29950 if ac_fn_cxx_try_compile "$LINENO"; then :
29951 glibcxx_cv_func__fmodf_use=yes
29952 else
29953 glibcxx_cv_func__fmodf_use=no
29954 fi
29955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29956 ac_ext=c
29957 ac_cpp='$CPP $CPPFLAGS'
29958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29961
29962
29963 fi
29964
29965 fi
29966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29967 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29968
29969 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29970 for ac_func in _fmodf
29971 do :
29972 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29973 if test "x$ac_cv_func__fmodf" = x""yes; then :
29974 cat >>confdefs.h <<_ACEOF
29975 #define HAVE__FMODF 1
29976 _ACEOF
29977
29978 fi
29979 done
29980
29981 fi
29982 fi
29983
29984
29985
29986
29987
29988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29989 $as_echo_n "checking for frexpf declaration... " >&6; }
29990 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29991 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29992 $as_echo_n "(cached) " >&6
29993 else
29994
29995
29996 ac_ext=cpp
29997 ac_cpp='$CXXCPP $CPPFLAGS'
29998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30001
30002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30003 /* end confdefs.h. */
30004 #include <math.h>
30005 int
30006 main ()
30007 {
30008 frexpf(0, 0);
30009 ;
30010 return 0;
30011 }
30012 _ACEOF
30013 if ac_fn_cxx_try_compile "$LINENO"; then :
30014 glibcxx_cv_func_frexpf_use=yes
30015 else
30016 glibcxx_cv_func_frexpf_use=no
30017 fi
30018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30019 ac_ext=c
30020 ac_cpp='$CPP $CPPFLAGS'
30021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30024
30025
30026 fi
30027
30028 fi
30029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30030 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30031
30032 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30033 for ac_func in frexpf
30034 do :
30035 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30036 if test "x$ac_cv_func_frexpf" = x""yes; then :
30037 cat >>confdefs.h <<_ACEOF
30038 #define HAVE_FREXPF 1
30039 _ACEOF
30040
30041 fi
30042 done
30043
30044 else
30045
30046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30047 $as_echo_n "checking for _frexpf declaration... " >&6; }
30048 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30049 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
30067 ;
30068 return 0;
30069 }
30070 _ACEOF
30071 if ac_fn_cxx_try_compile "$LINENO"; then :
30072 glibcxx_cv_func__frexpf_use=yes
30073 else
30074 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
30088 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30089
30090 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30091 for ac_func in _frexpf
30092 do :
30093 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30094 if test "x$ac_cv_func__frexpf" = x""yes; then :
30095 cat >>confdefs.h <<_ACEOF
30096 #define HAVE__FREXPF 1
30097 _ACEOF
30098
30099 fi
30100 done
30101
30102 fi
30103 fi
30104
30105
30106
30107
30108
30109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30110 $as_echo_n "checking for hypotf declaration... " >&6; }
30111 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30112 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30113 $as_echo_n "(cached) " >&6
30114 else
30115
30116
30117 ac_ext=cpp
30118 ac_cpp='$CXXCPP $CPPFLAGS'
30119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30122
30123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30124 /* end confdefs.h. */
30125 #include <math.h>
30126 int
30127 main ()
30128 {
30129 hypotf(0, 0);
30130 ;
30131 return 0;
30132 }
30133 _ACEOF
30134 if ac_fn_cxx_try_compile "$LINENO"; then :
30135 glibcxx_cv_func_hypotf_use=yes
30136 else
30137 glibcxx_cv_func_hypotf_use=no
30138 fi
30139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30140 ac_ext=c
30141 ac_cpp='$CPP $CPPFLAGS'
30142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30145
30146
30147 fi
30148
30149 fi
30150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30151 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30152
30153 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30154 for ac_func in hypotf
30155 do :
30156 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30157 if test "x$ac_cv_func_hypotf" = x""yes; then :
30158 cat >>confdefs.h <<_ACEOF
30159 #define HAVE_HYPOTF 1
30160 _ACEOF
30161
30162 fi
30163 done
30164
30165 else
30166
30167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30168 $as_echo_n "checking for _hypotf declaration... " >&6; }
30169 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30170 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
30188 ;
30189 return 0;
30190 }
30191 _ACEOF
30192 if ac_fn_cxx_try_compile "$LINENO"; then :
30193 glibcxx_cv_func__hypotf_use=yes
30194 else
30195 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
30209 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30210
30211 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30212 for ac_func in _hypotf
30213 do :
30214 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30215 if test "x$ac_cv_func__hypotf" = x""yes; then :
30216 cat >>confdefs.h <<_ACEOF
30217 #define HAVE__HYPOTF 1
30218 _ACEOF
30219
30220 fi
30221 done
30222
30223 fi
30224 fi
30225
30226
30227
30228
30229
30230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30231 $as_echo_n "checking for ldexpf declaration... " >&6; }
30232 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30233 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30234 $as_echo_n "(cached) " >&6
30235 else
30236
30237
30238 ac_ext=cpp
30239 ac_cpp='$CXXCPP $CPPFLAGS'
30240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30243
30244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30245 /* end confdefs.h. */
30246 #include <math.h>
30247 int
30248 main ()
30249 {
30250 ldexpf(0, 0);
30251 ;
30252 return 0;
30253 }
30254 _ACEOF
30255 if ac_fn_cxx_try_compile "$LINENO"; then :
30256 glibcxx_cv_func_ldexpf_use=yes
30257 else
30258 glibcxx_cv_func_ldexpf_use=no
30259 fi
30260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30261 ac_ext=c
30262 ac_cpp='$CPP $CPPFLAGS'
30263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30266
30267
30268 fi
30269
30270 fi
30271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30272 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30273
30274 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30275 for ac_func in ldexpf
30276 do :
30277 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30278 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30279 cat >>confdefs.h <<_ACEOF
30280 #define HAVE_LDEXPF 1
30281 _ACEOF
30282
30283 fi
30284 done
30285
30286 else
30287
30288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30289 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30290 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30291 if test "${glibcxx_cv_func__ldexpf_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 _ldexpf(0, 0);
30309 ;
30310 return 0;
30311 }
30312 _ACEOF
30313 if ac_fn_cxx_try_compile "$LINENO"; then :
30314 glibcxx_cv_func__ldexpf_use=yes
30315 else
30316 glibcxx_cv_func__ldexpf_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__ldexpf_use" >&5
30330 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30331
30332 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30333 for ac_func in _ldexpf
30334 do :
30335 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30336 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30337 cat >>confdefs.h <<_ACEOF
30338 #define HAVE__LDEXPF 1
30339 _ACEOF
30340
30341 fi
30342 done
30343
30344 fi
30345 fi
30346
30347
30348
30349
30350
30351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30352 $as_echo_n "checking for logf declaration... " >&6; }
30353 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30354 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30355 $as_echo_n "(cached) " >&6
30356 else
30357
30358
30359 ac_ext=cpp
30360 ac_cpp='$CXXCPP $CPPFLAGS'
30361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30364
30365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30366 /* end confdefs.h. */
30367 #include <math.h>
30368 #ifdef HAVE_IEEEFP_H
30369 #include <ieeefp.h>
30370 #endif
30371
30372 int
30373 main ()
30374 {
30375 logf(0);
30376 ;
30377 return 0;
30378 }
30379 _ACEOF
30380 if ac_fn_cxx_try_compile "$LINENO"; then :
30381 glibcxx_cv_func_logf_use=yes
30382 else
30383 glibcxx_cv_func_logf_use=no
30384 fi
30385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30386 ac_ext=c
30387 ac_cpp='$CPP $CPPFLAGS'
30388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30391
30392
30393 fi
30394
30395 fi
30396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30397 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30398
30399 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30400 for ac_func in logf
30401 do :
30402 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30403 if test "x$ac_cv_func_logf" = x""yes; then :
30404 cat >>confdefs.h <<_ACEOF
30405 #define HAVE_LOGF 1
30406 _ACEOF
30407
30408 fi
30409 done
30410
30411 else
30412
30413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30414 $as_echo_n "checking for _logf declaration... " >&6; }
30415 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30416 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30417 $as_echo_n "(cached) " >&6
30418 else
30419
30420
30421 ac_ext=cpp
30422 ac_cpp='$CXXCPP $CPPFLAGS'
30423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30426
30427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30428 /* end confdefs.h. */
30429 #include <math.h>
30430 #ifdef HAVE_IEEEFP_H
30431 #include <ieeefp.h>
30432 #endif
30433
30434 int
30435 main ()
30436 {
30437 _logf(0);
30438 ;
30439 return 0;
30440 }
30441 _ACEOF
30442 if ac_fn_cxx_try_compile "$LINENO"; then :
30443 glibcxx_cv_func__logf_use=yes
30444 else
30445 glibcxx_cv_func__logf_use=no
30446 fi
30447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30448 ac_ext=c
30449 ac_cpp='$CPP $CPPFLAGS'
30450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30453
30454
30455 fi
30456
30457 fi
30458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30459 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30460
30461 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30462 for ac_func in _logf
30463 do :
30464 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30465 if test "x$ac_cv_func__logf" = x""yes; then :
30466 cat >>confdefs.h <<_ACEOF
30467 #define HAVE__LOGF 1
30468 _ACEOF
30469
30470 fi
30471 done
30472
30473 fi
30474 fi
30475
30476
30477
30478
30479
30480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30481 $as_echo_n "checking for log10f declaration... " >&6; }
30482 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30483 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30484 $as_echo_n "(cached) " >&6
30485 else
30486
30487
30488 ac_ext=cpp
30489 ac_cpp='$CXXCPP $CPPFLAGS'
30490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30493
30494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30495 /* end confdefs.h. */
30496 #include <math.h>
30497 #ifdef HAVE_IEEEFP_H
30498 #include <ieeefp.h>
30499 #endif
30500
30501 int
30502 main ()
30503 {
30504 log10f(0);
30505 ;
30506 return 0;
30507 }
30508 _ACEOF
30509 if ac_fn_cxx_try_compile "$LINENO"; then :
30510 glibcxx_cv_func_log10f_use=yes
30511 else
30512 glibcxx_cv_func_log10f_use=no
30513 fi
30514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30515 ac_ext=c
30516 ac_cpp='$CPP $CPPFLAGS'
30517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30520
30521
30522 fi
30523
30524 fi
30525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30526 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30527
30528 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30529 for ac_func in log10f
30530 do :
30531 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30532 if test "x$ac_cv_func_log10f" = x""yes; then :
30533 cat >>confdefs.h <<_ACEOF
30534 #define HAVE_LOG10F 1
30535 _ACEOF
30536
30537 fi
30538 done
30539
30540 else
30541
30542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30543 $as_echo_n "checking for _log10f declaration... " >&6; }
30544 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30545 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30546 $as_echo_n "(cached) " >&6
30547 else
30548
30549
30550 ac_ext=cpp
30551 ac_cpp='$CXXCPP $CPPFLAGS'
30552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30555
30556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30557 /* end confdefs.h. */
30558 #include <math.h>
30559 #ifdef HAVE_IEEEFP_H
30560 #include <ieeefp.h>
30561 #endif
30562
30563 int
30564 main ()
30565 {
30566 _log10f(0);
30567 ;
30568 return 0;
30569 }
30570 _ACEOF
30571 if ac_fn_cxx_try_compile "$LINENO"; then :
30572 glibcxx_cv_func__log10f_use=yes
30573 else
30574 glibcxx_cv_func__log10f_use=no
30575 fi
30576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30577 ac_ext=c
30578 ac_cpp='$CPP $CPPFLAGS'
30579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30582
30583
30584 fi
30585
30586 fi
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30588 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30589
30590 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30591 for ac_func in _log10f
30592 do :
30593 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30594 if test "x$ac_cv_func__log10f" = x""yes; then :
30595 cat >>confdefs.h <<_ACEOF
30596 #define HAVE__LOG10F 1
30597 _ACEOF
30598
30599 fi
30600 done
30601
30602 fi
30603 fi
30604
30605
30606
30607
30608
30609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30610 $as_echo_n "checking for modff declaration... " >&6; }
30611 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30612 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30613 $as_echo_n "(cached) " >&6
30614 else
30615
30616
30617 ac_ext=cpp
30618 ac_cpp='$CXXCPP $CPPFLAGS'
30619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30622
30623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30624 /* end confdefs.h. */
30625 #include <math.h>
30626 int
30627 main ()
30628 {
30629 modff(0, 0);
30630 ;
30631 return 0;
30632 }
30633 _ACEOF
30634 if ac_fn_cxx_try_compile "$LINENO"; then :
30635 glibcxx_cv_func_modff_use=yes
30636 else
30637 glibcxx_cv_func_modff_use=no
30638 fi
30639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30640 ac_ext=c
30641 ac_cpp='$CPP $CPPFLAGS'
30642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30645
30646
30647 fi
30648
30649 fi
30650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30651 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30652
30653 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30654 for ac_func in modff
30655 do :
30656 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30657 if test "x$ac_cv_func_modff" = x""yes; then :
30658 cat >>confdefs.h <<_ACEOF
30659 #define HAVE_MODFF 1
30660 _ACEOF
30661
30662 fi
30663 done
30664
30665 else
30666
30667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30668 $as_echo_n "checking for _modff declaration... " >&6; }
30669 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30670 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30671 $as_echo_n "(cached) " >&6
30672 else
30673
30674
30675 ac_ext=cpp
30676 ac_cpp='$CXXCPP $CPPFLAGS'
30677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30680
30681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30682 /* end confdefs.h. */
30683 #include <math.h>
30684 int
30685 main ()
30686 {
30687 _modff(0, 0);
30688 ;
30689 return 0;
30690 }
30691 _ACEOF
30692 if ac_fn_cxx_try_compile "$LINENO"; then :
30693 glibcxx_cv_func__modff_use=yes
30694 else
30695 glibcxx_cv_func__modff_use=no
30696 fi
30697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30698 ac_ext=c
30699 ac_cpp='$CPP $CPPFLAGS'
30700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30703
30704
30705 fi
30706
30707 fi
30708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30709 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30710
30711 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30712 for ac_func in _modff
30713 do :
30714 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30715 if test "x$ac_cv_func__modff" = x""yes; then :
30716 cat >>confdefs.h <<_ACEOF
30717 #define HAVE__MODFF 1
30718 _ACEOF
30719
30720 fi
30721 done
30722
30723 fi
30724 fi
30725
30726
30727
30728
30729
30730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30731 $as_echo_n "checking for modf declaration... " >&6; }
30732 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30733 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30734 $as_echo_n "(cached) " >&6
30735 else
30736
30737
30738 ac_ext=cpp
30739 ac_cpp='$CXXCPP $CPPFLAGS'
30740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30743
30744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30745 /* end confdefs.h. */
30746 #include <math.h>
30747 int
30748 main ()
30749 {
30750 modf(0, 0);
30751 ;
30752 return 0;
30753 }
30754 _ACEOF
30755 if ac_fn_cxx_try_compile "$LINENO"; then :
30756 glibcxx_cv_func_modf_use=yes
30757 else
30758 glibcxx_cv_func_modf_use=no
30759 fi
30760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30761 ac_ext=c
30762 ac_cpp='$CPP $CPPFLAGS'
30763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30766
30767
30768 fi
30769
30770 fi
30771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30772 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30773
30774 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30775 for ac_func in modf
30776 do :
30777 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30778 if test "x$ac_cv_func_modf" = x""yes; then :
30779 cat >>confdefs.h <<_ACEOF
30780 #define HAVE_MODF 1
30781 _ACEOF
30782
30783 fi
30784 done
30785
30786 else
30787
30788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30789 $as_echo_n "checking for _modf declaration... " >&6; }
30790 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30791 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30792 $as_echo_n "(cached) " >&6
30793 else
30794
30795
30796 ac_ext=cpp
30797 ac_cpp='$CXXCPP $CPPFLAGS'
30798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30801
30802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30803 /* end confdefs.h. */
30804 #include <math.h>
30805 int
30806 main ()
30807 {
30808 _modf(0, 0);
30809 ;
30810 return 0;
30811 }
30812 _ACEOF
30813 if ac_fn_cxx_try_compile "$LINENO"; then :
30814 glibcxx_cv_func__modf_use=yes
30815 else
30816 glibcxx_cv_func__modf_use=no
30817 fi
30818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30819 ac_ext=c
30820 ac_cpp='$CPP $CPPFLAGS'
30821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30824
30825
30826 fi
30827
30828 fi
30829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30830 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30831
30832 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30833 for ac_func in _modf
30834 do :
30835 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30836 if test "x$ac_cv_func__modf" = x""yes; then :
30837 cat >>confdefs.h <<_ACEOF
30838 #define HAVE__MODF 1
30839 _ACEOF
30840
30841 fi
30842 done
30843
30844 fi
30845 fi
30846
30847
30848
30849
30850
30851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30852 $as_echo_n "checking for powf declaration... " >&6; }
30853 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30854 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30855 $as_echo_n "(cached) " >&6
30856 else
30857
30858
30859 ac_ext=cpp
30860 ac_cpp='$CXXCPP $CPPFLAGS'
30861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30864
30865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30866 /* end confdefs.h. */
30867 #include <math.h>
30868 int
30869 main ()
30870 {
30871 powf(0, 0);
30872 ;
30873 return 0;
30874 }
30875 _ACEOF
30876 if ac_fn_cxx_try_compile "$LINENO"; then :
30877 glibcxx_cv_func_powf_use=yes
30878 else
30879 glibcxx_cv_func_powf_use=no
30880 fi
30881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30882 ac_ext=c
30883 ac_cpp='$CPP $CPPFLAGS'
30884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30887
30888
30889 fi
30890
30891 fi
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30893 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30894
30895 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30896 for ac_func in powf
30897 do :
30898 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30899 if test "x$ac_cv_func_powf" = x""yes; then :
30900 cat >>confdefs.h <<_ACEOF
30901 #define HAVE_POWF 1
30902 _ACEOF
30903
30904 fi
30905 done
30906
30907 else
30908
30909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30910 $as_echo_n "checking for _powf declaration... " >&6; }
30911 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30912 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30913 $as_echo_n "(cached) " >&6
30914 else
30915
30916
30917 ac_ext=cpp
30918 ac_cpp='$CXXCPP $CPPFLAGS'
30919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30922
30923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30924 /* end confdefs.h. */
30925 #include <math.h>
30926 int
30927 main ()
30928 {
30929 _powf(0, 0);
30930 ;
30931 return 0;
30932 }
30933 _ACEOF
30934 if ac_fn_cxx_try_compile "$LINENO"; then :
30935 glibcxx_cv_func__powf_use=yes
30936 else
30937 glibcxx_cv_func__powf_use=no
30938 fi
30939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30940 ac_ext=c
30941 ac_cpp='$CPP $CPPFLAGS'
30942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30945
30946
30947 fi
30948
30949 fi
30950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30951 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30952
30953 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30954 for ac_func in _powf
30955 do :
30956 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30957 if test "x$ac_cv_func__powf" = x""yes; then :
30958 cat >>confdefs.h <<_ACEOF
30959 #define HAVE__POWF 1
30960 _ACEOF
30961
30962 fi
30963 done
30964
30965 fi
30966 fi
30967
30968
30969
30970
30971
30972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30973 $as_echo_n "checking for sqrtf declaration... " >&6; }
30974 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30975 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30976 $as_echo_n "(cached) " >&6
30977 else
30978
30979
30980 ac_ext=cpp
30981 ac_cpp='$CXXCPP $CPPFLAGS'
30982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30985
30986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30987 /* end confdefs.h. */
30988 #include <math.h>
30989 #ifdef HAVE_IEEEFP_H
30990 #include <ieeefp.h>
30991 #endif
30992
30993 int
30994 main ()
30995 {
30996 sqrtf(0);
30997 ;
30998 return 0;
30999 }
31000 _ACEOF
31001 if ac_fn_cxx_try_compile "$LINENO"; then :
31002 glibcxx_cv_func_sqrtf_use=yes
31003 else
31004 glibcxx_cv_func_sqrtf_use=no
31005 fi
31006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31007 ac_ext=c
31008 ac_cpp='$CPP $CPPFLAGS'
31009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31012
31013
31014 fi
31015
31016 fi
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31018 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31019
31020 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31021 for ac_func in sqrtf
31022 do :
31023 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31024 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31025 cat >>confdefs.h <<_ACEOF
31026 #define HAVE_SQRTF 1
31027 _ACEOF
31028
31029 fi
31030 done
31031
31032 else
31033
31034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31035 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31036 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31037 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31038 $as_echo_n "(cached) " >&6
31039 else
31040
31041
31042 ac_ext=cpp
31043 ac_cpp='$CXXCPP $CPPFLAGS'
31044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31047
31048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31049 /* end confdefs.h. */
31050 #include <math.h>
31051 #ifdef HAVE_IEEEFP_H
31052 #include <ieeefp.h>
31053 #endif
31054
31055 int
31056 main ()
31057 {
31058 _sqrtf(0);
31059 ;
31060 return 0;
31061 }
31062 _ACEOF
31063 if ac_fn_cxx_try_compile "$LINENO"; then :
31064 glibcxx_cv_func__sqrtf_use=yes
31065 else
31066 glibcxx_cv_func__sqrtf_use=no
31067 fi
31068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31069 ac_ext=c
31070 ac_cpp='$CPP $CPPFLAGS'
31071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31074
31075
31076 fi
31077
31078 fi
31079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31080 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31081
31082 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31083 for ac_func in _sqrtf
31084 do :
31085 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31086 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31087 cat >>confdefs.h <<_ACEOF
31088 #define HAVE__SQRTF 1
31089 _ACEOF
31090
31091 fi
31092 done
31093
31094 fi
31095 fi
31096
31097
31098
31099
31100
31101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31102 $as_echo_n "checking for sincosf declaration... " >&6; }
31103 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31104 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31105 $as_echo_n "(cached) " >&6
31106 else
31107
31108
31109 ac_ext=cpp
31110 ac_cpp='$CXXCPP $CPPFLAGS'
31111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31114
31115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31116 /* end confdefs.h. */
31117 #include <math.h>
31118 int
31119 main ()
31120 {
31121 sincosf(0, 0, 0);
31122 ;
31123 return 0;
31124 }
31125 _ACEOF
31126 if ac_fn_cxx_try_compile "$LINENO"; then :
31127 glibcxx_cv_func_sincosf_use=yes
31128 else
31129 glibcxx_cv_func_sincosf_use=no
31130 fi
31131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31132 ac_ext=c
31133 ac_cpp='$CPP $CPPFLAGS'
31134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31137
31138
31139 fi
31140
31141 fi
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31143 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31144
31145 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31146 for ac_func in sincosf
31147 do :
31148 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31149 if test "x$ac_cv_func_sincosf" = x""yes; then :
31150 cat >>confdefs.h <<_ACEOF
31151 #define HAVE_SINCOSF 1
31152 _ACEOF
31153
31154 fi
31155 done
31156
31157 else
31158
31159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31160 $as_echo_n "checking for _sincosf declaration... " >&6; }
31161 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31162 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31163 $as_echo_n "(cached) " >&6
31164 else
31165
31166
31167 ac_ext=cpp
31168 ac_cpp='$CXXCPP $CPPFLAGS'
31169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31172
31173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31174 /* end confdefs.h. */
31175 #include <math.h>
31176 int
31177 main ()
31178 {
31179 _sincosf(0, 0, 0);
31180 ;
31181 return 0;
31182 }
31183 _ACEOF
31184 if ac_fn_cxx_try_compile "$LINENO"; then :
31185 glibcxx_cv_func__sincosf_use=yes
31186 else
31187 glibcxx_cv_func__sincosf_use=no
31188 fi
31189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31190 ac_ext=c
31191 ac_cpp='$CPP $CPPFLAGS'
31192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31195
31196
31197 fi
31198
31199 fi
31200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31201 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31202
31203 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31204 for ac_func in _sincosf
31205 do :
31206 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31207 if test "x$ac_cv_func__sincosf" = x""yes; then :
31208 cat >>confdefs.h <<_ACEOF
31209 #define HAVE__SINCOSF 1
31210 _ACEOF
31211
31212 fi
31213 done
31214
31215 fi
31216 fi
31217
31218
31219
31220
31221
31222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31223 $as_echo_n "checking for finitef declaration... " >&6; }
31224 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31225 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31226 $as_echo_n "(cached) " >&6
31227 else
31228
31229
31230 ac_ext=cpp
31231 ac_cpp='$CXXCPP $CPPFLAGS'
31232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31235
31236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31237 /* end confdefs.h. */
31238 #include <math.h>
31239 #ifdef HAVE_IEEEFP_H
31240 #include <ieeefp.h>
31241 #endif
31242
31243 int
31244 main ()
31245 {
31246 finitef(0);
31247 ;
31248 return 0;
31249 }
31250 _ACEOF
31251 if ac_fn_cxx_try_compile "$LINENO"; then :
31252 glibcxx_cv_func_finitef_use=yes
31253 else
31254 glibcxx_cv_func_finitef_use=no
31255 fi
31256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31257 ac_ext=c
31258 ac_cpp='$CPP $CPPFLAGS'
31259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31262
31263
31264 fi
31265
31266 fi
31267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31268 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31269
31270 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31271 for ac_func in finitef
31272 do :
31273 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31274 if test "x$ac_cv_func_finitef" = x""yes; then :
31275 cat >>confdefs.h <<_ACEOF
31276 #define HAVE_FINITEF 1
31277 _ACEOF
31278
31279 fi
31280 done
31281
31282 else
31283
31284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31285 $as_echo_n "checking for _finitef declaration... " >&6; }
31286 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31287 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31288 $as_echo_n "(cached) " >&6
31289 else
31290
31291
31292 ac_ext=cpp
31293 ac_cpp='$CXXCPP $CPPFLAGS'
31294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31297
31298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31299 /* end confdefs.h. */
31300 #include <math.h>
31301 #ifdef HAVE_IEEEFP_H
31302 #include <ieeefp.h>
31303 #endif
31304
31305 int
31306 main ()
31307 {
31308 _finitef(0);
31309 ;
31310 return 0;
31311 }
31312 _ACEOF
31313 if ac_fn_cxx_try_compile "$LINENO"; then :
31314 glibcxx_cv_func__finitef_use=yes
31315 else
31316 glibcxx_cv_func__finitef_use=no
31317 fi
31318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31319 ac_ext=c
31320 ac_cpp='$CPP $CPPFLAGS'
31321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31324
31325
31326 fi
31327
31328 fi
31329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31330 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31331
31332 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31333 for ac_func in _finitef
31334 do :
31335 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31336 if test "x$ac_cv_func__finitef" = x""yes; then :
31337 cat >>confdefs.h <<_ACEOF
31338 #define HAVE__FINITEF 1
31339 _ACEOF
31340
31341 fi
31342 done
31343
31344 fi
31345 fi
31346
31347
31348
31349
31350
31351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31352 $as_echo_n "checking for long double trig functions... " >&6; }
31353 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31354 $as_echo_n "(cached) " >&6
31355 else
31356
31357
31358 ac_ext=cpp
31359 ac_cpp='$CXXCPP $CPPFLAGS'
31360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31363
31364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31365 /* end confdefs.h. */
31366 #include <math.h>
31367 int
31368 main ()
31369 {
31370 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31371 ;
31372 return 0;
31373 }
31374 _ACEOF
31375 if ac_fn_cxx_try_compile "$LINENO"; then :
31376 glibcxx_cv_func_long_double_trig_use=yes
31377 else
31378 glibcxx_cv_func_long_double_trig_use=no
31379 fi
31380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31381 ac_ext=c
31382 ac_cpp='$CPP $CPPFLAGS'
31383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31386
31387 fi
31388
31389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31390 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31391 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31392 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31393 do :
31394 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31396 eval as_val=\$$as_ac_var
31397 if test "x$as_val" = x""yes; then :
31398 cat >>confdefs.h <<_ACEOF
31399 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31400 _ACEOF
31401
31402 fi
31403 done
31404
31405 else
31406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31407 $as_echo_n "checking for _long double trig functions... " >&6; }
31408 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31409 $as_echo_n "(cached) " >&6
31410 else
31411
31412
31413 ac_ext=cpp
31414 ac_cpp='$CXXCPP $CPPFLAGS'
31415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31418
31419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31420 /* end confdefs.h. */
31421 #include <math.h>
31422 int
31423 main ()
31424 {
31425 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31426 ;
31427 return 0;
31428 }
31429 _ACEOF
31430 if ac_fn_cxx_try_compile "$LINENO"; then :
31431 glibcxx_cv_func__long_double_trig_use=yes
31432 else
31433 glibcxx_cv_func__long_double_trig_use=no
31434 fi
31435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31436 ac_ext=c
31437 ac_cpp='$CPP $CPPFLAGS'
31438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31441
31442 fi
31443
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31445 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31446 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31447 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31448 do :
31449 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31450 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31451 eval as_val=\$$as_ac_var
31452 if test "x$as_val" = x""yes; then :
31453 cat >>confdefs.h <<_ACEOF
31454 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31455 _ACEOF
31456
31457 fi
31458 done
31459
31460 fi
31461 fi
31462
31463
31464
31465
31466
31467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31468 $as_echo_n "checking for long double round functions... " >&6; }
31469 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31470 $as_echo_n "(cached) " >&6
31471 else
31472
31473
31474 ac_ext=cpp
31475 ac_cpp='$CXXCPP $CPPFLAGS'
31476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31479
31480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31481 /* end confdefs.h. */
31482 #include <math.h>
31483 int
31484 main ()
31485 {
31486 ceill (0); floorl (0);
31487 ;
31488 return 0;
31489 }
31490 _ACEOF
31491 if ac_fn_cxx_try_compile "$LINENO"; then :
31492 glibcxx_cv_func_long_double_round_use=yes
31493 else
31494 glibcxx_cv_func_long_double_round_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 fi
31504
31505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31506 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31507 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31508 for ac_func in ceill floorl
31509 do :
31510 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31511 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31512 eval as_val=\$$as_ac_var
31513 if test "x$as_val" = x""yes; then :
31514 cat >>confdefs.h <<_ACEOF
31515 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31516 _ACEOF
31517
31518 fi
31519 done
31520
31521 else
31522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31523 $as_echo_n "checking for _long double round functions... " >&6; }
31524 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31525 $as_echo_n "(cached) " >&6
31526 else
31527
31528
31529 ac_ext=cpp
31530 ac_cpp='$CXXCPP $CPPFLAGS'
31531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31534
31535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31536 /* end confdefs.h. */
31537 #include <math.h>
31538 int
31539 main ()
31540 {
31541 _ceill (0); _floorl (0);
31542 ;
31543 return 0;
31544 }
31545 _ACEOF
31546 if ac_fn_cxx_try_compile "$LINENO"; then :
31547 glibcxx_cv_func__long_double_round_use=yes
31548 else
31549 glibcxx_cv_func__long_double_round_use=no
31550 fi
31551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31552 ac_ext=c
31553 ac_cpp='$CPP $CPPFLAGS'
31554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31557
31558 fi
31559
31560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31561 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31562 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31563 for ac_func in _ceill _floorl
31564 do :
31565 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31566 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31567 eval as_val=\$$as_ac_var
31568 if test "x$as_val" = x""yes; then :
31569 cat >>confdefs.h <<_ACEOF
31570 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31571 _ACEOF
31572
31573 fi
31574 done
31575
31576 fi
31577 fi
31578
31579
31580
31581
31582
31583
31584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31585 $as_echo_n "checking for isnanl declaration... " >&6; }
31586 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31587 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31588 $as_echo_n "(cached) " >&6
31589 else
31590
31591
31592 ac_ext=cpp
31593 ac_cpp='$CXXCPP $CPPFLAGS'
31594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31597
31598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31599 /* end confdefs.h. */
31600 #include <math.h>
31601 #ifdef HAVE_IEEEFP_H
31602 #include <ieeefp.h>
31603 #endif
31604
31605 int
31606 main ()
31607 {
31608 isnanl(0);
31609 ;
31610 return 0;
31611 }
31612 _ACEOF
31613 if ac_fn_cxx_try_compile "$LINENO"; then :
31614 glibcxx_cv_func_isnanl_use=yes
31615 else
31616 glibcxx_cv_func_isnanl_use=no
31617 fi
31618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31619 ac_ext=c
31620 ac_cpp='$CPP $CPPFLAGS'
31621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31624
31625
31626 fi
31627
31628 fi
31629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31630 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31631
31632 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31633 for ac_func in isnanl
31634 do :
31635 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31636 if test "x$ac_cv_func_isnanl" = x""yes; then :
31637 cat >>confdefs.h <<_ACEOF
31638 #define HAVE_ISNANL 1
31639 _ACEOF
31640
31641 fi
31642 done
31643
31644 else
31645
31646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31647 $as_echo_n "checking for _isnanl declaration... " >&6; }
31648 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31649 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31650 $as_echo_n "(cached) " >&6
31651 else
31652
31653
31654 ac_ext=cpp
31655 ac_cpp='$CXXCPP $CPPFLAGS'
31656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31659
31660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31661 /* end confdefs.h. */
31662 #include <math.h>
31663 #ifdef HAVE_IEEEFP_H
31664 #include <ieeefp.h>
31665 #endif
31666
31667 int
31668 main ()
31669 {
31670 _isnanl(0);
31671 ;
31672 return 0;
31673 }
31674 _ACEOF
31675 if ac_fn_cxx_try_compile "$LINENO"; then :
31676 glibcxx_cv_func__isnanl_use=yes
31677 else
31678 glibcxx_cv_func__isnanl_use=no
31679 fi
31680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31681 ac_ext=c
31682 ac_cpp='$CPP $CPPFLAGS'
31683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31686
31687
31688 fi
31689
31690 fi
31691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31692 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31693
31694 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31695 for ac_func in _isnanl
31696 do :
31697 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31698 if test "x$ac_cv_func__isnanl" = x""yes; then :
31699 cat >>confdefs.h <<_ACEOF
31700 #define HAVE__ISNANL 1
31701 _ACEOF
31702
31703 fi
31704 done
31705
31706 fi
31707 fi
31708
31709
31710
31711
31712
31713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31714 $as_echo_n "checking for isinfl declaration... " >&6; }
31715 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31716 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31717 $as_echo_n "(cached) " >&6
31718 else
31719
31720
31721 ac_ext=cpp
31722 ac_cpp='$CXXCPP $CPPFLAGS'
31723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31726
31727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31728 /* end confdefs.h. */
31729 #include <math.h>
31730 #ifdef HAVE_IEEEFP_H
31731 #include <ieeefp.h>
31732 #endif
31733
31734 int
31735 main ()
31736 {
31737 isinfl(0);
31738 ;
31739 return 0;
31740 }
31741 _ACEOF
31742 if ac_fn_cxx_try_compile "$LINENO"; then :
31743 glibcxx_cv_func_isinfl_use=yes
31744 else
31745 glibcxx_cv_func_isinfl_use=no
31746 fi
31747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31748 ac_ext=c
31749 ac_cpp='$CPP $CPPFLAGS'
31750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31753
31754
31755 fi
31756
31757 fi
31758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31759 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31760
31761 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31762 for ac_func in isinfl
31763 do :
31764 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31765 if test "x$ac_cv_func_isinfl" = x""yes; then :
31766 cat >>confdefs.h <<_ACEOF
31767 #define HAVE_ISINFL 1
31768 _ACEOF
31769
31770 fi
31771 done
31772
31773 else
31774
31775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31776 $as_echo_n "checking for _isinfl declaration... " >&6; }
31777 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31778 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31779 $as_echo_n "(cached) " >&6
31780 else
31781
31782
31783 ac_ext=cpp
31784 ac_cpp='$CXXCPP $CPPFLAGS'
31785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31788
31789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31790 /* end confdefs.h. */
31791 #include <math.h>
31792 #ifdef HAVE_IEEEFP_H
31793 #include <ieeefp.h>
31794 #endif
31795
31796 int
31797 main ()
31798 {
31799 _isinfl(0);
31800 ;
31801 return 0;
31802 }
31803 _ACEOF
31804 if ac_fn_cxx_try_compile "$LINENO"; then :
31805 glibcxx_cv_func__isinfl_use=yes
31806 else
31807 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
31821 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31822
31823 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31824 for ac_func in _isinfl
31825 do :
31826 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31827 if test "x$ac_cv_func__isinfl" = x""yes; then :
31828 cat >>confdefs.h <<_ACEOF
31829 #define HAVE__ISINFL 1
31830 _ACEOF
31831
31832 fi
31833 done
31834
31835 fi
31836 fi
31837
31838
31839
31840
31841
31842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31843 $as_echo_n "checking for atan2l declaration... " >&6; }
31844 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31845 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31846 $as_echo_n "(cached) " >&6
31847 else
31848
31849
31850 ac_ext=cpp
31851 ac_cpp='$CXXCPP $CPPFLAGS'
31852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31855
31856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31857 /* end confdefs.h. */
31858 #include <math.h>
31859 int
31860 main ()
31861 {
31862 atan2l(0, 0);
31863 ;
31864 return 0;
31865 }
31866 _ACEOF
31867 if ac_fn_cxx_try_compile "$LINENO"; then :
31868 glibcxx_cv_func_atan2l_use=yes
31869 else
31870 glibcxx_cv_func_atan2l_use=no
31871 fi
31872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873 ac_ext=c
31874 ac_cpp='$CPP $CPPFLAGS'
31875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31878
31879
31880 fi
31881
31882 fi
31883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31884 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31885
31886 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31887 for ac_func in atan2l
31888 do :
31889 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31890 if test "x$ac_cv_func_atan2l" = x""yes; then :
31891 cat >>confdefs.h <<_ACEOF
31892 #define HAVE_ATAN2L 1
31893 _ACEOF
31894
31895 fi
31896 done
31897
31898 else
31899
31900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31901 $as_echo_n "checking for _atan2l declaration... " >&6; }
31902 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31903 if test "${glibcxx_cv_func__atan2l_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 _atan2l(0, 0);
31921 ;
31922 return 0;
31923 }
31924 _ACEOF
31925 if ac_fn_cxx_try_compile "$LINENO"; then :
31926 glibcxx_cv_func__atan2l_use=yes
31927 else
31928 glibcxx_cv_func__atan2l_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__atan2l_use" >&5
31942 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31943
31944 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31945 for ac_func in _atan2l
31946 do :
31947 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31948 if test "x$ac_cv_func__atan2l" = x""yes; then :
31949 cat >>confdefs.h <<_ACEOF
31950 #define HAVE__ATAN2L 1
31951 _ACEOF
31952
31953 fi
31954 done
31955
31956 fi
31957 fi
31958
31959
31960
31961
31962
31963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31964 $as_echo_n "checking for expl declaration... " >&6; }
31965 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31966 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31967 $as_echo_n "(cached) " >&6
31968 else
31969
31970
31971 ac_ext=cpp
31972 ac_cpp='$CXXCPP $CPPFLAGS'
31973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31976
31977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31978 /* end confdefs.h. */
31979 #include <math.h>
31980 #ifdef HAVE_IEEEFP_H
31981 #include <ieeefp.h>
31982 #endif
31983
31984 int
31985 main ()
31986 {
31987 expl(0);
31988 ;
31989 return 0;
31990 }
31991 _ACEOF
31992 if ac_fn_cxx_try_compile "$LINENO"; then :
31993 glibcxx_cv_func_expl_use=yes
31994 else
31995 glibcxx_cv_func_expl_use=no
31996 fi
31997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31998 ac_ext=c
31999 ac_cpp='$CPP $CPPFLAGS'
32000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32003
32004
32005 fi
32006
32007 fi
32008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32009 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32010
32011 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32012 for ac_func in expl
32013 do :
32014 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32015 if test "x$ac_cv_func_expl" = x""yes; then :
32016 cat >>confdefs.h <<_ACEOF
32017 #define HAVE_EXPL 1
32018 _ACEOF
32019
32020 fi
32021 done
32022
32023 else
32024
32025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32026 $as_echo_n "checking for _expl declaration... " >&6; }
32027 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32028 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32029 $as_echo_n "(cached) " >&6
32030 else
32031
32032
32033 ac_ext=cpp
32034 ac_cpp='$CXXCPP $CPPFLAGS'
32035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32038
32039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32040 /* end confdefs.h. */
32041 #include <math.h>
32042 #ifdef HAVE_IEEEFP_H
32043 #include <ieeefp.h>
32044 #endif
32045
32046 int
32047 main ()
32048 {
32049 _expl(0);
32050 ;
32051 return 0;
32052 }
32053 _ACEOF
32054 if ac_fn_cxx_try_compile "$LINENO"; then :
32055 glibcxx_cv_func__expl_use=yes
32056 else
32057 glibcxx_cv_func__expl_use=no
32058 fi
32059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32060 ac_ext=c
32061 ac_cpp='$CPP $CPPFLAGS'
32062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32065
32066
32067 fi
32068
32069 fi
32070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32071 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32072
32073 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32074 for ac_func in _expl
32075 do :
32076 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32077 if test "x$ac_cv_func__expl" = x""yes; then :
32078 cat >>confdefs.h <<_ACEOF
32079 #define HAVE__EXPL 1
32080 _ACEOF
32081
32082 fi
32083 done
32084
32085 fi
32086 fi
32087
32088
32089
32090
32091
32092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32093 $as_echo_n "checking for fabsl declaration... " >&6; }
32094 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32095 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32096 $as_echo_n "(cached) " >&6
32097 else
32098
32099
32100 ac_ext=cpp
32101 ac_cpp='$CXXCPP $CPPFLAGS'
32102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32105
32106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32107 /* end confdefs.h. */
32108 #include <math.h>
32109 #ifdef HAVE_IEEEFP_H
32110 #include <ieeefp.h>
32111 #endif
32112
32113 int
32114 main ()
32115 {
32116 fabsl(0);
32117 ;
32118 return 0;
32119 }
32120 _ACEOF
32121 if ac_fn_cxx_try_compile "$LINENO"; then :
32122 glibcxx_cv_func_fabsl_use=yes
32123 else
32124 glibcxx_cv_func_fabsl_use=no
32125 fi
32126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32127 ac_ext=c
32128 ac_cpp='$CPP $CPPFLAGS'
32129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32132
32133
32134 fi
32135
32136 fi
32137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32138 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32139
32140 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32141 for ac_func in fabsl
32142 do :
32143 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32144 if test "x$ac_cv_func_fabsl" = x""yes; then :
32145 cat >>confdefs.h <<_ACEOF
32146 #define HAVE_FABSL 1
32147 _ACEOF
32148
32149 fi
32150 done
32151
32152 else
32153
32154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32155 $as_echo_n "checking for _fabsl declaration... " >&6; }
32156 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32157 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32158 $as_echo_n "(cached) " >&6
32159 else
32160
32161
32162 ac_ext=cpp
32163 ac_cpp='$CXXCPP $CPPFLAGS'
32164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32167
32168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32169 /* end confdefs.h. */
32170 #include <math.h>
32171 #ifdef HAVE_IEEEFP_H
32172 #include <ieeefp.h>
32173 #endif
32174
32175 int
32176 main ()
32177 {
32178 _fabsl(0);
32179 ;
32180 return 0;
32181 }
32182 _ACEOF
32183 if ac_fn_cxx_try_compile "$LINENO"; then :
32184 glibcxx_cv_func__fabsl_use=yes
32185 else
32186 glibcxx_cv_func__fabsl_use=no
32187 fi
32188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32189 ac_ext=c
32190 ac_cpp='$CPP $CPPFLAGS'
32191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32194
32195
32196 fi
32197
32198 fi
32199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32200 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32201
32202 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32203 for ac_func in _fabsl
32204 do :
32205 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32206 if test "x$ac_cv_func__fabsl" = x""yes; then :
32207 cat >>confdefs.h <<_ACEOF
32208 #define HAVE__FABSL 1
32209 _ACEOF
32210
32211 fi
32212 done
32213
32214 fi
32215 fi
32216
32217
32218
32219
32220
32221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32222 $as_echo_n "checking for fmodl declaration... " >&6; }
32223 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32224 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32225 $as_echo_n "(cached) " >&6
32226 else
32227
32228
32229 ac_ext=cpp
32230 ac_cpp='$CXXCPP $CPPFLAGS'
32231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32234
32235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32236 /* end confdefs.h. */
32237 #include <math.h>
32238 int
32239 main ()
32240 {
32241 fmodl(0, 0);
32242 ;
32243 return 0;
32244 }
32245 _ACEOF
32246 if ac_fn_cxx_try_compile "$LINENO"; then :
32247 glibcxx_cv_func_fmodl_use=yes
32248 else
32249 glibcxx_cv_func_fmodl_use=no
32250 fi
32251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32252 ac_ext=c
32253 ac_cpp='$CPP $CPPFLAGS'
32254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32257
32258
32259 fi
32260
32261 fi
32262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32263 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32264
32265 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32266 for ac_func in fmodl
32267 do :
32268 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32269 if test "x$ac_cv_func_fmodl" = x""yes; then :
32270 cat >>confdefs.h <<_ACEOF
32271 #define HAVE_FMODL 1
32272 _ACEOF
32273
32274 fi
32275 done
32276
32277 else
32278
32279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32280 $as_echo_n "checking for _fmodl declaration... " >&6; }
32281 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32282 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32283 $as_echo_n "(cached) " >&6
32284 else
32285
32286
32287 ac_ext=cpp
32288 ac_cpp='$CXXCPP $CPPFLAGS'
32289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32292
32293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32294 /* end confdefs.h. */
32295 #include <math.h>
32296 int
32297 main ()
32298 {
32299 _fmodl(0, 0);
32300 ;
32301 return 0;
32302 }
32303 _ACEOF
32304 if ac_fn_cxx_try_compile "$LINENO"; then :
32305 glibcxx_cv_func__fmodl_use=yes
32306 else
32307 glibcxx_cv_func__fmodl_use=no
32308 fi
32309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32310 ac_ext=c
32311 ac_cpp='$CPP $CPPFLAGS'
32312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32315
32316
32317 fi
32318
32319 fi
32320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32321 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32322
32323 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32324 for ac_func in _fmodl
32325 do :
32326 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32327 if test "x$ac_cv_func__fmodl" = x""yes; then :
32328 cat >>confdefs.h <<_ACEOF
32329 #define HAVE__FMODL 1
32330 _ACEOF
32331
32332 fi
32333 done
32334
32335 fi
32336 fi
32337
32338
32339
32340
32341
32342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32343 $as_echo_n "checking for frexpl declaration... " >&6; }
32344 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32345 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32346 $as_echo_n "(cached) " >&6
32347 else
32348
32349
32350 ac_ext=cpp
32351 ac_cpp='$CXXCPP $CPPFLAGS'
32352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32355
32356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32357 /* end confdefs.h. */
32358 #include <math.h>
32359 int
32360 main ()
32361 {
32362 frexpl(0, 0);
32363 ;
32364 return 0;
32365 }
32366 _ACEOF
32367 if ac_fn_cxx_try_compile "$LINENO"; then :
32368 glibcxx_cv_func_frexpl_use=yes
32369 else
32370 glibcxx_cv_func_frexpl_use=no
32371 fi
32372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32373 ac_ext=c
32374 ac_cpp='$CPP $CPPFLAGS'
32375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32378
32379
32380 fi
32381
32382 fi
32383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32384 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32385
32386 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32387 for ac_func in frexpl
32388 do :
32389 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32390 if test "x$ac_cv_func_frexpl" = x""yes; then :
32391 cat >>confdefs.h <<_ACEOF
32392 #define HAVE_FREXPL 1
32393 _ACEOF
32394
32395 fi
32396 done
32397
32398 else
32399
32400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32401 $as_echo_n "checking for _frexpl declaration... " >&6; }
32402 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32403 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
32421 ;
32422 return 0;
32423 }
32424 _ACEOF
32425 if ac_fn_cxx_try_compile "$LINENO"; then :
32426 glibcxx_cv_func__frexpl_use=yes
32427 else
32428 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
32442 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32443
32444 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32445 for ac_func in _frexpl
32446 do :
32447 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32448 if test "x$ac_cv_func__frexpl" = x""yes; then :
32449 cat >>confdefs.h <<_ACEOF
32450 #define HAVE__FREXPL 1
32451 _ACEOF
32452
32453 fi
32454 done
32455
32456 fi
32457 fi
32458
32459
32460
32461
32462
32463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32464 $as_echo_n "checking for hypotl declaration... " >&6; }
32465 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32466 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32467 $as_echo_n "(cached) " >&6
32468 else
32469
32470
32471 ac_ext=cpp
32472 ac_cpp='$CXXCPP $CPPFLAGS'
32473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32476
32477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32478 /* end confdefs.h. */
32479 #include <math.h>
32480 int
32481 main ()
32482 {
32483 hypotl(0, 0);
32484 ;
32485 return 0;
32486 }
32487 _ACEOF
32488 if ac_fn_cxx_try_compile "$LINENO"; then :
32489 glibcxx_cv_func_hypotl_use=yes
32490 else
32491 glibcxx_cv_func_hypotl_use=no
32492 fi
32493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32494 ac_ext=c
32495 ac_cpp='$CPP $CPPFLAGS'
32496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32499
32500
32501 fi
32502
32503 fi
32504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32505 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32506
32507 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32508 for ac_func in hypotl
32509 do :
32510 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32511 if test "x$ac_cv_func_hypotl" = x""yes; then :
32512 cat >>confdefs.h <<_ACEOF
32513 #define HAVE_HYPOTL 1
32514 _ACEOF
32515
32516 fi
32517 done
32518
32519 else
32520
32521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32522 $as_echo_n "checking for _hypotl declaration... " >&6; }
32523 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32524 if test "${glibcxx_cv_func__hypotl_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 _hypotl(0, 0);
32542 ;
32543 return 0;
32544 }
32545 _ACEOF
32546 if ac_fn_cxx_try_compile "$LINENO"; then :
32547 glibcxx_cv_func__hypotl_use=yes
32548 else
32549 glibcxx_cv_func__hypotl_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__hypotl_use" >&5
32563 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32564
32565 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32566 for ac_func in _hypotl
32567 do :
32568 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32569 if test "x$ac_cv_func__hypotl" = x""yes; then :
32570 cat >>confdefs.h <<_ACEOF
32571 #define HAVE__HYPOTL 1
32572 _ACEOF
32573
32574 fi
32575 done
32576
32577 fi
32578 fi
32579
32580
32581
32582
32583
32584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32585 $as_echo_n "checking for ldexpl declaration... " >&6; }
32586 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32587 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32588 $as_echo_n "(cached) " >&6
32589 else
32590
32591
32592 ac_ext=cpp
32593 ac_cpp='$CXXCPP $CPPFLAGS'
32594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32597
32598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32599 /* end confdefs.h. */
32600 #include <math.h>
32601 int
32602 main ()
32603 {
32604 ldexpl(0, 0);
32605 ;
32606 return 0;
32607 }
32608 _ACEOF
32609 if ac_fn_cxx_try_compile "$LINENO"; then :
32610 glibcxx_cv_func_ldexpl_use=yes
32611 else
32612 glibcxx_cv_func_ldexpl_use=no
32613 fi
32614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32615 ac_ext=c
32616 ac_cpp='$CPP $CPPFLAGS'
32617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32620
32621
32622 fi
32623
32624 fi
32625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32626 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32627
32628 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32629 for ac_func in ldexpl
32630 do :
32631 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32632 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32633 cat >>confdefs.h <<_ACEOF
32634 #define HAVE_LDEXPL 1
32635 _ACEOF
32636
32637 fi
32638 done
32639
32640 else
32641
32642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32643 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32644 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32645 if test "${glibcxx_cv_func__ldexpl_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 int
32660 main ()
32661 {
32662 _ldexpl(0, 0);
32663 ;
32664 return 0;
32665 }
32666 _ACEOF
32667 if ac_fn_cxx_try_compile "$LINENO"; then :
32668 glibcxx_cv_func__ldexpl_use=yes
32669 else
32670 glibcxx_cv_func__ldexpl_use=no
32671 fi
32672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32673 ac_ext=c
32674 ac_cpp='$CPP $CPPFLAGS'
32675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32678
32679
32680 fi
32681
32682 fi
32683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32684 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32685
32686 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32687 for ac_func in _ldexpl
32688 do :
32689 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32690 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32691 cat >>confdefs.h <<_ACEOF
32692 #define HAVE__LDEXPL 1
32693 _ACEOF
32694
32695 fi
32696 done
32697
32698 fi
32699 fi
32700
32701
32702
32703
32704
32705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32706 $as_echo_n "checking for logl declaration... " >&6; }
32707 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32708 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32709 $as_echo_n "(cached) " >&6
32710 else
32711
32712
32713 ac_ext=cpp
32714 ac_cpp='$CXXCPP $CPPFLAGS'
32715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32718
32719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32720 /* end confdefs.h. */
32721 #include <math.h>
32722 #ifdef HAVE_IEEEFP_H
32723 #include <ieeefp.h>
32724 #endif
32725
32726 int
32727 main ()
32728 {
32729 logl(0);
32730 ;
32731 return 0;
32732 }
32733 _ACEOF
32734 if ac_fn_cxx_try_compile "$LINENO"; then :
32735 glibcxx_cv_func_logl_use=yes
32736 else
32737 glibcxx_cv_func_logl_use=no
32738 fi
32739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32740 ac_ext=c
32741 ac_cpp='$CPP $CPPFLAGS'
32742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32745
32746
32747 fi
32748
32749 fi
32750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32751 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32752
32753 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32754 for ac_func in logl
32755 do :
32756 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32757 if test "x$ac_cv_func_logl" = x""yes; then :
32758 cat >>confdefs.h <<_ACEOF
32759 #define HAVE_LOGL 1
32760 _ACEOF
32761
32762 fi
32763 done
32764
32765 else
32766
32767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32768 $as_echo_n "checking for _logl declaration... " >&6; }
32769 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32770 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32771 $as_echo_n "(cached) " >&6
32772 else
32773
32774
32775 ac_ext=cpp
32776 ac_cpp='$CXXCPP $CPPFLAGS'
32777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32780
32781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32782 /* end confdefs.h. */
32783 #include <math.h>
32784 #ifdef HAVE_IEEEFP_H
32785 #include <ieeefp.h>
32786 #endif
32787
32788 int
32789 main ()
32790 {
32791 _logl(0);
32792 ;
32793 return 0;
32794 }
32795 _ACEOF
32796 if ac_fn_cxx_try_compile "$LINENO"; then :
32797 glibcxx_cv_func__logl_use=yes
32798 else
32799 glibcxx_cv_func__logl_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__logl_use" >&5
32813 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32814
32815 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32816 for ac_func in _logl
32817 do :
32818 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32819 if test "x$ac_cv_func__logl" = x""yes; then :
32820 cat >>confdefs.h <<_ACEOF
32821 #define HAVE__LOGL 1
32822 _ACEOF
32823
32824 fi
32825 done
32826
32827 fi
32828 fi
32829
32830
32831
32832
32833
32834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32835 $as_echo_n "checking for log10l declaration... " >&6; }
32836 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32837 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32838 $as_echo_n "(cached) " >&6
32839 else
32840
32841
32842 ac_ext=cpp
32843 ac_cpp='$CXXCPP $CPPFLAGS'
32844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32847
32848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32849 /* end confdefs.h. */
32850 #include <math.h>
32851 #ifdef HAVE_IEEEFP_H
32852 #include <ieeefp.h>
32853 #endif
32854
32855 int
32856 main ()
32857 {
32858 log10l(0);
32859 ;
32860 return 0;
32861 }
32862 _ACEOF
32863 if ac_fn_cxx_try_compile "$LINENO"; then :
32864 glibcxx_cv_func_log10l_use=yes
32865 else
32866 glibcxx_cv_func_log10l_use=no
32867 fi
32868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32869 ac_ext=c
32870 ac_cpp='$CPP $CPPFLAGS'
32871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32874
32875
32876 fi
32877
32878 fi
32879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32880 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32881
32882 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32883 for ac_func in log10l
32884 do :
32885 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32886 if test "x$ac_cv_func_log10l" = x""yes; then :
32887 cat >>confdefs.h <<_ACEOF
32888 #define HAVE_LOG10L 1
32889 _ACEOF
32890
32891 fi
32892 done
32893
32894 else
32895
32896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32897 $as_echo_n "checking for _log10l declaration... " >&6; }
32898 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32899 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32900 $as_echo_n "(cached) " >&6
32901 else
32902
32903
32904 ac_ext=cpp
32905 ac_cpp='$CXXCPP $CPPFLAGS'
32906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32909
32910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32911 /* end confdefs.h. */
32912 #include <math.h>
32913 #ifdef HAVE_IEEEFP_H
32914 #include <ieeefp.h>
32915 #endif
32916
32917 int
32918 main ()
32919 {
32920 _log10l(0);
32921 ;
32922 return 0;
32923 }
32924 _ACEOF
32925 if ac_fn_cxx_try_compile "$LINENO"; then :
32926 glibcxx_cv_func__log10l_use=yes
32927 else
32928 glibcxx_cv_func__log10l_use=no
32929 fi
32930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32931 ac_ext=c
32932 ac_cpp='$CPP $CPPFLAGS'
32933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32936
32937
32938 fi
32939
32940 fi
32941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32942 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32943
32944 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32945 for ac_func in _log10l
32946 do :
32947 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32948 if test "x$ac_cv_func__log10l" = x""yes; then :
32949 cat >>confdefs.h <<_ACEOF
32950 #define HAVE__LOG10L 1
32951 _ACEOF
32952
32953 fi
32954 done
32955
32956 fi
32957 fi
32958
32959
32960
32961
32962
32963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32964 $as_echo_n "checking for modfl declaration... " >&6; }
32965 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32966 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32967 $as_echo_n "(cached) " >&6
32968 else
32969
32970
32971 ac_ext=cpp
32972 ac_cpp='$CXXCPP $CPPFLAGS'
32973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32976
32977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32978 /* end confdefs.h. */
32979 #include <math.h>
32980 int
32981 main ()
32982 {
32983 modfl(0, 0);
32984 ;
32985 return 0;
32986 }
32987 _ACEOF
32988 if ac_fn_cxx_try_compile "$LINENO"; then :
32989 glibcxx_cv_func_modfl_use=yes
32990 else
32991 glibcxx_cv_func_modfl_use=no
32992 fi
32993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32994 ac_ext=c
32995 ac_cpp='$CPP $CPPFLAGS'
32996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32999
33000
33001 fi
33002
33003 fi
33004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33005 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33006
33007 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33008 for ac_func in modfl
33009 do :
33010 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33011 if test "x$ac_cv_func_modfl" = x""yes; then :
33012 cat >>confdefs.h <<_ACEOF
33013 #define HAVE_MODFL 1
33014 _ACEOF
33015
33016 fi
33017 done
33018
33019 else
33020
33021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33022 $as_echo_n "checking for _modfl declaration... " >&6; }
33023 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33024 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33025 $as_echo_n "(cached) " >&6
33026 else
33027
33028
33029 ac_ext=cpp
33030 ac_cpp='$CXXCPP $CPPFLAGS'
33031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33034
33035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33036 /* end confdefs.h. */
33037 #include <math.h>
33038 int
33039 main ()
33040 {
33041 _modfl(0, 0);
33042 ;
33043 return 0;
33044 }
33045 _ACEOF
33046 if ac_fn_cxx_try_compile "$LINENO"; then :
33047 glibcxx_cv_func__modfl_use=yes
33048 else
33049 glibcxx_cv_func__modfl_use=no
33050 fi
33051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33052 ac_ext=c
33053 ac_cpp='$CPP $CPPFLAGS'
33054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33057
33058
33059 fi
33060
33061 fi
33062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33063 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33064
33065 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33066 for ac_func in _modfl
33067 do :
33068 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33069 if test "x$ac_cv_func__modfl" = x""yes; then :
33070 cat >>confdefs.h <<_ACEOF
33071 #define HAVE__MODFL 1
33072 _ACEOF
33073
33074 fi
33075 done
33076
33077 fi
33078 fi
33079
33080
33081
33082
33083
33084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33085 $as_echo_n "checking for powl declaration... " >&6; }
33086 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33087 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33088 $as_echo_n "(cached) " >&6
33089 else
33090
33091
33092 ac_ext=cpp
33093 ac_cpp='$CXXCPP $CPPFLAGS'
33094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33097
33098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33099 /* end confdefs.h. */
33100 #include <math.h>
33101 int
33102 main ()
33103 {
33104 powl(0, 0);
33105 ;
33106 return 0;
33107 }
33108 _ACEOF
33109 if ac_fn_cxx_try_compile "$LINENO"; then :
33110 glibcxx_cv_func_powl_use=yes
33111 else
33112 glibcxx_cv_func_powl_use=no
33113 fi
33114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33115 ac_ext=c
33116 ac_cpp='$CPP $CPPFLAGS'
33117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33120
33121
33122 fi
33123
33124 fi
33125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33126 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33127
33128 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33129 for ac_func in powl
33130 do :
33131 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33132 if test "x$ac_cv_func_powl" = x""yes; then :
33133 cat >>confdefs.h <<_ACEOF
33134 #define HAVE_POWL 1
33135 _ACEOF
33136
33137 fi
33138 done
33139
33140 else
33141
33142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33143 $as_echo_n "checking for _powl declaration... " >&6; }
33144 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33145 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33146 $as_echo_n "(cached) " >&6
33147 else
33148
33149
33150 ac_ext=cpp
33151 ac_cpp='$CXXCPP $CPPFLAGS'
33152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33155
33156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33157 /* end confdefs.h. */
33158 #include <math.h>
33159 int
33160 main ()
33161 {
33162 _powl(0, 0);
33163 ;
33164 return 0;
33165 }
33166 _ACEOF
33167 if ac_fn_cxx_try_compile "$LINENO"; then :
33168 glibcxx_cv_func__powl_use=yes
33169 else
33170 glibcxx_cv_func__powl_use=no
33171 fi
33172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33173 ac_ext=c
33174 ac_cpp='$CPP $CPPFLAGS'
33175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33178
33179
33180 fi
33181
33182 fi
33183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33184 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33185
33186 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33187 for ac_func in _powl
33188 do :
33189 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33190 if test "x$ac_cv_func__powl" = x""yes; then :
33191 cat >>confdefs.h <<_ACEOF
33192 #define HAVE__POWL 1
33193 _ACEOF
33194
33195 fi
33196 done
33197
33198 fi
33199 fi
33200
33201
33202
33203
33204
33205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33206 $as_echo_n "checking for sqrtl declaration... " >&6; }
33207 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33208 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33209 $as_echo_n "(cached) " >&6
33210 else
33211
33212
33213 ac_ext=cpp
33214 ac_cpp='$CXXCPP $CPPFLAGS'
33215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33218
33219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33220 /* end confdefs.h. */
33221 #include <math.h>
33222 #ifdef HAVE_IEEEFP_H
33223 #include <ieeefp.h>
33224 #endif
33225
33226 int
33227 main ()
33228 {
33229 sqrtl(0);
33230 ;
33231 return 0;
33232 }
33233 _ACEOF
33234 if ac_fn_cxx_try_compile "$LINENO"; then :
33235 glibcxx_cv_func_sqrtl_use=yes
33236 else
33237 glibcxx_cv_func_sqrtl_use=no
33238 fi
33239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33240 ac_ext=c
33241 ac_cpp='$CPP $CPPFLAGS'
33242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33245
33246
33247 fi
33248
33249 fi
33250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33251 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33252
33253 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33254 for ac_func in sqrtl
33255 do :
33256 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33257 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33258 cat >>confdefs.h <<_ACEOF
33259 #define HAVE_SQRTL 1
33260 _ACEOF
33261
33262 fi
33263 done
33264
33265 else
33266
33267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33268 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33269 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33270 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33271 $as_echo_n "(cached) " >&6
33272 else
33273
33274
33275 ac_ext=cpp
33276 ac_cpp='$CXXCPP $CPPFLAGS'
33277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33280
33281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33282 /* end confdefs.h. */
33283 #include <math.h>
33284 #ifdef HAVE_IEEEFP_H
33285 #include <ieeefp.h>
33286 #endif
33287
33288 int
33289 main ()
33290 {
33291 _sqrtl(0);
33292 ;
33293 return 0;
33294 }
33295 _ACEOF
33296 if ac_fn_cxx_try_compile "$LINENO"; then :
33297 glibcxx_cv_func__sqrtl_use=yes
33298 else
33299 glibcxx_cv_func__sqrtl_use=no
33300 fi
33301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33302 ac_ext=c
33303 ac_cpp='$CPP $CPPFLAGS'
33304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33307
33308
33309 fi
33310
33311 fi
33312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33313 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33314
33315 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33316 for ac_func in _sqrtl
33317 do :
33318 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33319 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33320 cat >>confdefs.h <<_ACEOF
33321 #define HAVE__SQRTL 1
33322 _ACEOF
33323
33324 fi
33325 done
33326
33327 fi
33328 fi
33329
33330
33331
33332
33333
33334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33335 $as_echo_n "checking for sincosl declaration... " >&6; }
33336 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33337 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33338 $as_echo_n "(cached) " >&6
33339 else
33340
33341
33342 ac_ext=cpp
33343 ac_cpp='$CXXCPP $CPPFLAGS'
33344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33347
33348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33349 /* end confdefs.h. */
33350 #include <math.h>
33351 int
33352 main ()
33353 {
33354 sincosl(0, 0, 0);
33355 ;
33356 return 0;
33357 }
33358 _ACEOF
33359 if ac_fn_cxx_try_compile "$LINENO"; then :
33360 glibcxx_cv_func_sincosl_use=yes
33361 else
33362 glibcxx_cv_func_sincosl_use=no
33363 fi
33364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33365 ac_ext=c
33366 ac_cpp='$CPP $CPPFLAGS'
33367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33370
33371
33372 fi
33373
33374 fi
33375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33376 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33377
33378 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33379 for ac_func in sincosl
33380 do :
33381 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33382 if test "x$ac_cv_func_sincosl" = x""yes; then :
33383 cat >>confdefs.h <<_ACEOF
33384 #define HAVE_SINCOSL 1
33385 _ACEOF
33386
33387 fi
33388 done
33389
33390 else
33391
33392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33393 $as_echo_n "checking for _sincosl declaration... " >&6; }
33394 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33395 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33396 $as_echo_n "(cached) " >&6
33397 else
33398
33399
33400 ac_ext=cpp
33401 ac_cpp='$CXXCPP $CPPFLAGS'
33402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33405
33406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33407 /* end confdefs.h. */
33408 #include <math.h>
33409 int
33410 main ()
33411 {
33412 _sincosl(0, 0, 0);
33413 ;
33414 return 0;
33415 }
33416 _ACEOF
33417 if ac_fn_cxx_try_compile "$LINENO"; then :
33418 glibcxx_cv_func__sincosl_use=yes
33419 else
33420 glibcxx_cv_func__sincosl_use=no
33421 fi
33422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33423 ac_ext=c
33424 ac_cpp='$CPP $CPPFLAGS'
33425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33428
33429
33430 fi
33431
33432 fi
33433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33434 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33435
33436 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33437 for ac_func in _sincosl
33438 do :
33439 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33440 if test "x$ac_cv_func__sincosl" = x""yes; then :
33441 cat >>confdefs.h <<_ACEOF
33442 #define HAVE__SINCOSL 1
33443 _ACEOF
33444
33445 fi
33446 done
33447
33448 fi
33449 fi
33450
33451
33452
33453
33454
33455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33456 $as_echo_n "checking for finitel declaration... " >&6; }
33457 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33458 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33459 $as_echo_n "(cached) " >&6
33460 else
33461
33462
33463 ac_ext=cpp
33464 ac_cpp='$CXXCPP $CPPFLAGS'
33465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33468
33469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33470 /* end confdefs.h. */
33471 #include <math.h>
33472 #ifdef HAVE_IEEEFP_H
33473 #include <ieeefp.h>
33474 #endif
33475
33476 int
33477 main ()
33478 {
33479 finitel(0);
33480 ;
33481 return 0;
33482 }
33483 _ACEOF
33484 if ac_fn_cxx_try_compile "$LINENO"; then :
33485 glibcxx_cv_func_finitel_use=yes
33486 else
33487 glibcxx_cv_func_finitel_use=no
33488 fi
33489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33490 ac_ext=c
33491 ac_cpp='$CPP $CPPFLAGS'
33492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33495
33496
33497 fi
33498
33499 fi
33500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33501 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33502
33503 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33504 for ac_func in finitel
33505 do :
33506 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33507 if test "x$ac_cv_func_finitel" = x""yes; then :
33508 cat >>confdefs.h <<_ACEOF
33509 #define HAVE_FINITEL 1
33510 _ACEOF
33511
33512 fi
33513 done
33514
33515 else
33516
33517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33518 $as_echo_n "checking for _finitel declaration... " >&6; }
33519 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33520 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33521 $as_echo_n "(cached) " >&6
33522 else
33523
33524
33525 ac_ext=cpp
33526 ac_cpp='$CXXCPP $CPPFLAGS'
33527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33530
33531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33532 /* end confdefs.h. */
33533 #include <math.h>
33534 #ifdef HAVE_IEEEFP_H
33535 #include <ieeefp.h>
33536 #endif
33537
33538 int
33539 main ()
33540 {
33541 _finitel(0);
33542 ;
33543 return 0;
33544 }
33545 _ACEOF
33546 if ac_fn_cxx_try_compile "$LINENO"; then :
33547 glibcxx_cv_func__finitel_use=yes
33548 else
33549 glibcxx_cv_func__finitel_use=no
33550 fi
33551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33552 ac_ext=c
33553 ac_cpp='$CPP $CPPFLAGS'
33554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33557
33558
33559 fi
33560
33561 fi
33562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33563 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33564
33565 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33566 for ac_func in _finitel
33567 do :
33568 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33569 if test "x$ac_cv_func__finitel" = x""yes; then :
33570 cat >>confdefs.h <<_ACEOF
33571 #define HAVE__FINITEL 1
33572 _ACEOF
33573
33574 fi
33575 done
33576
33577 fi
33578 fi
33579
33580
33581
33582
33583 LIBS="$ac_save_LIBS"
33584 CXXFLAGS="$ac_save_CXXFLAGS"
33585
33586
33587 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33588 ac_save_CXXFLAGS="$CXXFLAGS"
33589 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33590
33591
33592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33593 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33594 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33595 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33596 $as_echo_n "(cached) " >&6
33597 else
33598
33599
33600 ac_ext=cpp
33601 ac_cpp='$CXXCPP $CPPFLAGS'
33602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33605
33606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33607 /* end confdefs.h. */
33608 #include <stdlib.h>
33609 int
33610 main ()
33611 {
33612 at_quick_exit(0);
33613 ;
33614 return 0;
33615 }
33616 _ACEOF
33617 if ac_fn_cxx_try_compile "$LINENO"; then :
33618 glibcxx_cv_func_at_quick_exit_use=yes
33619 else
33620 glibcxx_cv_func_at_quick_exit_use=no
33621 fi
33622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33623 ac_ext=c
33624 ac_cpp='$CPP $CPPFLAGS'
33625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33628
33629
33630 fi
33631
33632 fi
33633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33634 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33635 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33636 for ac_func in at_quick_exit
33637 do :
33638 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33639 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33640 cat >>confdefs.h <<_ACEOF
33641 #define HAVE_AT_QUICK_EXIT 1
33642 _ACEOF
33643
33644 fi
33645 done
33646
33647 fi
33648
33649
33650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33651 $as_echo_n "checking for quick_exit declaration... " >&6; }
33652 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33653 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33654 $as_echo_n "(cached) " >&6
33655 else
33656
33657
33658 ac_ext=cpp
33659 ac_cpp='$CXXCPP $CPPFLAGS'
33660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33663
33664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33665 /* end confdefs.h. */
33666 #include <stdlib.h>
33667 int
33668 main ()
33669 {
33670 quick_exit(0);
33671 ;
33672 return 0;
33673 }
33674 _ACEOF
33675 if ac_fn_cxx_try_compile "$LINENO"; then :
33676 glibcxx_cv_func_quick_exit_use=yes
33677 else
33678 glibcxx_cv_func_quick_exit_use=no
33679 fi
33680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33681 ac_ext=c
33682 ac_cpp='$CPP $CPPFLAGS'
33683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33686
33687
33688 fi
33689
33690 fi
33691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33692 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33693 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33694 for ac_func in quick_exit
33695 do :
33696 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33697 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33698 cat >>confdefs.h <<_ACEOF
33699 #define HAVE_QUICK_EXIT 1
33700 _ACEOF
33701
33702 fi
33703 done
33704
33705 fi
33706
33707
33708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33709 $as_echo_n "checking for strtold declaration... " >&6; }
33710 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33711 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33712 $as_echo_n "(cached) " >&6
33713 else
33714
33715
33716 ac_ext=cpp
33717 ac_cpp='$CXXCPP $CPPFLAGS'
33718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33721
33722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33723 /* end confdefs.h. */
33724 #include <stdlib.h>
33725 int
33726 main ()
33727 {
33728 strtold(0, 0);
33729 ;
33730 return 0;
33731 }
33732 _ACEOF
33733 if ac_fn_cxx_try_compile "$LINENO"; then :
33734 glibcxx_cv_func_strtold_use=yes
33735 else
33736 glibcxx_cv_func_strtold_use=no
33737 fi
33738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33739 ac_ext=c
33740 ac_cpp='$CPP $CPPFLAGS'
33741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33744
33745
33746 fi
33747
33748 fi
33749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33750 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33751 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33752 for ac_func in strtold
33753 do :
33754 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33755 if test "x$ac_cv_func_strtold" = x""yes; then :
33756 cat >>confdefs.h <<_ACEOF
33757 #define HAVE_STRTOLD 1
33758 _ACEOF
33759
33760 fi
33761 done
33762
33763 fi
33764
33765
33766
33767
33768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33769 $as_echo_n "checking for strtof declaration... " >&6; }
33770 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33771 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33772 $as_echo_n "(cached) " >&6
33773 else
33774
33775
33776 ac_ext=cpp
33777 ac_cpp='$CXXCPP $CPPFLAGS'
33778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33781
33782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33783 /* end confdefs.h. */
33784 #include <stdlib.h>
33785 int
33786 main ()
33787 {
33788 strtof(0, 0);
33789 ;
33790 return 0;
33791 }
33792 _ACEOF
33793 if ac_fn_cxx_try_compile "$LINENO"; then :
33794 glibcxx_cv_func_strtof_use=yes
33795 else
33796 glibcxx_cv_func_strtof_use=no
33797 fi
33798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33799 ac_ext=c
33800 ac_cpp='$CPP $CPPFLAGS'
33801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33804
33805
33806 fi
33807
33808 fi
33809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33810 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33811 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33812 for ac_func in strtof
33813 do :
33814 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33815 if test "x$ac_cv_func_strtof" = x""yes; then :
33816 cat >>confdefs.h <<_ACEOF
33817 #define HAVE_STRTOF 1
33818 _ACEOF
33819
33820 fi
33821 done
33822
33823 fi
33824
33825
33826
33827
33828 CXXFLAGS="$ac_save_CXXFLAGS"
33829
33830
33831 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33832
33833 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33834
33835 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33836
33837 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33838
33839
33840 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33841
33842 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33843
33844 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33845
33846 ;;
33847
33848 spu-*-elf*)
33849
33850 # All these tests are for C++; save the language and the compiler flags.
33851 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33852 # found in GLIBCXX_CONFIGURE.
33853
33854 ac_ext=cpp
33855 ac_cpp='$CXXCPP $CPPFLAGS'
33856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33859
33860 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33861 ac_save_CXXFLAGS="$CXXFLAGS"
33862
33863 # Check for maintainer-mode bits.
33864 if test x"$USE_MAINTAINER_MODE" = xno; then
33865 WERROR=''
33866 else
33867 WERROR='-Werror'
33868 fi
33869
33870 # Check for -ffunction-sections -fdata-sections
33871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33872 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33873 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33875 /* end confdefs.h. */
33876 int foo; void bar() { };
33877 int
33878 main ()
33879 {
33880
33881 ;
33882 return 0;
33883 }
33884 _ACEOF
33885 if ac_fn_cxx_try_compile "$LINENO"; then :
33886 ac_fdsections=yes
33887 else
33888 ac_fdsections=no
33889 fi
33890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33891 if test "$ac_test_CXXFLAGS" = set; then
33892 CXXFLAGS="$ac_save_CXXFLAGS"
33893 else
33894 # this is the suspicious part
33895 CXXFLAGS=''
33896 fi
33897 if test x"$ac_fdsections" = x"yes"; then
33898 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33899 fi
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33901 $as_echo "$ac_fdsections" >&6; }
33902
33903 ac_ext=c
33904 ac_cpp='$CPP $CPPFLAGS'
33905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33908
33909
33910
33911
33912
33913 # If we're not using GNU ld, then there's no point in even trying these
33914 # tests. Check for that first. We should have already tested for gld
33915 # by now (in libtool), but require it now just to be safe...
33916 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33917 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33918
33919
33920
33921 # The name set by libtool depends on the version of libtool. Shame on us
33922 # for depending on an impl detail, but c'est la vie. Older versions used
33923 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33924 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33925 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33926 # set (hence we're using an older libtool), then set it.
33927 if test x${with_gnu_ld+set} != xset; then
33928 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33929 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33930 with_gnu_ld=no
33931 else
33932 with_gnu_ld=$ac_cv_prog_gnu_ld
33933 fi
33934 fi
33935
33936 # Start by getting the version number. I think the libtool test already
33937 # does some of this, but throws away the result.
33938 glibcxx_ld_is_gold=no
33939 if test x"$with_gnu_ld" = x"yes"; then
33940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33941 $as_echo_n "checking for ld version... " >&6; }
33942
33943 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33944 glibcxx_ld_is_gold=yes
33945 fi
33946 ldver=`$LD --version 2>/dev/null |
33947 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'`
33948
33949 glibcxx_gnu_ld_version=`echo $ldver | \
33950 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33952 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33953 fi
33954
33955 # Set --gc-sections.
33956 glibcxx_have_gc_sections=no
33957 if test "$glibcxx_ld_is_gold" = "yes"; then
33958 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33959 glibcxx_have_gc_sections=yes
33960 fi
33961 else
33962 glibcxx_gcsections_min_ld=21602
33963 if test x"$with_gnu_ld" = x"yes" &&
33964 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33965 glibcxx_have_gc_sections=yes
33966 fi
33967 fi
33968 if test "$glibcxx_have_gc_sections" = "yes"; then
33969 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33970 # NB: This flag only works reliably after 2.16.1. Configure tests
33971 # for this are difficult, so hard wire a value that should work.
33972
33973 ac_test_CFLAGS="${CFLAGS+set}"
33974 ac_save_CFLAGS="$CFLAGS"
33975 CFLAGS='-Wl,--gc-sections'
33976
33977 # Check for -Wl,--gc-sections
33978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33979 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33980 if test x$gcc_no_link = xyes; then
33981 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33982 fi
33983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33984 /* end confdefs.h. */
33985 int one(void) { return 1; }
33986 int two(void) { return 2; }
33987
33988 int
33989 main ()
33990 {
33991 two();
33992 ;
33993 return 0;
33994 }
33995 _ACEOF
33996 if ac_fn_c_try_link "$LINENO"; then :
33997 ac_gcsections=yes
33998 else
33999 ac_gcsections=no
34000 fi
34001 rm -f core conftest.err conftest.$ac_objext \
34002 conftest$ac_exeext conftest.$ac_ext
34003 if test "$ac_gcsections" = "yes"; then
34004 rm -f conftest.c
34005 touch conftest.c
34006 if $CC -c conftest.c; then
34007 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34008 grep "Warning: gc-sections option ignored" > /dev/null; then
34009 ac_gcsections=no
34010 fi
34011 fi
34012 rm -f conftest.c conftest.o conftest
34013 fi
34014 if test "$ac_gcsections" = "yes"; then
34015 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34016 fi
34017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34018 $as_echo "$ac_gcsections" >&6; }
34019
34020 if test "$ac_test_CFLAGS" = set; then
34021 CFLAGS="$ac_save_CFLAGS"
34022 else
34023 # this is the suspicious part
34024 CFLAGS=''
34025 fi
34026 fi
34027
34028 # Set -z,relro.
34029 # Note this is only for shared objects.
34030 ac_ld_relro=no
34031 if test x"$with_gnu_ld" = x"yes"; then
34032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34033 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34034 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34035 if test -n "$cxx_z_relo"; then
34036 OPT_LDFLAGS="-Wl,-z,relro"
34037 ac_ld_relro=yes
34038 fi
34039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34040 $as_echo "$ac_ld_relro" >&6; }
34041 fi
34042
34043 # Set linker optimization flags.
34044 if test x"$with_gnu_ld" = x"yes"; then
34045 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34046 fi
34047
34048
34049
34050
34051
34052 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34053 ac_save_CXXFLAGS="$CXXFLAGS"
34054 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34055
34056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34057 $as_echo_n "checking for sin in -lm... " >&6; }
34058 if test "${ac_cv_lib_m_sin+set}" = set; then :
34059 $as_echo_n "(cached) " >&6
34060 else
34061 ac_check_lib_save_LIBS=$LIBS
34062 LIBS="-lm $LIBS"
34063 if test x$gcc_no_link = xyes; then
34064 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34065 fi
34066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34067 /* end confdefs.h. */
34068
34069 /* Override any GCC internal prototype to avoid an error.
34070 Use char because int might match the return type of a GCC
34071 builtin and then its argument prototype would still apply. */
34072 #ifdef __cplusplus
34073 extern "C"
34074 #endif
34075 char sin ();
34076 int
34077 main ()
34078 {
34079 return sin ();
34080 ;
34081 return 0;
34082 }
34083 _ACEOF
34084 if ac_fn_c_try_link "$LINENO"; then :
34085 ac_cv_lib_m_sin=yes
34086 else
34087 ac_cv_lib_m_sin=no
34088 fi
34089 rm -f core conftest.err conftest.$ac_objext \
34090 conftest$ac_exeext conftest.$ac_ext
34091 LIBS=$ac_check_lib_save_LIBS
34092 fi
34093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34094 $as_echo "$ac_cv_lib_m_sin" >&6; }
34095 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34096 libm="-lm"
34097 fi
34098
34099 ac_save_LIBS="$LIBS"
34100 LIBS="$LIBS $libm"
34101
34102
34103
34104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34105 $as_echo_n "checking for isinf declaration... " >&6; }
34106 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34107 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34108 $as_echo_n "(cached) " >&6
34109 else
34110
34111
34112 ac_ext=cpp
34113 ac_cpp='$CXXCPP $CPPFLAGS'
34114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34117
34118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34119 /* end confdefs.h. */
34120 #include <math.h>
34121 #ifdef HAVE_IEEEFP_H
34122 #include <ieeefp.h>
34123 #endif
34124
34125 int
34126 main ()
34127 {
34128 isinf(0);
34129 ;
34130 return 0;
34131 }
34132 _ACEOF
34133 if ac_fn_cxx_try_compile "$LINENO"; then :
34134 glibcxx_cv_func_isinf_use=yes
34135 else
34136 glibcxx_cv_func_isinf_use=no
34137 fi
34138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34139 ac_ext=c
34140 ac_cpp='$CPP $CPPFLAGS'
34141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34144
34145
34146 fi
34147
34148 fi
34149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34150 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34151
34152 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34153 for ac_func in isinf
34154 do :
34155 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34156 if test "x$ac_cv_func_isinf" = x""yes; then :
34157 cat >>confdefs.h <<_ACEOF
34158 #define HAVE_ISINF 1
34159 _ACEOF
34160
34161 fi
34162 done
34163
34164 else
34165
34166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34167 $as_echo_n "checking for _isinf declaration... " >&6; }
34168 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34169 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34170 $as_echo_n "(cached) " >&6
34171 else
34172
34173
34174 ac_ext=cpp
34175 ac_cpp='$CXXCPP $CPPFLAGS'
34176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34179
34180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34181 /* end confdefs.h. */
34182 #include <math.h>
34183 #ifdef HAVE_IEEEFP_H
34184 #include <ieeefp.h>
34185 #endif
34186
34187 int
34188 main ()
34189 {
34190 _isinf(0);
34191 ;
34192 return 0;
34193 }
34194 _ACEOF
34195 if ac_fn_cxx_try_compile "$LINENO"; then :
34196 glibcxx_cv_func__isinf_use=yes
34197 else
34198 glibcxx_cv_func__isinf_use=no
34199 fi
34200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34201 ac_ext=c
34202 ac_cpp='$CPP $CPPFLAGS'
34203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34206
34207
34208 fi
34209
34210 fi
34211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34212 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34213
34214 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34215 for ac_func in _isinf
34216 do :
34217 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34218 if test "x$ac_cv_func__isinf" = x""yes; then :
34219 cat >>confdefs.h <<_ACEOF
34220 #define HAVE__ISINF 1
34221 _ACEOF
34222
34223 fi
34224 done
34225
34226 fi
34227 fi
34228
34229
34230
34231
34232
34233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34234 $as_echo_n "checking for isnan declaration... " >&6; }
34235 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34236 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34237 $as_echo_n "(cached) " >&6
34238 else
34239
34240
34241 ac_ext=cpp
34242 ac_cpp='$CXXCPP $CPPFLAGS'
34243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34246
34247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34248 /* end confdefs.h. */
34249 #include <math.h>
34250 #ifdef HAVE_IEEEFP_H
34251 #include <ieeefp.h>
34252 #endif
34253
34254 int
34255 main ()
34256 {
34257 isnan(0);
34258 ;
34259 return 0;
34260 }
34261 _ACEOF
34262 if ac_fn_cxx_try_compile "$LINENO"; then :
34263 glibcxx_cv_func_isnan_use=yes
34264 else
34265 glibcxx_cv_func_isnan_use=no
34266 fi
34267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34268 ac_ext=c
34269 ac_cpp='$CPP $CPPFLAGS'
34270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34273
34274
34275 fi
34276
34277 fi
34278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34279 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34280
34281 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34282 for ac_func in isnan
34283 do :
34284 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34285 if test "x$ac_cv_func_isnan" = x""yes; then :
34286 cat >>confdefs.h <<_ACEOF
34287 #define HAVE_ISNAN 1
34288 _ACEOF
34289
34290 fi
34291 done
34292
34293 else
34294
34295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34296 $as_echo_n "checking for _isnan declaration... " >&6; }
34297 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34298 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34299 $as_echo_n "(cached) " >&6
34300 else
34301
34302
34303 ac_ext=cpp
34304 ac_cpp='$CXXCPP $CPPFLAGS'
34305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34308
34309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34310 /* end confdefs.h. */
34311 #include <math.h>
34312 #ifdef HAVE_IEEEFP_H
34313 #include <ieeefp.h>
34314 #endif
34315
34316 int
34317 main ()
34318 {
34319 _isnan(0);
34320 ;
34321 return 0;
34322 }
34323 _ACEOF
34324 if ac_fn_cxx_try_compile "$LINENO"; then :
34325 glibcxx_cv_func__isnan_use=yes
34326 else
34327 glibcxx_cv_func__isnan_use=no
34328 fi
34329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34330 ac_ext=c
34331 ac_cpp='$CPP $CPPFLAGS'
34332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34335
34336
34337 fi
34338
34339 fi
34340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34341 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34342
34343 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34344 for ac_func in _isnan
34345 do :
34346 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34347 if test "x$ac_cv_func__isnan" = x""yes; then :
34348 cat >>confdefs.h <<_ACEOF
34349 #define HAVE__ISNAN 1
34350 _ACEOF
34351
34352 fi
34353 done
34354
34355 fi
34356 fi
34357
34358
34359
34360
34361
34362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34363 $as_echo_n "checking for finite declaration... " >&6; }
34364 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34365 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34366 $as_echo_n "(cached) " >&6
34367 else
34368
34369
34370 ac_ext=cpp
34371 ac_cpp='$CXXCPP $CPPFLAGS'
34372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34375
34376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34377 /* end confdefs.h. */
34378 #include <math.h>
34379 #ifdef HAVE_IEEEFP_H
34380 #include <ieeefp.h>
34381 #endif
34382
34383 int
34384 main ()
34385 {
34386 finite(0);
34387 ;
34388 return 0;
34389 }
34390 _ACEOF
34391 if ac_fn_cxx_try_compile "$LINENO"; then :
34392 glibcxx_cv_func_finite_use=yes
34393 else
34394 glibcxx_cv_func_finite_use=no
34395 fi
34396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34397 ac_ext=c
34398 ac_cpp='$CPP $CPPFLAGS'
34399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34402
34403
34404 fi
34405
34406 fi
34407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34408 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34409
34410 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34411 for ac_func in finite
34412 do :
34413 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34414 if test "x$ac_cv_func_finite" = x""yes; then :
34415 cat >>confdefs.h <<_ACEOF
34416 #define HAVE_FINITE 1
34417 _ACEOF
34418
34419 fi
34420 done
34421
34422 else
34423
34424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34425 $as_echo_n "checking for _finite declaration... " >&6; }
34426 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34427 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34428 $as_echo_n "(cached) " >&6
34429 else
34430
34431
34432 ac_ext=cpp
34433 ac_cpp='$CXXCPP $CPPFLAGS'
34434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34437
34438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34439 /* end confdefs.h. */
34440 #include <math.h>
34441 #ifdef HAVE_IEEEFP_H
34442 #include <ieeefp.h>
34443 #endif
34444
34445 int
34446 main ()
34447 {
34448 _finite(0);
34449 ;
34450 return 0;
34451 }
34452 _ACEOF
34453 if ac_fn_cxx_try_compile "$LINENO"; then :
34454 glibcxx_cv_func__finite_use=yes
34455 else
34456 glibcxx_cv_func__finite_use=no
34457 fi
34458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34459 ac_ext=c
34460 ac_cpp='$CPP $CPPFLAGS'
34461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34464
34465
34466 fi
34467
34468 fi
34469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34470 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34471
34472 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34473 for ac_func in _finite
34474 do :
34475 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34476 if test "x$ac_cv_func__finite" = x""yes; then :
34477 cat >>confdefs.h <<_ACEOF
34478 #define HAVE__FINITE 1
34479 _ACEOF
34480
34481 fi
34482 done
34483
34484 fi
34485 fi
34486
34487
34488
34489
34490
34491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34492 $as_echo_n "checking for sincos declaration... " >&6; }
34493 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34494 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34495 $as_echo_n "(cached) " >&6
34496 else
34497
34498
34499 ac_ext=cpp
34500 ac_cpp='$CXXCPP $CPPFLAGS'
34501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34504
34505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34506 /* end confdefs.h. */
34507 #include <math.h>
34508 int
34509 main ()
34510 {
34511 sincos(0, 0, 0);
34512 ;
34513 return 0;
34514 }
34515 _ACEOF
34516 if ac_fn_cxx_try_compile "$LINENO"; then :
34517 glibcxx_cv_func_sincos_use=yes
34518 else
34519 glibcxx_cv_func_sincos_use=no
34520 fi
34521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34522 ac_ext=c
34523 ac_cpp='$CPP $CPPFLAGS'
34524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34527
34528
34529 fi
34530
34531 fi
34532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34533 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34534
34535 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34536 for ac_func in sincos
34537 do :
34538 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34539 if test "x$ac_cv_func_sincos" = x""yes; then :
34540 cat >>confdefs.h <<_ACEOF
34541 #define HAVE_SINCOS 1
34542 _ACEOF
34543
34544 fi
34545 done
34546
34547 else
34548
34549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34550 $as_echo_n "checking for _sincos declaration... " >&6; }
34551 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34552 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34553 $as_echo_n "(cached) " >&6
34554 else
34555
34556
34557 ac_ext=cpp
34558 ac_cpp='$CXXCPP $CPPFLAGS'
34559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34562
34563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34564 /* end confdefs.h. */
34565 #include <math.h>
34566 int
34567 main ()
34568 {
34569 _sincos(0, 0, 0);
34570 ;
34571 return 0;
34572 }
34573 _ACEOF
34574 if ac_fn_cxx_try_compile "$LINENO"; then :
34575 glibcxx_cv_func__sincos_use=yes
34576 else
34577 glibcxx_cv_func__sincos_use=no
34578 fi
34579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34580 ac_ext=c
34581 ac_cpp='$CPP $CPPFLAGS'
34582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34585
34586
34587 fi
34588
34589 fi
34590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34591 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34592
34593 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34594 for ac_func in _sincos
34595 do :
34596 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34597 if test "x$ac_cv_func__sincos" = x""yes; then :
34598 cat >>confdefs.h <<_ACEOF
34599 #define HAVE__SINCOS 1
34600 _ACEOF
34601
34602 fi
34603 done
34604
34605 fi
34606 fi
34607
34608
34609
34610
34611
34612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34613 $as_echo_n "checking for fpclass declaration... " >&6; }
34614 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34615 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34616 $as_echo_n "(cached) " >&6
34617 else
34618
34619
34620 ac_ext=cpp
34621 ac_cpp='$CXXCPP $CPPFLAGS'
34622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34625
34626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34627 /* end confdefs.h. */
34628 #include <math.h>
34629 #ifdef HAVE_IEEEFP_H
34630 #include <ieeefp.h>
34631 #endif
34632
34633 int
34634 main ()
34635 {
34636 fpclass(0);
34637 ;
34638 return 0;
34639 }
34640 _ACEOF
34641 if ac_fn_cxx_try_compile "$LINENO"; then :
34642 glibcxx_cv_func_fpclass_use=yes
34643 else
34644 glibcxx_cv_func_fpclass_use=no
34645 fi
34646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34647 ac_ext=c
34648 ac_cpp='$CPP $CPPFLAGS'
34649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34652
34653
34654 fi
34655
34656 fi
34657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34658 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34659
34660 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34661 for ac_func in fpclass
34662 do :
34663 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34664 if test "x$ac_cv_func_fpclass" = x""yes; then :
34665 cat >>confdefs.h <<_ACEOF
34666 #define HAVE_FPCLASS 1
34667 _ACEOF
34668
34669 fi
34670 done
34671
34672 else
34673
34674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34675 $as_echo_n "checking for _fpclass declaration... " >&6; }
34676 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34677 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34678 $as_echo_n "(cached) " >&6
34679 else
34680
34681
34682 ac_ext=cpp
34683 ac_cpp='$CXXCPP $CPPFLAGS'
34684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34687
34688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34689 /* end confdefs.h. */
34690 #include <math.h>
34691 #ifdef HAVE_IEEEFP_H
34692 #include <ieeefp.h>
34693 #endif
34694
34695 int
34696 main ()
34697 {
34698 _fpclass(0);
34699 ;
34700 return 0;
34701 }
34702 _ACEOF
34703 if ac_fn_cxx_try_compile "$LINENO"; then :
34704 glibcxx_cv_func__fpclass_use=yes
34705 else
34706 glibcxx_cv_func__fpclass_use=no
34707 fi
34708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34709 ac_ext=c
34710 ac_cpp='$CPP $CPPFLAGS'
34711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34714
34715
34716 fi
34717
34718 fi
34719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34720 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34721
34722 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34723 for ac_func in _fpclass
34724 do :
34725 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34726 if test "x$ac_cv_func__fpclass" = x""yes; then :
34727 cat >>confdefs.h <<_ACEOF
34728 #define HAVE__FPCLASS 1
34729 _ACEOF
34730
34731 fi
34732 done
34733
34734 fi
34735 fi
34736
34737
34738
34739
34740
34741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34742 $as_echo_n "checking for qfpclass declaration... " >&6; }
34743 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34744 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34745 $as_echo_n "(cached) " >&6
34746 else
34747
34748
34749 ac_ext=cpp
34750 ac_cpp='$CXXCPP $CPPFLAGS'
34751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34754
34755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34756 /* end confdefs.h. */
34757 #include <math.h>
34758 #ifdef HAVE_IEEEFP_H
34759 #include <ieeefp.h>
34760 #endif
34761
34762 int
34763 main ()
34764 {
34765 qfpclass(0);
34766 ;
34767 return 0;
34768 }
34769 _ACEOF
34770 if ac_fn_cxx_try_compile "$LINENO"; then :
34771 glibcxx_cv_func_qfpclass_use=yes
34772 else
34773 glibcxx_cv_func_qfpclass_use=no
34774 fi
34775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34776 ac_ext=c
34777 ac_cpp='$CPP $CPPFLAGS'
34778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34781
34782
34783 fi
34784
34785 fi
34786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34787 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34788
34789 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34790 for ac_func in qfpclass
34791 do :
34792 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34793 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34794 cat >>confdefs.h <<_ACEOF
34795 #define HAVE_QFPCLASS 1
34796 _ACEOF
34797
34798 fi
34799 done
34800
34801 else
34802
34803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34804 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34805 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34806 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34807 $as_echo_n "(cached) " >&6
34808 else
34809
34810
34811 ac_ext=cpp
34812 ac_cpp='$CXXCPP $CPPFLAGS'
34813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34816
34817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34818 /* end confdefs.h. */
34819 #include <math.h>
34820 #ifdef HAVE_IEEEFP_H
34821 #include <ieeefp.h>
34822 #endif
34823
34824 int
34825 main ()
34826 {
34827 _qfpclass(0);
34828 ;
34829 return 0;
34830 }
34831 _ACEOF
34832 if ac_fn_cxx_try_compile "$LINENO"; then :
34833 glibcxx_cv_func__qfpclass_use=yes
34834 else
34835 glibcxx_cv_func__qfpclass_use=no
34836 fi
34837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34838 ac_ext=c
34839 ac_cpp='$CPP $CPPFLAGS'
34840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34843
34844
34845 fi
34846
34847 fi
34848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34849 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34850
34851 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34852 for ac_func in _qfpclass
34853 do :
34854 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34855 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34856 cat >>confdefs.h <<_ACEOF
34857 #define HAVE__QFPCLASS 1
34858 _ACEOF
34859
34860 fi
34861 done
34862
34863 fi
34864 fi
34865
34866
34867
34868
34869
34870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34871 $as_echo_n "checking for hypot declaration... " >&6; }
34872 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34873 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34874 $as_echo_n "(cached) " >&6
34875 else
34876
34877
34878 ac_ext=cpp
34879 ac_cpp='$CXXCPP $CPPFLAGS'
34880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34883
34884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34885 /* end confdefs.h. */
34886 #include <math.h>
34887 int
34888 main ()
34889 {
34890 hypot(0, 0);
34891 ;
34892 return 0;
34893 }
34894 _ACEOF
34895 if ac_fn_cxx_try_compile "$LINENO"; then :
34896 glibcxx_cv_func_hypot_use=yes
34897 else
34898 glibcxx_cv_func_hypot_use=no
34899 fi
34900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34901 ac_ext=c
34902 ac_cpp='$CPP $CPPFLAGS'
34903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34906
34907
34908 fi
34909
34910 fi
34911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34912 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34913
34914 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34915 for ac_func in hypot
34916 do :
34917 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34918 if test "x$ac_cv_func_hypot" = x""yes; then :
34919 cat >>confdefs.h <<_ACEOF
34920 #define HAVE_HYPOT 1
34921 _ACEOF
34922
34923 fi
34924 done
34925
34926 else
34927
34928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34929 $as_echo_n "checking for _hypot declaration... " >&6; }
34930 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34931 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34932 $as_echo_n "(cached) " >&6
34933 else
34934
34935
34936 ac_ext=cpp
34937 ac_cpp='$CXXCPP $CPPFLAGS'
34938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34941
34942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34943 /* end confdefs.h. */
34944 #include <math.h>
34945 int
34946 main ()
34947 {
34948 _hypot(0, 0);
34949 ;
34950 return 0;
34951 }
34952 _ACEOF
34953 if ac_fn_cxx_try_compile "$LINENO"; then :
34954 glibcxx_cv_func__hypot_use=yes
34955 else
34956 glibcxx_cv_func__hypot_use=no
34957 fi
34958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34959 ac_ext=c
34960 ac_cpp='$CPP $CPPFLAGS'
34961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34964
34965
34966 fi
34967
34968 fi
34969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34970 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34971
34972 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34973 for ac_func in _hypot
34974 do :
34975 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34976 if test "x$ac_cv_func__hypot" = x""yes; then :
34977 cat >>confdefs.h <<_ACEOF
34978 #define HAVE__HYPOT 1
34979 _ACEOF
34980
34981 fi
34982 done
34983
34984 fi
34985 fi
34986
34987
34988
34989
34990
34991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34992 $as_echo_n "checking for float trig functions... " >&6; }
34993 if test "${glibcxx_cv_func_float_trig_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 int
35008 main ()
35009 {
35010 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35011 ;
35012 return 0;
35013 }
35014 _ACEOF
35015 if ac_fn_cxx_try_compile "$LINENO"; then :
35016 glibcxx_cv_func_float_trig_use=yes
35017 else
35018 glibcxx_cv_func_float_trig_use=no
35019 fi
35020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35021 ac_ext=c
35022 ac_cpp='$CPP $CPPFLAGS'
35023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35026
35027 fi
35028
35029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35030 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35031 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35032 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35033 do :
35034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35036 eval as_val=\$$as_ac_var
35037 if test "x$as_val" = x""yes; then :
35038 cat >>confdefs.h <<_ACEOF
35039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35040 _ACEOF
35041
35042 fi
35043 done
35044
35045 else
35046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35047 $as_echo_n "checking for _float trig functions... " >&6; }
35048 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35049 $as_echo_n "(cached) " >&6
35050 else
35051
35052
35053 ac_ext=cpp
35054 ac_cpp='$CXXCPP $CPPFLAGS'
35055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35058
35059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35060 /* end confdefs.h. */
35061 #include <math.h>
35062 int
35063 main ()
35064 {
35065 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35066 ;
35067 return 0;
35068 }
35069 _ACEOF
35070 if ac_fn_cxx_try_compile "$LINENO"; then :
35071 glibcxx_cv_func__float_trig_use=yes
35072 else
35073 glibcxx_cv_func__float_trig_use=no
35074 fi
35075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35076 ac_ext=c
35077 ac_cpp='$CPP $CPPFLAGS'
35078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35081
35082 fi
35083
35084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35085 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35086 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35087 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35088 do :
35089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35091 eval as_val=\$$as_ac_var
35092 if test "x$as_val" = x""yes; then :
35093 cat >>confdefs.h <<_ACEOF
35094 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35095 _ACEOF
35096
35097 fi
35098 done
35099
35100 fi
35101 fi
35102
35103
35104
35105
35106
35107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35108 $as_echo_n "checking for float round functions... " >&6; }
35109 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35110 $as_echo_n "(cached) " >&6
35111 else
35112
35113
35114 ac_ext=cpp
35115 ac_cpp='$CXXCPP $CPPFLAGS'
35116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35119
35120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35121 /* end confdefs.h. */
35122 #include <math.h>
35123 int
35124 main ()
35125 {
35126 ceilf (0); floorf (0);
35127 ;
35128 return 0;
35129 }
35130 _ACEOF
35131 if ac_fn_cxx_try_compile "$LINENO"; then :
35132 glibcxx_cv_func_float_round_use=yes
35133 else
35134 glibcxx_cv_func_float_round_use=no
35135 fi
35136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35137 ac_ext=c
35138 ac_cpp='$CPP $CPPFLAGS'
35139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35142
35143 fi
35144
35145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35146 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35147 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35148 for ac_func in ceilf floorf
35149 do :
35150 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35151 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35152 eval as_val=\$$as_ac_var
35153 if test "x$as_val" = x""yes; then :
35154 cat >>confdefs.h <<_ACEOF
35155 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35156 _ACEOF
35157
35158 fi
35159 done
35160
35161 else
35162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35163 $as_echo_n "checking for _float round functions... " >&6; }
35164 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35165 $as_echo_n "(cached) " >&6
35166 else
35167
35168
35169 ac_ext=cpp
35170 ac_cpp='$CXXCPP $CPPFLAGS'
35171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35174
35175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35176 /* end confdefs.h. */
35177 #include <math.h>
35178 int
35179 main ()
35180 {
35181 _ceilf (0); _floorf (0);
35182 ;
35183 return 0;
35184 }
35185 _ACEOF
35186 if ac_fn_cxx_try_compile "$LINENO"; then :
35187 glibcxx_cv_func__float_round_use=yes
35188 else
35189 glibcxx_cv_func__float_round_use=no
35190 fi
35191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35192 ac_ext=c
35193 ac_cpp='$CPP $CPPFLAGS'
35194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35197
35198 fi
35199
35200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35201 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35202 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35203 for ac_func in _ceilf _floorf
35204 do :
35205 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35206 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35207 eval as_val=\$$as_ac_var
35208 if test "x$as_val" = x""yes; then :
35209 cat >>confdefs.h <<_ACEOF
35210 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35211 _ACEOF
35212
35213 fi
35214 done
35215
35216 fi
35217 fi
35218
35219
35220
35221
35222
35223
35224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35225 $as_echo_n "checking for expf declaration... " >&6; }
35226 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35227 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35228 $as_echo_n "(cached) " >&6
35229 else
35230
35231
35232 ac_ext=cpp
35233 ac_cpp='$CXXCPP $CPPFLAGS'
35234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35237
35238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35239 /* end confdefs.h. */
35240 #include <math.h>
35241 #ifdef HAVE_IEEEFP_H
35242 #include <ieeefp.h>
35243 #endif
35244
35245 int
35246 main ()
35247 {
35248 expf(0);
35249 ;
35250 return 0;
35251 }
35252 _ACEOF
35253 if ac_fn_cxx_try_compile "$LINENO"; then :
35254 glibcxx_cv_func_expf_use=yes
35255 else
35256 glibcxx_cv_func_expf_use=no
35257 fi
35258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35259 ac_ext=c
35260 ac_cpp='$CPP $CPPFLAGS'
35261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35264
35265
35266 fi
35267
35268 fi
35269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35270 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35271
35272 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35273 for ac_func in expf
35274 do :
35275 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35276 if test "x$ac_cv_func_expf" = x""yes; then :
35277 cat >>confdefs.h <<_ACEOF
35278 #define HAVE_EXPF 1
35279 _ACEOF
35280
35281 fi
35282 done
35283
35284 else
35285
35286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35287 $as_echo_n "checking for _expf declaration... " >&6; }
35288 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35289 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35290 $as_echo_n "(cached) " >&6
35291 else
35292
35293
35294 ac_ext=cpp
35295 ac_cpp='$CXXCPP $CPPFLAGS'
35296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35299
35300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35301 /* end confdefs.h. */
35302 #include <math.h>
35303 #ifdef HAVE_IEEEFP_H
35304 #include <ieeefp.h>
35305 #endif
35306
35307 int
35308 main ()
35309 {
35310 _expf(0);
35311 ;
35312 return 0;
35313 }
35314 _ACEOF
35315 if ac_fn_cxx_try_compile "$LINENO"; then :
35316 glibcxx_cv_func__expf_use=yes
35317 else
35318 glibcxx_cv_func__expf_use=no
35319 fi
35320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35321 ac_ext=c
35322 ac_cpp='$CPP $CPPFLAGS'
35323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35326
35327
35328 fi
35329
35330 fi
35331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35332 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35333
35334 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35335 for ac_func in _expf
35336 do :
35337 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35338 if test "x$ac_cv_func__expf" = x""yes; then :
35339 cat >>confdefs.h <<_ACEOF
35340 #define HAVE__EXPF 1
35341 _ACEOF
35342
35343 fi
35344 done
35345
35346 fi
35347 fi
35348
35349
35350
35351
35352
35353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35354 $as_echo_n "checking for isnanf declaration... " >&6; }
35355 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35356 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35357 $as_echo_n "(cached) " >&6
35358 else
35359
35360
35361 ac_ext=cpp
35362 ac_cpp='$CXXCPP $CPPFLAGS'
35363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35366
35367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35368 /* end confdefs.h. */
35369 #include <math.h>
35370 #ifdef HAVE_IEEEFP_H
35371 #include <ieeefp.h>
35372 #endif
35373
35374 int
35375 main ()
35376 {
35377 isnanf(0);
35378 ;
35379 return 0;
35380 }
35381 _ACEOF
35382 if ac_fn_cxx_try_compile "$LINENO"; then :
35383 glibcxx_cv_func_isnanf_use=yes
35384 else
35385 glibcxx_cv_func_isnanf_use=no
35386 fi
35387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35388 ac_ext=c
35389 ac_cpp='$CPP $CPPFLAGS'
35390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35393
35394
35395 fi
35396
35397 fi
35398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35399 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35400
35401 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35402 for ac_func in isnanf
35403 do :
35404 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35405 if test "x$ac_cv_func_isnanf" = x""yes; then :
35406 cat >>confdefs.h <<_ACEOF
35407 #define HAVE_ISNANF 1
35408 _ACEOF
35409
35410 fi
35411 done
35412
35413 else
35414
35415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35416 $as_echo_n "checking for _isnanf declaration... " >&6; }
35417 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35418 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35419 $as_echo_n "(cached) " >&6
35420 else
35421
35422
35423 ac_ext=cpp
35424 ac_cpp='$CXXCPP $CPPFLAGS'
35425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35428
35429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35430 /* end confdefs.h. */
35431 #include <math.h>
35432 #ifdef HAVE_IEEEFP_H
35433 #include <ieeefp.h>
35434 #endif
35435
35436 int
35437 main ()
35438 {
35439 _isnanf(0);
35440 ;
35441 return 0;
35442 }
35443 _ACEOF
35444 if ac_fn_cxx_try_compile "$LINENO"; then :
35445 glibcxx_cv_func__isnanf_use=yes
35446 else
35447 glibcxx_cv_func__isnanf_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__isnanf_use" >&5
35461 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35462
35463 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35464 for ac_func in _isnanf
35465 do :
35466 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35467 if test "x$ac_cv_func__isnanf" = x""yes; then :
35468 cat >>confdefs.h <<_ACEOF
35469 #define HAVE__ISNANF 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 isinff declaration" >&5
35483 $as_echo_n "checking for isinff declaration... " >&6; }
35484 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35485 if test "${glibcxx_cv_func_isinff_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 #ifdef HAVE_IEEEFP_H
35500 #include <ieeefp.h>
35501 #endif
35502
35503 int
35504 main ()
35505 {
35506 isinff(0);
35507 ;
35508 return 0;
35509 }
35510 _ACEOF
35511 if ac_fn_cxx_try_compile "$LINENO"; then :
35512 glibcxx_cv_func_isinff_use=yes
35513 else
35514 glibcxx_cv_func_isinff_use=no
35515 fi
35516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35517 ac_ext=c
35518 ac_cpp='$CPP $CPPFLAGS'
35519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35522
35523
35524 fi
35525
35526 fi
35527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35528 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35529
35530 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35531 for ac_func in isinff
35532 do :
35533 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35534 if test "x$ac_cv_func_isinff" = x""yes; then :
35535 cat >>confdefs.h <<_ACEOF
35536 #define HAVE_ISINFF 1
35537 _ACEOF
35538
35539 fi
35540 done
35541
35542 else
35543
35544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35545 $as_echo_n "checking for _isinff declaration... " >&6; }
35546 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35547 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35548 $as_echo_n "(cached) " >&6
35549 else
35550
35551
35552 ac_ext=cpp
35553 ac_cpp='$CXXCPP $CPPFLAGS'
35554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35557
35558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35559 /* end confdefs.h. */
35560 #include <math.h>
35561 #ifdef HAVE_IEEEFP_H
35562 #include <ieeefp.h>
35563 #endif
35564
35565 int
35566 main ()
35567 {
35568 _isinff(0);
35569 ;
35570 return 0;
35571 }
35572 _ACEOF
35573 if ac_fn_cxx_try_compile "$LINENO"; then :
35574 glibcxx_cv_func__isinff_use=yes
35575 else
35576 glibcxx_cv_func__isinff_use=no
35577 fi
35578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35579 ac_ext=c
35580 ac_cpp='$CPP $CPPFLAGS'
35581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35584
35585
35586 fi
35587
35588 fi
35589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35590 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35591
35592 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35593 for ac_func in _isinff
35594 do :
35595 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35596 if test "x$ac_cv_func__isinff" = x""yes; then :
35597 cat >>confdefs.h <<_ACEOF
35598 #define HAVE__ISINFF 1
35599 _ACEOF
35600
35601 fi
35602 done
35603
35604 fi
35605 fi
35606
35607
35608
35609
35610
35611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35612 $as_echo_n "checking for atan2f declaration... " >&6; }
35613 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35614 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35615 $as_echo_n "(cached) " >&6
35616 else
35617
35618
35619 ac_ext=cpp
35620 ac_cpp='$CXXCPP $CPPFLAGS'
35621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35624
35625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35626 /* end confdefs.h. */
35627 #include <math.h>
35628 int
35629 main ()
35630 {
35631 atan2f(0, 0);
35632 ;
35633 return 0;
35634 }
35635 _ACEOF
35636 if ac_fn_cxx_try_compile "$LINENO"; then :
35637 glibcxx_cv_func_atan2f_use=yes
35638 else
35639 glibcxx_cv_func_atan2f_use=no
35640 fi
35641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35642 ac_ext=c
35643 ac_cpp='$CPP $CPPFLAGS'
35644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35647
35648
35649 fi
35650
35651 fi
35652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35653 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35654
35655 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35656 for ac_func in atan2f
35657 do :
35658 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35659 if test "x$ac_cv_func_atan2f" = x""yes; then :
35660 cat >>confdefs.h <<_ACEOF
35661 #define HAVE_ATAN2F 1
35662 _ACEOF
35663
35664 fi
35665 done
35666
35667 else
35668
35669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35670 $as_echo_n "checking for _atan2f declaration... " >&6; }
35671 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35672 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35673 $as_echo_n "(cached) " >&6
35674 else
35675
35676
35677 ac_ext=cpp
35678 ac_cpp='$CXXCPP $CPPFLAGS'
35679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35682
35683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35684 /* end confdefs.h. */
35685 #include <math.h>
35686 int
35687 main ()
35688 {
35689 _atan2f(0, 0);
35690 ;
35691 return 0;
35692 }
35693 _ACEOF
35694 if ac_fn_cxx_try_compile "$LINENO"; then :
35695 glibcxx_cv_func__atan2f_use=yes
35696 else
35697 glibcxx_cv_func__atan2f_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__atan2f_use" >&5
35711 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35712
35713 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35714 for ac_func in _atan2f
35715 do :
35716 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35717 if test "x$ac_cv_func__atan2f" = x""yes; then :
35718 cat >>confdefs.h <<_ACEOF
35719 #define HAVE__ATAN2F 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 fabsf declaration" >&5
35733 $as_echo_n "checking for fabsf declaration... " >&6; }
35734 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35735 if test "${glibcxx_cv_func_fabsf_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 fabsf(0);
35757 ;
35758 return 0;
35759 }
35760 _ACEOF
35761 if ac_fn_cxx_try_compile "$LINENO"; then :
35762 glibcxx_cv_func_fabsf_use=yes
35763 else
35764 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
35778 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35779
35780 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35781 for ac_func in fabsf
35782 do :
35783 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35784 if test "x$ac_cv_func_fabsf" = x""yes; then :
35785 cat >>confdefs.h <<_ACEOF
35786 #define HAVE_FABSF 1
35787 _ACEOF
35788
35789 fi
35790 done
35791
35792 else
35793
35794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35795 $as_echo_n "checking for _fabsf declaration... " >&6; }
35796 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35797 if test "${glibcxx_cv_func__fabsf_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 _fabsf(0);
35819 ;
35820 return 0;
35821 }
35822 _ACEOF
35823 if ac_fn_cxx_try_compile "$LINENO"; then :
35824 glibcxx_cv_func__fabsf_use=yes
35825 else
35826 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
35840 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35841
35842 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35843 for ac_func in _fabsf
35844 do :
35845 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35846 if test "x$ac_cv_func__fabsf" = x""yes; then :
35847 cat >>confdefs.h <<_ACEOF
35848 #define HAVE__FABSF 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 fmodf declaration" >&5
35862 $as_echo_n "checking for fmodf declaration... " >&6; }
35863 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35864 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
35882 ;
35883 return 0;
35884 }
35885 _ACEOF
35886 if ac_fn_cxx_try_compile "$LINENO"; then :
35887 glibcxx_cv_func_fmodf_use=yes
35888 else
35889 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
35903 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35904
35905 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35906 for ac_func in fmodf
35907 do :
35908 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35909 if test "x$ac_cv_func_fmodf" = x""yes; then :
35910 cat >>confdefs.h <<_ACEOF
35911 #define HAVE_FMODF 1
35912 _ACEOF
35913
35914 fi
35915 done
35916
35917 else
35918
35919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35920 $as_echo_n "checking for _fmodf declaration... " >&6; }
35921 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35922 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
35940 ;
35941 return 0;
35942 }
35943 _ACEOF
35944 if ac_fn_cxx_try_compile "$LINENO"; then :
35945 glibcxx_cv_func__fmodf_use=yes
35946 else
35947 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
35961 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35962
35963 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35964 for ac_func in _fmodf
35965 do :
35966 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35967 if test "x$ac_cv_func__fmodf" = x""yes; then :
35968 cat >>confdefs.h <<_ACEOF
35969 #define HAVE__FMODF 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 frexpf declaration" >&5
35983 $as_echo_n "checking for frexpf declaration... " >&6; }
35984 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35985 if test "${glibcxx_cv_func_frexpf_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 frexpf(0, 0);
36003 ;
36004 return 0;
36005 }
36006 _ACEOF
36007 if ac_fn_cxx_try_compile "$LINENO"; then :
36008 glibcxx_cv_func_frexpf_use=yes
36009 else
36010 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
36024 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36025
36026 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36027 for ac_func in frexpf
36028 do :
36029 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36030 if test "x$ac_cv_func_frexpf" = x""yes; then :
36031 cat >>confdefs.h <<_ACEOF
36032 #define HAVE_FREXPF 1
36033 _ACEOF
36034
36035 fi
36036 done
36037
36038 else
36039
36040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36041 $as_echo_n "checking for _frexpf declaration... " >&6; }
36042 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36043 if test "${glibcxx_cv_func__frexpf_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 _frexpf(0, 0);
36061 ;
36062 return 0;
36063 }
36064 _ACEOF
36065 if ac_fn_cxx_try_compile "$LINENO"; then :
36066 glibcxx_cv_func__frexpf_use=yes
36067 else
36068 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
36082 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36083
36084 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36085 for ac_func in _frexpf
36086 do :
36087 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36088 if test "x$ac_cv_func__frexpf" = x""yes; then :
36089 cat >>confdefs.h <<_ACEOF
36090 #define HAVE__FREXPF 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 hypotf declaration" >&5
36104 $as_echo_n "checking for hypotf declaration... " >&6; }
36105 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36106 if test "${glibcxx_cv_func_hypotf_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 hypotf(0, 0);
36124 ;
36125 return 0;
36126 }
36127 _ACEOF
36128 if ac_fn_cxx_try_compile "$LINENO"; then :
36129 glibcxx_cv_func_hypotf_use=yes
36130 else
36131 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
36145 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36146
36147 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36148 for ac_func in hypotf
36149 do :
36150 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36151 if test "x$ac_cv_func_hypotf" = x""yes; then :
36152 cat >>confdefs.h <<_ACEOF
36153 #define HAVE_HYPOTF 1
36154 _ACEOF
36155
36156 fi
36157 done
36158
36159 else
36160
36161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36162 $as_echo_n "checking for _hypotf declaration... " >&6; }
36163 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36164 if test "${glibcxx_cv_func__hypotf_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 _hypotf(0, 0);
36182 ;
36183 return 0;
36184 }
36185 _ACEOF
36186 if ac_fn_cxx_try_compile "$LINENO"; then :
36187 glibcxx_cv_func__hypotf_use=yes
36188 else
36189 glibcxx_cv_func__hypotf_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__hypotf_use" >&5
36203 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36204
36205 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36206 for ac_func in _hypotf
36207 do :
36208 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36209 if test "x$ac_cv_func__hypotf" = x""yes; then :
36210 cat >>confdefs.h <<_ACEOF
36211 #define HAVE__HYPOTF 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 ldexpf declaration" >&5
36225 $as_echo_n "checking for ldexpf declaration... " >&6; }
36226 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36227 if test "${glibcxx_cv_func_ldexpf_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 int
36242 main ()
36243 {
36244 ldexpf(0, 0);
36245 ;
36246 return 0;
36247 }
36248 _ACEOF
36249 if ac_fn_cxx_try_compile "$LINENO"; then :
36250 glibcxx_cv_func_ldexpf_use=yes
36251 else
36252 glibcxx_cv_func_ldexpf_use=no
36253 fi
36254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36255 ac_ext=c
36256 ac_cpp='$CPP $CPPFLAGS'
36257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36260
36261
36262 fi
36263
36264 fi
36265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36266 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36267
36268 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36269 for ac_func in ldexpf
36270 do :
36271 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36272 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36273 cat >>confdefs.h <<_ACEOF
36274 #define HAVE_LDEXPF 1
36275 _ACEOF
36276
36277 fi
36278 done
36279
36280 else
36281
36282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36283 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36284 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36285 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36286 $as_echo_n "(cached) " >&6
36287 else
36288
36289
36290 ac_ext=cpp
36291 ac_cpp='$CXXCPP $CPPFLAGS'
36292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36295
36296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36297 /* end confdefs.h. */
36298 #include <math.h>
36299 int
36300 main ()
36301 {
36302 _ldexpf(0, 0);
36303 ;
36304 return 0;
36305 }
36306 _ACEOF
36307 if ac_fn_cxx_try_compile "$LINENO"; then :
36308 glibcxx_cv_func__ldexpf_use=yes
36309 else
36310 glibcxx_cv_func__ldexpf_use=no
36311 fi
36312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36313 ac_ext=c
36314 ac_cpp='$CPP $CPPFLAGS'
36315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36318
36319
36320 fi
36321
36322 fi
36323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36324 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36325
36326 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36327 for ac_func in _ldexpf
36328 do :
36329 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36330 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36331 cat >>confdefs.h <<_ACEOF
36332 #define HAVE__LDEXPF 1
36333 _ACEOF
36334
36335 fi
36336 done
36337
36338 fi
36339 fi
36340
36341
36342
36343
36344
36345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36346 $as_echo_n "checking for logf declaration... " >&6; }
36347 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36348 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36349 $as_echo_n "(cached) " >&6
36350 else
36351
36352
36353 ac_ext=cpp
36354 ac_cpp='$CXXCPP $CPPFLAGS'
36355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36358
36359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36360 /* end confdefs.h. */
36361 #include <math.h>
36362 #ifdef HAVE_IEEEFP_H
36363 #include <ieeefp.h>
36364 #endif
36365
36366 int
36367 main ()
36368 {
36369 logf(0);
36370 ;
36371 return 0;
36372 }
36373 _ACEOF
36374 if ac_fn_cxx_try_compile "$LINENO"; then :
36375 glibcxx_cv_func_logf_use=yes
36376 else
36377 glibcxx_cv_func_logf_use=no
36378 fi
36379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36380 ac_ext=c
36381 ac_cpp='$CPP $CPPFLAGS'
36382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36385
36386
36387 fi
36388
36389 fi
36390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36391 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36392
36393 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36394 for ac_func in logf
36395 do :
36396 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36397 if test "x$ac_cv_func_logf" = x""yes; then :
36398 cat >>confdefs.h <<_ACEOF
36399 #define HAVE_LOGF 1
36400 _ACEOF
36401
36402 fi
36403 done
36404
36405 else
36406
36407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36408 $as_echo_n "checking for _logf declaration... " >&6; }
36409 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36410 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36411 $as_echo_n "(cached) " >&6
36412 else
36413
36414
36415 ac_ext=cpp
36416 ac_cpp='$CXXCPP $CPPFLAGS'
36417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36420
36421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36422 /* end confdefs.h. */
36423 #include <math.h>
36424 #ifdef HAVE_IEEEFP_H
36425 #include <ieeefp.h>
36426 #endif
36427
36428 int
36429 main ()
36430 {
36431 _logf(0);
36432 ;
36433 return 0;
36434 }
36435 _ACEOF
36436 if ac_fn_cxx_try_compile "$LINENO"; then :
36437 glibcxx_cv_func__logf_use=yes
36438 else
36439 glibcxx_cv_func__logf_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__logf_use" >&5
36453 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36454
36455 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36456 for ac_func in _logf
36457 do :
36458 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36459 if test "x$ac_cv_func__logf" = x""yes; then :
36460 cat >>confdefs.h <<_ACEOF
36461 #define HAVE__LOGF 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 log10f declaration" >&5
36475 $as_echo_n "checking for log10f declaration... " >&6; }
36476 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36477 if test "${glibcxx_cv_func_log10f_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 log10f(0);
36499 ;
36500 return 0;
36501 }
36502 _ACEOF
36503 if ac_fn_cxx_try_compile "$LINENO"; then :
36504 glibcxx_cv_func_log10f_use=yes
36505 else
36506 glibcxx_cv_func_log10f_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_log10f_use" >&5
36520 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36521
36522 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36523 for ac_func in log10f
36524 do :
36525 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36526 if test "x$ac_cv_func_log10f" = x""yes; then :
36527 cat >>confdefs.h <<_ACEOF
36528 #define HAVE_LOG10F 1
36529 _ACEOF
36530
36531 fi
36532 done
36533
36534 else
36535
36536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36537 $as_echo_n "checking for _log10f declaration... " >&6; }
36538 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36539 if test "${glibcxx_cv_func__log10f_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 _log10f(0);
36561 ;
36562 return 0;
36563 }
36564 _ACEOF
36565 if ac_fn_cxx_try_compile "$LINENO"; then :
36566 glibcxx_cv_func__log10f_use=yes
36567 else
36568 glibcxx_cv_func__log10f_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__log10f_use" >&5
36582 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36583
36584 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36585 for ac_func in _log10f
36586 do :
36587 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36588 if test "x$ac_cv_func__log10f" = x""yes; then :
36589 cat >>confdefs.h <<_ACEOF
36590 #define HAVE__LOG10F 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 modff declaration" >&5
36604 $as_echo_n "checking for modff declaration... " >&6; }
36605 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36606 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36607 $as_echo_n "(cached) " >&6
36608 else
36609
36610
36611 ac_ext=cpp
36612 ac_cpp='$CXXCPP $CPPFLAGS'
36613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36616
36617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36618 /* end confdefs.h. */
36619 #include <math.h>
36620 int
36621 main ()
36622 {
36623 modff(0, 0);
36624 ;
36625 return 0;
36626 }
36627 _ACEOF
36628 if ac_fn_cxx_try_compile "$LINENO"; then :
36629 glibcxx_cv_func_modff_use=yes
36630 else
36631 glibcxx_cv_func_modff_use=no
36632 fi
36633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36634 ac_ext=c
36635 ac_cpp='$CPP $CPPFLAGS'
36636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36639
36640
36641 fi
36642
36643 fi
36644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36645 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36646
36647 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36648 for ac_func in modff
36649 do :
36650 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36651 if test "x$ac_cv_func_modff" = x""yes; then :
36652 cat >>confdefs.h <<_ACEOF
36653 #define HAVE_MODFF 1
36654 _ACEOF
36655
36656 fi
36657 done
36658
36659 else
36660
36661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36662 $as_echo_n "checking for _modff declaration... " >&6; }
36663 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36664 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36665 $as_echo_n "(cached) " >&6
36666 else
36667
36668
36669 ac_ext=cpp
36670 ac_cpp='$CXXCPP $CPPFLAGS'
36671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36674
36675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36676 /* end confdefs.h. */
36677 #include <math.h>
36678 int
36679 main ()
36680 {
36681 _modff(0, 0);
36682 ;
36683 return 0;
36684 }
36685 _ACEOF
36686 if ac_fn_cxx_try_compile "$LINENO"; then :
36687 glibcxx_cv_func__modff_use=yes
36688 else
36689 glibcxx_cv_func__modff_use=no
36690 fi
36691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36692 ac_ext=c
36693 ac_cpp='$CPP $CPPFLAGS'
36694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36697
36698
36699 fi
36700
36701 fi
36702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36703 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36704
36705 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36706 for ac_func in _modff
36707 do :
36708 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36709 if test "x$ac_cv_func__modff" = x""yes; then :
36710 cat >>confdefs.h <<_ACEOF
36711 #define HAVE__MODFF 1
36712 _ACEOF
36713
36714 fi
36715 done
36716
36717 fi
36718 fi
36719
36720
36721
36722
36723
36724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36725 $as_echo_n "checking for modf declaration... " >&6; }
36726 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36727 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36728 $as_echo_n "(cached) " >&6
36729 else
36730
36731
36732 ac_ext=cpp
36733 ac_cpp='$CXXCPP $CPPFLAGS'
36734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36737
36738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36739 /* end confdefs.h. */
36740 #include <math.h>
36741 int
36742 main ()
36743 {
36744 modf(0, 0);
36745 ;
36746 return 0;
36747 }
36748 _ACEOF
36749 if ac_fn_cxx_try_compile "$LINENO"; then :
36750 glibcxx_cv_func_modf_use=yes
36751 else
36752 glibcxx_cv_func_modf_use=no
36753 fi
36754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36755 ac_ext=c
36756 ac_cpp='$CPP $CPPFLAGS'
36757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36760
36761
36762 fi
36763
36764 fi
36765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36766 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36767
36768 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36769 for ac_func in modf
36770 do :
36771 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36772 if test "x$ac_cv_func_modf" = x""yes; then :
36773 cat >>confdefs.h <<_ACEOF
36774 #define HAVE_MODF 1
36775 _ACEOF
36776
36777 fi
36778 done
36779
36780 else
36781
36782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36783 $as_echo_n "checking for _modf declaration... " >&6; }
36784 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36785 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36786 $as_echo_n "(cached) " >&6
36787 else
36788
36789
36790 ac_ext=cpp
36791 ac_cpp='$CXXCPP $CPPFLAGS'
36792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36795
36796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36797 /* end confdefs.h. */
36798 #include <math.h>
36799 int
36800 main ()
36801 {
36802 _modf(0, 0);
36803 ;
36804 return 0;
36805 }
36806 _ACEOF
36807 if ac_fn_cxx_try_compile "$LINENO"; then :
36808 glibcxx_cv_func__modf_use=yes
36809 else
36810 glibcxx_cv_func__modf_use=no
36811 fi
36812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36813 ac_ext=c
36814 ac_cpp='$CPP $CPPFLAGS'
36815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36818
36819
36820 fi
36821
36822 fi
36823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36824 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36825
36826 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36827 for ac_func in _modf
36828 do :
36829 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36830 if test "x$ac_cv_func__modf" = x""yes; then :
36831 cat >>confdefs.h <<_ACEOF
36832 #define HAVE__MODF 1
36833 _ACEOF
36834
36835 fi
36836 done
36837
36838 fi
36839 fi
36840
36841
36842
36843
36844
36845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36846 $as_echo_n "checking for powf declaration... " >&6; }
36847 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36848 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36849 $as_echo_n "(cached) " >&6
36850 else
36851
36852
36853 ac_ext=cpp
36854 ac_cpp='$CXXCPP $CPPFLAGS'
36855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36858
36859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36860 /* end confdefs.h. */
36861 #include <math.h>
36862 int
36863 main ()
36864 {
36865 powf(0, 0);
36866 ;
36867 return 0;
36868 }
36869 _ACEOF
36870 if ac_fn_cxx_try_compile "$LINENO"; then :
36871 glibcxx_cv_func_powf_use=yes
36872 else
36873 glibcxx_cv_func_powf_use=no
36874 fi
36875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36876 ac_ext=c
36877 ac_cpp='$CPP $CPPFLAGS'
36878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36881
36882
36883 fi
36884
36885 fi
36886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36887 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36888
36889 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36890 for ac_func in powf
36891 do :
36892 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36893 if test "x$ac_cv_func_powf" = x""yes; then :
36894 cat >>confdefs.h <<_ACEOF
36895 #define HAVE_POWF 1
36896 _ACEOF
36897
36898 fi
36899 done
36900
36901 else
36902
36903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36904 $as_echo_n "checking for _powf declaration... " >&6; }
36905 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36906 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36907 $as_echo_n "(cached) " >&6
36908 else
36909
36910
36911 ac_ext=cpp
36912 ac_cpp='$CXXCPP $CPPFLAGS'
36913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36916
36917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36918 /* end confdefs.h. */
36919 #include <math.h>
36920 int
36921 main ()
36922 {
36923 _powf(0, 0);
36924 ;
36925 return 0;
36926 }
36927 _ACEOF
36928 if ac_fn_cxx_try_compile "$LINENO"; then :
36929 glibcxx_cv_func__powf_use=yes
36930 else
36931 glibcxx_cv_func__powf_use=no
36932 fi
36933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36934 ac_ext=c
36935 ac_cpp='$CPP $CPPFLAGS'
36936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36939
36940
36941 fi
36942
36943 fi
36944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36945 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36946
36947 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36948 for ac_func in _powf
36949 do :
36950 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36951 if test "x$ac_cv_func__powf" = x""yes; then :
36952 cat >>confdefs.h <<_ACEOF
36953 #define HAVE__POWF 1
36954 _ACEOF
36955
36956 fi
36957 done
36958
36959 fi
36960 fi
36961
36962
36963
36964
36965
36966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36967 $as_echo_n "checking for sqrtf declaration... " >&6; }
36968 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36969 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36970 $as_echo_n "(cached) " >&6
36971 else
36972
36973
36974 ac_ext=cpp
36975 ac_cpp='$CXXCPP $CPPFLAGS'
36976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36979
36980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36981 /* end confdefs.h. */
36982 #include <math.h>
36983 #ifdef HAVE_IEEEFP_H
36984 #include <ieeefp.h>
36985 #endif
36986
36987 int
36988 main ()
36989 {
36990 sqrtf(0);
36991 ;
36992 return 0;
36993 }
36994 _ACEOF
36995 if ac_fn_cxx_try_compile "$LINENO"; then :
36996 glibcxx_cv_func_sqrtf_use=yes
36997 else
36998 glibcxx_cv_func_sqrtf_use=no
36999 fi
37000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37001 ac_ext=c
37002 ac_cpp='$CPP $CPPFLAGS'
37003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37006
37007
37008 fi
37009
37010 fi
37011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37012 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37013
37014 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37015 for ac_func in sqrtf
37016 do :
37017 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37018 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37019 cat >>confdefs.h <<_ACEOF
37020 #define HAVE_SQRTF 1
37021 _ACEOF
37022
37023 fi
37024 done
37025
37026 else
37027
37028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37029 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37030 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37031 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37032 $as_echo_n "(cached) " >&6
37033 else
37034
37035
37036 ac_ext=cpp
37037 ac_cpp='$CXXCPP $CPPFLAGS'
37038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37041
37042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37043 /* end confdefs.h. */
37044 #include <math.h>
37045 #ifdef HAVE_IEEEFP_H
37046 #include <ieeefp.h>
37047 #endif
37048
37049 int
37050 main ()
37051 {
37052 _sqrtf(0);
37053 ;
37054 return 0;
37055 }
37056 _ACEOF
37057 if ac_fn_cxx_try_compile "$LINENO"; then :
37058 glibcxx_cv_func__sqrtf_use=yes
37059 else
37060 glibcxx_cv_func__sqrtf_use=no
37061 fi
37062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37063 ac_ext=c
37064 ac_cpp='$CPP $CPPFLAGS'
37065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37068
37069
37070 fi
37071
37072 fi
37073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37074 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37075
37076 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37077 for ac_func in _sqrtf
37078 do :
37079 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37080 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37081 cat >>confdefs.h <<_ACEOF
37082 #define HAVE__SQRTF 1
37083 _ACEOF
37084
37085 fi
37086 done
37087
37088 fi
37089 fi
37090
37091
37092
37093
37094
37095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37096 $as_echo_n "checking for sincosf declaration... " >&6; }
37097 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37098 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37099 $as_echo_n "(cached) " >&6
37100 else
37101
37102
37103 ac_ext=cpp
37104 ac_cpp='$CXXCPP $CPPFLAGS'
37105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37108
37109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37110 /* end confdefs.h. */
37111 #include <math.h>
37112 int
37113 main ()
37114 {
37115 sincosf(0, 0, 0);
37116 ;
37117 return 0;
37118 }
37119 _ACEOF
37120 if ac_fn_cxx_try_compile "$LINENO"; then :
37121 glibcxx_cv_func_sincosf_use=yes
37122 else
37123 glibcxx_cv_func_sincosf_use=no
37124 fi
37125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37126 ac_ext=c
37127 ac_cpp='$CPP $CPPFLAGS'
37128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37131
37132
37133 fi
37134
37135 fi
37136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37137 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37138
37139 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37140 for ac_func in sincosf
37141 do :
37142 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37143 if test "x$ac_cv_func_sincosf" = x""yes; then :
37144 cat >>confdefs.h <<_ACEOF
37145 #define HAVE_SINCOSF 1
37146 _ACEOF
37147
37148 fi
37149 done
37150
37151 else
37152
37153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37154 $as_echo_n "checking for _sincosf declaration... " >&6; }
37155 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37156 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37157 $as_echo_n "(cached) " >&6
37158 else
37159
37160
37161 ac_ext=cpp
37162 ac_cpp='$CXXCPP $CPPFLAGS'
37163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37166
37167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37168 /* end confdefs.h. */
37169 #include <math.h>
37170 int
37171 main ()
37172 {
37173 _sincosf(0, 0, 0);
37174 ;
37175 return 0;
37176 }
37177 _ACEOF
37178 if ac_fn_cxx_try_compile "$LINENO"; then :
37179 glibcxx_cv_func__sincosf_use=yes
37180 else
37181 glibcxx_cv_func__sincosf_use=no
37182 fi
37183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37184 ac_ext=c
37185 ac_cpp='$CPP $CPPFLAGS'
37186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37189
37190
37191 fi
37192
37193 fi
37194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37195 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37196
37197 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37198 for ac_func in _sincosf
37199 do :
37200 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37201 if test "x$ac_cv_func__sincosf" = x""yes; then :
37202 cat >>confdefs.h <<_ACEOF
37203 #define HAVE__SINCOSF 1
37204 _ACEOF
37205
37206 fi
37207 done
37208
37209 fi
37210 fi
37211
37212
37213
37214
37215
37216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37217 $as_echo_n "checking for finitef declaration... " >&6; }
37218 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37219 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37220 $as_echo_n "(cached) " >&6
37221 else
37222
37223
37224 ac_ext=cpp
37225 ac_cpp='$CXXCPP $CPPFLAGS'
37226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37229
37230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37231 /* end confdefs.h. */
37232 #include <math.h>
37233 #ifdef HAVE_IEEEFP_H
37234 #include <ieeefp.h>
37235 #endif
37236
37237 int
37238 main ()
37239 {
37240 finitef(0);
37241 ;
37242 return 0;
37243 }
37244 _ACEOF
37245 if ac_fn_cxx_try_compile "$LINENO"; then :
37246 glibcxx_cv_func_finitef_use=yes
37247 else
37248 glibcxx_cv_func_finitef_use=no
37249 fi
37250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37251 ac_ext=c
37252 ac_cpp='$CPP $CPPFLAGS'
37253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37256
37257
37258 fi
37259
37260 fi
37261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37262 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37263
37264 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37265 for ac_func in finitef
37266 do :
37267 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37268 if test "x$ac_cv_func_finitef" = x""yes; then :
37269 cat >>confdefs.h <<_ACEOF
37270 #define HAVE_FINITEF 1
37271 _ACEOF
37272
37273 fi
37274 done
37275
37276 else
37277
37278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37279 $as_echo_n "checking for _finitef declaration... " >&6; }
37280 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37281 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37282 $as_echo_n "(cached) " >&6
37283 else
37284
37285
37286 ac_ext=cpp
37287 ac_cpp='$CXXCPP $CPPFLAGS'
37288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37291
37292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37293 /* end confdefs.h. */
37294 #include <math.h>
37295 #ifdef HAVE_IEEEFP_H
37296 #include <ieeefp.h>
37297 #endif
37298
37299 int
37300 main ()
37301 {
37302 _finitef(0);
37303 ;
37304 return 0;
37305 }
37306 _ACEOF
37307 if ac_fn_cxx_try_compile "$LINENO"; then :
37308 glibcxx_cv_func__finitef_use=yes
37309 else
37310 glibcxx_cv_func__finitef_use=no
37311 fi
37312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37313 ac_ext=c
37314 ac_cpp='$CPP $CPPFLAGS'
37315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37318
37319
37320 fi
37321
37322 fi
37323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37324 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37325
37326 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37327 for ac_func in _finitef
37328 do :
37329 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37330 if test "x$ac_cv_func__finitef" = x""yes; then :
37331 cat >>confdefs.h <<_ACEOF
37332 #define HAVE__FINITEF 1
37333 _ACEOF
37334
37335 fi
37336 done
37337
37338 fi
37339 fi
37340
37341
37342
37343
37344
37345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37346 $as_echo_n "checking for long double trig functions... " >&6; }
37347 if test "${glibcxx_cv_func_long_double_trig_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 int
37362 main ()
37363 {
37364 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37365 ;
37366 return 0;
37367 }
37368 _ACEOF
37369 if ac_fn_cxx_try_compile "$LINENO"; then :
37370 glibcxx_cv_func_long_double_trig_use=yes
37371 else
37372 glibcxx_cv_func_long_double_trig_use=no
37373 fi
37374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37375 ac_ext=c
37376 ac_cpp='$CPP $CPPFLAGS'
37377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37380
37381 fi
37382
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37384 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37385 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37386 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37387 do :
37388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37390 eval as_val=\$$as_ac_var
37391 if test "x$as_val" = x""yes; then :
37392 cat >>confdefs.h <<_ACEOF
37393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37394 _ACEOF
37395
37396 fi
37397 done
37398
37399 else
37400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37401 $as_echo_n "checking for _long double trig functions... " >&6; }
37402 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37403 $as_echo_n "(cached) " >&6
37404 else
37405
37406
37407 ac_ext=cpp
37408 ac_cpp='$CXXCPP $CPPFLAGS'
37409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37412
37413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37414 /* end confdefs.h. */
37415 #include <math.h>
37416 int
37417 main ()
37418 {
37419 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37420 ;
37421 return 0;
37422 }
37423 _ACEOF
37424 if ac_fn_cxx_try_compile "$LINENO"; then :
37425 glibcxx_cv_func__long_double_trig_use=yes
37426 else
37427 glibcxx_cv_func__long_double_trig_use=no
37428 fi
37429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37430 ac_ext=c
37431 ac_cpp='$CPP $CPPFLAGS'
37432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37435
37436 fi
37437
37438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37439 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37440 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37441 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37442 do :
37443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37445 eval as_val=\$$as_ac_var
37446 if test "x$as_val" = x""yes; then :
37447 cat >>confdefs.h <<_ACEOF
37448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37449 _ACEOF
37450
37451 fi
37452 done
37453
37454 fi
37455 fi
37456
37457
37458
37459
37460
37461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37462 $as_echo_n "checking for long double round functions... " >&6; }
37463 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37464 $as_echo_n "(cached) " >&6
37465 else
37466
37467
37468 ac_ext=cpp
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37473
37474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37475 /* end confdefs.h. */
37476 #include <math.h>
37477 int
37478 main ()
37479 {
37480 ceill (0); floorl (0);
37481 ;
37482 return 0;
37483 }
37484 _ACEOF
37485 if ac_fn_cxx_try_compile "$LINENO"; then :
37486 glibcxx_cv_func_long_double_round_use=yes
37487 else
37488 glibcxx_cv_func_long_double_round_use=no
37489 fi
37490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37491 ac_ext=c
37492 ac_cpp='$CPP $CPPFLAGS'
37493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37496
37497 fi
37498
37499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37500 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37501 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37502 for ac_func in ceill floorl
37503 do :
37504 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37505 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37506 eval as_val=\$$as_ac_var
37507 if test "x$as_val" = x""yes; then :
37508 cat >>confdefs.h <<_ACEOF
37509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37510 _ACEOF
37511
37512 fi
37513 done
37514
37515 else
37516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37517 $as_echo_n "checking for _long double round functions... " >&6; }
37518 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37519 $as_echo_n "(cached) " >&6
37520 else
37521
37522
37523 ac_ext=cpp
37524 ac_cpp='$CXXCPP $CPPFLAGS'
37525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37528
37529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37530 /* end confdefs.h. */
37531 #include <math.h>
37532 int
37533 main ()
37534 {
37535 _ceill (0); _floorl (0);
37536 ;
37537 return 0;
37538 }
37539 _ACEOF
37540 if ac_fn_cxx_try_compile "$LINENO"; then :
37541 glibcxx_cv_func__long_double_round_use=yes
37542 else
37543 glibcxx_cv_func__long_double_round_use=no
37544 fi
37545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37546 ac_ext=c
37547 ac_cpp='$CPP $CPPFLAGS'
37548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37551
37552 fi
37553
37554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37555 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37556 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37557 for ac_func in _ceill _floorl
37558 do :
37559 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37560 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37561 eval as_val=\$$as_ac_var
37562 if test "x$as_val" = x""yes; then :
37563 cat >>confdefs.h <<_ACEOF
37564 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37565 _ACEOF
37566
37567 fi
37568 done
37569
37570 fi
37571 fi
37572
37573
37574
37575
37576
37577
37578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37579 $as_echo_n "checking for isnanl declaration... " >&6; }
37580 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37581 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37582 $as_echo_n "(cached) " >&6
37583 else
37584
37585
37586 ac_ext=cpp
37587 ac_cpp='$CXXCPP $CPPFLAGS'
37588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37591
37592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37593 /* end confdefs.h. */
37594 #include <math.h>
37595 #ifdef HAVE_IEEEFP_H
37596 #include <ieeefp.h>
37597 #endif
37598
37599 int
37600 main ()
37601 {
37602 isnanl(0);
37603 ;
37604 return 0;
37605 }
37606 _ACEOF
37607 if ac_fn_cxx_try_compile "$LINENO"; then :
37608 glibcxx_cv_func_isnanl_use=yes
37609 else
37610 glibcxx_cv_func_isnanl_use=no
37611 fi
37612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37613 ac_ext=c
37614 ac_cpp='$CPP $CPPFLAGS'
37615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37618
37619
37620 fi
37621
37622 fi
37623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37624 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37625
37626 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37627 for ac_func in isnanl
37628 do :
37629 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37630 if test "x$ac_cv_func_isnanl" = x""yes; then :
37631 cat >>confdefs.h <<_ACEOF
37632 #define HAVE_ISNANL 1
37633 _ACEOF
37634
37635 fi
37636 done
37637
37638 else
37639
37640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37641 $as_echo_n "checking for _isnanl declaration... " >&6; }
37642 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37643 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37644 $as_echo_n "(cached) " >&6
37645 else
37646
37647
37648 ac_ext=cpp
37649 ac_cpp='$CXXCPP $CPPFLAGS'
37650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37653
37654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37655 /* end confdefs.h. */
37656 #include <math.h>
37657 #ifdef HAVE_IEEEFP_H
37658 #include <ieeefp.h>
37659 #endif
37660
37661 int
37662 main ()
37663 {
37664 _isnanl(0);
37665 ;
37666 return 0;
37667 }
37668 _ACEOF
37669 if ac_fn_cxx_try_compile "$LINENO"; then :
37670 glibcxx_cv_func__isnanl_use=yes
37671 else
37672 glibcxx_cv_func__isnanl_use=no
37673 fi
37674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37675 ac_ext=c
37676 ac_cpp='$CPP $CPPFLAGS'
37677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37680
37681
37682 fi
37683
37684 fi
37685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37686 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37687
37688 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37689 for ac_func in _isnanl
37690 do :
37691 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37692 if test "x$ac_cv_func__isnanl" = x""yes; then :
37693 cat >>confdefs.h <<_ACEOF
37694 #define HAVE__ISNANL 1
37695 _ACEOF
37696
37697 fi
37698 done
37699
37700 fi
37701 fi
37702
37703
37704
37705
37706
37707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37708 $as_echo_n "checking for isinfl declaration... " >&6; }
37709 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37710 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37711 $as_echo_n "(cached) " >&6
37712 else
37713
37714
37715 ac_ext=cpp
37716 ac_cpp='$CXXCPP $CPPFLAGS'
37717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37720
37721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37722 /* end confdefs.h. */
37723 #include <math.h>
37724 #ifdef HAVE_IEEEFP_H
37725 #include <ieeefp.h>
37726 #endif
37727
37728 int
37729 main ()
37730 {
37731 isinfl(0);
37732 ;
37733 return 0;
37734 }
37735 _ACEOF
37736 if ac_fn_cxx_try_compile "$LINENO"; then :
37737 glibcxx_cv_func_isinfl_use=yes
37738 else
37739 glibcxx_cv_func_isinfl_use=no
37740 fi
37741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37742 ac_ext=c
37743 ac_cpp='$CPP $CPPFLAGS'
37744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37747
37748
37749 fi
37750
37751 fi
37752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37753 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37754
37755 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37756 for ac_func in isinfl
37757 do :
37758 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37759 if test "x$ac_cv_func_isinfl" = x""yes; then :
37760 cat >>confdefs.h <<_ACEOF
37761 #define HAVE_ISINFL 1
37762 _ACEOF
37763
37764 fi
37765 done
37766
37767 else
37768
37769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37770 $as_echo_n "checking for _isinfl declaration... " >&6; }
37771 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37772 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37773 $as_echo_n "(cached) " >&6
37774 else
37775
37776
37777 ac_ext=cpp
37778 ac_cpp='$CXXCPP $CPPFLAGS'
37779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37782
37783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37784 /* end confdefs.h. */
37785 #include <math.h>
37786 #ifdef HAVE_IEEEFP_H
37787 #include <ieeefp.h>
37788 #endif
37789
37790 int
37791 main ()
37792 {
37793 _isinfl(0);
37794 ;
37795 return 0;
37796 }
37797 _ACEOF
37798 if ac_fn_cxx_try_compile "$LINENO"; then :
37799 glibcxx_cv_func__isinfl_use=yes
37800 else
37801 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
37815 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37816
37817 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37818 for ac_func in _isinfl
37819 do :
37820 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37821 if test "x$ac_cv_func__isinfl" = x""yes; then :
37822 cat >>confdefs.h <<_ACEOF
37823 #define HAVE__ISINFL 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 atan2l declaration" >&5
37837 $as_echo_n "checking for atan2l declaration... " >&6; }
37838 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37839 if test "${glibcxx_cv_func_atan2l_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 atan2l(0, 0);
37857 ;
37858 return 0;
37859 }
37860 _ACEOF
37861 if ac_fn_cxx_try_compile "$LINENO"; then :
37862 glibcxx_cv_func_atan2l_use=yes
37863 else
37864 glibcxx_cv_func_atan2l_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_atan2l_use" >&5
37878 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37879
37880 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37881 for ac_func in atan2l
37882 do :
37883 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37884 if test "x$ac_cv_func_atan2l" = x""yes; then :
37885 cat >>confdefs.h <<_ACEOF
37886 #define HAVE_ATAN2L 1
37887 _ACEOF
37888
37889 fi
37890 done
37891
37892 else
37893
37894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37895 $as_echo_n "checking for _atan2l declaration... " >&6; }
37896 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37897 if test "${glibcxx_cv_func__atan2l_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 _atan2l(0, 0);
37915 ;
37916 return 0;
37917 }
37918 _ACEOF
37919 if ac_fn_cxx_try_compile "$LINENO"; then :
37920 glibcxx_cv_func__atan2l_use=yes
37921 else
37922 glibcxx_cv_func__atan2l_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__atan2l_use" >&5
37936 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37937
37938 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37939 for ac_func in _atan2l
37940 do :
37941 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37942 if test "x$ac_cv_func__atan2l" = x""yes; then :
37943 cat >>confdefs.h <<_ACEOF
37944 #define HAVE__ATAN2L 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 expl declaration" >&5
37958 $as_echo_n "checking for expl declaration... " >&6; }
37959 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37960 if test "${glibcxx_cv_func_expl_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 expl(0);
37982 ;
37983 return 0;
37984 }
37985 _ACEOF
37986 if ac_fn_cxx_try_compile "$LINENO"; then :
37987 glibcxx_cv_func_expl_use=yes
37988 else
37989 glibcxx_cv_func_expl_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_expl_use" >&5
38003 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38004
38005 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38006 for ac_func in expl
38007 do :
38008 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38009 if test "x$ac_cv_func_expl" = x""yes; then :
38010 cat >>confdefs.h <<_ACEOF
38011 #define HAVE_EXPL 1
38012 _ACEOF
38013
38014 fi
38015 done
38016
38017 else
38018
38019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38020 $as_echo_n "checking for _expl declaration... " >&6; }
38021 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38022 if test "${glibcxx_cv_func__expl_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 _expl(0);
38044 ;
38045 return 0;
38046 }
38047 _ACEOF
38048 if ac_fn_cxx_try_compile "$LINENO"; then :
38049 glibcxx_cv_func__expl_use=yes
38050 else
38051 glibcxx_cv_func__expl_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__expl_use" >&5
38065 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38066
38067 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38068 for ac_func in _expl
38069 do :
38070 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38071 if test "x$ac_cv_func__expl" = x""yes; then :
38072 cat >>confdefs.h <<_ACEOF
38073 #define HAVE__EXPL 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 fabsl declaration" >&5
38087 $as_echo_n "checking for fabsl declaration... " >&6; }
38088 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38089 if test "${glibcxx_cv_func_fabsl_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 fabsl(0);
38111 ;
38112 return 0;
38113 }
38114 _ACEOF
38115 if ac_fn_cxx_try_compile "$LINENO"; then :
38116 glibcxx_cv_func_fabsl_use=yes
38117 else
38118 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
38132 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38133
38134 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38135 for ac_func in fabsl
38136 do :
38137 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38138 if test "x$ac_cv_func_fabsl" = x""yes; then :
38139 cat >>confdefs.h <<_ACEOF
38140 #define HAVE_FABSL 1
38141 _ACEOF
38142
38143 fi
38144 done
38145
38146 else
38147
38148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38149 $as_echo_n "checking for _fabsl declaration... " >&6; }
38150 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38151 if test "${glibcxx_cv_func__fabsl_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 _fabsl(0);
38173 ;
38174 return 0;
38175 }
38176 _ACEOF
38177 if ac_fn_cxx_try_compile "$LINENO"; then :
38178 glibcxx_cv_func__fabsl_use=yes
38179 else
38180 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
38194 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38195
38196 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38197 for ac_func in _fabsl
38198 do :
38199 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38200 if test "x$ac_cv_func__fabsl" = x""yes; then :
38201 cat >>confdefs.h <<_ACEOF
38202 #define HAVE__FABSL 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 fmodl declaration" >&5
38216 $as_echo_n "checking for fmodl declaration... " >&6; }
38217 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38218 if test "${glibcxx_cv_func_fmodl_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 fmodl(0, 0);
38236 ;
38237 return 0;
38238 }
38239 _ACEOF
38240 if ac_fn_cxx_try_compile "$LINENO"; then :
38241 glibcxx_cv_func_fmodl_use=yes
38242 else
38243 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
38257 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38258
38259 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38260 for ac_func in fmodl
38261 do :
38262 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38263 if test "x$ac_cv_func_fmodl" = x""yes; then :
38264 cat >>confdefs.h <<_ACEOF
38265 #define HAVE_FMODL 1
38266 _ACEOF
38267
38268 fi
38269 done
38270
38271 else
38272
38273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38274 $as_echo_n "checking for _fmodl declaration... " >&6; }
38275 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38276 if test "${glibcxx_cv_func__fmodl_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 _fmodl(0, 0);
38294 ;
38295 return 0;
38296 }
38297 _ACEOF
38298 if ac_fn_cxx_try_compile "$LINENO"; then :
38299 glibcxx_cv_func__fmodl_use=yes
38300 else
38301 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
38315 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38316
38317 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38318 for ac_func in _fmodl
38319 do :
38320 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38321 if test "x$ac_cv_func__fmodl" = x""yes; then :
38322 cat >>confdefs.h <<_ACEOF
38323 #define HAVE__FMODL 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 frexpl declaration" >&5
38337 $as_echo_n "checking for frexpl declaration... " >&6; }
38338 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38339 if test "${glibcxx_cv_func_frexpl_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 frexpl(0, 0);
38357 ;
38358 return 0;
38359 }
38360 _ACEOF
38361 if ac_fn_cxx_try_compile "$LINENO"; then :
38362 glibcxx_cv_func_frexpl_use=yes
38363 else
38364 glibcxx_cv_func_frexpl_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_frexpl_use" >&5
38378 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38379
38380 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38381 for ac_func in frexpl
38382 do :
38383 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38384 if test "x$ac_cv_func_frexpl" = x""yes; then :
38385 cat >>confdefs.h <<_ACEOF
38386 #define HAVE_FREXPL 1
38387 _ACEOF
38388
38389 fi
38390 done
38391
38392 else
38393
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38395 $as_echo_n "checking for _frexpl declaration... " >&6; }
38396 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38397 if test "${glibcxx_cv_func__frexpl_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 _frexpl(0, 0);
38415 ;
38416 return 0;
38417 }
38418 _ACEOF
38419 if ac_fn_cxx_try_compile "$LINENO"; then :
38420 glibcxx_cv_func__frexpl_use=yes
38421 else
38422 glibcxx_cv_func__frexpl_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__frexpl_use" >&5
38436 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38437
38438 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38439 for ac_func in _frexpl
38440 do :
38441 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38442 if test "x$ac_cv_func__frexpl" = x""yes; then :
38443 cat >>confdefs.h <<_ACEOF
38444 #define HAVE__FREXPL 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 hypotl declaration" >&5
38458 $as_echo_n "checking for hypotl declaration... " >&6; }
38459 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38460 if test "${glibcxx_cv_func_hypotl_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 int
38475 main ()
38476 {
38477 hypotl(0, 0);
38478 ;
38479 return 0;
38480 }
38481 _ACEOF
38482 if ac_fn_cxx_try_compile "$LINENO"; then :
38483 glibcxx_cv_func_hypotl_use=yes
38484 else
38485 glibcxx_cv_func_hypotl_use=no
38486 fi
38487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38488 ac_ext=c
38489 ac_cpp='$CPP $CPPFLAGS'
38490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38493
38494
38495 fi
38496
38497 fi
38498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38499 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38500
38501 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38502 for ac_func in hypotl
38503 do :
38504 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38505 if test "x$ac_cv_func_hypotl" = x""yes; then :
38506 cat >>confdefs.h <<_ACEOF
38507 #define HAVE_HYPOTL 1
38508 _ACEOF
38509
38510 fi
38511 done
38512
38513 else
38514
38515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38516 $as_echo_n "checking for _hypotl declaration... " >&6; }
38517 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38518 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38519 $as_echo_n "(cached) " >&6
38520 else
38521
38522
38523 ac_ext=cpp
38524 ac_cpp='$CXXCPP $CPPFLAGS'
38525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38528
38529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38530 /* end confdefs.h. */
38531 #include <math.h>
38532 int
38533 main ()
38534 {
38535 _hypotl(0, 0);
38536 ;
38537 return 0;
38538 }
38539 _ACEOF
38540 if ac_fn_cxx_try_compile "$LINENO"; then :
38541 glibcxx_cv_func__hypotl_use=yes
38542 else
38543 glibcxx_cv_func__hypotl_use=no
38544 fi
38545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38546 ac_ext=c
38547 ac_cpp='$CPP $CPPFLAGS'
38548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38551
38552
38553 fi
38554
38555 fi
38556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38557 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38558
38559 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38560 for ac_func in _hypotl
38561 do :
38562 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38563 if test "x$ac_cv_func__hypotl" = x""yes; then :
38564 cat >>confdefs.h <<_ACEOF
38565 #define HAVE__HYPOTL 1
38566 _ACEOF
38567
38568 fi
38569 done
38570
38571 fi
38572 fi
38573
38574
38575
38576
38577
38578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38579 $as_echo_n "checking for ldexpl declaration... " >&6; }
38580 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38581 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38582 $as_echo_n "(cached) " >&6
38583 else
38584
38585
38586 ac_ext=cpp
38587 ac_cpp='$CXXCPP $CPPFLAGS'
38588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38591
38592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38593 /* end confdefs.h. */
38594 #include <math.h>
38595 int
38596 main ()
38597 {
38598 ldexpl(0, 0);
38599 ;
38600 return 0;
38601 }
38602 _ACEOF
38603 if ac_fn_cxx_try_compile "$LINENO"; then :
38604 glibcxx_cv_func_ldexpl_use=yes
38605 else
38606 glibcxx_cv_func_ldexpl_use=no
38607 fi
38608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38609 ac_ext=c
38610 ac_cpp='$CPP $CPPFLAGS'
38611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38614
38615
38616 fi
38617
38618 fi
38619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38620 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38621
38622 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38623 for ac_func in ldexpl
38624 do :
38625 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38626 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38627 cat >>confdefs.h <<_ACEOF
38628 #define HAVE_LDEXPL 1
38629 _ACEOF
38630
38631 fi
38632 done
38633
38634 else
38635
38636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38637 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38638 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38639 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38640 $as_echo_n "(cached) " >&6
38641 else
38642
38643
38644 ac_ext=cpp
38645 ac_cpp='$CXXCPP $CPPFLAGS'
38646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38649
38650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38651 /* end confdefs.h. */
38652 #include <math.h>
38653 int
38654 main ()
38655 {
38656 _ldexpl(0, 0);
38657 ;
38658 return 0;
38659 }
38660 _ACEOF
38661 if ac_fn_cxx_try_compile "$LINENO"; then :
38662 glibcxx_cv_func__ldexpl_use=yes
38663 else
38664 glibcxx_cv_func__ldexpl_use=no
38665 fi
38666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38667 ac_ext=c
38668 ac_cpp='$CPP $CPPFLAGS'
38669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38672
38673
38674 fi
38675
38676 fi
38677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38678 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38679
38680 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38681 for ac_func in _ldexpl
38682 do :
38683 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38684 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38685 cat >>confdefs.h <<_ACEOF
38686 #define HAVE__LDEXPL 1
38687 _ACEOF
38688
38689 fi
38690 done
38691
38692 fi
38693 fi
38694
38695
38696
38697
38698
38699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38700 $as_echo_n "checking for logl declaration... " >&6; }
38701 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38702 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38703 $as_echo_n "(cached) " >&6
38704 else
38705
38706
38707 ac_ext=cpp
38708 ac_cpp='$CXXCPP $CPPFLAGS'
38709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38712
38713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38714 /* end confdefs.h. */
38715 #include <math.h>
38716 #ifdef HAVE_IEEEFP_H
38717 #include <ieeefp.h>
38718 #endif
38719
38720 int
38721 main ()
38722 {
38723 logl(0);
38724 ;
38725 return 0;
38726 }
38727 _ACEOF
38728 if ac_fn_cxx_try_compile "$LINENO"; then :
38729 glibcxx_cv_func_logl_use=yes
38730 else
38731 glibcxx_cv_func_logl_use=no
38732 fi
38733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38734 ac_ext=c
38735 ac_cpp='$CPP $CPPFLAGS'
38736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38739
38740
38741 fi
38742
38743 fi
38744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38745 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38746
38747 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38748 for ac_func in logl
38749 do :
38750 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38751 if test "x$ac_cv_func_logl" = x""yes; then :
38752 cat >>confdefs.h <<_ACEOF
38753 #define HAVE_LOGL 1
38754 _ACEOF
38755
38756 fi
38757 done
38758
38759 else
38760
38761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38762 $as_echo_n "checking for _logl declaration... " >&6; }
38763 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38764 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38765 $as_echo_n "(cached) " >&6
38766 else
38767
38768
38769 ac_ext=cpp
38770 ac_cpp='$CXXCPP $CPPFLAGS'
38771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38774
38775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38776 /* end confdefs.h. */
38777 #include <math.h>
38778 #ifdef HAVE_IEEEFP_H
38779 #include <ieeefp.h>
38780 #endif
38781
38782 int
38783 main ()
38784 {
38785 _logl(0);
38786 ;
38787 return 0;
38788 }
38789 _ACEOF
38790 if ac_fn_cxx_try_compile "$LINENO"; then :
38791 glibcxx_cv_func__logl_use=yes
38792 else
38793 glibcxx_cv_func__logl_use=no
38794 fi
38795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38796 ac_ext=c
38797 ac_cpp='$CPP $CPPFLAGS'
38798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38801
38802
38803 fi
38804
38805 fi
38806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38807 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38808
38809 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38810 for ac_func in _logl
38811 do :
38812 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38813 if test "x$ac_cv_func__logl" = x""yes; then :
38814 cat >>confdefs.h <<_ACEOF
38815 #define HAVE__LOGL 1
38816 _ACEOF
38817
38818 fi
38819 done
38820
38821 fi
38822 fi
38823
38824
38825
38826
38827
38828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38829 $as_echo_n "checking for log10l declaration... " >&6; }
38830 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38831 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38832 $as_echo_n "(cached) " >&6
38833 else
38834
38835
38836 ac_ext=cpp
38837 ac_cpp='$CXXCPP $CPPFLAGS'
38838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38841
38842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38843 /* end confdefs.h. */
38844 #include <math.h>
38845 #ifdef HAVE_IEEEFP_H
38846 #include <ieeefp.h>
38847 #endif
38848
38849 int
38850 main ()
38851 {
38852 log10l(0);
38853 ;
38854 return 0;
38855 }
38856 _ACEOF
38857 if ac_fn_cxx_try_compile "$LINENO"; then :
38858 glibcxx_cv_func_log10l_use=yes
38859 else
38860 glibcxx_cv_func_log10l_use=no
38861 fi
38862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38863 ac_ext=c
38864 ac_cpp='$CPP $CPPFLAGS'
38865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38868
38869
38870 fi
38871
38872 fi
38873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38874 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38875
38876 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38877 for ac_func in log10l
38878 do :
38879 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38880 if test "x$ac_cv_func_log10l" = x""yes; then :
38881 cat >>confdefs.h <<_ACEOF
38882 #define HAVE_LOG10L 1
38883 _ACEOF
38884
38885 fi
38886 done
38887
38888 else
38889
38890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38891 $as_echo_n "checking for _log10l declaration... " >&6; }
38892 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38893 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38894 $as_echo_n "(cached) " >&6
38895 else
38896
38897
38898 ac_ext=cpp
38899 ac_cpp='$CXXCPP $CPPFLAGS'
38900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38903
38904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38905 /* end confdefs.h. */
38906 #include <math.h>
38907 #ifdef HAVE_IEEEFP_H
38908 #include <ieeefp.h>
38909 #endif
38910
38911 int
38912 main ()
38913 {
38914 _log10l(0);
38915 ;
38916 return 0;
38917 }
38918 _ACEOF
38919 if ac_fn_cxx_try_compile "$LINENO"; then :
38920 glibcxx_cv_func__log10l_use=yes
38921 else
38922 glibcxx_cv_func__log10l_use=no
38923 fi
38924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38925 ac_ext=c
38926 ac_cpp='$CPP $CPPFLAGS'
38927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38930
38931
38932 fi
38933
38934 fi
38935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38936 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38937
38938 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38939 for ac_func in _log10l
38940 do :
38941 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38942 if test "x$ac_cv_func__log10l" = x""yes; then :
38943 cat >>confdefs.h <<_ACEOF
38944 #define HAVE__LOG10L 1
38945 _ACEOF
38946
38947 fi
38948 done
38949
38950 fi
38951 fi
38952
38953
38954
38955
38956
38957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38958 $as_echo_n "checking for modfl declaration... " >&6; }
38959 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38960 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38961 $as_echo_n "(cached) " >&6
38962 else
38963
38964
38965 ac_ext=cpp
38966 ac_cpp='$CXXCPP $CPPFLAGS'
38967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38970
38971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38972 /* end confdefs.h. */
38973 #include <math.h>
38974 int
38975 main ()
38976 {
38977 modfl(0, 0);
38978 ;
38979 return 0;
38980 }
38981 _ACEOF
38982 if ac_fn_cxx_try_compile "$LINENO"; then :
38983 glibcxx_cv_func_modfl_use=yes
38984 else
38985 glibcxx_cv_func_modfl_use=no
38986 fi
38987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38988 ac_ext=c
38989 ac_cpp='$CPP $CPPFLAGS'
38990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38993
38994
38995 fi
38996
38997 fi
38998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
38999 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39000
39001 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39002 for ac_func in modfl
39003 do :
39004 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39005 if test "x$ac_cv_func_modfl" = x""yes; then :
39006 cat >>confdefs.h <<_ACEOF
39007 #define HAVE_MODFL 1
39008 _ACEOF
39009
39010 fi
39011 done
39012
39013 else
39014
39015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39016 $as_echo_n "checking for _modfl declaration... " >&6; }
39017 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39018 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39019 $as_echo_n "(cached) " >&6
39020 else
39021
39022
39023 ac_ext=cpp
39024 ac_cpp='$CXXCPP $CPPFLAGS'
39025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39028
39029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39030 /* end confdefs.h. */
39031 #include <math.h>
39032 int
39033 main ()
39034 {
39035 _modfl(0, 0);
39036 ;
39037 return 0;
39038 }
39039 _ACEOF
39040 if ac_fn_cxx_try_compile "$LINENO"; then :
39041 glibcxx_cv_func__modfl_use=yes
39042 else
39043 glibcxx_cv_func__modfl_use=no
39044 fi
39045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39046 ac_ext=c
39047 ac_cpp='$CPP $CPPFLAGS'
39048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39051
39052
39053 fi
39054
39055 fi
39056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39057 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39058
39059 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39060 for ac_func in _modfl
39061 do :
39062 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39063 if test "x$ac_cv_func__modfl" = x""yes; then :
39064 cat >>confdefs.h <<_ACEOF
39065 #define HAVE__MODFL 1
39066 _ACEOF
39067
39068 fi
39069 done
39070
39071 fi
39072 fi
39073
39074
39075
39076
39077
39078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39079 $as_echo_n "checking for powl declaration... " >&6; }
39080 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39081 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39082 $as_echo_n "(cached) " >&6
39083 else
39084
39085
39086 ac_ext=cpp
39087 ac_cpp='$CXXCPP $CPPFLAGS'
39088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39091
39092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39093 /* end confdefs.h. */
39094 #include <math.h>
39095 int
39096 main ()
39097 {
39098 powl(0, 0);
39099 ;
39100 return 0;
39101 }
39102 _ACEOF
39103 if ac_fn_cxx_try_compile "$LINENO"; then :
39104 glibcxx_cv_func_powl_use=yes
39105 else
39106 glibcxx_cv_func_powl_use=no
39107 fi
39108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39109 ac_ext=c
39110 ac_cpp='$CPP $CPPFLAGS'
39111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39114
39115
39116 fi
39117
39118 fi
39119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39120 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39121
39122 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39123 for ac_func in powl
39124 do :
39125 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39126 if test "x$ac_cv_func_powl" = x""yes; then :
39127 cat >>confdefs.h <<_ACEOF
39128 #define HAVE_POWL 1
39129 _ACEOF
39130
39131 fi
39132 done
39133
39134 else
39135
39136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39137 $as_echo_n "checking for _powl declaration... " >&6; }
39138 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39139 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39140 $as_echo_n "(cached) " >&6
39141 else
39142
39143
39144 ac_ext=cpp
39145 ac_cpp='$CXXCPP $CPPFLAGS'
39146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39149
39150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39151 /* end confdefs.h. */
39152 #include <math.h>
39153 int
39154 main ()
39155 {
39156 _powl(0, 0);
39157 ;
39158 return 0;
39159 }
39160 _ACEOF
39161 if ac_fn_cxx_try_compile "$LINENO"; then :
39162 glibcxx_cv_func__powl_use=yes
39163 else
39164 glibcxx_cv_func__powl_use=no
39165 fi
39166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39167 ac_ext=c
39168 ac_cpp='$CPP $CPPFLAGS'
39169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39172
39173
39174 fi
39175
39176 fi
39177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39178 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39179
39180 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39181 for ac_func in _powl
39182 do :
39183 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39184 if test "x$ac_cv_func__powl" = x""yes; then :
39185 cat >>confdefs.h <<_ACEOF
39186 #define HAVE__POWL 1
39187 _ACEOF
39188
39189 fi
39190 done
39191
39192 fi
39193 fi
39194
39195
39196
39197
39198
39199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39200 $as_echo_n "checking for sqrtl declaration... " >&6; }
39201 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39202 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39203 $as_echo_n "(cached) " >&6
39204 else
39205
39206
39207 ac_ext=cpp
39208 ac_cpp='$CXXCPP $CPPFLAGS'
39209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39212
39213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39214 /* end confdefs.h. */
39215 #include <math.h>
39216 #ifdef HAVE_IEEEFP_H
39217 #include <ieeefp.h>
39218 #endif
39219
39220 int
39221 main ()
39222 {
39223 sqrtl(0);
39224 ;
39225 return 0;
39226 }
39227 _ACEOF
39228 if ac_fn_cxx_try_compile "$LINENO"; then :
39229 glibcxx_cv_func_sqrtl_use=yes
39230 else
39231 glibcxx_cv_func_sqrtl_use=no
39232 fi
39233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39234 ac_ext=c
39235 ac_cpp='$CPP $CPPFLAGS'
39236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39239
39240
39241 fi
39242
39243 fi
39244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39245 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39246
39247 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39248 for ac_func in sqrtl
39249 do :
39250 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39251 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39252 cat >>confdefs.h <<_ACEOF
39253 #define HAVE_SQRTL 1
39254 _ACEOF
39255
39256 fi
39257 done
39258
39259 else
39260
39261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39262 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39263 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39264 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39265 $as_echo_n "(cached) " >&6
39266 else
39267
39268
39269 ac_ext=cpp
39270 ac_cpp='$CXXCPP $CPPFLAGS'
39271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39274
39275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39276 /* end confdefs.h. */
39277 #include <math.h>
39278 #ifdef HAVE_IEEEFP_H
39279 #include <ieeefp.h>
39280 #endif
39281
39282 int
39283 main ()
39284 {
39285 _sqrtl(0);
39286 ;
39287 return 0;
39288 }
39289 _ACEOF
39290 if ac_fn_cxx_try_compile "$LINENO"; then :
39291 glibcxx_cv_func__sqrtl_use=yes
39292 else
39293 glibcxx_cv_func__sqrtl_use=no
39294 fi
39295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39296 ac_ext=c
39297 ac_cpp='$CPP $CPPFLAGS'
39298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39301
39302
39303 fi
39304
39305 fi
39306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39307 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39308
39309 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39310 for ac_func in _sqrtl
39311 do :
39312 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39313 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39314 cat >>confdefs.h <<_ACEOF
39315 #define HAVE__SQRTL 1
39316 _ACEOF
39317
39318 fi
39319 done
39320
39321 fi
39322 fi
39323
39324
39325
39326
39327
39328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39329 $as_echo_n "checking for sincosl declaration... " >&6; }
39330 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39331 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39332 $as_echo_n "(cached) " >&6
39333 else
39334
39335
39336 ac_ext=cpp
39337 ac_cpp='$CXXCPP $CPPFLAGS'
39338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39341
39342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39343 /* end confdefs.h. */
39344 #include <math.h>
39345 int
39346 main ()
39347 {
39348 sincosl(0, 0, 0);
39349 ;
39350 return 0;
39351 }
39352 _ACEOF
39353 if ac_fn_cxx_try_compile "$LINENO"; then :
39354 glibcxx_cv_func_sincosl_use=yes
39355 else
39356 glibcxx_cv_func_sincosl_use=no
39357 fi
39358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39359 ac_ext=c
39360 ac_cpp='$CPP $CPPFLAGS'
39361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39364
39365
39366 fi
39367
39368 fi
39369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39370 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39371
39372 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39373 for ac_func in sincosl
39374 do :
39375 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39376 if test "x$ac_cv_func_sincosl" = x""yes; then :
39377 cat >>confdefs.h <<_ACEOF
39378 #define HAVE_SINCOSL 1
39379 _ACEOF
39380
39381 fi
39382 done
39383
39384 else
39385
39386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39387 $as_echo_n "checking for _sincosl declaration... " >&6; }
39388 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39389 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39390 $as_echo_n "(cached) " >&6
39391 else
39392
39393
39394 ac_ext=cpp
39395 ac_cpp='$CXXCPP $CPPFLAGS'
39396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39399
39400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39401 /* end confdefs.h. */
39402 #include <math.h>
39403 int
39404 main ()
39405 {
39406 _sincosl(0, 0, 0);
39407 ;
39408 return 0;
39409 }
39410 _ACEOF
39411 if ac_fn_cxx_try_compile "$LINENO"; then :
39412 glibcxx_cv_func__sincosl_use=yes
39413 else
39414 glibcxx_cv_func__sincosl_use=no
39415 fi
39416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39417 ac_ext=c
39418 ac_cpp='$CPP $CPPFLAGS'
39419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39422
39423
39424 fi
39425
39426 fi
39427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39428 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39429
39430 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39431 for ac_func in _sincosl
39432 do :
39433 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39434 if test "x$ac_cv_func__sincosl" = x""yes; then :
39435 cat >>confdefs.h <<_ACEOF
39436 #define HAVE__SINCOSL 1
39437 _ACEOF
39438
39439 fi
39440 done
39441
39442 fi
39443 fi
39444
39445
39446
39447
39448
39449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39450 $as_echo_n "checking for finitel declaration... " >&6; }
39451 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39452 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39453 $as_echo_n "(cached) " >&6
39454 else
39455
39456
39457 ac_ext=cpp
39458 ac_cpp='$CXXCPP $CPPFLAGS'
39459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39462
39463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39464 /* end confdefs.h. */
39465 #include <math.h>
39466 #ifdef HAVE_IEEEFP_H
39467 #include <ieeefp.h>
39468 #endif
39469
39470 int
39471 main ()
39472 {
39473 finitel(0);
39474 ;
39475 return 0;
39476 }
39477 _ACEOF
39478 if ac_fn_cxx_try_compile "$LINENO"; then :
39479 glibcxx_cv_func_finitel_use=yes
39480 else
39481 glibcxx_cv_func_finitel_use=no
39482 fi
39483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39484 ac_ext=c
39485 ac_cpp='$CPP $CPPFLAGS'
39486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39489
39490
39491 fi
39492
39493 fi
39494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39495 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39496
39497 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39498 for ac_func in finitel
39499 do :
39500 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39501 if test "x$ac_cv_func_finitel" = x""yes; then :
39502 cat >>confdefs.h <<_ACEOF
39503 #define HAVE_FINITEL 1
39504 _ACEOF
39505
39506 fi
39507 done
39508
39509 else
39510
39511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39512 $as_echo_n "checking for _finitel declaration... " >&6; }
39513 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39514 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39515 $as_echo_n "(cached) " >&6
39516 else
39517
39518
39519 ac_ext=cpp
39520 ac_cpp='$CXXCPP $CPPFLAGS'
39521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39524
39525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39526 /* end confdefs.h. */
39527 #include <math.h>
39528 #ifdef HAVE_IEEEFP_H
39529 #include <ieeefp.h>
39530 #endif
39531
39532 int
39533 main ()
39534 {
39535 _finitel(0);
39536 ;
39537 return 0;
39538 }
39539 _ACEOF
39540 if ac_fn_cxx_try_compile "$LINENO"; then :
39541 glibcxx_cv_func__finitel_use=yes
39542 else
39543 glibcxx_cv_func__finitel_use=no
39544 fi
39545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39546 ac_ext=c
39547 ac_cpp='$CPP $CPPFLAGS'
39548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39551
39552
39553 fi
39554
39555 fi
39556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39557 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39558
39559 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39560 for ac_func in _finitel
39561 do :
39562 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39563 if test "x$ac_cv_func__finitel" = x""yes; then :
39564 cat >>confdefs.h <<_ACEOF
39565 #define HAVE__FINITEL 1
39566 _ACEOF
39567
39568 fi
39569 done
39570
39571 fi
39572 fi
39573
39574
39575
39576
39577 LIBS="$ac_save_LIBS"
39578 CXXFLAGS="$ac_save_CXXFLAGS"
39579
39580
39581 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39582 ac_save_CXXFLAGS="$CXXFLAGS"
39583 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39584
39585
39586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39587 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39588 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39589 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39590 $as_echo_n "(cached) " >&6
39591 else
39592
39593
39594 ac_ext=cpp
39595 ac_cpp='$CXXCPP $CPPFLAGS'
39596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39599
39600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39601 /* end confdefs.h. */
39602 #include <stdlib.h>
39603 int
39604 main ()
39605 {
39606 at_quick_exit(0);
39607 ;
39608 return 0;
39609 }
39610 _ACEOF
39611 if ac_fn_cxx_try_compile "$LINENO"; then :
39612 glibcxx_cv_func_at_quick_exit_use=yes
39613 else
39614 glibcxx_cv_func_at_quick_exit_use=no
39615 fi
39616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39617 ac_ext=c
39618 ac_cpp='$CPP $CPPFLAGS'
39619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39622
39623
39624 fi
39625
39626 fi
39627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39628 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39629 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39630 for ac_func in at_quick_exit
39631 do :
39632 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39633 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39634 cat >>confdefs.h <<_ACEOF
39635 #define HAVE_AT_QUICK_EXIT 1
39636 _ACEOF
39637
39638 fi
39639 done
39640
39641 fi
39642
39643
39644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39645 $as_echo_n "checking for quick_exit declaration... " >&6; }
39646 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39647 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39648 $as_echo_n "(cached) " >&6
39649 else
39650
39651
39652 ac_ext=cpp
39653 ac_cpp='$CXXCPP $CPPFLAGS'
39654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39657
39658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39659 /* end confdefs.h. */
39660 #include <stdlib.h>
39661 int
39662 main ()
39663 {
39664 quick_exit(0);
39665 ;
39666 return 0;
39667 }
39668 _ACEOF
39669 if ac_fn_cxx_try_compile "$LINENO"; then :
39670 glibcxx_cv_func_quick_exit_use=yes
39671 else
39672 glibcxx_cv_func_quick_exit_use=no
39673 fi
39674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39675 ac_ext=c
39676 ac_cpp='$CPP $CPPFLAGS'
39677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39680
39681
39682 fi
39683
39684 fi
39685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39686 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39687 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39688 for ac_func in quick_exit
39689 do :
39690 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39691 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39692 cat >>confdefs.h <<_ACEOF
39693 #define HAVE_QUICK_EXIT 1
39694 _ACEOF
39695
39696 fi
39697 done
39698
39699 fi
39700
39701
39702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39703 $as_echo_n "checking for strtold declaration... " >&6; }
39704 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39705 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39706 $as_echo_n "(cached) " >&6
39707 else
39708
39709
39710 ac_ext=cpp
39711 ac_cpp='$CXXCPP $CPPFLAGS'
39712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39715
39716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39717 /* end confdefs.h. */
39718 #include <stdlib.h>
39719 int
39720 main ()
39721 {
39722 strtold(0, 0);
39723 ;
39724 return 0;
39725 }
39726 _ACEOF
39727 if ac_fn_cxx_try_compile "$LINENO"; then :
39728 glibcxx_cv_func_strtold_use=yes
39729 else
39730 glibcxx_cv_func_strtold_use=no
39731 fi
39732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39733 ac_ext=c
39734 ac_cpp='$CPP $CPPFLAGS'
39735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39738
39739
39740 fi
39741
39742 fi
39743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39744 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39745 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39746 for ac_func in strtold
39747 do :
39748 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39749 if test "x$ac_cv_func_strtold" = x""yes; then :
39750 cat >>confdefs.h <<_ACEOF
39751 #define HAVE_STRTOLD 1
39752 _ACEOF
39753
39754 fi
39755 done
39756
39757 fi
39758
39759
39760
39761
39762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39763 $as_echo_n "checking for strtof declaration... " >&6; }
39764 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39765 if test "${glibcxx_cv_func_strtof_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 <stdlib.h>
39779 int
39780 main ()
39781 {
39782 strtof(0, 0);
39783 ;
39784 return 0;
39785 }
39786 _ACEOF
39787 if ac_fn_cxx_try_compile "$LINENO"; then :
39788 glibcxx_cv_func_strtof_use=yes
39789 else
39790 glibcxx_cv_func_strtof_use=no
39791 fi
39792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39793 ac_ext=c
39794 ac_cpp='$CPP $CPPFLAGS'
39795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39798
39799
39800 fi
39801
39802 fi
39803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39804 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39805 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39806 for ac_func in strtof
39807 do :
39808 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39809 if test "x$ac_cv_func_strtof" = x""yes; then :
39810 cat >>confdefs.h <<_ACEOF
39811 #define HAVE_STRTOF 1
39812 _ACEOF
39813
39814 fi
39815 done
39816
39817 fi
39818
39819
39820
39821
39822 CXXFLAGS="$ac_save_CXXFLAGS"
39823
39824
39825
39826
39827
39828
39829 am_save_CPPFLAGS="$CPPFLAGS"
39830
39831 for element in $INCICONV; do
39832 haveit=
39833 for x in $CPPFLAGS; do
39834
39835 acl_save_prefix="$prefix"
39836 prefix="$acl_final_prefix"
39837 acl_save_exec_prefix="$exec_prefix"
39838 exec_prefix="$acl_final_exec_prefix"
39839 eval x=\"$x\"
39840 exec_prefix="$acl_save_exec_prefix"
39841 prefix="$acl_save_prefix"
39842
39843 if test "X$x" = "X$element"; then
39844 haveit=yes
39845 break
39846 fi
39847 done
39848 if test -z "$haveit"; then
39849 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39850 fi
39851 done
39852
39853
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39855 $as_echo_n "checking for iconv... " >&6; }
39856 if test "${am_cv_func_iconv+set}" = set; then :
39857 $as_echo_n "(cached) " >&6
39858 else
39859
39860 am_cv_func_iconv="no, consider installing GNU libiconv"
39861 am_cv_lib_iconv=no
39862 if test x$gcc_no_link = xyes; then
39863 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39864 fi
39865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39866 /* end confdefs.h. */
39867 #include <stdlib.h>
39868 #include <iconv.h>
39869 int
39870 main ()
39871 {
39872 iconv_t cd = iconv_open("","");
39873 iconv(cd,NULL,NULL,NULL,NULL);
39874 iconv_close(cd);
39875 ;
39876 return 0;
39877 }
39878 _ACEOF
39879 if ac_fn_c_try_link "$LINENO"; then :
39880 am_cv_func_iconv=yes
39881 fi
39882 rm -f core conftest.err conftest.$ac_objext \
39883 conftest$ac_exeext conftest.$ac_ext
39884 if test "$am_cv_func_iconv" != yes; then
39885 am_save_LIBS="$LIBS"
39886 LIBS="$LIBS $LIBICONV"
39887 if test x$gcc_no_link = xyes; then
39888 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39889 fi
39890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39891 /* end confdefs.h. */
39892 #include <stdlib.h>
39893 #include <iconv.h>
39894 int
39895 main ()
39896 {
39897 iconv_t cd = iconv_open("","");
39898 iconv(cd,NULL,NULL,NULL,NULL);
39899 iconv_close(cd);
39900 ;
39901 return 0;
39902 }
39903 _ACEOF
39904 if ac_fn_c_try_link "$LINENO"; then :
39905 am_cv_lib_iconv=yes
39906 am_cv_func_iconv=yes
39907 fi
39908 rm -f core conftest.err conftest.$ac_objext \
39909 conftest$ac_exeext conftest.$ac_ext
39910 LIBS="$am_save_LIBS"
39911 fi
39912
39913 fi
39914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39915 $as_echo "$am_cv_func_iconv" >&6; }
39916 if test "$am_cv_func_iconv" = yes; then
39917
39918 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39919
39920 fi
39921 if test "$am_cv_lib_iconv" = yes; then
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39923 $as_echo_n "checking how to link with libiconv... " >&6; }
39924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39925 $as_echo "$LIBICONV" >&6; }
39926 else
39927 CPPFLAGS="$am_save_CPPFLAGS"
39928 LIBICONV=
39929 LTLIBICONV=
39930 fi
39931
39932
39933
39934 if test "$am_cv_func_iconv" = yes; then
39935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39936 $as_echo_n "checking for iconv declaration... " >&6; }
39937 if test "${am_cv_proto_iconv+set}" = set; then :
39938 $as_echo_n "(cached) " >&6
39939 else
39940
39941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39942 /* end confdefs.h. */
39943
39944 #include <stdlib.h>
39945 #include <iconv.h>
39946 extern
39947 #ifdef __cplusplus
39948 "C"
39949 #endif
39950 #if defined(__STDC__) || defined(__cplusplus)
39951 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39952 #else
39953 size_t iconv();
39954 #endif
39955
39956 int
39957 main ()
39958 {
39959
39960 ;
39961 return 0;
39962 }
39963 _ACEOF
39964 if ac_fn_c_try_compile "$LINENO"; then :
39965 am_cv_proto_iconv_arg1=""
39966 else
39967 am_cv_proto_iconv_arg1="const"
39968 fi
39969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39970 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);"
39971 fi
39972
39973 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39975 }$am_cv_proto_iconv" >&5
39976 $as_echo "${ac_t:-
39977 }$am_cv_proto_iconv" >&6; }
39978
39979 cat >>confdefs.h <<_ACEOF
39980 #define ICONV_CONST $am_cv_proto_iconv_arg1
39981 _ACEOF
39982
39983 fi
39984
39985 ;;
39986
39987 *-aix*)
39988
39989 # If we're not using GNU ld, then there's no point in even trying these
39990 # tests. Check for that first. We should have already tested for gld
39991 # by now (in libtool), but require it now just to be safe...
39992 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
39993 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
39994
39995
39996
39997 # The name set by libtool depends on the version of libtool. Shame on us
39998 # for depending on an impl detail, but c'est la vie. Older versions used
39999 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40000 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40001 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40002 # set (hence we're using an older libtool), then set it.
40003 if test x${with_gnu_ld+set} != xset; then
40004 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40005 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40006 with_gnu_ld=no
40007 else
40008 with_gnu_ld=$ac_cv_prog_gnu_ld
40009 fi
40010 fi
40011
40012 # Start by getting the version number. I think the libtool test already
40013 # does some of this, but throws away the result.
40014 glibcxx_ld_is_gold=no
40015 if test x"$with_gnu_ld" = x"yes"; then
40016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40017 $as_echo_n "checking for ld version... " >&6; }
40018
40019 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40020 glibcxx_ld_is_gold=yes
40021 fi
40022 ldver=`$LD --version 2>/dev/null |
40023 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'`
40024
40025 glibcxx_gnu_ld_version=`echo $ldver | \
40026 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40028 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40029 fi
40030
40031 # Set --gc-sections.
40032 glibcxx_have_gc_sections=no
40033 if test "$glibcxx_ld_is_gold" = "yes"; then
40034 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40035 glibcxx_have_gc_sections=yes
40036 fi
40037 else
40038 glibcxx_gcsections_min_ld=21602
40039 if test x"$with_gnu_ld" = x"yes" &&
40040 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40041 glibcxx_have_gc_sections=yes
40042 fi
40043 fi
40044 if test "$glibcxx_have_gc_sections" = "yes"; then
40045 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40046 # NB: This flag only works reliably after 2.16.1. Configure tests
40047 # for this are difficult, so hard wire a value that should work.
40048
40049 ac_test_CFLAGS="${CFLAGS+set}"
40050 ac_save_CFLAGS="$CFLAGS"
40051 CFLAGS='-Wl,--gc-sections'
40052
40053 # Check for -Wl,--gc-sections
40054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40055 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40056 if test x$gcc_no_link = xyes; then
40057 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40058 fi
40059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40060 /* end confdefs.h. */
40061 int one(void) { return 1; }
40062 int two(void) { return 2; }
40063
40064 int
40065 main ()
40066 {
40067 two();
40068 ;
40069 return 0;
40070 }
40071 _ACEOF
40072 if ac_fn_c_try_link "$LINENO"; then :
40073 ac_gcsections=yes
40074 else
40075 ac_gcsections=no
40076 fi
40077 rm -f core conftest.err conftest.$ac_objext \
40078 conftest$ac_exeext conftest.$ac_ext
40079 if test "$ac_gcsections" = "yes"; then
40080 rm -f conftest.c
40081 touch conftest.c
40082 if $CC -c conftest.c; then
40083 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40084 grep "Warning: gc-sections option ignored" > /dev/null; then
40085 ac_gcsections=no
40086 fi
40087 fi
40088 rm -f conftest.c conftest.o conftest
40089 fi
40090 if test "$ac_gcsections" = "yes"; then
40091 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40092 fi
40093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40094 $as_echo "$ac_gcsections" >&6; }
40095
40096 if test "$ac_test_CFLAGS" = set; then
40097 CFLAGS="$ac_save_CFLAGS"
40098 else
40099 # this is the suspicious part
40100 CFLAGS=''
40101 fi
40102 fi
40103
40104 # Set -z,relro.
40105 # Note this is only for shared objects.
40106 ac_ld_relro=no
40107 if test x"$with_gnu_ld" = x"yes"; then
40108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40109 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40110 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40111 if test -n "$cxx_z_relo"; then
40112 OPT_LDFLAGS="-Wl,-z,relro"
40113 ac_ld_relro=yes
40114 fi
40115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40116 $as_echo "$ac_ld_relro" >&6; }
40117 fi
40118
40119 # Set linker optimization flags.
40120 if test x"$with_gnu_ld" = x"yes"; then
40121 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40122 fi
40123
40124
40125
40126
40127
40128 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40129 ac_save_CXXFLAGS="$CXXFLAGS"
40130 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40131
40132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40133 $as_echo_n "checking for sin in -lm... " >&6; }
40134 if test "${ac_cv_lib_m_sin+set}" = set; then :
40135 $as_echo_n "(cached) " >&6
40136 else
40137 ac_check_lib_save_LIBS=$LIBS
40138 LIBS="-lm $LIBS"
40139 if test x$gcc_no_link = xyes; then
40140 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40141 fi
40142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40143 /* end confdefs.h. */
40144
40145 /* Override any GCC internal prototype to avoid an error.
40146 Use char because int might match the return type of a GCC
40147 builtin and then its argument prototype would still apply. */
40148 #ifdef __cplusplus
40149 extern "C"
40150 #endif
40151 char sin ();
40152 int
40153 main ()
40154 {
40155 return sin ();
40156 ;
40157 return 0;
40158 }
40159 _ACEOF
40160 if ac_fn_c_try_link "$LINENO"; then :
40161 ac_cv_lib_m_sin=yes
40162 else
40163 ac_cv_lib_m_sin=no
40164 fi
40165 rm -f core conftest.err conftest.$ac_objext \
40166 conftest$ac_exeext conftest.$ac_ext
40167 LIBS=$ac_check_lib_save_LIBS
40168 fi
40169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40170 $as_echo "$ac_cv_lib_m_sin" >&6; }
40171 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40172 libm="-lm"
40173 fi
40174
40175 ac_save_LIBS="$LIBS"
40176 LIBS="$LIBS $libm"
40177
40178
40179
40180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40181 $as_echo_n "checking for isinf declaration... " >&6; }
40182 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40183 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40184 $as_echo_n "(cached) " >&6
40185 else
40186
40187
40188 ac_ext=cpp
40189 ac_cpp='$CXXCPP $CPPFLAGS'
40190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40193
40194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40195 /* end confdefs.h. */
40196 #include <math.h>
40197 #ifdef HAVE_IEEEFP_H
40198 #include <ieeefp.h>
40199 #endif
40200
40201 int
40202 main ()
40203 {
40204 isinf(0);
40205 ;
40206 return 0;
40207 }
40208 _ACEOF
40209 if ac_fn_cxx_try_compile "$LINENO"; then :
40210 glibcxx_cv_func_isinf_use=yes
40211 else
40212 glibcxx_cv_func_isinf_use=no
40213 fi
40214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40215 ac_ext=c
40216 ac_cpp='$CPP $CPPFLAGS'
40217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40220
40221
40222 fi
40223
40224 fi
40225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40226 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40227
40228 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40229 for ac_func in isinf
40230 do :
40231 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40232 if test "x$ac_cv_func_isinf" = x""yes; then :
40233 cat >>confdefs.h <<_ACEOF
40234 #define HAVE_ISINF 1
40235 _ACEOF
40236
40237 fi
40238 done
40239
40240 else
40241
40242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40243 $as_echo_n "checking for _isinf declaration... " >&6; }
40244 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40245 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40246 $as_echo_n "(cached) " >&6
40247 else
40248
40249
40250 ac_ext=cpp
40251 ac_cpp='$CXXCPP $CPPFLAGS'
40252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40255
40256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40257 /* end confdefs.h. */
40258 #include <math.h>
40259 #ifdef HAVE_IEEEFP_H
40260 #include <ieeefp.h>
40261 #endif
40262
40263 int
40264 main ()
40265 {
40266 _isinf(0);
40267 ;
40268 return 0;
40269 }
40270 _ACEOF
40271 if ac_fn_cxx_try_compile "$LINENO"; then :
40272 glibcxx_cv_func__isinf_use=yes
40273 else
40274 glibcxx_cv_func__isinf_use=no
40275 fi
40276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40277 ac_ext=c
40278 ac_cpp='$CPP $CPPFLAGS'
40279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40282
40283
40284 fi
40285
40286 fi
40287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40288 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40289
40290 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40291 for ac_func in _isinf
40292 do :
40293 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40294 if test "x$ac_cv_func__isinf" = x""yes; then :
40295 cat >>confdefs.h <<_ACEOF
40296 #define HAVE__ISINF 1
40297 _ACEOF
40298
40299 fi
40300 done
40301
40302 fi
40303 fi
40304
40305
40306
40307
40308
40309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40310 $as_echo_n "checking for isnan declaration... " >&6; }
40311 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40312 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40313 $as_echo_n "(cached) " >&6
40314 else
40315
40316
40317 ac_ext=cpp
40318 ac_cpp='$CXXCPP $CPPFLAGS'
40319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40322
40323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40324 /* end confdefs.h. */
40325 #include <math.h>
40326 #ifdef HAVE_IEEEFP_H
40327 #include <ieeefp.h>
40328 #endif
40329
40330 int
40331 main ()
40332 {
40333 isnan(0);
40334 ;
40335 return 0;
40336 }
40337 _ACEOF
40338 if ac_fn_cxx_try_compile "$LINENO"; then :
40339 glibcxx_cv_func_isnan_use=yes
40340 else
40341 glibcxx_cv_func_isnan_use=no
40342 fi
40343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40344 ac_ext=c
40345 ac_cpp='$CPP $CPPFLAGS'
40346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40349
40350
40351 fi
40352
40353 fi
40354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40355 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40356
40357 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40358 for ac_func in isnan
40359 do :
40360 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40361 if test "x$ac_cv_func_isnan" = x""yes; then :
40362 cat >>confdefs.h <<_ACEOF
40363 #define HAVE_ISNAN 1
40364 _ACEOF
40365
40366 fi
40367 done
40368
40369 else
40370
40371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40372 $as_echo_n "checking for _isnan declaration... " >&6; }
40373 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40374 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40375 $as_echo_n "(cached) " >&6
40376 else
40377
40378
40379 ac_ext=cpp
40380 ac_cpp='$CXXCPP $CPPFLAGS'
40381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40384
40385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40386 /* end confdefs.h. */
40387 #include <math.h>
40388 #ifdef HAVE_IEEEFP_H
40389 #include <ieeefp.h>
40390 #endif
40391
40392 int
40393 main ()
40394 {
40395 _isnan(0);
40396 ;
40397 return 0;
40398 }
40399 _ACEOF
40400 if ac_fn_cxx_try_compile "$LINENO"; then :
40401 glibcxx_cv_func__isnan_use=yes
40402 else
40403 glibcxx_cv_func__isnan_use=no
40404 fi
40405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40406 ac_ext=c
40407 ac_cpp='$CPP $CPPFLAGS'
40408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40411
40412
40413 fi
40414
40415 fi
40416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40417 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40418
40419 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40420 for ac_func in _isnan
40421 do :
40422 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40423 if test "x$ac_cv_func__isnan" = x""yes; then :
40424 cat >>confdefs.h <<_ACEOF
40425 #define HAVE__ISNAN 1
40426 _ACEOF
40427
40428 fi
40429 done
40430
40431 fi
40432 fi
40433
40434
40435
40436
40437
40438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40439 $as_echo_n "checking for finite declaration... " >&6; }
40440 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40441 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40442 $as_echo_n "(cached) " >&6
40443 else
40444
40445
40446 ac_ext=cpp
40447 ac_cpp='$CXXCPP $CPPFLAGS'
40448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40451
40452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40453 /* end confdefs.h. */
40454 #include <math.h>
40455 #ifdef HAVE_IEEEFP_H
40456 #include <ieeefp.h>
40457 #endif
40458
40459 int
40460 main ()
40461 {
40462 finite(0);
40463 ;
40464 return 0;
40465 }
40466 _ACEOF
40467 if ac_fn_cxx_try_compile "$LINENO"; then :
40468 glibcxx_cv_func_finite_use=yes
40469 else
40470 glibcxx_cv_func_finite_use=no
40471 fi
40472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40473 ac_ext=c
40474 ac_cpp='$CPP $CPPFLAGS'
40475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40478
40479
40480 fi
40481
40482 fi
40483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40484 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40485
40486 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40487 for ac_func in finite
40488 do :
40489 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40490 if test "x$ac_cv_func_finite" = x""yes; then :
40491 cat >>confdefs.h <<_ACEOF
40492 #define HAVE_FINITE 1
40493 _ACEOF
40494
40495 fi
40496 done
40497
40498 else
40499
40500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40501 $as_echo_n "checking for _finite declaration... " >&6; }
40502 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40503 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40504 $as_echo_n "(cached) " >&6
40505 else
40506
40507
40508 ac_ext=cpp
40509 ac_cpp='$CXXCPP $CPPFLAGS'
40510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40513
40514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40515 /* end confdefs.h. */
40516 #include <math.h>
40517 #ifdef HAVE_IEEEFP_H
40518 #include <ieeefp.h>
40519 #endif
40520
40521 int
40522 main ()
40523 {
40524 _finite(0);
40525 ;
40526 return 0;
40527 }
40528 _ACEOF
40529 if ac_fn_cxx_try_compile "$LINENO"; then :
40530 glibcxx_cv_func__finite_use=yes
40531 else
40532 glibcxx_cv_func__finite_use=no
40533 fi
40534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40535 ac_ext=c
40536 ac_cpp='$CPP $CPPFLAGS'
40537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40540
40541
40542 fi
40543
40544 fi
40545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40546 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40547
40548 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40549 for ac_func in _finite
40550 do :
40551 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40552 if test "x$ac_cv_func__finite" = x""yes; then :
40553 cat >>confdefs.h <<_ACEOF
40554 #define HAVE__FINITE 1
40555 _ACEOF
40556
40557 fi
40558 done
40559
40560 fi
40561 fi
40562
40563
40564
40565
40566
40567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40568 $as_echo_n "checking for sincos declaration... " >&6; }
40569 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40570 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40571 $as_echo_n "(cached) " >&6
40572 else
40573
40574
40575 ac_ext=cpp
40576 ac_cpp='$CXXCPP $CPPFLAGS'
40577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40580
40581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40582 /* end confdefs.h. */
40583 #include <math.h>
40584 int
40585 main ()
40586 {
40587 sincos(0, 0, 0);
40588 ;
40589 return 0;
40590 }
40591 _ACEOF
40592 if ac_fn_cxx_try_compile "$LINENO"; then :
40593 glibcxx_cv_func_sincos_use=yes
40594 else
40595 glibcxx_cv_func_sincos_use=no
40596 fi
40597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40598 ac_ext=c
40599 ac_cpp='$CPP $CPPFLAGS'
40600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40603
40604
40605 fi
40606
40607 fi
40608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40609 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40610
40611 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40612 for ac_func in sincos
40613 do :
40614 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40615 if test "x$ac_cv_func_sincos" = x""yes; then :
40616 cat >>confdefs.h <<_ACEOF
40617 #define HAVE_SINCOS 1
40618 _ACEOF
40619
40620 fi
40621 done
40622
40623 else
40624
40625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40626 $as_echo_n "checking for _sincos declaration... " >&6; }
40627 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40628 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40629 $as_echo_n "(cached) " >&6
40630 else
40631
40632
40633 ac_ext=cpp
40634 ac_cpp='$CXXCPP $CPPFLAGS'
40635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40638
40639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40640 /* end confdefs.h. */
40641 #include <math.h>
40642 int
40643 main ()
40644 {
40645 _sincos(0, 0, 0);
40646 ;
40647 return 0;
40648 }
40649 _ACEOF
40650 if ac_fn_cxx_try_compile "$LINENO"; then :
40651 glibcxx_cv_func__sincos_use=yes
40652 else
40653 glibcxx_cv_func__sincos_use=no
40654 fi
40655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40656 ac_ext=c
40657 ac_cpp='$CPP $CPPFLAGS'
40658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40661
40662
40663 fi
40664
40665 fi
40666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40667 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40668
40669 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40670 for ac_func in _sincos
40671 do :
40672 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40673 if test "x$ac_cv_func__sincos" = x""yes; then :
40674 cat >>confdefs.h <<_ACEOF
40675 #define HAVE__SINCOS 1
40676 _ACEOF
40677
40678 fi
40679 done
40680
40681 fi
40682 fi
40683
40684
40685
40686
40687
40688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40689 $as_echo_n "checking for fpclass declaration... " >&6; }
40690 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40691 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40692 $as_echo_n "(cached) " >&6
40693 else
40694
40695
40696 ac_ext=cpp
40697 ac_cpp='$CXXCPP $CPPFLAGS'
40698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40701
40702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40703 /* end confdefs.h. */
40704 #include <math.h>
40705 #ifdef HAVE_IEEEFP_H
40706 #include <ieeefp.h>
40707 #endif
40708
40709 int
40710 main ()
40711 {
40712 fpclass(0);
40713 ;
40714 return 0;
40715 }
40716 _ACEOF
40717 if ac_fn_cxx_try_compile "$LINENO"; then :
40718 glibcxx_cv_func_fpclass_use=yes
40719 else
40720 glibcxx_cv_func_fpclass_use=no
40721 fi
40722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40723 ac_ext=c
40724 ac_cpp='$CPP $CPPFLAGS'
40725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40728
40729
40730 fi
40731
40732 fi
40733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40734 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40735
40736 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40737 for ac_func in fpclass
40738 do :
40739 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40740 if test "x$ac_cv_func_fpclass" = x""yes; then :
40741 cat >>confdefs.h <<_ACEOF
40742 #define HAVE_FPCLASS 1
40743 _ACEOF
40744
40745 fi
40746 done
40747
40748 else
40749
40750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40751 $as_echo_n "checking for _fpclass declaration... " >&6; }
40752 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40753 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40754 $as_echo_n "(cached) " >&6
40755 else
40756
40757
40758 ac_ext=cpp
40759 ac_cpp='$CXXCPP $CPPFLAGS'
40760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40763
40764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40765 /* end confdefs.h. */
40766 #include <math.h>
40767 #ifdef HAVE_IEEEFP_H
40768 #include <ieeefp.h>
40769 #endif
40770
40771 int
40772 main ()
40773 {
40774 _fpclass(0);
40775 ;
40776 return 0;
40777 }
40778 _ACEOF
40779 if ac_fn_cxx_try_compile "$LINENO"; then :
40780 glibcxx_cv_func__fpclass_use=yes
40781 else
40782 glibcxx_cv_func__fpclass_use=no
40783 fi
40784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40785 ac_ext=c
40786 ac_cpp='$CPP $CPPFLAGS'
40787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40790
40791
40792 fi
40793
40794 fi
40795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40796 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40797
40798 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40799 for ac_func in _fpclass
40800 do :
40801 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40802 if test "x$ac_cv_func__fpclass" = x""yes; then :
40803 cat >>confdefs.h <<_ACEOF
40804 #define HAVE__FPCLASS 1
40805 _ACEOF
40806
40807 fi
40808 done
40809
40810 fi
40811 fi
40812
40813
40814
40815
40816
40817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40818 $as_echo_n "checking for qfpclass declaration... " >&6; }
40819 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40820 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40821 $as_echo_n "(cached) " >&6
40822 else
40823
40824
40825 ac_ext=cpp
40826 ac_cpp='$CXXCPP $CPPFLAGS'
40827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40830
40831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40832 /* end confdefs.h. */
40833 #include <math.h>
40834 #ifdef HAVE_IEEEFP_H
40835 #include <ieeefp.h>
40836 #endif
40837
40838 int
40839 main ()
40840 {
40841 qfpclass(0);
40842 ;
40843 return 0;
40844 }
40845 _ACEOF
40846 if ac_fn_cxx_try_compile "$LINENO"; then :
40847 glibcxx_cv_func_qfpclass_use=yes
40848 else
40849 glibcxx_cv_func_qfpclass_use=no
40850 fi
40851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40852 ac_ext=c
40853 ac_cpp='$CPP $CPPFLAGS'
40854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40857
40858
40859 fi
40860
40861 fi
40862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40863 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40864
40865 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40866 for ac_func in qfpclass
40867 do :
40868 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40869 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40870 cat >>confdefs.h <<_ACEOF
40871 #define HAVE_QFPCLASS 1
40872 _ACEOF
40873
40874 fi
40875 done
40876
40877 else
40878
40879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40880 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40881 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40882 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40883 $as_echo_n "(cached) " >&6
40884 else
40885
40886
40887 ac_ext=cpp
40888 ac_cpp='$CXXCPP $CPPFLAGS'
40889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40892
40893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40894 /* end confdefs.h. */
40895 #include <math.h>
40896 #ifdef HAVE_IEEEFP_H
40897 #include <ieeefp.h>
40898 #endif
40899
40900 int
40901 main ()
40902 {
40903 _qfpclass(0);
40904 ;
40905 return 0;
40906 }
40907 _ACEOF
40908 if ac_fn_cxx_try_compile "$LINENO"; then :
40909 glibcxx_cv_func__qfpclass_use=yes
40910 else
40911 glibcxx_cv_func__qfpclass_use=no
40912 fi
40913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40914 ac_ext=c
40915 ac_cpp='$CPP $CPPFLAGS'
40916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40919
40920
40921 fi
40922
40923 fi
40924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40925 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40926
40927 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40928 for ac_func in _qfpclass
40929 do :
40930 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40931 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40932 cat >>confdefs.h <<_ACEOF
40933 #define HAVE__QFPCLASS 1
40934 _ACEOF
40935
40936 fi
40937 done
40938
40939 fi
40940 fi
40941
40942
40943
40944
40945
40946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40947 $as_echo_n "checking for hypot declaration... " >&6; }
40948 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40949 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40950 $as_echo_n "(cached) " >&6
40951 else
40952
40953
40954 ac_ext=cpp
40955 ac_cpp='$CXXCPP $CPPFLAGS'
40956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40959
40960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40961 /* end confdefs.h. */
40962 #include <math.h>
40963 int
40964 main ()
40965 {
40966 hypot(0, 0);
40967 ;
40968 return 0;
40969 }
40970 _ACEOF
40971 if ac_fn_cxx_try_compile "$LINENO"; then :
40972 glibcxx_cv_func_hypot_use=yes
40973 else
40974 glibcxx_cv_func_hypot_use=no
40975 fi
40976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40977 ac_ext=c
40978 ac_cpp='$CPP $CPPFLAGS'
40979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40982
40983
40984 fi
40985
40986 fi
40987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40988 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40989
40990 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40991 for ac_func in hypot
40992 do :
40993 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40994 if test "x$ac_cv_func_hypot" = x""yes; then :
40995 cat >>confdefs.h <<_ACEOF
40996 #define HAVE_HYPOT 1
40997 _ACEOF
40998
40999 fi
41000 done
41001
41002 else
41003
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41005 $as_echo_n "checking for _hypot declaration... " >&6; }
41006 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41007 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41008 $as_echo_n "(cached) " >&6
41009 else
41010
41011
41012 ac_ext=cpp
41013 ac_cpp='$CXXCPP $CPPFLAGS'
41014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41017
41018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41019 /* end confdefs.h. */
41020 #include <math.h>
41021 int
41022 main ()
41023 {
41024 _hypot(0, 0);
41025 ;
41026 return 0;
41027 }
41028 _ACEOF
41029 if ac_fn_cxx_try_compile "$LINENO"; then :
41030 glibcxx_cv_func__hypot_use=yes
41031 else
41032 glibcxx_cv_func__hypot_use=no
41033 fi
41034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41035 ac_ext=c
41036 ac_cpp='$CPP $CPPFLAGS'
41037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41040
41041
41042 fi
41043
41044 fi
41045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41046 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41047
41048 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41049 for ac_func in _hypot
41050 do :
41051 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41052 if test "x$ac_cv_func__hypot" = x""yes; then :
41053 cat >>confdefs.h <<_ACEOF
41054 #define HAVE__HYPOT 1
41055 _ACEOF
41056
41057 fi
41058 done
41059
41060 fi
41061 fi
41062
41063
41064
41065
41066
41067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41068 $as_echo_n "checking for float trig functions... " >&6; }
41069 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41070 $as_echo_n "(cached) " >&6
41071 else
41072
41073
41074 ac_ext=cpp
41075 ac_cpp='$CXXCPP $CPPFLAGS'
41076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41079
41080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41081 /* end confdefs.h. */
41082 #include <math.h>
41083 int
41084 main ()
41085 {
41086 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41087 ;
41088 return 0;
41089 }
41090 _ACEOF
41091 if ac_fn_cxx_try_compile "$LINENO"; then :
41092 glibcxx_cv_func_float_trig_use=yes
41093 else
41094 glibcxx_cv_func_float_trig_use=no
41095 fi
41096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41097 ac_ext=c
41098 ac_cpp='$CPP $CPPFLAGS'
41099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41102
41103 fi
41104
41105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41106 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41107 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41108 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41109 do :
41110 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41111 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41112 eval as_val=\$$as_ac_var
41113 if test "x$as_val" = x""yes; then :
41114 cat >>confdefs.h <<_ACEOF
41115 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41116 _ACEOF
41117
41118 fi
41119 done
41120
41121 else
41122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41123 $as_echo_n "checking for _float trig functions... " >&6; }
41124 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41125 $as_echo_n "(cached) " >&6
41126 else
41127
41128
41129 ac_ext=cpp
41130 ac_cpp='$CXXCPP $CPPFLAGS'
41131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41134
41135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41136 /* end confdefs.h. */
41137 #include <math.h>
41138 int
41139 main ()
41140 {
41141 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41142 ;
41143 return 0;
41144 }
41145 _ACEOF
41146 if ac_fn_cxx_try_compile "$LINENO"; then :
41147 glibcxx_cv_func__float_trig_use=yes
41148 else
41149 glibcxx_cv_func__float_trig_use=no
41150 fi
41151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41152 ac_ext=c
41153 ac_cpp='$CPP $CPPFLAGS'
41154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41157
41158 fi
41159
41160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41161 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41162 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41163 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41164 do :
41165 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41166 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41167 eval as_val=\$$as_ac_var
41168 if test "x$as_val" = x""yes; then :
41169 cat >>confdefs.h <<_ACEOF
41170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41171 _ACEOF
41172
41173 fi
41174 done
41175
41176 fi
41177 fi
41178
41179
41180
41181
41182
41183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41184 $as_echo_n "checking for float round functions... " >&6; }
41185 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41186 $as_echo_n "(cached) " >&6
41187 else
41188
41189
41190 ac_ext=cpp
41191 ac_cpp='$CXXCPP $CPPFLAGS'
41192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41195
41196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41197 /* end confdefs.h. */
41198 #include <math.h>
41199 int
41200 main ()
41201 {
41202 ceilf (0); floorf (0);
41203 ;
41204 return 0;
41205 }
41206 _ACEOF
41207 if ac_fn_cxx_try_compile "$LINENO"; then :
41208 glibcxx_cv_func_float_round_use=yes
41209 else
41210 glibcxx_cv_func_float_round_use=no
41211 fi
41212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41213 ac_ext=c
41214 ac_cpp='$CPP $CPPFLAGS'
41215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41218
41219 fi
41220
41221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41222 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41223 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41224 for ac_func in ceilf floorf
41225 do :
41226 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41227 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41228 eval as_val=\$$as_ac_var
41229 if test "x$as_val" = x""yes; then :
41230 cat >>confdefs.h <<_ACEOF
41231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41232 _ACEOF
41233
41234 fi
41235 done
41236
41237 else
41238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41239 $as_echo_n "checking for _float round functions... " >&6; }
41240 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41241 $as_echo_n "(cached) " >&6
41242 else
41243
41244
41245 ac_ext=cpp
41246 ac_cpp='$CXXCPP $CPPFLAGS'
41247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41250
41251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41252 /* end confdefs.h. */
41253 #include <math.h>
41254 int
41255 main ()
41256 {
41257 _ceilf (0); _floorf (0);
41258 ;
41259 return 0;
41260 }
41261 _ACEOF
41262 if ac_fn_cxx_try_compile "$LINENO"; then :
41263 glibcxx_cv_func__float_round_use=yes
41264 else
41265 glibcxx_cv_func__float_round_use=no
41266 fi
41267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41268 ac_ext=c
41269 ac_cpp='$CPP $CPPFLAGS'
41270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41273
41274 fi
41275
41276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41277 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41278 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41279 for ac_func in _ceilf _floorf
41280 do :
41281 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41282 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41283 eval as_val=\$$as_ac_var
41284 if test "x$as_val" = x""yes; then :
41285 cat >>confdefs.h <<_ACEOF
41286 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41287 _ACEOF
41288
41289 fi
41290 done
41291
41292 fi
41293 fi
41294
41295
41296
41297
41298
41299
41300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41301 $as_echo_n "checking for expf declaration... " >&6; }
41302 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41303 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41304 $as_echo_n "(cached) " >&6
41305 else
41306
41307
41308 ac_ext=cpp
41309 ac_cpp='$CXXCPP $CPPFLAGS'
41310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41313
41314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41315 /* end confdefs.h. */
41316 #include <math.h>
41317 #ifdef HAVE_IEEEFP_H
41318 #include <ieeefp.h>
41319 #endif
41320
41321 int
41322 main ()
41323 {
41324 expf(0);
41325 ;
41326 return 0;
41327 }
41328 _ACEOF
41329 if ac_fn_cxx_try_compile "$LINENO"; then :
41330 glibcxx_cv_func_expf_use=yes
41331 else
41332 glibcxx_cv_func_expf_use=no
41333 fi
41334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41335 ac_ext=c
41336 ac_cpp='$CPP $CPPFLAGS'
41337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41340
41341
41342 fi
41343
41344 fi
41345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41346 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41347
41348 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41349 for ac_func in expf
41350 do :
41351 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41352 if test "x$ac_cv_func_expf" = x""yes; then :
41353 cat >>confdefs.h <<_ACEOF
41354 #define HAVE_EXPF 1
41355 _ACEOF
41356
41357 fi
41358 done
41359
41360 else
41361
41362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41363 $as_echo_n "checking for _expf declaration... " >&6; }
41364 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41365 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41366 $as_echo_n "(cached) " >&6
41367 else
41368
41369
41370 ac_ext=cpp
41371 ac_cpp='$CXXCPP $CPPFLAGS'
41372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41375
41376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41377 /* end confdefs.h. */
41378 #include <math.h>
41379 #ifdef HAVE_IEEEFP_H
41380 #include <ieeefp.h>
41381 #endif
41382
41383 int
41384 main ()
41385 {
41386 _expf(0);
41387 ;
41388 return 0;
41389 }
41390 _ACEOF
41391 if ac_fn_cxx_try_compile "$LINENO"; then :
41392 glibcxx_cv_func__expf_use=yes
41393 else
41394 glibcxx_cv_func__expf_use=no
41395 fi
41396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41397 ac_ext=c
41398 ac_cpp='$CPP $CPPFLAGS'
41399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41402
41403
41404 fi
41405
41406 fi
41407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41408 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41409
41410 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41411 for ac_func in _expf
41412 do :
41413 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41414 if test "x$ac_cv_func__expf" = x""yes; then :
41415 cat >>confdefs.h <<_ACEOF
41416 #define HAVE__EXPF 1
41417 _ACEOF
41418
41419 fi
41420 done
41421
41422 fi
41423 fi
41424
41425
41426
41427
41428
41429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41430 $as_echo_n "checking for isnanf declaration... " >&6; }
41431 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41432 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41433 $as_echo_n "(cached) " >&6
41434 else
41435
41436
41437 ac_ext=cpp
41438 ac_cpp='$CXXCPP $CPPFLAGS'
41439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41442
41443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41444 /* end confdefs.h. */
41445 #include <math.h>
41446 #ifdef HAVE_IEEEFP_H
41447 #include <ieeefp.h>
41448 #endif
41449
41450 int
41451 main ()
41452 {
41453 isnanf(0);
41454 ;
41455 return 0;
41456 }
41457 _ACEOF
41458 if ac_fn_cxx_try_compile "$LINENO"; then :
41459 glibcxx_cv_func_isnanf_use=yes
41460 else
41461 glibcxx_cv_func_isnanf_use=no
41462 fi
41463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41464 ac_ext=c
41465 ac_cpp='$CPP $CPPFLAGS'
41466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41469
41470
41471 fi
41472
41473 fi
41474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41475 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41476
41477 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41478 for ac_func in isnanf
41479 do :
41480 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41481 if test "x$ac_cv_func_isnanf" = x""yes; then :
41482 cat >>confdefs.h <<_ACEOF
41483 #define HAVE_ISNANF 1
41484 _ACEOF
41485
41486 fi
41487 done
41488
41489 else
41490
41491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41492 $as_echo_n "checking for _isnanf declaration... " >&6; }
41493 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41494 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41495 $as_echo_n "(cached) " >&6
41496 else
41497
41498
41499 ac_ext=cpp
41500 ac_cpp='$CXXCPP $CPPFLAGS'
41501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41504
41505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41506 /* end confdefs.h. */
41507 #include <math.h>
41508 #ifdef HAVE_IEEEFP_H
41509 #include <ieeefp.h>
41510 #endif
41511
41512 int
41513 main ()
41514 {
41515 _isnanf(0);
41516 ;
41517 return 0;
41518 }
41519 _ACEOF
41520 if ac_fn_cxx_try_compile "$LINENO"; then :
41521 glibcxx_cv_func__isnanf_use=yes
41522 else
41523 glibcxx_cv_func__isnanf_use=no
41524 fi
41525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41526 ac_ext=c
41527 ac_cpp='$CPP $CPPFLAGS'
41528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41531
41532
41533 fi
41534
41535 fi
41536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41537 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41538
41539 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41540 for ac_func in _isnanf
41541 do :
41542 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41543 if test "x$ac_cv_func__isnanf" = x""yes; then :
41544 cat >>confdefs.h <<_ACEOF
41545 #define HAVE__ISNANF 1
41546 _ACEOF
41547
41548 fi
41549 done
41550
41551 fi
41552 fi
41553
41554
41555
41556
41557
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41559 $as_echo_n "checking for isinff declaration... " >&6; }
41560 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41561 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41562 $as_echo_n "(cached) " >&6
41563 else
41564
41565
41566 ac_ext=cpp
41567 ac_cpp='$CXXCPP $CPPFLAGS'
41568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41571
41572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41573 /* end confdefs.h. */
41574 #include <math.h>
41575 #ifdef HAVE_IEEEFP_H
41576 #include <ieeefp.h>
41577 #endif
41578
41579 int
41580 main ()
41581 {
41582 isinff(0);
41583 ;
41584 return 0;
41585 }
41586 _ACEOF
41587 if ac_fn_cxx_try_compile "$LINENO"; then :
41588 glibcxx_cv_func_isinff_use=yes
41589 else
41590 glibcxx_cv_func_isinff_use=no
41591 fi
41592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41593 ac_ext=c
41594 ac_cpp='$CPP $CPPFLAGS'
41595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41598
41599
41600 fi
41601
41602 fi
41603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41604 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41605
41606 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41607 for ac_func in isinff
41608 do :
41609 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41610 if test "x$ac_cv_func_isinff" = x""yes; then :
41611 cat >>confdefs.h <<_ACEOF
41612 #define HAVE_ISINFF 1
41613 _ACEOF
41614
41615 fi
41616 done
41617
41618 else
41619
41620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41621 $as_echo_n "checking for _isinff declaration... " >&6; }
41622 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41623 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41624 $as_echo_n "(cached) " >&6
41625 else
41626
41627
41628 ac_ext=cpp
41629 ac_cpp='$CXXCPP $CPPFLAGS'
41630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41633
41634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41635 /* end confdefs.h. */
41636 #include <math.h>
41637 #ifdef HAVE_IEEEFP_H
41638 #include <ieeefp.h>
41639 #endif
41640
41641 int
41642 main ()
41643 {
41644 _isinff(0);
41645 ;
41646 return 0;
41647 }
41648 _ACEOF
41649 if ac_fn_cxx_try_compile "$LINENO"; then :
41650 glibcxx_cv_func__isinff_use=yes
41651 else
41652 glibcxx_cv_func__isinff_use=no
41653 fi
41654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41655 ac_ext=c
41656 ac_cpp='$CPP $CPPFLAGS'
41657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41660
41661
41662 fi
41663
41664 fi
41665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41666 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41667
41668 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41669 for ac_func in _isinff
41670 do :
41671 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41672 if test "x$ac_cv_func__isinff" = x""yes; then :
41673 cat >>confdefs.h <<_ACEOF
41674 #define HAVE__ISINFF 1
41675 _ACEOF
41676
41677 fi
41678 done
41679
41680 fi
41681 fi
41682
41683
41684
41685
41686
41687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41688 $as_echo_n "checking for atan2f declaration... " >&6; }
41689 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41690 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41691 $as_echo_n "(cached) " >&6
41692 else
41693
41694
41695 ac_ext=cpp
41696 ac_cpp='$CXXCPP $CPPFLAGS'
41697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41700
41701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41702 /* end confdefs.h. */
41703 #include <math.h>
41704 int
41705 main ()
41706 {
41707 atan2f(0, 0);
41708 ;
41709 return 0;
41710 }
41711 _ACEOF
41712 if ac_fn_cxx_try_compile "$LINENO"; then :
41713 glibcxx_cv_func_atan2f_use=yes
41714 else
41715 glibcxx_cv_func_atan2f_use=no
41716 fi
41717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41718 ac_ext=c
41719 ac_cpp='$CPP $CPPFLAGS'
41720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41723
41724
41725 fi
41726
41727 fi
41728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41729 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41730
41731 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41732 for ac_func in atan2f
41733 do :
41734 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41735 if test "x$ac_cv_func_atan2f" = x""yes; then :
41736 cat >>confdefs.h <<_ACEOF
41737 #define HAVE_ATAN2F 1
41738 _ACEOF
41739
41740 fi
41741 done
41742
41743 else
41744
41745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41746 $as_echo_n "checking for _atan2f declaration... " >&6; }
41747 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41748 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41749 $as_echo_n "(cached) " >&6
41750 else
41751
41752
41753 ac_ext=cpp
41754 ac_cpp='$CXXCPP $CPPFLAGS'
41755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41758
41759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41760 /* end confdefs.h. */
41761 #include <math.h>
41762 int
41763 main ()
41764 {
41765 _atan2f(0, 0);
41766 ;
41767 return 0;
41768 }
41769 _ACEOF
41770 if ac_fn_cxx_try_compile "$LINENO"; then :
41771 glibcxx_cv_func__atan2f_use=yes
41772 else
41773 glibcxx_cv_func__atan2f_use=no
41774 fi
41775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41776 ac_ext=c
41777 ac_cpp='$CPP $CPPFLAGS'
41778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41781
41782
41783 fi
41784
41785 fi
41786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41787 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41788
41789 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41790 for ac_func in _atan2f
41791 do :
41792 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41793 if test "x$ac_cv_func__atan2f" = x""yes; then :
41794 cat >>confdefs.h <<_ACEOF
41795 #define HAVE__ATAN2F 1
41796 _ACEOF
41797
41798 fi
41799 done
41800
41801 fi
41802 fi
41803
41804
41805
41806
41807
41808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41809 $as_echo_n "checking for fabsf declaration... " >&6; }
41810 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41811 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41812 $as_echo_n "(cached) " >&6
41813 else
41814
41815
41816 ac_ext=cpp
41817 ac_cpp='$CXXCPP $CPPFLAGS'
41818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41821
41822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41823 /* end confdefs.h. */
41824 #include <math.h>
41825 #ifdef HAVE_IEEEFP_H
41826 #include <ieeefp.h>
41827 #endif
41828
41829 int
41830 main ()
41831 {
41832 fabsf(0);
41833 ;
41834 return 0;
41835 }
41836 _ACEOF
41837 if ac_fn_cxx_try_compile "$LINENO"; then :
41838 glibcxx_cv_func_fabsf_use=yes
41839 else
41840 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
41854 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41855
41856 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41857 for ac_func in fabsf
41858 do :
41859 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41860 if test "x$ac_cv_func_fabsf" = x""yes; then :
41861 cat >>confdefs.h <<_ACEOF
41862 #define HAVE_FABSF 1
41863 _ACEOF
41864
41865 fi
41866 done
41867
41868 else
41869
41870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41871 $as_echo_n "checking for _fabsf declaration... " >&6; }
41872 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41873 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
41888 #include <ieeefp.h>
41889 #endif
41890
41891 int
41892 main ()
41893 {
41894 _fabsf(0);
41895 ;
41896 return 0;
41897 }
41898 _ACEOF
41899 if ac_fn_cxx_try_compile "$LINENO"; then :
41900 glibcxx_cv_func__fabsf_use=yes
41901 else
41902 glibcxx_cv_func__fabsf_use=no
41903 fi
41904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41905 ac_ext=c
41906 ac_cpp='$CPP $CPPFLAGS'
41907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41910
41911
41912 fi
41913
41914 fi
41915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41916 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41917
41918 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41919 for ac_func in _fabsf
41920 do :
41921 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41922 if test "x$ac_cv_func__fabsf" = x""yes; then :
41923 cat >>confdefs.h <<_ACEOF
41924 #define HAVE__FABSF 1
41925 _ACEOF
41926
41927 fi
41928 done
41929
41930 fi
41931 fi
41932
41933
41934
41935
41936
41937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41938 $as_echo_n "checking for fmodf declaration... " >&6; }
41939 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41940 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41941 $as_echo_n "(cached) " >&6
41942 else
41943
41944
41945 ac_ext=cpp
41946 ac_cpp='$CXXCPP $CPPFLAGS'
41947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41950
41951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41952 /* end confdefs.h. */
41953 #include <math.h>
41954 int
41955 main ()
41956 {
41957 fmodf(0, 0);
41958 ;
41959 return 0;
41960 }
41961 _ACEOF
41962 if ac_fn_cxx_try_compile "$LINENO"; then :
41963 glibcxx_cv_func_fmodf_use=yes
41964 else
41965 glibcxx_cv_func_fmodf_use=no
41966 fi
41967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41968 ac_ext=c
41969 ac_cpp='$CPP $CPPFLAGS'
41970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41973
41974
41975 fi
41976
41977 fi
41978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41979 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41980
41981 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41982 for ac_func in fmodf
41983 do :
41984 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41985 if test "x$ac_cv_func_fmodf" = x""yes; then :
41986 cat >>confdefs.h <<_ACEOF
41987 #define HAVE_FMODF 1
41988 _ACEOF
41989
41990 fi
41991 done
41992
41993 else
41994
41995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41996 $as_echo_n "checking for _fmodf declaration... " >&6; }
41997 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
41998 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
41999 $as_echo_n "(cached) " >&6
42000 else
42001
42002
42003 ac_ext=cpp
42004 ac_cpp='$CXXCPP $CPPFLAGS'
42005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42008
42009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42010 /* end confdefs.h. */
42011 #include <math.h>
42012 int
42013 main ()
42014 {
42015 _fmodf(0, 0);
42016 ;
42017 return 0;
42018 }
42019 _ACEOF
42020 if ac_fn_cxx_try_compile "$LINENO"; then :
42021 glibcxx_cv_func__fmodf_use=yes
42022 else
42023 glibcxx_cv_func__fmodf_use=no
42024 fi
42025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42026 ac_ext=c
42027 ac_cpp='$CPP $CPPFLAGS'
42028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42031
42032
42033 fi
42034
42035 fi
42036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42037 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42038
42039 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42040 for ac_func in _fmodf
42041 do :
42042 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42043 if test "x$ac_cv_func__fmodf" = x""yes; then :
42044 cat >>confdefs.h <<_ACEOF
42045 #define HAVE__FMODF 1
42046 _ACEOF
42047
42048 fi
42049 done
42050
42051 fi
42052 fi
42053
42054
42055
42056
42057
42058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42059 $as_echo_n "checking for frexpf declaration... " >&6; }
42060 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42061 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42062 $as_echo_n "(cached) " >&6
42063 else
42064
42065
42066 ac_ext=cpp
42067 ac_cpp='$CXXCPP $CPPFLAGS'
42068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42071
42072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42073 /* end confdefs.h. */
42074 #include <math.h>
42075 int
42076 main ()
42077 {
42078 frexpf(0, 0);
42079 ;
42080 return 0;
42081 }
42082 _ACEOF
42083 if ac_fn_cxx_try_compile "$LINENO"; then :
42084 glibcxx_cv_func_frexpf_use=yes
42085 else
42086 glibcxx_cv_func_frexpf_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_frexpf_use" >&5
42100 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42101
42102 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42103 for ac_func in frexpf
42104 do :
42105 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42106 if test "x$ac_cv_func_frexpf" = x""yes; then :
42107 cat >>confdefs.h <<_ACEOF
42108 #define HAVE_FREXPF 1
42109 _ACEOF
42110
42111 fi
42112 done
42113
42114 else
42115
42116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42117 $as_echo_n "checking for _frexpf declaration... " >&6; }
42118 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42119 if test "${glibcxx_cv_func__frexpf_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 int
42134 main ()
42135 {
42136 _frexpf(0, 0);
42137 ;
42138 return 0;
42139 }
42140 _ACEOF
42141 if ac_fn_cxx_try_compile "$LINENO"; then :
42142 glibcxx_cv_func__frexpf_use=yes
42143 else
42144 glibcxx_cv_func__frexpf_use=no
42145 fi
42146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42147 ac_ext=c
42148 ac_cpp='$CPP $CPPFLAGS'
42149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42152
42153
42154 fi
42155
42156 fi
42157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42158 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42159
42160 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42161 for ac_func in _frexpf
42162 do :
42163 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42164 if test "x$ac_cv_func__frexpf" = x""yes; then :
42165 cat >>confdefs.h <<_ACEOF
42166 #define HAVE__FREXPF 1
42167 _ACEOF
42168
42169 fi
42170 done
42171
42172 fi
42173 fi
42174
42175
42176
42177
42178
42179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42180 $as_echo_n "checking for hypotf declaration... " >&6; }
42181 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42182 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42183 $as_echo_n "(cached) " >&6
42184 else
42185
42186
42187 ac_ext=cpp
42188 ac_cpp='$CXXCPP $CPPFLAGS'
42189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42192
42193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42194 /* end confdefs.h. */
42195 #include <math.h>
42196 int
42197 main ()
42198 {
42199 hypotf(0, 0);
42200 ;
42201 return 0;
42202 }
42203 _ACEOF
42204 if ac_fn_cxx_try_compile "$LINENO"; then :
42205 glibcxx_cv_func_hypotf_use=yes
42206 else
42207 glibcxx_cv_func_hypotf_use=no
42208 fi
42209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42210 ac_ext=c
42211 ac_cpp='$CPP $CPPFLAGS'
42212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42215
42216
42217 fi
42218
42219 fi
42220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42221 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42222
42223 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42224 for ac_func in hypotf
42225 do :
42226 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42227 if test "x$ac_cv_func_hypotf" = x""yes; then :
42228 cat >>confdefs.h <<_ACEOF
42229 #define HAVE_HYPOTF 1
42230 _ACEOF
42231
42232 fi
42233 done
42234
42235 else
42236
42237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42238 $as_echo_n "checking for _hypotf declaration... " >&6; }
42239 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42240 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42241 $as_echo_n "(cached) " >&6
42242 else
42243
42244
42245 ac_ext=cpp
42246 ac_cpp='$CXXCPP $CPPFLAGS'
42247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42250
42251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42252 /* end confdefs.h. */
42253 #include <math.h>
42254 int
42255 main ()
42256 {
42257 _hypotf(0, 0);
42258 ;
42259 return 0;
42260 }
42261 _ACEOF
42262 if ac_fn_cxx_try_compile "$LINENO"; then :
42263 glibcxx_cv_func__hypotf_use=yes
42264 else
42265 glibcxx_cv_func__hypotf_use=no
42266 fi
42267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42268 ac_ext=c
42269 ac_cpp='$CPP $CPPFLAGS'
42270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42273
42274
42275 fi
42276
42277 fi
42278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42279 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42280
42281 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42282 for ac_func in _hypotf
42283 do :
42284 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42285 if test "x$ac_cv_func__hypotf" = x""yes; then :
42286 cat >>confdefs.h <<_ACEOF
42287 #define HAVE__HYPOTF 1
42288 _ACEOF
42289
42290 fi
42291 done
42292
42293 fi
42294 fi
42295
42296
42297
42298
42299
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42301 $as_echo_n "checking for ldexpf declaration... " >&6; }
42302 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42303 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42304 $as_echo_n "(cached) " >&6
42305 else
42306
42307
42308 ac_ext=cpp
42309 ac_cpp='$CXXCPP $CPPFLAGS'
42310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42313
42314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42315 /* end confdefs.h. */
42316 #include <math.h>
42317 int
42318 main ()
42319 {
42320 ldexpf(0, 0);
42321 ;
42322 return 0;
42323 }
42324 _ACEOF
42325 if ac_fn_cxx_try_compile "$LINENO"; then :
42326 glibcxx_cv_func_ldexpf_use=yes
42327 else
42328 glibcxx_cv_func_ldexpf_use=no
42329 fi
42330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42331 ac_ext=c
42332 ac_cpp='$CPP $CPPFLAGS'
42333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42336
42337
42338 fi
42339
42340 fi
42341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42342 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42343
42344 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42345 for ac_func in ldexpf
42346 do :
42347 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42348 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42349 cat >>confdefs.h <<_ACEOF
42350 #define HAVE_LDEXPF 1
42351 _ACEOF
42352
42353 fi
42354 done
42355
42356 else
42357
42358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42359 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42360 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42361 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42362 $as_echo_n "(cached) " >&6
42363 else
42364
42365
42366 ac_ext=cpp
42367 ac_cpp='$CXXCPP $CPPFLAGS'
42368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42371
42372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42373 /* end confdefs.h. */
42374 #include <math.h>
42375 int
42376 main ()
42377 {
42378 _ldexpf(0, 0);
42379 ;
42380 return 0;
42381 }
42382 _ACEOF
42383 if ac_fn_cxx_try_compile "$LINENO"; then :
42384 glibcxx_cv_func__ldexpf_use=yes
42385 else
42386 glibcxx_cv_func__ldexpf_use=no
42387 fi
42388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42389 ac_ext=c
42390 ac_cpp='$CPP $CPPFLAGS'
42391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42394
42395
42396 fi
42397
42398 fi
42399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42400 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42401
42402 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42403 for ac_func in _ldexpf
42404 do :
42405 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42406 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42407 cat >>confdefs.h <<_ACEOF
42408 #define HAVE__LDEXPF 1
42409 _ACEOF
42410
42411 fi
42412 done
42413
42414 fi
42415 fi
42416
42417
42418
42419
42420
42421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42422 $as_echo_n "checking for logf declaration... " >&6; }
42423 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42424 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42425 $as_echo_n "(cached) " >&6
42426 else
42427
42428
42429 ac_ext=cpp
42430 ac_cpp='$CXXCPP $CPPFLAGS'
42431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42434
42435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42436 /* end confdefs.h. */
42437 #include <math.h>
42438 #ifdef HAVE_IEEEFP_H
42439 #include <ieeefp.h>
42440 #endif
42441
42442 int
42443 main ()
42444 {
42445 logf(0);
42446 ;
42447 return 0;
42448 }
42449 _ACEOF
42450 if ac_fn_cxx_try_compile "$LINENO"; then :
42451 glibcxx_cv_func_logf_use=yes
42452 else
42453 glibcxx_cv_func_logf_use=no
42454 fi
42455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42456 ac_ext=c
42457 ac_cpp='$CPP $CPPFLAGS'
42458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42461
42462
42463 fi
42464
42465 fi
42466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42467 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42468
42469 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42470 for ac_func in logf
42471 do :
42472 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42473 if test "x$ac_cv_func_logf" = x""yes; then :
42474 cat >>confdefs.h <<_ACEOF
42475 #define HAVE_LOGF 1
42476 _ACEOF
42477
42478 fi
42479 done
42480
42481 else
42482
42483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42484 $as_echo_n "checking for _logf declaration... " >&6; }
42485 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42486 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42487 $as_echo_n "(cached) " >&6
42488 else
42489
42490
42491 ac_ext=cpp
42492 ac_cpp='$CXXCPP $CPPFLAGS'
42493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42496
42497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42498 /* end confdefs.h. */
42499 #include <math.h>
42500 #ifdef HAVE_IEEEFP_H
42501 #include <ieeefp.h>
42502 #endif
42503
42504 int
42505 main ()
42506 {
42507 _logf(0);
42508 ;
42509 return 0;
42510 }
42511 _ACEOF
42512 if ac_fn_cxx_try_compile "$LINENO"; then :
42513 glibcxx_cv_func__logf_use=yes
42514 else
42515 glibcxx_cv_func__logf_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
42525 fi
42526
42527 fi
42528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42529 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42530
42531 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42532 for ac_func in _logf
42533 do :
42534 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42535 if test "x$ac_cv_func__logf" = x""yes; then :
42536 cat >>confdefs.h <<_ACEOF
42537 #define HAVE__LOGF 1
42538 _ACEOF
42539
42540 fi
42541 done
42542
42543 fi
42544 fi
42545
42546
42547
42548
42549
42550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42551 $as_echo_n "checking for log10f declaration... " >&6; }
42552 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42553 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42554 $as_echo_n "(cached) " >&6
42555 else
42556
42557
42558 ac_ext=cpp
42559 ac_cpp='$CXXCPP $CPPFLAGS'
42560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42563
42564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42565 /* end confdefs.h. */
42566 #include <math.h>
42567 #ifdef HAVE_IEEEFP_H
42568 #include <ieeefp.h>
42569 #endif
42570
42571 int
42572 main ()
42573 {
42574 log10f(0);
42575 ;
42576 return 0;
42577 }
42578 _ACEOF
42579 if ac_fn_cxx_try_compile "$LINENO"; then :
42580 glibcxx_cv_func_log10f_use=yes
42581 else
42582 glibcxx_cv_func_log10f_use=no
42583 fi
42584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42585 ac_ext=c
42586 ac_cpp='$CPP $CPPFLAGS'
42587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42590
42591
42592 fi
42593
42594 fi
42595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42596 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42597
42598 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42599 for ac_func in log10f
42600 do :
42601 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42602 if test "x$ac_cv_func_log10f" = x""yes; then :
42603 cat >>confdefs.h <<_ACEOF
42604 #define HAVE_LOG10F 1
42605 _ACEOF
42606
42607 fi
42608 done
42609
42610 else
42611
42612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42613 $as_echo_n "checking for _log10f declaration... " >&6; }
42614 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42615 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42616 $as_echo_n "(cached) " >&6
42617 else
42618
42619
42620 ac_ext=cpp
42621 ac_cpp='$CXXCPP $CPPFLAGS'
42622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42625
42626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42627 /* end confdefs.h. */
42628 #include <math.h>
42629 #ifdef HAVE_IEEEFP_H
42630 #include <ieeefp.h>
42631 #endif
42632
42633 int
42634 main ()
42635 {
42636 _log10f(0);
42637 ;
42638 return 0;
42639 }
42640 _ACEOF
42641 if ac_fn_cxx_try_compile "$LINENO"; then :
42642 glibcxx_cv_func__log10f_use=yes
42643 else
42644 glibcxx_cv_func__log10f_use=no
42645 fi
42646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42647 ac_ext=c
42648 ac_cpp='$CPP $CPPFLAGS'
42649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42652
42653
42654 fi
42655
42656 fi
42657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42658 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42659
42660 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42661 for ac_func in _log10f
42662 do :
42663 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42664 if test "x$ac_cv_func__log10f" = x""yes; then :
42665 cat >>confdefs.h <<_ACEOF
42666 #define HAVE__LOG10F 1
42667 _ACEOF
42668
42669 fi
42670 done
42671
42672 fi
42673 fi
42674
42675
42676
42677
42678
42679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42680 $as_echo_n "checking for modff declaration... " >&6; }
42681 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42682 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42683 $as_echo_n "(cached) " >&6
42684 else
42685
42686
42687 ac_ext=cpp
42688 ac_cpp='$CXXCPP $CPPFLAGS'
42689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42692
42693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42694 /* end confdefs.h. */
42695 #include <math.h>
42696 int
42697 main ()
42698 {
42699 modff(0, 0);
42700 ;
42701 return 0;
42702 }
42703 _ACEOF
42704 if ac_fn_cxx_try_compile "$LINENO"; then :
42705 glibcxx_cv_func_modff_use=yes
42706 else
42707 glibcxx_cv_func_modff_use=no
42708 fi
42709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42710 ac_ext=c
42711 ac_cpp='$CPP $CPPFLAGS'
42712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42715
42716
42717 fi
42718
42719 fi
42720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42721 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42722
42723 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42724 for ac_func in modff
42725 do :
42726 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42727 if test "x$ac_cv_func_modff" = x""yes; then :
42728 cat >>confdefs.h <<_ACEOF
42729 #define HAVE_MODFF 1
42730 _ACEOF
42731
42732 fi
42733 done
42734
42735 else
42736
42737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42738 $as_echo_n "checking for _modff declaration... " >&6; }
42739 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42740 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42741 $as_echo_n "(cached) " >&6
42742 else
42743
42744
42745 ac_ext=cpp
42746 ac_cpp='$CXXCPP $CPPFLAGS'
42747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42750
42751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42752 /* end confdefs.h. */
42753 #include <math.h>
42754 int
42755 main ()
42756 {
42757 _modff(0, 0);
42758 ;
42759 return 0;
42760 }
42761 _ACEOF
42762 if ac_fn_cxx_try_compile "$LINENO"; then :
42763 glibcxx_cv_func__modff_use=yes
42764 else
42765 glibcxx_cv_func__modff_use=no
42766 fi
42767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42768 ac_ext=c
42769 ac_cpp='$CPP $CPPFLAGS'
42770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42773
42774
42775 fi
42776
42777 fi
42778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42779 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42780
42781 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42782 for ac_func in _modff
42783 do :
42784 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42785 if test "x$ac_cv_func__modff" = x""yes; then :
42786 cat >>confdefs.h <<_ACEOF
42787 #define HAVE__MODFF 1
42788 _ACEOF
42789
42790 fi
42791 done
42792
42793 fi
42794 fi
42795
42796
42797
42798
42799
42800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42801 $as_echo_n "checking for modf declaration... " >&6; }
42802 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42803 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42804 $as_echo_n "(cached) " >&6
42805 else
42806
42807
42808 ac_ext=cpp
42809 ac_cpp='$CXXCPP $CPPFLAGS'
42810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42813
42814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42815 /* end confdefs.h. */
42816 #include <math.h>
42817 int
42818 main ()
42819 {
42820 modf(0, 0);
42821 ;
42822 return 0;
42823 }
42824 _ACEOF
42825 if ac_fn_cxx_try_compile "$LINENO"; then :
42826 glibcxx_cv_func_modf_use=yes
42827 else
42828 glibcxx_cv_func_modf_use=no
42829 fi
42830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42831 ac_ext=c
42832 ac_cpp='$CPP $CPPFLAGS'
42833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42836
42837
42838 fi
42839
42840 fi
42841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42842 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42843
42844 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42845 for ac_func in modf
42846 do :
42847 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42848 if test "x$ac_cv_func_modf" = x""yes; then :
42849 cat >>confdefs.h <<_ACEOF
42850 #define HAVE_MODF 1
42851 _ACEOF
42852
42853 fi
42854 done
42855
42856 else
42857
42858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42859 $as_echo_n "checking for _modf declaration... " >&6; }
42860 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42861 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42862 $as_echo_n "(cached) " >&6
42863 else
42864
42865
42866 ac_ext=cpp
42867 ac_cpp='$CXXCPP $CPPFLAGS'
42868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42871
42872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42873 /* end confdefs.h. */
42874 #include <math.h>
42875 int
42876 main ()
42877 {
42878 _modf(0, 0);
42879 ;
42880 return 0;
42881 }
42882 _ACEOF
42883 if ac_fn_cxx_try_compile "$LINENO"; then :
42884 glibcxx_cv_func__modf_use=yes
42885 else
42886 glibcxx_cv_func__modf_use=no
42887 fi
42888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42889 ac_ext=c
42890 ac_cpp='$CPP $CPPFLAGS'
42891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42894
42895
42896 fi
42897
42898 fi
42899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42900 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42901
42902 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42903 for ac_func in _modf
42904 do :
42905 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42906 if test "x$ac_cv_func__modf" = x""yes; then :
42907 cat >>confdefs.h <<_ACEOF
42908 #define HAVE__MODF 1
42909 _ACEOF
42910
42911 fi
42912 done
42913
42914 fi
42915 fi
42916
42917
42918
42919
42920
42921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42922 $as_echo_n "checking for powf declaration... " >&6; }
42923 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42924 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42925 $as_echo_n "(cached) " >&6
42926 else
42927
42928
42929 ac_ext=cpp
42930 ac_cpp='$CXXCPP $CPPFLAGS'
42931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42934
42935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42936 /* end confdefs.h. */
42937 #include <math.h>
42938 int
42939 main ()
42940 {
42941 powf(0, 0);
42942 ;
42943 return 0;
42944 }
42945 _ACEOF
42946 if ac_fn_cxx_try_compile "$LINENO"; then :
42947 glibcxx_cv_func_powf_use=yes
42948 else
42949 glibcxx_cv_func_powf_use=no
42950 fi
42951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42952 ac_ext=c
42953 ac_cpp='$CPP $CPPFLAGS'
42954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42957
42958
42959 fi
42960
42961 fi
42962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42963 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42964
42965 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42966 for ac_func in powf
42967 do :
42968 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42969 if test "x$ac_cv_func_powf" = x""yes; then :
42970 cat >>confdefs.h <<_ACEOF
42971 #define HAVE_POWF 1
42972 _ACEOF
42973
42974 fi
42975 done
42976
42977 else
42978
42979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42980 $as_echo_n "checking for _powf declaration... " >&6; }
42981 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42982 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42983 $as_echo_n "(cached) " >&6
42984 else
42985
42986
42987 ac_ext=cpp
42988 ac_cpp='$CXXCPP $CPPFLAGS'
42989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42992
42993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42994 /* end confdefs.h. */
42995 #include <math.h>
42996 int
42997 main ()
42998 {
42999 _powf(0, 0);
43000 ;
43001 return 0;
43002 }
43003 _ACEOF
43004 if ac_fn_cxx_try_compile "$LINENO"; then :
43005 glibcxx_cv_func__powf_use=yes
43006 else
43007 glibcxx_cv_func__powf_use=no
43008 fi
43009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43010 ac_ext=c
43011 ac_cpp='$CPP $CPPFLAGS'
43012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43015
43016
43017 fi
43018
43019 fi
43020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43021 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43022
43023 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43024 for ac_func in _powf
43025 do :
43026 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43027 if test "x$ac_cv_func__powf" = x""yes; then :
43028 cat >>confdefs.h <<_ACEOF
43029 #define HAVE__POWF 1
43030 _ACEOF
43031
43032 fi
43033 done
43034
43035 fi
43036 fi
43037
43038
43039
43040
43041
43042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43043 $as_echo_n "checking for sqrtf declaration... " >&6; }
43044 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43045 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43046 $as_echo_n "(cached) " >&6
43047 else
43048
43049
43050 ac_ext=cpp
43051 ac_cpp='$CXXCPP $CPPFLAGS'
43052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43055
43056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43057 /* end confdefs.h. */
43058 #include <math.h>
43059 #ifdef HAVE_IEEEFP_H
43060 #include <ieeefp.h>
43061 #endif
43062
43063 int
43064 main ()
43065 {
43066 sqrtf(0);
43067 ;
43068 return 0;
43069 }
43070 _ACEOF
43071 if ac_fn_cxx_try_compile "$LINENO"; then :
43072 glibcxx_cv_func_sqrtf_use=yes
43073 else
43074 glibcxx_cv_func_sqrtf_use=no
43075 fi
43076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43077 ac_ext=c
43078 ac_cpp='$CPP $CPPFLAGS'
43079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43082
43083
43084 fi
43085
43086 fi
43087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43088 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43089
43090 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43091 for ac_func in sqrtf
43092 do :
43093 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43094 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43095 cat >>confdefs.h <<_ACEOF
43096 #define HAVE_SQRTF 1
43097 _ACEOF
43098
43099 fi
43100 done
43101
43102 else
43103
43104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43105 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43106 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43107 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43108 $as_echo_n "(cached) " >&6
43109 else
43110
43111
43112 ac_ext=cpp
43113 ac_cpp='$CXXCPP $CPPFLAGS'
43114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43117
43118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43119 /* end confdefs.h. */
43120 #include <math.h>
43121 #ifdef HAVE_IEEEFP_H
43122 #include <ieeefp.h>
43123 #endif
43124
43125 int
43126 main ()
43127 {
43128 _sqrtf(0);
43129 ;
43130 return 0;
43131 }
43132 _ACEOF
43133 if ac_fn_cxx_try_compile "$LINENO"; then :
43134 glibcxx_cv_func__sqrtf_use=yes
43135 else
43136 glibcxx_cv_func__sqrtf_use=no
43137 fi
43138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43139 ac_ext=c
43140 ac_cpp='$CPP $CPPFLAGS'
43141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43144
43145
43146 fi
43147
43148 fi
43149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43150 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43151
43152 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43153 for ac_func in _sqrtf
43154 do :
43155 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43156 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43157 cat >>confdefs.h <<_ACEOF
43158 #define HAVE__SQRTF 1
43159 _ACEOF
43160
43161 fi
43162 done
43163
43164 fi
43165 fi
43166
43167
43168
43169
43170
43171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43172 $as_echo_n "checking for sincosf declaration... " >&6; }
43173 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43174 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43175 $as_echo_n "(cached) " >&6
43176 else
43177
43178
43179 ac_ext=cpp
43180 ac_cpp='$CXXCPP $CPPFLAGS'
43181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43184
43185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43186 /* end confdefs.h. */
43187 #include <math.h>
43188 int
43189 main ()
43190 {
43191 sincosf(0, 0, 0);
43192 ;
43193 return 0;
43194 }
43195 _ACEOF
43196 if ac_fn_cxx_try_compile "$LINENO"; then :
43197 glibcxx_cv_func_sincosf_use=yes
43198 else
43199 glibcxx_cv_func_sincosf_use=no
43200 fi
43201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43202 ac_ext=c
43203 ac_cpp='$CPP $CPPFLAGS'
43204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43207
43208
43209 fi
43210
43211 fi
43212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43213 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43214
43215 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43216 for ac_func in sincosf
43217 do :
43218 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43219 if test "x$ac_cv_func_sincosf" = x""yes; then :
43220 cat >>confdefs.h <<_ACEOF
43221 #define HAVE_SINCOSF 1
43222 _ACEOF
43223
43224 fi
43225 done
43226
43227 else
43228
43229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43230 $as_echo_n "checking for _sincosf declaration... " >&6; }
43231 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43232 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43233 $as_echo_n "(cached) " >&6
43234 else
43235
43236
43237 ac_ext=cpp
43238 ac_cpp='$CXXCPP $CPPFLAGS'
43239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43242
43243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43244 /* end confdefs.h. */
43245 #include <math.h>
43246 int
43247 main ()
43248 {
43249 _sincosf(0, 0, 0);
43250 ;
43251 return 0;
43252 }
43253 _ACEOF
43254 if ac_fn_cxx_try_compile "$LINENO"; then :
43255 glibcxx_cv_func__sincosf_use=yes
43256 else
43257 glibcxx_cv_func__sincosf_use=no
43258 fi
43259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43260 ac_ext=c
43261 ac_cpp='$CPP $CPPFLAGS'
43262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43265
43266
43267 fi
43268
43269 fi
43270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43271 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43272
43273 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43274 for ac_func in _sincosf
43275 do :
43276 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43277 if test "x$ac_cv_func__sincosf" = x""yes; then :
43278 cat >>confdefs.h <<_ACEOF
43279 #define HAVE__SINCOSF 1
43280 _ACEOF
43281
43282 fi
43283 done
43284
43285 fi
43286 fi
43287
43288
43289
43290
43291
43292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43293 $as_echo_n "checking for finitef declaration... " >&6; }
43294 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43295 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43296 $as_echo_n "(cached) " >&6
43297 else
43298
43299
43300 ac_ext=cpp
43301 ac_cpp='$CXXCPP $CPPFLAGS'
43302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43305
43306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43307 /* end confdefs.h. */
43308 #include <math.h>
43309 #ifdef HAVE_IEEEFP_H
43310 #include <ieeefp.h>
43311 #endif
43312
43313 int
43314 main ()
43315 {
43316 finitef(0);
43317 ;
43318 return 0;
43319 }
43320 _ACEOF
43321 if ac_fn_cxx_try_compile "$LINENO"; then :
43322 glibcxx_cv_func_finitef_use=yes
43323 else
43324 glibcxx_cv_func_finitef_use=no
43325 fi
43326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43327 ac_ext=c
43328 ac_cpp='$CPP $CPPFLAGS'
43329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43332
43333
43334 fi
43335
43336 fi
43337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43338 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43339
43340 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43341 for ac_func in finitef
43342 do :
43343 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43344 if test "x$ac_cv_func_finitef" = x""yes; then :
43345 cat >>confdefs.h <<_ACEOF
43346 #define HAVE_FINITEF 1
43347 _ACEOF
43348
43349 fi
43350 done
43351
43352 else
43353
43354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43355 $as_echo_n "checking for _finitef declaration... " >&6; }
43356 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43357 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43358 $as_echo_n "(cached) " >&6
43359 else
43360
43361
43362 ac_ext=cpp
43363 ac_cpp='$CXXCPP $CPPFLAGS'
43364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43367
43368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43369 /* end confdefs.h. */
43370 #include <math.h>
43371 #ifdef HAVE_IEEEFP_H
43372 #include <ieeefp.h>
43373 #endif
43374
43375 int
43376 main ()
43377 {
43378 _finitef(0);
43379 ;
43380 return 0;
43381 }
43382 _ACEOF
43383 if ac_fn_cxx_try_compile "$LINENO"; then :
43384 glibcxx_cv_func__finitef_use=yes
43385 else
43386 glibcxx_cv_func__finitef_use=no
43387 fi
43388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43389 ac_ext=c
43390 ac_cpp='$CPP $CPPFLAGS'
43391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43394
43395
43396 fi
43397
43398 fi
43399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43400 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43401
43402 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43403 for ac_func in _finitef
43404 do :
43405 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43406 if test "x$ac_cv_func__finitef" = x""yes; then :
43407 cat >>confdefs.h <<_ACEOF
43408 #define HAVE__FINITEF 1
43409 _ACEOF
43410
43411 fi
43412 done
43413
43414 fi
43415 fi
43416
43417
43418
43419
43420
43421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43422 $as_echo_n "checking for long double trig functions... " >&6; }
43423 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43424 $as_echo_n "(cached) " >&6
43425 else
43426
43427
43428 ac_ext=cpp
43429 ac_cpp='$CXXCPP $CPPFLAGS'
43430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43433
43434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43435 /* end confdefs.h. */
43436 #include <math.h>
43437 int
43438 main ()
43439 {
43440 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43441 ;
43442 return 0;
43443 }
43444 _ACEOF
43445 if ac_fn_cxx_try_compile "$LINENO"; then :
43446 glibcxx_cv_func_long_double_trig_use=yes
43447 else
43448 glibcxx_cv_func_long_double_trig_use=no
43449 fi
43450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43451 ac_ext=c
43452 ac_cpp='$CPP $CPPFLAGS'
43453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43456
43457 fi
43458
43459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43460 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43461 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43462 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43463 do :
43464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43466 eval as_val=\$$as_ac_var
43467 if test "x$as_val" = x""yes; then :
43468 cat >>confdefs.h <<_ACEOF
43469 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43470 _ACEOF
43471
43472 fi
43473 done
43474
43475 else
43476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43477 $as_echo_n "checking for _long double trig functions... " >&6; }
43478 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43479 $as_echo_n "(cached) " >&6
43480 else
43481
43482
43483 ac_ext=cpp
43484 ac_cpp='$CXXCPP $CPPFLAGS'
43485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43488
43489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43490 /* end confdefs.h. */
43491 #include <math.h>
43492 int
43493 main ()
43494 {
43495 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43496 ;
43497 return 0;
43498 }
43499 _ACEOF
43500 if ac_fn_cxx_try_compile "$LINENO"; then :
43501 glibcxx_cv_func__long_double_trig_use=yes
43502 else
43503 glibcxx_cv_func__long_double_trig_use=no
43504 fi
43505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43506 ac_ext=c
43507 ac_cpp='$CPP $CPPFLAGS'
43508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43511
43512 fi
43513
43514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43515 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43516 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43517 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43518 do :
43519 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43520 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43521 eval as_val=\$$as_ac_var
43522 if test "x$as_val" = x""yes; then :
43523 cat >>confdefs.h <<_ACEOF
43524 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43525 _ACEOF
43526
43527 fi
43528 done
43529
43530 fi
43531 fi
43532
43533
43534
43535
43536
43537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43538 $as_echo_n "checking for long double round functions... " >&6; }
43539 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43540 $as_echo_n "(cached) " >&6
43541 else
43542
43543
43544 ac_ext=cpp
43545 ac_cpp='$CXXCPP $CPPFLAGS'
43546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43549
43550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43551 /* end confdefs.h. */
43552 #include <math.h>
43553 int
43554 main ()
43555 {
43556 ceill (0); floorl (0);
43557 ;
43558 return 0;
43559 }
43560 _ACEOF
43561 if ac_fn_cxx_try_compile "$LINENO"; then :
43562 glibcxx_cv_func_long_double_round_use=yes
43563 else
43564 glibcxx_cv_func_long_double_round_use=no
43565 fi
43566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43567 ac_ext=c
43568 ac_cpp='$CPP $CPPFLAGS'
43569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43572
43573 fi
43574
43575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43576 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43577 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43578 for ac_func in ceill floorl
43579 do :
43580 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43581 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43582 eval as_val=\$$as_ac_var
43583 if test "x$as_val" = x""yes; then :
43584 cat >>confdefs.h <<_ACEOF
43585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43586 _ACEOF
43587
43588 fi
43589 done
43590
43591 else
43592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43593 $as_echo_n "checking for _long double round functions... " >&6; }
43594 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43595 $as_echo_n "(cached) " >&6
43596 else
43597
43598
43599 ac_ext=cpp
43600 ac_cpp='$CXXCPP $CPPFLAGS'
43601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43604
43605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43606 /* end confdefs.h. */
43607 #include <math.h>
43608 int
43609 main ()
43610 {
43611 _ceill (0); _floorl (0);
43612 ;
43613 return 0;
43614 }
43615 _ACEOF
43616 if ac_fn_cxx_try_compile "$LINENO"; then :
43617 glibcxx_cv_func__long_double_round_use=yes
43618 else
43619 glibcxx_cv_func__long_double_round_use=no
43620 fi
43621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43622 ac_ext=c
43623 ac_cpp='$CPP $CPPFLAGS'
43624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43627
43628 fi
43629
43630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43631 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43632 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43633 for ac_func in _ceill _floorl
43634 do :
43635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43637 eval as_val=\$$as_ac_var
43638 if test "x$as_val" = x""yes; then :
43639 cat >>confdefs.h <<_ACEOF
43640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43641 _ACEOF
43642
43643 fi
43644 done
43645
43646 fi
43647 fi
43648
43649
43650
43651
43652
43653
43654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43655 $as_echo_n "checking for isnanl declaration... " >&6; }
43656 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43657 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43658 $as_echo_n "(cached) " >&6
43659 else
43660
43661
43662 ac_ext=cpp
43663 ac_cpp='$CXXCPP $CPPFLAGS'
43664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43667
43668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43669 /* end confdefs.h. */
43670 #include <math.h>
43671 #ifdef HAVE_IEEEFP_H
43672 #include <ieeefp.h>
43673 #endif
43674
43675 int
43676 main ()
43677 {
43678 isnanl(0);
43679 ;
43680 return 0;
43681 }
43682 _ACEOF
43683 if ac_fn_cxx_try_compile "$LINENO"; then :
43684 glibcxx_cv_func_isnanl_use=yes
43685 else
43686 glibcxx_cv_func_isnanl_use=no
43687 fi
43688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43689 ac_ext=c
43690 ac_cpp='$CPP $CPPFLAGS'
43691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43694
43695
43696 fi
43697
43698 fi
43699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43700 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43701
43702 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43703 for ac_func in isnanl
43704 do :
43705 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43706 if test "x$ac_cv_func_isnanl" = x""yes; then :
43707 cat >>confdefs.h <<_ACEOF
43708 #define HAVE_ISNANL 1
43709 _ACEOF
43710
43711 fi
43712 done
43713
43714 else
43715
43716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43717 $as_echo_n "checking for _isnanl declaration... " >&6; }
43718 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43719 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43720 $as_echo_n "(cached) " >&6
43721 else
43722
43723
43724 ac_ext=cpp
43725 ac_cpp='$CXXCPP $CPPFLAGS'
43726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43729
43730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43731 /* end confdefs.h. */
43732 #include <math.h>
43733 #ifdef HAVE_IEEEFP_H
43734 #include <ieeefp.h>
43735 #endif
43736
43737 int
43738 main ()
43739 {
43740 _isnanl(0);
43741 ;
43742 return 0;
43743 }
43744 _ACEOF
43745 if ac_fn_cxx_try_compile "$LINENO"; then :
43746 glibcxx_cv_func__isnanl_use=yes
43747 else
43748 glibcxx_cv_func__isnanl_use=no
43749 fi
43750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43751 ac_ext=c
43752 ac_cpp='$CPP $CPPFLAGS'
43753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43756
43757
43758 fi
43759
43760 fi
43761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43762 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43763
43764 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43765 for ac_func in _isnanl
43766 do :
43767 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43768 if test "x$ac_cv_func__isnanl" = x""yes; then :
43769 cat >>confdefs.h <<_ACEOF
43770 #define HAVE__ISNANL 1
43771 _ACEOF
43772
43773 fi
43774 done
43775
43776 fi
43777 fi
43778
43779
43780
43781
43782
43783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43784 $as_echo_n "checking for isinfl declaration... " >&6; }
43785 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43786 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43787 $as_echo_n "(cached) " >&6
43788 else
43789
43790
43791 ac_ext=cpp
43792 ac_cpp='$CXXCPP $CPPFLAGS'
43793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43796
43797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43798 /* end confdefs.h. */
43799 #include <math.h>
43800 #ifdef HAVE_IEEEFP_H
43801 #include <ieeefp.h>
43802 #endif
43803
43804 int
43805 main ()
43806 {
43807 isinfl(0);
43808 ;
43809 return 0;
43810 }
43811 _ACEOF
43812 if ac_fn_cxx_try_compile "$LINENO"; then :
43813 glibcxx_cv_func_isinfl_use=yes
43814 else
43815 glibcxx_cv_func_isinfl_use=no
43816 fi
43817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43818 ac_ext=c
43819 ac_cpp='$CPP $CPPFLAGS'
43820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43823
43824
43825 fi
43826
43827 fi
43828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43829 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43830
43831 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43832 for ac_func in isinfl
43833 do :
43834 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43835 if test "x$ac_cv_func_isinfl" = x""yes; then :
43836 cat >>confdefs.h <<_ACEOF
43837 #define HAVE_ISINFL 1
43838 _ACEOF
43839
43840 fi
43841 done
43842
43843 else
43844
43845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43846 $as_echo_n "checking for _isinfl declaration... " >&6; }
43847 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43848 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43849 $as_echo_n "(cached) " >&6
43850 else
43851
43852
43853 ac_ext=cpp
43854 ac_cpp='$CXXCPP $CPPFLAGS'
43855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43858
43859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43860 /* end confdefs.h. */
43861 #include <math.h>
43862 #ifdef HAVE_IEEEFP_H
43863 #include <ieeefp.h>
43864 #endif
43865
43866 int
43867 main ()
43868 {
43869 _isinfl(0);
43870 ;
43871 return 0;
43872 }
43873 _ACEOF
43874 if ac_fn_cxx_try_compile "$LINENO"; then :
43875 glibcxx_cv_func__isinfl_use=yes
43876 else
43877 glibcxx_cv_func__isinfl_use=no
43878 fi
43879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43880 ac_ext=c
43881 ac_cpp='$CPP $CPPFLAGS'
43882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43885
43886
43887 fi
43888
43889 fi
43890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43891 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43892
43893 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43894 for ac_func in _isinfl
43895 do :
43896 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43897 if test "x$ac_cv_func__isinfl" = x""yes; then :
43898 cat >>confdefs.h <<_ACEOF
43899 #define HAVE__ISINFL 1
43900 _ACEOF
43901
43902 fi
43903 done
43904
43905 fi
43906 fi
43907
43908
43909
43910
43911
43912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43913 $as_echo_n "checking for atan2l declaration... " >&6; }
43914 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43915 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43916 $as_echo_n "(cached) " >&6
43917 else
43918
43919
43920 ac_ext=cpp
43921 ac_cpp='$CXXCPP $CPPFLAGS'
43922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43925
43926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43927 /* end confdefs.h. */
43928 #include <math.h>
43929 int
43930 main ()
43931 {
43932 atan2l(0, 0);
43933 ;
43934 return 0;
43935 }
43936 _ACEOF
43937 if ac_fn_cxx_try_compile "$LINENO"; then :
43938 glibcxx_cv_func_atan2l_use=yes
43939 else
43940 glibcxx_cv_func_atan2l_use=no
43941 fi
43942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43943 ac_ext=c
43944 ac_cpp='$CPP $CPPFLAGS'
43945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43948
43949
43950 fi
43951
43952 fi
43953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43954 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43955
43956 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43957 for ac_func in atan2l
43958 do :
43959 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43960 if test "x$ac_cv_func_atan2l" = x""yes; then :
43961 cat >>confdefs.h <<_ACEOF
43962 #define HAVE_ATAN2L 1
43963 _ACEOF
43964
43965 fi
43966 done
43967
43968 else
43969
43970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43971 $as_echo_n "checking for _atan2l declaration... " >&6; }
43972 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43973 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43974 $as_echo_n "(cached) " >&6
43975 else
43976
43977
43978 ac_ext=cpp
43979 ac_cpp='$CXXCPP $CPPFLAGS'
43980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43983
43984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43985 /* end confdefs.h. */
43986 #include <math.h>
43987 int
43988 main ()
43989 {
43990 _atan2l(0, 0);
43991 ;
43992 return 0;
43993 }
43994 _ACEOF
43995 if ac_fn_cxx_try_compile "$LINENO"; then :
43996 glibcxx_cv_func__atan2l_use=yes
43997 else
43998 glibcxx_cv_func__atan2l_use=no
43999 fi
44000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44001 ac_ext=c
44002 ac_cpp='$CPP $CPPFLAGS'
44003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44006
44007
44008 fi
44009
44010 fi
44011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44012 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44013
44014 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44015 for ac_func in _atan2l
44016 do :
44017 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44018 if test "x$ac_cv_func__atan2l" = x""yes; then :
44019 cat >>confdefs.h <<_ACEOF
44020 #define HAVE__ATAN2L 1
44021 _ACEOF
44022
44023 fi
44024 done
44025
44026 fi
44027 fi
44028
44029
44030
44031
44032
44033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44034 $as_echo_n "checking for expl declaration... " >&6; }
44035 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44036 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44037 $as_echo_n "(cached) " >&6
44038 else
44039
44040
44041 ac_ext=cpp
44042 ac_cpp='$CXXCPP $CPPFLAGS'
44043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44046
44047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44048 /* end confdefs.h. */
44049 #include <math.h>
44050 #ifdef HAVE_IEEEFP_H
44051 #include <ieeefp.h>
44052 #endif
44053
44054 int
44055 main ()
44056 {
44057 expl(0);
44058 ;
44059 return 0;
44060 }
44061 _ACEOF
44062 if ac_fn_cxx_try_compile "$LINENO"; then :
44063 glibcxx_cv_func_expl_use=yes
44064 else
44065 glibcxx_cv_func_expl_use=no
44066 fi
44067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44068 ac_ext=c
44069 ac_cpp='$CPP $CPPFLAGS'
44070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44073
44074
44075 fi
44076
44077 fi
44078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44079 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44080
44081 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44082 for ac_func in expl
44083 do :
44084 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44085 if test "x$ac_cv_func_expl" = x""yes; then :
44086 cat >>confdefs.h <<_ACEOF
44087 #define HAVE_EXPL 1
44088 _ACEOF
44089
44090 fi
44091 done
44092
44093 else
44094
44095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44096 $as_echo_n "checking for _expl declaration... " >&6; }
44097 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44098 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44099 $as_echo_n "(cached) " >&6
44100 else
44101
44102
44103 ac_ext=cpp
44104 ac_cpp='$CXXCPP $CPPFLAGS'
44105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44108
44109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44110 /* end confdefs.h. */
44111 #include <math.h>
44112 #ifdef HAVE_IEEEFP_H
44113 #include <ieeefp.h>
44114 #endif
44115
44116 int
44117 main ()
44118 {
44119 _expl(0);
44120 ;
44121 return 0;
44122 }
44123 _ACEOF
44124 if ac_fn_cxx_try_compile "$LINENO"; then :
44125 glibcxx_cv_func__expl_use=yes
44126 else
44127 glibcxx_cv_func__expl_use=no
44128 fi
44129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44130 ac_ext=c
44131 ac_cpp='$CPP $CPPFLAGS'
44132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44135
44136
44137 fi
44138
44139 fi
44140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44141 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44142
44143 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44144 for ac_func in _expl
44145 do :
44146 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44147 if test "x$ac_cv_func__expl" = x""yes; then :
44148 cat >>confdefs.h <<_ACEOF
44149 #define HAVE__EXPL 1
44150 _ACEOF
44151
44152 fi
44153 done
44154
44155 fi
44156 fi
44157
44158
44159
44160
44161
44162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44163 $as_echo_n "checking for fabsl declaration... " >&6; }
44164 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44165 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44166 $as_echo_n "(cached) " >&6
44167 else
44168
44169
44170 ac_ext=cpp
44171 ac_cpp='$CXXCPP $CPPFLAGS'
44172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44175
44176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44177 /* end confdefs.h. */
44178 #include <math.h>
44179 #ifdef HAVE_IEEEFP_H
44180 #include <ieeefp.h>
44181 #endif
44182
44183 int
44184 main ()
44185 {
44186 fabsl(0);
44187 ;
44188 return 0;
44189 }
44190 _ACEOF
44191 if ac_fn_cxx_try_compile "$LINENO"; then :
44192 glibcxx_cv_func_fabsl_use=yes
44193 else
44194 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
44208 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44209
44210 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44211 for ac_func in fabsl
44212 do :
44213 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44214 if test "x$ac_cv_func_fabsl" = x""yes; then :
44215 cat >>confdefs.h <<_ACEOF
44216 #define HAVE_FABSL 1
44217 _ACEOF
44218
44219 fi
44220 done
44221
44222 else
44223
44224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44225 $as_echo_n "checking for _fabsl declaration... " >&6; }
44226 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44227 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
44242 #include <ieeefp.h>
44243 #endif
44244
44245 int
44246 main ()
44247 {
44248 _fabsl(0);
44249 ;
44250 return 0;
44251 }
44252 _ACEOF
44253 if ac_fn_cxx_try_compile "$LINENO"; then :
44254 glibcxx_cv_func__fabsl_use=yes
44255 else
44256 glibcxx_cv_func__fabsl_use=no
44257 fi
44258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44259 ac_ext=c
44260 ac_cpp='$CPP $CPPFLAGS'
44261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44264
44265
44266 fi
44267
44268 fi
44269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44270 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44271
44272 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44273 for ac_func in _fabsl
44274 do :
44275 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44276 if test "x$ac_cv_func__fabsl" = x""yes; then :
44277 cat >>confdefs.h <<_ACEOF
44278 #define HAVE__FABSL 1
44279 _ACEOF
44280
44281 fi
44282 done
44283
44284 fi
44285 fi
44286
44287
44288
44289
44290
44291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44292 $as_echo_n "checking for fmodl declaration... " >&6; }
44293 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44294 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44295 $as_echo_n "(cached) " >&6
44296 else
44297
44298
44299 ac_ext=cpp
44300 ac_cpp='$CXXCPP $CPPFLAGS'
44301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44304
44305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44306 /* end confdefs.h. */
44307 #include <math.h>
44308 int
44309 main ()
44310 {
44311 fmodl(0, 0);
44312 ;
44313 return 0;
44314 }
44315 _ACEOF
44316 if ac_fn_cxx_try_compile "$LINENO"; then :
44317 glibcxx_cv_func_fmodl_use=yes
44318 else
44319 glibcxx_cv_func_fmodl_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_fmodl_use" >&5
44333 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44334
44335 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44336 for ac_func in fmodl
44337 do :
44338 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44339 if test "x$ac_cv_func_fmodl" = x""yes; then :
44340 cat >>confdefs.h <<_ACEOF
44341 #define HAVE_FMODL 1
44342 _ACEOF
44343
44344 fi
44345 done
44346
44347 else
44348
44349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44350 $as_echo_n "checking for _fmodl declaration... " >&6; }
44351 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44352 if test "${glibcxx_cv_func__fmodl_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 int
44367 main ()
44368 {
44369 _fmodl(0, 0);
44370 ;
44371 return 0;
44372 }
44373 _ACEOF
44374 if ac_fn_cxx_try_compile "$LINENO"; then :
44375 glibcxx_cv_func__fmodl_use=yes
44376 else
44377 glibcxx_cv_func__fmodl_use=no
44378 fi
44379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44380 ac_ext=c
44381 ac_cpp='$CPP $CPPFLAGS'
44382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44385
44386
44387 fi
44388
44389 fi
44390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44391 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44392
44393 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44394 for ac_func in _fmodl
44395 do :
44396 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44397 if test "x$ac_cv_func__fmodl" = x""yes; then :
44398 cat >>confdefs.h <<_ACEOF
44399 #define HAVE__FMODL 1
44400 _ACEOF
44401
44402 fi
44403 done
44404
44405 fi
44406 fi
44407
44408
44409
44410
44411
44412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44413 $as_echo_n "checking for frexpl declaration... " >&6; }
44414 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44415 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44416 $as_echo_n "(cached) " >&6
44417 else
44418
44419
44420 ac_ext=cpp
44421 ac_cpp='$CXXCPP $CPPFLAGS'
44422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44425
44426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44427 /* end confdefs.h. */
44428 #include <math.h>
44429 int
44430 main ()
44431 {
44432 frexpl(0, 0);
44433 ;
44434 return 0;
44435 }
44436 _ACEOF
44437 if ac_fn_cxx_try_compile "$LINENO"; then :
44438 glibcxx_cv_func_frexpl_use=yes
44439 else
44440 glibcxx_cv_func_frexpl_use=no
44441 fi
44442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44443 ac_ext=c
44444 ac_cpp='$CPP $CPPFLAGS'
44445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44448
44449
44450 fi
44451
44452 fi
44453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44454 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44455
44456 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44457 for ac_func in frexpl
44458 do :
44459 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44460 if test "x$ac_cv_func_frexpl" = x""yes; then :
44461 cat >>confdefs.h <<_ACEOF
44462 #define HAVE_FREXPL 1
44463 _ACEOF
44464
44465 fi
44466 done
44467
44468 else
44469
44470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44471 $as_echo_n "checking for _frexpl declaration... " >&6; }
44472 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44473 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44474 $as_echo_n "(cached) " >&6
44475 else
44476
44477
44478 ac_ext=cpp
44479 ac_cpp='$CXXCPP $CPPFLAGS'
44480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44483
44484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44485 /* end confdefs.h. */
44486 #include <math.h>
44487 int
44488 main ()
44489 {
44490 _frexpl(0, 0);
44491 ;
44492 return 0;
44493 }
44494 _ACEOF
44495 if ac_fn_cxx_try_compile "$LINENO"; then :
44496 glibcxx_cv_func__frexpl_use=yes
44497 else
44498 glibcxx_cv_func__frexpl_use=no
44499 fi
44500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44501 ac_ext=c
44502 ac_cpp='$CPP $CPPFLAGS'
44503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44506
44507
44508 fi
44509
44510 fi
44511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44512 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44513
44514 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44515 for ac_func in _frexpl
44516 do :
44517 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44518 if test "x$ac_cv_func__frexpl" = x""yes; then :
44519 cat >>confdefs.h <<_ACEOF
44520 #define HAVE__FREXPL 1
44521 _ACEOF
44522
44523 fi
44524 done
44525
44526 fi
44527 fi
44528
44529
44530
44531
44532
44533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44534 $as_echo_n "checking for hypotl declaration... " >&6; }
44535 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44536 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44537 $as_echo_n "(cached) " >&6
44538 else
44539
44540
44541 ac_ext=cpp
44542 ac_cpp='$CXXCPP $CPPFLAGS'
44543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44546
44547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44548 /* end confdefs.h. */
44549 #include <math.h>
44550 int
44551 main ()
44552 {
44553 hypotl(0, 0);
44554 ;
44555 return 0;
44556 }
44557 _ACEOF
44558 if ac_fn_cxx_try_compile "$LINENO"; then :
44559 glibcxx_cv_func_hypotl_use=yes
44560 else
44561 glibcxx_cv_func_hypotl_use=no
44562 fi
44563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44564 ac_ext=c
44565 ac_cpp='$CPP $CPPFLAGS'
44566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44569
44570
44571 fi
44572
44573 fi
44574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44575 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44576
44577 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44578 for ac_func in hypotl
44579 do :
44580 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44581 if test "x$ac_cv_func_hypotl" = x""yes; then :
44582 cat >>confdefs.h <<_ACEOF
44583 #define HAVE_HYPOTL 1
44584 _ACEOF
44585
44586 fi
44587 done
44588
44589 else
44590
44591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44592 $as_echo_n "checking for _hypotl declaration... " >&6; }
44593 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44594 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44595 $as_echo_n "(cached) " >&6
44596 else
44597
44598
44599 ac_ext=cpp
44600 ac_cpp='$CXXCPP $CPPFLAGS'
44601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44604
44605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44606 /* end confdefs.h. */
44607 #include <math.h>
44608 int
44609 main ()
44610 {
44611 _hypotl(0, 0);
44612 ;
44613 return 0;
44614 }
44615 _ACEOF
44616 if ac_fn_cxx_try_compile "$LINENO"; then :
44617 glibcxx_cv_func__hypotl_use=yes
44618 else
44619 glibcxx_cv_func__hypotl_use=no
44620 fi
44621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44622 ac_ext=c
44623 ac_cpp='$CPP $CPPFLAGS'
44624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44627
44628
44629 fi
44630
44631 fi
44632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44633 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44634
44635 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44636 for ac_func in _hypotl
44637 do :
44638 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44639 if test "x$ac_cv_func__hypotl" = x""yes; then :
44640 cat >>confdefs.h <<_ACEOF
44641 #define HAVE__HYPOTL 1
44642 _ACEOF
44643
44644 fi
44645 done
44646
44647 fi
44648 fi
44649
44650
44651
44652
44653
44654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44655 $as_echo_n "checking for ldexpl declaration... " >&6; }
44656 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44657 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44658 $as_echo_n "(cached) " >&6
44659 else
44660
44661
44662 ac_ext=cpp
44663 ac_cpp='$CXXCPP $CPPFLAGS'
44664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44667
44668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44669 /* end confdefs.h. */
44670 #include <math.h>
44671 int
44672 main ()
44673 {
44674 ldexpl(0, 0);
44675 ;
44676 return 0;
44677 }
44678 _ACEOF
44679 if ac_fn_cxx_try_compile "$LINENO"; then :
44680 glibcxx_cv_func_ldexpl_use=yes
44681 else
44682 glibcxx_cv_func_ldexpl_use=no
44683 fi
44684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44685 ac_ext=c
44686 ac_cpp='$CPP $CPPFLAGS'
44687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44690
44691
44692 fi
44693
44694 fi
44695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44696 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44697
44698 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44699 for ac_func in ldexpl
44700 do :
44701 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44702 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44703 cat >>confdefs.h <<_ACEOF
44704 #define HAVE_LDEXPL 1
44705 _ACEOF
44706
44707 fi
44708 done
44709
44710 else
44711
44712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44713 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44714 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44715 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44716 $as_echo_n "(cached) " >&6
44717 else
44718
44719
44720 ac_ext=cpp
44721 ac_cpp='$CXXCPP $CPPFLAGS'
44722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44725
44726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44727 /* end confdefs.h. */
44728 #include <math.h>
44729 int
44730 main ()
44731 {
44732 _ldexpl(0, 0);
44733 ;
44734 return 0;
44735 }
44736 _ACEOF
44737 if ac_fn_cxx_try_compile "$LINENO"; then :
44738 glibcxx_cv_func__ldexpl_use=yes
44739 else
44740 glibcxx_cv_func__ldexpl_use=no
44741 fi
44742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44743 ac_ext=c
44744 ac_cpp='$CPP $CPPFLAGS'
44745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44748
44749
44750 fi
44751
44752 fi
44753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44754 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44755
44756 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44757 for ac_func in _ldexpl
44758 do :
44759 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44760 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44761 cat >>confdefs.h <<_ACEOF
44762 #define HAVE__LDEXPL 1
44763 _ACEOF
44764
44765 fi
44766 done
44767
44768 fi
44769 fi
44770
44771
44772
44773
44774
44775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44776 $as_echo_n "checking for logl declaration... " >&6; }
44777 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44778 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44779 $as_echo_n "(cached) " >&6
44780 else
44781
44782
44783 ac_ext=cpp
44784 ac_cpp='$CXXCPP $CPPFLAGS'
44785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44788
44789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44790 /* end confdefs.h. */
44791 #include <math.h>
44792 #ifdef HAVE_IEEEFP_H
44793 #include <ieeefp.h>
44794 #endif
44795
44796 int
44797 main ()
44798 {
44799 logl(0);
44800 ;
44801 return 0;
44802 }
44803 _ACEOF
44804 if ac_fn_cxx_try_compile "$LINENO"; then :
44805 glibcxx_cv_func_logl_use=yes
44806 else
44807 glibcxx_cv_func_logl_use=no
44808 fi
44809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44810 ac_ext=c
44811 ac_cpp='$CPP $CPPFLAGS'
44812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44815
44816
44817 fi
44818
44819 fi
44820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44821 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44822
44823 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44824 for ac_func in logl
44825 do :
44826 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44827 if test "x$ac_cv_func_logl" = x""yes; then :
44828 cat >>confdefs.h <<_ACEOF
44829 #define HAVE_LOGL 1
44830 _ACEOF
44831
44832 fi
44833 done
44834
44835 else
44836
44837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44838 $as_echo_n "checking for _logl declaration... " >&6; }
44839 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44840 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44841 $as_echo_n "(cached) " >&6
44842 else
44843
44844
44845 ac_ext=cpp
44846 ac_cpp='$CXXCPP $CPPFLAGS'
44847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44850
44851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44852 /* end confdefs.h. */
44853 #include <math.h>
44854 #ifdef HAVE_IEEEFP_H
44855 #include <ieeefp.h>
44856 #endif
44857
44858 int
44859 main ()
44860 {
44861 _logl(0);
44862 ;
44863 return 0;
44864 }
44865 _ACEOF
44866 if ac_fn_cxx_try_compile "$LINENO"; then :
44867 glibcxx_cv_func__logl_use=yes
44868 else
44869 glibcxx_cv_func__logl_use=no
44870 fi
44871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44872 ac_ext=c
44873 ac_cpp='$CPP $CPPFLAGS'
44874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44877
44878
44879 fi
44880
44881 fi
44882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44883 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44884
44885 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44886 for ac_func in _logl
44887 do :
44888 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44889 if test "x$ac_cv_func__logl" = x""yes; then :
44890 cat >>confdefs.h <<_ACEOF
44891 #define HAVE__LOGL 1
44892 _ACEOF
44893
44894 fi
44895 done
44896
44897 fi
44898 fi
44899
44900
44901
44902
44903
44904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44905 $as_echo_n "checking for log10l declaration... " >&6; }
44906 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44907 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44908 $as_echo_n "(cached) " >&6
44909 else
44910
44911
44912 ac_ext=cpp
44913 ac_cpp='$CXXCPP $CPPFLAGS'
44914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44917
44918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44919 /* end confdefs.h. */
44920 #include <math.h>
44921 #ifdef HAVE_IEEEFP_H
44922 #include <ieeefp.h>
44923 #endif
44924
44925 int
44926 main ()
44927 {
44928 log10l(0);
44929 ;
44930 return 0;
44931 }
44932 _ACEOF
44933 if ac_fn_cxx_try_compile "$LINENO"; then :
44934 glibcxx_cv_func_log10l_use=yes
44935 else
44936 glibcxx_cv_func_log10l_use=no
44937 fi
44938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44939 ac_ext=c
44940 ac_cpp='$CPP $CPPFLAGS'
44941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44944
44945
44946 fi
44947
44948 fi
44949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44950 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44951
44952 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44953 for ac_func in log10l
44954 do :
44955 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44956 if test "x$ac_cv_func_log10l" = x""yes; then :
44957 cat >>confdefs.h <<_ACEOF
44958 #define HAVE_LOG10L 1
44959 _ACEOF
44960
44961 fi
44962 done
44963
44964 else
44965
44966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44967 $as_echo_n "checking for _log10l declaration... " >&6; }
44968 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44969 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44970 $as_echo_n "(cached) " >&6
44971 else
44972
44973
44974 ac_ext=cpp
44975 ac_cpp='$CXXCPP $CPPFLAGS'
44976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44979
44980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44981 /* end confdefs.h. */
44982 #include <math.h>
44983 #ifdef HAVE_IEEEFP_H
44984 #include <ieeefp.h>
44985 #endif
44986
44987 int
44988 main ()
44989 {
44990 _log10l(0);
44991 ;
44992 return 0;
44993 }
44994 _ACEOF
44995 if ac_fn_cxx_try_compile "$LINENO"; then :
44996 glibcxx_cv_func__log10l_use=yes
44997 else
44998 glibcxx_cv_func__log10l_use=no
44999 fi
45000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45001 ac_ext=c
45002 ac_cpp='$CPP $CPPFLAGS'
45003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45006
45007
45008 fi
45009
45010 fi
45011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45012 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45013
45014 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45015 for ac_func in _log10l
45016 do :
45017 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45018 if test "x$ac_cv_func__log10l" = x""yes; then :
45019 cat >>confdefs.h <<_ACEOF
45020 #define HAVE__LOG10L 1
45021 _ACEOF
45022
45023 fi
45024 done
45025
45026 fi
45027 fi
45028
45029
45030
45031
45032
45033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45034 $as_echo_n "checking for modfl declaration... " >&6; }
45035 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45036 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45037 $as_echo_n "(cached) " >&6
45038 else
45039
45040
45041 ac_ext=cpp
45042 ac_cpp='$CXXCPP $CPPFLAGS'
45043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45046
45047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45048 /* end confdefs.h. */
45049 #include <math.h>
45050 int
45051 main ()
45052 {
45053 modfl(0, 0);
45054 ;
45055 return 0;
45056 }
45057 _ACEOF
45058 if ac_fn_cxx_try_compile "$LINENO"; then :
45059 glibcxx_cv_func_modfl_use=yes
45060 else
45061 glibcxx_cv_func_modfl_use=no
45062 fi
45063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45064 ac_ext=c
45065 ac_cpp='$CPP $CPPFLAGS'
45066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45069
45070
45071 fi
45072
45073 fi
45074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45075 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45076
45077 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45078 for ac_func in modfl
45079 do :
45080 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45081 if test "x$ac_cv_func_modfl" = x""yes; then :
45082 cat >>confdefs.h <<_ACEOF
45083 #define HAVE_MODFL 1
45084 _ACEOF
45085
45086 fi
45087 done
45088
45089 else
45090
45091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45092 $as_echo_n "checking for _modfl declaration... " >&6; }
45093 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45094 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45095 $as_echo_n "(cached) " >&6
45096 else
45097
45098
45099 ac_ext=cpp
45100 ac_cpp='$CXXCPP $CPPFLAGS'
45101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45104
45105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45106 /* end confdefs.h. */
45107 #include <math.h>
45108 int
45109 main ()
45110 {
45111 _modfl(0, 0);
45112 ;
45113 return 0;
45114 }
45115 _ACEOF
45116 if ac_fn_cxx_try_compile "$LINENO"; then :
45117 glibcxx_cv_func__modfl_use=yes
45118 else
45119 glibcxx_cv_func__modfl_use=no
45120 fi
45121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45122 ac_ext=c
45123 ac_cpp='$CPP $CPPFLAGS'
45124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45127
45128
45129 fi
45130
45131 fi
45132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45133 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45134
45135 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45136 for ac_func in _modfl
45137 do :
45138 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45139 if test "x$ac_cv_func__modfl" = x""yes; then :
45140 cat >>confdefs.h <<_ACEOF
45141 #define HAVE__MODFL 1
45142 _ACEOF
45143
45144 fi
45145 done
45146
45147 fi
45148 fi
45149
45150
45151
45152
45153
45154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45155 $as_echo_n "checking for powl declaration... " >&6; }
45156 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45157 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45158 $as_echo_n "(cached) " >&6
45159 else
45160
45161
45162 ac_ext=cpp
45163 ac_cpp='$CXXCPP $CPPFLAGS'
45164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45167
45168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45169 /* end confdefs.h. */
45170 #include <math.h>
45171 int
45172 main ()
45173 {
45174 powl(0, 0);
45175 ;
45176 return 0;
45177 }
45178 _ACEOF
45179 if ac_fn_cxx_try_compile "$LINENO"; then :
45180 glibcxx_cv_func_powl_use=yes
45181 else
45182 glibcxx_cv_func_powl_use=no
45183 fi
45184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45185 ac_ext=c
45186 ac_cpp='$CPP $CPPFLAGS'
45187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45190
45191
45192 fi
45193
45194 fi
45195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45196 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45197
45198 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45199 for ac_func in powl
45200 do :
45201 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45202 if test "x$ac_cv_func_powl" = x""yes; then :
45203 cat >>confdefs.h <<_ACEOF
45204 #define HAVE_POWL 1
45205 _ACEOF
45206
45207 fi
45208 done
45209
45210 else
45211
45212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45213 $as_echo_n "checking for _powl declaration... " >&6; }
45214 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45215 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45216 $as_echo_n "(cached) " >&6
45217 else
45218
45219
45220 ac_ext=cpp
45221 ac_cpp='$CXXCPP $CPPFLAGS'
45222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45225
45226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45227 /* end confdefs.h. */
45228 #include <math.h>
45229 int
45230 main ()
45231 {
45232 _powl(0, 0);
45233 ;
45234 return 0;
45235 }
45236 _ACEOF
45237 if ac_fn_cxx_try_compile "$LINENO"; then :
45238 glibcxx_cv_func__powl_use=yes
45239 else
45240 glibcxx_cv_func__powl_use=no
45241 fi
45242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45243 ac_ext=c
45244 ac_cpp='$CPP $CPPFLAGS'
45245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45248
45249
45250 fi
45251
45252 fi
45253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45254 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45255
45256 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45257 for ac_func in _powl
45258 do :
45259 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45260 if test "x$ac_cv_func__powl" = x""yes; then :
45261 cat >>confdefs.h <<_ACEOF
45262 #define HAVE__POWL 1
45263 _ACEOF
45264
45265 fi
45266 done
45267
45268 fi
45269 fi
45270
45271
45272
45273
45274
45275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45276 $as_echo_n "checking for sqrtl declaration... " >&6; }
45277 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45278 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45279 $as_echo_n "(cached) " >&6
45280 else
45281
45282
45283 ac_ext=cpp
45284 ac_cpp='$CXXCPP $CPPFLAGS'
45285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45288
45289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45290 /* end confdefs.h. */
45291 #include <math.h>
45292 #ifdef HAVE_IEEEFP_H
45293 #include <ieeefp.h>
45294 #endif
45295
45296 int
45297 main ()
45298 {
45299 sqrtl(0);
45300 ;
45301 return 0;
45302 }
45303 _ACEOF
45304 if ac_fn_cxx_try_compile "$LINENO"; then :
45305 glibcxx_cv_func_sqrtl_use=yes
45306 else
45307 glibcxx_cv_func_sqrtl_use=no
45308 fi
45309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45310 ac_ext=c
45311 ac_cpp='$CPP $CPPFLAGS'
45312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45315
45316
45317 fi
45318
45319 fi
45320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45321 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45322
45323 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45324 for ac_func in sqrtl
45325 do :
45326 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45327 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45328 cat >>confdefs.h <<_ACEOF
45329 #define HAVE_SQRTL 1
45330 _ACEOF
45331
45332 fi
45333 done
45334
45335 else
45336
45337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45338 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45339 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45340 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45341 $as_echo_n "(cached) " >&6
45342 else
45343
45344
45345 ac_ext=cpp
45346 ac_cpp='$CXXCPP $CPPFLAGS'
45347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45350
45351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45352 /* end confdefs.h. */
45353 #include <math.h>
45354 #ifdef HAVE_IEEEFP_H
45355 #include <ieeefp.h>
45356 #endif
45357
45358 int
45359 main ()
45360 {
45361 _sqrtl(0);
45362 ;
45363 return 0;
45364 }
45365 _ACEOF
45366 if ac_fn_cxx_try_compile "$LINENO"; then :
45367 glibcxx_cv_func__sqrtl_use=yes
45368 else
45369 glibcxx_cv_func__sqrtl_use=no
45370 fi
45371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45372 ac_ext=c
45373 ac_cpp='$CPP $CPPFLAGS'
45374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45377
45378
45379 fi
45380
45381 fi
45382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45383 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45384
45385 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45386 for ac_func in _sqrtl
45387 do :
45388 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45389 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45390 cat >>confdefs.h <<_ACEOF
45391 #define HAVE__SQRTL 1
45392 _ACEOF
45393
45394 fi
45395 done
45396
45397 fi
45398 fi
45399
45400
45401
45402
45403
45404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45405 $as_echo_n "checking for sincosl declaration... " >&6; }
45406 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45407 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45408 $as_echo_n "(cached) " >&6
45409 else
45410
45411
45412 ac_ext=cpp
45413 ac_cpp='$CXXCPP $CPPFLAGS'
45414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45417
45418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45419 /* end confdefs.h. */
45420 #include <math.h>
45421 int
45422 main ()
45423 {
45424 sincosl(0, 0, 0);
45425 ;
45426 return 0;
45427 }
45428 _ACEOF
45429 if ac_fn_cxx_try_compile "$LINENO"; then :
45430 glibcxx_cv_func_sincosl_use=yes
45431 else
45432 glibcxx_cv_func_sincosl_use=no
45433 fi
45434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45435 ac_ext=c
45436 ac_cpp='$CPP $CPPFLAGS'
45437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45440
45441
45442 fi
45443
45444 fi
45445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45446 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45447
45448 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45449 for ac_func in sincosl
45450 do :
45451 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45452 if test "x$ac_cv_func_sincosl" = x""yes; then :
45453 cat >>confdefs.h <<_ACEOF
45454 #define HAVE_SINCOSL 1
45455 _ACEOF
45456
45457 fi
45458 done
45459
45460 else
45461
45462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45463 $as_echo_n "checking for _sincosl declaration... " >&6; }
45464 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45465 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45466 $as_echo_n "(cached) " >&6
45467 else
45468
45469
45470 ac_ext=cpp
45471 ac_cpp='$CXXCPP $CPPFLAGS'
45472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45475
45476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45477 /* end confdefs.h. */
45478 #include <math.h>
45479 int
45480 main ()
45481 {
45482 _sincosl(0, 0, 0);
45483 ;
45484 return 0;
45485 }
45486 _ACEOF
45487 if ac_fn_cxx_try_compile "$LINENO"; then :
45488 glibcxx_cv_func__sincosl_use=yes
45489 else
45490 glibcxx_cv_func__sincosl_use=no
45491 fi
45492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45493 ac_ext=c
45494 ac_cpp='$CPP $CPPFLAGS'
45495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45498
45499
45500 fi
45501
45502 fi
45503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45504 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45505
45506 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45507 for ac_func in _sincosl
45508 do :
45509 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45510 if test "x$ac_cv_func__sincosl" = x""yes; then :
45511 cat >>confdefs.h <<_ACEOF
45512 #define HAVE__SINCOSL 1
45513 _ACEOF
45514
45515 fi
45516 done
45517
45518 fi
45519 fi
45520
45521
45522
45523
45524
45525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45526 $as_echo_n "checking for finitel declaration... " >&6; }
45527 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45528 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45529 $as_echo_n "(cached) " >&6
45530 else
45531
45532
45533 ac_ext=cpp
45534 ac_cpp='$CXXCPP $CPPFLAGS'
45535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45538
45539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45540 /* end confdefs.h. */
45541 #include <math.h>
45542 #ifdef HAVE_IEEEFP_H
45543 #include <ieeefp.h>
45544 #endif
45545
45546 int
45547 main ()
45548 {
45549 finitel(0);
45550 ;
45551 return 0;
45552 }
45553 _ACEOF
45554 if ac_fn_cxx_try_compile "$LINENO"; then :
45555 glibcxx_cv_func_finitel_use=yes
45556 else
45557 glibcxx_cv_func_finitel_use=no
45558 fi
45559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45560 ac_ext=c
45561 ac_cpp='$CPP $CPPFLAGS'
45562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45565
45566
45567 fi
45568
45569 fi
45570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45571 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45572
45573 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45574 for ac_func in finitel
45575 do :
45576 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45577 if test "x$ac_cv_func_finitel" = x""yes; then :
45578 cat >>confdefs.h <<_ACEOF
45579 #define HAVE_FINITEL 1
45580 _ACEOF
45581
45582 fi
45583 done
45584
45585 else
45586
45587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45588 $as_echo_n "checking for _finitel declaration... " >&6; }
45589 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45590 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45591 $as_echo_n "(cached) " >&6
45592 else
45593
45594
45595 ac_ext=cpp
45596 ac_cpp='$CXXCPP $CPPFLAGS'
45597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45600
45601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45602 /* end confdefs.h. */
45603 #include <math.h>
45604 #ifdef HAVE_IEEEFP_H
45605 #include <ieeefp.h>
45606 #endif
45607
45608 int
45609 main ()
45610 {
45611 _finitel(0);
45612 ;
45613 return 0;
45614 }
45615 _ACEOF
45616 if ac_fn_cxx_try_compile "$LINENO"; then :
45617 glibcxx_cv_func__finitel_use=yes
45618 else
45619 glibcxx_cv_func__finitel_use=no
45620 fi
45621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45622 ac_ext=c
45623 ac_cpp='$CPP $CPPFLAGS'
45624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45627
45628
45629 fi
45630
45631 fi
45632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45633 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45634
45635 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45636 for ac_func in _finitel
45637 do :
45638 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45639 if test "x$ac_cv_func__finitel" = x""yes; then :
45640 cat >>confdefs.h <<_ACEOF
45641 #define HAVE__FINITEL 1
45642 _ACEOF
45643
45644 fi
45645 done
45646
45647 fi
45648 fi
45649
45650
45651
45652
45653 LIBS="$ac_save_LIBS"
45654 CXXFLAGS="$ac_save_CXXFLAGS"
45655
45656
45657 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45658 ac_save_CXXFLAGS="$CXXFLAGS"
45659 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45660
45661
45662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45663 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45664 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45665 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45666 $as_echo_n "(cached) " >&6
45667 else
45668
45669
45670 ac_ext=cpp
45671 ac_cpp='$CXXCPP $CPPFLAGS'
45672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45675
45676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45677 /* end confdefs.h. */
45678 #include <stdlib.h>
45679 int
45680 main ()
45681 {
45682 at_quick_exit(0);
45683 ;
45684 return 0;
45685 }
45686 _ACEOF
45687 if ac_fn_cxx_try_compile "$LINENO"; then :
45688 glibcxx_cv_func_at_quick_exit_use=yes
45689 else
45690 glibcxx_cv_func_at_quick_exit_use=no
45691 fi
45692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45693 ac_ext=c
45694 ac_cpp='$CPP $CPPFLAGS'
45695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45698
45699
45700 fi
45701
45702 fi
45703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45704 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45705 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45706 for ac_func in at_quick_exit
45707 do :
45708 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45709 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45710 cat >>confdefs.h <<_ACEOF
45711 #define HAVE_AT_QUICK_EXIT 1
45712 _ACEOF
45713
45714 fi
45715 done
45716
45717 fi
45718
45719
45720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45721 $as_echo_n "checking for quick_exit declaration... " >&6; }
45722 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45723 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45724 $as_echo_n "(cached) " >&6
45725 else
45726
45727
45728 ac_ext=cpp
45729 ac_cpp='$CXXCPP $CPPFLAGS'
45730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45733
45734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45735 /* end confdefs.h. */
45736 #include <stdlib.h>
45737 int
45738 main ()
45739 {
45740 quick_exit(0);
45741 ;
45742 return 0;
45743 }
45744 _ACEOF
45745 if ac_fn_cxx_try_compile "$LINENO"; then :
45746 glibcxx_cv_func_quick_exit_use=yes
45747 else
45748 glibcxx_cv_func_quick_exit_use=no
45749 fi
45750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45751 ac_ext=c
45752 ac_cpp='$CPP $CPPFLAGS'
45753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45756
45757
45758 fi
45759
45760 fi
45761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45762 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45763 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45764 for ac_func in quick_exit
45765 do :
45766 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45767 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45768 cat >>confdefs.h <<_ACEOF
45769 #define HAVE_QUICK_EXIT 1
45770 _ACEOF
45771
45772 fi
45773 done
45774
45775 fi
45776
45777
45778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45779 $as_echo_n "checking for strtold declaration... " >&6; }
45780 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45781 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45782 $as_echo_n "(cached) " >&6
45783 else
45784
45785
45786 ac_ext=cpp
45787 ac_cpp='$CXXCPP $CPPFLAGS'
45788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45791
45792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45793 /* end confdefs.h. */
45794 #include <stdlib.h>
45795 int
45796 main ()
45797 {
45798 strtold(0, 0);
45799 ;
45800 return 0;
45801 }
45802 _ACEOF
45803 if ac_fn_cxx_try_compile "$LINENO"; then :
45804 glibcxx_cv_func_strtold_use=yes
45805 else
45806 glibcxx_cv_func_strtold_use=no
45807 fi
45808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45809 ac_ext=c
45810 ac_cpp='$CPP $CPPFLAGS'
45811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45814
45815
45816 fi
45817
45818 fi
45819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45820 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45821 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45822 for ac_func in strtold
45823 do :
45824 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45825 if test "x$ac_cv_func_strtold" = x""yes; then :
45826 cat >>confdefs.h <<_ACEOF
45827 #define HAVE_STRTOLD 1
45828 _ACEOF
45829
45830 fi
45831 done
45832
45833 fi
45834
45835
45836
45837
45838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45839 $as_echo_n "checking for strtof declaration... " >&6; }
45840 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45841 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45842 $as_echo_n "(cached) " >&6
45843 else
45844
45845
45846 ac_ext=cpp
45847 ac_cpp='$CXXCPP $CPPFLAGS'
45848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45851
45852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45853 /* end confdefs.h. */
45854 #include <stdlib.h>
45855 int
45856 main ()
45857 {
45858 strtof(0, 0);
45859 ;
45860 return 0;
45861 }
45862 _ACEOF
45863 if ac_fn_cxx_try_compile "$LINENO"; then :
45864 glibcxx_cv_func_strtof_use=yes
45865 else
45866 glibcxx_cv_func_strtof_use=no
45867 fi
45868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45869 ac_ext=c
45870 ac_cpp='$CPP $CPPFLAGS'
45871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45874
45875
45876 fi
45877
45878 fi
45879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45880 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45881 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45882 for ac_func in strtof
45883 do :
45884 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45885 if test "x$ac_cv_func_strtof" = x""yes; then :
45886 cat >>confdefs.h <<_ACEOF
45887 #define HAVE_STRTOF 1
45888 _ACEOF
45889
45890 fi
45891 done
45892
45893 fi
45894
45895
45896
45897
45898 CXXFLAGS="$ac_save_CXXFLAGS"
45899
45900 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45901
45902 # We don't yet support AIX's TLS ABI.
45903 #GCC_CHECK_TLS
45904
45905
45906
45907
45908
45909 am_save_CPPFLAGS="$CPPFLAGS"
45910
45911 for element in $INCICONV; do
45912 haveit=
45913 for x in $CPPFLAGS; do
45914
45915 acl_save_prefix="$prefix"
45916 prefix="$acl_final_prefix"
45917 acl_save_exec_prefix="$exec_prefix"
45918 exec_prefix="$acl_final_exec_prefix"
45919 eval x=\"$x\"
45920 exec_prefix="$acl_save_exec_prefix"
45921 prefix="$acl_save_prefix"
45922
45923 if test "X$x" = "X$element"; then
45924 haveit=yes
45925 break
45926 fi
45927 done
45928 if test -z "$haveit"; then
45929 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45930 fi
45931 done
45932
45933
45934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45935 $as_echo_n "checking for iconv... " >&6; }
45936 if test "${am_cv_func_iconv+set}" = set; then :
45937 $as_echo_n "(cached) " >&6
45938 else
45939
45940 am_cv_func_iconv="no, consider installing GNU libiconv"
45941 am_cv_lib_iconv=no
45942 if test x$gcc_no_link = xyes; then
45943 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45944 fi
45945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45946 /* end confdefs.h. */
45947 #include <stdlib.h>
45948 #include <iconv.h>
45949 int
45950 main ()
45951 {
45952 iconv_t cd = iconv_open("","");
45953 iconv(cd,NULL,NULL,NULL,NULL);
45954 iconv_close(cd);
45955 ;
45956 return 0;
45957 }
45958 _ACEOF
45959 if ac_fn_c_try_link "$LINENO"; then :
45960 am_cv_func_iconv=yes
45961 fi
45962 rm -f core conftest.err conftest.$ac_objext \
45963 conftest$ac_exeext conftest.$ac_ext
45964 if test "$am_cv_func_iconv" != yes; then
45965 am_save_LIBS="$LIBS"
45966 LIBS="$LIBS $LIBICONV"
45967 if test x$gcc_no_link = xyes; then
45968 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45969 fi
45970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45971 /* end confdefs.h. */
45972 #include <stdlib.h>
45973 #include <iconv.h>
45974 int
45975 main ()
45976 {
45977 iconv_t cd = iconv_open("","");
45978 iconv(cd,NULL,NULL,NULL,NULL);
45979 iconv_close(cd);
45980 ;
45981 return 0;
45982 }
45983 _ACEOF
45984 if ac_fn_c_try_link "$LINENO"; then :
45985 am_cv_lib_iconv=yes
45986 am_cv_func_iconv=yes
45987 fi
45988 rm -f core conftest.err conftest.$ac_objext \
45989 conftest$ac_exeext conftest.$ac_ext
45990 LIBS="$am_save_LIBS"
45991 fi
45992
45993 fi
45994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
45995 $as_echo "$am_cv_func_iconv" >&6; }
45996 if test "$am_cv_func_iconv" = yes; then
45997
45998 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
45999
46000 fi
46001 if test "$am_cv_lib_iconv" = yes; then
46002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46003 $as_echo_n "checking how to link with libiconv... " >&6; }
46004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46005 $as_echo "$LIBICONV" >&6; }
46006 else
46007 CPPFLAGS="$am_save_CPPFLAGS"
46008 LIBICONV=
46009 LTLIBICONV=
46010 fi
46011
46012
46013
46014 if test "$am_cv_func_iconv" = yes; then
46015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46016 $as_echo_n "checking for iconv declaration... " >&6; }
46017 if test "${am_cv_proto_iconv+set}" = set; then :
46018 $as_echo_n "(cached) " >&6
46019 else
46020
46021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46022 /* end confdefs.h. */
46023
46024 #include <stdlib.h>
46025 #include <iconv.h>
46026 extern
46027 #ifdef __cplusplus
46028 "C"
46029 #endif
46030 #if defined(__STDC__) || defined(__cplusplus)
46031 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46032 #else
46033 size_t iconv();
46034 #endif
46035
46036 int
46037 main ()
46038 {
46039
46040 ;
46041 return 0;
46042 }
46043 _ACEOF
46044 if ac_fn_c_try_compile "$LINENO"; then :
46045 am_cv_proto_iconv_arg1=""
46046 else
46047 am_cv_proto_iconv_arg1="const"
46048 fi
46049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46050 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);"
46051 fi
46052
46053 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46055 }$am_cv_proto_iconv" >&5
46056 $as_echo "${ac_t:-
46057 }$am_cv_proto_iconv" >&6; }
46058
46059 cat >>confdefs.h <<_ACEOF
46060 #define ICONV_CONST $am_cv_proto_iconv_arg1
46061 _ACEOF
46062
46063 fi
46064
46065 ;;
46066
46067 *-darwin*)
46068 # Darwin versions vary, but the linker should work in a cross environment,
46069 # so we just check for all the features here.
46070 # Check for available headers.
46071
46072 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46073
46074 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46075 ac_save_CXXFLAGS="$CXXFLAGS"
46076 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46077
46078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46079 $as_echo_n "checking for sin in -lm... " >&6; }
46080 if test "${ac_cv_lib_m_sin+set}" = set; then :
46081 $as_echo_n "(cached) " >&6
46082 else
46083 ac_check_lib_save_LIBS=$LIBS
46084 LIBS="-lm $LIBS"
46085 if test x$gcc_no_link = xyes; then
46086 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46087 fi
46088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46089 /* end confdefs.h. */
46090
46091 /* Override any GCC internal prototype to avoid an error.
46092 Use char because int might match the return type of a GCC
46093 builtin and then its argument prototype would still apply. */
46094 #ifdef __cplusplus
46095 extern "C"
46096 #endif
46097 char sin ();
46098 int
46099 main ()
46100 {
46101 return sin ();
46102 ;
46103 return 0;
46104 }
46105 _ACEOF
46106 if ac_fn_c_try_link "$LINENO"; then :
46107 ac_cv_lib_m_sin=yes
46108 else
46109 ac_cv_lib_m_sin=no
46110 fi
46111 rm -f core conftest.err conftest.$ac_objext \
46112 conftest$ac_exeext conftest.$ac_ext
46113 LIBS=$ac_check_lib_save_LIBS
46114 fi
46115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46116 $as_echo "$ac_cv_lib_m_sin" >&6; }
46117 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46118 libm="-lm"
46119 fi
46120
46121 ac_save_LIBS="$LIBS"
46122 LIBS="$LIBS $libm"
46123
46124
46125
46126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46127 $as_echo_n "checking for isinf declaration... " >&6; }
46128 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46129 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46130 $as_echo_n "(cached) " >&6
46131 else
46132
46133
46134 ac_ext=cpp
46135 ac_cpp='$CXXCPP $CPPFLAGS'
46136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46139
46140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46141 /* end confdefs.h. */
46142 #include <math.h>
46143 #ifdef HAVE_IEEEFP_H
46144 #include <ieeefp.h>
46145 #endif
46146
46147 int
46148 main ()
46149 {
46150 isinf(0);
46151 ;
46152 return 0;
46153 }
46154 _ACEOF
46155 if ac_fn_cxx_try_compile "$LINENO"; then :
46156 glibcxx_cv_func_isinf_use=yes
46157 else
46158 glibcxx_cv_func_isinf_use=no
46159 fi
46160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46161 ac_ext=c
46162 ac_cpp='$CPP $CPPFLAGS'
46163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46166
46167
46168 fi
46169
46170 fi
46171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46172 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46173
46174 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46175 for ac_func in isinf
46176 do :
46177 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46178 if test "x$ac_cv_func_isinf" = x""yes; then :
46179 cat >>confdefs.h <<_ACEOF
46180 #define HAVE_ISINF 1
46181 _ACEOF
46182
46183 fi
46184 done
46185
46186 else
46187
46188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46189 $as_echo_n "checking for _isinf declaration... " >&6; }
46190 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46191 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46192 $as_echo_n "(cached) " >&6
46193 else
46194
46195
46196 ac_ext=cpp
46197 ac_cpp='$CXXCPP $CPPFLAGS'
46198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46201
46202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46203 /* end confdefs.h. */
46204 #include <math.h>
46205 #ifdef HAVE_IEEEFP_H
46206 #include <ieeefp.h>
46207 #endif
46208
46209 int
46210 main ()
46211 {
46212 _isinf(0);
46213 ;
46214 return 0;
46215 }
46216 _ACEOF
46217 if ac_fn_cxx_try_compile "$LINENO"; then :
46218 glibcxx_cv_func__isinf_use=yes
46219 else
46220 glibcxx_cv_func__isinf_use=no
46221 fi
46222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46223 ac_ext=c
46224 ac_cpp='$CPP $CPPFLAGS'
46225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46228
46229
46230 fi
46231
46232 fi
46233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46234 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46235
46236 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46237 for ac_func in _isinf
46238 do :
46239 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46240 if test "x$ac_cv_func__isinf" = x""yes; then :
46241 cat >>confdefs.h <<_ACEOF
46242 #define HAVE__ISINF 1
46243 _ACEOF
46244
46245 fi
46246 done
46247
46248 fi
46249 fi
46250
46251
46252
46253
46254
46255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46256 $as_echo_n "checking for isnan declaration... " >&6; }
46257 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46258 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46259 $as_echo_n "(cached) " >&6
46260 else
46261
46262
46263 ac_ext=cpp
46264 ac_cpp='$CXXCPP $CPPFLAGS'
46265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46268
46269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46270 /* end confdefs.h. */
46271 #include <math.h>
46272 #ifdef HAVE_IEEEFP_H
46273 #include <ieeefp.h>
46274 #endif
46275
46276 int
46277 main ()
46278 {
46279 isnan(0);
46280 ;
46281 return 0;
46282 }
46283 _ACEOF
46284 if ac_fn_cxx_try_compile "$LINENO"; then :
46285 glibcxx_cv_func_isnan_use=yes
46286 else
46287 glibcxx_cv_func_isnan_use=no
46288 fi
46289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46290 ac_ext=c
46291 ac_cpp='$CPP $CPPFLAGS'
46292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46295
46296
46297 fi
46298
46299 fi
46300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46301 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46302
46303 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46304 for ac_func in isnan
46305 do :
46306 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46307 if test "x$ac_cv_func_isnan" = x""yes; then :
46308 cat >>confdefs.h <<_ACEOF
46309 #define HAVE_ISNAN 1
46310 _ACEOF
46311
46312 fi
46313 done
46314
46315 else
46316
46317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46318 $as_echo_n "checking for _isnan declaration... " >&6; }
46319 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46320 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46321 $as_echo_n "(cached) " >&6
46322 else
46323
46324
46325 ac_ext=cpp
46326 ac_cpp='$CXXCPP $CPPFLAGS'
46327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46330
46331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46332 /* end confdefs.h. */
46333 #include <math.h>
46334 #ifdef HAVE_IEEEFP_H
46335 #include <ieeefp.h>
46336 #endif
46337
46338 int
46339 main ()
46340 {
46341 _isnan(0);
46342 ;
46343 return 0;
46344 }
46345 _ACEOF
46346 if ac_fn_cxx_try_compile "$LINENO"; then :
46347 glibcxx_cv_func__isnan_use=yes
46348 else
46349 glibcxx_cv_func__isnan_use=no
46350 fi
46351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46352 ac_ext=c
46353 ac_cpp='$CPP $CPPFLAGS'
46354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46357
46358
46359 fi
46360
46361 fi
46362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46363 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46364
46365 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46366 for ac_func in _isnan
46367 do :
46368 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46369 if test "x$ac_cv_func__isnan" = x""yes; then :
46370 cat >>confdefs.h <<_ACEOF
46371 #define HAVE__ISNAN 1
46372 _ACEOF
46373
46374 fi
46375 done
46376
46377 fi
46378 fi
46379
46380
46381
46382
46383
46384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46385 $as_echo_n "checking for finite declaration... " >&6; }
46386 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46387 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46388 $as_echo_n "(cached) " >&6
46389 else
46390
46391
46392 ac_ext=cpp
46393 ac_cpp='$CXXCPP $CPPFLAGS'
46394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46397
46398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46399 /* end confdefs.h. */
46400 #include <math.h>
46401 #ifdef HAVE_IEEEFP_H
46402 #include <ieeefp.h>
46403 #endif
46404
46405 int
46406 main ()
46407 {
46408 finite(0);
46409 ;
46410 return 0;
46411 }
46412 _ACEOF
46413 if ac_fn_cxx_try_compile "$LINENO"; then :
46414 glibcxx_cv_func_finite_use=yes
46415 else
46416 glibcxx_cv_func_finite_use=no
46417 fi
46418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46419 ac_ext=c
46420 ac_cpp='$CPP $CPPFLAGS'
46421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46424
46425
46426 fi
46427
46428 fi
46429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46430 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46431
46432 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46433 for ac_func in finite
46434 do :
46435 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46436 if test "x$ac_cv_func_finite" = x""yes; then :
46437 cat >>confdefs.h <<_ACEOF
46438 #define HAVE_FINITE 1
46439 _ACEOF
46440
46441 fi
46442 done
46443
46444 else
46445
46446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46447 $as_echo_n "checking for _finite declaration... " >&6; }
46448 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46449 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46450 $as_echo_n "(cached) " >&6
46451 else
46452
46453
46454 ac_ext=cpp
46455 ac_cpp='$CXXCPP $CPPFLAGS'
46456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46459
46460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46461 /* end confdefs.h. */
46462 #include <math.h>
46463 #ifdef HAVE_IEEEFP_H
46464 #include <ieeefp.h>
46465 #endif
46466
46467 int
46468 main ()
46469 {
46470 _finite(0);
46471 ;
46472 return 0;
46473 }
46474 _ACEOF
46475 if ac_fn_cxx_try_compile "$LINENO"; then :
46476 glibcxx_cv_func__finite_use=yes
46477 else
46478 glibcxx_cv_func__finite_use=no
46479 fi
46480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46481 ac_ext=c
46482 ac_cpp='$CPP $CPPFLAGS'
46483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46486
46487
46488 fi
46489
46490 fi
46491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46492 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46493
46494 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46495 for ac_func in _finite
46496 do :
46497 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46498 if test "x$ac_cv_func__finite" = x""yes; then :
46499 cat >>confdefs.h <<_ACEOF
46500 #define HAVE__FINITE 1
46501 _ACEOF
46502
46503 fi
46504 done
46505
46506 fi
46507 fi
46508
46509
46510
46511
46512
46513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46514 $as_echo_n "checking for sincos declaration... " >&6; }
46515 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46516 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46517 $as_echo_n "(cached) " >&6
46518 else
46519
46520
46521 ac_ext=cpp
46522 ac_cpp='$CXXCPP $CPPFLAGS'
46523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46526
46527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46528 /* end confdefs.h. */
46529 #include <math.h>
46530 int
46531 main ()
46532 {
46533 sincos(0, 0, 0);
46534 ;
46535 return 0;
46536 }
46537 _ACEOF
46538 if ac_fn_cxx_try_compile "$LINENO"; then :
46539 glibcxx_cv_func_sincos_use=yes
46540 else
46541 glibcxx_cv_func_sincos_use=no
46542 fi
46543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46544 ac_ext=c
46545 ac_cpp='$CPP $CPPFLAGS'
46546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46549
46550
46551 fi
46552
46553 fi
46554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46555 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46556
46557 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46558 for ac_func in sincos
46559 do :
46560 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46561 if test "x$ac_cv_func_sincos" = x""yes; then :
46562 cat >>confdefs.h <<_ACEOF
46563 #define HAVE_SINCOS 1
46564 _ACEOF
46565
46566 fi
46567 done
46568
46569 else
46570
46571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46572 $as_echo_n "checking for _sincos declaration... " >&6; }
46573 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46574 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46575 $as_echo_n "(cached) " >&6
46576 else
46577
46578
46579 ac_ext=cpp
46580 ac_cpp='$CXXCPP $CPPFLAGS'
46581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46584
46585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46586 /* end confdefs.h. */
46587 #include <math.h>
46588 int
46589 main ()
46590 {
46591 _sincos(0, 0, 0);
46592 ;
46593 return 0;
46594 }
46595 _ACEOF
46596 if ac_fn_cxx_try_compile "$LINENO"; then :
46597 glibcxx_cv_func__sincos_use=yes
46598 else
46599 glibcxx_cv_func__sincos_use=no
46600 fi
46601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46602 ac_ext=c
46603 ac_cpp='$CPP $CPPFLAGS'
46604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46607
46608
46609 fi
46610
46611 fi
46612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46613 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46614
46615 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46616 for ac_func in _sincos
46617 do :
46618 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46619 if test "x$ac_cv_func__sincos" = x""yes; then :
46620 cat >>confdefs.h <<_ACEOF
46621 #define HAVE__SINCOS 1
46622 _ACEOF
46623
46624 fi
46625 done
46626
46627 fi
46628 fi
46629
46630
46631
46632
46633
46634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46635 $as_echo_n "checking for fpclass declaration... " >&6; }
46636 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46637 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46638 $as_echo_n "(cached) " >&6
46639 else
46640
46641
46642 ac_ext=cpp
46643 ac_cpp='$CXXCPP $CPPFLAGS'
46644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46647
46648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46649 /* end confdefs.h. */
46650 #include <math.h>
46651 #ifdef HAVE_IEEEFP_H
46652 #include <ieeefp.h>
46653 #endif
46654
46655 int
46656 main ()
46657 {
46658 fpclass(0);
46659 ;
46660 return 0;
46661 }
46662 _ACEOF
46663 if ac_fn_cxx_try_compile "$LINENO"; then :
46664 glibcxx_cv_func_fpclass_use=yes
46665 else
46666 glibcxx_cv_func_fpclass_use=no
46667 fi
46668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46669 ac_ext=c
46670 ac_cpp='$CPP $CPPFLAGS'
46671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46674
46675
46676 fi
46677
46678 fi
46679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46680 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46681
46682 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46683 for ac_func in fpclass
46684 do :
46685 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46686 if test "x$ac_cv_func_fpclass" = x""yes; then :
46687 cat >>confdefs.h <<_ACEOF
46688 #define HAVE_FPCLASS 1
46689 _ACEOF
46690
46691 fi
46692 done
46693
46694 else
46695
46696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46697 $as_echo_n "checking for _fpclass declaration... " >&6; }
46698 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46699 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46700 $as_echo_n "(cached) " >&6
46701 else
46702
46703
46704 ac_ext=cpp
46705 ac_cpp='$CXXCPP $CPPFLAGS'
46706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46709
46710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46711 /* end confdefs.h. */
46712 #include <math.h>
46713 #ifdef HAVE_IEEEFP_H
46714 #include <ieeefp.h>
46715 #endif
46716
46717 int
46718 main ()
46719 {
46720 _fpclass(0);
46721 ;
46722 return 0;
46723 }
46724 _ACEOF
46725 if ac_fn_cxx_try_compile "$LINENO"; then :
46726 glibcxx_cv_func__fpclass_use=yes
46727 else
46728 glibcxx_cv_func__fpclass_use=no
46729 fi
46730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46731 ac_ext=c
46732 ac_cpp='$CPP $CPPFLAGS'
46733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46736
46737
46738 fi
46739
46740 fi
46741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46742 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46743
46744 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46745 for ac_func in _fpclass
46746 do :
46747 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46748 if test "x$ac_cv_func__fpclass" = x""yes; then :
46749 cat >>confdefs.h <<_ACEOF
46750 #define HAVE__FPCLASS 1
46751 _ACEOF
46752
46753 fi
46754 done
46755
46756 fi
46757 fi
46758
46759
46760
46761
46762
46763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46764 $as_echo_n "checking for qfpclass declaration... " >&6; }
46765 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46766 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46767 $as_echo_n "(cached) " >&6
46768 else
46769
46770
46771 ac_ext=cpp
46772 ac_cpp='$CXXCPP $CPPFLAGS'
46773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46776
46777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46778 /* end confdefs.h. */
46779 #include <math.h>
46780 #ifdef HAVE_IEEEFP_H
46781 #include <ieeefp.h>
46782 #endif
46783
46784 int
46785 main ()
46786 {
46787 qfpclass(0);
46788 ;
46789 return 0;
46790 }
46791 _ACEOF
46792 if ac_fn_cxx_try_compile "$LINENO"; then :
46793 glibcxx_cv_func_qfpclass_use=yes
46794 else
46795 glibcxx_cv_func_qfpclass_use=no
46796 fi
46797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46798 ac_ext=c
46799 ac_cpp='$CPP $CPPFLAGS'
46800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46803
46804
46805 fi
46806
46807 fi
46808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46809 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46810
46811 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46812 for ac_func in qfpclass
46813 do :
46814 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46815 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46816 cat >>confdefs.h <<_ACEOF
46817 #define HAVE_QFPCLASS 1
46818 _ACEOF
46819
46820 fi
46821 done
46822
46823 else
46824
46825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46826 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46827 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46828 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46829 $as_echo_n "(cached) " >&6
46830 else
46831
46832
46833 ac_ext=cpp
46834 ac_cpp='$CXXCPP $CPPFLAGS'
46835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46838
46839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46840 /* end confdefs.h. */
46841 #include <math.h>
46842 #ifdef HAVE_IEEEFP_H
46843 #include <ieeefp.h>
46844 #endif
46845
46846 int
46847 main ()
46848 {
46849 _qfpclass(0);
46850 ;
46851 return 0;
46852 }
46853 _ACEOF
46854 if ac_fn_cxx_try_compile "$LINENO"; then :
46855 glibcxx_cv_func__qfpclass_use=yes
46856 else
46857 glibcxx_cv_func__qfpclass_use=no
46858 fi
46859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46860 ac_ext=c
46861 ac_cpp='$CPP $CPPFLAGS'
46862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46865
46866
46867 fi
46868
46869 fi
46870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46871 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46872
46873 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46874 for ac_func in _qfpclass
46875 do :
46876 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46877 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46878 cat >>confdefs.h <<_ACEOF
46879 #define HAVE__QFPCLASS 1
46880 _ACEOF
46881
46882 fi
46883 done
46884
46885 fi
46886 fi
46887
46888
46889
46890
46891
46892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46893 $as_echo_n "checking for hypot declaration... " >&6; }
46894 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46895 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46896 $as_echo_n "(cached) " >&6
46897 else
46898
46899
46900 ac_ext=cpp
46901 ac_cpp='$CXXCPP $CPPFLAGS'
46902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46905
46906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46907 /* end confdefs.h. */
46908 #include <math.h>
46909 int
46910 main ()
46911 {
46912 hypot(0, 0);
46913 ;
46914 return 0;
46915 }
46916 _ACEOF
46917 if ac_fn_cxx_try_compile "$LINENO"; then :
46918 glibcxx_cv_func_hypot_use=yes
46919 else
46920 glibcxx_cv_func_hypot_use=no
46921 fi
46922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46923 ac_ext=c
46924 ac_cpp='$CPP $CPPFLAGS'
46925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46928
46929
46930 fi
46931
46932 fi
46933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46934 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46935
46936 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46937 for ac_func in hypot
46938 do :
46939 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46940 if test "x$ac_cv_func_hypot" = x""yes; then :
46941 cat >>confdefs.h <<_ACEOF
46942 #define HAVE_HYPOT 1
46943 _ACEOF
46944
46945 fi
46946 done
46947
46948 else
46949
46950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46951 $as_echo_n "checking for _hypot declaration... " >&6; }
46952 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46953 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46954 $as_echo_n "(cached) " >&6
46955 else
46956
46957
46958 ac_ext=cpp
46959 ac_cpp='$CXXCPP $CPPFLAGS'
46960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46963
46964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46965 /* end confdefs.h. */
46966 #include <math.h>
46967 int
46968 main ()
46969 {
46970 _hypot(0, 0);
46971 ;
46972 return 0;
46973 }
46974 _ACEOF
46975 if ac_fn_cxx_try_compile "$LINENO"; then :
46976 glibcxx_cv_func__hypot_use=yes
46977 else
46978 glibcxx_cv_func__hypot_use=no
46979 fi
46980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46981 ac_ext=c
46982 ac_cpp='$CPP $CPPFLAGS'
46983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46986
46987
46988 fi
46989
46990 fi
46991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46992 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46993
46994 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46995 for ac_func in _hypot
46996 do :
46997 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
46998 if test "x$ac_cv_func__hypot" = x""yes; then :
46999 cat >>confdefs.h <<_ACEOF
47000 #define HAVE__HYPOT 1
47001 _ACEOF
47002
47003 fi
47004 done
47005
47006 fi
47007 fi
47008
47009
47010
47011
47012
47013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47014 $as_echo_n "checking for float trig functions... " >&6; }
47015 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47016 $as_echo_n "(cached) " >&6
47017 else
47018
47019
47020 ac_ext=cpp
47021 ac_cpp='$CXXCPP $CPPFLAGS'
47022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47025
47026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47027 /* end confdefs.h. */
47028 #include <math.h>
47029 int
47030 main ()
47031 {
47032 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47033 ;
47034 return 0;
47035 }
47036 _ACEOF
47037 if ac_fn_cxx_try_compile "$LINENO"; then :
47038 glibcxx_cv_func_float_trig_use=yes
47039 else
47040 glibcxx_cv_func_float_trig_use=no
47041 fi
47042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47043 ac_ext=c
47044 ac_cpp='$CPP $CPPFLAGS'
47045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47048
47049 fi
47050
47051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47052 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47053 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47054 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47055 do :
47056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47058 eval as_val=\$$as_ac_var
47059 if test "x$as_val" = x""yes; then :
47060 cat >>confdefs.h <<_ACEOF
47061 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47062 _ACEOF
47063
47064 fi
47065 done
47066
47067 else
47068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47069 $as_echo_n "checking for _float trig functions... " >&6; }
47070 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47071 $as_echo_n "(cached) " >&6
47072 else
47073
47074
47075 ac_ext=cpp
47076 ac_cpp='$CXXCPP $CPPFLAGS'
47077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47080
47081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47082 /* end confdefs.h. */
47083 #include <math.h>
47084 int
47085 main ()
47086 {
47087 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47088 ;
47089 return 0;
47090 }
47091 _ACEOF
47092 if ac_fn_cxx_try_compile "$LINENO"; then :
47093 glibcxx_cv_func__float_trig_use=yes
47094 else
47095 glibcxx_cv_func__float_trig_use=no
47096 fi
47097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47098 ac_ext=c
47099 ac_cpp='$CPP $CPPFLAGS'
47100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47103
47104 fi
47105
47106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47107 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47108 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47109 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47110 do :
47111 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47112 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47113 eval as_val=\$$as_ac_var
47114 if test "x$as_val" = x""yes; then :
47115 cat >>confdefs.h <<_ACEOF
47116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47117 _ACEOF
47118
47119 fi
47120 done
47121
47122 fi
47123 fi
47124
47125
47126
47127
47128
47129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47130 $as_echo_n "checking for float round functions... " >&6; }
47131 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47132 $as_echo_n "(cached) " >&6
47133 else
47134
47135
47136 ac_ext=cpp
47137 ac_cpp='$CXXCPP $CPPFLAGS'
47138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47141
47142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47143 /* end confdefs.h. */
47144 #include <math.h>
47145 int
47146 main ()
47147 {
47148 ceilf (0); floorf (0);
47149 ;
47150 return 0;
47151 }
47152 _ACEOF
47153 if ac_fn_cxx_try_compile "$LINENO"; then :
47154 glibcxx_cv_func_float_round_use=yes
47155 else
47156 glibcxx_cv_func_float_round_use=no
47157 fi
47158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47159 ac_ext=c
47160 ac_cpp='$CPP $CPPFLAGS'
47161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47164
47165 fi
47166
47167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47168 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47169 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47170 for ac_func in ceilf floorf
47171 do :
47172 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47173 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47174 eval as_val=\$$as_ac_var
47175 if test "x$as_val" = x""yes; then :
47176 cat >>confdefs.h <<_ACEOF
47177 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47178 _ACEOF
47179
47180 fi
47181 done
47182
47183 else
47184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47185 $as_echo_n "checking for _float round functions... " >&6; }
47186 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47187 $as_echo_n "(cached) " >&6
47188 else
47189
47190
47191 ac_ext=cpp
47192 ac_cpp='$CXXCPP $CPPFLAGS'
47193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47196
47197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47198 /* end confdefs.h. */
47199 #include <math.h>
47200 int
47201 main ()
47202 {
47203 _ceilf (0); _floorf (0);
47204 ;
47205 return 0;
47206 }
47207 _ACEOF
47208 if ac_fn_cxx_try_compile "$LINENO"; then :
47209 glibcxx_cv_func__float_round_use=yes
47210 else
47211 glibcxx_cv_func__float_round_use=no
47212 fi
47213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47214 ac_ext=c
47215 ac_cpp='$CPP $CPPFLAGS'
47216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47219
47220 fi
47221
47222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47223 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47224 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47225 for ac_func in _ceilf _floorf
47226 do :
47227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47229 eval as_val=\$$as_ac_var
47230 if test "x$as_val" = x""yes; then :
47231 cat >>confdefs.h <<_ACEOF
47232 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47233 _ACEOF
47234
47235 fi
47236 done
47237
47238 fi
47239 fi
47240
47241
47242
47243
47244
47245
47246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47247 $as_echo_n "checking for expf declaration... " >&6; }
47248 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47249 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47250 $as_echo_n "(cached) " >&6
47251 else
47252
47253
47254 ac_ext=cpp
47255 ac_cpp='$CXXCPP $CPPFLAGS'
47256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47259
47260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47261 /* end confdefs.h. */
47262 #include <math.h>
47263 #ifdef HAVE_IEEEFP_H
47264 #include <ieeefp.h>
47265 #endif
47266
47267 int
47268 main ()
47269 {
47270 expf(0);
47271 ;
47272 return 0;
47273 }
47274 _ACEOF
47275 if ac_fn_cxx_try_compile "$LINENO"; then :
47276 glibcxx_cv_func_expf_use=yes
47277 else
47278 glibcxx_cv_func_expf_use=no
47279 fi
47280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47281 ac_ext=c
47282 ac_cpp='$CPP $CPPFLAGS'
47283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47286
47287
47288 fi
47289
47290 fi
47291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47292 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47293
47294 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47295 for ac_func in expf
47296 do :
47297 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47298 if test "x$ac_cv_func_expf" = x""yes; then :
47299 cat >>confdefs.h <<_ACEOF
47300 #define HAVE_EXPF 1
47301 _ACEOF
47302
47303 fi
47304 done
47305
47306 else
47307
47308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47309 $as_echo_n "checking for _expf declaration... " >&6; }
47310 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47311 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47312 $as_echo_n "(cached) " >&6
47313 else
47314
47315
47316 ac_ext=cpp
47317 ac_cpp='$CXXCPP $CPPFLAGS'
47318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47321
47322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47323 /* end confdefs.h. */
47324 #include <math.h>
47325 #ifdef HAVE_IEEEFP_H
47326 #include <ieeefp.h>
47327 #endif
47328
47329 int
47330 main ()
47331 {
47332 _expf(0);
47333 ;
47334 return 0;
47335 }
47336 _ACEOF
47337 if ac_fn_cxx_try_compile "$LINENO"; then :
47338 glibcxx_cv_func__expf_use=yes
47339 else
47340 glibcxx_cv_func__expf_use=no
47341 fi
47342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47343 ac_ext=c
47344 ac_cpp='$CPP $CPPFLAGS'
47345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47348
47349
47350 fi
47351
47352 fi
47353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47354 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47355
47356 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47357 for ac_func in _expf
47358 do :
47359 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47360 if test "x$ac_cv_func__expf" = x""yes; then :
47361 cat >>confdefs.h <<_ACEOF
47362 #define HAVE__EXPF 1
47363 _ACEOF
47364
47365 fi
47366 done
47367
47368 fi
47369 fi
47370
47371
47372
47373
47374
47375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47376 $as_echo_n "checking for isnanf declaration... " >&6; }
47377 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47378 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47379 $as_echo_n "(cached) " >&6
47380 else
47381
47382
47383 ac_ext=cpp
47384 ac_cpp='$CXXCPP $CPPFLAGS'
47385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47388
47389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47390 /* end confdefs.h. */
47391 #include <math.h>
47392 #ifdef HAVE_IEEEFP_H
47393 #include <ieeefp.h>
47394 #endif
47395
47396 int
47397 main ()
47398 {
47399 isnanf(0);
47400 ;
47401 return 0;
47402 }
47403 _ACEOF
47404 if ac_fn_cxx_try_compile "$LINENO"; then :
47405 glibcxx_cv_func_isnanf_use=yes
47406 else
47407 glibcxx_cv_func_isnanf_use=no
47408 fi
47409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47410 ac_ext=c
47411 ac_cpp='$CPP $CPPFLAGS'
47412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47415
47416
47417 fi
47418
47419 fi
47420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47421 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47422
47423 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47424 for ac_func in isnanf
47425 do :
47426 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47427 if test "x$ac_cv_func_isnanf" = x""yes; then :
47428 cat >>confdefs.h <<_ACEOF
47429 #define HAVE_ISNANF 1
47430 _ACEOF
47431
47432 fi
47433 done
47434
47435 else
47436
47437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47438 $as_echo_n "checking for _isnanf declaration... " >&6; }
47439 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47440 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47441 $as_echo_n "(cached) " >&6
47442 else
47443
47444
47445 ac_ext=cpp
47446 ac_cpp='$CXXCPP $CPPFLAGS'
47447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47450
47451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47452 /* end confdefs.h. */
47453 #include <math.h>
47454 #ifdef HAVE_IEEEFP_H
47455 #include <ieeefp.h>
47456 #endif
47457
47458 int
47459 main ()
47460 {
47461 _isnanf(0);
47462 ;
47463 return 0;
47464 }
47465 _ACEOF
47466 if ac_fn_cxx_try_compile "$LINENO"; then :
47467 glibcxx_cv_func__isnanf_use=yes
47468 else
47469 glibcxx_cv_func__isnanf_use=no
47470 fi
47471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47472 ac_ext=c
47473 ac_cpp='$CPP $CPPFLAGS'
47474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47477
47478
47479 fi
47480
47481 fi
47482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47483 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47484
47485 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47486 for ac_func in _isnanf
47487 do :
47488 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47489 if test "x$ac_cv_func__isnanf" = x""yes; then :
47490 cat >>confdefs.h <<_ACEOF
47491 #define HAVE__ISNANF 1
47492 _ACEOF
47493
47494 fi
47495 done
47496
47497 fi
47498 fi
47499
47500
47501
47502
47503
47504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47505 $as_echo_n "checking for isinff declaration... " >&6; }
47506 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47507 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47508 $as_echo_n "(cached) " >&6
47509 else
47510
47511
47512 ac_ext=cpp
47513 ac_cpp='$CXXCPP $CPPFLAGS'
47514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47517
47518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47519 /* end confdefs.h. */
47520 #include <math.h>
47521 #ifdef HAVE_IEEEFP_H
47522 #include <ieeefp.h>
47523 #endif
47524
47525 int
47526 main ()
47527 {
47528 isinff(0);
47529 ;
47530 return 0;
47531 }
47532 _ACEOF
47533 if ac_fn_cxx_try_compile "$LINENO"; then :
47534 glibcxx_cv_func_isinff_use=yes
47535 else
47536 glibcxx_cv_func_isinff_use=no
47537 fi
47538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47539 ac_ext=c
47540 ac_cpp='$CPP $CPPFLAGS'
47541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47544
47545
47546 fi
47547
47548 fi
47549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47550 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47551
47552 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47553 for ac_func in isinff
47554 do :
47555 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47556 if test "x$ac_cv_func_isinff" = x""yes; then :
47557 cat >>confdefs.h <<_ACEOF
47558 #define HAVE_ISINFF 1
47559 _ACEOF
47560
47561 fi
47562 done
47563
47564 else
47565
47566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47567 $as_echo_n "checking for _isinff declaration... " >&6; }
47568 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47569 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47570 $as_echo_n "(cached) " >&6
47571 else
47572
47573
47574 ac_ext=cpp
47575 ac_cpp='$CXXCPP $CPPFLAGS'
47576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47579
47580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47581 /* end confdefs.h. */
47582 #include <math.h>
47583 #ifdef HAVE_IEEEFP_H
47584 #include <ieeefp.h>
47585 #endif
47586
47587 int
47588 main ()
47589 {
47590 _isinff(0);
47591 ;
47592 return 0;
47593 }
47594 _ACEOF
47595 if ac_fn_cxx_try_compile "$LINENO"; then :
47596 glibcxx_cv_func__isinff_use=yes
47597 else
47598 glibcxx_cv_func__isinff_use=no
47599 fi
47600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47601 ac_ext=c
47602 ac_cpp='$CPP $CPPFLAGS'
47603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47606
47607
47608 fi
47609
47610 fi
47611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47612 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47613
47614 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47615 for ac_func in _isinff
47616 do :
47617 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47618 if test "x$ac_cv_func__isinff" = x""yes; then :
47619 cat >>confdefs.h <<_ACEOF
47620 #define HAVE__ISINFF 1
47621 _ACEOF
47622
47623 fi
47624 done
47625
47626 fi
47627 fi
47628
47629
47630
47631
47632
47633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47634 $as_echo_n "checking for atan2f declaration... " >&6; }
47635 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47636 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47637 $as_echo_n "(cached) " >&6
47638 else
47639
47640
47641 ac_ext=cpp
47642 ac_cpp='$CXXCPP $CPPFLAGS'
47643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47646
47647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47648 /* end confdefs.h. */
47649 #include <math.h>
47650 int
47651 main ()
47652 {
47653 atan2f(0, 0);
47654 ;
47655 return 0;
47656 }
47657 _ACEOF
47658 if ac_fn_cxx_try_compile "$LINENO"; then :
47659 glibcxx_cv_func_atan2f_use=yes
47660 else
47661 glibcxx_cv_func_atan2f_use=no
47662 fi
47663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47664 ac_ext=c
47665 ac_cpp='$CPP $CPPFLAGS'
47666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47669
47670
47671 fi
47672
47673 fi
47674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47675 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47676
47677 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47678 for ac_func in atan2f
47679 do :
47680 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47681 if test "x$ac_cv_func_atan2f" = x""yes; then :
47682 cat >>confdefs.h <<_ACEOF
47683 #define HAVE_ATAN2F 1
47684 _ACEOF
47685
47686 fi
47687 done
47688
47689 else
47690
47691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47692 $as_echo_n "checking for _atan2f declaration... " >&6; }
47693 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47694 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47695 $as_echo_n "(cached) " >&6
47696 else
47697
47698
47699 ac_ext=cpp
47700 ac_cpp='$CXXCPP $CPPFLAGS'
47701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47704
47705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47706 /* end confdefs.h. */
47707 #include <math.h>
47708 int
47709 main ()
47710 {
47711 _atan2f(0, 0);
47712 ;
47713 return 0;
47714 }
47715 _ACEOF
47716 if ac_fn_cxx_try_compile "$LINENO"; then :
47717 glibcxx_cv_func__atan2f_use=yes
47718 else
47719 glibcxx_cv_func__atan2f_use=no
47720 fi
47721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47722 ac_ext=c
47723 ac_cpp='$CPP $CPPFLAGS'
47724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47727
47728
47729 fi
47730
47731 fi
47732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47733 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47734
47735 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47736 for ac_func in _atan2f
47737 do :
47738 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47739 if test "x$ac_cv_func__atan2f" = x""yes; then :
47740 cat >>confdefs.h <<_ACEOF
47741 #define HAVE__ATAN2F 1
47742 _ACEOF
47743
47744 fi
47745 done
47746
47747 fi
47748 fi
47749
47750
47751
47752
47753
47754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47755 $as_echo_n "checking for fabsf declaration... " >&6; }
47756 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47757 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47758 $as_echo_n "(cached) " >&6
47759 else
47760
47761
47762 ac_ext=cpp
47763 ac_cpp='$CXXCPP $CPPFLAGS'
47764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47767
47768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47769 /* end confdefs.h. */
47770 #include <math.h>
47771 #ifdef HAVE_IEEEFP_H
47772 #include <ieeefp.h>
47773 #endif
47774
47775 int
47776 main ()
47777 {
47778 fabsf(0);
47779 ;
47780 return 0;
47781 }
47782 _ACEOF
47783 if ac_fn_cxx_try_compile "$LINENO"; then :
47784 glibcxx_cv_func_fabsf_use=yes
47785 else
47786 glibcxx_cv_func_fabsf_use=no
47787 fi
47788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47789 ac_ext=c
47790 ac_cpp='$CPP $CPPFLAGS'
47791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47794
47795
47796 fi
47797
47798 fi
47799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47800 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47801
47802 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47803 for ac_func in fabsf
47804 do :
47805 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47806 if test "x$ac_cv_func_fabsf" = x""yes; then :
47807 cat >>confdefs.h <<_ACEOF
47808 #define HAVE_FABSF 1
47809 _ACEOF
47810
47811 fi
47812 done
47813
47814 else
47815
47816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47817 $as_echo_n "checking for _fabsf declaration... " >&6; }
47818 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47819 if test "${glibcxx_cv_func__fabsf_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 #ifdef HAVE_IEEEFP_H
47834 #include <ieeefp.h>
47835 #endif
47836
47837 int
47838 main ()
47839 {
47840 _fabsf(0);
47841 ;
47842 return 0;
47843 }
47844 _ACEOF
47845 if ac_fn_cxx_try_compile "$LINENO"; then :
47846 glibcxx_cv_func__fabsf_use=yes
47847 else
47848 glibcxx_cv_func__fabsf_use=no
47849 fi
47850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47851 ac_ext=c
47852 ac_cpp='$CPP $CPPFLAGS'
47853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47856
47857
47858 fi
47859
47860 fi
47861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47862 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47863
47864 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47865 for ac_func in _fabsf
47866 do :
47867 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47868 if test "x$ac_cv_func__fabsf" = x""yes; then :
47869 cat >>confdefs.h <<_ACEOF
47870 #define HAVE__FABSF 1
47871 _ACEOF
47872
47873 fi
47874 done
47875
47876 fi
47877 fi
47878
47879
47880
47881
47882
47883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47884 $as_echo_n "checking for fmodf declaration... " >&6; }
47885 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47886 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47887 $as_echo_n "(cached) " >&6
47888 else
47889
47890
47891 ac_ext=cpp
47892 ac_cpp='$CXXCPP $CPPFLAGS'
47893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47896
47897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47898 /* end confdefs.h. */
47899 #include <math.h>
47900 int
47901 main ()
47902 {
47903 fmodf(0, 0);
47904 ;
47905 return 0;
47906 }
47907 _ACEOF
47908 if ac_fn_cxx_try_compile "$LINENO"; then :
47909 glibcxx_cv_func_fmodf_use=yes
47910 else
47911 glibcxx_cv_func_fmodf_use=no
47912 fi
47913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47914 ac_ext=c
47915 ac_cpp='$CPP $CPPFLAGS'
47916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47919
47920
47921 fi
47922
47923 fi
47924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47925 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47926
47927 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47928 for ac_func in fmodf
47929 do :
47930 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47931 if test "x$ac_cv_func_fmodf" = x""yes; then :
47932 cat >>confdefs.h <<_ACEOF
47933 #define HAVE_FMODF 1
47934 _ACEOF
47935
47936 fi
47937 done
47938
47939 else
47940
47941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47942 $as_echo_n "checking for _fmodf declaration... " >&6; }
47943 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47944 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47945 $as_echo_n "(cached) " >&6
47946 else
47947
47948
47949 ac_ext=cpp
47950 ac_cpp='$CXXCPP $CPPFLAGS'
47951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47954
47955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47956 /* end confdefs.h. */
47957 #include <math.h>
47958 int
47959 main ()
47960 {
47961 _fmodf(0, 0);
47962 ;
47963 return 0;
47964 }
47965 _ACEOF
47966 if ac_fn_cxx_try_compile "$LINENO"; then :
47967 glibcxx_cv_func__fmodf_use=yes
47968 else
47969 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
47983 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47984
47985 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47986 for ac_func in _fmodf
47987 do :
47988 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47989 if test "x$ac_cv_func__fmodf" = x""yes; then :
47990 cat >>confdefs.h <<_ACEOF
47991 #define HAVE__FMODF 1
47992 _ACEOF
47993
47994 fi
47995 done
47996
47997 fi
47998 fi
47999
48000
48001
48002
48003
48004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48005 $as_echo_n "checking for frexpf declaration... " >&6; }
48006 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48007 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48008 $as_echo_n "(cached) " >&6
48009 else
48010
48011
48012 ac_ext=cpp
48013 ac_cpp='$CXXCPP $CPPFLAGS'
48014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48017
48018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48019 /* end confdefs.h. */
48020 #include <math.h>
48021 int
48022 main ()
48023 {
48024 frexpf(0, 0);
48025 ;
48026 return 0;
48027 }
48028 _ACEOF
48029 if ac_fn_cxx_try_compile "$LINENO"; then :
48030 glibcxx_cv_func_frexpf_use=yes
48031 else
48032 glibcxx_cv_func_frexpf_use=no
48033 fi
48034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48035 ac_ext=c
48036 ac_cpp='$CPP $CPPFLAGS'
48037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48040
48041
48042 fi
48043
48044 fi
48045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48046 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48047
48048 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48049 for ac_func in frexpf
48050 do :
48051 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48052 if test "x$ac_cv_func_frexpf" = x""yes; then :
48053 cat >>confdefs.h <<_ACEOF
48054 #define HAVE_FREXPF 1
48055 _ACEOF
48056
48057 fi
48058 done
48059
48060 else
48061
48062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48063 $as_echo_n "checking for _frexpf declaration... " >&6; }
48064 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48065 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48066 $as_echo_n "(cached) " >&6
48067 else
48068
48069
48070 ac_ext=cpp
48071 ac_cpp='$CXXCPP $CPPFLAGS'
48072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48075
48076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48077 /* end confdefs.h. */
48078 #include <math.h>
48079 int
48080 main ()
48081 {
48082 _frexpf(0, 0);
48083 ;
48084 return 0;
48085 }
48086 _ACEOF
48087 if ac_fn_cxx_try_compile "$LINENO"; then :
48088 glibcxx_cv_func__frexpf_use=yes
48089 else
48090 glibcxx_cv_func__frexpf_use=no
48091 fi
48092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48093 ac_ext=c
48094 ac_cpp='$CPP $CPPFLAGS'
48095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48098
48099
48100 fi
48101
48102 fi
48103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48104 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48105
48106 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48107 for ac_func in _frexpf
48108 do :
48109 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48110 if test "x$ac_cv_func__frexpf" = x""yes; then :
48111 cat >>confdefs.h <<_ACEOF
48112 #define HAVE__FREXPF 1
48113 _ACEOF
48114
48115 fi
48116 done
48117
48118 fi
48119 fi
48120
48121
48122
48123
48124
48125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48126 $as_echo_n "checking for hypotf declaration... " >&6; }
48127 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48128 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48129 $as_echo_n "(cached) " >&6
48130 else
48131
48132
48133 ac_ext=cpp
48134 ac_cpp='$CXXCPP $CPPFLAGS'
48135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48138
48139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48140 /* end confdefs.h. */
48141 #include <math.h>
48142 int
48143 main ()
48144 {
48145 hypotf(0, 0);
48146 ;
48147 return 0;
48148 }
48149 _ACEOF
48150 if ac_fn_cxx_try_compile "$LINENO"; then :
48151 glibcxx_cv_func_hypotf_use=yes
48152 else
48153 glibcxx_cv_func_hypotf_use=no
48154 fi
48155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48156 ac_ext=c
48157 ac_cpp='$CPP $CPPFLAGS'
48158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48161
48162
48163 fi
48164
48165 fi
48166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48167 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48168
48169 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48170 for ac_func in hypotf
48171 do :
48172 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48173 if test "x$ac_cv_func_hypotf" = x""yes; then :
48174 cat >>confdefs.h <<_ACEOF
48175 #define HAVE_HYPOTF 1
48176 _ACEOF
48177
48178 fi
48179 done
48180
48181 else
48182
48183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48184 $as_echo_n "checking for _hypotf declaration... " >&6; }
48185 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48186 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48187 $as_echo_n "(cached) " >&6
48188 else
48189
48190
48191 ac_ext=cpp
48192 ac_cpp='$CXXCPP $CPPFLAGS'
48193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48196
48197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48198 /* end confdefs.h. */
48199 #include <math.h>
48200 int
48201 main ()
48202 {
48203 _hypotf(0, 0);
48204 ;
48205 return 0;
48206 }
48207 _ACEOF
48208 if ac_fn_cxx_try_compile "$LINENO"; then :
48209 glibcxx_cv_func__hypotf_use=yes
48210 else
48211 glibcxx_cv_func__hypotf_use=no
48212 fi
48213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48214 ac_ext=c
48215 ac_cpp='$CPP $CPPFLAGS'
48216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48219
48220
48221 fi
48222
48223 fi
48224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48225 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48226
48227 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48228 for ac_func in _hypotf
48229 do :
48230 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48231 if test "x$ac_cv_func__hypotf" = x""yes; then :
48232 cat >>confdefs.h <<_ACEOF
48233 #define HAVE__HYPOTF 1
48234 _ACEOF
48235
48236 fi
48237 done
48238
48239 fi
48240 fi
48241
48242
48243
48244
48245
48246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48247 $as_echo_n "checking for ldexpf declaration... " >&6; }
48248 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48249 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48250 $as_echo_n "(cached) " >&6
48251 else
48252
48253
48254 ac_ext=cpp
48255 ac_cpp='$CXXCPP $CPPFLAGS'
48256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48259
48260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48261 /* end confdefs.h. */
48262 #include <math.h>
48263 int
48264 main ()
48265 {
48266 ldexpf(0, 0);
48267 ;
48268 return 0;
48269 }
48270 _ACEOF
48271 if ac_fn_cxx_try_compile "$LINENO"; then :
48272 glibcxx_cv_func_ldexpf_use=yes
48273 else
48274 glibcxx_cv_func_ldexpf_use=no
48275 fi
48276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48277 ac_ext=c
48278 ac_cpp='$CPP $CPPFLAGS'
48279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48282
48283
48284 fi
48285
48286 fi
48287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48288 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48289
48290 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48291 for ac_func in ldexpf
48292 do :
48293 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48294 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48295 cat >>confdefs.h <<_ACEOF
48296 #define HAVE_LDEXPF 1
48297 _ACEOF
48298
48299 fi
48300 done
48301
48302 else
48303
48304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48305 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48306 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48307 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48308 $as_echo_n "(cached) " >&6
48309 else
48310
48311
48312 ac_ext=cpp
48313 ac_cpp='$CXXCPP $CPPFLAGS'
48314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48317
48318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48319 /* end confdefs.h. */
48320 #include <math.h>
48321 int
48322 main ()
48323 {
48324 _ldexpf(0, 0);
48325 ;
48326 return 0;
48327 }
48328 _ACEOF
48329 if ac_fn_cxx_try_compile "$LINENO"; then :
48330 glibcxx_cv_func__ldexpf_use=yes
48331 else
48332 glibcxx_cv_func__ldexpf_use=no
48333 fi
48334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48335 ac_ext=c
48336 ac_cpp='$CPP $CPPFLAGS'
48337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48340
48341
48342 fi
48343
48344 fi
48345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48346 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48347
48348 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48349 for ac_func in _ldexpf
48350 do :
48351 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48352 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48353 cat >>confdefs.h <<_ACEOF
48354 #define HAVE__LDEXPF 1
48355 _ACEOF
48356
48357 fi
48358 done
48359
48360 fi
48361 fi
48362
48363
48364
48365
48366
48367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48368 $as_echo_n "checking for logf declaration... " >&6; }
48369 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48370 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48371 $as_echo_n "(cached) " >&6
48372 else
48373
48374
48375 ac_ext=cpp
48376 ac_cpp='$CXXCPP $CPPFLAGS'
48377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48380
48381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48382 /* end confdefs.h. */
48383 #include <math.h>
48384 #ifdef HAVE_IEEEFP_H
48385 #include <ieeefp.h>
48386 #endif
48387
48388 int
48389 main ()
48390 {
48391 logf(0);
48392 ;
48393 return 0;
48394 }
48395 _ACEOF
48396 if ac_fn_cxx_try_compile "$LINENO"; then :
48397 glibcxx_cv_func_logf_use=yes
48398 else
48399 glibcxx_cv_func_logf_use=no
48400 fi
48401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48402 ac_ext=c
48403 ac_cpp='$CPP $CPPFLAGS'
48404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48407
48408
48409 fi
48410
48411 fi
48412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48413 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48414
48415 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48416 for ac_func in logf
48417 do :
48418 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48419 if test "x$ac_cv_func_logf" = x""yes; then :
48420 cat >>confdefs.h <<_ACEOF
48421 #define HAVE_LOGF 1
48422 _ACEOF
48423
48424 fi
48425 done
48426
48427 else
48428
48429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48430 $as_echo_n "checking for _logf declaration... " >&6; }
48431 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48432 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48433 $as_echo_n "(cached) " >&6
48434 else
48435
48436
48437 ac_ext=cpp
48438 ac_cpp='$CXXCPP $CPPFLAGS'
48439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48442
48443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48444 /* end confdefs.h. */
48445 #include <math.h>
48446 #ifdef HAVE_IEEEFP_H
48447 #include <ieeefp.h>
48448 #endif
48449
48450 int
48451 main ()
48452 {
48453 _logf(0);
48454 ;
48455 return 0;
48456 }
48457 _ACEOF
48458 if ac_fn_cxx_try_compile "$LINENO"; then :
48459 glibcxx_cv_func__logf_use=yes
48460 else
48461 glibcxx_cv_func__logf_use=no
48462 fi
48463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48464 ac_ext=c
48465 ac_cpp='$CPP $CPPFLAGS'
48466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48469
48470
48471 fi
48472
48473 fi
48474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48475 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48476
48477 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48478 for ac_func in _logf
48479 do :
48480 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48481 if test "x$ac_cv_func__logf" = x""yes; then :
48482 cat >>confdefs.h <<_ACEOF
48483 #define HAVE__LOGF 1
48484 _ACEOF
48485
48486 fi
48487 done
48488
48489 fi
48490 fi
48491
48492
48493
48494
48495
48496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48497 $as_echo_n "checking for log10f declaration... " >&6; }
48498 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48499 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48500 $as_echo_n "(cached) " >&6
48501 else
48502
48503
48504 ac_ext=cpp
48505 ac_cpp='$CXXCPP $CPPFLAGS'
48506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48509
48510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48511 /* end confdefs.h. */
48512 #include <math.h>
48513 #ifdef HAVE_IEEEFP_H
48514 #include <ieeefp.h>
48515 #endif
48516
48517 int
48518 main ()
48519 {
48520 log10f(0);
48521 ;
48522 return 0;
48523 }
48524 _ACEOF
48525 if ac_fn_cxx_try_compile "$LINENO"; then :
48526 glibcxx_cv_func_log10f_use=yes
48527 else
48528 glibcxx_cv_func_log10f_use=no
48529 fi
48530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48531 ac_ext=c
48532 ac_cpp='$CPP $CPPFLAGS'
48533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48536
48537
48538 fi
48539
48540 fi
48541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48542 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48543
48544 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48545 for ac_func in log10f
48546 do :
48547 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48548 if test "x$ac_cv_func_log10f" = x""yes; then :
48549 cat >>confdefs.h <<_ACEOF
48550 #define HAVE_LOG10F 1
48551 _ACEOF
48552
48553 fi
48554 done
48555
48556 else
48557
48558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48559 $as_echo_n "checking for _log10f declaration... " >&6; }
48560 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48561 if test "${glibcxx_cv_func__log10f_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 _log10f(0);
48583 ;
48584 return 0;
48585 }
48586 _ACEOF
48587 if ac_fn_cxx_try_compile "$LINENO"; then :
48588 glibcxx_cv_func__log10f_use=yes
48589 else
48590 glibcxx_cv_func__log10f_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__log10f_use" >&5
48604 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48605
48606 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48607 for ac_func in _log10f
48608 do :
48609 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48610 if test "x$ac_cv_func__log10f" = x""yes; then :
48611 cat >>confdefs.h <<_ACEOF
48612 #define HAVE__LOG10F 1
48613 _ACEOF
48614
48615 fi
48616 done
48617
48618 fi
48619 fi
48620
48621
48622
48623
48624
48625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48626 $as_echo_n "checking for modff declaration... " >&6; }
48627 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48628 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48629 $as_echo_n "(cached) " >&6
48630 else
48631
48632
48633 ac_ext=cpp
48634 ac_cpp='$CXXCPP $CPPFLAGS'
48635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48638
48639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48640 /* end confdefs.h. */
48641 #include <math.h>
48642 int
48643 main ()
48644 {
48645 modff(0, 0);
48646 ;
48647 return 0;
48648 }
48649 _ACEOF
48650 if ac_fn_cxx_try_compile "$LINENO"; then :
48651 glibcxx_cv_func_modff_use=yes
48652 else
48653 glibcxx_cv_func_modff_use=no
48654 fi
48655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48656 ac_ext=c
48657 ac_cpp='$CPP $CPPFLAGS'
48658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48661
48662
48663 fi
48664
48665 fi
48666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48667 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48668
48669 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48670 for ac_func in modff
48671 do :
48672 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48673 if test "x$ac_cv_func_modff" = x""yes; then :
48674 cat >>confdefs.h <<_ACEOF
48675 #define HAVE_MODFF 1
48676 _ACEOF
48677
48678 fi
48679 done
48680
48681 else
48682
48683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48684 $as_echo_n "checking for _modff declaration... " >&6; }
48685 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48686 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48687 $as_echo_n "(cached) " >&6
48688 else
48689
48690
48691 ac_ext=cpp
48692 ac_cpp='$CXXCPP $CPPFLAGS'
48693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48696
48697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48698 /* end confdefs.h. */
48699 #include <math.h>
48700 int
48701 main ()
48702 {
48703 _modff(0, 0);
48704 ;
48705 return 0;
48706 }
48707 _ACEOF
48708 if ac_fn_cxx_try_compile "$LINENO"; then :
48709 glibcxx_cv_func__modff_use=yes
48710 else
48711 glibcxx_cv_func__modff_use=no
48712 fi
48713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48714 ac_ext=c
48715 ac_cpp='$CPP $CPPFLAGS'
48716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48719
48720
48721 fi
48722
48723 fi
48724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48725 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48726
48727 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48728 for ac_func in _modff
48729 do :
48730 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48731 if test "x$ac_cv_func__modff" = x""yes; then :
48732 cat >>confdefs.h <<_ACEOF
48733 #define HAVE__MODFF 1
48734 _ACEOF
48735
48736 fi
48737 done
48738
48739 fi
48740 fi
48741
48742
48743
48744
48745
48746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48747 $as_echo_n "checking for modf declaration... " >&6; }
48748 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48749 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48750 $as_echo_n "(cached) " >&6
48751 else
48752
48753
48754 ac_ext=cpp
48755 ac_cpp='$CXXCPP $CPPFLAGS'
48756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48759
48760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48761 /* end confdefs.h. */
48762 #include <math.h>
48763 int
48764 main ()
48765 {
48766 modf(0, 0);
48767 ;
48768 return 0;
48769 }
48770 _ACEOF
48771 if ac_fn_cxx_try_compile "$LINENO"; then :
48772 glibcxx_cv_func_modf_use=yes
48773 else
48774 glibcxx_cv_func_modf_use=no
48775 fi
48776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48777 ac_ext=c
48778 ac_cpp='$CPP $CPPFLAGS'
48779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48782
48783
48784 fi
48785
48786 fi
48787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48788 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48789
48790 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48791 for ac_func in modf
48792 do :
48793 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48794 if test "x$ac_cv_func_modf" = x""yes; then :
48795 cat >>confdefs.h <<_ACEOF
48796 #define HAVE_MODF 1
48797 _ACEOF
48798
48799 fi
48800 done
48801
48802 else
48803
48804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48805 $as_echo_n "checking for _modf declaration... " >&6; }
48806 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48807 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48808 $as_echo_n "(cached) " >&6
48809 else
48810
48811
48812 ac_ext=cpp
48813 ac_cpp='$CXXCPP $CPPFLAGS'
48814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48817
48818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48819 /* end confdefs.h. */
48820 #include <math.h>
48821 int
48822 main ()
48823 {
48824 _modf(0, 0);
48825 ;
48826 return 0;
48827 }
48828 _ACEOF
48829 if ac_fn_cxx_try_compile "$LINENO"; then :
48830 glibcxx_cv_func__modf_use=yes
48831 else
48832 glibcxx_cv_func__modf_use=no
48833 fi
48834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48835 ac_ext=c
48836 ac_cpp='$CPP $CPPFLAGS'
48837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48840
48841
48842 fi
48843
48844 fi
48845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48846 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48847
48848 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48849 for ac_func in _modf
48850 do :
48851 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48852 if test "x$ac_cv_func__modf" = x""yes; then :
48853 cat >>confdefs.h <<_ACEOF
48854 #define HAVE__MODF 1
48855 _ACEOF
48856
48857 fi
48858 done
48859
48860 fi
48861 fi
48862
48863
48864
48865
48866
48867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48868 $as_echo_n "checking for powf declaration... " >&6; }
48869 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48870 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48871 $as_echo_n "(cached) " >&6
48872 else
48873
48874
48875 ac_ext=cpp
48876 ac_cpp='$CXXCPP $CPPFLAGS'
48877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48880
48881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48882 /* end confdefs.h. */
48883 #include <math.h>
48884 int
48885 main ()
48886 {
48887 powf(0, 0);
48888 ;
48889 return 0;
48890 }
48891 _ACEOF
48892 if ac_fn_cxx_try_compile "$LINENO"; then :
48893 glibcxx_cv_func_powf_use=yes
48894 else
48895 glibcxx_cv_func_powf_use=no
48896 fi
48897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48898 ac_ext=c
48899 ac_cpp='$CPP $CPPFLAGS'
48900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48903
48904
48905 fi
48906
48907 fi
48908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48909 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48910
48911 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48912 for ac_func in powf
48913 do :
48914 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48915 if test "x$ac_cv_func_powf" = x""yes; then :
48916 cat >>confdefs.h <<_ACEOF
48917 #define HAVE_POWF 1
48918 _ACEOF
48919
48920 fi
48921 done
48922
48923 else
48924
48925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48926 $as_echo_n "checking for _powf declaration... " >&6; }
48927 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48928 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48929 $as_echo_n "(cached) " >&6
48930 else
48931
48932
48933 ac_ext=cpp
48934 ac_cpp='$CXXCPP $CPPFLAGS'
48935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48938
48939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48940 /* end confdefs.h. */
48941 #include <math.h>
48942 int
48943 main ()
48944 {
48945 _powf(0, 0);
48946 ;
48947 return 0;
48948 }
48949 _ACEOF
48950 if ac_fn_cxx_try_compile "$LINENO"; then :
48951 glibcxx_cv_func__powf_use=yes
48952 else
48953 glibcxx_cv_func__powf_use=no
48954 fi
48955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48956 ac_ext=c
48957 ac_cpp='$CPP $CPPFLAGS'
48958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48961
48962
48963 fi
48964
48965 fi
48966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48967 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48968
48969 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48970 for ac_func in _powf
48971 do :
48972 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48973 if test "x$ac_cv_func__powf" = x""yes; then :
48974 cat >>confdefs.h <<_ACEOF
48975 #define HAVE__POWF 1
48976 _ACEOF
48977
48978 fi
48979 done
48980
48981 fi
48982 fi
48983
48984
48985
48986
48987
48988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48989 $as_echo_n "checking for sqrtf declaration... " >&6; }
48990 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48991 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48992 $as_echo_n "(cached) " >&6
48993 else
48994
48995
48996 ac_ext=cpp
48997 ac_cpp='$CXXCPP $CPPFLAGS'
48998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49001
49002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49003 /* end confdefs.h. */
49004 #include <math.h>
49005 #ifdef HAVE_IEEEFP_H
49006 #include <ieeefp.h>
49007 #endif
49008
49009 int
49010 main ()
49011 {
49012 sqrtf(0);
49013 ;
49014 return 0;
49015 }
49016 _ACEOF
49017 if ac_fn_cxx_try_compile "$LINENO"; then :
49018 glibcxx_cv_func_sqrtf_use=yes
49019 else
49020 glibcxx_cv_func_sqrtf_use=no
49021 fi
49022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49023 ac_ext=c
49024 ac_cpp='$CPP $CPPFLAGS'
49025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49028
49029
49030 fi
49031
49032 fi
49033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49034 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49035
49036 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49037 for ac_func in sqrtf
49038 do :
49039 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49040 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49041 cat >>confdefs.h <<_ACEOF
49042 #define HAVE_SQRTF 1
49043 _ACEOF
49044
49045 fi
49046 done
49047
49048 else
49049
49050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49051 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49052 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49053 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49054 $as_echo_n "(cached) " >&6
49055 else
49056
49057
49058 ac_ext=cpp
49059 ac_cpp='$CXXCPP $CPPFLAGS'
49060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49063
49064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49065 /* end confdefs.h. */
49066 #include <math.h>
49067 #ifdef HAVE_IEEEFP_H
49068 #include <ieeefp.h>
49069 #endif
49070
49071 int
49072 main ()
49073 {
49074 _sqrtf(0);
49075 ;
49076 return 0;
49077 }
49078 _ACEOF
49079 if ac_fn_cxx_try_compile "$LINENO"; then :
49080 glibcxx_cv_func__sqrtf_use=yes
49081 else
49082 glibcxx_cv_func__sqrtf_use=no
49083 fi
49084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49085 ac_ext=c
49086 ac_cpp='$CPP $CPPFLAGS'
49087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49090
49091
49092 fi
49093
49094 fi
49095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49096 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49097
49098 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49099 for ac_func in _sqrtf
49100 do :
49101 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49102 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49103 cat >>confdefs.h <<_ACEOF
49104 #define HAVE__SQRTF 1
49105 _ACEOF
49106
49107 fi
49108 done
49109
49110 fi
49111 fi
49112
49113
49114
49115
49116
49117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49118 $as_echo_n "checking for sincosf declaration... " >&6; }
49119 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49120 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49121 $as_echo_n "(cached) " >&6
49122 else
49123
49124
49125 ac_ext=cpp
49126 ac_cpp='$CXXCPP $CPPFLAGS'
49127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49130
49131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49132 /* end confdefs.h. */
49133 #include <math.h>
49134 int
49135 main ()
49136 {
49137 sincosf(0, 0, 0);
49138 ;
49139 return 0;
49140 }
49141 _ACEOF
49142 if ac_fn_cxx_try_compile "$LINENO"; then :
49143 glibcxx_cv_func_sincosf_use=yes
49144 else
49145 glibcxx_cv_func_sincosf_use=no
49146 fi
49147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49148 ac_ext=c
49149 ac_cpp='$CPP $CPPFLAGS'
49150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49153
49154
49155 fi
49156
49157 fi
49158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49159 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49160
49161 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49162 for ac_func in sincosf
49163 do :
49164 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49165 if test "x$ac_cv_func_sincosf" = x""yes; then :
49166 cat >>confdefs.h <<_ACEOF
49167 #define HAVE_SINCOSF 1
49168 _ACEOF
49169
49170 fi
49171 done
49172
49173 else
49174
49175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49176 $as_echo_n "checking for _sincosf declaration... " >&6; }
49177 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49178 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49179 $as_echo_n "(cached) " >&6
49180 else
49181
49182
49183 ac_ext=cpp
49184 ac_cpp='$CXXCPP $CPPFLAGS'
49185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49188
49189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49190 /* end confdefs.h. */
49191 #include <math.h>
49192 int
49193 main ()
49194 {
49195 _sincosf(0, 0, 0);
49196 ;
49197 return 0;
49198 }
49199 _ACEOF
49200 if ac_fn_cxx_try_compile "$LINENO"; then :
49201 glibcxx_cv_func__sincosf_use=yes
49202 else
49203 glibcxx_cv_func__sincosf_use=no
49204 fi
49205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49206 ac_ext=c
49207 ac_cpp='$CPP $CPPFLAGS'
49208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49211
49212
49213 fi
49214
49215 fi
49216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49217 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49218
49219 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49220 for ac_func in _sincosf
49221 do :
49222 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49223 if test "x$ac_cv_func__sincosf" = x""yes; then :
49224 cat >>confdefs.h <<_ACEOF
49225 #define HAVE__SINCOSF 1
49226 _ACEOF
49227
49228 fi
49229 done
49230
49231 fi
49232 fi
49233
49234
49235
49236
49237
49238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49239 $as_echo_n "checking for finitef declaration... " >&6; }
49240 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49241 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49242 $as_echo_n "(cached) " >&6
49243 else
49244
49245
49246 ac_ext=cpp
49247 ac_cpp='$CXXCPP $CPPFLAGS'
49248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49251
49252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49253 /* end confdefs.h. */
49254 #include <math.h>
49255 #ifdef HAVE_IEEEFP_H
49256 #include <ieeefp.h>
49257 #endif
49258
49259 int
49260 main ()
49261 {
49262 finitef(0);
49263 ;
49264 return 0;
49265 }
49266 _ACEOF
49267 if ac_fn_cxx_try_compile "$LINENO"; then :
49268 glibcxx_cv_func_finitef_use=yes
49269 else
49270 glibcxx_cv_func_finitef_use=no
49271 fi
49272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49273 ac_ext=c
49274 ac_cpp='$CPP $CPPFLAGS'
49275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49278
49279
49280 fi
49281
49282 fi
49283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49284 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49285
49286 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49287 for ac_func in finitef
49288 do :
49289 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49290 if test "x$ac_cv_func_finitef" = x""yes; then :
49291 cat >>confdefs.h <<_ACEOF
49292 #define HAVE_FINITEF 1
49293 _ACEOF
49294
49295 fi
49296 done
49297
49298 else
49299
49300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49301 $as_echo_n "checking for _finitef declaration... " >&6; }
49302 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49303 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49304 $as_echo_n "(cached) " >&6
49305 else
49306
49307
49308 ac_ext=cpp
49309 ac_cpp='$CXXCPP $CPPFLAGS'
49310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49313
49314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49315 /* end confdefs.h. */
49316 #include <math.h>
49317 #ifdef HAVE_IEEEFP_H
49318 #include <ieeefp.h>
49319 #endif
49320
49321 int
49322 main ()
49323 {
49324 _finitef(0);
49325 ;
49326 return 0;
49327 }
49328 _ACEOF
49329 if ac_fn_cxx_try_compile "$LINENO"; then :
49330 glibcxx_cv_func__finitef_use=yes
49331 else
49332 glibcxx_cv_func__finitef_use=no
49333 fi
49334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49335 ac_ext=c
49336 ac_cpp='$CPP $CPPFLAGS'
49337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49340
49341
49342 fi
49343
49344 fi
49345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49346 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49347
49348 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49349 for ac_func in _finitef
49350 do :
49351 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49352 if test "x$ac_cv_func__finitef" = x""yes; then :
49353 cat >>confdefs.h <<_ACEOF
49354 #define HAVE__FINITEF 1
49355 _ACEOF
49356
49357 fi
49358 done
49359
49360 fi
49361 fi
49362
49363
49364
49365
49366
49367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49368 $as_echo_n "checking for long double trig functions... " >&6; }
49369 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49370 $as_echo_n "(cached) " >&6
49371 else
49372
49373
49374 ac_ext=cpp
49375 ac_cpp='$CXXCPP $CPPFLAGS'
49376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49379
49380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49381 /* end confdefs.h. */
49382 #include <math.h>
49383 int
49384 main ()
49385 {
49386 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49387 ;
49388 return 0;
49389 }
49390 _ACEOF
49391 if ac_fn_cxx_try_compile "$LINENO"; then :
49392 glibcxx_cv_func_long_double_trig_use=yes
49393 else
49394 glibcxx_cv_func_long_double_trig_use=no
49395 fi
49396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49397 ac_ext=c
49398 ac_cpp='$CPP $CPPFLAGS'
49399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49402
49403 fi
49404
49405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49406 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49407 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49408 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49409 do :
49410 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49411 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49412 eval as_val=\$$as_ac_var
49413 if test "x$as_val" = x""yes; then :
49414 cat >>confdefs.h <<_ACEOF
49415 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49416 _ACEOF
49417
49418 fi
49419 done
49420
49421 else
49422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49423 $as_echo_n "checking for _long double trig functions... " >&6; }
49424 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49425 $as_echo_n "(cached) " >&6
49426 else
49427
49428
49429 ac_ext=cpp
49430 ac_cpp='$CXXCPP $CPPFLAGS'
49431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49434
49435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49436 /* end confdefs.h. */
49437 #include <math.h>
49438 int
49439 main ()
49440 {
49441 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49442 ;
49443 return 0;
49444 }
49445 _ACEOF
49446 if ac_fn_cxx_try_compile "$LINENO"; then :
49447 glibcxx_cv_func__long_double_trig_use=yes
49448 else
49449 glibcxx_cv_func__long_double_trig_use=no
49450 fi
49451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49452 ac_ext=c
49453 ac_cpp='$CPP $CPPFLAGS'
49454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49457
49458 fi
49459
49460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49461 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49462 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49463 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49464 do :
49465 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49466 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49467 eval as_val=\$$as_ac_var
49468 if test "x$as_val" = x""yes; then :
49469 cat >>confdefs.h <<_ACEOF
49470 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49471 _ACEOF
49472
49473 fi
49474 done
49475
49476 fi
49477 fi
49478
49479
49480
49481
49482
49483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49484 $as_echo_n "checking for long double round functions... " >&6; }
49485 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49486 $as_echo_n "(cached) " >&6
49487 else
49488
49489
49490 ac_ext=cpp
49491 ac_cpp='$CXXCPP $CPPFLAGS'
49492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49495
49496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49497 /* end confdefs.h. */
49498 #include <math.h>
49499 int
49500 main ()
49501 {
49502 ceill (0); floorl (0);
49503 ;
49504 return 0;
49505 }
49506 _ACEOF
49507 if ac_fn_cxx_try_compile "$LINENO"; then :
49508 glibcxx_cv_func_long_double_round_use=yes
49509 else
49510 glibcxx_cv_func_long_double_round_use=no
49511 fi
49512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49513 ac_ext=c
49514 ac_cpp='$CPP $CPPFLAGS'
49515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49518
49519 fi
49520
49521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49522 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49523 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49524 for ac_func in ceill floorl
49525 do :
49526 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49527 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49528 eval as_val=\$$as_ac_var
49529 if test "x$as_val" = x""yes; then :
49530 cat >>confdefs.h <<_ACEOF
49531 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49532 _ACEOF
49533
49534 fi
49535 done
49536
49537 else
49538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49539 $as_echo_n "checking for _long double round functions... " >&6; }
49540 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49541 $as_echo_n "(cached) " >&6
49542 else
49543
49544
49545 ac_ext=cpp
49546 ac_cpp='$CXXCPP $CPPFLAGS'
49547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49550
49551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49552 /* end confdefs.h. */
49553 #include <math.h>
49554 int
49555 main ()
49556 {
49557 _ceill (0); _floorl (0);
49558 ;
49559 return 0;
49560 }
49561 _ACEOF
49562 if ac_fn_cxx_try_compile "$LINENO"; then :
49563 glibcxx_cv_func__long_double_round_use=yes
49564 else
49565 glibcxx_cv_func__long_double_round_use=no
49566 fi
49567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49568 ac_ext=c
49569 ac_cpp='$CPP $CPPFLAGS'
49570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49573
49574 fi
49575
49576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49577 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49578 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49579 for ac_func in _ceill _floorl
49580 do :
49581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49583 eval as_val=\$$as_ac_var
49584 if test "x$as_val" = x""yes; then :
49585 cat >>confdefs.h <<_ACEOF
49586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49587 _ACEOF
49588
49589 fi
49590 done
49591
49592 fi
49593 fi
49594
49595
49596
49597
49598
49599
49600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49601 $as_echo_n "checking for isnanl declaration... " >&6; }
49602 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49603 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49604 $as_echo_n "(cached) " >&6
49605 else
49606
49607
49608 ac_ext=cpp
49609 ac_cpp='$CXXCPP $CPPFLAGS'
49610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49613
49614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49615 /* end confdefs.h. */
49616 #include <math.h>
49617 #ifdef HAVE_IEEEFP_H
49618 #include <ieeefp.h>
49619 #endif
49620
49621 int
49622 main ()
49623 {
49624 isnanl(0);
49625 ;
49626 return 0;
49627 }
49628 _ACEOF
49629 if ac_fn_cxx_try_compile "$LINENO"; then :
49630 glibcxx_cv_func_isnanl_use=yes
49631 else
49632 glibcxx_cv_func_isnanl_use=no
49633 fi
49634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49635 ac_ext=c
49636 ac_cpp='$CPP $CPPFLAGS'
49637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49640
49641
49642 fi
49643
49644 fi
49645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49646 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49647
49648 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49649 for ac_func in isnanl
49650 do :
49651 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49652 if test "x$ac_cv_func_isnanl" = x""yes; then :
49653 cat >>confdefs.h <<_ACEOF
49654 #define HAVE_ISNANL 1
49655 _ACEOF
49656
49657 fi
49658 done
49659
49660 else
49661
49662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49663 $as_echo_n "checking for _isnanl declaration... " >&6; }
49664 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49665 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49666 $as_echo_n "(cached) " >&6
49667 else
49668
49669
49670 ac_ext=cpp
49671 ac_cpp='$CXXCPP $CPPFLAGS'
49672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49675
49676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49677 /* end confdefs.h. */
49678 #include <math.h>
49679 #ifdef HAVE_IEEEFP_H
49680 #include <ieeefp.h>
49681 #endif
49682
49683 int
49684 main ()
49685 {
49686 _isnanl(0);
49687 ;
49688 return 0;
49689 }
49690 _ACEOF
49691 if ac_fn_cxx_try_compile "$LINENO"; then :
49692 glibcxx_cv_func__isnanl_use=yes
49693 else
49694 glibcxx_cv_func__isnanl_use=no
49695 fi
49696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49697 ac_ext=c
49698 ac_cpp='$CPP $CPPFLAGS'
49699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49702
49703
49704 fi
49705
49706 fi
49707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49708 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49709
49710 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49711 for ac_func in _isnanl
49712 do :
49713 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49714 if test "x$ac_cv_func__isnanl" = x""yes; then :
49715 cat >>confdefs.h <<_ACEOF
49716 #define HAVE__ISNANL 1
49717 _ACEOF
49718
49719 fi
49720 done
49721
49722 fi
49723 fi
49724
49725
49726
49727
49728
49729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49730 $as_echo_n "checking for isinfl declaration... " >&6; }
49731 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49732 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49733 $as_echo_n "(cached) " >&6
49734 else
49735
49736
49737 ac_ext=cpp
49738 ac_cpp='$CXXCPP $CPPFLAGS'
49739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49742
49743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49744 /* end confdefs.h. */
49745 #include <math.h>
49746 #ifdef HAVE_IEEEFP_H
49747 #include <ieeefp.h>
49748 #endif
49749
49750 int
49751 main ()
49752 {
49753 isinfl(0);
49754 ;
49755 return 0;
49756 }
49757 _ACEOF
49758 if ac_fn_cxx_try_compile "$LINENO"; then :
49759 glibcxx_cv_func_isinfl_use=yes
49760 else
49761 glibcxx_cv_func_isinfl_use=no
49762 fi
49763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49764 ac_ext=c
49765 ac_cpp='$CPP $CPPFLAGS'
49766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49769
49770
49771 fi
49772
49773 fi
49774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49775 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49776
49777 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49778 for ac_func in isinfl
49779 do :
49780 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49781 if test "x$ac_cv_func_isinfl" = x""yes; then :
49782 cat >>confdefs.h <<_ACEOF
49783 #define HAVE_ISINFL 1
49784 _ACEOF
49785
49786 fi
49787 done
49788
49789 else
49790
49791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49792 $as_echo_n "checking for _isinfl declaration... " >&6; }
49793 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49794 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49795 $as_echo_n "(cached) " >&6
49796 else
49797
49798
49799 ac_ext=cpp
49800 ac_cpp='$CXXCPP $CPPFLAGS'
49801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49804
49805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49806 /* end confdefs.h. */
49807 #include <math.h>
49808 #ifdef HAVE_IEEEFP_H
49809 #include <ieeefp.h>
49810 #endif
49811
49812 int
49813 main ()
49814 {
49815 _isinfl(0);
49816 ;
49817 return 0;
49818 }
49819 _ACEOF
49820 if ac_fn_cxx_try_compile "$LINENO"; then :
49821 glibcxx_cv_func__isinfl_use=yes
49822 else
49823 glibcxx_cv_func__isinfl_use=no
49824 fi
49825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49826 ac_ext=c
49827 ac_cpp='$CPP $CPPFLAGS'
49828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49831
49832
49833 fi
49834
49835 fi
49836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49837 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49838
49839 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49840 for ac_func in _isinfl
49841 do :
49842 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49843 if test "x$ac_cv_func__isinfl" = x""yes; then :
49844 cat >>confdefs.h <<_ACEOF
49845 #define HAVE__ISINFL 1
49846 _ACEOF
49847
49848 fi
49849 done
49850
49851 fi
49852 fi
49853
49854
49855
49856
49857
49858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49859 $as_echo_n "checking for atan2l declaration... " >&6; }
49860 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49861 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49862 $as_echo_n "(cached) " >&6
49863 else
49864
49865
49866 ac_ext=cpp
49867 ac_cpp='$CXXCPP $CPPFLAGS'
49868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49871
49872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49873 /* end confdefs.h. */
49874 #include <math.h>
49875 int
49876 main ()
49877 {
49878 atan2l(0, 0);
49879 ;
49880 return 0;
49881 }
49882 _ACEOF
49883 if ac_fn_cxx_try_compile "$LINENO"; then :
49884 glibcxx_cv_func_atan2l_use=yes
49885 else
49886 glibcxx_cv_func_atan2l_use=no
49887 fi
49888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49889 ac_ext=c
49890 ac_cpp='$CPP $CPPFLAGS'
49891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49894
49895
49896 fi
49897
49898 fi
49899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49900 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49901
49902 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49903 for ac_func in atan2l
49904 do :
49905 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49906 if test "x$ac_cv_func_atan2l" = x""yes; then :
49907 cat >>confdefs.h <<_ACEOF
49908 #define HAVE_ATAN2L 1
49909 _ACEOF
49910
49911 fi
49912 done
49913
49914 else
49915
49916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49917 $as_echo_n "checking for _atan2l declaration... " >&6; }
49918 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49919 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49920 $as_echo_n "(cached) " >&6
49921 else
49922
49923
49924 ac_ext=cpp
49925 ac_cpp='$CXXCPP $CPPFLAGS'
49926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49929
49930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49931 /* end confdefs.h. */
49932 #include <math.h>
49933 int
49934 main ()
49935 {
49936 _atan2l(0, 0);
49937 ;
49938 return 0;
49939 }
49940 _ACEOF
49941 if ac_fn_cxx_try_compile "$LINENO"; then :
49942 glibcxx_cv_func__atan2l_use=yes
49943 else
49944 glibcxx_cv_func__atan2l_use=no
49945 fi
49946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49947 ac_ext=c
49948 ac_cpp='$CPP $CPPFLAGS'
49949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49952
49953
49954 fi
49955
49956 fi
49957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49958 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49959
49960 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49961 for ac_func in _atan2l
49962 do :
49963 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49964 if test "x$ac_cv_func__atan2l" = x""yes; then :
49965 cat >>confdefs.h <<_ACEOF
49966 #define HAVE__ATAN2L 1
49967 _ACEOF
49968
49969 fi
49970 done
49971
49972 fi
49973 fi
49974
49975
49976
49977
49978
49979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49980 $as_echo_n "checking for expl declaration... " >&6; }
49981 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49982 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49983 $as_echo_n "(cached) " >&6
49984 else
49985
49986
49987 ac_ext=cpp
49988 ac_cpp='$CXXCPP $CPPFLAGS'
49989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49992
49993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49994 /* end confdefs.h. */
49995 #include <math.h>
49996 #ifdef HAVE_IEEEFP_H
49997 #include <ieeefp.h>
49998 #endif
49999
50000 int
50001 main ()
50002 {
50003 expl(0);
50004 ;
50005 return 0;
50006 }
50007 _ACEOF
50008 if ac_fn_cxx_try_compile "$LINENO"; then :
50009 glibcxx_cv_func_expl_use=yes
50010 else
50011 glibcxx_cv_func_expl_use=no
50012 fi
50013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50014 ac_ext=c
50015 ac_cpp='$CPP $CPPFLAGS'
50016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50019
50020
50021 fi
50022
50023 fi
50024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50025 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50026
50027 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50028 for ac_func in expl
50029 do :
50030 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50031 if test "x$ac_cv_func_expl" = x""yes; then :
50032 cat >>confdefs.h <<_ACEOF
50033 #define HAVE_EXPL 1
50034 _ACEOF
50035
50036 fi
50037 done
50038
50039 else
50040
50041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50042 $as_echo_n "checking for _expl declaration... " >&6; }
50043 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50044 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50045 $as_echo_n "(cached) " >&6
50046 else
50047
50048
50049 ac_ext=cpp
50050 ac_cpp='$CXXCPP $CPPFLAGS'
50051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50054
50055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50056 /* end confdefs.h. */
50057 #include <math.h>
50058 #ifdef HAVE_IEEEFP_H
50059 #include <ieeefp.h>
50060 #endif
50061
50062 int
50063 main ()
50064 {
50065 _expl(0);
50066 ;
50067 return 0;
50068 }
50069 _ACEOF
50070 if ac_fn_cxx_try_compile "$LINENO"; then :
50071 glibcxx_cv_func__expl_use=yes
50072 else
50073 glibcxx_cv_func__expl_use=no
50074 fi
50075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50076 ac_ext=c
50077 ac_cpp='$CPP $CPPFLAGS'
50078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50081
50082
50083 fi
50084
50085 fi
50086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50087 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50088
50089 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50090 for ac_func in _expl
50091 do :
50092 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50093 if test "x$ac_cv_func__expl" = x""yes; then :
50094 cat >>confdefs.h <<_ACEOF
50095 #define HAVE__EXPL 1
50096 _ACEOF
50097
50098 fi
50099 done
50100
50101 fi
50102 fi
50103
50104
50105
50106
50107
50108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50109 $as_echo_n "checking for fabsl declaration... " >&6; }
50110 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50111 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50112 $as_echo_n "(cached) " >&6
50113 else
50114
50115
50116 ac_ext=cpp
50117 ac_cpp='$CXXCPP $CPPFLAGS'
50118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50121
50122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50123 /* end confdefs.h. */
50124 #include <math.h>
50125 #ifdef HAVE_IEEEFP_H
50126 #include <ieeefp.h>
50127 #endif
50128
50129 int
50130 main ()
50131 {
50132 fabsl(0);
50133 ;
50134 return 0;
50135 }
50136 _ACEOF
50137 if ac_fn_cxx_try_compile "$LINENO"; then :
50138 glibcxx_cv_func_fabsl_use=yes
50139 else
50140 glibcxx_cv_func_fabsl_use=no
50141 fi
50142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50143 ac_ext=c
50144 ac_cpp='$CPP $CPPFLAGS'
50145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50148
50149
50150 fi
50151
50152 fi
50153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50154 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50155
50156 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50157 for ac_func in fabsl
50158 do :
50159 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50160 if test "x$ac_cv_func_fabsl" = x""yes; then :
50161 cat >>confdefs.h <<_ACEOF
50162 #define HAVE_FABSL 1
50163 _ACEOF
50164
50165 fi
50166 done
50167
50168 else
50169
50170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50171 $as_echo_n "checking for _fabsl declaration... " >&6; }
50172 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50173 if test "${glibcxx_cv_func__fabsl_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 #ifdef HAVE_IEEEFP_H
50188 #include <ieeefp.h>
50189 #endif
50190
50191 int
50192 main ()
50193 {
50194 _fabsl(0);
50195 ;
50196 return 0;
50197 }
50198 _ACEOF
50199 if ac_fn_cxx_try_compile "$LINENO"; then :
50200 glibcxx_cv_func__fabsl_use=yes
50201 else
50202 glibcxx_cv_func__fabsl_use=no
50203 fi
50204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50205 ac_ext=c
50206 ac_cpp='$CPP $CPPFLAGS'
50207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50210
50211
50212 fi
50213
50214 fi
50215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50216 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50217
50218 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50219 for ac_func in _fabsl
50220 do :
50221 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50222 if test "x$ac_cv_func__fabsl" = x""yes; then :
50223 cat >>confdefs.h <<_ACEOF
50224 #define HAVE__FABSL 1
50225 _ACEOF
50226
50227 fi
50228 done
50229
50230 fi
50231 fi
50232
50233
50234
50235
50236
50237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50238 $as_echo_n "checking for fmodl declaration... " >&6; }
50239 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50240 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50241 $as_echo_n "(cached) " >&6
50242 else
50243
50244
50245 ac_ext=cpp
50246 ac_cpp='$CXXCPP $CPPFLAGS'
50247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50250
50251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50252 /* end confdefs.h. */
50253 #include <math.h>
50254 int
50255 main ()
50256 {
50257 fmodl(0, 0);
50258 ;
50259 return 0;
50260 }
50261 _ACEOF
50262 if ac_fn_cxx_try_compile "$LINENO"; then :
50263 glibcxx_cv_func_fmodl_use=yes
50264 else
50265 glibcxx_cv_func_fmodl_use=no
50266 fi
50267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50268 ac_ext=c
50269 ac_cpp='$CPP $CPPFLAGS'
50270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50273
50274
50275 fi
50276
50277 fi
50278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50279 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50280
50281 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50282 for ac_func in fmodl
50283 do :
50284 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50285 if test "x$ac_cv_func_fmodl" = x""yes; then :
50286 cat >>confdefs.h <<_ACEOF
50287 #define HAVE_FMODL 1
50288 _ACEOF
50289
50290 fi
50291 done
50292
50293 else
50294
50295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50296 $as_echo_n "checking for _fmodl declaration... " >&6; }
50297 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50298 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50299 $as_echo_n "(cached) " >&6
50300 else
50301
50302
50303 ac_ext=cpp
50304 ac_cpp='$CXXCPP $CPPFLAGS'
50305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50308
50309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50310 /* end confdefs.h. */
50311 #include <math.h>
50312 int
50313 main ()
50314 {
50315 _fmodl(0, 0);
50316 ;
50317 return 0;
50318 }
50319 _ACEOF
50320 if ac_fn_cxx_try_compile "$LINENO"; then :
50321 glibcxx_cv_func__fmodl_use=yes
50322 else
50323 glibcxx_cv_func__fmodl_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__fmodl_use" >&5
50337 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50338
50339 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50340 for ac_func in _fmodl
50341 do :
50342 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50343 if test "x$ac_cv_func__fmodl" = x""yes; then :
50344 cat >>confdefs.h <<_ACEOF
50345 #define HAVE__FMODL 1
50346 _ACEOF
50347
50348 fi
50349 done
50350
50351 fi
50352 fi
50353
50354
50355
50356
50357
50358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50359 $as_echo_n "checking for frexpl declaration... " >&6; }
50360 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50361 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50362 $as_echo_n "(cached) " >&6
50363 else
50364
50365
50366 ac_ext=cpp
50367 ac_cpp='$CXXCPP $CPPFLAGS'
50368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50371
50372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50373 /* end confdefs.h. */
50374 #include <math.h>
50375 int
50376 main ()
50377 {
50378 frexpl(0, 0);
50379 ;
50380 return 0;
50381 }
50382 _ACEOF
50383 if ac_fn_cxx_try_compile "$LINENO"; then :
50384 glibcxx_cv_func_frexpl_use=yes
50385 else
50386 glibcxx_cv_func_frexpl_use=no
50387 fi
50388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50389 ac_ext=c
50390 ac_cpp='$CPP $CPPFLAGS'
50391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50394
50395
50396 fi
50397
50398 fi
50399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50400 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50401
50402 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50403 for ac_func in frexpl
50404 do :
50405 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50406 if test "x$ac_cv_func_frexpl" = x""yes; then :
50407 cat >>confdefs.h <<_ACEOF
50408 #define HAVE_FREXPL 1
50409 _ACEOF
50410
50411 fi
50412 done
50413
50414 else
50415
50416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50417 $as_echo_n "checking for _frexpl declaration... " >&6; }
50418 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50419 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50420 $as_echo_n "(cached) " >&6
50421 else
50422
50423
50424 ac_ext=cpp
50425 ac_cpp='$CXXCPP $CPPFLAGS'
50426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50429
50430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50431 /* end confdefs.h. */
50432 #include <math.h>
50433 int
50434 main ()
50435 {
50436 _frexpl(0, 0);
50437 ;
50438 return 0;
50439 }
50440 _ACEOF
50441 if ac_fn_cxx_try_compile "$LINENO"; then :
50442 glibcxx_cv_func__frexpl_use=yes
50443 else
50444 glibcxx_cv_func__frexpl_use=no
50445 fi
50446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50447 ac_ext=c
50448 ac_cpp='$CPP $CPPFLAGS'
50449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50452
50453
50454 fi
50455
50456 fi
50457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50458 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50459
50460 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50461 for ac_func in _frexpl
50462 do :
50463 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50464 if test "x$ac_cv_func__frexpl" = x""yes; then :
50465 cat >>confdefs.h <<_ACEOF
50466 #define HAVE__FREXPL 1
50467 _ACEOF
50468
50469 fi
50470 done
50471
50472 fi
50473 fi
50474
50475
50476
50477
50478
50479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50480 $as_echo_n "checking for hypotl declaration... " >&6; }
50481 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50482 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50483 $as_echo_n "(cached) " >&6
50484 else
50485
50486
50487 ac_ext=cpp
50488 ac_cpp='$CXXCPP $CPPFLAGS'
50489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50492
50493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50494 /* end confdefs.h. */
50495 #include <math.h>
50496 int
50497 main ()
50498 {
50499 hypotl(0, 0);
50500 ;
50501 return 0;
50502 }
50503 _ACEOF
50504 if ac_fn_cxx_try_compile "$LINENO"; then :
50505 glibcxx_cv_func_hypotl_use=yes
50506 else
50507 glibcxx_cv_func_hypotl_use=no
50508 fi
50509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50510 ac_ext=c
50511 ac_cpp='$CPP $CPPFLAGS'
50512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50515
50516
50517 fi
50518
50519 fi
50520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50521 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50522
50523 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50524 for ac_func in hypotl
50525 do :
50526 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50527 if test "x$ac_cv_func_hypotl" = x""yes; then :
50528 cat >>confdefs.h <<_ACEOF
50529 #define HAVE_HYPOTL 1
50530 _ACEOF
50531
50532 fi
50533 done
50534
50535 else
50536
50537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50538 $as_echo_n "checking for _hypotl declaration... " >&6; }
50539 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50540 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50541 $as_echo_n "(cached) " >&6
50542 else
50543
50544
50545 ac_ext=cpp
50546 ac_cpp='$CXXCPP $CPPFLAGS'
50547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50550
50551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50552 /* end confdefs.h. */
50553 #include <math.h>
50554 int
50555 main ()
50556 {
50557 _hypotl(0, 0);
50558 ;
50559 return 0;
50560 }
50561 _ACEOF
50562 if ac_fn_cxx_try_compile "$LINENO"; then :
50563 glibcxx_cv_func__hypotl_use=yes
50564 else
50565 glibcxx_cv_func__hypotl_use=no
50566 fi
50567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50568 ac_ext=c
50569 ac_cpp='$CPP $CPPFLAGS'
50570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50573
50574
50575 fi
50576
50577 fi
50578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50579 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50580
50581 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50582 for ac_func in _hypotl
50583 do :
50584 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50585 if test "x$ac_cv_func__hypotl" = x""yes; then :
50586 cat >>confdefs.h <<_ACEOF
50587 #define HAVE__HYPOTL 1
50588 _ACEOF
50589
50590 fi
50591 done
50592
50593 fi
50594 fi
50595
50596
50597
50598
50599
50600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50601 $as_echo_n "checking for ldexpl declaration... " >&6; }
50602 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50603 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50604 $as_echo_n "(cached) " >&6
50605 else
50606
50607
50608 ac_ext=cpp
50609 ac_cpp='$CXXCPP $CPPFLAGS'
50610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50613
50614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50615 /* end confdefs.h. */
50616 #include <math.h>
50617 int
50618 main ()
50619 {
50620 ldexpl(0, 0);
50621 ;
50622 return 0;
50623 }
50624 _ACEOF
50625 if ac_fn_cxx_try_compile "$LINENO"; then :
50626 glibcxx_cv_func_ldexpl_use=yes
50627 else
50628 glibcxx_cv_func_ldexpl_use=no
50629 fi
50630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50631 ac_ext=c
50632 ac_cpp='$CPP $CPPFLAGS'
50633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50636
50637
50638 fi
50639
50640 fi
50641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50642 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50643
50644 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50645 for ac_func in ldexpl
50646 do :
50647 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50648 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50649 cat >>confdefs.h <<_ACEOF
50650 #define HAVE_LDEXPL 1
50651 _ACEOF
50652
50653 fi
50654 done
50655
50656 else
50657
50658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50659 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50660 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50661 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50662 $as_echo_n "(cached) " >&6
50663 else
50664
50665
50666 ac_ext=cpp
50667 ac_cpp='$CXXCPP $CPPFLAGS'
50668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50671
50672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50673 /* end confdefs.h. */
50674 #include <math.h>
50675 int
50676 main ()
50677 {
50678 _ldexpl(0, 0);
50679 ;
50680 return 0;
50681 }
50682 _ACEOF
50683 if ac_fn_cxx_try_compile "$LINENO"; then :
50684 glibcxx_cv_func__ldexpl_use=yes
50685 else
50686 glibcxx_cv_func__ldexpl_use=no
50687 fi
50688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50689 ac_ext=c
50690 ac_cpp='$CPP $CPPFLAGS'
50691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50694
50695
50696 fi
50697
50698 fi
50699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50700 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50701
50702 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50703 for ac_func in _ldexpl
50704 do :
50705 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50706 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50707 cat >>confdefs.h <<_ACEOF
50708 #define HAVE__LDEXPL 1
50709 _ACEOF
50710
50711 fi
50712 done
50713
50714 fi
50715 fi
50716
50717
50718
50719
50720
50721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50722 $as_echo_n "checking for logl declaration... " >&6; }
50723 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50724 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50725 $as_echo_n "(cached) " >&6
50726 else
50727
50728
50729 ac_ext=cpp
50730 ac_cpp='$CXXCPP $CPPFLAGS'
50731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50734
50735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50736 /* end confdefs.h. */
50737 #include <math.h>
50738 #ifdef HAVE_IEEEFP_H
50739 #include <ieeefp.h>
50740 #endif
50741
50742 int
50743 main ()
50744 {
50745 logl(0);
50746 ;
50747 return 0;
50748 }
50749 _ACEOF
50750 if ac_fn_cxx_try_compile "$LINENO"; then :
50751 glibcxx_cv_func_logl_use=yes
50752 else
50753 glibcxx_cv_func_logl_use=no
50754 fi
50755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50756 ac_ext=c
50757 ac_cpp='$CPP $CPPFLAGS'
50758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50761
50762
50763 fi
50764
50765 fi
50766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50767 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50768
50769 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50770 for ac_func in logl
50771 do :
50772 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50773 if test "x$ac_cv_func_logl" = x""yes; then :
50774 cat >>confdefs.h <<_ACEOF
50775 #define HAVE_LOGL 1
50776 _ACEOF
50777
50778 fi
50779 done
50780
50781 else
50782
50783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50784 $as_echo_n "checking for _logl declaration... " >&6; }
50785 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50786 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50787 $as_echo_n "(cached) " >&6
50788 else
50789
50790
50791 ac_ext=cpp
50792 ac_cpp='$CXXCPP $CPPFLAGS'
50793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50796
50797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50798 /* end confdefs.h. */
50799 #include <math.h>
50800 #ifdef HAVE_IEEEFP_H
50801 #include <ieeefp.h>
50802 #endif
50803
50804 int
50805 main ()
50806 {
50807 _logl(0);
50808 ;
50809 return 0;
50810 }
50811 _ACEOF
50812 if ac_fn_cxx_try_compile "$LINENO"; then :
50813 glibcxx_cv_func__logl_use=yes
50814 else
50815 glibcxx_cv_func__logl_use=no
50816 fi
50817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50818 ac_ext=c
50819 ac_cpp='$CPP $CPPFLAGS'
50820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50823
50824
50825 fi
50826
50827 fi
50828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50829 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50830
50831 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50832 for ac_func in _logl
50833 do :
50834 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50835 if test "x$ac_cv_func__logl" = x""yes; then :
50836 cat >>confdefs.h <<_ACEOF
50837 #define HAVE__LOGL 1
50838 _ACEOF
50839
50840 fi
50841 done
50842
50843 fi
50844 fi
50845
50846
50847
50848
50849
50850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50851 $as_echo_n "checking for log10l declaration... " >&6; }
50852 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50853 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50854 $as_echo_n "(cached) " >&6
50855 else
50856
50857
50858 ac_ext=cpp
50859 ac_cpp='$CXXCPP $CPPFLAGS'
50860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50863
50864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50865 /* end confdefs.h. */
50866 #include <math.h>
50867 #ifdef HAVE_IEEEFP_H
50868 #include <ieeefp.h>
50869 #endif
50870
50871 int
50872 main ()
50873 {
50874 log10l(0);
50875 ;
50876 return 0;
50877 }
50878 _ACEOF
50879 if ac_fn_cxx_try_compile "$LINENO"; then :
50880 glibcxx_cv_func_log10l_use=yes
50881 else
50882 glibcxx_cv_func_log10l_use=no
50883 fi
50884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50885 ac_ext=c
50886 ac_cpp='$CPP $CPPFLAGS'
50887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50890
50891
50892 fi
50893
50894 fi
50895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50896 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50897
50898 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50899 for ac_func in log10l
50900 do :
50901 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50902 if test "x$ac_cv_func_log10l" = x""yes; then :
50903 cat >>confdefs.h <<_ACEOF
50904 #define HAVE_LOG10L 1
50905 _ACEOF
50906
50907 fi
50908 done
50909
50910 else
50911
50912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50913 $as_echo_n "checking for _log10l declaration... " >&6; }
50914 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50915 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50916 $as_echo_n "(cached) " >&6
50917 else
50918
50919
50920 ac_ext=cpp
50921 ac_cpp='$CXXCPP $CPPFLAGS'
50922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50925
50926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50927 /* end confdefs.h. */
50928 #include <math.h>
50929 #ifdef HAVE_IEEEFP_H
50930 #include <ieeefp.h>
50931 #endif
50932
50933 int
50934 main ()
50935 {
50936 _log10l(0);
50937 ;
50938 return 0;
50939 }
50940 _ACEOF
50941 if ac_fn_cxx_try_compile "$LINENO"; then :
50942 glibcxx_cv_func__log10l_use=yes
50943 else
50944 glibcxx_cv_func__log10l_use=no
50945 fi
50946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50947 ac_ext=c
50948 ac_cpp='$CPP $CPPFLAGS'
50949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50952
50953
50954 fi
50955
50956 fi
50957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50958 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50959
50960 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50961 for ac_func in _log10l
50962 do :
50963 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50964 if test "x$ac_cv_func__log10l" = x""yes; then :
50965 cat >>confdefs.h <<_ACEOF
50966 #define HAVE__LOG10L 1
50967 _ACEOF
50968
50969 fi
50970 done
50971
50972 fi
50973 fi
50974
50975
50976
50977
50978
50979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50980 $as_echo_n "checking for modfl declaration... " >&6; }
50981 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50982 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50983 $as_echo_n "(cached) " >&6
50984 else
50985
50986
50987 ac_ext=cpp
50988 ac_cpp='$CXXCPP $CPPFLAGS'
50989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50992
50993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50994 /* end confdefs.h. */
50995 #include <math.h>
50996 int
50997 main ()
50998 {
50999 modfl(0, 0);
51000 ;
51001 return 0;
51002 }
51003 _ACEOF
51004 if ac_fn_cxx_try_compile "$LINENO"; then :
51005 glibcxx_cv_func_modfl_use=yes
51006 else
51007 glibcxx_cv_func_modfl_use=no
51008 fi
51009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51010 ac_ext=c
51011 ac_cpp='$CPP $CPPFLAGS'
51012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51015
51016
51017 fi
51018
51019 fi
51020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51021 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51022
51023 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51024 for ac_func in modfl
51025 do :
51026 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51027 if test "x$ac_cv_func_modfl" = x""yes; then :
51028 cat >>confdefs.h <<_ACEOF
51029 #define HAVE_MODFL 1
51030 _ACEOF
51031
51032 fi
51033 done
51034
51035 else
51036
51037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51038 $as_echo_n "checking for _modfl declaration... " >&6; }
51039 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51040 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51041 $as_echo_n "(cached) " >&6
51042 else
51043
51044
51045 ac_ext=cpp
51046 ac_cpp='$CXXCPP $CPPFLAGS'
51047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51050
51051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51052 /* end confdefs.h. */
51053 #include <math.h>
51054 int
51055 main ()
51056 {
51057 _modfl(0, 0);
51058 ;
51059 return 0;
51060 }
51061 _ACEOF
51062 if ac_fn_cxx_try_compile "$LINENO"; then :
51063 glibcxx_cv_func__modfl_use=yes
51064 else
51065 glibcxx_cv_func__modfl_use=no
51066 fi
51067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51068 ac_ext=c
51069 ac_cpp='$CPP $CPPFLAGS'
51070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51073
51074
51075 fi
51076
51077 fi
51078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51079 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51080
51081 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51082 for ac_func in _modfl
51083 do :
51084 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51085 if test "x$ac_cv_func__modfl" = x""yes; then :
51086 cat >>confdefs.h <<_ACEOF
51087 #define HAVE__MODFL 1
51088 _ACEOF
51089
51090 fi
51091 done
51092
51093 fi
51094 fi
51095
51096
51097
51098
51099
51100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51101 $as_echo_n "checking for powl declaration... " >&6; }
51102 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51103 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51104 $as_echo_n "(cached) " >&6
51105 else
51106
51107
51108 ac_ext=cpp
51109 ac_cpp='$CXXCPP $CPPFLAGS'
51110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51113
51114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51115 /* end confdefs.h. */
51116 #include <math.h>
51117 int
51118 main ()
51119 {
51120 powl(0, 0);
51121 ;
51122 return 0;
51123 }
51124 _ACEOF
51125 if ac_fn_cxx_try_compile "$LINENO"; then :
51126 glibcxx_cv_func_powl_use=yes
51127 else
51128 glibcxx_cv_func_powl_use=no
51129 fi
51130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51131 ac_ext=c
51132 ac_cpp='$CPP $CPPFLAGS'
51133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51136
51137
51138 fi
51139
51140 fi
51141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51142 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51143
51144 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51145 for ac_func in powl
51146 do :
51147 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51148 if test "x$ac_cv_func_powl" = x""yes; then :
51149 cat >>confdefs.h <<_ACEOF
51150 #define HAVE_POWL 1
51151 _ACEOF
51152
51153 fi
51154 done
51155
51156 else
51157
51158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51159 $as_echo_n "checking for _powl declaration... " >&6; }
51160 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51161 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51162 $as_echo_n "(cached) " >&6
51163 else
51164
51165
51166 ac_ext=cpp
51167 ac_cpp='$CXXCPP $CPPFLAGS'
51168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51171
51172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51173 /* end confdefs.h. */
51174 #include <math.h>
51175 int
51176 main ()
51177 {
51178 _powl(0, 0);
51179 ;
51180 return 0;
51181 }
51182 _ACEOF
51183 if ac_fn_cxx_try_compile "$LINENO"; then :
51184 glibcxx_cv_func__powl_use=yes
51185 else
51186 glibcxx_cv_func__powl_use=no
51187 fi
51188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51189 ac_ext=c
51190 ac_cpp='$CPP $CPPFLAGS'
51191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51194
51195
51196 fi
51197
51198 fi
51199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51200 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51201
51202 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51203 for ac_func in _powl
51204 do :
51205 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51206 if test "x$ac_cv_func__powl" = x""yes; then :
51207 cat >>confdefs.h <<_ACEOF
51208 #define HAVE__POWL 1
51209 _ACEOF
51210
51211 fi
51212 done
51213
51214 fi
51215 fi
51216
51217
51218
51219
51220
51221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51222 $as_echo_n "checking for sqrtl declaration... " >&6; }
51223 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51224 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51225 $as_echo_n "(cached) " >&6
51226 else
51227
51228
51229 ac_ext=cpp
51230 ac_cpp='$CXXCPP $CPPFLAGS'
51231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51234
51235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51236 /* end confdefs.h. */
51237 #include <math.h>
51238 #ifdef HAVE_IEEEFP_H
51239 #include <ieeefp.h>
51240 #endif
51241
51242 int
51243 main ()
51244 {
51245 sqrtl(0);
51246 ;
51247 return 0;
51248 }
51249 _ACEOF
51250 if ac_fn_cxx_try_compile "$LINENO"; then :
51251 glibcxx_cv_func_sqrtl_use=yes
51252 else
51253 glibcxx_cv_func_sqrtl_use=no
51254 fi
51255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51256 ac_ext=c
51257 ac_cpp='$CPP $CPPFLAGS'
51258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51261
51262
51263 fi
51264
51265 fi
51266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51267 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51268
51269 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51270 for ac_func in sqrtl
51271 do :
51272 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51273 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51274 cat >>confdefs.h <<_ACEOF
51275 #define HAVE_SQRTL 1
51276 _ACEOF
51277
51278 fi
51279 done
51280
51281 else
51282
51283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51284 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51285 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51286 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51287 $as_echo_n "(cached) " >&6
51288 else
51289
51290
51291 ac_ext=cpp
51292 ac_cpp='$CXXCPP $CPPFLAGS'
51293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51296
51297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51298 /* end confdefs.h. */
51299 #include <math.h>
51300 #ifdef HAVE_IEEEFP_H
51301 #include <ieeefp.h>
51302 #endif
51303
51304 int
51305 main ()
51306 {
51307 _sqrtl(0);
51308 ;
51309 return 0;
51310 }
51311 _ACEOF
51312 if ac_fn_cxx_try_compile "$LINENO"; then :
51313 glibcxx_cv_func__sqrtl_use=yes
51314 else
51315 glibcxx_cv_func__sqrtl_use=no
51316 fi
51317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51318 ac_ext=c
51319 ac_cpp='$CPP $CPPFLAGS'
51320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51323
51324
51325 fi
51326
51327 fi
51328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51329 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51330
51331 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51332 for ac_func in _sqrtl
51333 do :
51334 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51335 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51336 cat >>confdefs.h <<_ACEOF
51337 #define HAVE__SQRTL 1
51338 _ACEOF
51339
51340 fi
51341 done
51342
51343 fi
51344 fi
51345
51346
51347
51348
51349
51350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51351 $as_echo_n "checking for sincosl declaration... " >&6; }
51352 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51353 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51354 $as_echo_n "(cached) " >&6
51355 else
51356
51357
51358 ac_ext=cpp
51359 ac_cpp='$CXXCPP $CPPFLAGS'
51360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51363
51364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51365 /* end confdefs.h. */
51366 #include <math.h>
51367 int
51368 main ()
51369 {
51370 sincosl(0, 0, 0);
51371 ;
51372 return 0;
51373 }
51374 _ACEOF
51375 if ac_fn_cxx_try_compile "$LINENO"; then :
51376 glibcxx_cv_func_sincosl_use=yes
51377 else
51378 glibcxx_cv_func_sincosl_use=no
51379 fi
51380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51381 ac_ext=c
51382 ac_cpp='$CPP $CPPFLAGS'
51383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51386
51387
51388 fi
51389
51390 fi
51391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51392 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51393
51394 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51395 for ac_func in sincosl
51396 do :
51397 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51398 if test "x$ac_cv_func_sincosl" = x""yes; then :
51399 cat >>confdefs.h <<_ACEOF
51400 #define HAVE_SINCOSL 1
51401 _ACEOF
51402
51403 fi
51404 done
51405
51406 else
51407
51408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51409 $as_echo_n "checking for _sincosl declaration... " >&6; }
51410 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51411 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51412 $as_echo_n "(cached) " >&6
51413 else
51414
51415
51416 ac_ext=cpp
51417 ac_cpp='$CXXCPP $CPPFLAGS'
51418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51421
51422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51423 /* end confdefs.h. */
51424 #include <math.h>
51425 int
51426 main ()
51427 {
51428 _sincosl(0, 0, 0);
51429 ;
51430 return 0;
51431 }
51432 _ACEOF
51433 if ac_fn_cxx_try_compile "$LINENO"; then :
51434 glibcxx_cv_func__sincosl_use=yes
51435 else
51436 glibcxx_cv_func__sincosl_use=no
51437 fi
51438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51439 ac_ext=c
51440 ac_cpp='$CPP $CPPFLAGS'
51441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51444
51445
51446 fi
51447
51448 fi
51449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51450 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51451
51452 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51453 for ac_func in _sincosl
51454 do :
51455 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51456 if test "x$ac_cv_func__sincosl" = x""yes; then :
51457 cat >>confdefs.h <<_ACEOF
51458 #define HAVE__SINCOSL 1
51459 _ACEOF
51460
51461 fi
51462 done
51463
51464 fi
51465 fi
51466
51467
51468
51469
51470
51471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51472 $as_echo_n "checking for finitel declaration... " >&6; }
51473 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51474 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51475 $as_echo_n "(cached) " >&6
51476 else
51477
51478
51479 ac_ext=cpp
51480 ac_cpp='$CXXCPP $CPPFLAGS'
51481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51484
51485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51486 /* end confdefs.h. */
51487 #include <math.h>
51488 #ifdef HAVE_IEEEFP_H
51489 #include <ieeefp.h>
51490 #endif
51491
51492 int
51493 main ()
51494 {
51495 finitel(0);
51496 ;
51497 return 0;
51498 }
51499 _ACEOF
51500 if ac_fn_cxx_try_compile "$LINENO"; then :
51501 glibcxx_cv_func_finitel_use=yes
51502 else
51503 glibcxx_cv_func_finitel_use=no
51504 fi
51505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51506 ac_ext=c
51507 ac_cpp='$CPP $CPPFLAGS'
51508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51511
51512
51513 fi
51514
51515 fi
51516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51517 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51518
51519 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51520 for ac_func in finitel
51521 do :
51522 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51523 if test "x$ac_cv_func_finitel" = x""yes; then :
51524 cat >>confdefs.h <<_ACEOF
51525 #define HAVE_FINITEL 1
51526 _ACEOF
51527
51528 fi
51529 done
51530
51531 else
51532
51533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51534 $as_echo_n "checking for _finitel declaration... " >&6; }
51535 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51536 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51537 $as_echo_n "(cached) " >&6
51538 else
51539
51540
51541 ac_ext=cpp
51542 ac_cpp='$CXXCPP $CPPFLAGS'
51543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51546
51547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51548 /* end confdefs.h. */
51549 #include <math.h>
51550 #ifdef HAVE_IEEEFP_H
51551 #include <ieeefp.h>
51552 #endif
51553
51554 int
51555 main ()
51556 {
51557 _finitel(0);
51558 ;
51559 return 0;
51560 }
51561 _ACEOF
51562 if ac_fn_cxx_try_compile "$LINENO"; then :
51563 glibcxx_cv_func__finitel_use=yes
51564 else
51565 glibcxx_cv_func__finitel_use=no
51566 fi
51567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51568 ac_ext=c
51569 ac_cpp='$CPP $CPPFLAGS'
51570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51573
51574
51575 fi
51576
51577 fi
51578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51579 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51580
51581 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51582 for ac_func in _finitel
51583 do :
51584 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51585 if test "x$ac_cv_func__finitel" = x""yes; then :
51586 cat >>confdefs.h <<_ACEOF
51587 #define HAVE__FINITEL 1
51588 _ACEOF
51589
51590 fi
51591 done
51592
51593 fi
51594 fi
51595
51596
51597
51598
51599 LIBS="$ac_save_LIBS"
51600 CXXFLAGS="$ac_save_CXXFLAGS"
51601
51602
51603 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51604 ac_save_CXXFLAGS="$CXXFLAGS"
51605 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51606
51607
51608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51609 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51610 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51611 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51612 $as_echo_n "(cached) " >&6
51613 else
51614
51615
51616 ac_ext=cpp
51617 ac_cpp='$CXXCPP $CPPFLAGS'
51618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51621
51622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51623 /* end confdefs.h. */
51624 #include <stdlib.h>
51625 int
51626 main ()
51627 {
51628 at_quick_exit(0);
51629 ;
51630 return 0;
51631 }
51632 _ACEOF
51633 if ac_fn_cxx_try_compile "$LINENO"; then :
51634 glibcxx_cv_func_at_quick_exit_use=yes
51635 else
51636 glibcxx_cv_func_at_quick_exit_use=no
51637 fi
51638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51639 ac_ext=c
51640 ac_cpp='$CPP $CPPFLAGS'
51641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51644
51645
51646 fi
51647
51648 fi
51649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51650 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51651 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51652 for ac_func in at_quick_exit
51653 do :
51654 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51655 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51656 cat >>confdefs.h <<_ACEOF
51657 #define HAVE_AT_QUICK_EXIT 1
51658 _ACEOF
51659
51660 fi
51661 done
51662
51663 fi
51664
51665
51666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51667 $as_echo_n "checking for quick_exit declaration... " >&6; }
51668 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51669 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51670 $as_echo_n "(cached) " >&6
51671 else
51672
51673
51674 ac_ext=cpp
51675 ac_cpp='$CXXCPP $CPPFLAGS'
51676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51679
51680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51681 /* end confdefs.h. */
51682 #include <stdlib.h>
51683 int
51684 main ()
51685 {
51686 quick_exit(0);
51687 ;
51688 return 0;
51689 }
51690 _ACEOF
51691 if ac_fn_cxx_try_compile "$LINENO"; then :
51692 glibcxx_cv_func_quick_exit_use=yes
51693 else
51694 glibcxx_cv_func_quick_exit_use=no
51695 fi
51696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51697 ac_ext=c
51698 ac_cpp='$CPP $CPPFLAGS'
51699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51702
51703
51704 fi
51705
51706 fi
51707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51708 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51709 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51710 for ac_func in quick_exit
51711 do :
51712 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51713 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51714 cat >>confdefs.h <<_ACEOF
51715 #define HAVE_QUICK_EXIT 1
51716 _ACEOF
51717
51718 fi
51719 done
51720
51721 fi
51722
51723
51724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51725 $as_echo_n "checking for strtold declaration... " >&6; }
51726 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51727 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51728 $as_echo_n "(cached) " >&6
51729 else
51730
51731
51732 ac_ext=cpp
51733 ac_cpp='$CXXCPP $CPPFLAGS'
51734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51737
51738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51739 /* end confdefs.h. */
51740 #include <stdlib.h>
51741 int
51742 main ()
51743 {
51744 strtold(0, 0);
51745 ;
51746 return 0;
51747 }
51748 _ACEOF
51749 if ac_fn_cxx_try_compile "$LINENO"; then :
51750 glibcxx_cv_func_strtold_use=yes
51751 else
51752 glibcxx_cv_func_strtold_use=no
51753 fi
51754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51755 ac_ext=c
51756 ac_cpp='$CPP $CPPFLAGS'
51757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51760
51761
51762 fi
51763
51764 fi
51765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51766 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51767 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51768 for ac_func in strtold
51769 do :
51770 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51771 if test "x$ac_cv_func_strtold" = x""yes; then :
51772 cat >>confdefs.h <<_ACEOF
51773 #define HAVE_STRTOLD 1
51774 _ACEOF
51775
51776 fi
51777 done
51778
51779 fi
51780
51781
51782
51783
51784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51785 $as_echo_n "checking for strtof declaration... " >&6; }
51786 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51787 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51788 $as_echo_n "(cached) " >&6
51789 else
51790
51791
51792 ac_ext=cpp
51793 ac_cpp='$CXXCPP $CPPFLAGS'
51794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51797
51798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51799 /* end confdefs.h. */
51800 #include <stdlib.h>
51801 int
51802 main ()
51803 {
51804 strtof(0, 0);
51805 ;
51806 return 0;
51807 }
51808 _ACEOF
51809 if ac_fn_cxx_try_compile "$LINENO"; then :
51810 glibcxx_cv_func_strtof_use=yes
51811 else
51812 glibcxx_cv_func_strtof_use=no
51813 fi
51814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51815 ac_ext=c
51816 ac_cpp='$CPP $CPPFLAGS'
51817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51820
51821
51822 fi
51823
51824 fi
51825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51826 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51827 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51828 for ac_func in strtof
51829 do :
51830 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51831 if test "x$ac_cv_func_strtof" = x""yes; then :
51832 cat >>confdefs.h <<_ACEOF
51833 #define HAVE_STRTOF 1
51834 _ACEOF
51835
51836 fi
51837 done
51838
51839 fi
51840
51841
51842
51843
51844 CXXFLAGS="$ac_save_CXXFLAGS"
51845
51846 ;;
51847
51848 *djgpp)
51849 # GLIBCXX_CHECK_MATH_SUPPORT
51850 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51851
51852 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51853
51854 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51855
51856 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51857
51858 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51859
51860 ;;
51861
51862 *-freebsd*)
51863 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51864
51865
51866 # If we're not using GNU ld, then there's no point in even trying these
51867 # tests. Check for that first. We should have already tested for gld
51868 # by now (in libtool), but require it now just to be safe...
51869 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51870 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51871
51872
51873
51874 # The name set by libtool depends on the version of libtool. Shame on us
51875 # for depending on an impl detail, but c'est la vie. Older versions used
51876 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51877 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51878 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51879 # set (hence we're using an older libtool), then set it.
51880 if test x${with_gnu_ld+set} != xset; then
51881 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51882 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51883 with_gnu_ld=no
51884 else
51885 with_gnu_ld=$ac_cv_prog_gnu_ld
51886 fi
51887 fi
51888
51889 # Start by getting the version number. I think the libtool test already
51890 # does some of this, but throws away the result.
51891 glibcxx_ld_is_gold=no
51892 if test x"$with_gnu_ld" = x"yes"; then
51893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51894 $as_echo_n "checking for ld version... " >&6; }
51895
51896 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51897 glibcxx_ld_is_gold=yes
51898 fi
51899 ldver=`$LD --version 2>/dev/null |
51900 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'`
51901
51902 glibcxx_gnu_ld_version=`echo $ldver | \
51903 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51905 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51906 fi
51907
51908 # Set --gc-sections.
51909 glibcxx_have_gc_sections=no
51910 if test "$glibcxx_ld_is_gold" = "yes"; then
51911 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51912 glibcxx_have_gc_sections=yes
51913 fi
51914 else
51915 glibcxx_gcsections_min_ld=21602
51916 if test x"$with_gnu_ld" = x"yes" &&
51917 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51918 glibcxx_have_gc_sections=yes
51919 fi
51920 fi
51921 if test "$glibcxx_have_gc_sections" = "yes"; then
51922 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51923 # NB: This flag only works reliably after 2.16.1. Configure tests
51924 # for this are difficult, so hard wire a value that should work.
51925
51926 ac_test_CFLAGS="${CFLAGS+set}"
51927 ac_save_CFLAGS="$CFLAGS"
51928 CFLAGS='-Wl,--gc-sections'
51929
51930 # Check for -Wl,--gc-sections
51931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51932 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51933 if test x$gcc_no_link = xyes; then
51934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51935 fi
51936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51937 /* end confdefs.h. */
51938 int one(void) { return 1; }
51939 int two(void) { return 2; }
51940
51941 int
51942 main ()
51943 {
51944 two();
51945 ;
51946 return 0;
51947 }
51948 _ACEOF
51949 if ac_fn_c_try_link "$LINENO"; then :
51950 ac_gcsections=yes
51951 else
51952 ac_gcsections=no
51953 fi
51954 rm -f core conftest.err conftest.$ac_objext \
51955 conftest$ac_exeext conftest.$ac_ext
51956 if test "$ac_gcsections" = "yes"; then
51957 rm -f conftest.c
51958 touch conftest.c
51959 if $CC -c conftest.c; then
51960 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51961 grep "Warning: gc-sections option ignored" > /dev/null; then
51962 ac_gcsections=no
51963 fi
51964 fi
51965 rm -f conftest.c conftest.o conftest
51966 fi
51967 if test "$ac_gcsections" = "yes"; then
51968 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51969 fi
51970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51971 $as_echo "$ac_gcsections" >&6; }
51972
51973 if test "$ac_test_CFLAGS" = set; then
51974 CFLAGS="$ac_save_CFLAGS"
51975 else
51976 # this is the suspicious part
51977 CFLAGS=''
51978 fi
51979 fi
51980
51981 # Set -z,relro.
51982 # Note this is only for shared objects.
51983 ac_ld_relro=no
51984 if test x"$with_gnu_ld" = x"yes"; then
51985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51986 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51987 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51988 if test -n "$cxx_z_relo"; then
51989 OPT_LDFLAGS="-Wl,-z,relro"
51990 ac_ld_relro=yes
51991 fi
51992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51993 $as_echo "$ac_ld_relro" >&6; }
51994 fi
51995
51996 # Set linker optimization flags.
51997 if test x"$with_gnu_ld" = x"yes"; then
51998 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
51999 fi
52000
52001
52002
52003
52004 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52005
52006 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52007
52008 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52009
52010 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52011
52012 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52013
52014 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52015
52016 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52017
52018 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52019
52020 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52021
52022
52023 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52024
52025 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52026
52027 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52028
52029 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52030
52031 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52032
52033 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52034
52035 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52036
52037 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52038
52039 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52040
52041 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52042
52043 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52044
52045 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52046
52047 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52048
52049 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52050
52051 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52052
52053 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52054
52055 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52056
52057 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52058
52059 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52060
52061 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52062
52063 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52064
52065 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52066
52067 if test x"long_double_math_on_this_cpu" = x"yes"; then
52068 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52069
52070 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52071
52072 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52073
52074 fi
52075 ;;
52076 *-hpux*)
52077 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52078
52079
52080 # If we're not using GNU ld, then there's no point in even trying these
52081 # tests. Check for that first. We should have already tested for gld
52082 # by now (in libtool), but require it now just to be safe...
52083 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52084 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52085
52086
52087
52088 # The name set by libtool depends on the version of libtool. Shame on us
52089 # for depending on an impl detail, but c'est la vie. Older versions used
52090 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52091 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52092 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52093 # set (hence we're using an older libtool), then set it.
52094 if test x${with_gnu_ld+set} != xset; then
52095 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52096 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52097 with_gnu_ld=no
52098 else
52099 with_gnu_ld=$ac_cv_prog_gnu_ld
52100 fi
52101 fi
52102
52103 # Start by getting the version number. I think the libtool test already
52104 # does some of this, but throws away the result.
52105 glibcxx_ld_is_gold=no
52106 if test x"$with_gnu_ld" = x"yes"; then
52107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52108 $as_echo_n "checking for ld version... " >&6; }
52109
52110 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52111 glibcxx_ld_is_gold=yes
52112 fi
52113 ldver=`$LD --version 2>/dev/null |
52114 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'`
52115
52116 glibcxx_gnu_ld_version=`echo $ldver | \
52117 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52119 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52120 fi
52121
52122 # Set --gc-sections.
52123 glibcxx_have_gc_sections=no
52124 if test "$glibcxx_ld_is_gold" = "yes"; then
52125 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52126 glibcxx_have_gc_sections=yes
52127 fi
52128 else
52129 glibcxx_gcsections_min_ld=21602
52130 if test x"$with_gnu_ld" = x"yes" &&
52131 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52132 glibcxx_have_gc_sections=yes
52133 fi
52134 fi
52135 if test "$glibcxx_have_gc_sections" = "yes"; then
52136 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52137 # NB: This flag only works reliably after 2.16.1. Configure tests
52138 # for this are difficult, so hard wire a value that should work.
52139
52140 ac_test_CFLAGS="${CFLAGS+set}"
52141 ac_save_CFLAGS="$CFLAGS"
52142 CFLAGS='-Wl,--gc-sections'
52143
52144 # Check for -Wl,--gc-sections
52145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52146 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52147 if test x$gcc_no_link = xyes; then
52148 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52149 fi
52150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52151 /* end confdefs.h. */
52152 int one(void) { return 1; }
52153 int two(void) { return 2; }
52154
52155 int
52156 main ()
52157 {
52158 two();
52159 ;
52160 return 0;
52161 }
52162 _ACEOF
52163 if ac_fn_c_try_link "$LINENO"; then :
52164 ac_gcsections=yes
52165 else
52166 ac_gcsections=no
52167 fi
52168 rm -f core conftest.err conftest.$ac_objext \
52169 conftest$ac_exeext conftest.$ac_ext
52170 if test "$ac_gcsections" = "yes"; then
52171 rm -f conftest.c
52172 touch conftest.c
52173 if $CC -c conftest.c; then
52174 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52175 grep "Warning: gc-sections option ignored" > /dev/null; then
52176 ac_gcsections=no
52177 fi
52178 fi
52179 rm -f conftest.c conftest.o conftest
52180 fi
52181 if test "$ac_gcsections" = "yes"; then
52182 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52183 fi
52184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52185 $as_echo "$ac_gcsections" >&6; }
52186
52187 if test "$ac_test_CFLAGS" = set; then
52188 CFLAGS="$ac_save_CFLAGS"
52189 else
52190 # this is the suspicious part
52191 CFLAGS=''
52192 fi
52193 fi
52194
52195 # Set -z,relro.
52196 # Note this is only for shared objects.
52197 ac_ld_relro=no
52198 if test x"$with_gnu_ld" = x"yes"; then
52199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52200 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52201 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52202 if test -n "$cxx_z_relo"; then
52203 OPT_LDFLAGS="-Wl,-z,relro"
52204 ac_ld_relro=yes
52205 fi
52206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52207 $as_echo "$ac_ld_relro" >&6; }
52208 fi
52209
52210 # Set linker optimization flags.
52211 if test x"$with_gnu_ld" = x"yes"; then
52212 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52213 fi
52214
52215
52216
52217
52218
52219 # GLIBCXX_CHECK_MATH_SUPPORT
52220 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52221
52222 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52223
52224 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52225
52226 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52227
52228 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52229
52230 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52231
52232 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52233
52234 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52235
52236 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52237
52238 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52239
52240 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52241
52242 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52243
52244 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52245
52246 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52247
52248 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52249
52250 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52251
52252 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52253
52254 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52255
52256 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52257
52258 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52259
52260 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52261
52262
52263 # GLIBCXX_CHECK_STDLIB_SUPPORT
52264 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52265
52266
52267
52268
52269 # Check whether --enable-tls was given.
52270 if test "${enable_tls+set}" = set; then :
52271 enableval=$enable_tls;
52272 case "$enableval" in
52273 yes|no) ;;
52274 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52275 esac
52276
52277 else
52278 enable_tls=yes
52279 fi
52280
52281
52282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52283 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52284 if test "${gcc_cv_have_tls+set}" = set; then :
52285 $as_echo_n "(cached) " >&6
52286 else
52287
52288 if test "$cross_compiling" = yes; then :
52289 if test x$gcc_no_link = xyes; then
52290 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52291 fi
52292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52293 /* end confdefs.h. */
52294 __thread int a; int b; int main() { return a = b; }
52295 _ACEOF
52296 if ac_fn_c_try_link "$LINENO"; then :
52297 chktls_save_LDFLAGS="$LDFLAGS"
52298 case $host in
52299 *-*-linux*)
52300 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52301 ;;
52302 esac
52303 chktls_save_CFLAGS="$CFLAGS"
52304 CFLAGS="-fPIC $CFLAGS"
52305 if test x$gcc_no_link = xyes; then
52306 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52307 fi
52308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52309 /* end confdefs.h. */
52310 int f() { return 0; }
52311 _ACEOF
52312 if ac_fn_c_try_link "$LINENO"; then :
52313 if test x$gcc_no_link = xyes; then
52314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52315 fi
52316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52317 /* end confdefs.h. */
52318 __thread int a; int b; int f() { return a = b; }
52319 _ACEOF
52320 if ac_fn_c_try_link "$LINENO"; then :
52321 gcc_cv_have_tls=yes
52322 else
52323 gcc_cv_have_tls=no
52324 fi
52325 rm -f core conftest.err conftest.$ac_objext \
52326 conftest$ac_exeext conftest.$ac_ext
52327 else
52328 gcc_cv_have_tls=yes
52329 fi
52330 rm -f core conftest.err conftest.$ac_objext \
52331 conftest$ac_exeext conftest.$ac_ext
52332 CFLAGS="$chktls_save_CFLAGS"
52333 LDFLAGS="$chktls_save_LDFLAGS"
52334 else
52335 gcc_cv_have_tls=no
52336 fi
52337 rm -f core conftest.err conftest.$ac_objext \
52338 conftest$ac_exeext conftest.$ac_ext
52339
52340
52341 else
52342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52343 /* end confdefs.h. */
52344 __thread int a; int b; int main() { return a = b; }
52345 _ACEOF
52346 if ac_fn_c_try_run "$LINENO"; then :
52347 chktls_save_LDFLAGS="$LDFLAGS"
52348 LDFLAGS="-static $LDFLAGS"
52349 if test x$gcc_no_link = xyes; then
52350 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52351 fi
52352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52353 /* end confdefs.h. */
52354 int main() { return 0; }
52355 _ACEOF
52356 if ac_fn_c_try_link "$LINENO"; then :
52357 if test "$cross_compiling" = yes; then :
52358 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52360 as_fn_error "cannot run test program while cross compiling
52361 See \`config.log' for more details." "$LINENO" 5; }
52362 else
52363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52364 /* end confdefs.h. */
52365 __thread int a; int b; int main() { return a = b; }
52366 _ACEOF
52367 if ac_fn_c_try_run "$LINENO"; then :
52368 gcc_cv_have_tls=yes
52369 else
52370 gcc_cv_have_tls=no
52371 fi
52372 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52373 conftest.$ac_objext conftest.beam conftest.$ac_ext
52374 fi
52375
52376 else
52377 gcc_cv_have_tls=yes
52378 fi
52379 rm -f core conftest.err conftest.$ac_objext \
52380 conftest$ac_exeext conftest.$ac_ext
52381 LDFLAGS="$chktls_save_LDFLAGS"
52382 if test $gcc_cv_have_tls = yes; then
52383 chktls_save_CFLAGS="$CFLAGS"
52384 thread_CFLAGS=failed
52385 for flag in '' '-pthread' '-lpthread'; do
52386 CFLAGS="$flag $chktls_save_CFLAGS"
52387 if test x$gcc_no_link = xyes; then
52388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52389 fi
52390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52391 /* end confdefs.h. */
52392 #include <pthread.h>
52393 void *g(void *d) { return NULL; }
52394 int
52395 main ()
52396 {
52397 pthread_t t; pthread_create(&t,NULL,g,NULL);
52398 ;
52399 return 0;
52400 }
52401 _ACEOF
52402 if ac_fn_c_try_link "$LINENO"; then :
52403 thread_CFLAGS="$flag"
52404 fi
52405 rm -f core conftest.err conftest.$ac_objext \
52406 conftest$ac_exeext conftest.$ac_ext
52407 if test "X$thread_CFLAGS" != Xfailed; then
52408 break
52409 fi
52410 done
52411 CFLAGS="$chktls_save_CFLAGS"
52412 if test "X$thread_CFLAGS" != Xfailed; then
52413 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52414 if test "$cross_compiling" = yes; then :
52415 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52416 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52417 as_fn_error "cannot run test program while cross compiling
52418 See \`config.log' for more details." "$LINENO" 5; }
52419 else
52420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52421 /* end confdefs.h. */
52422 #include <pthread.h>
52423 __thread int a;
52424 static int *volatile a_in_other_thread;
52425 static void *
52426 thread_func (void *arg)
52427 {
52428 a_in_other_thread = &a;
52429 return (void *)0;
52430 }
52431 int
52432 main ()
52433 {
52434 pthread_t thread;
52435 void *thread_retval;
52436 int *volatile a_in_main_thread;
52437 a_in_main_thread = &a;
52438 if (pthread_create (&thread, (pthread_attr_t *)0,
52439 thread_func, (void *)0))
52440 return 0;
52441 if (pthread_join (thread, &thread_retval))
52442 return 0;
52443 return (a_in_other_thread == a_in_main_thread);
52444 ;
52445 return 0;
52446 }
52447 _ACEOF
52448 if ac_fn_c_try_run "$LINENO"; then :
52449 gcc_cv_have_tls=yes
52450 else
52451 gcc_cv_have_tls=no
52452 fi
52453 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52454 conftest.$ac_objext conftest.beam conftest.$ac_ext
52455 fi
52456
52457 CFLAGS="$chktls_save_CFLAGS"
52458 fi
52459 fi
52460 else
52461 gcc_cv_have_tls=no
52462 fi
52463 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52464 conftest.$ac_objext conftest.beam conftest.$ac_ext
52465 fi
52466
52467 fi
52468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52469 $as_echo "$gcc_cv_have_tls" >&6; }
52470 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52471
52472 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52473
52474 fi
52475 case "$target" in
52476 *-hpux10*)
52477 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52478
52479 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52480
52481 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52482
52483 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52484
52485 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52486
52487 ;;
52488 esac
52489 ;;
52490 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52491
52492 # All these tests are for C++; save the language and the compiler flags.
52493 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52494 # found in GLIBCXX_CONFIGURE.
52495
52496 ac_ext=cpp
52497 ac_cpp='$CXXCPP $CPPFLAGS'
52498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52501
52502 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52503 ac_save_CXXFLAGS="$CXXFLAGS"
52504
52505 # Check for maintainer-mode bits.
52506 if test x"$USE_MAINTAINER_MODE" = xno; then
52507 WERROR=''
52508 else
52509 WERROR='-Werror'
52510 fi
52511
52512 # Check for -ffunction-sections -fdata-sections
52513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52514 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52515 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52517 /* end confdefs.h. */
52518 int foo; void bar() { };
52519 int
52520 main ()
52521 {
52522
52523 ;
52524 return 0;
52525 }
52526 _ACEOF
52527 if ac_fn_cxx_try_compile "$LINENO"; then :
52528 ac_fdsections=yes
52529 else
52530 ac_fdsections=no
52531 fi
52532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52533 if test "$ac_test_CXXFLAGS" = set; then
52534 CXXFLAGS="$ac_save_CXXFLAGS"
52535 else
52536 # this is the suspicious part
52537 CXXFLAGS=''
52538 fi
52539 if test x"$ac_fdsections" = x"yes"; then
52540 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52541 fi
52542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52543 $as_echo "$ac_fdsections" >&6; }
52544
52545 ac_ext=c
52546 ac_cpp='$CPP $CPPFLAGS'
52547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52550
52551
52552
52553
52554
52555 # If we're not using GNU ld, then there's no point in even trying these
52556 # tests. Check for that first. We should have already tested for gld
52557 # by now (in libtool), but require it now just to be safe...
52558 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52559 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52560
52561
52562
52563 # The name set by libtool depends on the version of libtool. Shame on us
52564 # for depending on an impl detail, but c'est la vie. Older versions used
52565 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52566 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52567 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52568 # set (hence we're using an older libtool), then set it.
52569 if test x${with_gnu_ld+set} != xset; then
52570 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52571 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52572 with_gnu_ld=no
52573 else
52574 with_gnu_ld=$ac_cv_prog_gnu_ld
52575 fi
52576 fi
52577
52578 # Start by getting the version number. I think the libtool test already
52579 # does some of this, but throws away the result.
52580 glibcxx_ld_is_gold=no
52581 if test x"$with_gnu_ld" = x"yes"; then
52582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52583 $as_echo_n "checking for ld version... " >&6; }
52584
52585 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52586 glibcxx_ld_is_gold=yes
52587 fi
52588 ldver=`$LD --version 2>/dev/null |
52589 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'`
52590
52591 glibcxx_gnu_ld_version=`echo $ldver | \
52592 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52594 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52595 fi
52596
52597 # Set --gc-sections.
52598 glibcxx_have_gc_sections=no
52599 if test "$glibcxx_ld_is_gold" = "yes"; then
52600 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52601 glibcxx_have_gc_sections=yes
52602 fi
52603 else
52604 glibcxx_gcsections_min_ld=21602
52605 if test x"$with_gnu_ld" = x"yes" &&
52606 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52607 glibcxx_have_gc_sections=yes
52608 fi
52609 fi
52610 if test "$glibcxx_have_gc_sections" = "yes"; then
52611 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52612 # NB: This flag only works reliably after 2.16.1. Configure tests
52613 # for this are difficult, so hard wire a value that should work.
52614
52615 ac_test_CFLAGS="${CFLAGS+set}"
52616 ac_save_CFLAGS="$CFLAGS"
52617 CFLAGS='-Wl,--gc-sections'
52618
52619 # Check for -Wl,--gc-sections
52620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52621 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52622 if test x$gcc_no_link = xyes; then
52623 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52624 fi
52625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52626 /* end confdefs.h. */
52627 int one(void) { return 1; }
52628 int two(void) { return 2; }
52629
52630 int
52631 main ()
52632 {
52633 two();
52634 ;
52635 return 0;
52636 }
52637 _ACEOF
52638 if ac_fn_c_try_link "$LINENO"; then :
52639 ac_gcsections=yes
52640 else
52641 ac_gcsections=no
52642 fi
52643 rm -f core conftest.err conftest.$ac_objext \
52644 conftest$ac_exeext conftest.$ac_ext
52645 if test "$ac_gcsections" = "yes"; then
52646 rm -f conftest.c
52647 touch conftest.c
52648 if $CC -c conftest.c; then
52649 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52650 grep "Warning: gc-sections option ignored" > /dev/null; then
52651 ac_gcsections=no
52652 fi
52653 fi
52654 rm -f conftest.c conftest.o conftest
52655 fi
52656 if test "$ac_gcsections" = "yes"; then
52657 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52658 fi
52659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52660 $as_echo "$ac_gcsections" >&6; }
52661
52662 if test "$ac_test_CFLAGS" = set; then
52663 CFLAGS="$ac_save_CFLAGS"
52664 else
52665 # this is the suspicious part
52666 CFLAGS=''
52667 fi
52668 fi
52669
52670 # Set -z,relro.
52671 # Note this is only for shared objects.
52672 ac_ld_relro=no
52673 if test x"$with_gnu_ld" = x"yes"; then
52674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52675 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52676 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52677 if test -n "$cxx_z_relo"; then
52678 OPT_LDFLAGS="-Wl,-z,relro"
52679 ac_ld_relro=yes
52680 fi
52681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52682 $as_echo "$ac_ld_relro" >&6; }
52683 fi
52684
52685 # Set linker optimization flags.
52686 if test x"$with_gnu_ld" = x"yes"; then
52687 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52688 fi
52689
52690
52691
52692
52693
52694 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52695 ac_save_CXXFLAGS="$CXXFLAGS"
52696 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52697
52698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52699 $as_echo_n "checking for sin in -lm... " >&6; }
52700 if test "${ac_cv_lib_m_sin+set}" = set; then :
52701 $as_echo_n "(cached) " >&6
52702 else
52703 ac_check_lib_save_LIBS=$LIBS
52704 LIBS="-lm $LIBS"
52705 if test x$gcc_no_link = xyes; then
52706 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52707 fi
52708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52709 /* end confdefs.h. */
52710
52711 /* Override any GCC internal prototype to avoid an error.
52712 Use char because int might match the return type of a GCC
52713 builtin and then its argument prototype would still apply. */
52714 #ifdef __cplusplus
52715 extern "C"
52716 #endif
52717 char sin ();
52718 int
52719 main ()
52720 {
52721 return sin ();
52722 ;
52723 return 0;
52724 }
52725 _ACEOF
52726 if ac_fn_c_try_link "$LINENO"; then :
52727 ac_cv_lib_m_sin=yes
52728 else
52729 ac_cv_lib_m_sin=no
52730 fi
52731 rm -f core conftest.err conftest.$ac_objext \
52732 conftest$ac_exeext conftest.$ac_ext
52733 LIBS=$ac_check_lib_save_LIBS
52734 fi
52735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52736 $as_echo "$ac_cv_lib_m_sin" >&6; }
52737 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52738 libm="-lm"
52739 fi
52740
52741 ac_save_LIBS="$LIBS"
52742 LIBS="$LIBS $libm"
52743
52744
52745
52746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52747 $as_echo_n "checking for isinf declaration... " >&6; }
52748 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52749 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52750 $as_echo_n "(cached) " >&6
52751 else
52752
52753
52754 ac_ext=cpp
52755 ac_cpp='$CXXCPP $CPPFLAGS'
52756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52759
52760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52761 /* end confdefs.h. */
52762 #include <math.h>
52763 #ifdef HAVE_IEEEFP_H
52764 #include <ieeefp.h>
52765 #endif
52766
52767 int
52768 main ()
52769 {
52770 isinf(0);
52771 ;
52772 return 0;
52773 }
52774 _ACEOF
52775 if ac_fn_cxx_try_compile "$LINENO"; then :
52776 glibcxx_cv_func_isinf_use=yes
52777 else
52778 glibcxx_cv_func_isinf_use=no
52779 fi
52780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52781 ac_ext=c
52782 ac_cpp='$CPP $CPPFLAGS'
52783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52786
52787
52788 fi
52789
52790 fi
52791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52792 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52793
52794 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52795 for ac_func in isinf
52796 do :
52797 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52798 if test "x$ac_cv_func_isinf" = x""yes; then :
52799 cat >>confdefs.h <<_ACEOF
52800 #define HAVE_ISINF 1
52801 _ACEOF
52802
52803 fi
52804 done
52805
52806 else
52807
52808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52809 $as_echo_n "checking for _isinf declaration... " >&6; }
52810 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52811 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52812 $as_echo_n "(cached) " >&6
52813 else
52814
52815
52816 ac_ext=cpp
52817 ac_cpp='$CXXCPP $CPPFLAGS'
52818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52821
52822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52823 /* end confdefs.h. */
52824 #include <math.h>
52825 #ifdef HAVE_IEEEFP_H
52826 #include <ieeefp.h>
52827 #endif
52828
52829 int
52830 main ()
52831 {
52832 _isinf(0);
52833 ;
52834 return 0;
52835 }
52836 _ACEOF
52837 if ac_fn_cxx_try_compile "$LINENO"; then :
52838 glibcxx_cv_func__isinf_use=yes
52839 else
52840 glibcxx_cv_func__isinf_use=no
52841 fi
52842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52843 ac_ext=c
52844 ac_cpp='$CPP $CPPFLAGS'
52845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52848
52849
52850 fi
52851
52852 fi
52853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52854 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52855
52856 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52857 for ac_func in _isinf
52858 do :
52859 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52860 if test "x$ac_cv_func__isinf" = x""yes; then :
52861 cat >>confdefs.h <<_ACEOF
52862 #define HAVE__ISINF 1
52863 _ACEOF
52864
52865 fi
52866 done
52867
52868 fi
52869 fi
52870
52871
52872
52873
52874
52875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52876 $as_echo_n "checking for isnan declaration... " >&6; }
52877 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52878 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52879 $as_echo_n "(cached) " >&6
52880 else
52881
52882
52883 ac_ext=cpp
52884 ac_cpp='$CXXCPP $CPPFLAGS'
52885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52888
52889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52890 /* end confdefs.h. */
52891 #include <math.h>
52892 #ifdef HAVE_IEEEFP_H
52893 #include <ieeefp.h>
52894 #endif
52895
52896 int
52897 main ()
52898 {
52899 isnan(0);
52900 ;
52901 return 0;
52902 }
52903 _ACEOF
52904 if ac_fn_cxx_try_compile "$LINENO"; then :
52905 glibcxx_cv_func_isnan_use=yes
52906 else
52907 glibcxx_cv_func_isnan_use=no
52908 fi
52909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52910 ac_ext=c
52911 ac_cpp='$CPP $CPPFLAGS'
52912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52915
52916
52917 fi
52918
52919 fi
52920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52921 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52922
52923 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52924 for ac_func in isnan
52925 do :
52926 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52927 if test "x$ac_cv_func_isnan" = x""yes; then :
52928 cat >>confdefs.h <<_ACEOF
52929 #define HAVE_ISNAN 1
52930 _ACEOF
52931
52932 fi
52933 done
52934
52935 else
52936
52937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52938 $as_echo_n "checking for _isnan declaration... " >&6; }
52939 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52940 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52941 $as_echo_n "(cached) " >&6
52942 else
52943
52944
52945 ac_ext=cpp
52946 ac_cpp='$CXXCPP $CPPFLAGS'
52947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52950
52951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52952 /* end confdefs.h. */
52953 #include <math.h>
52954 #ifdef HAVE_IEEEFP_H
52955 #include <ieeefp.h>
52956 #endif
52957
52958 int
52959 main ()
52960 {
52961 _isnan(0);
52962 ;
52963 return 0;
52964 }
52965 _ACEOF
52966 if ac_fn_cxx_try_compile "$LINENO"; then :
52967 glibcxx_cv_func__isnan_use=yes
52968 else
52969 glibcxx_cv_func__isnan_use=no
52970 fi
52971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52972 ac_ext=c
52973 ac_cpp='$CPP $CPPFLAGS'
52974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52977
52978
52979 fi
52980
52981 fi
52982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52983 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52984
52985 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52986 for ac_func in _isnan
52987 do :
52988 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52989 if test "x$ac_cv_func__isnan" = x""yes; then :
52990 cat >>confdefs.h <<_ACEOF
52991 #define HAVE__ISNAN 1
52992 _ACEOF
52993
52994 fi
52995 done
52996
52997 fi
52998 fi
52999
53000
53001
53002
53003
53004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53005 $as_echo_n "checking for finite declaration... " >&6; }
53006 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53007 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53008 $as_echo_n "(cached) " >&6
53009 else
53010
53011
53012 ac_ext=cpp
53013 ac_cpp='$CXXCPP $CPPFLAGS'
53014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53017
53018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53019 /* end confdefs.h. */
53020 #include <math.h>
53021 #ifdef HAVE_IEEEFP_H
53022 #include <ieeefp.h>
53023 #endif
53024
53025 int
53026 main ()
53027 {
53028 finite(0);
53029 ;
53030 return 0;
53031 }
53032 _ACEOF
53033 if ac_fn_cxx_try_compile "$LINENO"; then :
53034 glibcxx_cv_func_finite_use=yes
53035 else
53036 glibcxx_cv_func_finite_use=no
53037 fi
53038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53039 ac_ext=c
53040 ac_cpp='$CPP $CPPFLAGS'
53041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53044
53045
53046 fi
53047
53048 fi
53049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53050 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53051
53052 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53053 for ac_func in finite
53054 do :
53055 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53056 if test "x$ac_cv_func_finite" = x""yes; then :
53057 cat >>confdefs.h <<_ACEOF
53058 #define HAVE_FINITE 1
53059 _ACEOF
53060
53061 fi
53062 done
53063
53064 else
53065
53066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53067 $as_echo_n "checking for _finite declaration... " >&6; }
53068 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53069 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53070 $as_echo_n "(cached) " >&6
53071 else
53072
53073
53074 ac_ext=cpp
53075 ac_cpp='$CXXCPP $CPPFLAGS'
53076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53079
53080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53081 /* end confdefs.h. */
53082 #include <math.h>
53083 #ifdef HAVE_IEEEFP_H
53084 #include <ieeefp.h>
53085 #endif
53086
53087 int
53088 main ()
53089 {
53090 _finite(0);
53091 ;
53092 return 0;
53093 }
53094 _ACEOF
53095 if ac_fn_cxx_try_compile "$LINENO"; then :
53096 glibcxx_cv_func__finite_use=yes
53097 else
53098 glibcxx_cv_func__finite_use=no
53099 fi
53100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53101 ac_ext=c
53102 ac_cpp='$CPP $CPPFLAGS'
53103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53106
53107
53108 fi
53109
53110 fi
53111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53112 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53113
53114 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53115 for ac_func in _finite
53116 do :
53117 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53118 if test "x$ac_cv_func__finite" = x""yes; then :
53119 cat >>confdefs.h <<_ACEOF
53120 #define HAVE__FINITE 1
53121 _ACEOF
53122
53123 fi
53124 done
53125
53126 fi
53127 fi
53128
53129
53130
53131
53132
53133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53134 $as_echo_n "checking for sincos declaration... " >&6; }
53135 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53136 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53137 $as_echo_n "(cached) " >&6
53138 else
53139
53140
53141 ac_ext=cpp
53142 ac_cpp='$CXXCPP $CPPFLAGS'
53143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53146
53147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53148 /* end confdefs.h. */
53149 #include <math.h>
53150 int
53151 main ()
53152 {
53153 sincos(0, 0, 0);
53154 ;
53155 return 0;
53156 }
53157 _ACEOF
53158 if ac_fn_cxx_try_compile "$LINENO"; then :
53159 glibcxx_cv_func_sincos_use=yes
53160 else
53161 glibcxx_cv_func_sincos_use=no
53162 fi
53163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53164 ac_ext=c
53165 ac_cpp='$CPP $CPPFLAGS'
53166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53169
53170
53171 fi
53172
53173 fi
53174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53175 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53176
53177 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53178 for ac_func in sincos
53179 do :
53180 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53181 if test "x$ac_cv_func_sincos" = x""yes; then :
53182 cat >>confdefs.h <<_ACEOF
53183 #define HAVE_SINCOS 1
53184 _ACEOF
53185
53186 fi
53187 done
53188
53189 else
53190
53191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53192 $as_echo_n "checking for _sincos declaration... " >&6; }
53193 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53194 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53195 $as_echo_n "(cached) " >&6
53196 else
53197
53198
53199 ac_ext=cpp
53200 ac_cpp='$CXXCPP $CPPFLAGS'
53201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53204
53205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53206 /* end confdefs.h. */
53207 #include <math.h>
53208 int
53209 main ()
53210 {
53211 _sincos(0, 0, 0);
53212 ;
53213 return 0;
53214 }
53215 _ACEOF
53216 if ac_fn_cxx_try_compile "$LINENO"; then :
53217 glibcxx_cv_func__sincos_use=yes
53218 else
53219 glibcxx_cv_func__sincos_use=no
53220 fi
53221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53222 ac_ext=c
53223 ac_cpp='$CPP $CPPFLAGS'
53224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53227
53228
53229 fi
53230
53231 fi
53232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53233 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53234
53235 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53236 for ac_func in _sincos
53237 do :
53238 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53239 if test "x$ac_cv_func__sincos" = x""yes; then :
53240 cat >>confdefs.h <<_ACEOF
53241 #define HAVE__SINCOS 1
53242 _ACEOF
53243
53244 fi
53245 done
53246
53247 fi
53248 fi
53249
53250
53251
53252
53253
53254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53255 $as_echo_n "checking for fpclass declaration... " >&6; }
53256 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53257 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53258 $as_echo_n "(cached) " >&6
53259 else
53260
53261
53262 ac_ext=cpp
53263 ac_cpp='$CXXCPP $CPPFLAGS'
53264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53267
53268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53269 /* end confdefs.h. */
53270 #include <math.h>
53271 #ifdef HAVE_IEEEFP_H
53272 #include <ieeefp.h>
53273 #endif
53274
53275 int
53276 main ()
53277 {
53278 fpclass(0);
53279 ;
53280 return 0;
53281 }
53282 _ACEOF
53283 if ac_fn_cxx_try_compile "$LINENO"; then :
53284 glibcxx_cv_func_fpclass_use=yes
53285 else
53286 glibcxx_cv_func_fpclass_use=no
53287 fi
53288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53289 ac_ext=c
53290 ac_cpp='$CPP $CPPFLAGS'
53291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53294
53295
53296 fi
53297
53298 fi
53299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53300 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53301
53302 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53303 for ac_func in fpclass
53304 do :
53305 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53306 if test "x$ac_cv_func_fpclass" = x""yes; then :
53307 cat >>confdefs.h <<_ACEOF
53308 #define HAVE_FPCLASS 1
53309 _ACEOF
53310
53311 fi
53312 done
53313
53314 else
53315
53316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53317 $as_echo_n "checking for _fpclass declaration... " >&6; }
53318 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53319 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53320 $as_echo_n "(cached) " >&6
53321 else
53322
53323
53324 ac_ext=cpp
53325 ac_cpp='$CXXCPP $CPPFLAGS'
53326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53329
53330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53331 /* end confdefs.h. */
53332 #include <math.h>
53333 #ifdef HAVE_IEEEFP_H
53334 #include <ieeefp.h>
53335 #endif
53336
53337 int
53338 main ()
53339 {
53340 _fpclass(0);
53341 ;
53342 return 0;
53343 }
53344 _ACEOF
53345 if ac_fn_cxx_try_compile "$LINENO"; then :
53346 glibcxx_cv_func__fpclass_use=yes
53347 else
53348 glibcxx_cv_func__fpclass_use=no
53349 fi
53350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53351 ac_ext=c
53352 ac_cpp='$CPP $CPPFLAGS'
53353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53356
53357
53358 fi
53359
53360 fi
53361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53362 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53363
53364 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53365 for ac_func in _fpclass
53366 do :
53367 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53368 if test "x$ac_cv_func__fpclass" = x""yes; then :
53369 cat >>confdefs.h <<_ACEOF
53370 #define HAVE__FPCLASS 1
53371 _ACEOF
53372
53373 fi
53374 done
53375
53376 fi
53377 fi
53378
53379
53380
53381
53382
53383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53384 $as_echo_n "checking for qfpclass declaration... " >&6; }
53385 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53386 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53387 $as_echo_n "(cached) " >&6
53388 else
53389
53390
53391 ac_ext=cpp
53392 ac_cpp='$CXXCPP $CPPFLAGS'
53393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53396
53397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53398 /* end confdefs.h. */
53399 #include <math.h>
53400 #ifdef HAVE_IEEEFP_H
53401 #include <ieeefp.h>
53402 #endif
53403
53404 int
53405 main ()
53406 {
53407 qfpclass(0);
53408 ;
53409 return 0;
53410 }
53411 _ACEOF
53412 if ac_fn_cxx_try_compile "$LINENO"; then :
53413 glibcxx_cv_func_qfpclass_use=yes
53414 else
53415 glibcxx_cv_func_qfpclass_use=no
53416 fi
53417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53418 ac_ext=c
53419 ac_cpp='$CPP $CPPFLAGS'
53420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53423
53424
53425 fi
53426
53427 fi
53428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53429 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53430
53431 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53432 for ac_func in qfpclass
53433 do :
53434 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53435 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53436 cat >>confdefs.h <<_ACEOF
53437 #define HAVE_QFPCLASS 1
53438 _ACEOF
53439
53440 fi
53441 done
53442
53443 else
53444
53445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53446 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53447 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53448 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53449 $as_echo_n "(cached) " >&6
53450 else
53451
53452
53453 ac_ext=cpp
53454 ac_cpp='$CXXCPP $CPPFLAGS'
53455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53458
53459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53460 /* end confdefs.h. */
53461 #include <math.h>
53462 #ifdef HAVE_IEEEFP_H
53463 #include <ieeefp.h>
53464 #endif
53465
53466 int
53467 main ()
53468 {
53469 _qfpclass(0);
53470 ;
53471 return 0;
53472 }
53473 _ACEOF
53474 if ac_fn_cxx_try_compile "$LINENO"; then :
53475 glibcxx_cv_func__qfpclass_use=yes
53476 else
53477 glibcxx_cv_func__qfpclass_use=no
53478 fi
53479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53480 ac_ext=c
53481 ac_cpp='$CPP $CPPFLAGS'
53482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53485
53486
53487 fi
53488
53489 fi
53490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53491 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53492
53493 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53494 for ac_func in _qfpclass
53495 do :
53496 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53497 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53498 cat >>confdefs.h <<_ACEOF
53499 #define HAVE__QFPCLASS 1
53500 _ACEOF
53501
53502 fi
53503 done
53504
53505 fi
53506 fi
53507
53508
53509
53510
53511
53512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53513 $as_echo_n "checking for hypot declaration... " >&6; }
53514 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53515 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53516 $as_echo_n "(cached) " >&6
53517 else
53518
53519
53520 ac_ext=cpp
53521 ac_cpp='$CXXCPP $CPPFLAGS'
53522 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53523 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53524 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53525
53526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53527 /* end confdefs.h. */
53528 #include <math.h>
53529 int
53530 main ()
53531 {
53532 hypot(0, 0);
53533 ;
53534 return 0;
53535 }
53536 _ACEOF
53537 if ac_fn_cxx_try_compile "$LINENO"; then :
53538 glibcxx_cv_func_hypot_use=yes
53539 else
53540 glibcxx_cv_func_hypot_use=no
53541 fi
53542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53543 ac_ext=c
53544 ac_cpp='$CPP $CPPFLAGS'
53545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53548
53549
53550 fi
53551
53552 fi
53553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53554 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53555
53556 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53557 for ac_func in hypot
53558 do :
53559 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53560 if test "x$ac_cv_func_hypot" = x""yes; then :
53561 cat >>confdefs.h <<_ACEOF
53562 #define HAVE_HYPOT 1
53563 _ACEOF
53564
53565 fi
53566 done
53567
53568 else
53569
53570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53571 $as_echo_n "checking for _hypot declaration... " >&6; }
53572 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53573 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53574 $as_echo_n "(cached) " >&6
53575 else
53576
53577
53578 ac_ext=cpp
53579 ac_cpp='$CXXCPP $CPPFLAGS'
53580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53583
53584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53585 /* end confdefs.h. */
53586 #include <math.h>
53587 int
53588 main ()
53589 {
53590 _hypot(0, 0);
53591 ;
53592 return 0;
53593 }
53594 _ACEOF
53595 if ac_fn_cxx_try_compile "$LINENO"; then :
53596 glibcxx_cv_func__hypot_use=yes
53597 else
53598 glibcxx_cv_func__hypot_use=no
53599 fi
53600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53601 ac_ext=c
53602 ac_cpp='$CPP $CPPFLAGS'
53603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53606
53607
53608 fi
53609
53610 fi
53611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53612 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53613
53614 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53615 for ac_func in _hypot
53616 do :
53617 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53618 if test "x$ac_cv_func__hypot" = x""yes; then :
53619 cat >>confdefs.h <<_ACEOF
53620 #define HAVE__HYPOT 1
53621 _ACEOF
53622
53623 fi
53624 done
53625
53626 fi
53627 fi
53628
53629
53630
53631
53632
53633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53634 $as_echo_n "checking for float trig functions... " >&6; }
53635 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53636 $as_echo_n "(cached) " >&6
53637 else
53638
53639
53640 ac_ext=cpp
53641 ac_cpp='$CXXCPP $CPPFLAGS'
53642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53645
53646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53647 /* end confdefs.h. */
53648 #include <math.h>
53649 int
53650 main ()
53651 {
53652 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53653 ;
53654 return 0;
53655 }
53656 _ACEOF
53657 if ac_fn_cxx_try_compile "$LINENO"; then :
53658 glibcxx_cv_func_float_trig_use=yes
53659 else
53660 glibcxx_cv_func_float_trig_use=no
53661 fi
53662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53663 ac_ext=c
53664 ac_cpp='$CPP $CPPFLAGS'
53665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53668
53669 fi
53670
53671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53672 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53673 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53674 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53675 do :
53676 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53677 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53678 eval as_val=\$$as_ac_var
53679 if test "x$as_val" = x""yes; then :
53680 cat >>confdefs.h <<_ACEOF
53681 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53682 _ACEOF
53683
53684 fi
53685 done
53686
53687 else
53688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53689 $as_echo_n "checking for _float trig functions... " >&6; }
53690 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53691 $as_echo_n "(cached) " >&6
53692 else
53693
53694
53695 ac_ext=cpp
53696 ac_cpp='$CXXCPP $CPPFLAGS'
53697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53700
53701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53702 /* end confdefs.h. */
53703 #include <math.h>
53704 int
53705 main ()
53706 {
53707 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53708 ;
53709 return 0;
53710 }
53711 _ACEOF
53712 if ac_fn_cxx_try_compile "$LINENO"; then :
53713 glibcxx_cv_func__float_trig_use=yes
53714 else
53715 glibcxx_cv_func__float_trig_use=no
53716 fi
53717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53718 ac_ext=c
53719 ac_cpp='$CPP $CPPFLAGS'
53720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53723
53724 fi
53725
53726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53727 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53728 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53729 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53730 do :
53731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53733 eval as_val=\$$as_ac_var
53734 if test "x$as_val" = x""yes; then :
53735 cat >>confdefs.h <<_ACEOF
53736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53737 _ACEOF
53738
53739 fi
53740 done
53741
53742 fi
53743 fi
53744
53745
53746
53747
53748
53749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53750 $as_echo_n "checking for float round functions... " >&6; }
53751 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53752 $as_echo_n "(cached) " >&6
53753 else
53754
53755
53756 ac_ext=cpp
53757 ac_cpp='$CXXCPP $CPPFLAGS'
53758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53761
53762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53763 /* end confdefs.h. */
53764 #include <math.h>
53765 int
53766 main ()
53767 {
53768 ceilf (0); floorf (0);
53769 ;
53770 return 0;
53771 }
53772 _ACEOF
53773 if ac_fn_cxx_try_compile "$LINENO"; then :
53774 glibcxx_cv_func_float_round_use=yes
53775 else
53776 glibcxx_cv_func_float_round_use=no
53777 fi
53778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53779 ac_ext=c
53780 ac_cpp='$CPP $CPPFLAGS'
53781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53784
53785 fi
53786
53787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53788 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53789 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53790 for ac_func in ceilf floorf
53791 do :
53792 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53793 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53794 eval as_val=\$$as_ac_var
53795 if test "x$as_val" = x""yes; then :
53796 cat >>confdefs.h <<_ACEOF
53797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53798 _ACEOF
53799
53800 fi
53801 done
53802
53803 else
53804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53805 $as_echo_n "checking for _float round functions... " >&6; }
53806 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53807 $as_echo_n "(cached) " >&6
53808 else
53809
53810
53811 ac_ext=cpp
53812 ac_cpp='$CXXCPP $CPPFLAGS'
53813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53816
53817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53818 /* end confdefs.h. */
53819 #include <math.h>
53820 int
53821 main ()
53822 {
53823 _ceilf (0); _floorf (0);
53824 ;
53825 return 0;
53826 }
53827 _ACEOF
53828 if ac_fn_cxx_try_compile "$LINENO"; then :
53829 glibcxx_cv_func__float_round_use=yes
53830 else
53831 glibcxx_cv_func__float_round_use=no
53832 fi
53833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53834 ac_ext=c
53835 ac_cpp='$CPP $CPPFLAGS'
53836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53839
53840 fi
53841
53842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53843 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53844 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53845 for ac_func in _ceilf _floorf
53846 do :
53847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53849 eval as_val=\$$as_ac_var
53850 if test "x$as_val" = x""yes; then :
53851 cat >>confdefs.h <<_ACEOF
53852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53853 _ACEOF
53854
53855 fi
53856 done
53857
53858 fi
53859 fi
53860
53861
53862
53863
53864
53865
53866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53867 $as_echo_n "checking for expf declaration... " >&6; }
53868 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53869 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53870 $as_echo_n "(cached) " >&6
53871 else
53872
53873
53874 ac_ext=cpp
53875 ac_cpp='$CXXCPP $CPPFLAGS'
53876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53879
53880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53881 /* end confdefs.h. */
53882 #include <math.h>
53883 #ifdef HAVE_IEEEFP_H
53884 #include <ieeefp.h>
53885 #endif
53886
53887 int
53888 main ()
53889 {
53890 expf(0);
53891 ;
53892 return 0;
53893 }
53894 _ACEOF
53895 if ac_fn_cxx_try_compile "$LINENO"; then :
53896 glibcxx_cv_func_expf_use=yes
53897 else
53898 glibcxx_cv_func_expf_use=no
53899 fi
53900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53901 ac_ext=c
53902 ac_cpp='$CPP $CPPFLAGS'
53903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53906
53907
53908 fi
53909
53910 fi
53911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53912 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53913
53914 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53915 for ac_func in expf
53916 do :
53917 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53918 if test "x$ac_cv_func_expf" = x""yes; then :
53919 cat >>confdefs.h <<_ACEOF
53920 #define HAVE_EXPF 1
53921 _ACEOF
53922
53923 fi
53924 done
53925
53926 else
53927
53928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53929 $as_echo_n "checking for _expf declaration... " >&6; }
53930 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53931 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53932 $as_echo_n "(cached) " >&6
53933 else
53934
53935
53936 ac_ext=cpp
53937 ac_cpp='$CXXCPP $CPPFLAGS'
53938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53941
53942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53943 /* end confdefs.h. */
53944 #include <math.h>
53945 #ifdef HAVE_IEEEFP_H
53946 #include <ieeefp.h>
53947 #endif
53948
53949 int
53950 main ()
53951 {
53952 _expf(0);
53953 ;
53954 return 0;
53955 }
53956 _ACEOF
53957 if ac_fn_cxx_try_compile "$LINENO"; then :
53958 glibcxx_cv_func__expf_use=yes
53959 else
53960 glibcxx_cv_func__expf_use=no
53961 fi
53962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53963 ac_ext=c
53964 ac_cpp='$CPP $CPPFLAGS'
53965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53968
53969
53970 fi
53971
53972 fi
53973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53974 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53975
53976 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53977 for ac_func in _expf
53978 do :
53979 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53980 if test "x$ac_cv_func__expf" = x""yes; then :
53981 cat >>confdefs.h <<_ACEOF
53982 #define HAVE__EXPF 1
53983 _ACEOF
53984
53985 fi
53986 done
53987
53988 fi
53989 fi
53990
53991
53992
53993
53994
53995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53996 $as_echo_n "checking for isnanf declaration... " >&6; }
53997 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
53998 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
53999 $as_echo_n "(cached) " >&6
54000 else
54001
54002
54003 ac_ext=cpp
54004 ac_cpp='$CXXCPP $CPPFLAGS'
54005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54008
54009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54010 /* end confdefs.h. */
54011 #include <math.h>
54012 #ifdef HAVE_IEEEFP_H
54013 #include <ieeefp.h>
54014 #endif
54015
54016 int
54017 main ()
54018 {
54019 isnanf(0);
54020 ;
54021 return 0;
54022 }
54023 _ACEOF
54024 if ac_fn_cxx_try_compile "$LINENO"; then :
54025 glibcxx_cv_func_isnanf_use=yes
54026 else
54027 glibcxx_cv_func_isnanf_use=no
54028 fi
54029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54030 ac_ext=c
54031 ac_cpp='$CPP $CPPFLAGS'
54032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54035
54036
54037 fi
54038
54039 fi
54040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54041 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54042
54043 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54044 for ac_func in isnanf
54045 do :
54046 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54047 if test "x$ac_cv_func_isnanf" = x""yes; then :
54048 cat >>confdefs.h <<_ACEOF
54049 #define HAVE_ISNANF 1
54050 _ACEOF
54051
54052 fi
54053 done
54054
54055 else
54056
54057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54058 $as_echo_n "checking for _isnanf declaration... " >&6; }
54059 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54060 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54061 $as_echo_n "(cached) " >&6
54062 else
54063
54064
54065 ac_ext=cpp
54066 ac_cpp='$CXXCPP $CPPFLAGS'
54067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54070
54071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54072 /* end confdefs.h. */
54073 #include <math.h>
54074 #ifdef HAVE_IEEEFP_H
54075 #include <ieeefp.h>
54076 #endif
54077
54078 int
54079 main ()
54080 {
54081 _isnanf(0);
54082 ;
54083 return 0;
54084 }
54085 _ACEOF
54086 if ac_fn_cxx_try_compile "$LINENO"; then :
54087 glibcxx_cv_func__isnanf_use=yes
54088 else
54089 glibcxx_cv_func__isnanf_use=no
54090 fi
54091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54092 ac_ext=c
54093 ac_cpp='$CPP $CPPFLAGS'
54094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54097
54098
54099 fi
54100
54101 fi
54102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54103 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54104
54105 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54106 for ac_func in _isnanf
54107 do :
54108 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54109 if test "x$ac_cv_func__isnanf" = x""yes; then :
54110 cat >>confdefs.h <<_ACEOF
54111 #define HAVE__ISNANF 1
54112 _ACEOF
54113
54114 fi
54115 done
54116
54117 fi
54118 fi
54119
54120
54121
54122
54123
54124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54125 $as_echo_n "checking for isinff declaration... " >&6; }
54126 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54127 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54128 $as_echo_n "(cached) " >&6
54129 else
54130
54131
54132 ac_ext=cpp
54133 ac_cpp='$CXXCPP $CPPFLAGS'
54134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54137
54138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54139 /* end confdefs.h. */
54140 #include <math.h>
54141 #ifdef HAVE_IEEEFP_H
54142 #include <ieeefp.h>
54143 #endif
54144
54145 int
54146 main ()
54147 {
54148 isinff(0);
54149 ;
54150 return 0;
54151 }
54152 _ACEOF
54153 if ac_fn_cxx_try_compile "$LINENO"; then :
54154 glibcxx_cv_func_isinff_use=yes
54155 else
54156 glibcxx_cv_func_isinff_use=no
54157 fi
54158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54159 ac_ext=c
54160 ac_cpp='$CPP $CPPFLAGS'
54161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54164
54165
54166 fi
54167
54168 fi
54169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54170 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54171
54172 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54173 for ac_func in isinff
54174 do :
54175 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54176 if test "x$ac_cv_func_isinff" = x""yes; then :
54177 cat >>confdefs.h <<_ACEOF
54178 #define HAVE_ISINFF 1
54179 _ACEOF
54180
54181 fi
54182 done
54183
54184 else
54185
54186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54187 $as_echo_n "checking for _isinff declaration... " >&6; }
54188 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54189 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54190 $as_echo_n "(cached) " >&6
54191 else
54192
54193
54194 ac_ext=cpp
54195 ac_cpp='$CXXCPP $CPPFLAGS'
54196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54199
54200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54201 /* end confdefs.h. */
54202 #include <math.h>
54203 #ifdef HAVE_IEEEFP_H
54204 #include <ieeefp.h>
54205 #endif
54206
54207 int
54208 main ()
54209 {
54210 _isinff(0);
54211 ;
54212 return 0;
54213 }
54214 _ACEOF
54215 if ac_fn_cxx_try_compile "$LINENO"; then :
54216 glibcxx_cv_func__isinff_use=yes
54217 else
54218 glibcxx_cv_func__isinff_use=no
54219 fi
54220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54221 ac_ext=c
54222 ac_cpp='$CPP $CPPFLAGS'
54223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54226
54227
54228 fi
54229
54230 fi
54231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54232 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54233
54234 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54235 for ac_func in _isinff
54236 do :
54237 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54238 if test "x$ac_cv_func__isinff" = x""yes; then :
54239 cat >>confdefs.h <<_ACEOF
54240 #define HAVE__ISINFF 1
54241 _ACEOF
54242
54243 fi
54244 done
54245
54246 fi
54247 fi
54248
54249
54250
54251
54252
54253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54254 $as_echo_n "checking for atan2f declaration... " >&6; }
54255 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54256 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54257 $as_echo_n "(cached) " >&6
54258 else
54259
54260
54261 ac_ext=cpp
54262 ac_cpp='$CXXCPP $CPPFLAGS'
54263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54266
54267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54268 /* end confdefs.h. */
54269 #include <math.h>
54270 int
54271 main ()
54272 {
54273 atan2f(0, 0);
54274 ;
54275 return 0;
54276 }
54277 _ACEOF
54278 if ac_fn_cxx_try_compile "$LINENO"; then :
54279 glibcxx_cv_func_atan2f_use=yes
54280 else
54281 glibcxx_cv_func_atan2f_use=no
54282 fi
54283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54284 ac_ext=c
54285 ac_cpp='$CPP $CPPFLAGS'
54286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54289
54290
54291 fi
54292
54293 fi
54294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54295 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54296
54297 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54298 for ac_func in atan2f
54299 do :
54300 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54301 if test "x$ac_cv_func_atan2f" = x""yes; then :
54302 cat >>confdefs.h <<_ACEOF
54303 #define HAVE_ATAN2F 1
54304 _ACEOF
54305
54306 fi
54307 done
54308
54309 else
54310
54311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54312 $as_echo_n "checking for _atan2f declaration... " >&6; }
54313 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54314 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54315 $as_echo_n "(cached) " >&6
54316 else
54317
54318
54319 ac_ext=cpp
54320 ac_cpp='$CXXCPP $CPPFLAGS'
54321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54324
54325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54326 /* end confdefs.h. */
54327 #include <math.h>
54328 int
54329 main ()
54330 {
54331 _atan2f(0, 0);
54332 ;
54333 return 0;
54334 }
54335 _ACEOF
54336 if ac_fn_cxx_try_compile "$LINENO"; then :
54337 glibcxx_cv_func__atan2f_use=yes
54338 else
54339 glibcxx_cv_func__atan2f_use=no
54340 fi
54341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54342 ac_ext=c
54343 ac_cpp='$CPP $CPPFLAGS'
54344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54347
54348
54349 fi
54350
54351 fi
54352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54353 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54354
54355 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54356 for ac_func in _atan2f
54357 do :
54358 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54359 if test "x$ac_cv_func__atan2f" = x""yes; then :
54360 cat >>confdefs.h <<_ACEOF
54361 #define HAVE__ATAN2F 1
54362 _ACEOF
54363
54364 fi
54365 done
54366
54367 fi
54368 fi
54369
54370
54371
54372
54373
54374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54375 $as_echo_n "checking for fabsf declaration... " >&6; }
54376 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54377 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54378 $as_echo_n "(cached) " >&6
54379 else
54380
54381
54382 ac_ext=cpp
54383 ac_cpp='$CXXCPP $CPPFLAGS'
54384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54387
54388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54389 /* end confdefs.h. */
54390 #include <math.h>
54391 #ifdef HAVE_IEEEFP_H
54392 #include <ieeefp.h>
54393 #endif
54394
54395 int
54396 main ()
54397 {
54398 fabsf(0);
54399 ;
54400 return 0;
54401 }
54402 _ACEOF
54403 if ac_fn_cxx_try_compile "$LINENO"; then :
54404 glibcxx_cv_func_fabsf_use=yes
54405 else
54406 glibcxx_cv_func_fabsf_use=no
54407 fi
54408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54409 ac_ext=c
54410 ac_cpp='$CPP $CPPFLAGS'
54411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54414
54415
54416 fi
54417
54418 fi
54419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54420 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54421
54422 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54423 for ac_func in fabsf
54424 do :
54425 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54426 if test "x$ac_cv_func_fabsf" = x""yes; then :
54427 cat >>confdefs.h <<_ACEOF
54428 #define HAVE_FABSF 1
54429 _ACEOF
54430
54431 fi
54432 done
54433
54434 else
54435
54436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54437 $as_echo_n "checking for _fabsf declaration... " >&6; }
54438 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54439 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54440 $as_echo_n "(cached) " >&6
54441 else
54442
54443
54444 ac_ext=cpp
54445 ac_cpp='$CXXCPP $CPPFLAGS'
54446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54449
54450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54451 /* end confdefs.h. */
54452 #include <math.h>
54453 #ifdef HAVE_IEEEFP_H
54454 #include <ieeefp.h>
54455 #endif
54456
54457 int
54458 main ()
54459 {
54460 _fabsf(0);
54461 ;
54462 return 0;
54463 }
54464 _ACEOF
54465 if ac_fn_cxx_try_compile "$LINENO"; then :
54466 glibcxx_cv_func__fabsf_use=yes
54467 else
54468 glibcxx_cv_func__fabsf_use=no
54469 fi
54470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54471 ac_ext=c
54472 ac_cpp='$CPP $CPPFLAGS'
54473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54476
54477
54478 fi
54479
54480 fi
54481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54482 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54483
54484 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54485 for ac_func in _fabsf
54486 do :
54487 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54488 if test "x$ac_cv_func__fabsf" = x""yes; then :
54489 cat >>confdefs.h <<_ACEOF
54490 #define HAVE__FABSF 1
54491 _ACEOF
54492
54493 fi
54494 done
54495
54496 fi
54497 fi
54498
54499
54500
54501
54502
54503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54504 $as_echo_n "checking for fmodf declaration... " >&6; }
54505 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54506 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54507 $as_echo_n "(cached) " >&6
54508 else
54509
54510
54511 ac_ext=cpp
54512 ac_cpp='$CXXCPP $CPPFLAGS'
54513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54516
54517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54518 /* end confdefs.h. */
54519 #include <math.h>
54520 int
54521 main ()
54522 {
54523 fmodf(0, 0);
54524 ;
54525 return 0;
54526 }
54527 _ACEOF
54528 if ac_fn_cxx_try_compile "$LINENO"; then :
54529 glibcxx_cv_func_fmodf_use=yes
54530 else
54531 glibcxx_cv_func_fmodf_use=no
54532 fi
54533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54534 ac_ext=c
54535 ac_cpp='$CPP $CPPFLAGS'
54536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54539
54540
54541 fi
54542
54543 fi
54544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54545 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54546
54547 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54548 for ac_func in fmodf
54549 do :
54550 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54551 if test "x$ac_cv_func_fmodf" = x""yes; then :
54552 cat >>confdefs.h <<_ACEOF
54553 #define HAVE_FMODF 1
54554 _ACEOF
54555
54556 fi
54557 done
54558
54559 else
54560
54561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54562 $as_echo_n "checking for _fmodf declaration... " >&6; }
54563 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54564 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54565 $as_echo_n "(cached) " >&6
54566 else
54567
54568
54569 ac_ext=cpp
54570 ac_cpp='$CXXCPP $CPPFLAGS'
54571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54574
54575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54576 /* end confdefs.h. */
54577 #include <math.h>
54578 int
54579 main ()
54580 {
54581 _fmodf(0, 0);
54582 ;
54583 return 0;
54584 }
54585 _ACEOF
54586 if ac_fn_cxx_try_compile "$LINENO"; then :
54587 glibcxx_cv_func__fmodf_use=yes
54588 else
54589 glibcxx_cv_func__fmodf_use=no
54590 fi
54591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54592 ac_ext=c
54593 ac_cpp='$CPP $CPPFLAGS'
54594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54597
54598
54599 fi
54600
54601 fi
54602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54603 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54604
54605 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54606 for ac_func in _fmodf
54607 do :
54608 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54609 if test "x$ac_cv_func__fmodf" = x""yes; then :
54610 cat >>confdefs.h <<_ACEOF
54611 #define HAVE__FMODF 1
54612 _ACEOF
54613
54614 fi
54615 done
54616
54617 fi
54618 fi
54619
54620
54621
54622
54623
54624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54625 $as_echo_n "checking for frexpf declaration... " >&6; }
54626 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54627 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54628 $as_echo_n "(cached) " >&6
54629 else
54630
54631
54632 ac_ext=cpp
54633 ac_cpp='$CXXCPP $CPPFLAGS'
54634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54637
54638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54639 /* end confdefs.h. */
54640 #include <math.h>
54641 int
54642 main ()
54643 {
54644 frexpf(0, 0);
54645 ;
54646 return 0;
54647 }
54648 _ACEOF
54649 if ac_fn_cxx_try_compile "$LINENO"; then :
54650 glibcxx_cv_func_frexpf_use=yes
54651 else
54652 glibcxx_cv_func_frexpf_use=no
54653 fi
54654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54655 ac_ext=c
54656 ac_cpp='$CPP $CPPFLAGS'
54657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54660
54661
54662 fi
54663
54664 fi
54665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54666 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54667
54668 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54669 for ac_func in frexpf
54670 do :
54671 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54672 if test "x$ac_cv_func_frexpf" = x""yes; then :
54673 cat >>confdefs.h <<_ACEOF
54674 #define HAVE_FREXPF 1
54675 _ACEOF
54676
54677 fi
54678 done
54679
54680 else
54681
54682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54683 $as_echo_n "checking for _frexpf declaration... " >&6; }
54684 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54685 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54686 $as_echo_n "(cached) " >&6
54687 else
54688
54689
54690 ac_ext=cpp
54691 ac_cpp='$CXXCPP $CPPFLAGS'
54692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54695
54696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54697 /* end confdefs.h. */
54698 #include <math.h>
54699 int
54700 main ()
54701 {
54702 _frexpf(0, 0);
54703 ;
54704 return 0;
54705 }
54706 _ACEOF
54707 if ac_fn_cxx_try_compile "$LINENO"; then :
54708 glibcxx_cv_func__frexpf_use=yes
54709 else
54710 glibcxx_cv_func__frexpf_use=no
54711 fi
54712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54713 ac_ext=c
54714 ac_cpp='$CPP $CPPFLAGS'
54715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54718
54719
54720 fi
54721
54722 fi
54723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54724 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54725
54726 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54727 for ac_func in _frexpf
54728 do :
54729 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54730 if test "x$ac_cv_func__frexpf" = x""yes; then :
54731 cat >>confdefs.h <<_ACEOF
54732 #define HAVE__FREXPF 1
54733 _ACEOF
54734
54735 fi
54736 done
54737
54738 fi
54739 fi
54740
54741
54742
54743
54744
54745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54746 $as_echo_n "checking for hypotf declaration... " >&6; }
54747 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54748 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54749 $as_echo_n "(cached) " >&6
54750 else
54751
54752
54753 ac_ext=cpp
54754 ac_cpp='$CXXCPP $CPPFLAGS'
54755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54758
54759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54760 /* end confdefs.h. */
54761 #include <math.h>
54762 int
54763 main ()
54764 {
54765 hypotf(0, 0);
54766 ;
54767 return 0;
54768 }
54769 _ACEOF
54770 if ac_fn_cxx_try_compile "$LINENO"; then :
54771 glibcxx_cv_func_hypotf_use=yes
54772 else
54773 glibcxx_cv_func_hypotf_use=no
54774 fi
54775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54776 ac_ext=c
54777 ac_cpp='$CPP $CPPFLAGS'
54778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54781
54782
54783 fi
54784
54785 fi
54786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54787 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54788
54789 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54790 for ac_func in hypotf
54791 do :
54792 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54793 if test "x$ac_cv_func_hypotf" = x""yes; then :
54794 cat >>confdefs.h <<_ACEOF
54795 #define HAVE_HYPOTF 1
54796 _ACEOF
54797
54798 fi
54799 done
54800
54801 else
54802
54803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54804 $as_echo_n "checking for _hypotf declaration... " >&6; }
54805 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54806 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54807 $as_echo_n "(cached) " >&6
54808 else
54809
54810
54811 ac_ext=cpp
54812 ac_cpp='$CXXCPP $CPPFLAGS'
54813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54816
54817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54818 /* end confdefs.h. */
54819 #include <math.h>
54820 int
54821 main ()
54822 {
54823 _hypotf(0, 0);
54824 ;
54825 return 0;
54826 }
54827 _ACEOF
54828 if ac_fn_cxx_try_compile "$LINENO"; then :
54829 glibcxx_cv_func__hypotf_use=yes
54830 else
54831 glibcxx_cv_func__hypotf_use=no
54832 fi
54833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54834 ac_ext=c
54835 ac_cpp='$CPP $CPPFLAGS'
54836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54839
54840
54841 fi
54842
54843 fi
54844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54845 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54846
54847 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54848 for ac_func in _hypotf
54849 do :
54850 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54851 if test "x$ac_cv_func__hypotf" = x""yes; then :
54852 cat >>confdefs.h <<_ACEOF
54853 #define HAVE__HYPOTF 1
54854 _ACEOF
54855
54856 fi
54857 done
54858
54859 fi
54860 fi
54861
54862
54863
54864
54865
54866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54867 $as_echo_n "checking for ldexpf declaration... " >&6; }
54868 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54869 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54870 $as_echo_n "(cached) " >&6
54871 else
54872
54873
54874 ac_ext=cpp
54875 ac_cpp='$CXXCPP $CPPFLAGS'
54876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54879
54880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54881 /* end confdefs.h. */
54882 #include <math.h>
54883 int
54884 main ()
54885 {
54886 ldexpf(0, 0);
54887 ;
54888 return 0;
54889 }
54890 _ACEOF
54891 if ac_fn_cxx_try_compile "$LINENO"; then :
54892 glibcxx_cv_func_ldexpf_use=yes
54893 else
54894 glibcxx_cv_func_ldexpf_use=no
54895 fi
54896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54897 ac_ext=c
54898 ac_cpp='$CPP $CPPFLAGS'
54899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54902
54903
54904 fi
54905
54906 fi
54907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54908 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54909
54910 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54911 for ac_func in ldexpf
54912 do :
54913 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54914 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54915 cat >>confdefs.h <<_ACEOF
54916 #define HAVE_LDEXPF 1
54917 _ACEOF
54918
54919 fi
54920 done
54921
54922 else
54923
54924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54925 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54926 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54927 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54928 $as_echo_n "(cached) " >&6
54929 else
54930
54931
54932 ac_ext=cpp
54933 ac_cpp='$CXXCPP $CPPFLAGS'
54934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54937
54938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54939 /* end confdefs.h. */
54940 #include <math.h>
54941 int
54942 main ()
54943 {
54944 _ldexpf(0, 0);
54945 ;
54946 return 0;
54947 }
54948 _ACEOF
54949 if ac_fn_cxx_try_compile "$LINENO"; then :
54950 glibcxx_cv_func__ldexpf_use=yes
54951 else
54952 glibcxx_cv_func__ldexpf_use=no
54953 fi
54954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54955 ac_ext=c
54956 ac_cpp='$CPP $CPPFLAGS'
54957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54960
54961
54962 fi
54963
54964 fi
54965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54966 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54967
54968 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54969 for ac_func in _ldexpf
54970 do :
54971 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54972 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54973 cat >>confdefs.h <<_ACEOF
54974 #define HAVE__LDEXPF 1
54975 _ACEOF
54976
54977 fi
54978 done
54979
54980 fi
54981 fi
54982
54983
54984
54985
54986
54987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54988 $as_echo_n "checking for logf declaration... " >&6; }
54989 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54990 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54991 $as_echo_n "(cached) " >&6
54992 else
54993
54994
54995 ac_ext=cpp
54996 ac_cpp='$CXXCPP $CPPFLAGS'
54997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55000
55001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55002 /* end confdefs.h. */
55003 #include <math.h>
55004 #ifdef HAVE_IEEEFP_H
55005 #include <ieeefp.h>
55006 #endif
55007
55008 int
55009 main ()
55010 {
55011 logf(0);
55012 ;
55013 return 0;
55014 }
55015 _ACEOF
55016 if ac_fn_cxx_try_compile "$LINENO"; then :
55017 glibcxx_cv_func_logf_use=yes
55018 else
55019 glibcxx_cv_func_logf_use=no
55020 fi
55021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55022 ac_ext=c
55023 ac_cpp='$CPP $CPPFLAGS'
55024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55027
55028
55029 fi
55030
55031 fi
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55033 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55034
55035 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55036 for ac_func in logf
55037 do :
55038 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55039 if test "x$ac_cv_func_logf" = x""yes; then :
55040 cat >>confdefs.h <<_ACEOF
55041 #define HAVE_LOGF 1
55042 _ACEOF
55043
55044 fi
55045 done
55046
55047 else
55048
55049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55050 $as_echo_n "checking for _logf declaration... " >&6; }
55051 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55052 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55053 $as_echo_n "(cached) " >&6
55054 else
55055
55056
55057 ac_ext=cpp
55058 ac_cpp='$CXXCPP $CPPFLAGS'
55059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55062
55063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55064 /* end confdefs.h. */
55065 #include <math.h>
55066 #ifdef HAVE_IEEEFP_H
55067 #include <ieeefp.h>
55068 #endif
55069
55070 int
55071 main ()
55072 {
55073 _logf(0);
55074 ;
55075 return 0;
55076 }
55077 _ACEOF
55078 if ac_fn_cxx_try_compile "$LINENO"; then :
55079 glibcxx_cv_func__logf_use=yes
55080 else
55081 glibcxx_cv_func__logf_use=no
55082 fi
55083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55084 ac_ext=c
55085 ac_cpp='$CPP $CPPFLAGS'
55086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55089
55090
55091 fi
55092
55093 fi
55094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55095 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55096
55097 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55098 for ac_func in _logf
55099 do :
55100 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55101 if test "x$ac_cv_func__logf" = x""yes; then :
55102 cat >>confdefs.h <<_ACEOF
55103 #define HAVE__LOGF 1
55104 _ACEOF
55105
55106 fi
55107 done
55108
55109 fi
55110 fi
55111
55112
55113
55114
55115
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55117 $as_echo_n "checking for log10f declaration... " >&6; }
55118 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55119 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55120 $as_echo_n "(cached) " >&6
55121 else
55122
55123
55124 ac_ext=cpp
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55129
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55132 #include <math.h>
55133 #ifdef HAVE_IEEEFP_H
55134 #include <ieeefp.h>
55135 #endif
55136
55137 int
55138 main ()
55139 {
55140 log10f(0);
55141 ;
55142 return 0;
55143 }
55144 _ACEOF
55145 if ac_fn_cxx_try_compile "$LINENO"; then :
55146 glibcxx_cv_func_log10f_use=yes
55147 else
55148 glibcxx_cv_func_log10f_use=no
55149 fi
55150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55151 ac_ext=c
55152 ac_cpp='$CPP $CPPFLAGS'
55153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55156
55157
55158 fi
55159
55160 fi
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55162 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55163
55164 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55165 for ac_func in log10f
55166 do :
55167 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55168 if test "x$ac_cv_func_log10f" = x""yes; then :
55169 cat >>confdefs.h <<_ACEOF
55170 #define HAVE_LOG10F 1
55171 _ACEOF
55172
55173 fi
55174 done
55175
55176 else
55177
55178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55179 $as_echo_n "checking for _log10f declaration... " >&6; }
55180 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55181 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55182 $as_echo_n "(cached) " >&6
55183 else
55184
55185
55186 ac_ext=cpp
55187 ac_cpp='$CXXCPP $CPPFLAGS'
55188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55191
55192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55193 /* end confdefs.h. */
55194 #include <math.h>
55195 #ifdef HAVE_IEEEFP_H
55196 #include <ieeefp.h>
55197 #endif
55198
55199 int
55200 main ()
55201 {
55202 _log10f(0);
55203 ;
55204 return 0;
55205 }
55206 _ACEOF
55207 if ac_fn_cxx_try_compile "$LINENO"; then :
55208 glibcxx_cv_func__log10f_use=yes
55209 else
55210 glibcxx_cv_func__log10f_use=no
55211 fi
55212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55213 ac_ext=c
55214 ac_cpp='$CPP $CPPFLAGS'
55215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55218
55219
55220 fi
55221
55222 fi
55223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55224 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55225
55226 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55227 for ac_func in _log10f
55228 do :
55229 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55230 if test "x$ac_cv_func__log10f" = x""yes; then :
55231 cat >>confdefs.h <<_ACEOF
55232 #define HAVE__LOG10F 1
55233 _ACEOF
55234
55235 fi
55236 done
55237
55238 fi
55239 fi
55240
55241
55242
55243
55244
55245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55246 $as_echo_n "checking for modff declaration... " >&6; }
55247 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55248 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55249 $as_echo_n "(cached) " >&6
55250 else
55251
55252
55253 ac_ext=cpp
55254 ac_cpp='$CXXCPP $CPPFLAGS'
55255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55258
55259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55260 /* end confdefs.h. */
55261 #include <math.h>
55262 int
55263 main ()
55264 {
55265 modff(0, 0);
55266 ;
55267 return 0;
55268 }
55269 _ACEOF
55270 if ac_fn_cxx_try_compile "$LINENO"; then :
55271 glibcxx_cv_func_modff_use=yes
55272 else
55273 glibcxx_cv_func_modff_use=no
55274 fi
55275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55276 ac_ext=c
55277 ac_cpp='$CPP $CPPFLAGS'
55278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55281
55282
55283 fi
55284
55285 fi
55286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55287 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55288
55289 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55290 for ac_func in modff
55291 do :
55292 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55293 if test "x$ac_cv_func_modff" = x""yes; then :
55294 cat >>confdefs.h <<_ACEOF
55295 #define HAVE_MODFF 1
55296 _ACEOF
55297
55298 fi
55299 done
55300
55301 else
55302
55303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55304 $as_echo_n "checking for _modff declaration... " >&6; }
55305 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55306 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55307 $as_echo_n "(cached) " >&6
55308 else
55309
55310
55311 ac_ext=cpp
55312 ac_cpp='$CXXCPP $CPPFLAGS'
55313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55316
55317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55318 /* end confdefs.h. */
55319 #include <math.h>
55320 int
55321 main ()
55322 {
55323 _modff(0, 0);
55324 ;
55325 return 0;
55326 }
55327 _ACEOF
55328 if ac_fn_cxx_try_compile "$LINENO"; then :
55329 glibcxx_cv_func__modff_use=yes
55330 else
55331 glibcxx_cv_func__modff_use=no
55332 fi
55333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55334 ac_ext=c
55335 ac_cpp='$CPP $CPPFLAGS'
55336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55339
55340
55341 fi
55342
55343 fi
55344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55345 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55346
55347 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55348 for ac_func in _modff
55349 do :
55350 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55351 if test "x$ac_cv_func__modff" = x""yes; then :
55352 cat >>confdefs.h <<_ACEOF
55353 #define HAVE__MODFF 1
55354 _ACEOF
55355
55356 fi
55357 done
55358
55359 fi
55360 fi
55361
55362
55363
55364
55365
55366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55367 $as_echo_n "checking for modf declaration... " >&6; }
55368 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55369 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55370 $as_echo_n "(cached) " >&6
55371 else
55372
55373
55374 ac_ext=cpp
55375 ac_cpp='$CXXCPP $CPPFLAGS'
55376 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55377 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55378 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55379
55380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55381 /* end confdefs.h. */
55382 #include <math.h>
55383 int
55384 main ()
55385 {
55386 modf(0, 0);
55387 ;
55388 return 0;
55389 }
55390 _ACEOF
55391 if ac_fn_cxx_try_compile "$LINENO"; then :
55392 glibcxx_cv_func_modf_use=yes
55393 else
55394 glibcxx_cv_func_modf_use=no
55395 fi
55396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55397 ac_ext=c
55398 ac_cpp='$CPP $CPPFLAGS'
55399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55402
55403
55404 fi
55405
55406 fi
55407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55408 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55409
55410 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55411 for ac_func in modf
55412 do :
55413 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55414 if test "x$ac_cv_func_modf" = x""yes; then :
55415 cat >>confdefs.h <<_ACEOF
55416 #define HAVE_MODF 1
55417 _ACEOF
55418
55419 fi
55420 done
55421
55422 else
55423
55424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55425 $as_echo_n "checking for _modf declaration... " >&6; }
55426 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55427 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55428 $as_echo_n "(cached) " >&6
55429 else
55430
55431
55432 ac_ext=cpp
55433 ac_cpp='$CXXCPP $CPPFLAGS'
55434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55437
55438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55439 /* end confdefs.h. */
55440 #include <math.h>
55441 int
55442 main ()
55443 {
55444 _modf(0, 0);
55445 ;
55446 return 0;
55447 }
55448 _ACEOF
55449 if ac_fn_cxx_try_compile "$LINENO"; then :
55450 glibcxx_cv_func__modf_use=yes
55451 else
55452 glibcxx_cv_func__modf_use=no
55453 fi
55454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55455 ac_ext=c
55456 ac_cpp='$CPP $CPPFLAGS'
55457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55460
55461
55462 fi
55463
55464 fi
55465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55466 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55467
55468 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55469 for ac_func in _modf
55470 do :
55471 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55472 if test "x$ac_cv_func__modf" = x""yes; then :
55473 cat >>confdefs.h <<_ACEOF
55474 #define HAVE__MODF 1
55475 _ACEOF
55476
55477 fi
55478 done
55479
55480 fi
55481 fi
55482
55483
55484
55485
55486
55487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55488 $as_echo_n "checking for powf declaration... " >&6; }
55489 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55490 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55491 $as_echo_n "(cached) " >&6
55492 else
55493
55494
55495 ac_ext=cpp
55496 ac_cpp='$CXXCPP $CPPFLAGS'
55497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55500
55501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55502 /* end confdefs.h. */
55503 #include <math.h>
55504 int
55505 main ()
55506 {
55507 powf(0, 0);
55508 ;
55509 return 0;
55510 }
55511 _ACEOF
55512 if ac_fn_cxx_try_compile "$LINENO"; then :
55513 glibcxx_cv_func_powf_use=yes
55514 else
55515 glibcxx_cv_func_powf_use=no
55516 fi
55517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55518 ac_ext=c
55519 ac_cpp='$CPP $CPPFLAGS'
55520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55523
55524
55525 fi
55526
55527 fi
55528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55529 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55530
55531 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55532 for ac_func in powf
55533 do :
55534 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55535 if test "x$ac_cv_func_powf" = x""yes; then :
55536 cat >>confdefs.h <<_ACEOF
55537 #define HAVE_POWF 1
55538 _ACEOF
55539
55540 fi
55541 done
55542
55543 else
55544
55545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55546 $as_echo_n "checking for _powf declaration... " >&6; }
55547 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55548 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55549 $as_echo_n "(cached) " >&6
55550 else
55551
55552
55553 ac_ext=cpp
55554 ac_cpp='$CXXCPP $CPPFLAGS'
55555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55558
55559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55560 /* end confdefs.h. */
55561 #include <math.h>
55562 int
55563 main ()
55564 {
55565 _powf(0, 0);
55566 ;
55567 return 0;
55568 }
55569 _ACEOF
55570 if ac_fn_cxx_try_compile "$LINENO"; then :
55571 glibcxx_cv_func__powf_use=yes
55572 else
55573 glibcxx_cv_func__powf_use=no
55574 fi
55575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55576 ac_ext=c
55577 ac_cpp='$CPP $CPPFLAGS'
55578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55581
55582
55583 fi
55584
55585 fi
55586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55587 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55588
55589 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55590 for ac_func in _powf
55591 do :
55592 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55593 if test "x$ac_cv_func__powf" = x""yes; then :
55594 cat >>confdefs.h <<_ACEOF
55595 #define HAVE__POWF 1
55596 _ACEOF
55597
55598 fi
55599 done
55600
55601 fi
55602 fi
55603
55604
55605
55606
55607
55608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55609 $as_echo_n "checking for sqrtf declaration... " >&6; }
55610 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55611 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55612 $as_echo_n "(cached) " >&6
55613 else
55614
55615
55616 ac_ext=cpp
55617 ac_cpp='$CXXCPP $CPPFLAGS'
55618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55621
55622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55623 /* end confdefs.h. */
55624 #include <math.h>
55625 #ifdef HAVE_IEEEFP_H
55626 #include <ieeefp.h>
55627 #endif
55628
55629 int
55630 main ()
55631 {
55632 sqrtf(0);
55633 ;
55634 return 0;
55635 }
55636 _ACEOF
55637 if ac_fn_cxx_try_compile "$LINENO"; then :
55638 glibcxx_cv_func_sqrtf_use=yes
55639 else
55640 glibcxx_cv_func_sqrtf_use=no
55641 fi
55642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55643 ac_ext=c
55644 ac_cpp='$CPP $CPPFLAGS'
55645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55648
55649
55650 fi
55651
55652 fi
55653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55654 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55655
55656 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55657 for ac_func in sqrtf
55658 do :
55659 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55660 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55661 cat >>confdefs.h <<_ACEOF
55662 #define HAVE_SQRTF 1
55663 _ACEOF
55664
55665 fi
55666 done
55667
55668 else
55669
55670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55671 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55672 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55673 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55674 $as_echo_n "(cached) " >&6
55675 else
55676
55677
55678 ac_ext=cpp
55679 ac_cpp='$CXXCPP $CPPFLAGS'
55680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55683
55684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55685 /* end confdefs.h. */
55686 #include <math.h>
55687 #ifdef HAVE_IEEEFP_H
55688 #include <ieeefp.h>
55689 #endif
55690
55691 int
55692 main ()
55693 {
55694 _sqrtf(0);
55695 ;
55696 return 0;
55697 }
55698 _ACEOF
55699 if ac_fn_cxx_try_compile "$LINENO"; then :
55700 glibcxx_cv_func__sqrtf_use=yes
55701 else
55702 glibcxx_cv_func__sqrtf_use=no
55703 fi
55704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55705 ac_ext=c
55706 ac_cpp='$CPP $CPPFLAGS'
55707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55710
55711
55712 fi
55713
55714 fi
55715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55716 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55717
55718 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55719 for ac_func in _sqrtf
55720 do :
55721 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55722 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55723 cat >>confdefs.h <<_ACEOF
55724 #define HAVE__SQRTF 1
55725 _ACEOF
55726
55727 fi
55728 done
55729
55730 fi
55731 fi
55732
55733
55734
55735
55736
55737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55738 $as_echo_n "checking for sincosf declaration... " >&6; }
55739 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55740 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55741 $as_echo_n "(cached) " >&6
55742 else
55743
55744
55745 ac_ext=cpp
55746 ac_cpp='$CXXCPP $CPPFLAGS'
55747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55750
55751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55752 /* end confdefs.h. */
55753 #include <math.h>
55754 int
55755 main ()
55756 {
55757 sincosf(0, 0, 0);
55758 ;
55759 return 0;
55760 }
55761 _ACEOF
55762 if ac_fn_cxx_try_compile "$LINENO"; then :
55763 glibcxx_cv_func_sincosf_use=yes
55764 else
55765 glibcxx_cv_func_sincosf_use=no
55766 fi
55767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55768 ac_ext=c
55769 ac_cpp='$CPP $CPPFLAGS'
55770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55773
55774
55775 fi
55776
55777 fi
55778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55779 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55780
55781 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55782 for ac_func in sincosf
55783 do :
55784 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55785 if test "x$ac_cv_func_sincosf" = x""yes; then :
55786 cat >>confdefs.h <<_ACEOF
55787 #define HAVE_SINCOSF 1
55788 _ACEOF
55789
55790 fi
55791 done
55792
55793 else
55794
55795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55796 $as_echo_n "checking for _sincosf declaration... " >&6; }
55797 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55798 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55799 $as_echo_n "(cached) " >&6
55800 else
55801
55802
55803 ac_ext=cpp
55804 ac_cpp='$CXXCPP $CPPFLAGS'
55805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55808
55809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55810 /* end confdefs.h. */
55811 #include <math.h>
55812 int
55813 main ()
55814 {
55815 _sincosf(0, 0, 0);
55816 ;
55817 return 0;
55818 }
55819 _ACEOF
55820 if ac_fn_cxx_try_compile "$LINENO"; then :
55821 glibcxx_cv_func__sincosf_use=yes
55822 else
55823 glibcxx_cv_func__sincosf_use=no
55824 fi
55825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55826 ac_ext=c
55827 ac_cpp='$CPP $CPPFLAGS'
55828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55831
55832
55833 fi
55834
55835 fi
55836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55837 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55838
55839 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55840 for ac_func in _sincosf
55841 do :
55842 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55843 if test "x$ac_cv_func__sincosf" = x""yes; then :
55844 cat >>confdefs.h <<_ACEOF
55845 #define HAVE__SINCOSF 1
55846 _ACEOF
55847
55848 fi
55849 done
55850
55851 fi
55852 fi
55853
55854
55855
55856
55857
55858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55859 $as_echo_n "checking for finitef declaration... " >&6; }
55860 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55861 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55862 $as_echo_n "(cached) " >&6
55863 else
55864
55865
55866 ac_ext=cpp
55867 ac_cpp='$CXXCPP $CPPFLAGS'
55868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55871
55872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55873 /* end confdefs.h. */
55874 #include <math.h>
55875 #ifdef HAVE_IEEEFP_H
55876 #include <ieeefp.h>
55877 #endif
55878
55879 int
55880 main ()
55881 {
55882 finitef(0);
55883 ;
55884 return 0;
55885 }
55886 _ACEOF
55887 if ac_fn_cxx_try_compile "$LINENO"; then :
55888 glibcxx_cv_func_finitef_use=yes
55889 else
55890 glibcxx_cv_func_finitef_use=no
55891 fi
55892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55893 ac_ext=c
55894 ac_cpp='$CPP $CPPFLAGS'
55895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55898
55899
55900 fi
55901
55902 fi
55903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55904 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55905
55906 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55907 for ac_func in finitef
55908 do :
55909 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55910 if test "x$ac_cv_func_finitef" = x""yes; then :
55911 cat >>confdefs.h <<_ACEOF
55912 #define HAVE_FINITEF 1
55913 _ACEOF
55914
55915 fi
55916 done
55917
55918 else
55919
55920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55921 $as_echo_n "checking for _finitef declaration... " >&6; }
55922 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55923 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55924 $as_echo_n "(cached) " >&6
55925 else
55926
55927
55928 ac_ext=cpp
55929 ac_cpp='$CXXCPP $CPPFLAGS'
55930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55933
55934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55935 /* end confdefs.h. */
55936 #include <math.h>
55937 #ifdef HAVE_IEEEFP_H
55938 #include <ieeefp.h>
55939 #endif
55940
55941 int
55942 main ()
55943 {
55944 _finitef(0);
55945 ;
55946 return 0;
55947 }
55948 _ACEOF
55949 if ac_fn_cxx_try_compile "$LINENO"; then :
55950 glibcxx_cv_func__finitef_use=yes
55951 else
55952 glibcxx_cv_func__finitef_use=no
55953 fi
55954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55955 ac_ext=c
55956 ac_cpp='$CPP $CPPFLAGS'
55957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55960
55961
55962 fi
55963
55964 fi
55965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55966 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55967
55968 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55969 for ac_func in _finitef
55970 do :
55971 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55972 if test "x$ac_cv_func__finitef" = x""yes; then :
55973 cat >>confdefs.h <<_ACEOF
55974 #define HAVE__FINITEF 1
55975 _ACEOF
55976
55977 fi
55978 done
55979
55980 fi
55981 fi
55982
55983
55984
55985
55986
55987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55988 $as_echo_n "checking for long double trig functions... " >&6; }
55989 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55990 $as_echo_n "(cached) " >&6
55991 else
55992
55993
55994 ac_ext=cpp
55995 ac_cpp='$CXXCPP $CPPFLAGS'
55996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55999
56000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56001 /* end confdefs.h. */
56002 #include <math.h>
56003 int
56004 main ()
56005 {
56006 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56007 ;
56008 return 0;
56009 }
56010 _ACEOF
56011 if ac_fn_cxx_try_compile "$LINENO"; then :
56012 glibcxx_cv_func_long_double_trig_use=yes
56013 else
56014 glibcxx_cv_func_long_double_trig_use=no
56015 fi
56016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56017 ac_ext=c
56018 ac_cpp='$CPP $CPPFLAGS'
56019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56022
56023 fi
56024
56025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56026 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56027 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56028 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56029 do :
56030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56032 eval as_val=\$$as_ac_var
56033 if test "x$as_val" = x""yes; then :
56034 cat >>confdefs.h <<_ACEOF
56035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56036 _ACEOF
56037
56038 fi
56039 done
56040
56041 else
56042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56043 $as_echo_n "checking for _long double trig functions... " >&6; }
56044 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56045 $as_echo_n "(cached) " >&6
56046 else
56047
56048
56049 ac_ext=cpp
56050 ac_cpp='$CXXCPP $CPPFLAGS'
56051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56054
56055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56056 /* end confdefs.h. */
56057 #include <math.h>
56058 int
56059 main ()
56060 {
56061 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56062 ;
56063 return 0;
56064 }
56065 _ACEOF
56066 if ac_fn_cxx_try_compile "$LINENO"; then :
56067 glibcxx_cv_func__long_double_trig_use=yes
56068 else
56069 glibcxx_cv_func__long_double_trig_use=no
56070 fi
56071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56072 ac_ext=c
56073 ac_cpp='$CPP $CPPFLAGS'
56074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56077
56078 fi
56079
56080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56081 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56082 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56083 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56084 do :
56085 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56086 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56087 eval as_val=\$$as_ac_var
56088 if test "x$as_val" = x""yes; then :
56089 cat >>confdefs.h <<_ACEOF
56090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56091 _ACEOF
56092
56093 fi
56094 done
56095
56096 fi
56097 fi
56098
56099
56100
56101
56102
56103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56104 $as_echo_n "checking for long double round functions... " >&6; }
56105 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56106 $as_echo_n "(cached) " >&6
56107 else
56108
56109
56110 ac_ext=cpp
56111 ac_cpp='$CXXCPP $CPPFLAGS'
56112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56115
56116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56117 /* end confdefs.h. */
56118 #include <math.h>
56119 int
56120 main ()
56121 {
56122 ceill (0); floorl (0);
56123 ;
56124 return 0;
56125 }
56126 _ACEOF
56127 if ac_fn_cxx_try_compile "$LINENO"; then :
56128 glibcxx_cv_func_long_double_round_use=yes
56129 else
56130 glibcxx_cv_func_long_double_round_use=no
56131 fi
56132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56133 ac_ext=c
56134 ac_cpp='$CPP $CPPFLAGS'
56135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56138
56139 fi
56140
56141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56142 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56143 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56144 for ac_func in ceill floorl
56145 do :
56146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56148 eval as_val=\$$as_ac_var
56149 if test "x$as_val" = x""yes; then :
56150 cat >>confdefs.h <<_ACEOF
56151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56152 _ACEOF
56153
56154 fi
56155 done
56156
56157 else
56158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56159 $as_echo_n "checking for _long double round functions... " >&6; }
56160 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56161 $as_echo_n "(cached) " >&6
56162 else
56163
56164
56165 ac_ext=cpp
56166 ac_cpp='$CXXCPP $CPPFLAGS'
56167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56170
56171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56172 /* end confdefs.h. */
56173 #include <math.h>
56174 int
56175 main ()
56176 {
56177 _ceill (0); _floorl (0);
56178 ;
56179 return 0;
56180 }
56181 _ACEOF
56182 if ac_fn_cxx_try_compile "$LINENO"; then :
56183 glibcxx_cv_func__long_double_round_use=yes
56184 else
56185 glibcxx_cv_func__long_double_round_use=no
56186 fi
56187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56188 ac_ext=c
56189 ac_cpp='$CPP $CPPFLAGS'
56190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56193
56194 fi
56195
56196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56197 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56198 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56199 for ac_func in _ceill _floorl
56200 do :
56201 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56202 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56203 eval as_val=\$$as_ac_var
56204 if test "x$as_val" = x""yes; then :
56205 cat >>confdefs.h <<_ACEOF
56206 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56207 _ACEOF
56208
56209 fi
56210 done
56211
56212 fi
56213 fi
56214
56215
56216
56217
56218
56219
56220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56221 $as_echo_n "checking for isnanl declaration... " >&6; }
56222 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56223 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56224 $as_echo_n "(cached) " >&6
56225 else
56226
56227
56228 ac_ext=cpp
56229 ac_cpp='$CXXCPP $CPPFLAGS'
56230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56233
56234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56235 /* end confdefs.h. */
56236 #include <math.h>
56237 #ifdef HAVE_IEEEFP_H
56238 #include <ieeefp.h>
56239 #endif
56240
56241 int
56242 main ()
56243 {
56244 isnanl(0);
56245 ;
56246 return 0;
56247 }
56248 _ACEOF
56249 if ac_fn_cxx_try_compile "$LINENO"; then :
56250 glibcxx_cv_func_isnanl_use=yes
56251 else
56252 glibcxx_cv_func_isnanl_use=no
56253 fi
56254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56255 ac_ext=c
56256 ac_cpp='$CPP $CPPFLAGS'
56257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56260
56261
56262 fi
56263
56264 fi
56265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56266 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56267
56268 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56269 for ac_func in isnanl
56270 do :
56271 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56272 if test "x$ac_cv_func_isnanl" = x""yes; then :
56273 cat >>confdefs.h <<_ACEOF
56274 #define HAVE_ISNANL 1
56275 _ACEOF
56276
56277 fi
56278 done
56279
56280 else
56281
56282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56283 $as_echo_n "checking for _isnanl declaration... " >&6; }
56284 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56285 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56286 $as_echo_n "(cached) " >&6
56287 else
56288
56289
56290 ac_ext=cpp
56291 ac_cpp='$CXXCPP $CPPFLAGS'
56292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56295
56296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56297 /* end confdefs.h. */
56298 #include <math.h>
56299 #ifdef HAVE_IEEEFP_H
56300 #include <ieeefp.h>
56301 #endif
56302
56303 int
56304 main ()
56305 {
56306 _isnanl(0);
56307 ;
56308 return 0;
56309 }
56310 _ACEOF
56311 if ac_fn_cxx_try_compile "$LINENO"; then :
56312 glibcxx_cv_func__isnanl_use=yes
56313 else
56314 glibcxx_cv_func__isnanl_use=no
56315 fi
56316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56317 ac_ext=c
56318 ac_cpp='$CPP $CPPFLAGS'
56319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56322
56323
56324 fi
56325
56326 fi
56327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56328 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56329
56330 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56331 for ac_func in _isnanl
56332 do :
56333 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56334 if test "x$ac_cv_func__isnanl" = x""yes; then :
56335 cat >>confdefs.h <<_ACEOF
56336 #define HAVE__ISNANL 1
56337 _ACEOF
56338
56339 fi
56340 done
56341
56342 fi
56343 fi
56344
56345
56346
56347
56348
56349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56350 $as_echo_n "checking for isinfl declaration... " >&6; }
56351 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56352 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56353 $as_echo_n "(cached) " >&6
56354 else
56355
56356
56357 ac_ext=cpp
56358 ac_cpp='$CXXCPP $CPPFLAGS'
56359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56362
56363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56364 /* end confdefs.h. */
56365 #include <math.h>
56366 #ifdef HAVE_IEEEFP_H
56367 #include <ieeefp.h>
56368 #endif
56369
56370 int
56371 main ()
56372 {
56373 isinfl(0);
56374 ;
56375 return 0;
56376 }
56377 _ACEOF
56378 if ac_fn_cxx_try_compile "$LINENO"; then :
56379 glibcxx_cv_func_isinfl_use=yes
56380 else
56381 glibcxx_cv_func_isinfl_use=no
56382 fi
56383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56384 ac_ext=c
56385 ac_cpp='$CPP $CPPFLAGS'
56386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56389
56390
56391 fi
56392
56393 fi
56394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56395 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56396
56397 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56398 for ac_func in isinfl
56399 do :
56400 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56401 if test "x$ac_cv_func_isinfl" = x""yes; then :
56402 cat >>confdefs.h <<_ACEOF
56403 #define HAVE_ISINFL 1
56404 _ACEOF
56405
56406 fi
56407 done
56408
56409 else
56410
56411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56412 $as_echo_n "checking for _isinfl declaration... " >&6; }
56413 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56414 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56415 $as_echo_n "(cached) " >&6
56416 else
56417
56418
56419 ac_ext=cpp
56420 ac_cpp='$CXXCPP $CPPFLAGS'
56421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56424
56425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56426 /* end confdefs.h. */
56427 #include <math.h>
56428 #ifdef HAVE_IEEEFP_H
56429 #include <ieeefp.h>
56430 #endif
56431
56432 int
56433 main ()
56434 {
56435 _isinfl(0);
56436 ;
56437 return 0;
56438 }
56439 _ACEOF
56440 if ac_fn_cxx_try_compile "$LINENO"; then :
56441 glibcxx_cv_func__isinfl_use=yes
56442 else
56443 glibcxx_cv_func__isinfl_use=no
56444 fi
56445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56446 ac_ext=c
56447 ac_cpp='$CPP $CPPFLAGS'
56448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56451
56452
56453 fi
56454
56455 fi
56456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56457 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56458
56459 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56460 for ac_func in _isinfl
56461 do :
56462 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56463 if test "x$ac_cv_func__isinfl" = x""yes; then :
56464 cat >>confdefs.h <<_ACEOF
56465 #define HAVE__ISINFL 1
56466 _ACEOF
56467
56468 fi
56469 done
56470
56471 fi
56472 fi
56473
56474
56475
56476
56477
56478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56479 $as_echo_n "checking for atan2l declaration... " >&6; }
56480 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56481 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56482 $as_echo_n "(cached) " >&6
56483 else
56484
56485
56486 ac_ext=cpp
56487 ac_cpp='$CXXCPP $CPPFLAGS'
56488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56491
56492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56493 /* end confdefs.h. */
56494 #include <math.h>
56495 int
56496 main ()
56497 {
56498 atan2l(0, 0);
56499 ;
56500 return 0;
56501 }
56502 _ACEOF
56503 if ac_fn_cxx_try_compile "$LINENO"; then :
56504 glibcxx_cv_func_atan2l_use=yes
56505 else
56506 glibcxx_cv_func_atan2l_use=no
56507 fi
56508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56509 ac_ext=c
56510 ac_cpp='$CPP $CPPFLAGS'
56511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56514
56515
56516 fi
56517
56518 fi
56519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56520 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56521
56522 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56523 for ac_func in atan2l
56524 do :
56525 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56526 if test "x$ac_cv_func_atan2l" = x""yes; then :
56527 cat >>confdefs.h <<_ACEOF
56528 #define HAVE_ATAN2L 1
56529 _ACEOF
56530
56531 fi
56532 done
56533
56534 else
56535
56536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56537 $as_echo_n "checking for _atan2l declaration... " >&6; }
56538 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56539 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56540 $as_echo_n "(cached) " >&6
56541 else
56542
56543
56544 ac_ext=cpp
56545 ac_cpp='$CXXCPP $CPPFLAGS'
56546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56549
56550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56551 /* end confdefs.h. */
56552 #include <math.h>
56553 int
56554 main ()
56555 {
56556 _atan2l(0, 0);
56557 ;
56558 return 0;
56559 }
56560 _ACEOF
56561 if ac_fn_cxx_try_compile "$LINENO"; then :
56562 glibcxx_cv_func__atan2l_use=yes
56563 else
56564 glibcxx_cv_func__atan2l_use=no
56565 fi
56566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56567 ac_ext=c
56568 ac_cpp='$CPP $CPPFLAGS'
56569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56572
56573
56574 fi
56575
56576 fi
56577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56578 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56579
56580 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56581 for ac_func in _atan2l
56582 do :
56583 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56584 if test "x$ac_cv_func__atan2l" = x""yes; then :
56585 cat >>confdefs.h <<_ACEOF
56586 #define HAVE__ATAN2L 1
56587 _ACEOF
56588
56589 fi
56590 done
56591
56592 fi
56593 fi
56594
56595
56596
56597
56598
56599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56600 $as_echo_n "checking for expl declaration... " >&6; }
56601 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56602 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56603 $as_echo_n "(cached) " >&6
56604 else
56605
56606
56607 ac_ext=cpp
56608 ac_cpp='$CXXCPP $CPPFLAGS'
56609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56612
56613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56614 /* end confdefs.h. */
56615 #include <math.h>
56616 #ifdef HAVE_IEEEFP_H
56617 #include <ieeefp.h>
56618 #endif
56619
56620 int
56621 main ()
56622 {
56623 expl(0);
56624 ;
56625 return 0;
56626 }
56627 _ACEOF
56628 if ac_fn_cxx_try_compile "$LINENO"; then :
56629 glibcxx_cv_func_expl_use=yes
56630 else
56631 glibcxx_cv_func_expl_use=no
56632 fi
56633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56634 ac_ext=c
56635 ac_cpp='$CPP $CPPFLAGS'
56636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56639
56640
56641 fi
56642
56643 fi
56644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56645 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56646
56647 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56648 for ac_func in expl
56649 do :
56650 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56651 if test "x$ac_cv_func_expl" = x""yes; then :
56652 cat >>confdefs.h <<_ACEOF
56653 #define HAVE_EXPL 1
56654 _ACEOF
56655
56656 fi
56657 done
56658
56659 else
56660
56661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56662 $as_echo_n "checking for _expl declaration... " >&6; }
56663 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56664 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56665 $as_echo_n "(cached) " >&6
56666 else
56667
56668
56669 ac_ext=cpp
56670 ac_cpp='$CXXCPP $CPPFLAGS'
56671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56674
56675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56676 /* end confdefs.h. */
56677 #include <math.h>
56678 #ifdef HAVE_IEEEFP_H
56679 #include <ieeefp.h>
56680 #endif
56681
56682 int
56683 main ()
56684 {
56685 _expl(0);
56686 ;
56687 return 0;
56688 }
56689 _ACEOF
56690 if ac_fn_cxx_try_compile "$LINENO"; then :
56691 glibcxx_cv_func__expl_use=yes
56692 else
56693 glibcxx_cv_func__expl_use=no
56694 fi
56695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56696 ac_ext=c
56697 ac_cpp='$CPP $CPPFLAGS'
56698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56701
56702
56703 fi
56704
56705 fi
56706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56707 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56708
56709 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56710 for ac_func in _expl
56711 do :
56712 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56713 if test "x$ac_cv_func__expl" = x""yes; then :
56714 cat >>confdefs.h <<_ACEOF
56715 #define HAVE__EXPL 1
56716 _ACEOF
56717
56718 fi
56719 done
56720
56721 fi
56722 fi
56723
56724
56725
56726
56727
56728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56729 $as_echo_n "checking for fabsl declaration... " >&6; }
56730 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56731 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56732 $as_echo_n "(cached) " >&6
56733 else
56734
56735
56736 ac_ext=cpp
56737 ac_cpp='$CXXCPP $CPPFLAGS'
56738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56741
56742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56743 /* end confdefs.h. */
56744 #include <math.h>
56745 #ifdef HAVE_IEEEFP_H
56746 #include <ieeefp.h>
56747 #endif
56748
56749 int
56750 main ()
56751 {
56752 fabsl(0);
56753 ;
56754 return 0;
56755 }
56756 _ACEOF
56757 if ac_fn_cxx_try_compile "$LINENO"; then :
56758 glibcxx_cv_func_fabsl_use=yes
56759 else
56760 glibcxx_cv_func_fabsl_use=no
56761 fi
56762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56763 ac_ext=c
56764 ac_cpp='$CPP $CPPFLAGS'
56765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56768
56769
56770 fi
56771
56772 fi
56773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56774 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56775
56776 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56777 for ac_func in fabsl
56778 do :
56779 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56780 if test "x$ac_cv_func_fabsl" = x""yes; then :
56781 cat >>confdefs.h <<_ACEOF
56782 #define HAVE_FABSL 1
56783 _ACEOF
56784
56785 fi
56786 done
56787
56788 else
56789
56790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56791 $as_echo_n "checking for _fabsl declaration... " >&6; }
56792 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56793 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56794 $as_echo_n "(cached) " >&6
56795 else
56796
56797
56798 ac_ext=cpp
56799 ac_cpp='$CXXCPP $CPPFLAGS'
56800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56803
56804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56805 /* end confdefs.h. */
56806 #include <math.h>
56807 #ifdef HAVE_IEEEFP_H
56808 #include <ieeefp.h>
56809 #endif
56810
56811 int
56812 main ()
56813 {
56814 _fabsl(0);
56815 ;
56816 return 0;
56817 }
56818 _ACEOF
56819 if ac_fn_cxx_try_compile "$LINENO"; then :
56820 glibcxx_cv_func__fabsl_use=yes
56821 else
56822 glibcxx_cv_func__fabsl_use=no
56823 fi
56824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56825 ac_ext=c
56826 ac_cpp='$CPP $CPPFLAGS'
56827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56830
56831
56832 fi
56833
56834 fi
56835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56836 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56837
56838 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56839 for ac_func in _fabsl
56840 do :
56841 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56842 if test "x$ac_cv_func__fabsl" = x""yes; then :
56843 cat >>confdefs.h <<_ACEOF
56844 #define HAVE__FABSL 1
56845 _ACEOF
56846
56847 fi
56848 done
56849
56850 fi
56851 fi
56852
56853
56854
56855
56856
56857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56858 $as_echo_n "checking for fmodl declaration... " >&6; }
56859 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56860 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56861 $as_echo_n "(cached) " >&6
56862 else
56863
56864
56865 ac_ext=cpp
56866 ac_cpp='$CXXCPP $CPPFLAGS'
56867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56870
56871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56872 /* end confdefs.h. */
56873 #include <math.h>
56874 int
56875 main ()
56876 {
56877 fmodl(0, 0);
56878 ;
56879 return 0;
56880 }
56881 _ACEOF
56882 if ac_fn_cxx_try_compile "$LINENO"; then :
56883 glibcxx_cv_func_fmodl_use=yes
56884 else
56885 glibcxx_cv_func_fmodl_use=no
56886 fi
56887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56888 ac_ext=c
56889 ac_cpp='$CPP $CPPFLAGS'
56890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56893
56894
56895 fi
56896
56897 fi
56898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56899 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56900
56901 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56902 for ac_func in fmodl
56903 do :
56904 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56905 if test "x$ac_cv_func_fmodl" = x""yes; then :
56906 cat >>confdefs.h <<_ACEOF
56907 #define HAVE_FMODL 1
56908 _ACEOF
56909
56910 fi
56911 done
56912
56913 else
56914
56915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56916 $as_echo_n "checking for _fmodl declaration... " >&6; }
56917 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56918 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56919 $as_echo_n "(cached) " >&6
56920 else
56921
56922
56923 ac_ext=cpp
56924 ac_cpp='$CXXCPP $CPPFLAGS'
56925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56928
56929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56930 /* end confdefs.h. */
56931 #include <math.h>
56932 int
56933 main ()
56934 {
56935 _fmodl(0, 0);
56936 ;
56937 return 0;
56938 }
56939 _ACEOF
56940 if ac_fn_cxx_try_compile "$LINENO"; then :
56941 glibcxx_cv_func__fmodl_use=yes
56942 else
56943 glibcxx_cv_func__fmodl_use=no
56944 fi
56945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56946 ac_ext=c
56947 ac_cpp='$CPP $CPPFLAGS'
56948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56951
56952
56953 fi
56954
56955 fi
56956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56957 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56958
56959 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56960 for ac_func in _fmodl
56961 do :
56962 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56963 if test "x$ac_cv_func__fmodl" = x""yes; then :
56964 cat >>confdefs.h <<_ACEOF
56965 #define HAVE__FMODL 1
56966 _ACEOF
56967
56968 fi
56969 done
56970
56971 fi
56972 fi
56973
56974
56975
56976
56977
56978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56979 $as_echo_n "checking for frexpl declaration... " >&6; }
56980 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56981 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56982 $as_echo_n "(cached) " >&6
56983 else
56984
56985
56986 ac_ext=cpp
56987 ac_cpp='$CXXCPP $CPPFLAGS'
56988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56991
56992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56993 /* end confdefs.h. */
56994 #include <math.h>
56995 int
56996 main ()
56997 {
56998 frexpl(0, 0);
56999 ;
57000 return 0;
57001 }
57002 _ACEOF
57003 if ac_fn_cxx_try_compile "$LINENO"; then :
57004 glibcxx_cv_func_frexpl_use=yes
57005 else
57006 glibcxx_cv_func_frexpl_use=no
57007 fi
57008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57009 ac_ext=c
57010 ac_cpp='$CPP $CPPFLAGS'
57011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57014
57015
57016 fi
57017
57018 fi
57019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57020 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57021
57022 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57023 for ac_func in frexpl
57024 do :
57025 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57026 if test "x$ac_cv_func_frexpl" = x""yes; then :
57027 cat >>confdefs.h <<_ACEOF
57028 #define HAVE_FREXPL 1
57029 _ACEOF
57030
57031 fi
57032 done
57033
57034 else
57035
57036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57037 $as_echo_n "checking for _frexpl declaration... " >&6; }
57038 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57039 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57040 $as_echo_n "(cached) " >&6
57041 else
57042
57043
57044 ac_ext=cpp
57045 ac_cpp='$CXXCPP $CPPFLAGS'
57046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57049
57050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57051 /* end confdefs.h. */
57052 #include <math.h>
57053 int
57054 main ()
57055 {
57056 _frexpl(0, 0);
57057 ;
57058 return 0;
57059 }
57060 _ACEOF
57061 if ac_fn_cxx_try_compile "$LINENO"; then :
57062 glibcxx_cv_func__frexpl_use=yes
57063 else
57064 glibcxx_cv_func__frexpl_use=no
57065 fi
57066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57067 ac_ext=c
57068 ac_cpp='$CPP $CPPFLAGS'
57069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57072
57073
57074 fi
57075
57076 fi
57077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57078 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57079
57080 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57081 for ac_func in _frexpl
57082 do :
57083 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57084 if test "x$ac_cv_func__frexpl" = x""yes; then :
57085 cat >>confdefs.h <<_ACEOF
57086 #define HAVE__FREXPL 1
57087 _ACEOF
57088
57089 fi
57090 done
57091
57092 fi
57093 fi
57094
57095
57096
57097
57098
57099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57100 $as_echo_n "checking for hypotl declaration... " >&6; }
57101 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57102 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57103 $as_echo_n "(cached) " >&6
57104 else
57105
57106
57107 ac_ext=cpp
57108 ac_cpp='$CXXCPP $CPPFLAGS'
57109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57112
57113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57114 /* end confdefs.h. */
57115 #include <math.h>
57116 int
57117 main ()
57118 {
57119 hypotl(0, 0);
57120 ;
57121 return 0;
57122 }
57123 _ACEOF
57124 if ac_fn_cxx_try_compile "$LINENO"; then :
57125 glibcxx_cv_func_hypotl_use=yes
57126 else
57127 glibcxx_cv_func_hypotl_use=no
57128 fi
57129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57130 ac_ext=c
57131 ac_cpp='$CPP $CPPFLAGS'
57132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57135
57136
57137 fi
57138
57139 fi
57140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57141 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57142
57143 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57144 for ac_func in hypotl
57145 do :
57146 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57147 if test "x$ac_cv_func_hypotl" = x""yes; then :
57148 cat >>confdefs.h <<_ACEOF
57149 #define HAVE_HYPOTL 1
57150 _ACEOF
57151
57152 fi
57153 done
57154
57155 else
57156
57157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57158 $as_echo_n "checking for _hypotl declaration... " >&6; }
57159 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57160 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57161 $as_echo_n "(cached) " >&6
57162 else
57163
57164
57165 ac_ext=cpp
57166 ac_cpp='$CXXCPP $CPPFLAGS'
57167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57170
57171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57172 /* end confdefs.h. */
57173 #include <math.h>
57174 int
57175 main ()
57176 {
57177 _hypotl(0, 0);
57178 ;
57179 return 0;
57180 }
57181 _ACEOF
57182 if ac_fn_cxx_try_compile "$LINENO"; then :
57183 glibcxx_cv_func__hypotl_use=yes
57184 else
57185 glibcxx_cv_func__hypotl_use=no
57186 fi
57187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57188 ac_ext=c
57189 ac_cpp='$CPP $CPPFLAGS'
57190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57193
57194
57195 fi
57196
57197 fi
57198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57199 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57200
57201 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57202 for ac_func in _hypotl
57203 do :
57204 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57205 if test "x$ac_cv_func__hypotl" = x""yes; then :
57206 cat >>confdefs.h <<_ACEOF
57207 #define HAVE__HYPOTL 1
57208 _ACEOF
57209
57210 fi
57211 done
57212
57213 fi
57214 fi
57215
57216
57217
57218
57219
57220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57221 $as_echo_n "checking for ldexpl declaration... " >&6; }
57222 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57223 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57224 $as_echo_n "(cached) " >&6
57225 else
57226
57227
57228 ac_ext=cpp
57229 ac_cpp='$CXXCPP $CPPFLAGS'
57230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57233
57234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57235 /* end confdefs.h. */
57236 #include <math.h>
57237 int
57238 main ()
57239 {
57240 ldexpl(0, 0);
57241 ;
57242 return 0;
57243 }
57244 _ACEOF
57245 if ac_fn_cxx_try_compile "$LINENO"; then :
57246 glibcxx_cv_func_ldexpl_use=yes
57247 else
57248 glibcxx_cv_func_ldexpl_use=no
57249 fi
57250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57251 ac_ext=c
57252 ac_cpp='$CPP $CPPFLAGS'
57253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57256
57257
57258 fi
57259
57260 fi
57261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57262 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57263
57264 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57265 for ac_func in ldexpl
57266 do :
57267 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57268 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57269 cat >>confdefs.h <<_ACEOF
57270 #define HAVE_LDEXPL 1
57271 _ACEOF
57272
57273 fi
57274 done
57275
57276 else
57277
57278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57279 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57280 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57281 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57282 $as_echo_n "(cached) " >&6
57283 else
57284
57285
57286 ac_ext=cpp
57287 ac_cpp='$CXXCPP $CPPFLAGS'
57288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57291
57292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57293 /* end confdefs.h. */
57294 #include <math.h>
57295 int
57296 main ()
57297 {
57298 _ldexpl(0, 0);
57299 ;
57300 return 0;
57301 }
57302 _ACEOF
57303 if ac_fn_cxx_try_compile "$LINENO"; then :
57304 glibcxx_cv_func__ldexpl_use=yes
57305 else
57306 glibcxx_cv_func__ldexpl_use=no
57307 fi
57308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57309 ac_ext=c
57310 ac_cpp='$CPP $CPPFLAGS'
57311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57314
57315
57316 fi
57317
57318 fi
57319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57320 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57321
57322 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57323 for ac_func in _ldexpl
57324 do :
57325 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57326 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57327 cat >>confdefs.h <<_ACEOF
57328 #define HAVE__LDEXPL 1
57329 _ACEOF
57330
57331 fi
57332 done
57333
57334 fi
57335 fi
57336
57337
57338
57339
57340
57341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57342 $as_echo_n "checking for logl declaration... " >&6; }
57343 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57344 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57345 $as_echo_n "(cached) " >&6
57346 else
57347
57348
57349 ac_ext=cpp
57350 ac_cpp='$CXXCPP $CPPFLAGS'
57351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57354
57355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57356 /* end confdefs.h. */
57357 #include <math.h>
57358 #ifdef HAVE_IEEEFP_H
57359 #include <ieeefp.h>
57360 #endif
57361
57362 int
57363 main ()
57364 {
57365 logl(0);
57366 ;
57367 return 0;
57368 }
57369 _ACEOF
57370 if ac_fn_cxx_try_compile "$LINENO"; then :
57371 glibcxx_cv_func_logl_use=yes
57372 else
57373 glibcxx_cv_func_logl_use=no
57374 fi
57375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57376 ac_ext=c
57377 ac_cpp='$CPP $CPPFLAGS'
57378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57381
57382
57383 fi
57384
57385 fi
57386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57387 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57388
57389 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57390 for ac_func in logl
57391 do :
57392 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57393 if test "x$ac_cv_func_logl" = x""yes; then :
57394 cat >>confdefs.h <<_ACEOF
57395 #define HAVE_LOGL 1
57396 _ACEOF
57397
57398 fi
57399 done
57400
57401 else
57402
57403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57404 $as_echo_n "checking for _logl declaration... " >&6; }
57405 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57406 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57407 $as_echo_n "(cached) " >&6
57408 else
57409
57410
57411 ac_ext=cpp
57412 ac_cpp='$CXXCPP $CPPFLAGS'
57413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57416
57417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57418 /* end confdefs.h. */
57419 #include <math.h>
57420 #ifdef HAVE_IEEEFP_H
57421 #include <ieeefp.h>
57422 #endif
57423
57424 int
57425 main ()
57426 {
57427 _logl(0);
57428 ;
57429 return 0;
57430 }
57431 _ACEOF
57432 if ac_fn_cxx_try_compile "$LINENO"; then :
57433 glibcxx_cv_func__logl_use=yes
57434 else
57435 glibcxx_cv_func__logl_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__logl_use" >&5
57449 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57450
57451 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57452 for ac_func in _logl
57453 do :
57454 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57455 if test "x$ac_cv_func__logl" = x""yes; then :
57456 cat >>confdefs.h <<_ACEOF
57457 #define HAVE__LOGL 1
57458 _ACEOF
57459
57460 fi
57461 done
57462
57463 fi
57464 fi
57465
57466
57467
57468
57469
57470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57471 $as_echo_n "checking for log10l declaration... " >&6; }
57472 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57473 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57474 $as_echo_n "(cached) " >&6
57475 else
57476
57477
57478 ac_ext=cpp
57479 ac_cpp='$CXXCPP $CPPFLAGS'
57480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57483
57484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57485 /* end confdefs.h. */
57486 #include <math.h>
57487 #ifdef HAVE_IEEEFP_H
57488 #include <ieeefp.h>
57489 #endif
57490
57491 int
57492 main ()
57493 {
57494 log10l(0);
57495 ;
57496 return 0;
57497 }
57498 _ACEOF
57499 if ac_fn_cxx_try_compile "$LINENO"; then :
57500 glibcxx_cv_func_log10l_use=yes
57501 else
57502 glibcxx_cv_func_log10l_use=no
57503 fi
57504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57505 ac_ext=c
57506 ac_cpp='$CPP $CPPFLAGS'
57507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57510
57511
57512 fi
57513
57514 fi
57515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57516 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57517
57518 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57519 for ac_func in log10l
57520 do :
57521 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57522 if test "x$ac_cv_func_log10l" = x""yes; then :
57523 cat >>confdefs.h <<_ACEOF
57524 #define HAVE_LOG10L 1
57525 _ACEOF
57526
57527 fi
57528 done
57529
57530 else
57531
57532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57533 $as_echo_n "checking for _log10l declaration... " >&6; }
57534 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57535 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57536 $as_echo_n "(cached) " >&6
57537 else
57538
57539
57540 ac_ext=cpp
57541 ac_cpp='$CXXCPP $CPPFLAGS'
57542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57545
57546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57547 /* end confdefs.h. */
57548 #include <math.h>
57549 #ifdef HAVE_IEEEFP_H
57550 #include <ieeefp.h>
57551 #endif
57552
57553 int
57554 main ()
57555 {
57556 _log10l(0);
57557 ;
57558 return 0;
57559 }
57560 _ACEOF
57561 if ac_fn_cxx_try_compile "$LINENO"; then :
57562 glibcxx_cv_func__log10l_use=yes
57563 else
57564 glibcxx_cv_func__log10l_use=no
57565 fi
57566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57567 ac_ext=c
57568 ac_cpp='$CPP $CPPFLAGS'
57569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57572
57573
57574 fi
57575
57576 fi
57577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57578 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57579
57580 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57581 for ac_func in _log10l
57582 do :
57583 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57584 if test "x$ac_cv_func__log10l" = x""yes; then :
57585 cat >>confdefs.h <<_ACEOF
57586 #define HAVE__LOG10L 1
57587 _ACEOF
57588
57589 fi
57590 done
57591
57592 fi
57593 fi
57594
57595
57596
57597
57598
57599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57600 $as_echo_n "checking for modfl declaration... " >&6; }
57601 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57602 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57603 $as_echo_n "(cached) " >&6
57604 else
57605
57606
57607 ac_ext=cpp
57608 ac_cpp='$CXXCPP $CPPFLAGS'
57609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57612
57613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57614 /* end confdefs.h. */
57615 #include <math.h>
57616 int
57617 main ()
57618 {
57619 modfl(0, 0);
57620 ;
57621 return 0;
57622 }
57623 _ACEOF
57624 if ac_fn_cxx_try_compile "$LINENO"; then :
57625 glibcxx_cv_func_modfl_use=yes
57626 else
57627 glibcxx_cv_func_modfl_use=no
57628 fi
57629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57630 ac_ext=c
57631 ac_cpp='$CPP $CPPFLAGS'
57632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57635
57636
57637 fi
57638
57639 fi
57640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57641 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57642
57643 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57644 for ac_func in modfl
57645 do :
57646 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57647 if test "x$ac_cv_func_modfl" = x""yes; then :
57648 cat >>confdefs.h <<_ACEOF
57649 #define HAVE_MODFL 1
57650 _ACEOF
57651
57652 fi
57653 done
57654
57655 else
57656
57657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57658 $as_echo_n "checking for _modfl declaration... " >&6; }
57659 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57660 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57661 $as_echo_n "(cached) " >&6
57662 else
57663
57664
57665 ac_ext=cpp
57666 ac_cpp='$CXXCPP $CPPFLAGS'
57667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57670
57671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57672 /* end confdefs.h. */
57673 #include <math.h>
57674 int
57675 main ()
57676 {
57677 _modfl(0, 0);
57678 ;
57679 return 0;
57680 }
57681 _ACEOF
57682 if ac_fn_cxx_try_compile "$LINENO"; then :
57683 glibcxx_cv_func__modfl_use=yes
57684 else
57685 glibcxx_cv_func__modfl_use=no
57686 fi
57687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57688 ac_ext=c
57689 ac_cpp='$CPP $CPPFLAGS'
57690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57693
57694
57695 fi
57696
57697 fi
57698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57699 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57700
57701 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57702 for ac_func in _modfl
57703 do :
57704 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57705 if test "x$ac_cv_func__modfl" = x""yes; then :
57706 cat >>confdefs.h <<_ACEOF
57707 #define HAVE__MODFL 1
57708 _ACEOF
57709
57710 fi
57711 done
57712
57713 fi
57714 fi
57715
57716
57717
57718
57719
57720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57721 $as_echo_n "checking for powl declaration... " >&6; }
57722 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57723 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57724 $as_echo_n "(cached) " >&6
57725 else
57726
57727
57728 ac_ext=cpp
57729 ac_cpp='$CXXCPP $CPPFLAGS'
57730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57733
57734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57735 /* end confdefs.h. */
57736 #include <math.h>
57737 int
57738 main ()
57739 {
57740 powl(0, 0);
57741 ;
57742 return 0;
57743 }
57744 _ACEOF
57745 if ac_fn_cxx_try_compile "$LINENO"; then :
57746 glibcxx_cv_func_powl_use=yes
57747 else
57748 glibcxx_cv_func_powl_use=no
57749 fi
57750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57751 ac_ext=c
57752 ac_cpp='$CPP $CPPFLAGS'
57753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57756
57757
57758 fi
57759
57760 fi
57761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57762 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57763
57764 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57765 for ac_func in powl
57766 do :
57767 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57768 if test "x$ac_cv_func_powl" = x""yes; then :
57769 cat >>confdefs.h <<_ACEOF
57770 #define HAVE_POWL 1
57771 _ACEOF
57772
57773 fi
57774 done
57775
57776 else
57777
57778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57779 $as_echo_n "checking for _powl declaration... " >&6; }
57780 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57781 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57782 $as_echo_n "(cached) " >&6
57783 else
57784
57785
57786 ac_ext=cpp
57787 ac_cpp='$CXXCPP $CPPFLAGS'
57788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57791
57792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57793 /* end confdefs.h. */
57794 #include <math.h>
57795 int
57796 main ()
57797 {
57798 _powl(0, 0);
57799 ;
57800 return 0;
57801 }
57802 _ACEOF
57803 if ac_fn_cxx_try_compile "$LINENO"; then :
57804 glibcxx_cv_func__powl_use=yes
57805 else
57806 glibcxx_cv_func__powl_use=no
57807 fi
57808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57809 ac_ext=c
57810 ac_cpp='$CPP $CPPFLAGS'
57811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57814
57815
57816 fi
57817
57818 fi
57819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57820 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57821
57822 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57823 for ac_func in _powl
57824 do :
57825 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57826 if test "x$ac_cv_func__powl" = x""yes; then :
57827 cat >>confdefs.h <<_ACEOF
57828 #define HAVE__POWL 1
57829 _ACEOF
57830
57831 fi
57832 done
57833
57834 fi
57835 fi
57836
57837
57838
57839
57840
57841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57842 $as_echo_n "checking for sqrtl declaration... " >&6; }
57843 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57844 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57845 $as_echo_n "(cached) " >&6
57846 else
57847
57848
57849 ac_ext=cpp
57850 ac_cpp='$CXXCPP $CPPFLAGS'
57851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57854
57855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57856 /* end confdefs.h. */
57857 #include <math.h>
57858 #ifdef HAVE_IEEEFP_H
57859 #include <ieeefp.h>
57860 #endif
57861
57862 int
57863 main ()
57864 {
57865 sqrtl(0);
57866 ;
57867 return 0;
57868 }
57869 _ACEOF
57870 if ac_fn_cxx_try_compile "$LINENO"; then :
57871 glibcxx_cv_func_sqrtl_use=yes
57872 else
57873 glibcxx_cv_func_sqrtl_use=no
57874 fi
57875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57876 ac_ext=c
57877 ac_cpp='$CPP $CPPFLAGS'
57878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57881
57882
57883 fi
57884
57885 fi
57886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57887 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57888
57889 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57890 for ac_func in sqrtl
57891 do :
57892 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57893 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57894 cat >>confdefs.h <<_ACEOF
57895 #define HAVE_SQRTL 1
57896 _ACEOF
57897
57898 fi
57899 done
57900
57901 else
57902
57903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57904 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57905 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57906 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57907 $as_echo_n "(cached) " >&6
57908 else
57909
57910
57911 ac_ext=cpp
57912 ac_cpp='$CXXCPP $CPPFLAGS'
57913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57916
57917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57918 /* end confdefs.h. */
57919 #include <math.h>
57920 #ifdef HAVE_IEEEFP_H
57921 #include <ieeefp.h>
57922 #endif
57923
57924 int
57925 main ()
57926 {
57927 _sqrtl(0);
57928 ;
57929 return 0;
57930 }
57931 _ACEOF
57932 if ac_fn_cxx_try_compile "$LINENO"; then :
57933 glibcxx_cv_func__sqrtl_use=yes
57934 else
57935 glibcxx_cv_func__sqrtl_use=no
57936 fi
57937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57938 ac_ext=c
57939 ac_cpp='$CPP $CPPFLAGS'
57940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57943
57944
57945 fi
57946
57947 fi
57948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57949 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57950
57951 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57952 for ac_func in _sqrtl
57953 do :
57954 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57955 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57956 cat >>confdefs.h <<_ACEOF
57957 #define HAVE__SQRTL 1
57958 _ACEOF
57959
57960 fi
57961 done
57962
57963 fi
57964 fi
57965
57966
57967
57968
57969
57970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57971 $as_echo_n "checking for sincosl declaration... " >&6; }
57972 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57973 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57974 $as_echo_n "(cached) " >&6
57975 else
57976
57977
57978 ac_ext=cpp
57979 ac_cpp='$CXXCPP $CPPFLAGS'
57980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57983
57984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57985 /* end confdefs.h. */
57986 #include <math.h>
57987 int
57988 main ()
57989 {
57990 sincosl(0, 0, 0);
57991 ;
57992 return 0;
57993 }
57994 _ACEOF
57995 if ac_fn_cxx_try_compile "$LINENO"; then :
57996 glibcxx_cv_func_sincosl_use=yes
57997 else
57998 glibcxx_cv_func_sincosl_use=no
57999 fi
58000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58001 ac_ext=c
58002 ac_cpp='$CPP $CPPFLAGS'
58003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58006
58007
58008 fi
58009
58010 fi
58011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58012 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58013
58014 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58015 for ac_func in sincosl
58016 do :
58017 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58018 if test "x$ac_cv_func_sincosl" = x""yes; then :
58019 cat >>confdefs.h <<_ACEOF
58020 #define HAVE_SINCOSL 1
58021 _ACEOF
58022
58023 fi
58024 done
58025
58026 else
58027
58028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58029 $as_echo_n "checking for _sincosl declaration... " >&6; }
58030 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58031 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58032 $as_echo_n "(cached) " >&6
58033 else
58034
58035
58036 ac_ext=cpp
58037 ac_cpp='$CXXCPP $CPPFLAGS'
58038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58041
58042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58043 /* end confdefs.h. */
58044 #include <math.h>
58045 int
58046 main ()
58047 {
58048 _sincosl(0, 0, 0);
58049 ;
58050 return 0;
58051 }
58052 _ACEOF
58053 if ac_fn_cxx_try_compile "$LINENO"; then :
58054 glibcxx_cv_func__sincosl_use=yes
58055 else
58056 glibcxx_cv_func__sincosl_use=no
58057 fi
58058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58059 ac_ext=c
58060 ac_cpp='$CPP $CPPFLAGS'
58061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58064
58065
58066 fi
58067
58068 fi
58069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58070 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58071
58072 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58073 for ac_func in _sincosl
58074 do :
58075 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58076 if test "x$ac_cv_func__sincosl" = x""yes; then :
58077 cat >>confdefs.h <<_ACEOF
58078 #define HAVE__SINCOSL 1
58079 _ACEOF
58080
58081 fi
58082 done
58083
58084 fi
58085 fi
58086
58087
58088
58089
58090
58091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58092 $as_echo_n "checking for finitel declaration... " >&6; }
58093 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58094 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58095 $as_echo_n "(cached) " >&6
58096 else
58097
58098
58099 ac_ext=cpp
58100 ac_cpp='$CXXCPP $CPPFLAGS'
58101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58104
58105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58106 /* end confdefs.h. */
58107 #include <math.h>
58108 #ifdef HAVE_IEEEFP_H
58109 #include <ieeefp.h>
58110 #endif
58111
58112 int
58113 main ()
58114 {
58115 finitel(0);
58116 ;
58117 return 0;
58118 }
58119 _ACEOF
58120 if ac_fn_cxx_try_compile "$LINENO"; then :
58121 glibcxx_cv_func_finitel_use=yes
58122 else
58123 glibcxx_cv_func_finitel_use=no
58124 fi
58125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58126 ac_ext=c
58127 ac_cpp='$CPP $CPPFLAGS'
58128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58131
58132
58133 fi
58134
58135 fi
58136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58137 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58138
58139 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58140 for ac_func in finitel
58141 do :
58142 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58143 if test "x$ac_cv_func_finitel" = x""yes; then :
58144 cat >>confdefs.h <<_ACEOF
58145 #define HAVE_FINITEL 1
58146 _ACEOF
58147
58148 fi
58149 done
58150
58151 else
58152
58153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58154 $as_echo_n "checking for _finitel declaration... " >&6; }
58155 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58156 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58157 $as_echo_n "(cached) " >&6
58158 else
58159
58160
58161 ac_ext=cpp
58162 ac_cpp='$CXXCPP $CPPFLAGS'
58163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58166
58167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58168 /* end confdefs.h. */
58169 #include <math.h>
58170 #ifdef HAVE_IEEEFP_H
58171 #include <ieeefp.h>
58172 #endif
58173
58174 int
58175 main ()
58176 {
58177 _finitel(0);
58178 ;
58179 return 0;
58180 }
58181 _ACEOF
58182 if ac_fn_cxx_try_compile "$LINENO"; then :
58183 glibcxx_cv_func__finitel_use=yes
58184 else
58185 glibcxx_cv_func__finitel_use=no
58186 fi
58187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58188 ac_ext=c
58189 ac_cpp='$CPP $CPPFLAGS'
58190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58193
58194
58195 fi
58196
58197 fi
58198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58199 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58200
58201 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58202 for ac_func in _finitel
58203 do :
58204 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58205 if test "x$ac_cv_func__finitel" = x""yes; then :
58206 cat >>confdefs.h <<_ACEOF
58207 #define HAVE__FINITEL 1
58208 _ACEOF
58209
58210 fi
58211 done
58212
58213 fi
58214 fi
58215
58216
58217
58218
58219 LIBS="$ac_save_LIBS"
58220 CXXFLAGS="$ac_save_CXXFLAGS"
58221
58222
58223 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58224 ac_save_CXXFLAGS="$CXXFLAGS"
58225 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58226
58227
58228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58229 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58230 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58231 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58232 $as_echo_n "(cached) " >&6
58233 else
58234
58235
58236 ac_ext=cpp
58237 ac_cpp='$CXXCPP $CPPFLAGS'
58238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58241
58242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58243 /* end confdefs.h. */
58244 #include <stdlib.h>
58245 int
58246 main ()
58247 {
58248 at_quick_exit(0);
58249 ;
58250 return 0;
58251 }
58252 _ACEOF
58253 if ac_fn_cxx_try_compile "$LINENO"; then :
58254 glibcxx_cv_func_at_quick_exit_use=yes
58255 else
58256 glibcxx_cv_func_at_quick_exit_use=no
58257 fi
58258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58259 ac_ext=c
58260 ac_cpp='$CPP $CPPFLAGS'
58261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58264
58265
58266 fi
58267
58268 fi
58269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58270 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58271 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58272 for ac_func in at_quick_exit
58273 do :
58274 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58275 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58276 cat >>confdefs.h <<_ACEOF
58277 #define HAVE_AT_QUICK_EXIT 1
58278 _ACEOF
58279
58280 fi
58281 done
58282
58283 fi
58284
58285
58286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58287 $as_echo_n "checking for quick_exit declaration... " >&6; }
58288 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58289 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58290 $as_echo_n "(cached) " >&6
58291 else
58292
58293
58294 ac_ext=cpp
58295 ac_cpp='$CXXCPP $CPPFLAGS'
58296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58299
58300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58301 /* end confdefs.h. */
58302 #include <stdlib.h>
58303 int
58304 main ()
58305 {
58306 quick_exit(0);
58307 ;
58308 return 0;
58309 }
58310 _ACEOF
58311 if ac_fn_cxx_try_compile "$LINENO"; then :
58312 glibcxx_cv_func_quick_exit_use=yes
58313 else
58314 glibcxx_cv_func_quick_exit_use=no
58315 fi
58316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58317 ac_ext=c
58318 ac_cpp='$CPP $CPPFLAGS'
58319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58322
58323
58324 fi
58325
58326 fi
58327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58328 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58329 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58330 for ac_func in quick_exit
58331 do :
58332 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58333 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58334 cat >>confdefs.h <<_ACEOF
58335 #define HAVE_QUICK_EXIT 1
58336 _ACEOF
58337
58338 fi
58339 done
58340
58341 fi
58342
58343
58344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58345 $as_echo_n "checking for strtold declaration... " >&6; }
58346 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58347 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58348 $as_echo_n "(cached) " >&6
58349 else
58350
58351
58352 ac_ext=cpp
58353 ac_cpp='$CXXCPP $CPPFLAGS'
58354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58357
58358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58359 /* end confdefs.h. */
58360 #include <stdlib.h>
58361 int
58362 main ()
58363 {
58364 strtold(0, 0);
58365 ;
58366 return 0;
58367 }
58368 _ACEOF
58369 if ac_fn_cxx_try_compile "$LINENO"; then :
58370 glibcxx_cv_func_strtold_use=yes
58371 else
58372 glibcxx_cv_func_strtold_use=no
58373 fi
58374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58375 ac_ext=c
58376 ac_cpp='$CPP $CPPFLAGS'
58377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58380
58381
58382 fi
58383
58384 fi
58385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58386 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58387 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58388 for ac_func in strtold
58389 do :
58390 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58391 if test "x$ac_cv_func_strtold" = x""yes; then :
58392 cat >>confdefs.h <<_ACEOF
58393 #define HAVE_STRTOLD 1
58394 _ACEOF
58395
58396 fi
58397 done
58398
58399 fi
58400
58401
58402
58403
58404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58405 $as_echo_n "checking for strtof declaration... " >&6; }
58406 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58407 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58408 $as_echo_n "(cached) " >&6
58409 else
58410
58411
58412 ac_ext=cpp
58413 ac_cpp='$CXXCPP $CPPFLAGS'
58414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58417
58418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58419 /* end confdefs.h. */
58420 #include <stdlib.h>
58421 int
58422 main ()
58423 {
58424 strtof(0, 0);
58425 ;
58426 return 0;
58427 }
58428 _ACEOF
58429 if ac_fn_cxx_try_compile "$LINENO"; then :
58430 glibcxx_cv_func_strtof_use=yes
58431 else
58432 glibcxx_cv_func_strtof_use=no
58433 fi
58434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58435 ac_ext=c
58436 ac_cpp='$CPP $CPPFLAGS'
58437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58440
58441
58442 fi
58443
58444 fi
58445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58446 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58447 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58448 for ac_func in strtof
58449 do :
58450 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58451 if test "x$ac_cv_func_strtof" = x""yes; then :
58452 cat >>confdefs.h <<_ACEOF
58453 #define HAVE_STRTOF 1
58454 _ACEOF
58455
58456 fi
58457 done
58458
58459 fi
58460
58461
58462
58463
58464 CXXFLAGS="$ac_save_CXXFLAGS"
58465
58466 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58467
58468
58469
58470 # Check whether --enable-tls was given.
58471 if test "${enable_tls+set}" = set; then :
58472 enableval=$enable_tls;
58473 case "$enableval" in
58474 yes|no) ;;
58475 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58476 esac
58477
58478 else
58479 enable_tls=yes
58480 fi
58481
58482
58483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58484 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58485 if test "${gcc_cv_have_tls+set}" = set; then :
58486 $as_echo_n "(cached) " >&6
58487 else
58488
58489 if test "$cross_compiling" = yes; then :
58490 if test x$gcc_no_link = xyes; then
58491 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58492 fi
58493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58494 /* end confdefs.h. */
58495 __thread int a; int b; int main() { return a = b; }
58496 _ACEOF
58497 if ac_fn_c_try_link "$LINENO"; then :
58498 chktls_save_LDFLAGS="$LDFLAGS"
58499 case $host in
58500 *-*-linux*)
58501 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58502 ;;
58503 esac
58504 chktls_save_CFLAGS="$CFLAGS"
58505 CFLAGS="-fPIC $CFLAGS"
58506 if test x$gcc_no_link = xyes; then
58507 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58508 fi
58509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58510 /* end confdefs.h. */
58511 int f() { return 0; }
58512 _ACEOF
58513 if ac_fn_c_try_link "$LINENO"; then :
58514 if test x$gcc_no_link = xyes; then
58515 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58516 fi
58517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58518 /* end confdefs.h. */
58519 __thread int a; int b; int f() { return a = b; }
58520 _ACEOF
58521 if ac_fn_c_try_link "$LINENO"; then :
58522 gcc_cv_have_tls=yes
58523 else
58524 gcc_cv_have_tls=no
58525 fi
58526 rm -f core conftest.err conftest.$ac_objext \
58527 conftest$ac_exeext conftest.$ac_ext
58528 else
58529 gcc_cv_have_tls=yes
58530 fi
58531 rm -f core conftest.err conftest.$ac_objext \
58532 conftest$ac_exeext conftest.$ac_ext
58533 CFLAGS="$chktls_save_CFLAGS"
58534 LDFLAGS="$chktls_save_LDFLAGS"
58535 else
58536 gcc_cv_have_tls=no
58537 fi
58538 rm -f core conftest.err conftest.$ac_objext \
58539 conftest$ac_exeext conftest.$ac_ext
58540
58541
58542 else
58543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58544 /* end confdefs.h. */
58545 __thread int a; int b; int main() { return a = b; }
58546 _ACEOF
58547 if ac_fn_c_try_run "$LINENO"; then :
58548 chktls_save_LDFLAGS="$LDFLAGS"
58549 LDFLAGS="-static $LDFLAGS"
58550 if test x$gcc_no_link = xyes; then
58551 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58552 fi
58553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58554 /* end confdefs.h. */
58555 int main() { return 0; }
58556 _ACEOF
58557 if ac_fn_c_try_link "$LINENO"; then :
58558 if test "$cross_compiling" = yes; then :
58559 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58560 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58561 as_fn_error "cannot run test program while cross compiling
58562 See \`config.log' for more details." "$LINENO" 5; }
58563 else
58564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58565 /* end confdefs.h. */
58566 __thread int a; int b; int main() { return a = b; }
58567 _ACEOF
58568 if ac_fn_c_try_run "$LINENO"; then :
58569 gcc_cv_have_tls=yes
58570 else
58571 gcc_cv_have_tls=no
58572 fi
58573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58574 conftest.$ac_objext conftest.beam conftest.$ac_ext
58575 fi
58576
58577 else
58578 gcc_cv_have_tls=yes
58579 fi
58580 rm -f core conftest.err conftest.$ac_objext \
58581 conftest$ac_exeext conftest.$ac_ext
58582 LDFLAGS="$chktls_save_LDFLAGS"
58583 if test $gcc_cv_have_tls = yes; then
58584 chktls_save_CFLAGS="$CFLAGS"
58585 thread_CFLAGS=failed
58586 for flag in '' '-pthread' '-lpthread'; do
58587 CFLAGS="$flag $chktls_save_CFLAGS"
58588 if test x$gcc_no_link = xyes; then
58589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58590 fi
58591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58592 /* end confdefs.h. */
58593 #include <pthread.h>
58594 void *g(void *d) { return NULL; }
58595 int
58596 main ()
58597 {
58598 pthread_t t; pthread_create(&t,NULL,g,NULL);
58599 ;
58600 return 0;
58601 }
58602 _ACEOF
58603 if ac_fn_c_try_link "$LINENO"; then :
58604 thread_CFLAGS="$flag"
58605 fi
58606 rm -f core conftest.err conftest.$ac_objext \
58607 conftest$ac_exeext conftest.$ac_ext
58608 if test "X$thread_CFLAGS" != Xfailed; then
58609 break
58610 fi
58611 done
58612 CFLAGS="$chktls_save_CFLAGS"
58613 if test "X$thread_CFLAGS" != Xfailed; then
58614 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58615 if test "$cross_compiling" = yes; then :
58616 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58617 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58618 as_fn_error "cannot run test program while cross compiling
58619 See \`config.log' for more details." "$LINENO" 5; }
58620 else
58621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58622 /* end confdefs.h. */
58623 #include <pthread.h>
58624 __thread int a;
58625 static int *volatile a_in_other_thread;
58626 static void *
58627 thread_func (void *arg)
58628 {
58629 a_in_other_thread = &a;
58630 return (void *)0;
58631 }
58632 int
58633 main ()
58634 {
58635 pthread_t thread;
58636 void *thread_retval;
58637 int *volatile a_in_main_thread;
58638 a_in_main_thread = &a;
58639 if (pthread_create (&thread, (pthread_attr_t *)0,
58640 thread_func, (void *)0))
58641 return 0;
58642 if (pthread_join (thread, &thread_retval))
58643 return 0;
58644 return (a_in_other_thread == a_in_main_thread);
58645 ;
58646 return 0;
58647 }
58648 _ACEOF
58649 if ac_fn_c_try_run "$LINENO"; then :
58650 gcc_cv_have_tls=yes
58651 else
58652 gcc_cv_have_tls=no
58653 fi
58654 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58655 conftest.$ac_objext conftest.beam conftest.$ac_ext
58656 fi
58657
58658 CFLAGS="$chktls_save_CFLAGS"
58659 fi
58660 fi
58661 else
58662 gcc_cv_have_tls=no
58663 fi
58664 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58665 conftest.$ac_objext conftest.beam conftest.$ac_ext
58666 fi
58667
58668 fi
58669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58670 $as_echo "$gcc_cv_have_tls" >&6; }
58671 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58672
58673 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58674
58675 fi
58676
58677
58678
58679
58680
58681 am_save_CPPFLAGS="$CPPFLAGS"
58682
58683 for element in $INCICONV; do
58684 haveit=
58685 for x in $CPPFLAGS; do
58686
58687 acl_save_prefix="$prefix"
58688 prefix="$acl_final_prefix"
58689 acl_save_exec_prefix="$exec_prefix"
58690 exec_prefix="$acl_final_exec_prefix"
58691 eval x=\"$x\"
58692 exec_prefix="$acl_save_exec_prefix"
58693 prefix="$acl_save_prefix"
58694
58695 if test "X$x" = "X$element"; then
58696 haveit=yes
58697 break
58698 fi
58699 done
58700 if test -z "$haveit"; then
58701 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58702 fi
58703 done
58704
58705
58706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58707 $as_echo_n "checking for iconv... " >&6; }
58708 if test "${am_cv_func_iconv+set}" = set; then :
58709 $as_echo_n "(cached) " >&6
58710 else
58711
58712 am_cv_func_iconv="no, consider installing GNU libiconv"
58713 am_cv_lib_iconv=no
58714 if test x$gcc_no_link = xyes; then
58715 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58716 fi
58717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58718 /* end confdefs.h. */
58719 #include <stdlib.h>
58720 #include <iconv.h>
58721 int
58722 main ()
58723 {
58724 iconv_t cd = iconv_open("","");
58725 iconv(cd,NULL,NULL,NULL,NULL);
58726 iconv_close(cd);
58727 ;
58728 return 0;
58729 }
58730 _ACEOF
58731 if ac_fn_c_try_link "$LINENO"; then :
58732 am_cv_func_iconv=yes
58733 fi
58734 rm -f core conftest.err conftest.$ac_objext \
58735 conftest$ac_exeext conftest.$ac_ext
58736 if test "$am_cv_func_iconv" != yes; then
58737 am_save_LIBS="$LIBS"
58738 LIBS="$LIBS $LIBICONV"
58739 if test x$gcc_no_link = xyes; then
58740 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58741 fi
58742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58743 /* end confdefs.h. */
58744 #include <stdlib.h>
58745 #include <iconv.h>
58746 int
58747 main ()
58748 {
58749 iconv_t cd = iconv_open("","");
58750 iconv(cd,NULL,NULL,NULL,NULL);
58751 iconv_close(cd);
58752 ;
58753 return 0;
58754 }
58755 _ACEOF
58756 if ac_fn_c_try_link "$LINENO"; then :
58757 am_cv_lib_iconv=yes
58758 am_cv_func_iconv=yes
58759 fi
58760 rm -f core conftest.err conftest.$ac_objext \
58761 conftest$ac_exeext conftest.$ac_ext
58762 LIBS="$am_save_LIBS"
58763 fi
58764
58765 fi
58766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58767 $as_echo "$am_cv_func_iconv" >&6; }
58768 if test "$am_cv_func_iconv" = yes; then
58769
58770 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58771
58772 fi
58773 if test "$am_cv_lib_iconv" = yes; then
58774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58775 $as_echo_n "checking how to link with libiconv... " >&6; }
58776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58777 $as_echo "$LIBICONV" >&6; }
58778 else
58779 CPPFLAGS="$am_save_CPPFLAGS"
58780 LIBICONV=
58781 LTLIBICONV=
58782 fi
58783
58784
58785
58786 if test "$am_cv_func_iconv" = yes; then
58787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58788 $as_echo_n "checking for iconv declaration... " >&6; }
58789 if test "${am_cv_proto_iconv+set}" = set; then :
58790 $as_echo_n "(cached) " >&6
58791 else
58792
58793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58794 /* end confdefs.h. */
58795
58796 #include <stdlib.h>
58797 #include <iconv.h>
58798 extern
58799 #ifdef __cplusplus
58800 "C"
58801 #endif
58802 #if defined(__STDC__) || defined(__cplusplus)
58803 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58804 #else
58805 size_t iconv();
58806 #endif
58807
58808 int
58809 main ()
58810 {
58811
58812 ;
58813 return 0;
58814 }
58815 _ACEOF
58816 if ac_fn_c_try_compile "$LINENO"; then :
58817 am_cv_proto_iconv_arg1=""
58818 else
58819 am_cv_proto_iconv_arg1="const"
58820 fi
58821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58822 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);"
58823 fi
58824
58825 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58827 }$am_cv_proto_iconv" >&5
58828 $as_echo "${ac_t:-
58829 }$am_cv_proto_iconv" >&6; }
58830
58831 cat >>confdefs.h <<_ACEOF
58832 #define ICONV_CONST $am_cv_proto_iconv_arg1
58833 _ACEOF
58834
58835 fi
58836
58837 ;;
58838 *-mingw32*)
58839
58840 # If we're not using GNU ld, then there's no point in even trying these
58841 # tests. Check for that first. We should have already tested for gld
58842 # by now (in libtool), but require it now just to be safe...
58843 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58844 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58845
58846
58847
58848 # The name set by libtool depends on the version of libtool. Shame on us
58849 # for depending on an impl detail, but c'est la vie. Older versions used
58850 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58851 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58852 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58853 # set (hence we're using an older libtool), then set it.
58854 if test x${with_gnu_ld+set} != xset; then
58855 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58856 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58857 with_gnu_ld=no
58858 else
58859 with_gnu_ld=$ac_cv_prog_gnu_ld
58860 fi
58861 fi
58862
58863 # Start by getting the version number. I think the libtool test already
58864 # does some of this, but throws away the result.
58865 glibcxx_ld_is_gold=no
58866 if test x"$with_gnu_ld" = x"yes"; then
58867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58868 $as_echo_n "checking for ld version... " >&6; }
58869
58870 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58871 glibcxx_ld_is_gold=yes
58872 fi
58873 ldver=`$LD --version 2>/dev/null |
58874 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'`
58875
58876 glibcxx_gnu_ld_version=`echo $ldver | \
58877 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58879 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58880 fi
58881
58882 # Set --gc-sections.
58883 glibcxx_have_gc_sections=no
58884 if test "$glibcxx_ld_is_gold" = "yes"; then
58885 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58886 glibcxx_have_gc_sections=yes
58887 fi
58888 else
58889 glibcxx_gcsections_min_ld=21602
58890 if test x"$with_gnu_ld" = x"yes" &&
58891 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58892 glibcxx_have_gc_sections=yes
58893 fi
58894 fi
58895 if test "$glibcxx_have_gc_sections" = "yes"; then
58896 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58897 # NB: This flag only works reliably after 2.16.1. Configure tests
58898 # for this are difficult, so hard wire a value that should work.
58899
58900 ac_test_CFLAGS="${CFLAGS+set}"
58901 ac_save_CFLAGS="$CFLAGS"
58902 CFLAGS='-Wl,--gc-sections'
58903
58904 # Check for -Wl,--gc-sections
58905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58906 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58907 if test x$gcc_no_link = xyes; then
58908 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58909 fi
58910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58911 /* end confdefs.h. */
58912 int one(void) { return 1; }
58913 int two(void) { return 2; }
58914
58915 int
58916 main ()
58917 {
58918 two();
58919 ;
58920 return 0;
58921 }
58922 _ACEOF
58923 if ac_fn_c_try_link "$LINENO"; then :
58924 ac_gcsections=yes
58925 else
58926 ac_gcsections=no
58927 fi
58928 rm -f core conftest.err conftest.$ac_objext \
58929 conftest$ac_exeext conftest.$ac_ext
58930 if test "$ac_gcsections" = "yes"; then
58931 rm -f conftest.c
58932 touch conftest.c
58933 if $CC -c conftest.c; then
58934 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58935 grep "Warning: gc-sections option ignored" > /dev/null; then
58936 ac_gcsections=no
58937 fi
58938 fi
58939 rm -f conftest.c conftest.o conftest
58940 fi
58941 if test "$ac_gcsections" = "yes"; then
58942 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58943 fi
58944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58945 $as_echo "$ac_gcsections" >&6; }
58946
58947 if test "$ac_test_CFLAGS" = set; then
58948 CFLAGS="$ac_save_CFLAGS"
58949 else
58950 # this is the suspicious part
58951 CFLAGS=''
58952 fi
58953 fi
58954
58955 # Set -z,relro.
58956 # Note this is only for shared objects.
58957 ac_ld_relro=no
58958 if test x"$with_gnu_ld" = x"yes"; then
58959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58960 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58961 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58962 if test -n "$cxx_z_relo"; then
58963 OPT_LDFLAGS="-Wl,-z,relro"
58964 ac_ld_relro=yes
58965 fi
58966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58967 $as_echo "$ac_ld_relro" >&6; }
58968 fi
58969
58970 # Set linker optimization flags.
58971 if test x"$with_gnu_ld" = x"yes"; then
58972 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58973 fi
58974
58975
58976
58977
58978
58979 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58980 ac_save_CXXFLAGS="$CXXFLAGS"
58981 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58982
58983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58984 $as_echo_n "checking for sin in -lm... " >&6; }
58985 if test "${ac_cv_lib_m_sin+set}" = set; then :
58986 $as_echo_n "(cached) " >&6
58987 else
58988 ac_check_lib_save_LIBS=$LIBS
58989 LIBS="-lm $LIBS"
58990 if test x$gcc_no_link = xyes; then
58991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58992 fi
58993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58994 /* end confdefs.h. */
58995
58996 /* Override any GCC internal prototype to avoid an error.
58997 Use char because int might match the return type of a GCC
58998 builtin and then its argument prototype would still apply. */
58999 #ifdef __cplusplus
59000 extern "C"
59001 #endif
59002 char sin ();
59003 int
59004 main ()
59005 {
59006 return sin ();
59007 ;
59008 return 0;
59009 }
59010 _ACEOF
59011 if ac_fn_c_try_link "$LINENO"; then :
59012 ac_cv_lib_m_sin=yes
59013 else
59014 ac_cv_lib_m_sin=no
59015 fi
59016 rm -f core conftest.err conftest.$ac_objext \
59017 conftest$ac_exeext conftest.$ac_ext
59018 LIBS=$ac_check_lib_save_LIBS
59019 fi
59020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59021 $as_echo "$ac_cv_lib_m_sin" >&6; }
59022 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59023 libm="-lm"
59024 fi
59025
59026 ac_save_LIBS="$LIBS"
59027 LIBS="$LIBS $libm"
59028
59029
59030
59031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59032 $as_echo_n "checking for isinf declaration... " >&6; }
59033 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59034 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59035 $as_echo_n "(cached) " >&6
59036 else
59037
59038
59039 ac_ext=cpp
59040 ac_cpp='$CXXCPP $CPPFLAGS'
59041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59044
59045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59046 /* end confdefs.h. */
59047 #include <math.h>
59048 #ifdef HAVE_IEEEFP_H
59049 #include <ieeefp.h>
59050 #endif
59051
59052 int
59053 main ()
59054 {
59055 isinf(0);
59056 ;
59057 return 0;
59058 }
59059 _ACEOF
59060 if ac_fn_cxx_try_compile "$LINENO"; then :
59061 glibcxx_cv_func_isinf_use=yes
59062 else
59063 glibcxx_cv_func_isinf_use=no
59064 fi
59065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59066 ac_ext=c
59067 ac_cpp='$CPP $CPPFLAGS'
59068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59071
59072
59073 fi
59074
59075 fi
59076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59077 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59078
59079 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59080 for ac_func in isinf
59081 do :
59082 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59083 if test "x$ac_cv_func_isinf" = x""yes; then :
59084 cat >>confdefs.h <<_ACEOF
59085 #define HAVE_ISINF 1
59086 _ACEOF
59087
59088 fi
59089 done
59090
59091 else
59092
59093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59094 $as_echo_n "checking for _isinf declaration... " >&6; }
59095 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59096 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59097 $as_echo_n "(cached) " >&6
59098 else
59099
59100
59101 ac_ext=cpp
59102 ac_cpp='$CXXCPP $CPPFLAGS'
59103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59106
59107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59108 /* end confdefs.h. */
59109 #include <math.h>
59110 #ifdef HAVE_IEEEFP_H
59111 #include <ieeefp.h>
59112 #endif
59113
59114 int
59115 main ()
59116 {
59117 _isinf(0);
59118 ;
59119 return 0;
59120 }
59121 _ACEOF
59122 if ac_fn_cxx_try_compile "$LINENO"; then :
59123 glibcxx_cv_func__isinf_use=yes
59124 else
59125 glibcxx_cv_func__isinf_use=no
59126 fi
59127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59128 ac_ext=c
59129 ac_cpp='$CPP $CPPFLAGS'
59130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59133
59134
59135 fi
59136
59137 fi
59138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59139 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59140
59141 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59142 for ac_func in _isinf
59143 do :
59144 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59145 if test "x$ac_cv_func__isinf" = x""yes; then :
59146 cat >>confdefs.h <<_ACEOF
59147 #define HAVE__ISINF 1
59148 _ACEOF
59149
59150 fi
59151 done
59152
59153 fi
59154 fi
59155
59156
59157
59158
59159
59160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59161 $as_echo_n "checking for isnan declaration... " >&6; }
59162 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59163 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59164 $as_echo_n "(cached) " >&6
59165 else
59166
59167
59168 ac_ext=cpp
59169 ac_cpp='$CXXCPP $CPPFLAGS'
59170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59173
59174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59175 /* end confdefs.h. */
59176 #include <math.h>
59177 #ifdef HAVE_IEEEFP_H
59178 #include <ieeefp.h>
59179 #endif
59180
59181 int
59182 main ()
59183 {
59184 isnan(0);
59185 ;
59186 return 0;
59187 }
59188 _ACEOF
59189 if ac_fn_cxx_try_compile "$LINENO"; then :
59190 glibcxx_cv_func_isnan_use=yes
59191 else
59192 glibcxx_cv_func_isnan_use=no
59193 fi
59194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59195 ac_ext=c
59196 ac_cpp='$CPP $CPPFLAGS'
59197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59200
59201
59202 fi
59203
59204 fi
59205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59206 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59207
59208 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59209 for ac_func in isnan
59210 do :
59211 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59212 if test "x$ac_cv_func_isnan" = x""yes; then :
59213 cat >>confdefs.h <<_ACEOF
59214 #define HAVE_ISNAN 1
59215 _ACEOF
59216
59217 fi
59218 done
59219
59220 else
59221
59222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59223 $as_echo_n "checking for _isnan declaration... " >&6; }
59224 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59225 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59226 $as_echo_n "(cached) " >&6
59227 else
59228
59229
59230 ac_ext=cpp
59231 ac_cpp='$CXXCPP $CPPFLAGS'
59232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59235
59236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59237 /* end confdefs.h. */
59238 #include <math.h>
59239 #ifdef HAVE_IEEEFP_H
59240 #include <ieeefp.h>
59241 #endif
59242
59243 int
59244 main ()
59245 {
59246 _isnan(0);
59247 ;
59248 return 0;
59249 }
59250 _ACEOF
59251 if ac_fn_cxx_try_compile "$LINENO"; then :
59252 glibcxx_cv_func__isnan_use=yes
59253 else
59254 glibcxx_cv_func__isnan_use=no
59255 fi
59256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59257 ac_ext=c
59258 ac_cpp='$CPP $CPPFLAGS'
59259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59262
59263
59264 fi
59265
59266 fi
59267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59268 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59269
59270 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59271 for ac_func in _isnan
59272 do :
59273 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59274 if test "x$ac_cv_func__isnan" = x""yes; then :
59275 cat >>confdefs.h <<_ACEOF
59276 #define HAVE__ISNAN 1
59277 _ACEOF
59278
59279 fi
59280 done
59281
59282 fi
59283 fi
59284
59285
59286
59287
59288
59289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59290 $as_echo_n "checking for finite declaration... " >&6; }
59291 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59292 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59293 $as_echo_n "(cached) " >&6
59294 else
59295
59296
59297 ac_ext=cpp
59298 ac_cpp='$CXXCPP $CPPFLAGS'
59299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59302
59303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59304 /* end confdefs.h. */
59305 #include <math.h>
59306 #ifdef HAVE_IEEEFP_H
59307 #include <ieeefp.h>
59308 #endif
59309
59310 int
59311 main ()
59312 {
59313 finite(0);
59314 ;
59315 return 0;
59316 }
59317 _ACEOF
59318 if ac_fn_cxx_try_compile "$LINENO"; then :
59319 glibcxx_cv_func_finite_use=yes
59320 else
59321 glibcxx_cv_func_finite_use=no
59322 fi
59323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59324 ac_ext=c
59325 ac_cpp='$CPP $CPPFLAGS'
59326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59329
59330
59331 fi
59332
59333 fi
59334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59335 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59336
59337 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59338 for ac_func in finite
59339 do :
59340 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59341 if test "x$ac_cv_func_finite" = x""yes; then :
59342 cat >>confdefs.h <<_ACEOF
59343 #define HAVE_FINITE 1
59344 _ACEOF
59345
59346 fi
59347 done
59348
59349 else
59350
59351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59352 $as_echo_n "checking for _finite declaration... " >&6; }
59353 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59354 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59355 $as_echo_n "(cached) " >&6
59356 else
59357
59358
59359 ac_ext=cpp
59360 ac_cpp='$CXXCPP $CPPFLAGS'
59361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59364
59365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59366 /* end confdefs.h. */
59367 #include <math.h>
59368 #ifdef HAVE_IEEEFP_H
59369 #include <ieeefp.h>
59370 #endif
59371
59372 int
59373 main ()
59374 {
59375 _finite(0);
59376 ;
59377 return 0;
59378 }
59379 _ACEOF
59380 if ac_fn_cxx_try_compile "$LINENO"; then :
59381 glibcxx_cv_func__finite_use=yes
59382 else
59383 glibcxx_cv_func__finite_use=no
59384 fi
59385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59386 ac_ext=c
59387 ac_cpp='$CPP $CPPFLAGS'
59388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59391
59392
59393 fi
59394
59395 fi
59396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59397 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59398
59399 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59400 for ac_func in _finite
59401 do :
59402 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59403 if test "x$ac_cv_func__finite" = x""yes; then :
59404 cat >>confdefs.h <<_ACEOF
59405 #define HAVE__FINITE 1
59406 _ACEOF
59407
59408 fi
59409 done
59410
59411 fi
59412 fi
59413
59414
59415
59416
59417
59418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59419 $as_echo_n "checking for sincos declaration... " >&6; }
59420 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59421 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59422 $as_echo_n "(cached) " >&6
59423 else
59424
59425
59426 ac_ext=cpp
59427 ac_cpp='$CXXCPP $CPPFLAGS'
59428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59431
59432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59433 /* end confdefs.h. */
59434 #include <math.h>
59435 int
59436 main ()
59437 {
59438 sincos(0, 0, 0);
59439 ;
59440 return 0;
59441 }
59442 _ACEOF
59443 if ac_fn_cxx_try_compile "$LINENO"; then :
59444 glibcxx_cv_func_sincos_use=yes
59445 else
59446 glibcxx_cv_func_sincos_use=no
59447 fi
59448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59449 ac_ext=c
59450 ac_cpp='$CPP $CPPFLAGS'
59451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59454
59455
59456 fi
59457
59458 fi
59459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59460 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59461
59462 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59463 for ac_func in sincos
59464 do :
59465 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59466 if test "x$ac_cv_func_sincos" = x""yes; then :
59467 cat >>confdefs.h <<_ACEOF
59468 #define HAVE_SINCOS 1
59469 _ACEOF
59470
59471 fi
59472 done
59473
59474 else
59475
59476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59477 $as_echo_n "checking for _sincos declaration... " >&6; }
59478 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59479 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59480 $as_echo_n "(cached) " >&6
59481 else
59482
59483
59484 ac_ext=cpp
59485 ac_cpp='$CXXCPP $CPPFLAGS'
59486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59489
59490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59491 /* end confdefs.h. */
59492 #include <math.h>
59493 int
59494 main ()
59495 {
59496 _sincos(0, 0, 0);
59497 ;
59498 return 0;
59499 }
59500 _ACEOF
59501 if ac_fn_cxx_try_compile "$LINENO"; then :
59502 glibcxx_cv_func__sincos_use=yes
59503 else
59504 glibcxx_cv_func__sincos_use=no
59505 fi
59506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59507 ac_ext=c
59508 ac_cpp='$CPP $CPPFLAGS'
59509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59512
59513
59514 fi
59515
59516 fi
59517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59518 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59519
59520 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59521 for ac_func in _sincos
59522 do :
59523 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59524 if test "x$ac_cv_func__sincos" = x""yes; then :
59525 cat >>confdefs.h <<_ACEOF
59526 #define HAVE__SINCOS 1
59527 _ACEOF
59528
59529 fi
59530 done
59531
59532 fi
59533 fi
59534
59535
59536
59537
59538
59539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59540 $as_echo_n "checking for fpclass declaration... " >&6; }
59541 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59542 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59543 $as_echo_n "(cached) " >&6
59544 else
59545
59546
59547 ac_ext=cpp
59548 ac_cpp='$CXXCPP $CPPFLAGS'
59549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59552
59553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59554 /* end confdefs.h. */
59555 #include <math.h>
59556 #ifdef HAVE_IEEEFP_H
59557 #include <ieeefp.h>
59558 #endif
59559
59560 int
59561 main ()
59562 {
59563 fpclass(0);
59564 ;
59565 return 0;
59566 }
59567 _ACEOF
59568 if ac_fn_cxx_try_compile "$LINENO"; then :
59569 glibcxx_cv_func_fpclass_use=yes
59570 else
59571 glibcxx_cv_func_fpclass_use=no
59572 fi
59573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59574 ac_ext=c
59575 ac_cpp='$CPP $CPPFLAGS'
59576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59579
59580
59581 fi
59582
59583 fi
59584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59585 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59586
59587 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59588 for ac_func in fpclass
59589 do :
59590 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59591 if test "x$ac_cv_func_fpclass" = x""yes; then :
59592 cat >>confdefs.h <<_ACEOF
59593 #define HAVE_FPCLASS 1
59594 _ACEOF
59595
59596 fi
59597 done
59598
59599 else
59600
59601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59602 $as_echo_n "checking for _fpclass declaration... " >&6; }
59603 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59604 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59605 $as_echo_n "(cached) " >&6
59606 else
59607
59608
59609 ac_ext=cpp
59610 ac_cpp='$CXXCPP $CPPFLAGS'
59611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59614
59615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59616 /* end confdefs.h. */
59617 #include <math.h>
59618 #ifdef HAVE_IEEEFP_H
59619 #include <ieeefp.h>
59620 #endif
59621
59622 int
59623 main ()
59624 {
59625 _fpclass(0);
59626 ;
59627 return 0;
59628 }
59629 _ACEOF
59630 if ac_fn_cxx_try_compile "$LINENO"; then :
59631 glibcxx_cv_func__fpclass_use=yes
59632 else
59633 glibcxx_cv_func__fpclass_use=no
59634 fi
59635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59636 ac_ext=c
59637 ac_cpp='$CPP $CPPFLAGS'
59638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59641
59642
59643 fi
59644
59645 fi
59646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59647 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59648
59649 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59650 for ac_func in _fpclass
59651 do :
59652 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59653 if test "x$ac_cv_func__fpclass" = x""yes; then :
59654 cat >>confdefs.h <<_ACEOF
59655 #define HAVE__FPCLASS 1
59656 _ACEOF
59657
59658 fi
59659 done
59660
59661 fi
59662 fi
59663
59664
59665
59666
59667
59668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59669 $as_echo_n "checking for qfpclass declaration... " >&6; }
59670 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59671 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59672 $as_echo_n "(cached) " >&6
59673 else
59674
59675
59676 ac_ext=cpp
59677 ac_cpp='$CXXCPP $CPPFLAGS'
59678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59681
59682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59683 /* end confdefs.h. */
59684 #include <math.h>
59685 #ifdef HAVE_IEEEFP_H
59686 #include <ieeefp.h>
59687 #endif
59688
59689 int
59690 main ()
59691 {
59692 qfpclass(0);
59693 ;
59694 return 0;
59695 }
59696 _ACEOF
59697 if ac_fn_cxx_try_compile "$LINENO"; then :
59698 glibcxx_cv_func_qfpclass_use=yes
59699 else
59700 glibcxx_cv_func_qfpclass_use=no
59701 fi
59702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59703 ac_ext=c
59704 ac_cpp='$CPP $CPPFLAGS'
59705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59708
59709
59710 fi
59711
59712 fi
59713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59714 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59715
59716 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59717 for ac_func in qfpclass
59718 do :
59719 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59720 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59721 cat >>confdefs.h <<_ACEOF
59722 #define HAVE_QFPCLASS 1
59723 _ACEOF
59724
59725 fi
59726 done
59727
59728 else
59729
59730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59731 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59732 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59733 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59734 $as_echo_n "(cached) " >&6
59735 else
59736
59737
59738 ac_ext=cpp
59739 ac_cpp='$CXXCPP $CPPFLAGS'
59740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59743
59744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59745 /* end confdefs.h. */
59746 #include <math.h>
59747 #ifdef HAVE_IEEEFP_H
59748 #include <ieeefp.h>
59749 #endif
59750
59751 int
59752 main ()
59753 {
59754 _qfpclass(0);
59755 ;
59756 return 0;
59757 }
59758 _ACEOF
59759 if ac_fn_cxx_try_compile "$LINENO"; then :
59760 glibcxx_cv_func__qfpclass_use=yes
59761 else
59762 glibcxx_cv_func__qfpclass_use=no
59763 fi
59764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59765 ac_ext=c
59766 ac_cpp='$CPP $CPPFLAGS'
59767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59770
59771
59772 fi
59773
59774 fi
59775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59776 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59777
59778 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59779 for ac_func in _qfpclass
59780 do :
59781 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59782 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59783 cat >>confdefs.h <<_ACEOF
59784 #define HAVE__QFPCLASS 1
59785 _ACEOF
59786
59787 fi
59788 done
59789
59790 fi
59791 fi
59792
59793
59794
59795
59796
59797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59798 $as_echo_n "checking for hypot declaration... " >&6; }
59799 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59800 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59801 $as_echo_n "(cached) " >&6
59802 else
59803
59804
59805 ac_ext=cpp
59806 ac_cpp='$CXXCPP $CPPFLAGS'
59807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59810
59811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59812 /* end confdefs.h. */
59813 #include <math.h>
59814 int
59815 main ()
59816 {
59817 hypot(0, 0);
59818 ;
59819 return 0;
59820 }
59821 _ACEOF
59822 if ac_fn_cxx_try_compile "$LINENO"; then :
59823 glibcxx_cv_func_hypot_use=yes
59824 else
59825 glibcxx_cv_func_hypot_use=no
59826 fi
59827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59828 ac_ext=c
59829 ac_cpp='$CPP $CPPFLAGS'
59830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59833
59834
59835 fi
59836
59837 fi
59838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59839 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59840
59841 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59842 for ac_func in hypot
59843 do :
59844 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59845 if test "x$ac_cv_func_hypot" = x""yes; then :
59846 cat >>confdefs.h <<_ACEOF
59847 #define HAVE_HYPOT 1
59848 _ACEOF
59849
59850 fi
59851 done
59852
59853 else
59854
59855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59856 $as_echo_n "checking for _hypot declaration... " >&6; }
59857 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59858 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59859 $as_echo_n "(cached) " >&6
59860 else
59861
59862
59863 ac_ext=cpp
59864 ac_cpp='$CXXCPP $CPPFLAGS'
59865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59868
59869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59870 /* end confdefs.h. */
59871 #include <math.h>
59872 int
59873 main ()
59874 {
59875 _hypot(0, 0);
59876 ;
59877 return 0;
59878 }
59879 _ACEOF
59880 if ac_fn_cxx_try_compile "$LINENO"; then :
59881 glibcxx_cv_func__hypot_use=yes
59882 else
59883 glibcxx_cv_func__hypot_use=no
59884 fi
59885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59886 ac_ext=c
59887 ac_cpp='$CPP $CPPFLAGS'
59888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59891
59892
59893 fi
59894
59895 fi
59896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59897 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59898
59899 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59900 for ac_func in _hypot
59901 do :
59902 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59903 if test "x$ac_cv_func__hypot" = x""yes; then :
59904 cat >>confdefs.h <<_ACEOF
59905 #define HAVE__HYPOT 1
59906 _ACEOF
59907
59908 fi
59909 done
59910
59911 fi
59912 fi
59913
59914
59915
59916
59917
59918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59919 $as_echo_n "checking for float trig functions... " >&6; }
59920 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59921 $as_echo_n "(cached) " >&6
59922 else
59923
59924
59925 ac_ext=cpp
59926 ac_cpp='$CXXCPP $CPPFLAGS'
59927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59930
59931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59932 /* end confdefs.h. */
59933 #include <math.h>
59934 int
59935 main ()
59936 {
59937 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59938 ;
59939 return 0;
59940 }
59941 _ACEOF
59942 if ac_fn_cxx_try_compile "$LINENO"; then :
59943 glibcxx_cv_func_float_trig_use=yes
59944 else
59945 glibcxx_cv_func_float_trig_use=no
59946 fi
59947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59948 ac_ext=c
59949 ac_cpp='$CPP $CPPFLAGS'
59950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59953
59954 fi
59955
59956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59957 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59958 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59959 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59960 do :
59961 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59962 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59963 eval as_val=\$$as_ac_var
59964 if test "x$as_val" = x""yes; then :
59965 cat >>confdefs.h <<_ACEOF
59966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59967 _ACEOF
59968
59969 fi
59970 done
59971
59972 else
59973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59974 $as_echo_n "checking for _float trig functions... " >&6; }
59975 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59976 $as_echo_n "(cached) " >&6
59977 else
59978
59979
59980 ac_ext=cpp
59981 ac_cpp='$CXXCPP $CPPFLAGS'
59982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59985
59986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59987 /* end confdefs.h. */
59988 #include <math.h>
59989 int
59990 main ()
59991 {
59992 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59993 ;
59994 return 0;
59995 }
59996 _ACEOF
59997 if ac_fn_cxx_try_compile "$LINENO"; then :
59998 glibcxx_cv_func__float_trig_use=yes
59999 else
60000 glibcxx_cv_func__float_trig_use=no
60001 fi
60002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60003 ac_ext=c
60004 ac_cpp='$CPP $CPPFLAGS'
60005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60008
60009 fi
60010
60011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60012 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60013 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60014 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60015 do :
60016 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60017 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60018 eval as_val=\$$as_ac_var
60019 if test "x$as_val" = x""yes; then :
60020 cat >>confdefs.h <<_ACEOF
60021 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60022 _ACEOF
60023
60024 fi
60025 done
60026
60027 fi
60028 fi
60029
60030
60031
60032
60033
60034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60035 $as_echo_n "checking for float round functions... " >&6; }
60036 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60037 $as_echo_n "(cached) " >&6
60038 else
60039
60040
60041 ac_ext=cpp
60042 ac_cpp='$CXXCPP $CPPFLAGS'
60043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60046
60047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60048 /* end confdefs.h. */
60049 #include <math.h>
60050 int
60051 main ()
60052 {
60053 ceilf (0); floorf (0);
60054 ;
60055 return 0;
60056 }
60057 _ACEOF
60058 if ac_fn_cxx_try_compile "$LINENO"; then :
60059 glibcxx_cv_func_float_round_use=yes
60060 else
60061 glibcxx_cv_func_float_round_use=no
60062 fi
60063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60064 ac_ext=c
60065 ac_cpp='$CPP $CPPFLAGS'
60066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60069
60070 fi
60071
60072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60073 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60074 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60075 for ac_func in ceilf floorf
60076 do :
60077 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60078 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60079 eval as_val=\$$as_ac_var
60080 if test "x$as_val" = x""yes; then :
60081 cat >>confdefs.h <<_ACEOF
60082 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60083 _ACEOF
60084
60085 fi
60086 done
60087
60088 else
60089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60090 $as_echo_n "checking for _float round functions... " >&6; }
60091 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60092 $as_echo_n "(cached) " >&6
60093 else
60094
60095
60096 ac_ext=cpp
60097 ac_cpp='$CXXCPP $CPPFLAGS'
60098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60101
60102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60103 /* end confdefs.h. */
60104 #include <math.h>
60105 int
60106 main ()
60107 {
60108 _ceilf (0); _floorf (0);
60109 ;
60110 return 0;
60111 }
60112 _ACEOF
60113 if ac_fn_cxx_try_compile "$LINENO"; then :
60114 glibcxx_cv_func__float_round_use=yes
60115 else
60116 glibcxx_cv_func__float_round_use=no
60117 fi
60118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60119 ac_ext=c
60120 ac_cpp='$CPP $CPPFLAGS'
60121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60124
60125 fi
60126
60127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60128 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60129 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60130 for ac_func in _ceilf _floorf
60131 do :
60132 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60133 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60134 eval as_val=\$$as_ac_var
60135 if test "x$as_val" = x""yes; then :
60136 cat >>confdefs.h <<_ACEOF
60137 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60138 _ACEOF
60139
60140 fi
60141 done
60142
60143 fi
60144 fi
60145
60146
60147
60148
60149
60150
60151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60152 $as_echo_n "checking for expf declaration... " >&6; }
60153 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60154 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60155 $as_echo_n "(cached) " >&6
60156 else
60157
60158
60159 ac_ext=cpp
60160 ac_cpp='$CXXCPP $CPPFLAGS'
60161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60164
60165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60166 /* end confdefs.h. */
60167 #include <math.h>
60168 #ifdef HAVE_IEEEFP_H
60169 #include <ieeefp.h>
60170 #endif
60171
60172 int
60173 main ()
60174 {
60175 expf(0);
60176 ;
60177 return 0;
60178 }
60179 _ACEOF
60180 if ac_fn_cxx_try_compile "$LINENO"; then :
60181 glibcxx_cv_func_expf_use=yes
60182 else
60183 glibcxx_cv_func_expf_use=no
60184 fi
60185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60186 ac_ext=c
60187 ac_cpp='$CPP $CPPFLAGS'
60188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60191
60192
60193 fi
60194
60195 fi
60196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60197 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60198
60199 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60200 for ac_func in expf
60201 do :
60202 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60203 if test "x$ac_cv_func_expf" = x""yes; then :
60204 cat >>confdefs.h <<_ACEOF
60205 #define HAVE_EXPF 1
60206 _ACEOF
60207
60208 fi
60209 done
60210
60211 else
60212
60213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60214 $as_echo_n "checking for _expf declaration... " >&6; }
60215 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60216 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60217 $as_echo_n "(cached) " >&6
60218 else
60219
60220
60221 ac_ext=cpp
60222 ac_cpp='$CXXCPP $CPPFLAGS'
60223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60226
60227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60228 /* end confdefs.h. */
60229 #include <math.h>
60230 #ifdef HAVE_IEEEFP_H
60231 #include <ieeefp.h>
60232 #endif
60233
60234 int
60235 main ()
60236 {
60237 _expf(0);
60238 ;
60239 return 0;
60240 }
60241 _ACEOF
60242 if ac_fn_cxx_try_compile "$LINENO"; then :
60243 glibcxx_cv_func__expf_use=yes
60244 else
60245 glibcxx_cv_func__expf_use=no
60246 fi
60247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60248 ac_ext=c
60249 ac_cpp='$CPP $CPPFLAGS'
60250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60253
60254
60255 fi
60256
60257 fi
60258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60259 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60260
60261 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60262 for ac_func in _expf
60263 do :
60264 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60265 if test "x$ac_cv_func__expf" = x""yes; then :
60266 cat >>confdefs.h <<_ACEOF
60267 #define HAVE__EXPF 1
60268 _ACEOF
60269
60270 fi
60271 done
60272
60273 fi
60274 fi
60275
60276
60277
60278
60279
60280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60281 $as_echo_n "checking for isnanf declaration... " >&6; }
60282 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60283 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60284 $as_echo_n "(cached) " >&6
60285 else
60286
60287
60288 ac_ext=cpp
60289 ac_cpp='$CXXCPP $CPPFLAGS'
60290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60293
60294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60295 /* end confdefs.h. */
60296 #include <math.h>
60297 #ifdef HAVE_IEEEFP_H
60298 #include <ieeefp.h>
60299 #endif
60300
60301 int
60302 main ()
60303 {
60304 isnanf(0);
60305 ;
60306 return 0;
60307 }
60308 _ACEOF
60309 if ac_fn_cxx_try_compile "$LINENO"; then :
60310 glibcxx_cv_func_isnanf_use=yes
60311 else
60312 glibcxx_cv_func_isnanf_use=no
60313 fi
60314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60315 ac_ext=c
60316 ac_cpp='$CPP $CPPFLAGS'
60317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60320
60321
60322 fi
60323
60324 fi
60325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60326 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60327
60328 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60329 for ac_func in isnanf
60330 do :
60331 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60332 if test "x$ac_cv_func_isnanf" = x""yes; then :
60333 cat >>confdefs.h <<_ACEOF
60334 #define HAVE_ISNANF 1
60335 _ACEOF
60336
60337 fi
60338 done
60339
60340 else
60341
60342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60343 $as_echo_n "checking for _isnanf declaration... " >&6; }
60344 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60345 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60346 $as_echo_n "(cached) " >&6
60347 else
60348
60349
60350 ac_ext=cpp
60351 ac_cpp='$CXXCPP $CPPFLAGS'
60352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60355
60356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60357 /* end confdefs.h. */
60358 #include <math.h>
60359 #ifdef HAVE_IEEEFP_H
60360 #include <ieeefp.h>
60361 #endif
60362
60363 int
60364 main ()
60365 {
60366 _isnanf(0);
60367 ;
60368 return 0;
60369 }
60370 _ACEOF
60371 if ac_fn_cxx_try_compile "$LINENO"; then :
60372 glibcxx_cv_func__isnanf_use=yes
60373 else
60374 glibcxx_cv_func__isnanf_use=no
60375 fi
60376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60377 ac_ext=c
60378 ac_cpp='$CPP $CPPFLAGS'
60379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60382
60383
60384 fi
60385
60386 fi
60387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60388 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60389
60390 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60391 for ac_func in _isnanf
60392 do :
60393 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60394 if test "x$ac_cv_func__isnanf" = x""yes; then :
60395 cat >>confdefs.h <<_ACEOF
60396 #define HAVE__ISNANF 1
60397 _ACEOF
60398
60399 fi
60400 done
60401
60402 fi
60403 fi
60404
60405
60406
60407
60408
60409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60410 $as_echo_n "checking for isinff declaration... " >&6; }
60411 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60412 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60413 $as_echo_n "(cached) " >&6
60414 else
60415
60416
60417 ac_ext=cpp
60418 ac_cpp='$CXXCPP $CPPFLAGS'
60419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60422
60423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60424 /* end confdefs.h. */
60425 #include <math.h>
60426 #ifdef HAVE_IEEEFP_H
60427 #include <ieeefp.h>
60428 #endif
60429
60430 int
60431 main ()
60432 {
60433 isinff(0);
60434 ;
60435 return 0;
60436 }
60437 _ACEOF
60438 if ac_fn_cxx_try_compile "$LINENO"; then :
60439 glibcxx_cv_func_isinff_use=yes
60440 else
60441 glibcxx_cv_func_isinff_use=no
60442 fi
60443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60444 ac_ext=c
60445 ac_cpp='$CPP $CPPFLAGS'
60446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60449
60450
60451 fi
60452
60453 fi
60454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60455 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60456
60457 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60458 for ac_func in isinff
60459 do :
60460 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60461 if test "x$ac_cv_func_isinff" = x""yes; then :
60462 cat >>confdefs.h <<_ACEOF
60463 #define HAVE_ISINFF 1
60464 _ACEOF
60465
60466 fi
60467 done
60468
60469 else
60470
60471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60472 $as_echo_n "checking for _isinff declaration... " >&6; }
60473 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60474 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60475 $as_echo_n "(cached) " >&6
60476 else
60477
60478
60479 ac_ext=cpp
60480 ac_cpp='$CXXCPP $CPPFLAGS'
60481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60484
60485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60486 /* end confdefs.h. */
60487 #include <math.h>
60488 #ifdef HAVE_IEEEFP_H
60489 #include <ieeefp.h>
60490 #endif
60491
60492 int
60493 main ()
60494 {
60495 _isinff(0);
60496 ;
60497 return 0;
60498 }
60499 _ACEOF
60500 if ac_fn_cxx_try_compile "$LINENO"; then :
60501 glibcxx_cv_func__isinff_use=yes
60502 else
60503 glibcxx_cv_func__isinff_use=no
60504 fi
60505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60506 ac_ext=c
60507 ac_cpp='$CPP $CPPFLAGS'
60508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60511
60512
60513 fi
60514
60515 fi
60516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60517 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60518
60519 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60520 for ac_func in _isinff
60521 do :
60522 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60523 if test "x$ac_cv_func__isinff" = x""yes; then :
60524 cat >>confdefs.h <<_ACEOF
60525 #define HAVE__ISINFF 1
60526 _ACEOF
60527
60528 fi
60529 done
60530
60531 fi
60532 fi
60533
60534
60535
60536
60537
60538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60539 $as_echo_n "checking for atan2f declaration... " >&6; }
60540 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60541 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60542 $as_echo_n "(cached) " >&6
60543 else
60544
60545
60546 ac_ext=cpp
60547 ac_cpp='$CXXCPP $CPPFLAGS'
60548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60551
60552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60553 /* end confdefs.h. */
60554 #include <math.h>
60555 int
60556 main ()
60557 {
60558 atan2f(0, 0);
60559 ;
60560 return 0;
60561 }
60562 _ACEOF
60563 if ac_fn_cxx_try_compile "$LINENO"; then :
60564 glibcxx_cv_func_atan2f_use=yes
60565 else
60566 glibcxx_cv_func_atan2f_use=no
60567 fi
60568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60569 ac_ext=c
60570 ac_cpp='$CPP $CPPFLAGS'
60571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60574
60575
60576 fi
60577
60578 fi
60579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60580 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60581
60582 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60583 for ac_func in atan2f
60584 do :
60585 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60586 if test "x$ac_cv_func_atan2f" = x""yes; then :
60587 cat >>confdefs.h <<_ACEOF
60588 #define HAVE_ATAN2F 1
60589 _ACEOF
60590
60591 fi
60592 done
60593
60594 else
60595
60596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60597 $as_echo_n "checking for _atan2f declaration... " >&6; }
60598 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60599 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60600 $as_echo_n "(cached) " >&6
60601 else
60602
60603
60604 ac_ext=cpp
60605 ac_cpp='$CXXCPP $CPPFLAGS'
60606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60609
60610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60611 /* end confdefs.h. */
60612 #include <math.h>
60613 int
60614 main ()
60615 {
60616 _atan2f(0, 0);
60617 ;
60618 return 0;
60619 }
60620 _ACEOF
60621 if ac_fn_cxx_try_compile "$LINENO"; then :
60622 glibcxx_cv_func__atan2f_use=yes
60623 else
60624 glibcxx_cv_func__atan2f_use=no
60625 fi
60626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60627 ac_ext=c
60628 ac_cpp='$CPP $CPPFLAGS'
60629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60632
60633
60634 fi
60635
60636 fi
60637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60638 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60639
60640 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60641 for ac_func in _atan2f
60642 do :
60643 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60644 if test "x$ac_cv_func__atan2f" = x""yes; then :
60645 cat >>confdefs.h <<_ACEOF
60646 #define HAVE__ATAN2F 1
60647 _ACEOF
60648
60649 fi
60650 done
60651
60652 fi
60653 fi
60654
60655
60656
60657
60658
60659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60660 $as_echo_n "checking for fabsf declaration... " >&6; }
60661 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60662 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60663 $as_echo_n "(cached) " >&6
60664 else
60665
60666
60667 ac_ext=cpp
60668 ac_cpp='$CXXCPP $CPPFLAGS'
60669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60672
60673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60674 /* end confdefs.h. */
60675 #include <math.h>
60676 #ifdef HAVE_IEEEFP_H
60677 #include <ieeefp.h>
60678 #endif
60679
60680 int
60681 main ()
60682 {
60683 fabsf(0);
60684 ;
60685 return 0;
60686 }
60687 _ACEOF
60688 if ac_fn_cxx_try_compile "$LINENO"; then :
60689 glibcxx_cv_func_fabsf_use=yes
60690 else
60691 glibcxx_cv_func_fabsf_use=no
60692 fi
60693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60694 ac_ext=c
60695 ac_cpp='$CPP $CPPFLAGS'
60696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60699
60700
60701 fi
60702
60703 fi
60704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60705 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60706
60707 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60708 for ac_func in fabsf
60709 do :
60710 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60711 if test "x$ac_cv_func_fabsf" = x""yes; then :
60712 cat >>confdefs.h <<_ACEOF
60713 #define HAVE_FABSF 1
60714 _ACEOF
60715
60716 fi
60717 done
60718
60719 else
60720
60721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60722 $as_echo_n "checking for _fabsf declaration... " >&6; }
60723 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60724 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60725 $as_echo_n "(cached) " >&6
60726 else
60727
60728
60729 ac_ext=cpp
60730 ac_cpp='$CXXCPP $CPPFLAGS'
60731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60734
60735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60736 /* end confdefs.h. */
60737 #include <math.h>
60738 #ifdef HAVE_IEEEFP_H
60739 #include <ieeefp.h>
60740 #endif
60741
60742 int
60743 main ()
60744 {
60745 _fabsf(0);
60746 ;
60747 return 0;
60748 }
60749 _ACEOF
60750 if ac_fn_cxx_try_compile "$LINENO"; then :
60751 glibcxx_cv_func__fabsf_use=yes
60752 else
60753 glibcxx_cv_func__fabsf_use=no
60754 fi
60755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60756 ac_ext=c
60757 ac_cpp='$CPP $CPPFLAGS'
60758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60761
60762
60763 fi
60764
60765 fi
60766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60767 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60768
60769 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60770 for ac_func in _fabsf
60771 do :
60772 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60773 if test "x$ac_cv_func__fabsf" = x""yes; then :
60774 cat >>confdefs.h <<_ACEOF
60775 #define HAVE__FABSF 1
60776 _ACEOF
60777
60778 fi
60779 done
60780
60781 fi
60782 fi
60783
60784
60785
60786
60787
60788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60789 $as_echo_n "checking for fmodf declaration... " >&6; }
60790 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60791 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60792 $as_echo_n "(cached) " >&6
60793 else
60794
60795
60796 ac_ext=cpp
60797 ac_cpp='$CXXCPP $CPPFLAGS'
60798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60801
60802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60803 /* end confdefs.h. */
60804 #include <math.h>
60805 int
60806 main ()
60807 {
60808 fmodf(0, 0);
60809 ;
60810 return 0;
60811 }
60812 _ACEOF
60813 if ac_fn_cxx_try_compile "$LINENO"; then :
60814 glibcxx_cv_func_fmodf_use=yes
60815 else
60816 glibcxx_cv_func_fmodf_use=no
60817 fi
60818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60819 ac_ext=c
60820 ac_cpp='$CPP $CPPFLAGS'
60821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60824
60825
60826 fi
60827
60828 fi
60829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60830 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60831
60832 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60833 for ac_func in fmodf
60834 do :
60835 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60836 if test "x$ac_cv_func_fmodf" = x""yes; then :
60837 cat >>confdefs.h <<_ACEOF
60838 #define HAVE_FMODF 1
60839 _ACEOF
60840
60841 fi
60842 done
60843
60844 else
60845
60846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60847 $as_echo_n "checking for _fmodf declaration... " >&6; }
60848 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60849 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60850 $as_echo_n "(cached) " >&6
60851 else
60852
60853
60854 ac_ext=cpp
60855 ac_cpp='$CXXCPP $CPPFLAGS'
60856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60859
60860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60861 /* end confdefs.h. */
60862 #include <math.h>
60863 int
60864 main ()
60865 {
60866 _fmodf(0, 0);
60867 ;
60868 return 0;
60869 }
60870 _ACEOF
60871 if ac_fn_cxx_try_compile "$LINENO"; then :
60872 glibcxx_cv_func__fmodf_use=yes
60873 else
60874 glibcxx_cv_func__fmodf_use=no
60875 fi
60876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60877 ac_ext=c
60878 ac_cpp='$CPP $CPPFLAGS'
60879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60882
60883
60884 fi
60885
60886 fi
60887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60888 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60889
60890 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60891 for ac_func in _fmodf
60892 do :
60893 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60894 if test "x$ac_cv_func__fmodf" = x""yes; then :
60895 cat >>confdefs.h <<_ACEOF
60896 #define HAVE__FMODF 1
60897 _ACEOF
60898
60899 fi
60900 done
60901
60902 fi
60903 fi
60904
60905
60906
60907
60908
60909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60910 $as_echo_n "checking for frexpf declaration... " >&6; }
60911 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60912 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60913 $as_echo_n "(cached) " >&6
60914 else
60915
60916
60917 ac_ext=cpp
60918 ac_cpp='$CXXCPP $CPPFLAGS'
60919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60922
60923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60924 /* end confdefs.h. */
60925 #include <math.h>
60926 int
60927 main ()
60928 {
60929 frexpf(0, 0);
60930 ;
60931 return 0;
60932 }
60933 _ACEOF
60934 if ac_fn_cxx_try_compile "$LINENO"; then :
60935 glibcxx_cv_func_frexpf_use=yes
60936 else
60937 glibcxx_cv_func_frexpf_use=no
60938 fi
60939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60940 ac_ext=c
60941 ac_cpp='$CPP $CPPFLAGS'
60942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60945
60946
60947 fi
60948
60949 fi
60950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60951 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60952
60953 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60954 for ac_func in frexpf
60955 do :
60956 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60957 if test "x$ac_cv_func_frexpf" = x""yes; then :
60958 cat >>confdefs.h <<_ACEOF
60959 #define HAVE_FREXPF 1
60960 _ACEOF
60961
60962 fi
60963 done
60964
60965 else
60966
60967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60968 $as_echo_n "checking for _frexpf declaration... " >&6; }
60969 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60970 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60971 $as_echo_n "(cached) " >&6
60972 else
60973
60974
60975 ac_ext=cpp
60976 ac_cpp='$CXXCPP $CPPFLAGS'
60977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60980
60981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60982 /* end confdefs.h. */
60983 #include <math.h>
60984 int
60985 main ()
60986 {
60987 _frexpf(0, 0);
60988 ;
60989 return 0;
60990 }
60991 _ACEOF
60992 if ac_fn_cxx_try_compile "$LINENO"; then :
60993 glibcxx_cv_func__frexpf_use=yes
60994 else
60995 glibcxx_cv_func__frexpf_use=no
60996 fi
60997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60998 ac_ext=c
60999 ac_cpp='$CPP $CPPFLAGS'
61000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61003
61004
61005 fi
61006
61007 fi
61008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61009 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61010
61011 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61012 for ac_func in _frexpf
61013 do :
61014 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61015 if test "x$ac_cv_func__frexpf" = x""yes; then :
61016 cat >>confdefs.h <<_ACEOF
61017 #define HAVE__FREXPF 1
61018 _ACEOF
61019
61020 fi
61021 done
61022
61023 fi
61024 fi
61025
61026
61027
61028
61029
61030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61031 $as_echo_n "checking for hypotf declaration... " >&6; }
61032 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61033 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61034 $as_echo_n "(cached) " >&6
61035 else
61036
61037
61038 ac_ext=cpp
61039 ac_cpp='$CXXCPP $CPPFLAGS'
61040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61043
61044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61045 /* end confdefs.h. */
61046 #include <math.h>
61047 int
61048 main ()
61049 {
61050 hypotf(0, 0);
61051 ;
61052 return 0;
61053 }
61054 _ACEOF
61055 if ac_fn_cxx_try_compile "$LINENO"; then :
61056 glibcxx_cv_func_hypotf_use=yes
61057 else
61058 glibcxx_cv_func_hypotf_use=no
61059 fi
61060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61061 ac_ext=c
61062 ac_cpp='$CPP $CPPFLAGS'
61063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61066
61067
61068 fi
61069
61070 fi
61071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61072 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61073
61074 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61075 for ac_func in hypotf
61076 do :
61077 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61078 if test "x$ac_cv_func_hypotf" = x""yes; then :
61079 cat >>confdefs.h <<_ACEOF
61080 #define HAVE_HYPOTF 1
61081 _ACEOF
61082
61083 fi
61084 done
61085
61086 else
61087
61088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61089 $as_echo_n "checking for _hypotf declaration... " >&6; }
61090 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61091 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61092 $as_echo_n "(cached) " >&6
61093 else
61094
61095
61096 ac_ext=cpp
61097 ac_cpp='$CXXCPP $CPPFLAGS'
61098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61101
61102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61103 /* end confdefs.h. */
61104 #include <math.h>
61105 int
61106 main ()
61107 {
61108 _hypotf(0, 0);
61109 ;
61110 return 0;
61111 }
61112 _ACEOF
61113 if ac_fn_cxx_try_compile "$LINENO"; then :
61114 glibcxx_cv_func__hypotf_use=yes
61115 else
61116 glibcxx_cv_func__hypotf_use=no
61117 fi
61118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61119 ac_ext=c
61120 ac_cpp='$CPP $CPPFLAGS'
61121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61124
61125
61126 fi
61127
61128 fi
61129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61130 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61131
61132 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61133 for ac_func in _hypotf
61134 do :
61135 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61136 if test "x$ac_cv_func__hypotf" = x""yes; then :
61137 cat >>confdefs.h <<_ACEOF
61138 #define HAVE__HYPOTF 1
61139 _ACEOF
61140
61141 fi
61142 done
61143
61144 fi
61145 fi
61146
61147
61148
61149
61150
61151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61152 $as_echo_n "checking for ldexpf declaration... " >&6; }
61153 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61154 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61155 $as_echo_n "(cached) " >&6
61156 else
61157
61158
61159 ac_ext=cpp
61160 ac_cpp='$CXXCPP $CPPFLAGS'
61161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61164
61165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61166 /* end confdefs.h. */
61167 #include <math.h>
61168 int
61169 main ()
61170 {
61171 ldexpf(0, 0);
61172 ;
61173 return 0;
61174 }
61175 _ACEOF
61176 if ac_fn_cxx_try_compile "$LINENO"; then :
61177 glibcxx_cv_func_ldexpf_use=yes
61178 else
61179 glibcxx_cv_func_ldexpf_use=no
61180 fi
61181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61182 ac_ext=c
61183 ac_cpp='$CPP $CPPFLAGS'
61184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61187
61188
61189 fi
61190
61191 fi
61192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61193 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61194
61195 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61196 for ac_func in ldexpf
61197 do :
61198 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61199 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61200 cat >>confdefs.h <<_ACEOF
61201 #define HAVE_LDEXPF 1
61202 _ACEOF
61203
61204 fi
61205 done
61206
61207 else
61208
61209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61210 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61211 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61212 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61213 $as_echo_n "(cached) " >&6
61214 else
61215
61216
61217 ac_ext=cpp
61218 ac_cpp='$CXXCPP $CPPFLAGS'
61219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61222
61223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61224 /* end confdefs.h. */
61225 #include <math.h>
61226 int
61227 main ()
61228 {
61229 _ldexpf(0, 0);
61230 ;
61231 return 0;
61232 }
61233 _ACEOF
61234 if ac_fn_cxx_try_compile "$LINENO"; then :
61235 glibcxx_cv_func__ldexpf_use=yes
61236 else
61237 glibcxx_cv_func__ldexpf_use=no
61238 fi
61239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61240 ac_ext=c
61241 ac_cpp='$CPP $CPPFLAGS'
61242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61245
61246
61247 fi
61248
61249 fi
61250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61251 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61252
61253 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61254 for ac_func in _ldexpf
61255 do :
61256 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61257 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61258 cat >>confdefs.h <<_ACEOF
61259 #define HAVE__LDEXPF 1
61260 _ACEOF
61261
61262 fi
61263 done
61264
61265 fi
61266 fi
61267
61268
61269
61270
61271
61272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61273 $as_echo_n "checking for logf declaration... " >&6; }
61274 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61275 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61276 $as_echo_n "(cached) " >&6
61277 else
61278
61279
61280 ac_ext=cpp
61281 ac_cpp='$CXXCPP $CPPFLAGS'
61282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61285
61286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61287 /* end confdefs.h. */
61288 #include <math.h>
61289 #ifdef HAVE_IEEEFP_H
61290 #include <ieeefp.h>
61291 #endif
61292
61293 int
61294 main ()
61295 {
61296 logf(0);
61297 ;
61298 return 0;
61299 }
61300 _ACEOF
61301 if ac_fn_cxx_try_compile "$LINENO"; then :
61302 glibcxx_cv_func_logf_use=yes
61303 else
61304 glibcxx_cv_func_logf_use=no
61305 fi
61306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61307 ac_ext=c
61308 ac_cpp='$CPP $CPPFLAGS'
61309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61312
61313
61314 fi
61315
61316 fi
61317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61318 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61319
61320 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61321 for ac_func in logf
61322 do :
61323 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61324 if test "x$ac_cv_func_logf" = x""yes; then :
61325 cat >>confdefs.h <<_ACEOF
61326 #define HAVE_LOGF 1
61327 _ACEOF
61328
61329 fi
61330 done
61331
61332 else
61333
61334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61335 $as_echo_n "checking for _logf declaration... " >&6; }
61336 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61337 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61338 $as_echo_n "(cached) " >&6
61339 else
61340
61341
61342 ac_ext=cpp
61343 ac_cpp='$CXXCPP $CPPFLAGS'
61344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61347
61348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61349 /* end confdefs.h. */
61350 #include <math.h>
61351 #ifdef HAVE_IEEEFP_H
61352 #include <ieeefp.h>
61353 #endif
61354
61355 int
61356 main ()
61357 {
61358 _logf(0);
61359 ;
61360 return 0;
61361 }
61362 _ACEOF
61363 if ac_fn_cxx_try_compile "$LINENO"; then :
61364 glibcxx_cv_func__logf_use=yes
61365 else
61366 glibcxx_cv_func__logf_use=no
61367 fi
61368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61369 ac_ext=c
61370 ac_cpp='$CPP $CPPFLAGS'
61371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61374
61375
61376 fi
61377
61378 fi
61379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61380 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61381
61382 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61383 for ac_func in _logf
61384 do :
61385 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61386 if test "x$ac_cv_func__logf" = x""yes; then :
61387 cat >>confdefs.h <<_ACEOF
61388 #define HAVE__LOGF 1
61389 _ACEOF
61390
61391 fi
61392 done
61393
61394 fi
61395 fi
61396
61397
61398
61399
61400
61401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61402 $as_echo_n "checking for log10f declaration... " >&6; }
61403 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61404 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61405 $as_echo_n "(cached) " >&6
61406 else
61407
61408
61409 ac_ext=cpp
61410 ac_cpp='$CXXCPP $CPPFLAGS'
61411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61414
61415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61416 /* end confdefs.h. */
61417 #include <math.h>
61418 #ifdef HAVE_IEEEFP_H
61419 #include <ieeefp.h>
61420 #endif
61421
61422 int
61423 main ()
61424 {
61425 log10f(0);
61426 ;
61427 return 0;
61428 }
61429 _ACEOF
61430 if ac_fn_cxx_try_compile "$LINENO"; then :
61431 glibcxx_cv_func_log10f_use=yes
61432 else
61433 glibcxx_cv_func_log10f_use=no
61434 fi
61435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61436 ac_ext=c
61437 ac_cpp='$CPP $CPPFLAGS'
61438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61441
61442
61443 fi
61444
61445 fi
61446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61447 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61448
61449 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61450 for ac_func in log10f
61451 do :
61452 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61453 if test "x$ac_cv_func_log10f" = x""yes; then :
61454 cat >>confdefs.h <<_ACEOF
61455 #define HAVE_LOG10F 1
61456 _ACEOF
61457
61458 fi
61459 done
61460
61461 else
61462
61463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61464 $as_echo_n "checking for _log10f declaration... " >&6; }
61465 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61466 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61467 $as_echo_n "(cached) " >&6
61468 else
61469
61470
61471 ac_ext=cpp
61472 ac_cpp='$CXXCPP $CPPFLAGS'
61473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61476
61477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61478 /* end confdefs.h. */
61479 #include <math.h>
61480 #ifdef HAVE_IEEEFP_H
61481 #include <ieeefp.h>
61482 #endif
61483
61484 int
61485 main ()
61486 {
61487 _log10f(0);
61488 ;
61489 return 0;
61490 }
61491 _ACEOF
61492 if ac_fn_cxx_try_compile "$LINENO"; then :
61493 glibcxx_cv_func__log10f_use=yes
61494 else
61495 glibcxx_cv_func__log10f_use=no
61496 fi
61497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61498 ac_ext=c
61499 ac_cpp='$CPP $CPPFLAGS'
61500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61503
61504
61505 fi
61506
61507 fi
61508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61509 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61510
61511 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61512 for ac_func in _log10f
61513 do :
61514 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61515 if test "x$ac_cv_func__log10f" = x""yes; then :
61516 cat >>confdefs.h <<_ACEOF
61517 #define HAVE__LOG10F 1
61518 _ACEOF
61519
61520 fi
61521 done
61522
61523 fi
61524 fi
61525
61526
61527
61528
61529
61530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61531 $as_echo_n "checking for modff declaration... " >&6; }
61532 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61533 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61534 $as_echo_n "(cached) " >&6
61535 else
61536
61537
61538 ac_ext=cpp
61539 ac_cpp='$CXXCPP $CPPFLAGS'
61540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61543
61544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61545 /* end confdefs.h. */
61546 #include <math.h>
61547 int
61548 main ()
61549 {
61550 modff(0, 0);
61551 ;
61552 return 0;
61553 }
61554 _ACEOF
61555 if ac_fn_cxx_try_compile "$LINENO"; then :
61556 glibcxx_cv_func_modff_use=yes
61557 else
61558 glibcxx_cv_func_modff_use=no
61559 fi
61560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61561 ac_ext=c
61562 ac_cpp='$CPP $CPPFLAGS'
61563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61566
61567
61568 fi
61569
61570 fi
61571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61572 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61573
61574 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61575 for ac_func in modff
61576 do :
61577 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61578 if test "x$ac_cv_func_modff" = x""yes; then :
61579 cat >>confdefs.h <<_ACEOF
61580 #define HAVE_MODFF 1
61581 _ACEOF
61582
61583 fi
61584 done
61585
61586 else
61587
61588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61589 $as_echo_n "checking for _modff declaration... " >&6; }
61590 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61591 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61592 $as_echo_n "(cached) " >&6
61593 else
61594
61595
61596 ac_ext=cpp
61597 ac_cpp='$CXXCPP $CPPFLAGS'
61598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61601
61602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61603 /* end confdefs.h. */
61604 #include <math.h>
61605 int
61606 main ()
61607 {
61608 _modff(0, 0);
61609 ;
61610 return 0;
61611 }
61612 _ACEOF
61613 if ac_fn_cxx_try_compile "$LINENO"; then :
61614 glibcxx_cv_func__modff_use=yes
61615 else
61616 glibcxx_cv_func__modff_use=no
61617 fi
61618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61619 ac_ext=c
61620 ac_cpp='$CPP $CPPFLAGS'
61621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61624
61625
61626 fi
61627
61628 fi
61629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61630 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61631
61632 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61633 for ac_func in _modff
61634 do :
61635 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61636 if test "x$ac_cv_func__modff" = x""yes; then :
61637 cat >>confdefs.h <<_ACEOF
61638 #define HAVE__MODFF 1
61639 _ACEOF
61640
61641 fi
61642 done
61643
61644 fi
61645 fi
61646
61647
61648
61649
61650
61651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61652 $as_echo_n "checking for modf declaration... " >&6; }
61653 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61654 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61655 $as_echo_n "(cached) " >&6
61656 else
61657
61658
61659 ac_ext=cpp
61660 ac_cpp='$CXXCPP $CPPFLAGS'
61661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61664
61665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61666 /* end confdefs.h. */
61667 #include <math.h>
61668 int
61669 main ()
61670 {
61671 modf(0, 0);
61672 ;
61673 return 0;
61674 }
61675 _ACEOF
61676 if ac_fn_cxx_try_compile "$LINENO"; then :
61677 glibcxx_cv_func_modf_use=yes
61678 else
61679 glibcxx_cv_func_modf_use=no
61680 fi
61681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61682 ac_ext=c
61683 ac_cpp='$CPP $CPPFLAGS'
61684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61687
61688
61689 fi
61690
61691 fi
61692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61693 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61694
61695 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61696 for ac_func in modf
61697 do :
61698 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61699 if test "x$ac_cv_func_modf" = x""yes; then :
61700 cat >>confdefs.h <<_ACEOF
61701 #define HAVE_MODF 1
61702 _ACEOF
61703
61704 fi
61705 done
61706
61707 else
61708
61709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61710 $as_echo_n "checking for _modf declaration... " >&6; }
61711 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61712 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61713 $as_echo_n "(cached) " >&6
61714 else
61715
61716
61717 ac_ext=cpp
61718 ac_cpp='$CXXCPP $CPPFLAGS'
61719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61722
61723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61724 /* end confdefs.h. */
61725 #include <math.h>
61726 int
61727 main ()
61728 {
61729 _modf(0, 0);
61730 ;
61731 return 0;
61732 }
61733 _ACEOF
61734 if ac_fn_cxx_try_compile "$LINENO"; then :
61735 glibcxx_cv_func__modf_use=yes
61736 else
61737 glibcxx_cv_func__modf_use=no
61738 fi
61739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61740 ac_ext=c
61741 ac_cpp='$CPP $CPPFLAGS'
61742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61745
61746
61747 fi
61748
61749 fi
61750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61751 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61752
61753 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61754 for ac_func in _modf
61755 do :
61756 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61757 if test "x$ac_cv_func__modf" = x""yes; then :
61758 cat >>confdefs.h <<_ACEOF
61759 #define HAVE__MODF 1
61760 _ACEOF
61761
61762 fi
61763 done
61764
61765 fi
61766 fi
61767
61768
61769
61770
61771
61772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61773 $as_echo_n "checking for powf declaration... " >&6; }
61774 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61775 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61776 $as_echo_n "(cached) " >&6
61777 else
61778
61779
61780 ac_ext=cpp
61781 ac_cpp='$CXXCPP $CPPFLAGS'
61782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61785
61786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61787 /* end confdefs.h. */
61788 #include <math.h>
61789 int
61790 main ()
61791 {
61792 powf(0, 0);
61793 ;
61794 return 0;
61795 }
61796 _ACEOF
61797 if ac_fn_cxx_try_compile "$LINENO"; then :
61798 glibcxx_cv_func_powf_use=yes
61799 else
61800 glibcxx_cv_func_powf_use=no
61801 fi
61802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61803 ac_ext=c
61804 ac_cpp='$CPP $CPPFLAGS'
61805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61808
61809
61810 fi
61811
61812 fi
61813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61814 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61815
61816 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61817 for ac_func in powf
61818 do :
61819 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61820 if test "x$ac_cv_func_powf" = x""yes; then :
61821 cat >>confdefs.h <<_ACEOF
61822 #define HAVE_POWF 1
61823 _ACEOF
61824
61825 fi
61826 done
61827
61828 else
61829
61830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61831 $as_echo_n "checking for _powf declaration... " >&6; }
61832 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61833 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61834 $as_echo_n "(cached) " >&6
61835 else
61836
61837
61838 ac_ext=cpp
61839 ac_cpp='$CXXCPP $CPPFLAGS'
61840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61843
61844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61845 /* end confdefs.h. */
61846 #include <math.h>
61847 int
61848 main ()
61849 {
61850 _powf(0, 0);
61851 ;
61852 return 0;
61853 }
61854 _ACEOF
61855 if ac_fn_cxx_try_compile "$LINENO"; then :
61856 glibcxx_cv_func__powf_use=yes
61857 else
61858 glibcxx_cv_func__powf_use=no
61859 fi
61860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61861 ac_ext=c
61862 ac_cpp='$CPP $CPPFLAGS'
61863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61866
61867
61868 fi
61869
61870 fi
61871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61872 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61873
61874 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61875 for ac_func in _powf
61876 do :
61877 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61878 if test "x$ac_cv_func__powf" = x""yes; then :
61879 cat >>confdefs.h <<_ACEOF
61880 #define HAVE__POWF 1
61881 _ACEOF
61882
61883 fi
61884 done
61885
61886 fi
61887 fi
61888
61889
61890
61891
61892
61893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61894 $as_echo_n "checking for sqrtf declaration... " >&6; }
61895 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61896 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61897 $as_echo_n "(cached) " >&6
61898 else
61899
61900
61901 ac_ext=cpp
61902 ac_cpp='$CXXCPP $CPPFLAGS'
61903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61906
61907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61908 /* end confdefs.h. */
61909 #include <math.h>
61910 #ifdef HAVE_IEEEFP_H
61911 #include <ieeefp.h>
61912 #endif
61913
61914 int
61915 main ()
61916 {
61917 sqrtf(0);
61918 ;
61919 return 0;
61920 }
61921 _ACEOF
61922 if ac_fn_cxx_try_compile "$LINENO"; then :
61923 glibcxx_cv_func_sqrtf_use=yes
61924 else
61925 glibcxx_cv_func_sqrtf_use=no
61926 fi
61927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61928 ac_ext=c
61929 ac_cpp='$CPP $CPPFLAGS'
61930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61933
61934
61935 fi
61936
61937 fi
61938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61939 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61940
61941 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61942 for ac_func in sqrtf
61943 do :
61944 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61945 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61946 cat >>confdefs.h <<_ACEOF
61947 #define HAVE_SQRTF 1
61948 _ACEOF
61949
61950 fi
61951 done
61952
61953 else
61954
61955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61956 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61957 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61958 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61959 $as_echo_n "(cached) " >&6
61960 else
61961
61962
61963 ac_ext=cpp
61964 ac_cpp='$CXXCPP $CPPFLAGS'
61965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61968
61969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61970 /* end confdefs.h. */
61971 #include <math.h>
61972 #ifdef HAVE_IEEEFP_H
61973 #include <ieeefp.h>
61974 #endif
61975
61976 int
61977 main ()
61978 {
61979 _sqrtf(0);
61980 ;
61981 return 0;
61982 }
61983 _ACEOF
61984 if ac_fn_cxx_try_compile "$LINENO"; then :
61985 glibcxx_cv_func__sqrtf_use=yes
61986 else
61987 glibcxx_cv_func__sqrtf_use=no
61988 fi
61989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61990 ac_ext=c
61991 ac_cpp='$CPP $CPPFLAGS'
61992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61995
61996
61997 fi
61998
61999 fi
62000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62001 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62002
62003 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62004 for ac_func in _sqrtf
62005 do :
62006 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62007 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62008 cat >>confdefs.h <<_ACEOF
62009 #define HAVE__SQRTF 1
62010 _ACEOF
62011
62012 fi
62013 done
62014
62015 fi
62016 fi
62017
62018
62019
62020
62021
62022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62023 $as_echo_n "checking for sincosf declaration... " >&6; }
62024 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62025 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62026 $as_echo_n "(cached) " >&6
62027 else
62028
62029
62030 ac_ext=cpp
62031 ac_cpp='$CXXCPP $CPPFLAGS'
62032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62035
62036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62037 /* end confdefs.h. */
62038 #include <math.h>
62039 int
62040 main ()
62041 {
62042 sincosf(0, 0, 0);
62043 ;
62044 return 0;
62045 }
62046 _ACEOF
62047 if ac_fn_cxx_try_compile "$LINENO"; then :
62048 glibcxx_cv_func_sincosf_use=yes
62049 else
62050 glibcxx_cv_func_sincosf_use=no
62051 fi
62052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62053 ac_ext=c
62054 ac_cpp='$CPP $CPPFLAGS'
62055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62058
62059
62060 fi
62061
62062 fi
62063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62064 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62065
62066 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62067 for ac_func in sincosf
62068 do :
62069 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62070 if test "x$ac_cv_func_sincosf" = x""yes; then :
62071 cat >>confdefs.h <<_ACEOF
62072 #define HAVE_SINCOSF 1
62073 _ACEOF
62074
62075 fi
62076 done
62077
62078 else
62079
62080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62081 $as_echo_n "checking for _sincosf declaration... " >&6; }
62082 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62083 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62084 $as_echo_n "(cached) " >&6
62085 else
62086
62087
62088 ac_ext=cpp
62089 ac_cpp='$CXXCPP $CPPFLAGS'
62090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62093
62094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62095 /* end confdefs.h. */
62096 #include <math.h>
62097 int
62098 main ()
62099 {
62100 _sincosf(0, 0, 0);
62101 ;
62102 return 0;
62103 }
62104 _ACEOF
62105 if ac_fn_cxx_try_compile "$LINENO"; then :
62106 glibcxx_cv_func__sincosf_use=yes
62107 else
62108 glibcxx_cv_func__sincosf_use=no
62109 fi
62110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62111 ac_ext=c
62112 ac_cpp='$CPP $CPPFLAGS'
62113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62116
62117
62118 fi
62119
62120 fi
62121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62122 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62123
62124 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62125 for ac_func in _sincosf
62126 do :
62127 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62128 if test "x$ac_cv_func__sincosf" = x""yes; then :
62129 cat >>confdefs.h <<_ACEOF
62130 #define HAVE__SINCOSF 1
62131 _ACEOF
62132
62133 fi
62134 done
62135
62136 fi
62137 fi
62138
62139
62140
62141
62142
62143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62144 $as_echo_n "checking for finitef declaration... " >&6; }
62145 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62146 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62147 $as_echo_n "(cached) " >&6
62148 else
62149
62150
62151 ac_ext=cpp
62152 ac_cpp='$CXXCPP $CPPFLAGS'
62153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62156
62157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62158 /* end confdefs.h. */
62159 #include <math.h>
62160 #ifdef HAVE_IEEEFP_H
62161 #include <ieeefp.h>
62162 #endif
62163
62164 int
62165 main ()
62166 {
62167 finitef(0);
62168 ;
62169 return 0;
62170 }
62171 _ACEOF
62172 if ac_fn_cxx_try_compile "$LINENO"; then :
62173 glibcxx_cv_func_finitef_use=yes
62174 else
62175 glibcxx_cv_func_finitef_use=no
62176 fi
62177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62178 ac_ext=c
62179 ac_cpp='$CPP $CPPFLAGS'
62180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62183
62184
62185 fi
62186
62187 fi
62188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62189 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62190
62191 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62192 for ac_func in finitef
62193 do :
62194 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62195 if test "x$ac_cv_func_finitef" = x""yes; then :
62196 cat >>confdefs.h <<_ACEOF
62197 #define HAVE_FINITEF 1
62198 _ACEOF
62199
62200 fi
62201 done
62202
62203 else
62204
62205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62206 $as_echo_n "checking for _finitef declaration... " >&6; }
62207 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62208 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62209 $as_echo_n "(cached) " >&6
62210 else
62211
62212
62213 ac_ext=cpp
62214 ac_cpp='$CXXCPP $CPPFLAGS'
62215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62218
62219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62220 /* end confdefs.h. */
62221 #include <math.h>
62222 #ifdef HAVE_IEEEFP_H
62223 #include <ieeefp.h>
62224 #endif
62225
62226 int
62227 main ()
62228 {
62229 _finitef(0);
62230 ;
62231 return 0;
62232 }
62233 _ACEOF
62234 if ac_fn_cxx_try_compile "$LINENO"; then :
62235 glibcxx_cv_func__finitef_use=yes
62236 else
62237 glibcxx_cv_func__finitef_use=no
62238 fi
62239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62240 ac_ext=c
62241 ac_cpp='$CPP $CPPFLAGS'
62242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62245
62246
62247 fi
62248
62249 fi
62250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62251 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62252
62253 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62254 for ac_func in _finitef
62255 do :
62256 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62257 if test "x$ac_cv_func__finitef" = x""yes; then :
62258 cat >>confdefs.h <<_ACEOF
62259 #define HAVE__FINITEF 1
62260 _ACEOF
62261
62262 fi
62263 done
62264
62265 fi
62266 fi
62267
62268
62269
62270
62271
62272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62273 $as_echo_n "checking for long double trig functions... " >&6; }
62274 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62275 $as_echo_n "(cached) " >&6
62276 else
62277
62278
62279 ac_ext=cpp
62280 ac_cpp='$CXXCPP $CPPFLAGS'
62281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62284
62285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62286 /* end confdefs.h. */
62287 #include <math.h>
62288 int
62289 main ()
62290 {
62291 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62292 ;
62293 return 0;
62294 }
62295 _ACEOF
62296 if ac_fn_cxx_try_compile "$LINENO"; then :
62297 glibcxx_cv_func_long_double_trig_use=yes
62298 else
62299 glibcxx_cv_func_long_double_trig_use=no
62300 fi
62301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62302 ac_ext=c
62303 ac_cpp='$CPP $CPPFLAGS'
62304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62307
62308 fi
62309
62310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62311 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62312 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62313 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62314 do :
62315 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62316 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62317 eval as_val=\$$as_ac_var
62318 if test "x$as_val" = x""yes; then :
62319 cat >>confdefs.h <<_ACEOF
62320 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62321 _ACEOF
62322
62323 fi
62324 done
62325
62326 else
62327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62328 $as_echo_n "checking for _long double trig functions... " >&6; }
62329 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62330 $as_echo_n "(cached) " >&6
62331 else
62332
62333
62334 ac_ext=cpp
62335 ac_cpp='$CXXCPP $CPPFLAGS'
62336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62339
62340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62341 /* end confdefs.h. */
62342 #include <math.h>
62343 int
62344 main ()
62345 {
62346 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62347 ;
62348 return 0;
62349 }
62350 _ACEOF
62351 if ac_fn_cxx_try_compile "$LINENO"; then :
62352 glibcxx_cv_func__long_double_trig_use=yes
62353 else
62354 glibcxx_cv_func__long_double_trig_use=no
62355 fi
62356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62357 ac_ext=c
62358 ac_cpp='$CPP $CPPFLAGS'
62359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62362
62363 fi
62364
62365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62366 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62367 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62368 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62369 do :
62370 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62371 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62372 eval as_val=\$$as_ac_var
62373 if test "x$as_val" = x""yes; then :
62374 cat >>confdefs.h <<_ACEOF
62375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62376 _ACEOF
62377
62378 fi
62379 done
62380
62381 fi
62382 fi
62383
62384
62385
62386
62387
62388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62389 $as_echo_n "checking for long double round functions... " >&6; }
62390 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62391 $as_echo_n "(cached) " >&6
62392 else
62393
62394
62395 ac_ext=cpp
62396 ac_cpp='$CXXCPP $CPPFLAGS'
62397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62400
62401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62402 /* end confdefs.h. */
62403 #include <math.h>
62404 int
62405 main ()
62406 {
62407 ceill (0); floorl (0);
62408 ;
62409 return 0;
62410 }
62411 _ACEOF
62412 if ac_fn_cxx_try_compile "$LINENO"; then :
62413 glibcxx_cv_func_long_double_round_use=yes
62414 else
62415 glibcxx_cv_func_long_double_round_use=no
62416 fi
62417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62418 ac_ext=c
62419 ac_cpp='$CPP $CPPFLAGS'
62420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62423
62424 fi
62425
62426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62427 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62428 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62429 for ac_func in ceill floorl
62430 do :
62431 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62432 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62433 eval as_val=\$$as_ac_var
62434 if test "x$as_val" = x""yes; then :
62435 cat >>confdefs.h <<_ACEOF
62436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62437 _ACEOF
62438
62439 fi
62440 done
62441
62442 else
62443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62444 $as_echo_n "checking for _long double round functions... " >&6; }
62445 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62446 $as_echo_n "(cached) " >&6
62447 else
62448
62449
62450 ac_ext=cpp
62451 ac_cpp='$CXXCPP $CPPFLAGS'
62452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62455
62456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62457 /* end confdefs.h. */
62458 #include <math.h>
62459 int
62460 main ()
62461 {
62462 _ceill (0); _floorl (0);
62463 ;
62464 return 0;
62465 }
62466 _ACEOF
62467 if ac_fn_cxx_try_compile "$LINENO"; then :
62468 glibcxx_cv_func__long_double_round_use=yes
62469 else
62470 glibcxx_cv_func__long_double_round_use=no
62471 fi
62472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62473 ac_ext=c
62474 ac_cpp='$CPP $CPPFLAGS'
62475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62478
62479 fi
62480
62481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62482 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62483 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62484 for ac_func in _ceill _floorl
62485 do :
62486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62488 eval as_val=\$$as_ac_var
62489 if test "x$as_val" = x""yes; then :
62490 cat >>confdefs.h <<_ACEOF
62491 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62492 _ACEOF
62493
62494 fi
62495 done
62496
62497 fi
62498 fi
62499
62500
62501
62502
62503
62504
62505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62506 $as_echo_n "checking for isnanl declaration... " >&6; }
62507 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62508 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62509 $as_echo_n "(cached) " >&6
62510 else
62511
62512
62513 ac_ext=cpp
62514 ac_cpp='$CXXCPP $CPPFLAGS'
62515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62518
62519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62520 /* end confdefs.h. */
62521 #include <math.h>
62522 #ifdef HAVE_IEEEFP_H
62523 #include <ieeefp.h>
62524 #endif
62525
62526 int
62527 main ()
62528 {
62529 isnanl(0);
62530 ;
62531 return 0;
62532 }
62533 _ACEOF
62534 if ac_fn_cxx_try_compile "$LINENO"; then :
62535 glibcxx_cv_func_isnanl_use=yes
62536 else
62537 glibcxx_cv_func_isnanl_use=no
62538 fi
62539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62540 ac_ext=c
62541 ac_cpp='$CPP $CPPFLAGS'
62542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62545
62546
62547 fi
62548
62549 fi
62550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62551 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62552
62553 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62554 for ac_func in isnanl
62555 do :
62556 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62557 if test "x$ac_cv_func_isnanl" = x""yes; then :
62558 cat >>confdefs.h <<_ACEOF
62559 #define HAVE_ISNANL 1
62560 _ACEOF
62561
62562 fi
62563 done
62564
62565 else
62566
62567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62568 $as_echo_n "checking for _isnanl declaration... " >&6; }
62569 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62570 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62571 $as_echo_n "(cached) " >&6
62572 else
62573
62574
62575 ac_ext=cpp
62576 ac_cpp='$CXXCPP $CPPFLAGS'
62577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62580
62581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62582 /* end confdefs.h. */
62583 #include <math.h>
62584 #ifdef HAVE_IEEEFP_H
62585 #include <ieeefp.h>
62586 #endif
62587
62588 int
62589 main ()
62590 {
62591 _isnanl(0);
62592 ;
62593 return 0;
62594 }
62595 _ACEOF
62596 if ac_fn_cxx_try_compile "$LINENO"; then :
62597 glibcxx_cv_func__isnanl_use=yes
62598 else
62599 glibcxx_cv_func__isnanl_use=no
62600 fi
62601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62602 ac_ext=c
62603 ac_cpp='$CPP $CPPFLAGS'
62604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62607
62608
62609 fi
62610
62611 fi
62612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62613 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62614
62615 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62616 for ac_func in _isnanl
62617 do :
62618 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62619 if test "x$ac_cv_func__isnanl" = x""yes; then :
62620 cat >>confdefs.h <<_ACEOF
62621 #define HAVE__ISNANL 1
62622 _ACEOF
62623
62624 fi
62625 done
62626
62627 fi
62628 fi
62629
62630
62631
62632
62633
62634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62635 $as_echo_n "checking for isinfl declaration... " >&6; }
62636 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62637 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62638 $as_echo_n "(cached) " >&6
62639 else
62640
62641
62642 ac_ext=cpp
62643 ac_cpp='$CXXCPP $CPPFLAGS'
62644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62647
62648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62649 /* end confdefs.h. */
62650 #include <math.h>
62651 #ifdef HAVE_IEEEFP_H
62652 #include <ieeefp.h>
62653 #endif
62654
62655 int
62656 main ()
62657 {
62658 isinfl(0);
62659 ;
62660 return 0;
62661 }
62662 _ACEOF
62663 if ac_fn_cxx_try_compile "$LINENO"; then :
62664 glibcxx_cv_func_isinfl_use=yes
62665 else
62666 glibcxx_cv_func_isinfl_use=no
62667 fi
62668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62669 ac_ext=c
62670 ac_cpp='$CPP $CPPFLAGS'
62671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62674
62675
62676 fi
62677
62678 fi
62679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62680 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62681
62682 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62683 for ac_func in isinfl
62684 do :
62685 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62686 if test "x$ac_cv_func_isinfl" = x""yes; then :
62687 cat >>confdefs.h <<_ACEOF
62688 #define HAVE_ISINFL 1
62689 _ACEOF
62690
62691 fi
62692 done
62693
62694 else
62695
62696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62697 $as_echo_n "checking for _isinfl declaration... " >&6; }
62698 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62699 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62700 $as_echo_n "(cached) " >&6
62701 else
62702
62703
62704 ac_ext=cpp
62705 ac_cpp='$CXXCPP $CPPFLAGS'
62706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62709
62710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62711 /* end confdefs.h. */
62712 #include <math.h>
62713 #ifdef HAVE_IEEEFP_H
62714 #include <ieeefp.h>
62715 #endif
62716
62717 int
62718 main ()
62719 {
62720 _isinfl(0);
62721 ;
62722 return 0;
62723 }
62724 _ACEOF
62725 if ac_fn_cxx_try_compile "$LINENO"; then :
62726 glibcxx_cv_func__isinfl_use=yes
62727 else
62728 glibcxx_cv_func__isinfl_use=no
62729 fi
62730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62731 ac_ext=c
62732 ac_cpp='$CPP $CPPFLAGS'
62733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62736
62737
62738 fi
62739
62740 fi
62741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62742 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62743
62744 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62745 for ac_func in _isinfl
62746 do :
62747 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62748 if test "x$ac_cv_func__isinfl" = x""yes; then :
62749 cat >>confdefs.h <<_ACEOF
62750 #define HAVE__ISINFL 1
62751 _ACEOF
62752
62753 fi
62754 done
62755
62756 fi
62757 fi
62758
62759
62760
62761
62762
62763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62764 $as_echo_n "checking for atan2l declaration... " >&6; }
62765 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62766 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62767 $as_echo_n "(cached) " >&6
62768 else
62769
62770
62771 ac_ext=cpp
62772 ac_cpp='$CXXCPP $CPPFLAGS'
62773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62776
62777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62778 /* end confdefs.h. */
62779 #include <math.h>
62780 int
62781 main ()
62782 {
62783 atan2l(0, 0);
62784 ;
62785 return 0;
62786 }
62787 _ACEOF
62788 if ac_fn_cxx_try_compile "$LINENO"; then :
62789 glibcxx_cv_func_atan2l_use=yes
62790 else
62791 glibcxx_cv_func_atan2l_use=no
62792 fi
62793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62794 ac_ext=c
62795 ac_cpp='$CPP $CPPFLAGS'
62796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62799
62800
62801 fi
62802
62803 fi
62804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62805 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62806
62807 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62808 for ac_func in atan2l
62809 do :
62810 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62811 if test "x$ac_cv_func_atan2l" = x""yes; then :
62812 cat >>confdefs.h <<_ACEOF
62813 #define HAVE_ATAN2L 1
62814 _ACEOF
62815
62816 fi
62817 done
62818
62819 else
62820
62821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62822 $as_echo_n "checking for _atan2l declaration... " >&6; }
62823 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62824 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62825 $as_echo_n "(cached) " >&6
62826 else
62827
62828
62829 ac_ext=cpp
62830 ac_cpp='$CXXCPP $CPPFLAGS'
62831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62834
62835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62836 /* end confdefs.h. */
62837 #include <math.h>
62838 int
62839 main ()
62840 {
62841 _atan2l(0, 0);
62842 ;
62843 return 0;
62844 }
62845 _ACEOF
62846 if ac_fn_cxx_try_compile "$LINENO"; then :
62847 glibcxx_cv_func__atan2l_use=yes
62848 else
62849 glibcxx_cv_func__atan2l_use=no
62850 fi
62851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62852 ac_ext=c
62853 ac_cpp='$CPP $CPPFLAGS'
62854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62857
62858
62859 fi
62860
62861 fi
62862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62863 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62864
62865 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62866 for ac_func in _atan2l
62867 do :
62868 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62869 if test "x$ac_cv_func__atan2l" = x""yes; then :
62870 cat >>confdefs.h <<_ACEOF
62871 #define HAVE__ATAN2L 1
62872 _ACEOF
62873
62874 fi
62875 done
62876
62877 fi
62878 fi
62879
62880
62881
62882
62883
62884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62885 $as_echo_n "checking for expl declaration... " >&6; }
62886 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62887 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62888 $as_echo_n "(cached) " >&6
62889 else
62890
62891
62892 ac_ext=cpp
62893 ac_cpp='$CXXCPP $CPPFLAGS'
62894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62897
62898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62899 /* end confdefs.h. */
62900 #include <math.h>
62901 #ifdef HAVE_IEEEFP_H
62902 #include <ieeefp.h>
62903 #endif
62904
62905 int
62906 main ()
62907 {
62908 expl(0);
62909 ;
62910 return 0;
62911 }
62912 _ACEOF
62913 if ac_fn_cxx_try_compile "$LINENO"; then :
62914 glibcxx_cv_func_expl_use=yes
62915 else
62916 glibcxx_cv_func_expl_use=no
62917 fi
62918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62919 ac_ext=c
62920 ac_cpp='$CPP $CPPFLAGS'
62921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62924
62925
62926 fi
62927
62928 fi
62929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62930 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62931
62932 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62933 for ac_func in expl
62934 do :
62935 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62936 if test "x$ac_cv_func_expl" = x""yes; then :
62937 cat >>confdefs.h <<_ACEOF
62938 #define HAVE_EXPL 1
62939 _ACEOF
62940
62941 fi
62942 done
62943
62944 else
62945
62946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62947 $as_echo_n "checking for _expl declaration... " >&6; }
62948 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62949 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62950 $as_echo_n "(cached) " >&6
62951 else
62952
62953
62954 ac_ext=cpp
62955 ac_cpp='$CXXCPP $CPPFLAGS'
62956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62959
62960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62961 /* end confdefs.h. */
62962 #include <math.h>
62963 #ifdef HAVE_IEEEFP_H
62964 #include <ieeefp.h>
62965 #endif
62966
62967 int
62968 main ()
62969 {
62970 _expl(0);
62971 ;
62972 return 0;
62973 }
62974 _ACEOF
62975 if ac_fn_cxx_try_compile "$LINENO"; then :
62976 glibcxx_cv_func__expl_use=yes
62977 else
62978 glibcxx_cv_func__expl_use=no
62979 fi
62980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62981 ac_ext=c
62982 ac_cpp='$CPP $CPPFLAGS'
62983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62986
62987
62988 fi
62989
62990 fi
62991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62992 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62993
62994 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62995 for ac_func in _expl
62996 do :
62997 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
62998 if test "x$ac_cv_func__expl" = x""yes; then :
62999 cat >>confdefs.h <<_ACEOF
63000 #define HAVE__EXPL 1
63001 _ACEOF
63002
63003 fi
63004 done
63005
63006 fi
63007 fi
63008
63009
63010
63011
63012
63013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63014 $as_echo_n "checking for fabsl declaration... " >&6; }
63015 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63016 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63017 $as_echo_n "(cached) " >&6
63018 else
63019
63020
63021 ac_ext=cpp
63022 ac_cpp='$CXXCPP $CPPFLAGS'
63023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63026
63027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63028 /* end confdefs.h. */
63029 #include <math.h>
63030 #ifdef HAVE_IEEEFP_H
63031 #include <ieeefp.h>
63032 #endif
63033
63034 int
63035 main ()
63036 {
63037 fabsl(0);
63038 ;
63039 return 0;
63040 }
63041 _ACEOF
63042 if ac_fn_cxx_try_compile "$LINENO"; then :
63043 glibcxx_cv_func_fabsl_use=yes
63044 else
63045 glibcxx_cv_func_fabsl_use=no
63046 fi
63047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63048 ac_ext=c
63049 ac_cpp='$CPP $CPPFLAGS'
63050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63053
63054
63055 fi
63056
63057 fi
63058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63059 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63060
63061 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63062 for ac_func in fabsl
63063 do :
63064 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63065 if test "x$ac_cv_func_fabsl" = x""yes; then :
63066 cat >>confdefs.h <<_ACEOF
63067 #define HAVE_FABSL 1
63068 _ACEOF
63069
63070 fi
63071 done
63072
63073 else
63074
63075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63076 $as_echo_n "checking for _fabsl declaration... " >&6; }
63077 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63078 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63079 $as_echo_n "(cached) " >&6
63080 else
63081
63082
63083 ac_ext=cpp
63084 ac_cpp='$CXXCPP $CPPFLAGS'
63085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63088
63089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63090 /* end confdefs.h. */
63091 #include <math.h>
63092 #ifdef HAVE_IEEEFP_H
63093 #include <ieeefp.h>
63094 #endif
63095
63096 int
63097 main ()
63098 {
63099 _fabsl(0);
63100 ;
63101 return 0;
63102 }
63103 _ACEOF
63104 if ac_fn_cxx_try_compile "$LINENO"; then :
63105 glibcxx_cv_func__fabsl_use=yes
63106 else
63107 glibcxx_cv_func__fabsl_use=no
63108 fi
63109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63110 ac_ext=c
63111 ac_cpp='$CPP $CPPFLAGS'
63112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63115
63116
63117 fi
63118
63119 fi
63120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63121 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63122
63123 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63124 for ac_func in _fabsl
63125 do :
63126 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63127 if test "x$ac_cv_func__fabsl" = x""yes; then :
63128 cat >>confdefs.h <<_ACEOF
63129 #define HAVE__FABSL 1
63130 _ACEOF
63131
63132 fi
63133 done
63134
63135 fi
63136 fi
63137
63138
63139
63140
63141
63142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63143 $as_echo_n "checking for fmodl declaration... " >&6; }
63144 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63145 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63146 $as_echo_n "(cached) " >&6
63147 else
63148
63149
63150 ac_ext=cpp
63151 ac_cpp='$CXXCPP $CPPFLAGS'
63152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63155
63156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63157 /* end confdefs.h. */
63158 #include <math.h>
63159 int
63160 main ()
63161 {
63162 fmodl(0, 0);
63163 ;
63164 return 0;
63165 }
63166 _ACEOF
63167 if ac_fn_cxx_try_compile "$LINENO"; then :
63168 glibcxx_cv_func_fmodl_use=yes
63169 else
63170 glibcxx_cv_func_fmodl_use=no
63171 fi
63172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63173 ac_ext=c
63174 ac_cpp='$CPP $CPPFLAGS'
63175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63178
63179
63180 fi
63181
63182 fi
63183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63184 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63185
63186 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63187 for ac_func in fmodl
63188 do :
63189 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63190 if test "x$ac_cv_func_fmodl" = x""yes; then :
63191 cat >>confdefs.h <<_ACEOF
63192 #define HAVE_FMODL 1
63193 _ACEOF
63194
63195 fi
63196 done
63197
63198 else
63199
63200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63201 $as_echo_n "checking for _fmodl declaration... " >&6; }
63202 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63203 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63204 $as_echo_n "(cached) " >&6
63205 else
63206
63207
63208 ac_ext=cpp
63209 ac_cpp='$CXXCPP $CPPFLAGS'
63210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63213
63214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63215 /* end confdefs.h. */
63216 #include <math.h>
63217 int
63218 main ()
63219 {
63220 _fmodl(0, 0);
63221 ;
63222 return 0;
63223 }
63224 _ACEOF
63225 if ac_fn_cxx_try_compile "$LINENO"; then :
63226 glibcxx_cv_func__fmodl_use=yes
63227 else
63228 glibcxx_cv_func__fmodl_use=no
63229 fi
63230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63231 ac_ext=c
63232 ac_cpp='$CPP $CPPFLAGS'
63233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63236
63237
63238 fi
63239
63240 fi
63241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63242 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63243
63244 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63245 for ac_func in _fmodl
63246 do :
63247 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63248 if test "x$ac_cv_func__fmodl" = x""yes; then :
63249 cat >>confdefs.h <<_ACEOF
63250 #define HAVE__FMODL 1
63251 _ACEOF
63252
63253 fi
63254 done
63255
63256 fi
63257 fi
63258
63259
63260
63261
63262
63263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63264 $as_echo_n "checking for frexpl declaration... " >&6; }
63265 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63266 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63267 $as_echo_n "(cached) " >&6
63268 else
63269
63270
63271 ac_ext=cpp
63272 ac_cpp='$CXXCPP $CPPFLAGS'
63273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63276
63277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63278 /* end confdefs.h. */
63279 #include <math.h>
63280 int
63281 main ()
63282 {
63283 frexpl(0, 0);
63284 ;
63285 return 0;
63286 }
63287 _ACEOF
63288 if ac_fn_cxx_try_compile "$LINENO"; then :
63289 glibcxx_cv_func_frexpl_use=yes
63290 else
63291 glibcxx_cv_func_frexpl_use=no
63292 fi
63293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63294 ac_ext=c
63295 ac_cpp='$CPP $CPPFLAGS'
63296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63299
63300
63301 fi
63302
63303 fi
63304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63305 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63306
63307 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63308 for ac_func in frexpl
63309 do :
63310 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63311 if test "x$ac_cv_func_frexpl" = x""yes; then :
63312 cat >>confdefs.h <<_ACEOF
63313 #define HAVE_FREXPL 1
63314 _ACEOF
63315
63316 fi
63317 done
63318
63319 else
63320
63321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63322 $as_echo_n "checking for _frexpl declaration... " >&6; }
63323 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63324 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63325 $as_echo_n "(cached) " >&6
63326 else
63327
63328
63329 ac_ext=cpp
63330 ac_cpp='$CXXCPP $CPPFLAGS'
63331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63334
63335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63336 /* end confdefs.h. */
63337 #include <math.h>
63338 int
63339 main ()
63340 {
63341 _frexpl(0, 0);
63342 ;
63343 return 0;
63344 }
63345 _ACEOF
63346 if ac_fn_cxx_try_compile "$LINENO"; then :
63347 glibcxx_cv_func__frexpl_use=yes
63348 else
63349 glibcxx_cv_func__frexpl_use=no
63350 fi
63351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63352 ac_ext=c
63353 ac_cpp='$CPP $CPPFLAGS'
63354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63357
63358
63359 fi
63360
63361 fi
63362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63363 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63364
63365 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63366 for ac_func in _frexpl
63367 do :
63368 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63369 if test "x$ac_cv_func__frexpl" = x""yes; then :
63370 cat >>confdefs.h <<_ACEOF
63371 #define HAVE__FREXPL 1
63372 _ACEOF
63373
63374 fi
63375 done
63376
63377 fi
63378 fi
63379
63380
63381
63382
63383
63384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63385 $as_echo_n "checking for hypotl declaration... " >&6; }
63386 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63387 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63388 $as_echo_n "(cached) " >&6
63389 else
63390
63391
63392 ac_ext=cpp
63393 ac_cpp='$CXXCPP $CPPFLAGS'
63394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63397
63398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63399 /* end confdefs.h. */
63400 #include <math.h>
63401 int
63402 main ()
63403 {
63404 hypotl(0, 0);
63405 ;
63406 return 0;
63407 }
63408 _ACEOF
63409 if ac_fn_cxx_try_compile "$LINENO"; then :
63410 glibcxx_cv_func_hypotl_use=yes
63411 else
63412 glibcxx_cv_func_hypotl_use=no
63413 fi
63414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63415 ac_ext=c
63416 ac_cpp='$CPP $CPPFLAGS'
63417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63420
63421
63422 fi
63423
63424 fi
63425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63426 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63427
63428 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63429 for ac_func in hypotl
63430 do :
63431 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63432 if test "x$ac_cv_func_hypotl" = x""yes; then :
63433 cat >>confdefs.h <<_ACEOF
63434 #define HAVE_HYPOTL 1
63435 _ACEOF
63436
63437 fi
63438 done
63439
63440 else
63441
63442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63443 $as_echo_n "checking for _hypotl declaration... " >&6; }
63444 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63445 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63446 $as_echo_n "(cached) " >&6
63447 else
63448
63449
63450 ac_ext=cpp
63451 ac_cpp='$CXXCPP $CPPFLAGS'
63452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63455
63456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63457 /* end confdefs.h. */
63458 #include <math.h>
63459 int
63460 main ()
63461 {
63462 _hypotl(0, 0);
63463 ;
63464 return 0;
63465 }
63466 _ACEOF
63467 if ac_fn_cxx_try_compile "$LINENO"; then :
63468 glibcxx_cv_func__hypotl_use=yes
63469 else
63470 glibcxx_cv_func__hypotl_use=no
63471 fi
63472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63473 ac_ext=c
63474 ac_cpp='$CPP $CPPFLAGS'
63475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63478
63479
63480 fi
63481
63482 fi
63483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63484 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63485
63486 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63487 for ac_func in _hypotl
63488 do :
63489 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63490 if test "x$ac_cv_func__hypotl" = x""yes; then :
63491 cat >>confdefs.h <<_ACEOF
63492 #define HAVE__HYPOTL 1
63493 _ACEOF
63494
63495 fi
63496 done
63497
63498 fi
63499 fi
63500
63501
63502
63503
63504
63505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63506 $as_echo_n "checking for ldexpl declaration... " >&6; }
63507 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63508 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63509 $as_echo_n "(cached) " >&6
63510 else
63511
63512
63513 ac_ext=cpp
63514 ac_cpp='$CXXCPP $CPPFLAGS'
63515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63518
63519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63520 /* end confdefs.h. */
63521 #include <math.h>
63522 int
63523 main ()
63524 {
63525 ldexpl(0, 0);
63526 ;
63527 return 0;
63528 }
63529 _ACEOF
63530 if ac_fn_cxx_try_compile "$LINENO"; then :
63531 glibcxx_cv_func_ldexpl_use=yes
63532 else
63533 glibcxx_cv_func_ldexpl_use=no
63534 fi
63535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63536 ac_ext=c
63537 ac_cpp='$CPP $CPPFLAGS'
63538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63541
63542
63543 fi
63544
63545 fi
63546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63547 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63548
63549 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63550 for ac_func in ldexpl
63551 do :
63552 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63553 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63554 cat >>confdefs.h <<_ACEOF
63555 #define HAVE_LDEXPL 1
63556 _ACEOF
63557
63558 fi
63559 done
63560
63561 else
63562
63563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63564 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63565 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63566 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63567 $as_echo_n "(cached) " >&6
63568 else
63569
63570
63571 ac_ext=cpp
63572 ac_cpp='$CXXCPP $CPPFLAGS'
63573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63576
63577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63578 /* end confdefs.h. */
63579 #include <math.h>
63580 int
63581 main ()
63582 {
63583 _ldexpl(0, 0);
63584 ;
63585 return 0;
63586 }
63587 _ACEOF
63588 if ac_fn_cxx_try_compile "$LINENO"; then :
63589 glibcxx_cv_func__ldexpl_use=yes
63590 else
63591 glibcxx_cv_func__ldexpl_use=no
63592 fi
63593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63594 ac_ext=c
63595 ac_cpp='$CPP $CPPFLAGS'
63596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63599
63600
63601 fi
63602
63603 fi
63604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63605 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63606
63607 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63608 for ac_func in _ldexpl
63609 do :
63610 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63611 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63612 cat >>confdefs.h <<_ACEOF
63613 #define HAVE__LDEXPL 1
63614 _ACEOF
63615
63616 fi
63617 done
63618
63619 fi
63620 fi
63621
63622
63623
63624
63625
63626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63627 $as_echo_n "checking for logl declaration... " >&6; }
63628 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63629 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63630 $as_echo_n "(cached) " >&6
63631 else
63632
63633
63634 ac_ext=cpp
63635 ac_cpp='$CXXCPP $CPPFLAGS'
63636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63639
63640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63641 /* end confdefs.h. */
63642 #include <math.h>
63643 #ifdef HAVE_IEEEFP_H
63644 #include <ieeefp.h>
63645 #endif
63646
63647 int
63648 main ()
63649 {
63650 logl(0);
63651 ;
63652 return 0;
63653 }
63654 _ACEOF
63655 if ac_fn_cxx_try_compile "$LINENO"; then :
63656 glibcxx_cv_func_logl_use=yes
63657 else
63658 glibcxx_cv_func_logl_use=no
63659 fi
63660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63661 ac_ext=c
63662 ac_cpp='$CPP $CPPFLAGS'
63663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63666
63667
63668 fi
63669
63670 fi
63671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63672 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63673
63674 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63675 for ac_func in logl
63676 do :
63677 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63678 if test "x$ac_cv_func_logl" = x""yes; then :
63679 cat >>confdefs.h <<_ACEOF
63680 #define HAVE_LOGL 1
63681 _ACEOF
63682
63683 fi
63684 done
63685
63686 else
63687
63688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63689 $as_echo_n "checking for _logl declaration... " >&6; }
63690 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63691 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63692 $as_echo_n "(cached) " >&6
63693 else
63694
63695
63696 ac_ext=cpp
63697 ac_cpp='$CXXCPP $CPPFLAGS'
63698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63701
63702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63703 /* end confdefs.h. */
63704 #include <math.h>
63705 #ifdef HAVE_IEEEFP_H
63706 #include <ieeefp.h>
63707 #endif
63708
63709 int
63710 main ()
63711 {
63712 _logl(0);
63713 ;
63714 return 0;
63715 }
63716 _ACEOF
63717 if ac_fn_cxx_try_compile "$LINENO"; then :
63718 glibcxx_cv_func__logl_use=yes
63719 else
63720 glibcxx_cv_func__logl_use=no
63721 fi
63722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63723 ac_ext=c
63724 ac_cpp='$CPP $CPPFLAGS'
63725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63728
63729
63730 fi
63731
63732 fi
63733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63734 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63735
63736 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63737 for ac_func in _logl
63738 do :
63739 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63740 if test "x$ac_cv_func__logl" = x""yes; then :
63741 cat >>confdefs.h <<_ACEOF
63742 #define HAVE__LOGL 1
63743 _ACEOF
63744
63745 fi
63746 done
63747
63748 fi
63749 fi
63750
63751
63752
63753
63754
63755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63756 $as_echo_n "checking for log10l declaration... " >&6; }
63757 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63758 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63759 $as_echo_n "(cached) " >&6
63760 else
63761
63762
63763 ac_ext=cpp
63764 ac_cpp='$CXXCPP $CPPFLAGS'
63765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63768
63769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63770 /* end confdefs.h. */
63771 #include <math.h>
63772 #ifdef HAVE_IEEEFP_H
63773 #include <ieeefp.h>
63774 #endif
63775
63776 int
63777 main ()
63778 {
63779 log10l(0);
63780 ;
63781 return 0;
63782 }
63783 _ACEOF
63784 if ac_fn_cxx_try_compile "$LINENO"; then :
63785 glibcxx_cv_func_log10l_use=yes
63786 else
63787 glibcxx_cv_func_log10l_use=no
63788 fi
63789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63790 ac_ext=c
63791 ac_cpp='$CPP $CPPFLAGS'
63792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63795
63796
63797 fi
63798
63799 fi
63800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63801 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63802
63803 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63804 for ac_func in log10l
63805 do :
63806 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63807 if test "x$ac_cv_func_log10l" = x""yes; then :
63808 cat >>confdefs.h <<_ACEOF
63809 #define HAVE_LOG10L 1
63810 _ACEOF
63811
63812 fi
63813 done
63814
63815 else
63816
63817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63818 $as_echo_n "checking for _log10l declaration... " >&6; }
63819 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63820 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63821 $as_echo_n "(cached) " >&6
63822 else
63823
63824
63825 ac_ext=cpp
63826 ac_cpp='$CXXCPP $CPPFLAGS'
63827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63830
63831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63832 /* end confdefs.h. */
63833 #include <math.h>
63834 #ifdef HAVE_IEEEFP_H
63835 #include <ieeefp.h>
63836 #endif
63837
63838 int
63839 main ()
63840 {
63841 _log10l(0);
63842 ;
63843 return 0;
63844 }
63845 _ACEOF
63846 if ac_fn_cxx_try_compile "$LINENO"; then :
63847 glibcxx_cv_func__log10l_use=yes
63848 else
63849 glibcxx_cv_func__log10l_use=no
63850 fi
63851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63852 ac_ext=c
63853 ac_cpp='$CPP $CPPFLAGS'
63854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63857
63858
63859 fi
63860
63861 fi
63862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63863 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63864
63865 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63866 for ac_func in _log10l
63867 do :
63868 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63869 if test "x$ac_cv_func__log10l" = x""yes; then :
63870 cat >>confdefs.h <<_ACEOF
63871 #define HAVE__LOG10L 1
63872 _ACEOF
63873
63874 fi
63875 done
63876
63877 fi
63878 fi
63879
63880
63881
63882
63883
63884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63885 $as_echo_n "checking for modfl declaration... " >&6; }
63886 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63887 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63888 $as_echo_n "(cached) " >&6
63889 else
63890
63891
63892 ac_ext=cpp
63893 ac_cpp='$CXXCPP $CPPFLAGS'
63894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63897
63898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63899 /* end confdefs.h. */
63900 #include <math.h>
63901 int
63902 main ()
63903 {
63904 modfl(0, 0);
63905 ;
63906 return 0;
63907 }
63908 _ACEOF
63909 if ac_fn_cxx_try_compile "$LINENO"; then :
63910 glibcxx_cv_func_modfl_use=yes
63911 else
63912 glibcxx_cv_func_modfl_use=no
63913 fi
63914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63915 ac_ext=c
63916 ac_cpp='$CPP $CPPFLAGS'
63917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63920
63921
63922 fi
63923
63924 fi
63925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63926 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63927
63928 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63929 for ac_func in modfl
63930 do :
63931 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63932 if test "x$ac_cv_func_modfl" = x""yes; then :
63933 cat >>confdefs.h <<_ACEOF
63934 #define HAVE_MODFL 1
63935 _ACEOF
63936
63937 fi
63938 done
63939
63940 else
63941
63942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63943 $as_echo_n "checking for _modfl declaration... " >&6; }
63944 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63945 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63946 $as_echo_n "(cached) " >&6
63947 else
63948
63949
63950 ac_ext=cpp
63951 ac_cpp='$CXXCPP $CPPFLAGS'
63952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63955
63956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63957 /* end confdefs.h. */
63958 #include <math.h>
63959 int
63960 main ()
63961 {
63962 _modfl(0, 0);
63963 ;
63964 return 0;
63965 }
63966 _ACEOF
63967 if ac_fn_cxx_try_compile "$LINENO"; then :
63968 glibcxx_cv_func__modfl_use=yes
63969 else
63970 glibcxx_cv_func__modfl_use=no
63971 fi
63972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63973 ac_ext=c
63974 ac_cpp='$CPP $CPPFLAGS'
63975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63978
63979
63980 fi
63981
63982 fi
63983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63984 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63985
63986 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63987 for ac_func in _modfl
63988 do :
63989 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63990 if test "x$ac_cv_func__modfl" = x""yes; then :
63991 cat >>confdefs.h <<_ACEOF
63992 #define HAVE__MODFL 1
63993 _ACEOF
63994
63995 fi
63996 done
63997
63998 fi
63999 fi
64000
64001
64002
64003
64004
64005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64006 $as_echo_n "checking for powl declaration... " >&6; }
64007 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64008 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64009 $as_echo_n "(cached) " >&6
64010 else
64011
64012
64013 ac_ext=cpp
64014 ac_cpp='$CXXCPP $CPPFLAGS'
64015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64018
64019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64020 /* end confdefs.h. */
64021 #include <math.h>
64022 int
64023 main ()
64024 {
64025 powl(0, 0);
64026 ;
64027 return 0;
64028 }
64029 _ACEOF
64030 if ac_fn_cxx_try_compile "$LINENO"; then :
64031 glibcxx_cv_func_powl_use=yes
64032 else
64033 glibcxx_cv_func_powl_use=no
64034 fi
64035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64036 ac_ext=c
64037 ac_cpp='$CPP $CPPFLAGS'
64038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64041
64042
64043 fi
64044
64045 fi
64046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64047 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64048
64049 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64050 for ac_func in powl
64051 do :
64052 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64053 if test "x$ac_cv_func_powl" = x""yes; then :
64054 cat >>confdefs.h <<_ACEOF
64055 #define HAVE_POWL 1
64056 _ACEOF
64057
64058 fi
64059 done
64060
64061 else
64062
64063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64064 $as_echo_n "checking for _powl declaration... " >&6; }
64065 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64066 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64067 $as_echo_n "(cached) " >&6
64068 else
64069
64070
64071 ac_ext=cpp
64072 ac_cpp='$CXXCPP $CPPFLAGS'
64073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64076
64077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64078 /* end confdefs.h. */
64079 #include <math.h>
64080 int
64081 main ()
64082 {
64083 _powl(0, 0);
64084 ;
64085 return 0;
64086 }
64087 _ACEOF
64088 if ac_fn_cxx_try_compile "$LINENO"; then :
64089 glibcxx_cv_func__powl_use=yes
64090 else
64091 glibcxx_cv_func__powl_use=no
64092 fi
64093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64094 ac_ext=c
64095 ac_cpp='$CPP $CPPFLAGS'
64096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64099
64100
64101 fi
64102
64103 fi
64104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64105 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64106
64107 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64108 for ac_func in _powl
64109 do :
64110 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64111 if test "x$ac_cv_func__powl" = x""yes; then :
64112 cat >>confdefs.h <<_ACEOF
64113 #define HAVE__POWL 1
64114 _ACEOF
64115
64116 fi
64117 done
64118
64119 fi
64120 fi
64121
64122
64123
64124
64125
64126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64127 $as_echo_n "checking for sqrtl declaration... " >&6; }
64128 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64129 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64130 $as_echo_n "(cached) " >&6
64131 else
64132
64133
64134 ac_ext=cpp
64135 ac_cpp='$CXXCPP $CPPFLAGS'
64136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64139
64140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64141 /* end confdefs.h. */
64142 #include <math.h>
64143 #ifdef HAVE_IEEEFP_H
64144 #include <ieeefp.h>
64145 #endif
64146
64147 int
64148 main ()
64149 {
64150 sqrtl(0);
64151 ;
64152 return 0;
64153 }
64154 _ACEOF
64155 if ac_fn_cxx_try_compile "$LINENO"; then :
64156 glibcxx_cv_func_sqrtl_use=yes
64157 else
64158 glibcxx_cv_func_sqrtl_use=no
64159 fi
64160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64161 ac_ext=c
64162 ac_cpp='$CPP $CPPFLAGS'
64163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64166
64167
64168 fi
64169
64170 fi
64171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64172 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64173
64174 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64175 for ac_func in sqrtl
64176 do :
64177 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64178 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64179 cat >>confdefs.h <<_ACEOF
64180 #define HAVE_SQRTL 1
64181 _ACEOF
64182
64183 fi
64184 done
64185
64186 else
64187
64188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64189 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64190 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64191 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64192 $as_echo_n "(cached) " >&6
64193 else
64194
64195
64196 ac_ext=cpp
64197 ac_cpp='$CXXCPP $CPPFLAGS'
64198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64201
64202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64203 /* end confdefs.h. */
64204 #include <math.h>
64205 #ifdef HAVE_IEEEFP_H
64206 #include <ieeefp.h>
64207 #endif
64208
64209 int
64210 main ()
64211 {
64212 _sqrtl(0);
64213 ;
64214 return 0;
64215 }
64216 _ACEOF
64217 if ac_fn_cxx_try_compile "$LINENO"; then :
64218 glibcxx_cv_func__sqrtl_use=yes
64219 else
64220 glibcxx_cv_func__sqrtl_use=no
64221 fi
64222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64223 ac_ext=c
64224 ac_cpp='$CPP $CPPFLAGS'
64225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64228
64229
64230 fi
64231
64232 fi
64233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64234 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64235
64236 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64237 for ac_func in _sqrtl
64238 do :
64239 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64240 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64241 cat >>confdefs.h <<_ACEOF
64242 #define HAVE__SQRTL 1
64243 _ACEOF
64244
64245 fi
64246 done
64247
64248 fi
64249 fi
64250
64251
64252
64253
64254
64255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64256 $as_echo_n "checking for sincosl declaration... " >&6; }
64257 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64258 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64259 $as_echo_n "(cached) " >&6
64260 else
64261
64262
64263 ac_ext=cpp
64264 ac_cpp='$CXXCPP $CPPFLAGS'
64265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64268
64269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64270 /* end confdefs.h. */
64271 #include <math.h>
64272 int
64273 main ()
64274 {
64275 sincosl(0, 0, 0);
64276 ;
64277 return 0;
64278 }
64279 _ACEOF
64280 if ac_fn_cxx_try_compile "$LINENO"; then :
64281 glibcxx_cv_func_sincosl_use=yes
64282 else
64283 glibcxx_cv_func_sincosl_use=no
64284 fi
64285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64286 ac_ext=c
64287 ac_cpp='$CPP $CPPFLAGS'
64288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64291
64292
64293 fi
64294
64295 fi
64296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64297 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64298
64299 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64300 for ac_func in sincosl
64301 do :
64302 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64303 if test "x$ac_cv_func_sincosl" = x""yes; then :
64304 cat >>confdefs.h <<_ACEOF
64305 #define HAVE_SINCOSL 1
64306 _ACEOF
64307
64308 fi
64309 done
64310
64311 else
64312
64313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64314 $as_echo_n "checking for _sincosl declaration... " >&6; }
64315 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64316 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64317 $as_echo_n "(cached) " >&6
64318 else
64319
64320
64321 ac_ext=cpp
64322 ac_cpp='$CXXCPP $CPPFLAGS'
64323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64326
64327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64328 /* end confdefs.h. */
64329 #include <math.h>
64330 int
64331 main ()
64332 {
64333 _sincosl(0, 0, 0);
64334 ;
64335 return 0;
64336 }
64337 _ACEOF
64338 if ac_fn_cxx_try_compile "$LINENO"; then :
64339 glibcxx_cv_func__sincosl_use=yes
64340 else
64341 glibcxx_cv_func__sincosl_use=no
64342 fi
64343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64344 ac_ext=c
64345 ac_cpp='$CPP $CPPFLAGS'
64346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64349
64350
64351 fi
64352
64353 fi
64354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64355 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64356
64357 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64358 for ac_func in _sincosl
64359 do :
64360 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64361 if test "x$ac_cv_func__sincosl" = x""yes; then :
64362 cat >>confdefs.h <<_ACEOF
64363 #define HAVE__SINCOSL 1
64364 _ACEOF
64365
64366 fi
64367 done
64368
64369 fi
64370 fi
64371
64372
64373
64374
64375
64376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64377 $as_echo_n "checking for finitel declaration... " >&6; }
64378 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64379 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64380 $as_echo_n "(cached) " >&6
64381 else
64382
64383
64384 ac_ext=cpp
64385 ac_cpp='$CXXCPP $CPPFLAGS'
64386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64389
64390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64391 /* end confdefs.h. */
64392 #include <math.h>
64393 #ifdef HAVE_IEEEFP_H
64394 #include <ieeefp.h>
64395 #endif
64396
64397 int
64398 main ()
64399 {
64400 finitel(0);
64401 ;
64402 return 0;
64403 }
64404 _ACEOF
64405 if ac_fn_cxx_try_compile "$LINENO"; then :
64406 glibcxx_cv_func_finitel_use=yes
64407 else
64408 glibcxx_cv_func_finitel_use=no
64409 fi
64410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64411 ac_ext=c
64412 ac_cpp='$CPP $CPPFLAGS'
64413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64416
64417
64418 fi
64419
64420 fi
64421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64422 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64423
64424 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64425 for ac_func in finitel
64426 do :
64427 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64428 if test "x$ac_cv_func_finitel" = x""yes; then :
64429 cat >>confdefs.h <<_ACEOF
64430 #define HAVE_FINITEL 1
64431 _ACEOF
64432
64433 fi
64434 done
64435
64436 else
64437
64438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64439 $as_echo_n "checking for _finitel declaration... " >&6; }
64440 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64441 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64442 $as_echo_n "(cached) " >&6
64443 else
64444
64445
64446 ac_ext=cpp
64447 ac_cpp='$CXXCPP $CPPFLAGS'
64448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64451
64452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64453 /* end confdefs.h. */
64454 #include <math.h>
64455 #ifdef HAVE_IEEEFP_H
64456 #include <ieeefp.h>
64457 #endif
64458
64459 int
64460 main ()
64461 {
64462 _finitel(0);
64463 ;
64464 return 0;
64465 }
64466 _ACEOF
64467 if ac_fn_cxx_try_compile "$LINENO"; then :
64468 glibcxx_cv_func__finitel_use=yes
64469 else
64470 glibcxx_cv_func__finitel_use=no
64471 fi
64472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64473 ac_ext=c
64474 ac_cpp='$CPP $CPPFLAGS'
64475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64478
64479
64480 fi
64481
64482 fi
64483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64484 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64485
64486 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64487 for ac_func in _finitel
64488 do :
64489 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64490 if test "x$ac_cv_func__finitel" = x""yes; then :
64491 cat >>confdefs.h <<_ACEOF
64492 #define HAVE__FINITEL 1
64493 _ACEOF
64494
64495 fi
64496 done
64497
64498 fi
64499 fi
64500
64501
64502
64503
64504 LIBS="$ac_save_LIBS"
64505 CXXFLAGS="$ac_save_CXXFLAGS"
64506
64507
64508 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64509 ac_save_CXXFLAGS="$CXXFLAGS"
64510 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64511
64512
64513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64514 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64515 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64516 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64517 $as_echo_n "(cached) " >&6
64518 else
64519
64520
64521 ac_ext=cpp
64522 ac_cpp='$CXXCPP $CPPFLAGS'
64523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64526
64527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64528 /* end confdefs.h. */
64529 #include <stdlib.h>
64530 int
64531 main ()
64532 {
64533 at_quick_exit(0);
64534 ;
64535 return 0;
64536 }
64537 _ACEOF
64538 if ac_fn_cxx_try_compile "$LINENO"; then :
64539 glibcxx_cv_func_at_quick_exit_use=yes
64540 else
64541 glibcxx_cv_func_at_quick_exit_use=no
64542 fi
64543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64544 ac_ext=c
64545 ac_cpp='$CPP $CPPFLAGS'
64546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64549
64550
64551 fi
64552
64553 fi
64554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64555 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64556 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64557 for ac_func in at_quick_exit
64558 do :
64559 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64560 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64561 cat >>confdefs.h <<_ACEOF
64562 #define HAVE_AT_QUICK_EXIT 1
64563 _ACEOF
64564
64565 fi
64566 done
64567
64568 fi
64569
64570
64571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64572 $as_echo_n "checking for quick_exit declaration... " >&6; }
64573 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64574 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64575 $as_echo_n "(cached) " >&6
64576 else
64577
64578
64579 ac_ext=cpp
64580 ac_cpp='$CXXCPP $CPPFLAGS'
64581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64584
64585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64586 /* end confdefs.h. */
64587 #include <stdlib.h>
64588 int
64589 main ()
64590 {
64591 quick_exit(0);
64592 ;
64593 return 0;
64594 }
64595 _ACEOF
64596 if ac_fn_cxx_try_compile "$LINENO"; then :
64597 glibcxx_cv_func_quick_exit_use=yes
64598 else
64599 glibcxx_cv_func_quick_exit_use=no
64600 fi
64601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64602 ac_ext=c
64603 ac_cpp='$CPP $CPPFLAGS'
64604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64607
64608
64609 fi
64610
64611 fi
64612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64613 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64614 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64615 for ac_func in quick_exit
64616 do :
64617 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64618 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64619 cat >>confdefs.h <<_ACEOF
64620 #define HAVE_QUICK_EXIT 1
64621 _ACEOF
64622
64623 fi
64624 done
64625
64626 fi
64627
64628
64629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64630 $as_echo_n "checking for strtold declaration... " >&6; }
64631 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64632 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64633 $as_echo_n "(cached) " >&6
64634 else
64635
64636
64637 ac_ext=cpp
64638 ac_cpp='$CXXCPP $CPPFLAGS'
64639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64642
64643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64644 /* end confdefs.h. */
64645 #include <stdlib.h>
64646 int
64647 main ()
64648 {
64649 strtold(0, 0);
64650 ;
64651 return 0;
64652 }
64653 _ACEOF
64654 if ac_fn_cxx_try_compile "$LINENO"; then :
64655 glibcxx_cv_func_strtold_use=yes
64656 else
64657 glibcxx_cv_func_strtold_use=no
64658 fi
64659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64660 ac_ext=c
64661 ac_cpp='$CPP $CPPFLAGS'
64662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64665
64666
64667 fi
64668
64669 fi
64670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64671 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64672 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64673 for ac_func in strtold
64674 do :
64675 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64676 if test "x$ac_cv_func_strtold" = x""yes; then :
64677 cat >>confdefs.h <<_ACEOF
64678 #define HAVE_STRTOLD 1
64679 _ACEOF
64680
64681 fi
64682 done
64683
64684 fi
64685
64686
64687
64688
64689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64690 $as_echo_n "checking for strtof declaration... " >&6; }
64691 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64692 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64693 $as_echo_n "(cached) " >&6
64694 else
64695
64696
64697 ac_ext=cpp
64698 ac_cpp='$CXXCPP $CPPFLAGS'
64699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64702
64703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64704 /* end confdefs.h. */
64705 #include <stdlib.h>
64706 int
64707 main ()
64708 {
64709 strtof(0, 0);
64710 ;
64711 return 0;
64712 }
64713 _ACEOF
64714 if ac_fn_cxx_try_compile "$LINENO"; then :
64715 glibcxx_cv_func_strtof_use=yes
64716 else
64717 glibcxx_cv_func_strtof_use=no
64718 fi
64719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64720 ac_ext=c
64721 ac_cpp='$CPP $CPPFLAGS'
64722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64725
64726
64727 fi
64728
64729 fi
64730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64731 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64732 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64733 for ac_func in strtof
64734 do :
64735 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64736 if test "x$ac_cv_func_strtof" = x""yes; then :
64737 cat >>confdefs.h <<_ACEOF
64738 #define HAVE_STRTOF 1
64739 _ACEOF
64740
64741 fi
64742 done
64743
64744 fi
64745
64746
64747
64748
64749 CXXFLAGS="$ac_save_CXXFLAGS"
64750
64751 ;;
64752 *-netbsd*)
64753 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64754
64755
64756 # If we're not using GNU ld, then there's no point in even trying these
64757 # tests. Check for that first. We should have already tested for gld
64758 # by now (in libtool), but require it now just to be safe...
64759 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64760 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64761
64762
64763
64764 # The name set by libtool depends on the version of libtool. Shame on us
64765 # for depending on an impl detail, but c'est la vie. Older versions used
64766 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64767 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64768 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64769 # set (hence we're using an older libtool), then set it.
64770 if test x${with_gnu_ld+set} != xset; then
64771 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64772 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64773 with_gnu_ld=no
64774 else
64775 with_gnu_ld=$ac_cv_prog_gnu_ld
64776 fi
64777 fi
64778
64779 # Start by getting the version number. I think the libtool test already
64780 # does some of this, but throws away the result.
64781 glibcxx_ld_is_gold=no
64782 if test x"$with_gnu_ld" = x"yes"; then
64783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64784 $as_echo_n "checking for ld version... " >&6; }
64785
64786 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64787 glibcxx_ld_is_gold=yes
64788 fi
64789 ldver=`$LD --version 2>/dev/null |
64790 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'`
64791
64792 glibcxx_gnu_ld_version=`echo $ldver | \
64793 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64795 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64796 fi
64797
64798 # Set --gc-sections.
64799 glibcxx_have_gc_sections=no
64800 if test "$glibcxx_ld_is_gold" = "yes"; then
64801 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64802 glibcxx_have_gc_sections=yes
64803 fi
64804 else
64805 glibcxx_gcsections_min_ld=21602
64806 if test x"$with_gnu_ld" = x"yes" &&
64807 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64808 glibcxx_have_gc_sections=yes
64809 fi
64810 fi
64811 if test "$glibcxx_have_gc_sections" = "yes"; then
64812 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64813 # NB: This flag only works reliably after 2.16.1. Configure tests
64814 # for this are difficult, so hard wire a value that should work.
64815
64816 ac_test_CFLAGS="${CFLAGS+set}"
64817 ac_save_CFLAGS="$CFLAGS"
64818 CFLAGS='-Wl,--gc-sections'
64819
64820 # Check for -Wl,--gc-sections
64821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64822 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64823 if test x$gcc_no_link = xyes; then
64824 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64825 fi
64826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64827 /* end confdefs.h. */
64828 int one(void) { return 1; }
64829 int two(void) { return 2; }
64830
64831 int
64832 main ()
64833 {
64834 two();
64835 ;
64836 return 0;
64837 }
64838 _ACEOF
64839 if ac_fn_c_try_link "$LINENO"; then :
64840 ac_gcsections=yes
64841 else
64842 ac_gcsections=no
64843 fi
64844 rm -f core conftest.err conftest.$ac_objext \
64845 conftest$ac_exeext conftest.$ac_ext
64846 if test "$ac_gcsections" = "yes"; then
64847 rm -f conftest.c
64848 touch conftest.c
64849 if $CC -c conftest.c; then
64850 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64851 grep "Warning: gc-sections option ignored" > /dev/null; then
64852 ac_gcsections=no
64853 fi
64854 fi
64855 rm -f conftest.c conftest.o conftest
64856 fi
64857 if test "$ac_gcsections" = "yes"; then
64858 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64859 fi
64860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64861 $as_echo "$ac_gcsections" >&6; }
64862
64863 if test "$ac_test_CFLAGS" = set; then
64864 CFLAGS="$ac_save_CFLAGS"
64865 else
64866 # this is the suspicious part
64867 CFLAGS=''
64868 fi
64869 fi
64870
64871 # Set -z,relro.
64872 # Note this is only for shared objects.
64873 ac_ld_relro=no
64874 if test x"$with_gnu_ld" = x"yes"; then
64875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64876 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64877 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64878 if test -n "$cxx_z_relo"; then
64879 OPT_LDFLAGS="-Wl,-z,relro"
64880 ac_ld_relro=yes
64881 fi
64882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64883 $as_echo "$ac_ld_relro" >&6; }
64884 fi
64885
64886 # Set linker optimization flags.
64887 if test x"$with_gnu_ld" = x"yes"; then
64888 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64889 fi
64890
64891
64892
64893
64894 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64895
64896 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64897
64898 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64899
64900 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64901
64902 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64903
64904 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64905
64906 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64907
64908 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64909
64910 if test x"long_double_math_on_this_cpu" = x"yes"; then
64911 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64912
64913 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64914
64915 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64916
64917 fi
64918 ;;
64919 *-qnx6.1* | *-qnx6.2*)
64920 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64921
64922
64923 # If we're not using GNU ld, then there's no point in even trying these
64924 # tests. Check for that first. We should have already tested for gld
64925 # by now (in libtool), but require it now just to be safe...
64926 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64927 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64928
64929
64930
64931 # The name set by libtool depends on the version of libtool. Shame on us
64932 # for depending on an impl detail, but c'est la vie. Older versions used
64933 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64934 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64935 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64936 # set (hence we're using an older libtool), then set it.
64937 if test x${with_gnu_ld+set} != xset; then
64938 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64939 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64940 with_gnu_ld=no
64941 else
64942 with_gnu_ld=$ac_cv_prog_gnu_ld
64943 fi
64944 fi
64945
64946 # Start by getting the version number. I think the libtool test already
64947 # does some of this, but throws away the result.
64948 glibcxx_ld_is_gold=no
64949 if test x"$with_gnu_ld" = x"yes"; then
64950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64951 $as_echo_n "checking for ld version... " >&6; }
64952
64953 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64954 glibcxx_ld_is_gold=yes
64955 fi
64956 ldver=`$LD --version 2>/dev/null |
64957 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'`
64958
64959 glibcxx_gnu_ld_version=`echo $ldver | \
64960 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64962 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64963 fi
64964
64965 # Set --gc-sections.
64966 glibcxx_have_gc_sections=no
64967 if test "$glibcxx_ld_is_gold" = "yes"; then
64968 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64969 glibcxx_have_gc_sections=yes
64970 fi
64971 else
64972 glibcxx_gcsections_min_ld=21602
64973 if test x"$with_gnu_ld" = x"yes" &&
64974 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64975 glibcxx_have_gc_sections=yes
64976 fi
64977 fi
64978 if test "$glibcxx_have_gc_sections" = "yes"; then
64979 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64980 # NB: This flag only works reliably after 2.16.1. Configure tests
64981 # for this are difficult, so hard wire a value that should work.
64982
64983 ac_test_CFLAGS="${CFLAGS+set}"
64984 ac_save_CFLAGS="$CFLAGS"
64985 CFLAGS='-Wl,--gc-sections'
64986
64987 # Check for -Wl,--gc-sections
64988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64989 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64990 if test x$gcc_no_link = xyes; then
64991 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64992 fi
64993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64994 /* end confdefs.h. */
64995 int one(void) { return 1; }
64996 int two(void) { return 2; }
64997
64998 int
64999 main ()
65000 {
65001 two();
65002 ;
65003 return 0;
65004 }
65005 _ACEOF
65006 if ac_fn_c_try_link "$LINENO"; then :
65007 ac_gcsections=yes
65008 else
65009 ac_gcsections=no
65010 fi
65011 rm -f core conftest.err conftest.$ac_objext \
65012 conftest$ac_exeext conftest.$ac_ext
65013 if test "$ac_gcsections" = "yes"; then
65014 rm -f conftest.c
65015 touch conftest.c
65016 if $CC -c conftest.c; then
65017 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65018 grep "Warning: gc-sections option ignored" > /dev/null; then
65019 ac_gcsections=no
65020 fi
65021 fi
65022 rm -f conftest.c conftest.o conftest
65023 fi
65024 if test "$ac_gcsections" = "yes"; then
65025 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65026 fi
65027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65028 $as_echo "$ac_gcsections" >&6; }
65029
65030 if test "$ac_test_CFLAGS" = set; then
65031 CFLAGS="$ac_save_CFLAGS"
65032 else
65033 # this is the suspicious part
65034 CFLAGS=''
65035 fi
65036 fi
65037
65038 # Set -z,relro.
65039 # Note this is only for shared objects.
65040 ac_ld_relro=no
65041 if test x"$with_gnu_ld" = x"yes"; then
65042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65043 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65044 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65045 if test -n "$cxx_z_relo"; then
65046 OPT_LDFLAGS="-Wl,-z,relro"
65047 ac_ld_relro=yes
65048 fi
65049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65050 $as_echo "$ac_ld_relro" >&6; }
65051 fi
65052
65053 # Set linker optimization flags.
65054 if test x"$with_gnu_ld" = x"yes"; then
65055 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65056 fi
65057
65058
65059
65060
65061 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65062
65063 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65064
65065 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65066
65067 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65068
65069 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65070
65071 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65072
65073 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65074
65075 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65076
65077 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65078
65079 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65080
65081 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65082
65083 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65084
65085 ;;
65086 *-rtems*)
65087
65088 # All these tests are for C++; save the language and the compiler flags.
65089 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65090 # found in GLIBCXX_CONFIGURE.
65091
65092 ac_ext=cpp
65093 ac_cpp='$CXXCPP $CPPFLAGS'
65094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65097
65098 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65099 ac_save_CXXFLAGS="$CXXFLAGS"
65100
65101 # Check for maintainer-mode bits.
65102 if test x"$USE_MAINTAINER_MODE" = xno; then
65103 WERROR=''
65104 else
65105 WERROR='-Werror'
65106 fi
65107
65108 # Check for -ffunction-sections -fdata-sections
65109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65110 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65111 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65113 /* end confdefs.h. */
65114 int foo; void bar() { };
65115 int
65116 main ()
65117 {
65118
65119 ;
65120 return 0;
65121 }
65122 _ACEOF
65123 if ac_fn_cxx_try_compile "$LINENO"; then :
65124 ac_fdsections=yes
65125 else
65126 ac_fdsections=no
65127 fi
65128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65129 if test "$ac_test_CXXFLAGS" = set; then
65130 CXXFLAGS="$ac_save_CXXFLAGS"
65131 else
65132 # this is the suspicious part
65133 CXXFLAGS=''
65134 fi
65135 if test x"$ac_fdsections" = x"yes"; then
65136 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65137 fi
65138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65139 $as_echo "$ac_fdsections" >&6; }
65140
65141 ac_ext=c
65142 ac_cpp='$CPP $CPPFLAGS'
65143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65146
65147
65148
65149
65150
65151 # If we're not using GNU ld, then there's no point in even trying these
65152 # tests. Check for that first. We should have already tested for gld
65153 # by now (in libtool), but require it now just to be safe...
65154 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65155 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65156
65157
65158
65159 # The name set by libtool depends on the version of libtool. Shame on us
65160 # for depending on an impl detail, but c'est la vie. Older versions used
65161 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65162 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65163 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65164 # set (hence we're using an older libtool), then set it.
65165 if test x${with_gnu_ld+set} != xset; then
65166 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65167 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65168 with_gnu_ld=no
65169 else
65170 with_gnu_ld=$ac_cv_prog_gnu_ld
65171 fi
65172 fi
65173
65174 # Start by getting the version number. I think the libtool test already
65175 # does some of this, but throws away the result.
65176 glibcxx_ld_is_gold=no
65177 if test x"$with_gnu_ld" = x"yes"; then
65178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65179 $as_echo_n "checking for ld version... " >&6; }
65180
65181 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65182 glibcxx_ld_is_gold=yes
65183 fi
65184 ldver=`$LD --version 2>/dev/null |
65185 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'`
65186
65187 glibcxx_gnu_ld_version=`echo $ldver | \
65188 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65190 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65191 fi
65192
65193 # Set --gc-sections.
65194 glibcxx_have_gc_sections=no
65195 if test "$glibcxx_ld_is_gold" = "yes"; then
65196 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65197 glibcxx_have_gc_sections=yes
65198 fi
65199 else
65200 glibcxx_gcsections_min_ld=21602
65201 if test x"$with_gnu_ld" = x"yes" &&
65202 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65203 glibcxx_have_gc_sections=yes
65204 fi
65205 fi
65206 if test "$glibcxx_have_gc_sections" = "yes"; then
65207 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65208 # NB: This flag only works reliably after 2.16.1. Configure tests
65209 # for this are difficult, so hard wire a value that should work.
65210
65211 ac_test_CFLAGS="${CFLAGS+set}"
65212 ac_save_CFLAGS="$CFLAGS"
65213 CFLAGS='-Wl,--gc-sections'
65214
65215 # Check for -Wl,--gc-sections
65216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65217 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65218 if test x$gcc_no_link = xyes; then
65219 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65220 fi
65221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65222 /* end confdefs.h. */
65223 int one(void) { return 1; }
65224 int two(void) { return 2; }
65225
65226 int
65227 main ()
65228 {
65229 two();
65230 ;
65231 return 0;
65232 }
65233 _ACEOF
65234 if ac_fn_c_try_link "$LINENO"; then :
65235 ac_gcsections=yes
65236 else
65237 ac_gcsections=no
65238 fi
65239 rm -f core conftest.err conftest.$ac_objext \
65240 conftest$ac_exeext conftest.$ac_ext
65241 if test "$ac_gcsections" = "yes"; then
65242 rm -f conftest.c
65243 touch conftest.c
65244 if $CC -c conftest.c; then
65245 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65246 grep "Warning: gc-sections option ignored" > /dev/null; then
65247 ac_gcsections=no
65248 fi
65249 fi
65250 rm -f conftest.c conftest.o conftest
65251 fi
65252 if test "$ac_gcsections" = "yes"; then
65253 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65254 fi
65255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65256 $as_echo "$ac_gcsections" >&6; }
65257
65258 if test "$ac_test_CFLAGS" = set; then
65259 CFLAGS="$ac_save_CFLAGS"
65260 else
65261 # this is the suspicious part
65262 CFLAGS=''
65263 fi
65264 fi
65265
65266 # Set -z,relro.
65267 # Note this is only for shared objects.
65268 ac_ld_relro=no
65269 if test x"$with_gnu_ld" = x"yes"; then
65270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65271 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65272 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65273 if test -n "$cxx_z_relo"; then
65274 OPT_LDFLAGS="-Wl,-z,relro"
65275 ac_ld_relro=yes
65276 fi
65277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65278 $as_echo "$ac_ld_relro" >&6; }
65279 fi
65280
65281 # Set linker optimization flags.
65282 if test x"$with_gnu_ld" = x"yes"; then
65283 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65284 fi
65285
65286
65287
65288
65289
65290 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65291 ac_save_CXXFLAGS="$CXXFLAGS"
65292 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65293
65294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65295 $as_echo_n "checking for sin in -lm... " >&6; }
65296 if test "${ac_cv_lib_m_sin+set}" = set; then :
65297 $as_echo_n "(cached) " >&6
65298 else
65299 ac_check_lib_save_LIBS=$LIBS
65300 LIBS="-lm $LIBS"
65301 if test x$gcc_no_link = xyes; then
65302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65303 fi
65304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65305 /* end confdefs.h. */
65306
65307 /* Override any GCC internal prototype to avoid an error.
65308 Use char because int might match the return type of a GCC
65309 builtin and then its argument prototype would still apply. */
65310 #ifdef __cplusplus
65311 extern "C"
65312 #endif
65313 char sin ();
65314 int
65315 main ()
65316 {
65317 return sin ();
65318 ;
65319 return 0;
65320 }
65321 _ACEOF
65322 if ac_fn_c_try_link "$LINENO"; then :
65323 ac_cv_lib_m_sin=yes
65324 else
65325 ac_cv_lib_m_sin=no
65326 fi
65327 rm -f core conftest.err conftest.$ac_objext \
65328 conftest$ac_exeext conftest.$ac_ext
65329 LIBS=$ac_check_lib_save_LIBS
65330 fi
65331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65332 $as_echo "$ac_cv_lib_m_sin" >&6; }
65333 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65334 libm="-lm"
65335 fi
65336
65337 ac_save_LIBS="$LIBS"
65338 LIBS="$LIBS $libm"
65339
65340
65341
65342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65343 $as_echo_n "checking for isinf declaration... " >&6; }
65344 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65345 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65346 $as_echo_n "(cached) " >&6
65347 else
65348
65349
65350 ac_ext=cpp
65351 ac_cpp='$CXXCPP $CPPFLAGS'
65352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65355
65356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65357 /* end confdefs.h. */
65358 #include <math.h>
65359 #ifdef HAVE_IEEEFP_H
65360 #include <ieeefp.h>
65361 #endif
65362
65363 int
65364 main ()
65365 {
65366 isinf(0);
65367 ;
65368 return 0;
65369 }
65370 _ACEOF
65371 if ac_fn_cxx_try_compile "$LINENO"; then :
65372 glibcxx_cv_func_isinf_use=yes
65373 else
65374 glibcxx_cv_func_isinf_use=no
65375 fi
65376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65377 ac_ext=c
65378 ac_cpp='$CPP $CPPFLAGS'
65379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65382
65383
65384 fi
65385
65386 fi
65387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65388 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65389
65390 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65391 for ac_func in isinf
65392 do :
65393 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65394 if test "x$ac_cv_func_isinf" = x""yes; then :
65395 cat >>confdefs.h <<_ACEOF
65396 #define HAVE_ISINF 1
65397 _ACEOF
65398
65399 fi
65400 done
65401
65402 else
65403
65404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65405 $as_echo_n "checking for _isinf declaration... " >&6; }
65406 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65407 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65408 $as_echo_n "(cached) " >&6
65409 else
65410
65411
65412 ac_ext=cpp
65413 ac_cpp='$CXXCPP $CPPFLAGS'
65414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65417
65418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65419 /* end confdefs.h. */
65420 #include <math.h>
65421 #ifdef HAVE_IEEEFP_H
65422 #include <ieeefp.h>
65423 #endif
65424
65425 int
65426 main ()
65427 {
65428 _isinf(0);
65429 ;
65430 return 0;
65431 }
65432 _ACEOF
65433 if ac_fn_cxx_try_compile "$LINENO"; then :
65434 glibcxx_cv_func__isinf_use=yes
65435 else
65436 glibcxx_cv_func__isinf_use=no
65437 fi
65438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65439 ac_ext=c
65440 ac_cpp='$CPP $CPPFLAGS'
65441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65444
65445
65446 fi
65447
65448 fi
65449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65450 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65451
65452 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65453 for ac_func in _isinf
65454 do :
65455 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65456 if test "x$ac_cv_func__isinf" = x""yes; then :
65457 cat >>confdefs.h <<_ACEOF
65458 #define HAVE__ISINF 1
65459 _ACEOF
65460
65461 fi
65462 done
65463
65464 fi
65465 fi
65466
65467
65468
65469
65470
65471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65472 $as_echo_n "checking for isnan declaration... " >&6; }
65473 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65474 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65475 $as_echo_n "(cached) " >&6
65476 else
65477
65478
65479 ac_ext=cpp
65480 ac_cpp='$CXXCPP $CPPFLAGS'
65481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65484
65485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65486 /* end confdefs.h. */
65487 #include <math.h>
65488 #ifdef HAVE_IEEEFP_H
65489 #include <ieeefp.h>
65490 #endif
65491
65492 int
65493 main ()
65494 {
65495 isnan(0);
65496 ;
65497 return 0;
65498 }
65499 _ACEOF
65500 if ac_fn_cxx_try_compile "$LINENO"; then :
65501 glibcxx_cv_func_isnan_use=yes
65502 else
65503 glibcxx_cv_func_isnan_use=no
65504 fi
65505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65506 ac_ext=c
65507 ac_cpp='$CPP $CPPFLAGS'
65508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65511
65512
65513 fi
65514
65515 fi
65516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65517 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65518
65519 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65520 for ac_func in isnan
65521 do :
65522 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65523 if test "x$ac_cv_func_isnan" = x""yes; then :
65524 cat >>confdefs.h <<_ACEOF
65525 #define HAVE_ISNAN 1
65526 _ACEOF
65527
65528 fi
65529 done
65530
65531 else
65532
65533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65534 $as_echo_n "checking for _isnan declaration... " >&6; }
65535 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65536 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65537 $as_echo_n "(cached) " >&6
65538 else
65539
65540
65541 ac_ext=cpp
65542 ac_cpp='$CXXCPP $CPPFLAGS'
65543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65546
65547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65548 /* end confdefs.h. */
65549 #include <math.h>
65550 #ifdef HAVE_IEEEFP_H
65551 #include <ieeefp.h>
65552 #endif
65553
65554 int
65555 main ()
65556 {
65557 _isnan(0);
65558 ;
65559 return 0;
65560 }
65561 _ACEOF
65562 if ac_fn_cxx_try_compile "$LINENO"; then :
65563 glibcxx_cv_func__isnan_use=yes
65564 else
65565 glibcxx_cv_func__isnan_use=no
65566 fi
65567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65568 ac_ext=c
65569 ac_cpp='$CPP $CPPFLAGS'
65570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65573
65574
65575 fi
65576
65577 fi
65578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65579 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65580
65581 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65582 for ac_func in _isnan
65583 do :
65584 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65585 if test "x$ac_cv_func__isnan" = x""yes; then :
65586 cat >>confdefs.h <<_ACEOF
65587 #define HAVE__ISNAN 1
65588 _ACEOF
65589
65590 fi
65591 done
65592
65593 fi
65594 fi
65595
65596
65597
65598
65599
65600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65601 $as_echo_n "checking for finite declaration... " >&6; }
65602 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65603 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65604 $as_echo_n "(cached) " >&6
65605 else
65606
65607
65608 ac_ext=cpp
65609 ac_cpp='$CXXCPP $CPPFLAGS'
65610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65613
65614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65615 /* end confdefs.h. */
65616 #include <math.h>
65617 #ifdef HAVE_IEEEFP_H
65618 #include <ieeefp.h>
65619 #endif
65620
65621 int
65622 main ()
65623 {
65624 finite(0);
65625 ;
65626 return 0;
65627 }
65628 _ACEOF
65629 if ac_fn_cxx_try_compile "$LINENO"; then :
65630 glibcxx_cv_func_finite_use=yes
65631 else
65632 glibcxx_cv_func_finite_use=no
65633 fi
65634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65635 ac_ext=c
65636 ac_cpp='$CPP $CPPFLAGS'
65637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65640
65641
65642 fi
65643
65644 fi
65645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65646 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65647
65648 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65649 for ac_func in finite
65650 do :
65651 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65652 if test "x$ac_cv_func_finite" = x""yes; then :
65653 cat >>confdefs.h <<_ACEOF
65654 #define HAVE_FINITE 1
65655 _ACEOF
65656
65657 fi
65658 done
65659
65660 else
65661
65662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65663 $as_echo_n "checking for _finite declaration... " >&6; }
65664 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65665 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65666 $as_echo_n "(cached) " >&6
65667 else
65668
65669
65670 ac_ext=cpp
65671 ac_cpp='$CXXCPP $CPPFLAGS'
65672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65675
65676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65677 /* end confdefs.h. */
65678 #include <math.h>
65679 #ifdef HAVE_IEEEFP_H
65680 #include <ieeefp.h>
65681 #endif
65682
65683 int
65684 main ()
65685 {
65686 _finite(0);
65687 ;
65688 return 0;
65689 }
65690 _ACEOF
65691 if ac_fn_cxx_try_compile "$LINENO"; then :
65692 glibcxx_cv_func__finite_use=yes
65693 else
65694 glibcxx_cv_func__finite_use=no
65695 fi
65696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65697 ac_ext=c
65698 ac_cpp='$CPP $CPPFLAGS'
65699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65702
65703
65704 fi
65705
65706 fi
65707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65708 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65709
65710 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65711 for ac_func in _finite
65712 do :
65713 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65714 if test "x$ac_cv_func__finite" = x""yes; then :
65715 cat >>confdefs.h <<_ACEOF
65716 #define HAVE__FINITE 1
65717 _ACEOF
65718
65719 fi
65720 done
65721
65722 fi
65723 fi
65724
65725
65726
65727
65728
65729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65730 $as_echo_n "checking for sincos declaration... " >&6; }
65731 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65732 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65733 $as_echo_n "(cached) " >&6
65734 else
65735
65736
65737 ac_ext=cpp
65738 ac_cpp='$CXXCPP $CPPFLAGS'
65739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65742
65743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65744 /* end confdefs.h. */
65745 #include <math.h>
65746 int
65747 main ()
65748 {
65749 sincos(0, 0, 0);
65750 ;
65751 return 0;
65752 }
65753 _ACEOF
65754 if ac_fn_cxx_try_compile "$LINENO"; then :
65755 glibcxx_cv_func_sincos_use=yes
65756 else
65757 glibcxx_cv_func_sincos_use=no
65758 fi
65759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65760 ac_ext=c
65761 ac_cpp='$CPP $CPPFLAGS'
65762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65765
65766
65767 fi
65768
65769 fi
65770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65771 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65772
65773 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65774 for ac_func in sincos
65775 do :
65776 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65777 if test "x$ac_cv_func_sincos" = x""yes; then :
65778 cat >>confdefs.h <<_ACEOF
65779 #define HAVE_SINCOS 1
65780 _ACEOF
65781
65782 fi
65783 done
65784
65785 else
65786
65787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65788 $as_echo_n "checking for _sincos declaration... " >&6; }
65789 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65790 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65791 $as_echo_n "(cached) " >&6
65792 else
65793
65794
65795 ac_ext=cpp
65796 ac_cpp='$CXXCPP $CPPFLAGS'
65797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65800
65801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65802 /* end confdefs.h. */
65803 #include <math.h>
65804 int
65805 main ()
65806 {
65807 _sincos(0, 0, 0);
65808 ;
65809 return 0;
65810 }
65811 _ACEOF
65812 if ac_fn_cxx_try_compile "$LINENO"; then :
65813 glibcxx_cv_func__sincos_use=yes
65814 else
65815 glibcxx_cv_func__sincos_use=no
65816 fi
65817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65818 ac_ext=c
65819 ac_cpp='$CPP $CPPFLAGS'
65820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65823
65824
65825 fi
65826
65827 fi
65828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65829 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65830
65831 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65832 for ac_func in _sincos
65833 do :
65834 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65835 if test "x$ac_cv_func__sincos" = x""yes; then :
65836 cat >>confdefs.h <<_ACEOF
65837 #define HAVE__SINCOS 1
65838 _ACEOF
65839
65840 fi
65841 done
65842
65843 fi
65844 fi
65845
65846
65847
65848
65849
65850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65851 $as_echo_n "checking for fpclass declaration... " >&6; }
65852 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65853 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65854 $as_echo_n "(cached) " >&6
65855 else
65856
65857
65858 ac_ext=cpp
65859 ac_cpp='$CXXCPP $CPPFLAGS'
65860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65863
65864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65865 /* end confdefs.h. */
65866 #include <math.h>
65867 #ifdef HAVE_IEEEFP_H
65868 #include <ieeefp.h>
65869 #endif
65870
65871 int
65872 main ()
65873 {
65874 fpclass(0);
65875 ;
65876 return 0;
65877 }
65878 _ACEOF
65879 if ac_fn_cxx_try_compile "$LINENO"; then :
65880 glibcxx_cv_func_fpclass_use=yes
65881 else
65882 glibcxx_cv_func_fpclass_use=no
65883 fi
65884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65885 ac_ext=c
65886 ac_cpp='$CPP $CPPFLAGS'
65887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65890
65891
65892 fi
65893
65894 fi
65895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65896 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65897
65898 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65899 for ac_func in fpclass
65900 do :
65901 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65902 if test "x$ac_cv_func_fpclass" = x""yes; then :
65903 cat >>confdefs.h <<_ACEOF
65904 #define HAVE_FPCLASS 1
65905 _ACEOF
65906
65907 fi
65908 done
65909
65910 else
65911
65912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65913 $as_echo_n "checking for _fpclass declaration... " >&6; }
65914 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65915 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65916 $as_echo_n "(cached) " >&6
65917 else
65918
65919
65920 ac_ext=cpp
65921 ac_cpp='$CXXCPP $CPPFLAGS'
65922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65925
65926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65927 /* end confdefs.h. */
65928 #include <math.h>
65929 #ifdef HAVE_IEEEFP_H
65930 #include <ieeefp.h>
65931 #endif
65932
65933 int
65934 main ()
65935 {
65936 _fpclass(0);
65937 ;
65938 return 0;
65939 }
65940 _ACEOF
65941 if ac_fn_cxx_try_compile "$LINENO"; then :
65942 glibcxx_cv_func__fpclass_use=yes
65943 else
65944 glibcxx_cv_func__fpclass_use=no
65945 fi
65946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65947 ac_ext=c
65948 ac_cpp='$CPP $CPPFLAGS'
65949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65952
65953
65954 fi
65955
65956 fi
65957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65958 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65959
65960 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65961 for ac_func in _fpclass
65962 do :
65963 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65964 if test "x$ac_cv_func__fpclass" = x""yes; then :
65965 cat >>confdefs.h <<_ACEOF
65966 #define HAVE__FPCLASS 1
65967 _ACEOF
65968
65969 fi
65970 done
65971
65972 fi
65973 fi
65974
65975
65976
65977
65978
65979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65980 $as_echo_n "checking for qfpclass declaration... " >&6; }
65981 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65982 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65983 $as_echo_n "(cached) " >&6
65984 else
65985
65986
65987 ac_ext=cpp
65988 ac_cpp='$CXXCPP $CPPFLAGS'
65989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65992
65993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65994 /* end confdefs.h. */
65995 #include <math.h>
65996 #ifdef HAVE_IEEEFP_H
65997 #include <ieeefp.h>
65998 #endif
65999
66000 int
66001 main ()
66002 {
66003 qfpclass(0);
66004 ;
66005 return 0;
66006 }
66007 _ACEOF
66008 if ac_fn_cxx_try_compile "$LINENO"; then :
66009 glibcxx_cv_func_qfpclass_use=yes
66010 else
66011 glibcxx_cv_func_qfpclass_use=no
66012 fi
66013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66014 ac_ext=c
66015 ac_cpp='$CPP $CPPFLAGS'
66016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66019
66020
66021 fi
66022
66023 fi
66024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66025 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66026
66027 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66028 for ac_func in qfpclass
66029 do :
66030 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66031 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66032 cat >>confdefs.h <<_ACEOF
66033 #define HAVE_QFPCLASS 1
66034 _ACEOF
66035
66036 fi
66037 done
66038
66039 else
66040
66041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66042 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66043 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66044 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66045 $as_echo_n "(cached) " >&6
66046 else
66047
66048
66049 ac_ext=cpp
66050 ac_cpp='$CXXCPP $CPPFLAGS'
66051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66054
66055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66056 /* end confdefs.h. */
66057 #include <math.h>
66058 #ifdef HAVE_IEEEFP_H
66059 #include <ieeefp.h>
66060 #endif
66061
66062 int
66063 main ()
66064 {
66065 _qfpclass(0);
66066 ;
66067 return 0;
66068 }
66069 _ACEOF
66070 if ac_fn_cxx_try_compile "$LINENO"; then :
66071 glibcxx_cv_func__qfpclass_use=yes
66072 else
66073 glibcxx_cv_func__qfpclass_use=no
66074 fi
66075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66076 ac_ext=c
66077 ac_cpp='$CPP $CPPFLAGS'
66078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66081
66082
66083 fi
66084
66085 fi
66086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66087 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66088
66089 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66090 for ac_func in _qfpclass
66091 do :
66092 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66093 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66094 cat >>confdefs.h <<_ACEOF
66095 #define HAVE__QFPCLASS 1
66096 _ACEOF
66097
66098 fi
66099 done
66100
66101 fi
66102 fi
66103
66104
66105
66106
66107
66108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66109 $as_echo_n "checking for hypot declaration... " >&6; }
66110 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66111 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66112 $as_echo_n "(cached) " >&6
66113 else
66114
66115
66116 ac_ext=cpp
66117 ac_cpp='$CXXCPP $CPPFLAGS'
66118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66121
66122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66123 /* end confdefs.h. */
66124 #include <math.h>
66125 int
66126 main ()
66127 {
66128 hypot(0, 0);
66129 ;
66130 return 0;
66131 }
66132 _ACEOF
66133 if ac_fn_cxx_try_compile "$LINENO"; then :
66134 glibcxx_cv_func_hypot_use=yes
66135 else
66136 glibcxx_cv_func_hypot_use=no
66137 fi
66138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66139 ac_ext=c
66140 ac_cpp='$CPP $CPPFLAGS'
66141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66144
66145
66146 fi
66147
66148 fi
66149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66150 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66151
66152 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66153 for ac_func in hypot
66154 do :
66155 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66156 if test "x$ac_cv_func_hypot" = x""yes; then :
66157 cat >>confdefs.h <<_ACEOF
66158 #define HAVE_HYPOT 1
66159 _ACEOF
66160
66161 fi
66162 done
66163
66164 else
66165
66166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66167 $as_echo_n "checking for _hypot declaration... " >&6; }
66168 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66169 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66170 $as_echo_n "(cached) " >&6
66171 else
66172
66173
66174 ac_ext=cpp
66175 ac_cpp='$CXXCPP $CPPFLAGS'
66176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66179
66180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66181 /* end confdefs.h. */
66182 #include <math.h>
66183 int
66184 main ()
66185 {
66186 _hypot(0, 0);
66187 ;
66188 return 0;
66189 }
66190 _ACEOF
66191 if ac_fn_cxx_try_compile "$LINENO"; then :
66192 glibcxx_cv_func__hypot_use=yes
66193 else
66194 glibcxx_cv_func__hypot_use=no
66195 fi
66196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66197 ac_ext=c
66198 ac_cpp='$CPP $CPPFLAGS'
66199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66202
66203
66204 fi
66205
66206 fi
66207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66208 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66209
66210 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66211 for ac_func in _hypot
66212 do :
66213 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66214 if test "x$ac_cv_func__hypot" = x""yes; then :
66215 cat >>confdefs.h <<_ACEOF
66216 #define HAVE__HYPOT 1
66217 _ACEOF
66218
66219 fi
66220 done
66221
66222 fi
66223 fi
66224
66225
66226
66227
66228
66229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66230 $as_echo_n "checking for float trig functions... " >&6; }
66231 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66232 $as_echo_n "(cached) " >&6
66233 else
66234
66235
66236 ac_ext=cpp
66237 ac_cpp='$CXXCPP $CPPFLAGS'
66238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66241
66242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66243 /* end confdefs.h. */
66244 #include <math.h>
66245 int
66246 main ()
66247 {
66248 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66249 ;
66250 return 0;
66251 }
66252 _ACEOF
66253 if ac_fn_cxx_try_compile "$LINENO"; then :
66254 glibcxx_cv_func_float_trig_use=yes
66255 else
66256 glibcxx_cv_func_float_trig_use=no
66257 fi
66258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66259 ac_ext=c
66260 ac_cpp='$CPP $CPPFLAGS'
66261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66264
66265 fi
66266
66267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66268 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66269 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66270 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66271 do :
66272 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66273 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66274 eval as_val=\$$as_ac_var
66275 if test "x$as_val" = x""yes; then :
66276 cat >>confdefs.h <<_ACEOF
66277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66278 _ACEOF
66279
66280 fi
66281 done
66282
66283 else
66284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66285 $as_echo_n "checking for _float trig functions... " >&6; }
66286 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66287 $as_echo_n "(cached) " >&6
66288 else
66289
66290
66291 ac_ext=cpp
66292 ac_cpp='$CXXCPP $CPPFLAGS'
66293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66296
66297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66298 /* end confdefs.h. */
66299 #include <math.h>
66300 int
66301 main ()
66302 {
66303 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66304 ;
66305 return 0;
66306 }
66307 _ACEOF
66308 if ac_fn_cxx_try_compile "$LINENO"; then :
66309 glibcxx_cv_func__float_trig_use=yes
66310 else
66311 glibcxx_cv_func__float_trig_use=no
66312 fi
66313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66314 ac_ext=c
66315 ac_cpp='$CPP $CPPFLAGS'
66316 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66317 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66318 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66319
66320 fi
66321
66322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66323 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66324 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66325 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66326 do :
66327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66329 eval as_val=\$$as_ac_var
66330 if test "x$as_val" = x""yes; then :
66331 cat >>confdefs.h <<_ACEOF
66332 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66333 _ACEOF
66334
66335 fi
66336 done
66337
66338 fi
66339 fi
66340
66341
66342
66343
66344
66345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66346 $as_echo_n "checking for float round functions... " >&6; }
66347 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66348 $as_echo_n "(cached) " >&6
66349 else
66350
66351
66352 ac_ext=cpp
66353 ac_cpp='$CXXCPP $CPPFLAGS'
66354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66357
66358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66359 /* end confdefs.h. */
66360 #include <math.h>
66361 int
66362 main ()
66363 {
66364 ceilf (0); floorf (0);
66365 ;
66366 return 0;
66367 }
66368 _ACEOF
66369 if ac_fn_cxx_try_compile "$LINENO"; then :
66370 glibcxx_cv_func_float_round_use=yes
66371 else
66372 glibcxx_cv_func_float_round_use=no
66373 fi
66374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66375 ac_ext=c
66376 ac_cpp='$CPP $CPPFLAGS'
66377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66380
66381 fi
66382
66383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66384 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66385 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66386 for ac_func in ceilf floorf
66387 do :
66388 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66389 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66390 eval as_val=\$$as_ac_var
66391 if test "x$as_val" = x""yes; then :
66392 cat >>confdefs.h <<_ACEOF
66393 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66394 _ACEOF
66395
66396 fi
66397 done
66398
66399 else
66400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66401 $as_echo_n "checking for _float round functions... " >&6; }
66402 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66403 $as_echo_n "(cached) " >&6
66404 else
66405
66406
66407 ac_ext=cpp
66408 ac_cpp='$CXXCPP $CPPFLAGS'
66409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66412
66413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66414 /* end confdefs.h. */
66415 #include <math.h>
66416 int
66417 main ()
66418 {
66419 _ceilf (0); _floorf (0);
66420 ;
66421 return 0;
66422 }
66423 _ACEOF
66424 if ac_fn_cxx_try_compile "$LINENO"; then :
66425 glibcxx_cv_func__float_round_use=yes
66426 else
66427 glibcxx_cv_func__float_round_use=no
66428 fi
66429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66430 ac_ext=c
66431 ac_cpp='$CPP $CPPFLAGS'
66432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66435
66436 fi
66437
66438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66439 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66440 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66441 for ac_func in _ceilf _floorf
66442 do :
66443 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66444 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66445 eval as_val=\$$as_ac_var
66446 if test "x$as_val" = x""yes; then :
66447 cat >>confdefs.h <<_ACEOF
66448 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66449 _ACEOF
66450
66451 fi
66452 done
66453
66454 fi
66455 fi
66456
66457
66458
66459
66460
66461
66462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66463 $as_echo_n "checking for expf declaration... " >&6; }
66464 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66465 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66466 $as_echo_n "(cached) " >&6
66467 else
66468
66469
66470 ac_ext=cpp
66471 ac_cpp='$CXXCPP $CPPFLAGS'
66472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66475
66476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66477 /* end confdefs.h. */
66478 #include <math.h>
66479 #ifdef HAVE_IEEEFP_H
66480 #include <ieeefp.h>
66481 #endif
66482
66483 int
66484 main ()
66485 {
66486 expf(0);
66487 ;
66488 return 0;
66489 }
66490 _ACEOF
66491 if ac_fn_cxx_try_compile "$LINENO"; then :
66492 glibcxx_cv_func_expf_use=yes
66493 else
66494 glibcxx_cv_func_expf_use=no
66495 fi
66496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66497 ac_ext=c
66498 ac_cpp='$CPP $CPPFLAGS'
66499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66502
66503
66504 fi
66505
66506 fi
66507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66508 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66509
66510 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66511 for ac_func in expf
66512 do :
66513 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66514 if test "x$ac_cv_func_expf" = x""yes; then :
66515 cat >>confdefs.h <<_ACEOF
66516 #define HAVE_EXPF 1
66517 _ACEOF
66518
66519 fi
66520 done
66521
66522 else
66523
66524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66525 $as_echo_n "checking for _expf declaration... " >&6; }
66526 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66527 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66528 $as_echo_n "(cached) " >&6
66529 else
66530
66531
66532 ac_ext=cpp
66533 ac_cpp='$CXXCPP $CPPFLAGS'
66534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66537
66538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66539 /* end confdefs.h. */
66540 #include <math.h>
66541 #ifdef HAVE_IEEEFP_H
66542 #include <ieeefp.h>
66543 #endif
66544
66545 int
66546 main ()
66547 {
66548 _expf(0);
66549 ;
66550 return 0;
66551 }
66552 _ACEOF
66553 if ac_fn_cxx_try_compile "$LINENO"; then :
66554 glibcxx_cv_func__expf_use=yes
66555 else
66556 glibcxx_cv_func__expf_use=no
66557 fi
66558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66559 ac_ext=c
66560 ac_cpp='$CPP $CPPFLAGS'
66561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66564
66565
66566 fi
66567
66568 fi
66569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66570 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66571
66572 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66573 for ac_func in _expf
66574 do :
66575 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66576 if test "x$ac_cv_func__expf" = x""yes; then :
66577 cat >>confdefs.h <<_ACEOF
66578 #define HAVE__EXPF 1
66579 _ACEOF
66580
66581 fi
66582 done
66583
66584 fi
66585 fi
66586
66587
66588
66589
66590
66591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66592 $as_echo_n "checking for isnanf declaration... " >&6; }
66593 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66594 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66595 $as_echo_n "(cached) " >&6
66596 else
66597
66598
66599 ac_ext=cpp
66600 ac_cpp='$CXXCPP $CPPFLAGS'
66601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66604
66605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66606 /* end confdefs.h. */
66607 #include <math.h>
66608 #ifdef HAVE_IEEEFP_H
66609 #include <ieeefp.h>
66610 #endif
66611
66612 int
66613 main ()
66614 {
66615 isnanf(0);
66616 ;
66617 return 0;
66618 }
66619 _ACEOF
66620 if ac_fn_cxx_try_compile "$LINENO"; then :
66621 glibcxx_cv_func_isnanf_use=yes
66622 else
66623 glibcxx_cv_func_isnanf_use=no
66624 fi
66625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66626 ac_ext=c
66627 ac_cpp='$CPP $CPPFLAGS'
66628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66631
66632
66633 fi
66634
66635 fi
66636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66637 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66638
66639 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66640 for ac_func in isnanf
66641 do :
66642 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66643 if test "x$ac_cv_func_isnanf" = x""yes; then :
66644 cat >>confdefs.h <<_ACEOF
66645 #define HAVE_ISNANF 1
66646 _ACEOF
66647
66648 fi
66649 done
66650
66651 else
66652
66653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66654 $as_echo_n "checking for _isnanf declaration... " >&6; }
66655 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66656 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66657 $as_echo_n "(cached) " >&6
66658 else
66659
66660
66661 ac_ext=cpp
66662 ac_cpp='$CXXCPP $CPPFLAGS'
66663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66666
66667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66668 /* end confdefs.h. */
66669 #include <math.h>
66670 #ifdef HAVE_IEEEFP_H
66671 #include <ieeefp.h>
66672 #endif
66673
66674 int
66675 main ()
66676 {
66677 _isnanf(0);
66678 ;
66679 return 0;
66680 }
66681 _ACEOF
66682 if ac_fn_cxx_try_compile "$LINENO"; then :
66683 glibcxx_cv_func__isnanf_use=yes
66684 else
66685 glibcxx_cv_func__isnanf_use=no
66686 fi
66687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66688 ac_ext=c
66689 ac_cpp='$CPP $CPPFLAGS'
66690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66693
66694
66695 fi
66696
66697 fi
66698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66699 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66700
66701 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66702 for ac_func in _isnanf
66703 do :
66704 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66705 if test "x$ac_cv_func__isnanf" = x""yes; then :
66706 cat >>confdefs.h <<_ACEOF
66707 #define HAVE__ISNANF 1
66708 _ACEOF
66709
66710 fi
66711 done
66712
66713 fi
66714 fi
66715
66716
66717
66718
66719
66720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66721 $as_echo_n "checking for isinff declaration... " >&6; }
66722 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66723 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66724 $as_echo_n "(cached) " >&6
66725 else
66726
66727
66728 ac_ext=cpp
66729 ac_cpp='$CXXCPP $CPPFLAGS'
66730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66733
66734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66735 /* end confdefs.h. */
66736 #include <math.h>
66737 #ifdef HAVE_IEEEFP_H
66738 #include <ieeefp.h>
66739 #endif
66740
66741 int
66742 main ()
66743 {
66744 isinff(0);
66745 ;
66746 return 0;
66747 }
66748 _ACEOF
66749 if ac_fn_cxx_try_compile "$LINENO"; then :
66750 glibcxx_cv_func_isinff_use=yes
66751 else
66752 glibcxx_cv_func_isinff_use=no
66753 fi
66754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66755 ac_ext=c
66756 ac_cpp='$CPP $CPPFLAGS'
66757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66760
66761
66762 fi
66763
66764 fi
66765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66766 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66767
66768 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66769 for ac_func in isinff
66770 do :
66771 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66772 if test "x$ac_cv_func_isinff" = x""yes; then :
66773 cat >>confdefs.h <<_ACEOF
66774 #define HAVE_ISINFF 1
66775 _ACEOF
66776
66777 fi
66778 done
66779
66780 else
66781
66782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66783 $as_echo_n "checking for _isinff declaration... " >&6; }
66784 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66785 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66786 $as_echo_n "(cached) " >&6
66787 else
66788
66789
66790 ac_ext=cpp
66791 ac_cpp='$CXXCPP $CPPFLAGS'
66792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66795
66796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66797 /* end confdefs.h. */
66798 #include <math.h>
66799 #ifdef HAVE_IEEEFP_H
66800 #include <ieeefp.h>
66801 #endif
66802
66803 int
66804 main ()
66805 {
66806 _isinff(0);
66807 ;
66808 return 0;
66809 }
66810 _ACEOF
66811 if ac_fn_cxx_try_compile "$LINENO"; then :
66812 glibcxx_cv_func__isinff_use=yes
66813 else
66814 glibcxx_cv_func__isinff_use=no
66815 fi
66816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66817 ac_ext=c
66818 ac_cpp='$CPP $CPPFLAGS'
66819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66822
66823
66824 fi
66825
66826 fi
66827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66828 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66829
66830 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66831 for ac_func in _isinff
66832 do :
66833 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66834 if test "x$ac_cv_func__isinff" = x""yes; then :
66835 cat >>confdefs.h <<_ACEOF
66836 #define HAVE__ISINFF 1
66837 _ACEOF
66838
66839 fi
66840 done
66841
66842 fi
66843 fi
66844
66845
66846
66847
66848
66849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66850 $as_echo_n "checking for atan2f declaration... " >&6; }
66851 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66852 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66853 $as_echo_n "(cached) " >&6
66854 else
66855
66856
66857 ac_ext=cpp
66858 ac_cpp='$CXXCPP $CPPFLAGS'
66859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66862
66863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66864 /* end confdefs.h. */
66865 #include <math.h>
66866 int
66867 main ()
66868 {
66869 atan2f(0, 0);
66870 ;
66871 return 0;
66872 }
66873 _ACEOF
66874 if ac_fn_cxx_try_compile "$LINENO"; then :
66875 glibcxx_cv_func_atan2f_use=yes
66876 else
66877 glibcxx_cv_func_atan2f_use=no
66878 fi
66879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66880 ac_ext=c
66881 ac_cpp='$CPP $CPPFLAGS'
66882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66885
66886
66887 fi
66888
66889 fi
66890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66891 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66892
66893 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66894 for ac_func in atan2f
66895 do :
66896 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66897 if test "x$ac_cv_func_atan2f" = x""yes; then :
66898 cat >>confdefs.h <<_ACEOF
66899 #define HAVE_ATAN2F 1
66900 _ACEOF
66901
66902 fi
66903 done
66904
66905 else
66906
66907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66908 $as_echo_n "checking for _atan2f declaration... " >&6; }
66909 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66910 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66911 $as_echo_n "(cached) " >&6
66912 else
66913
66914
66915 ac_ext=cpp
66916 ac_cpp='$CXXCPP $CPPFLAGS'
66917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66920
66921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66922 /* end confdefs.h. */
66923 #include <math.h>
66924 int
66925 main ()
66926 {
66927 _atan2f(0, 0);
66928 ;
66929 return 0;
66930 }
66931 _ACEOF
66932 if ac_fn_cxx_try_compile "$LINENO"; then :
66933 glibcxx_cv_func__atan2f_use=yes
66934 else
66935 glibcxx_cv_func__atan2f_use=no
66936 fi
66937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66938 ac_ext=c
66939 ac_cpp='$CPP $CPPFLAGS'
66940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66943
66944
66945 fi
66946
66947 fi
66948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66949 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66950
66951 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66952 for ac_func in _atan2f
66953 do :
66954 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66955 if test "x$ac_cv_func__atan2f" = x""yes; then :
66956 cat >>confdefs.h <<_ACEOF
66957 #define HAVE__ATAN2F 1
66958 _ACEOF
66959
66960 fi
66961 done
66962
66963 fi
66964 fi
66965
66966
66967
66968
66969
66970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66971 $as_echo_n "checking for fabsf declaration... " >&6; }
66972 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66973 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66974 $as_echo_n "(cached) " >&6
66975 else
66976
66977
66978 ac_ext=cpp
66979 ac_cpp='$CXXCPP $CPPFLAGS'
66980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66983
66984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66985 /* end confdefs.h. */
66986 #include <math.h>
66987 #ifdef HAVE_IEEEFP_H
66988 #include <ieeefp.h>
66989 #endif
66990
66991 int
66992 main ()
66993 {
66994 fabsf(0);
66995 ;
66996 return 0;
66997 }
66998 _ACEOF
66999 if ac_fn_cxx_try_compile "$LINENO"; then :
67000 glibcxx_cv_func_fabsf_use=yes
67001 else
67002 glibcxx_cv_func_fabsf_use=no
67003 fi
67004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67005 ac_ext=c
67006 ac_cpp='$CPP $CPPFLAGS'
67007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67010
67011
67012 fi
67013
67014 fi
67015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67016 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67017
67018 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67019 for ac_func in fabsf
67020 do :
67021 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67022 if test "x$ac_cv_func_fabsf" = x""yes; then :
67023 cat >>confdefs.h <<_ACEOF
67024 #define HAVE_FABSF 1
67025 _ACEOF
67026
67027 fi
67028 done
67029
67030 else
67031
67032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67033 $as_echo_n "checking for _fabsf declaration... " >&6; }
67034 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67035 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67036 $as_echo_n "(cached) " >&6
67037 else
67038
67039
67040 ac_ext=cpp
67041 ac_cpp='$CXXCPP $CPPFLAGS'
67042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67045
67046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67047 /* end confdefs.h. */
67048 #include <math.h>
67049 #ifdef HAVE_IEEEFP_H
67050 #include <ieeefp.h>
67051 #endif
67052
67053 int
67054 main ()
67055 {
67056 _fabsf(0);
67057 ;
67058 return 0;
67059 }
67060 _ACEOF
67061 if ac_fn_cxx_try_compile "$LINENO"; then :
67062 glibcxx_cv_func__fabsf_use=yes
67063 else
67064 glibcxx_cv_func__fabsf_use=no
67065 fi
67066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67067 ac_ext=c
67068 ac_cpp='$CPP $CPPFLAGS'
67069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67072
67073
67074 fi
67075
67076 fi
67077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67078 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67079
67080 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67081 for ac_func in _fabsf
67082 do :
67083 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67084 if test "x$ac_cv_func__fabsf" = x""yes; then :
67085 cat >>confdefs.h <<_ACEOF
67086 #define HAVE__FABSF 1
67087 _ACEOF
67088
67089 fi
67090 done
67091
67092 fi
67093 fi
67094
67095
67096
67097
67098
67099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67100 $as_echo_n "checking for fmodf declaration... " >&6; }
67101 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67102 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67103 $as_echo_n "(cached) " >&6
67104 else
67105
67106
67107 ac_ext=cpp
67108 ac_cpp='$CXXCPP $CPPFLAGS'
67109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67112
67113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67114 /* end confdefs.h. */
67115 #include <math.h>
67116 int
67117 main ()
67118 {
67119 fmodf(0, 0);
67120 ;
67121 return 0;
67122 }
67123 _ACEOF
67124 if ac_fn_cxx_try_compile "$LINENO"; then :
67125 glibcxx_cv_func_fmodf_use=yes
67126 else
67127 glibcxx_cv_func_fmodf_use=no
67128 fi
67129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67130 ac_ext=c
67131 ac_cpp='$CPP $CPPFLAGS'
67132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67135
67136
67137 fi
67138
67139 fi
67140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67141 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67142
67143 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67144 for ac_func in fmodf
67145 do :
67146 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67147 if test "x$ac_cv_func_fmodf" = x""yes; then :
67148 cat >>confdefs.h <<_ACEOF
67149 #define HAVE_FMODF 1
67150 _ACEOF
67151
67152 fi
67153 done
67154
67155 else
67156
67157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67158 $as_echo_n "checking for _fmodf declaration... " >&6; }
67159 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67160 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67161 $as_echo_n "(cached) " >&6
67162 else
67163
67164
67165 ac_ext=cpp
67166 ac_cpp='$CXXCPP $CPPFLAGS'
67167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67170
67171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67172 /* end confdefs.h. */
67173 #include <math.h>
67174 int
67175 main ()
67176 {
67177 _fmodf(0, 0);
67178 ;
67179 return 0;
67180 }
67181 _ACEOF
67182 if ac_fn_cxx_try_compile "$LINENO"; then :
67183 glibcxx_cv_func__fmodf_use=yes
67184 else
67185 glibcxx_cv_func__fmodf_use=no
67186 fi
67187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67188 ac_ext=c
67189 ac_cpp='$CPP $CPPFLAGS'
67190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67193
67194
67195 fi
67196
67197 fi
67198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67199 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67200
67201 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67202 for ac_func in _fmodf
67203 do :
67204 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67205 if test "x$ac_cv_func__fmodf" = x""yes; then :
67206 cat >>confdefs.h <<_ACEOF
67207 #define HAVE__FMODF 1
67208 _ACEOF
67209
67210 fi
67211 done
67212
67213 fi
67214 fi
67215
67216
67217
67218
67219
67220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67221 $as_echo_n "checking for frexpf declaration... " >&6; }
67222 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67223 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67224 $as_echo_n "(cached) " >&6
67225 else
67226
67227
67228 ac_ext=cpp
67229 ac_cpp='$CXXCPP $CPPFLAGS'
67230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67233
67234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67235 /* end confdefs.h. */
67236 #include <math.h>
67237 int
67238 main ()
67239 {
67240 frexpf(0, 0);
67241 ;
67242 return 0;
67243 }
67244 _ACEOF
67245 if ac_fn_cxx_try_compile "$LINENO"; then :
67246 glibcxx_cv_func_frexpf_use=yes
67247 else
67248 glibcxx_cv_func_frexpf_use=no
67249 fi
67250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67251 ac_ext=c
67252 ac_cpp='$CPP $CPPFLAGS'
67253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67256
67257
67258 fi
67259
67260 fi
67261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67262 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67263
67264 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67265 for ac_func in frexpf
67266 do :
67267 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67268 if test "x$ac_cv_func_frexpf" = x""yes; then :
67269 cat >>confdefs.h <<_ACEOF
67270 #define HAVE_FREXPF 1
67271 _ACEOF
67272
67273 fi
67274 done
67275
67276 else
67277
67278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67279 $as_echo_n "checking for _frexpf declaration... " >&6; }
67280 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67281 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67282 $as_echo_n "(cached) " >&6
67283 else
67284
67285
67286 ac_ext=cpp
67287 ac_cpp='$CXXCPP $CPPFLAGS'
67288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67291
67292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67293 /* end confdefs.h. */
67294 #include <math.h>
67295 int
67296 main ()
67297 {
67298 _frexpf(0, 0);
67299 ;
67300 return 0;
67301 }
67302 _ACEOF
67303 if ac_fn_cxx_try_compile "$LINENO"; then :
67304 glibcxx_cv_func__frexpf_use=yes
67305 else
67306 glibcxx_cv_func__frexpf_use=no
67307 fi
67308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67309 ac_ext=c
67310 ac_cpp='$CPP $CPPFLAGS'
67311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67314
67315
67316 fi
67317
67318 fi
67319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67320 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67321
67322 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67323 for ac_func in _frexpf
67324 do :
67325 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67326 if test "x$ac_cv_func__frexpf" = x""yes; then :
67327 cat >>confdefs.h <<_ACEOF
67328 #define HAVE__FREXPF 1
67329 _ACEOF
67330
67331 fi
67332 done
67333
67334 fi
67335 fi
67336
67337
67338
67339
67340
67341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67342 $as_echo_n "checking for hypotf declaration... " >&6; }
67343 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67344 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67345 $as_echo_n "(cached) " >&6
67346 else
67347
67348
67349 ac_ext=cpp
67350 ac_cpp='$CXXCPP $CPPFLAGS'
67351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67354
67355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67356 /* end confdefs.h. */
67357 #include <math.h>
67358 int
67359 main ()
67360 {
67361 hypotf(0, 0);
67362 ;
67363 return 0;
67364 }
67365 _ACEOF
67366 if ac_fn_cxx_try_compile "$LINENO"; then :
67367 glibcxx_cv_func_hypotf_use=yes
67368 else
67369 glibcxx_cv_func_hypotf_use=no
67370 fi
67371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67372 ac_ext=c
67373 ac_cpp='$CPP $CPPFLAGS'
67374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67377
67378
67379 fi
67380
67381 fi
67382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67383 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67384
67385 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67386 for ac_func in hypotf
67387 do :
67388 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67389 if test "x$ac_cv_func_hypotf" = x""yes; then :
67390 cat >>confdefs.h <<_ACEOF
67391 #define HAVE_HYPOTF 1
67392 _ACEOF
67393
67394 fi
67395 done
67396
67397 else
67398
67399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67400 $as_echo_n "checking for _hypotf declaration... " >&6; }
67401 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67402 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67403 $as_echo_n "(cached) " >&6
67404 else
67405
67406
67407 ac_ext=cpp
67408 ac_cpp='$CXXCPP $CPPFLAGS'
67409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67412
67413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67414 /* end confdefs.h. */
67415 #include <math.h>
67416 int
67417 main ()
67418 {
67419 _hypotf(0, 0);
67420 ;
67421 return 0;
67422 }
67423 _ACEOF
67424 if ac_fn_cxx_try_compile "$LINENO"; then :
67425 glibcxx_cv_func__hypotf_use=yes
67426 else
67427 glibcxx_cv_func__hypotf_use=no
67428 fi
67429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67430 ac_ext=c
67431 ac_cpp='$CPP $CPPFLAGS'
67432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67435
67436
67437 fi
67438
67439 fi
67440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67441 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67442
67443 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67444 for ac_func in _hypotf
67445 do :
67446 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67447 if test "x$ac_cv_func__hypotf" = x""yes; then :
67448 cat >>confdefs.h <<_ACEOF
67449 #define HAVE__HYPOTF 1
67450 _ACEOF
67451
67452 fi
67453 done
67454
67455 fi
67456 fi
67457
67458
67459
67460
67461
67462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67463 $as_echo_n "checking for ldexpf declaration... " >&6; }
67464 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67465 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67466 $as_echo_n "(cached) " >&6
67467 else
67468
67469
67470 ac_ext=cpp
67471 ac_cpp='$CXXCPP $CPPFLAGS'
67472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67475
67476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67477 /* end confdefs.h. */
67478 #include <math.h>
67479 int
67480 main ()
67481 {
67482 ldexpf(0, 0);
67483 ;
67484 return 0;
67485 }
67486 _ACEOF
67487 if ac_fn_cxx_try_compile "$LINENO"; then :
67488 glibcxx_cv_func_ldexpf_use=yes
67489 else
67490 glibcxx_cv_func_ldexpf_use=no
67491 fi
67492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67493 ac_ext=c
67494 ac_cpp='$CPP $CPPFLAGS'
67495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67498
67499
67500 fi
67501
67502 fi
67503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67504 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67505
67506 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67507 for ac_func in ldexpf
67508 do :
67509 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67510 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67511 cat >>confdefs.h <<_ACEOF
67512 #define HAVE_LDEXPF 1
67513 _ACEOF
67514
67515 fi
67516 done
67517
67518 else
67519
67520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67521 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67522 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67523 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67524 $as_echo_n "(cached) " >&6
67525 else
67526
67527
67528 ac_ext=cpp
67529 ac_cpp='$CXXCPP $CPPFLAGS'
67530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67533
67534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67535 /* end confdefs.h. */
67536 #include <math.h>
67537 int
67538 main ()
67539 {
67540 _ldexpf(0, 0);
67541 ;
67542 return 0;
67543 }
67544 _ACEOF
67545 if ac_fn_cxx_try_compile "$LINENO"; then :
67546 glibcxx_cv_func__ldexpf_use=yes
67547 else
67548 glibcxx_cv_func__ldexpf_use=no
67549 fi
67550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67551 ac_ext=c
67552 ac_cpp='$CPP $CPPFLAGS'
67553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67556
67557
67558 fi
67559
67560 fi
67561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67562 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67563
67564 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67565 for ac_func in _ldexpf
67566 do :
67567 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67568 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67569 cat >>confdefs.h <<_ACEOF
67570 #define HAVE__LDEXPF 1
67571 _ACEOF
67572
67573 fi
67574 done
67575
67576 fi
67577 fi
67578
67579
67580
67581
67582
67583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67584 $as_echo_n "checking for logf declaration... " >&6; }
67585 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67586 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67587 $as_echo_n "(cached) " >&6
67588 else
67589
67590
67591 ac_ext=cpp
67592 ac_cpp='$CXXCPP $CPPFLAGS'
67593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67596
67597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67598 /* end confdefs.h. */
67599 #include <math.h>
67600 #ifdef HAVE_IEEEFP_H
67601 #include <ieeefp.h>
67602 #endif
67603
67604 int
67605 main ()
67606 {
67607 logf(0);
67608 ;
67609 return 0;
67610 }
67611 _ACEOF
67612 if ac_fn_cxx_try_compile "$LINENO"; then :
67613 glibcxx_cv_func_logf_use=yes
67614 else
67615 glibcxx_cv_func_logf_use=no
67616 fi
67617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67618 ac_ext=c
67619 ac_cpp='$CPP $CPPFLAGS'
67620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67623
67624
67625 fi
67626
67627 fi
67628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67629 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67630
67631 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67632 for ac_func in logf
67633 do :
67634 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67635 if test "x$ac_cv_func_logf" = x""yes; then :
67636 cat >>confdefs.h <<_ACEOF
67637 #define HAVE_LOGF 1
67638 _ACEOF
67639
67640 fi
67641 done
67642
67643 else
67644
67645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67646 $as_echo_n "checking for _logf declaration... " >&6; }
67647 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67648 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67649 $as_echo_n "(cached) " >&6
67650 else
67651
67652
67653 ac_ext=cpp
67654 ac_cpp='$CXXCPP $CPPFLAGS'
67655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67658
67659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67660 /* end confdefs.h. */
67661 #include <math.h>
67662 #ifdef HAVE_IEEEFP_H
67663 #include <ieeefp.h>
67664 #endif
67665
67666 int
67667 main ()
67668 {
67669 _logf(0);
67670 ;
67671 return 0;
67672 }
67673 _ACEOF
67674 if ac_fn_cxx_try_compile "$LINENO"; then :
67675 glibcxx_cv_func__logf_use=yes
67676 else
67677 glibcxx_cv_func__logf_use=no
67678 fi
67679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67680 ac_ext=c
67681 ac_cpp='$CPP $CPPFLAGS'
67682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67685
67686
67687 fi
67688
67689 fi
67690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67691 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67692
67693 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67694 for ac_func in _logf
67695 do :
67696 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67697 if test "x$ac_cv_func__logf" = x""yes; then :
67698 cat >>confdefs.h <<_ACEOF
67699 #define HAVE__LOGF 1
67700 _ACEOF
67701
67702 fi
67703 done
67704
67705 fi
67706 fi
67707
67708
67709
67710
67711
67712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67713 $as_echo_n "checking for log10f declaration... " >&6; }
67714 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67715 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67716 $as_echo_n "(cached) " >&6
67717 else
67718
67719
67720 ac_ext=cpp
67721 ac_cpp='$CXXCPP $CPPFLAGS'
67722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67725
67726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67727 /* end confdefs.h. */
67728 #include <math.h>
67729 #ifdef HAVE_IEEEFP_H
67730 #include <ieeefp.h>
67731 #endif
67732
67733 int
67734 main ()
67735 {
67736 log10f(0);
67737 ;
67738 return 0;
67739 }
67740 _ACEOF
67741 if ac_fn_cxx_try_compile "$LINENO"; then :
67742 glibcxx_cv_func_log10f_use=yes
67743 else
67744 glibcxx_cv_func_log10f_use=no
67745 fi
67746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67747 ac_ext=c
67748 ac_cpp='$CPP $CPPFLAGS'
67749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67752
67753
67754 fi
67755
67756 fi
67757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67758 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67759
67760 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67761 for ac_func in log10f
67762 do :
67763 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67764 if test "x$ac_cv_func_log10f" = x""yes; then :
67765 cat >>confdefs.h <<_ACEOF
67766 #define HAVE_LOG10F 1
67767 _ACEOF
67768
67769 fi
67770 done
67771
67772 else
67773
67774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67775 $as_echo_n "checking for _log10f declaration... " >&6; }
67776 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67777 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67778 $as_echo_n "(cached) " >&6
67779 else
67780
67781
67782 ac_ext=cpp
67783 ac_cpp='$CXXCPP $CPPFLAGS'
67784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67787
67788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67789 /* end confdefs.h. */
67790 #include <math.h>
67791 #ifdef HAVE_IEEEFP_H
67792 #include <ieeefp.h>
67793 #endif
67794
67795 int
67796 main ()
67797 {
67798 _log10f(0);
67799 ;
67800 return 0;
67801 }
67802 _ACEOF
67803 if ac_fn_cxx_try_compile "$LINENO"; then :
67804 glibcxx_cv_func__log10f_use=yes
67805 else
67806 glibcxx_cv_func__log10f_use=no
67807 fi
67808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67809 ac_ext=c
67810 ac_cpp='$CPP $CPPFLAGS'
67811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67814
67815
67816 fi
67817
67818 fi
67819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67820 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67821
67822 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67823 for ac_func in _log10f
67824 do :
67825 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67826 if test "x$ac_cv_func__log10f" = x""yes; then :
67827 cat >>confdefs.h <<_ACEOF
67828 #define HAVE__LOG10F 1
67829 _ACEOF
67830
67831 fi
67832 done
67833
67834 fi
67835 fi
67836
67837
67838
67839
67840
67841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67842 $as_echo_n "checking for modff declaration... " >&6; }
67843 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67844 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67845 $as_echo_n "(cached) " >&6
67846 else
67847
67848
67849 ac_ext=cpp
67850 ac_cpp='$CXXCPP $CPPFLAGS'
67851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67854
67855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67856 /* end confdefs.h. */
67857 #include <math.h>
67858 int
67859 main ()
67860 {
67861 modff(0, 0);
67862 ;
67863 return 0;
67864 }
67865 _ACEOF
67866 if ac_fn_cxx_try_compile "$LINENO"; then :
67867 glibcxx_cv_func_modff_use=yes
67868 else
67869 glibcxx_cv_func_modff_use=no
67870 fi
67871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67872 ac_ext=c
67873 ac_cpp='$CPP $CPPFLAGS'
67874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67877
67878
67879 fi
67880
67881 fi
67882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67883 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67884
67885 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67886 for ac_func in modff
67887 do :
67888 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67889 if test "x$ac_cv_func_modff" = x""yes; then :
67890 cat >>confdefs.h <<_ACEOF
67891 #define HAVE_MODFF 1
67892 _ACEOF
67893
67894 fi
67895 done
67896
67897 else
67898
67899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67900 $as_echo_n "checking for _modff declaration... " >&6; }
67901 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67902 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67903 $as_echo_n "(cached) " >&6
67904 else
67905
67906
67907 ac_ext=cpp
67908 ac_cpp='$CXXCPP $CPPFLAGS'
67909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67912
67913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67914 /* end confdefs.h. */
67915 #include <math.h>
67916 int
67917 main ()
67918 {
67919 _modff(0, 0);
67920 ;
67921 return 0;
67922 }
67923 _ACEOF
67924 if ac_fn_cxx_try_compile "$LINENO"; then :
67925 glibcxx_cv_func__modff_use=yes
67926 else
67927 glibcxx_cv_func__modff_use=no
67928 fi
67929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67930 ac_ext=c
67931 ac_cpp='$CPP $CPPFLAGS'
67932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67935
67936
67937 fi
67938
67939 fi
67940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67941 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67942
67943 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67944 for ac_func in _modff
67945 do :
67946 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67947 if test "x$ac_cv_func__modff" = x""yes; then :
67948 cat >>confdefs.h <<_ACEOF
67949 #define HAVE__MODFF 1
67950 _ACEOF
67951
67952 fi
67953 done
67954
67955 fi
67956 fi
67957
67958
67959
67960
67961
67962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67963 $as_echo_n "checking for modf declaration... " >&6; }
67964 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67965 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67966 $as_echo_n "(cached) " >&6
67967 else
67968
67969
67970 ac_ext=cpp
67971 ac_cpp='$CXXCPP $CPPFLAGS'
67972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67975
67976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67977 /* end confdefs.h. */
67978 #include <math.h>
67979 int
67980 main ()
67981 {
67982 modf(0, 0);
67983 ;
67984 return 0;
67985 }
67986 _ACEOF
67987 if ac_fn_cxx_try_compile "$LINENO"; then :
67988 glibcxx_cv_func_modf_use=yes
67989 else
67990 glibcxx_cv_func_modf_use=no
67991 fi
67992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67993 ac_ext=c
67994 ac_cpp='$CPP $CPPFLAGS'
67995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67998
67999
68000 fi
68001
68002 fi
68003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68004 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68005
68006 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68007 for ac_func in modf
68008 do :
68009 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68010 if test "x$ac_cv_func_modf" = x""yes; then :
68011 cat >>confdefs.h <<_ACEOF
68012 #define HAVE_MODF 1
68013 _ACEOF
68014
68015 fi
68016 done
68017
68018 else
68019
68020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68021 $as_echo_n "checking for _modf declaration... " >&6; }
68022 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68023 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68024 $as_echo_n "(cached) " >&6
68025 else
68026
68027
68028 ac_ext=cpp
68029 ac_cpp='$CXXCPP $CPPFLAGS'
68030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68033
68034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68035 /* end confdefs.h. */
68036 #include <math.h>
68037 int
68038 main ()
68039 {
68040 _modf(0, 0);
68041 ;
68042 return 0;
68043 }
68044 _ACEOF
68045 if ac_fn_cxx_try_compile "$LINENO"; then :
68046 glibcxx_cv_func__modf_use=yes
68047 else
68048 glibcxx_cv_func__modf_use=no
68049 fi
68050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68051 ac_ext=c
68052 ac_cpp='$CPP $CPPFLAGS'
68053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68056
68057
68058 fi
68059
68060 fi
68061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68062 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68063
68064 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68065 for ac_func in _modf
68066 do :
68067 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68068 if test "x$ac_cv_func__modf" = x""yes; then :
68069 cat >>confdefs.h <<_ACEOF
68070 #define HAVE__MODF 1
68071 _ACEOF
68072
68073 fi
68074 done
68075
68076 fi
68077 fi
68078
68079
68080
68081
68082
68083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68084 $as_echo_n "checking for powf declaration... " >&6; }
68085 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68086 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68087 $as_echo_n "(cached) " >&6
68088 else
68089
68090
68091 ac_ext=cpp
68092 ac_cpp='$CXXCPP $CPPFLAGS'
68093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68096
68097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68098 /* end confdefs.h. */
68099 #include <math.h>
68100 int
68101 main ()
68102 {
68103 powf(0, 0);
68104 ;
68105 return 0;
68106 }
68107 _ACEOF
68108 if ac_fn_cxx_try_compile "$LINENO"; then :
68109 glibcxx_cv_func_powf_use=yes
68110 else
68111 glibcxx_cv_func_powf_use=no
68112 fi
68113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68114 ac_ext=c
68115 ac_cpp='$CPP $CPPFLAGS'
68116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68119
68120
68121 fi
68122
68123 fi
68124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68125 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68126
68127 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68128 for ac_func in powf
68129 do :
68130 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68131 if test "x$ac_cv_func_powf" = x""yes; then :
68132 cat >>confdefs.h <<_ACEOF
68133 #define HAVE_POWF 1
68134 _ACEOF
68135
68136 fi
68137 done
68138
68139 else
68140
68141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68142 $as_echo_n "checking for _powf declaration... " >&6; }
68143 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68144 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68145 $as_echo_n "(cached) " >&6
68146 else
68147
68148
68149 ac_ext=cpp
68150 ac_cpp='$CXXCPP $CPPFLAGS'
68151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68154
68155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68156 /* end confdefs.h. */
68157 #include <math.h>
68158 int
68159 main ()
68160 {
68161 _powf(0, 0);
68162 ;
68163 return 0;
68164 }
68165 _ACEOF
68166 if ac_fn_cxx_try_compile "$LINENO"; then :
68167 glibcxx_cv_func__powf_use=yes
68168 else
68169 glibcxx_cv_func__powf_use=no
68170 fi
68171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68172 ac_ext=c
68173 ac_cpp='$CPP $CPPFLAGS'
68174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68177
68178
68179 fi
68180
68181 fi
68182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68183 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68184
68185 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68186 for ac_func in _powf
68187 do :
68188 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68189 if test "x$ac_cv_func__powf" = x""yes; then :
68190 cat >>confdefs.h <<_ACEOF
68191 #define HAVE__POWF 1
68192 _ACEOF
68193
68194 fi
68195 done
68196
68197 fi
68198 fi
68199
68200
68201
68202
68203
68204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68205 $as_echo_n "checking for sqrtf declaration... " >&6; }
68206 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68207 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68208 $as_echo_n "(cached) " >&6
68209 else
68210
68211
68212 ac_ext=cpp
68213 ac_cpp='$CXXCPP $CPPFLAGS'
68214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68217
68218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68219 /* end confdefs.h. */
68220 #include <math.h>
68221 #ifdef HAVE_IEEEFP_H
68222 #include <ieeefp.h>
68223 #endif
68224
68225 int
68226 main ()
68227 {
68228 sqrtf(0);
68229 ;
68230 return 0;
68231 }
68232 _ACEOF
68233 if ac_fn_cxx_try_compile "$LINENO"; then :
68234 glibcxx_cv_func_sqrtf_use=yes
68235 else
68236 glibcxx_cv_func_sqrtf_use=no
68237 fi
68238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68239 ac_ext=c
68240 ac_cpp='$CPP $CPPFLAGS'
68241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68244
68245
68246 fi
68247
68248 fi
68249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68250 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68251
68252 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68253 for ac_func in sqrtf
68254 do :
68255 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68256 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68257 cat >>confdefs.h <<_ACEOF
68258 #define HAVE_SQRTF 1
68259 _ACEOF
68260
68261 fi
68262 done
68263
68264 else
68265
68266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68267 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68268 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68269 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68270 $as_echo_n "(cached) " >&6
68271 else
68272
68273
68274 ac_ext=cpp
68275 ac_cpp='$CXXCPP $CPPFLAGS'
68276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68279
68280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68281 /* end confdefs.h. */
68282 #include <math.h>
68283 #ifdef HAVE_IEEEFP_H
68284 #include <ieeefp.h>
68285 #endif
68286
68287 int
68288 main ()
68289 {
68290 _sqrtf(0);
68291 ;
68292 return 0;
68293 }
68294 _ACEOF
68295 if ac_fn_cxx_try_compile "$LINENO"; then :
68296 glibcxx_cv_func__sqrtf_use=yes
68297 else
68298 glibcxx_cv_func__sqrtf_use=no
68299 fi
68300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68301 ac_ext=c
68302 ac_cpp='$CPP $CPPFLAGS'
68303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68306
68307
68308 fi
68309
68310 fi
68311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68312 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68313
68314 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68315 for ac_func in _sqrtf
68316 do :
68317 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68318 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68319 cat >>confdefs.h <<_ACEOF
68320 #define HAVE__SQRTF 1
68321 _ACEOF
68322
68323 fi
68324 done
68325
68326 fi
68327 fi
68328
68329
68330
68331
68332
68333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68334 $as_echo_n "checking for sincosf declaration... " >&6; }
68335 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68336 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68337 $as_echo_n "(cached) " >&6
68338 else
68339
68340
68341 ac_ext=cpp
68342 ac_cpp='$CXXCPP $CPPFLAGS'
68343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68346
68347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68348 /* end confdefs.h. */
68349 #include <math.h>
68350 int
68351 main ()
68352 {
68353 sincosf(0, 0, 0);
68354 ;
68355 return 0;
68356 }
68357 _ACEOF
68358 if ac_fn_cxx_try_compile "$LINENO"; then :
68359 glibcxx_cv_func_sincosf_use=yes
68360 else
68361 glibcxx_cv_func_sincosf_use=no
68362 fi
68363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68364 ac_ext=c
68365 ac_cpp='$CPP $CPPFLAGS'
68366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68369
68370
68371 fi
68372
68373 fi
68374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68375 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68376
68377 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68378 for ac_func in sincosf
68379 do :
68380 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68381 if test "x$ac_cv_func_sincosf" = x""yes; then :
68382 cat >>confdefs.h <<_ACEOF
68383 #define HAVE_SINCOSF 1
68384 _ACEOF
68385
68386 fi
68387 done
68388
68389 else
68390
68391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68392 $as_echo_n "checking for _sincosf declaration... " >&6; }
68393 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68394 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68395 $as_echo_n "(cached) " >&6
68396 else
68397
68398
68399 ac_ext=cpp
68400 ac_cpp='$CXXCPP $CPPFLAGS'
68401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68404
68405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68406 /* end confdefs.h. */
68407 #include <math.h>
68408 int
68409 main ()
68410 {
68411 _sincosf(0, 0, 0);
68412 ;
68413 return 0;
68414 }
68415 _ACEOF
68416 if ac_fn_cxx_try_compile "$LINENO"; then :
68417 glibcxx_cv_func__sincosf_use=yes
68418 else
68419 glibcxx_cv_func__sincosf_use=no
68420 fi
68421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68422 ac_ext=c
68423 ac_cpp='$CPP $CPPFLAGS'
68424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68427
68428
68429 fi
68430
68431 fi
68432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68433 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68434
68435 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68436 for ac_func in _sincosf
68437 do :
68438 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68439 if test "x$ac_cv_func__sincosf" = x""yes; then :
68440 cat >>confdefs.h <<_ACEOF
68441 #define HAVE__SINCOSF 1
68442 _ACEOF
68443
68444 fi
68445 done
68446
68447 fi
68448 fi
68449
68450
68451
68452
68453
68454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68455 $as_echo_n "checking for finitef declaration... " >&6; }
68456 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68457 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68458 $as_echo_n "(cached) " >&6
68459 else
68460
68461
68462 ac_ext=cpp
68463 ac_cpp='$CXXCPP $CPPFLAGS'
68464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68467
68468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68469 /* end confdefs.h. */
68470 #include <math.h>
68471 #ifdef HAVE_IEEEFP_H
68472 #include <ieeefp.h>
68473 #endif
68474
68475 int
68476 main ()
68477 {
68478 finitef(0);
68479 ;
68480 return 0;
68481 }
68482 _ACEOF
68483 if ac_fn_cxx_try_compile "$LINENO"; then :
68484 glibcxx_cv_func_finitef_use=yes
68485 else
68486 glibcxx_cv_func_finitef_use=no
68487 fi
68488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68489 ac_ext=c
68490 ac_cpp='$CPP $CPPFLAGS'
68491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68494
68495
68496 fi
68497
68498 fi
68499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68500 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68501
68502 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68503 for ac_func in finitef
68504 do :
68505 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68506 if test "x$ac_cv_func_finitef" = x""yes; then :
68507 cat >>confdefs.h <<_ACEOF
68508 #define HAVE_FINITEF 1
68509 _ACEOF
68510
68511 fi
68512 done
68513
68514 else
68515
68516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68517 $as_echo_n "checking for _finitef declaration... " >&6; }
68518 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68519 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68520 $as_echo_n "(cached) " >&6
68521 else
68522
68523
68524 ac_ext=cpp
68525 ac_cpp='$CXXCPP $CPPFLAGS'
68526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68529
68530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68531 /* end confdefs.h. */
68532 #include <math.h>
68533 #ifdef HAVE_IEEEFP_H
68534 #include <ieeefp.h>
68535 #endif
68536
68537 int
68538 main ()
68539 {
68540 _finitef(0);
68541 ;
68542 return 0;
68543 }
68544 _ACEOF
68545 if ac_fn_cxx_try_compile "$LINENO"; then :
68546 glibcxx_cv_func__finitef_use=yes
68547 else
68548 glibcxx_cv_func__finitef_use=no
68549 fi
68550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68551 ac_ext=c
68552 ac_cpp='$CPP $CPPFLAGS'
68553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68556
68557
68558 fi
68559
68560 fi
68561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68562 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68563
68564 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68565 for ac_func in _finitef
68566 do :
68567 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68568 if test "x$ac_cv_func__finitef" = x""yes; then :
68569 cat >>confdefs.h <<_ACEOF
68570 #define HAVE__FINITEF 1
68571 _ACEOF
68572
68573 fi
68574 done
68575
68576 fi
68577 fi
68578
68579
68580
68581
68582
68583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68584 $as_echo_n "checking for long double trig functions... " >&6; }
68585 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68586 $as_echo_n "(cached) " >&6
68587 else
68588
68589
68590 ac_ext=cpp
68591 ac_cpp='$CXXCPP $CPPFLAGS'
68592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68595
68596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68597 /* end confdefs.h. */
68598 #include <math.h>
68599 int
68600 main ()
68601 {
68602 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68603 ;
68604 return 0;
68605 }
68606 _ACEOF
68607 if ac_fn_cxx_try_compile "$LINENO"; then :
68608 glibcxx_cv_func_long_double_trig_use=yes
68609 else
68610 glibcxx_cv_func_long_double_trig_use=no
68611 fi
68612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68613 ac_ext=c
68614 ac_cpp='$CPP $CPPFLAGS'
68615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68618
68619 fi
68620
68621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68622 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68623 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68624 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68625 do :
68626 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68627 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68628 eval as_val=\$$as_ac_var
68629 if test "x$as_val" = x""yes; then :
68630 cat >>confdefs.h <<_ACEOF
68631 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68632 _ACEOF
68633
68634 fi
68635 done
68636
68637 else
68638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68639 $as_echo_n "checking for _long double trig functions... " >&6; }
68640 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68641 $as_echo_n "(cached) " >&6
68642 else
68643
68644
68645 ac_ext=cpp
68646 ac_cpp='$CXXCPP $CPPFLAGS'
68647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68650
68651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68652 /* end confdefs.h. */
68653 #include <math.h>
68654 int
68655 main ()
68656 {
68657 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68658 ;
68659 return 0;
68660 }
68661 _ACEOF
68662 if ac_fn_cxx_try_compile "$LINENO"; then :
68663 glibcxx_cv_func__long_double_trig_use=yes
68664 else
68665 glibcxx_cv_func__long_double_trig_use=no
68666 fi
68667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68668 ac_ext=c
68669 ac_cpp='$CPP $CPPFLAGS'
68670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68673
68674 fi
68675
68676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68677 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68678 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68679 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68680 do :
68681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68683 eval as_val=\$$as_ac_var
68684 if test "x$as_val" = x""yes; then :
68685 cat >>confdefs.h <<_ACEOF
68686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68687 _ACEOF
68688
68689 fi
68690 done
68691
68692 fi
68693 fi
68694
68695
68696
68697
68698
68699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68700 $as_echo_n "checking for long double round functions... " >&6; }
68701 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68702 $as_echo_n "(cached) " >&6
68703 else
68704
68705
68706 ac_ext=cpp
68707 ac_cpp='$CXXCPP $CPPFLAGS'
68708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68711
68712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68713 /* end confdefs.h. */
68714 #include <math.h>
68715 int
68716 main ()
68717 {
68718 ceill (0); floorl (0);
68719 ;
68720 return 0;
68721 }
68722 _ACEOF
68723 if ac_fn_cxx_try_compile "$LINENO"; then :
68724 glibcxx_cv_func_long_double_round_use=yes
68725 else
68726 glibcxx_cv_func_long_double_round_use=no
68727 fi
68728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68729 ac_ext=c
68730 ac_cpp='$CPP $CPPFLAGS'
68731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68734
68735 fi
68736
68737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68738 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68739 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68740 for ac_func in ceill floorl
68741 do :
68742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68744 eval as_val=\$$as_ac_var
68745 if test "x$as_val" = x""yes; then :
68746 cat >>confdefs.h <<_ACEOF
68747 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68748 _ACEOF
68749
68750 fi
68751 done
68752
68753 else
68754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68755 $as_echo_n "checking for _long double round functions... " >&6; }
68756 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68757 $as_echo_n "(cached) " >&6
68758 else
68759
68760
68761 ac_ext=cpp
68762 ac_cpp='$CXXCPP $CPPFLAGS'
68763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68766
68767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68768 /* end confdefs.h. */
68769 #include <math.h>
68770 int
68771 main ()
68772 {
68773 _ceill (0); _floorl (0);
68774 ;
68775 return 0;
68776 }
68777 _ACEOF
68778 if ac_fn_cxx_try_compile "$LINENO"; then :
68779 glibcxx_cv_func__long_double_round_use=yes
68780 else
68781 glibcxx_cv_func__long_double_round_use=no
68782 fi
68783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68784 ac_ext=c
68785 ac_cpp='$CPP $CPPFLAGS'
68786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68789
68790 fi
68791
68792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68793 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68794 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68795 for ac_func in _ceill _floorl
68796 do :
68797 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68798 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68799 eval as_val=\$$as_ac_var
68800 if test "x$as_val" = x""yes; then :
68801 cat >>confdefs.h <<_ACEOF
68802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68803 _ACEOF
68804
68805 fi
68806 done
68807
68808 fi
68809 fi
68810
68811
68812
68813
68814
68815
68816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68817 $as_echo_n "checking for isnanl declaration... " >&6; }
68818 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68819 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68820 $as_echo_n "(cached) " >&6
68821 else
68822
68823
68824 ac_ext=cpp
68825 ac_cpp='$CXXCPP $CPPFLAGS'
68826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68829
68830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68831 /* end confdefs.h. */
68832 #include <math.h>
68833 #ifdef HAVE_IEEEFP_H
68834 #include <ieeefp.h>
68835 #endif
68836
68837 int
68838 main ()
68839 {
68840 isnanl(0);
68841 ;
68842 return 0;
68843 }
68844 _ACEOF
68845 if ac_fn_cxx_try_compile "$LINENO"; then :
68846 glibcxx_cv_func_isnanl_use=yes
68847 else
68848 glibcxx_cv_func_isnanl_use=no
68849 fi
68850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68851 ac_ext=c
68852 ac_cpp='$CPP $CPPFLAGS'
68853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68856
68857
68858 fi
68859
68860 fi
68861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68862 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68863
68864 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68865 for ac_func in isnanl
68866 do :
68867 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68868 if test "x$ac_cv_func_isnanl" = x""yes; then :
68869 cat >>confdefs.h <<_ACEOF
68870 #define HAVE_ISNANL 1
68871 _ACEOF
68872
68873 fi
68874 done
68875
68876 else
68877
68878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68879 $as_echo_n "checking for _isnanl declaration... " >&6; }
68880 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68881 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68882 $as_echo_n "(cached) " >&6
68883 else
68884
68885
68886 ac_ext=cpp
68887 ac_cpp='$CXXCPP $CPPFLAGS'
68888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68891
68892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68893 /* end confdefs.h. */
68894 #include <math.h>
68895 #ifdef HAVE_IEEEFP_H
68896 #include <ieeefp.h>
68897 #endif
68898
68899 int
68900 main ()
68901 {
68902 _isnanl(0);
68903 ;
68904 return 0;
68905 }
68906 _ACEOF
68907 if ac_fn_cxx_try_compile "$LINENO"; then :
68908 glibcxx_cv_func__isnanl_use=yes
68909 else
68910 glibcxx_cv_func__isnanl_use=no
68911 fi
68912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68913 ac_ext=c
68914 ac_cpp='$CPP $CPPFLAGS'
68915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68918
68919
68920 fi
68921
68922 fi
68923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68924 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68925
68926 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68927 for ac_func in _isnanl
68928 do :
68929 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68930 if test "x$ac_cv_func__isnanl" = x""yes; then :
68931 cat >>confdefs.h <<_ACEOF
68932 #define HAVE__ISNANL 1
68933 _ACEOF
68934
68935 fi
68936 done
68937
68938 fi
68939 fi
68940
68941
68942
68943
68944
68945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68946 $as_echo_n "checking for isinfl declaration... " >&6; }
68947 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68948 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68949 $as_echo_n "(cached) " >&6
68950 else
68951
68952
68953 ac_ext=cpp
68954 ac_cpp='$CXXCPP $CPPFLAGS'
68955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68958
68959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68960 /* end confdefs.h. */
68961 #include <math.h>
68962 #ifdef HAVE_IEEEFP_H
68963 #include <ieeefp.h>
68964 #endif
68965
68966 int
68967 main ()
68968 {
68969 isinfl(0);
68970 ;
68971 return 0;
68972 }
68973 _ACEOF
68974 if ac_fn_cxx_try_compile "$LINENO"; then :
68975 glibcxx_cv_func_isinfl_use=yes
68976 else
68977 glibcxx_cv_func_isinfl_use=no
68978 fi
68979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68980 ac_ext=c
68981 ac_cpp='$CPP $CPPFLAGS'
68982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68985
68986
68987 fi
68988
68989 fi
68990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68991 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68992
68993 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68994 for ac_func in isinfl
68995 do :
68996 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68997 if test "x$ac_cv_func_isinfl" = x""yes; then :
68998 cat >>confdefs.h <<_ACEOF
68999 #define HAVE_ISINFL 1
69000 _ACEOF
69001
69002 fi
69003 done
69004
69005 else
69006
69007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69008 $as_echo_n "checking for _isinfl declaration... " >&6; }
69009 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69010 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69011 $as_echo_n "(cached) " >&6
69012 else
69013
69014
69015 ac_ext=cpp
69016 ac_cpp='$CXXCPP $CPPFLAGS'
69017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69020
69021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69022 /* end confdefs.h. */
69023 #include <math.h>
69024 #ifdef HAVE_IEEEFP_H
69025 #include <ieeefp.h>
69026 #endif
69027
69028 int
69029 main ()
69030 {
69031 _isinfl(0);
69032 ;
69033 return 0;
69034 }
69035 _ACEOF
69036 if ac_fn_cxx_try_compile "$LINENO"; then :
69037 glibcxx_cv_func__isinfl_use=yes
69038 else
69039 glibcxx_cv_func__isinfl_use=no
69040 fi
69041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69042 ac_ext=c
69043 ac_cpp='$CPP $CPPFLAGS'
69044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69047
69048
69049 fi
69050
69051 fi
69052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69053 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69054
69055 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69056 for ac_func in _isinfl
69057 do :
69058 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69059 if test "x$ac_cv_func__isinfl" = x""yes; then :
69060 cat >>confdefs.h <<_ACEOF
69061 #define HAVE__ISINFL 1
69062 _ACEOF
69063
69064 fi
69065 done
69066
69067 fi
69068 fi
69069
69070
69071
69072
69073
69074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69075 $as_echo_n "checking for atan2l declaration... " >&6; }
69076 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69077 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69078 $as_echo_n "(cached) " >&6
69079 else
69080
69081
69082 ac_ext=cpp
69083 ac_cpp='$CXXCPP $CPPFLAGS'
69084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69087
69088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69089 /* end confdefs.h. */
69090 #include <math.h>
69091 int
69092 main ()
69093 {
69094 atan2l(0, 0);
69095 ;
69096 return 0;
69097 }
69098 _ACEOF
69099 if ac_fn_cxx_try_compile "$LINENO"; then :
69100 glibcxx_cv_func_atan2l_use=yes
69101 else
69102 glibcxx_cv_func_atan2l_use=no
69103 fi
69104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69105 ac_ext=c
69106 ac_cpp='$CPP $CPPFLAGS'
69107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69110
69111
69112 fi
69113
69114 fi
69115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69116 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69117
69118 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69119 for ac_func in atan2l
69120 do :
69121 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69122 if test "x$ac_cv_func_atan2l" = x""yes; then :
69123 cat >>confdefs.h <<_ACEOF
69124 #define HAVE_ATAN2L 1
69125 _ACEOF
69126
69127 fi
69128 done
69129
69130 else
69131
69132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69133 $as_echo_n "checking for _atan2l declaration... " >&6; }
69134 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69135 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69136 $as_echo_n "(cached) " >&6
69137 else
69138
69139
69140 ac_ext=cpp
69141 ac_cpp='$CXXCPP $CPPFLAGS'
69142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69145
69146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69147 /* end confdefs.h. */
69148 #include <math.h>
69149 int
69150 main ()
69151 {
69152 _atan2l(0, 0);
69153 ;
69154 return 0;
69155 }
69156 _ACEOF
69157 if ac_fn_cxx_try_compile "$LINENO"; then :
69158 glibcxx_cv_func__atan2l_use=yes
69159 else
69160 glibcxx_cv_func__atan2l_use=no
69161 fi
69162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69163 ac_ext=c
69164 ac_cpp='$CPP $CPPFLAGS'
69165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69168
69169
69170 fi
69171
69172 fi
69173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69174 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69175
69176 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69177 for ac_func in _atan2l
69178 do :
69179 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69180 if test "x$ac_cv_func__atan2l" = x""yes; then :
69181 cat >>confdefs.h <<_ACEOF
69182 #define HAVE__ATAN2L 1
69183 _ACEOF
69184
69185 fi
69186 done
69187
69188 fi
69189 fi
69190
69191
69192
69193
69194
69195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69196 $as_echo_n "checking for expl declaration... " >&6; }
69197 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69198 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69199 $as_echo_n "(cached) " >&6
69200 else
69201
69202
69203 ac_ext=cpp
69204 ac_cpp='$CXXCPP $CPPFLAGS'
69205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69208
69209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69210 /* end confdefs.h. */
69211 #include <math.h>
69212 #ifdef HAVE_IEEEFP_H
69213 #include <ieeefp.h>
69214 #endif
69215
69216 int
69217 main ()
69218 {
69219 expl(0);
69220 ;
69221 return 0;
69222 }
69223 _ACEOF
69224 if ac_fn_cxx_try_compile "$LINENO"; then :
69225 glibcxx_cv_func_expl_use=yes
69226 else
69227 glibcxx_cv_func_expl_use=no
69228 fi
69229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69230 ac_ext=c
69231 ac_cpp='$CPP $CPPFLAGS'
69232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69235
69236
69237 fi
69238
69239 fi
69240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69241 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69242
69243 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69244 for ac_func in expl
69245 do :
69246 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69247 if test "x$ac_cv_func_expl" = x""yes; then :
69248 cat >>confdefs.h <<_ACEOF
69249 #define HAVE_EXPL 1
69250 _ACEOF
69251
69252 fi
69253 done
69254
69255 else
69256
69257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69258 $as_echo_n "checking for _expl declaration... " >&6; }
69259 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69260 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69261 $as_echo_n "(cached) " >&6
69262 else
69263
69264
69265 ac_ext=cpp
69266 ac_cpp='$CXXCPP $CPPFLAGS'
69267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69270
69271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69272 /* end confdefs.h. */
69273 #include <math.h>
69274 #ifdef HAVE_IEEEFP_H
69275 #include <ieeefp.h>
69276 #endif
69277
69278 int
69279 main ()
69280 {
69281 _expl(0);
69282 ;
69283 return 0;
69284 }
69285 _ACEOF
69286 if ac_fn_cxx_try_compile "$LINENO"; then :
69287 glibcxx_cv_func__expl_use=yes
69288 else
69289 glibcxx_cv_func__expl_use=no
69290 fi
69291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69292 ac_ext=c
69293 ac_cpp='$CPP $CPPFLAGS'
69294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69297
69298
69299 fi
69300
69301 fi
69302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69303 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69304
69305 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69306 for ac_func in _expl
69307 do :
69308 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69309 if test "x$ac_cv_func__expl" = x""yes; then :
69310 cat >>confdefs.h <<_ACEOF
69311 #define HAVE__EXPL 1
69312 _ACEOF
69313
69314 fi
69315 done
69316
69317 fi
69318 fi
69319
69320
69321
69322
69323
69324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69325 $as_echo_n "checking for fabsl declaration... " >&6; }
69326 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69327 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69328 $as_echo_n "(cached) " >&6
69329 else
69330
69331
69332 ac_ext=cpp
69333 ac_cpp='$CXXCPP $CPPFLAGS'
69334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69337
69338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69339 /* end confdefs.h. */
69340 #include <math.h>
69341 #ifdef HAVE_IEEEFP_H
69342 #include <ieeefp.h>
69343 #endif
69344
69345 int
69346 main ()
69347 {
69348 fabsl(0);
69349 ;
69350 return 0;
69351 }
69352 _ACEOF
69353 if ac_fn_cxx_try_compile "$LINENO"; then :
69354 glibcxx_cv_func_fabsl_use=yes
69355 else
69356 glibcxx_cv_func_fabsl_use=no
69357 fi
69358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69359 ac_ext=c
69360 ac_cpp='$CPP $CPPFLAGS'
69361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69364
69365
69366 fi
69367
69368 fi
69369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69370 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69371
69372 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69373 for ac_func in fabsl
69374 do :
69375 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69376 if test "x$ac_cv_func_fabsl" = x""yes; then :
69377 cat >>confdefs.h <<_ACEOF
69378 #define HAVE_FABSL 1
69379 _ACEOF
69380
69381 fi
69382 done
69383
69384 else
69385
69386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69387 $as_echo_n "checking for _fabsl declaration... " >&6; }
69388 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69389 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69390 $as_echo_n "(cached) " >&6
69391 else
69392
69393
69394 ac_ext=cpp
69395 ac_cpp='$CXXCPP $CPPFLAGS'
69396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69399
69400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69401 /* end confdefs.h. */
69402 #include <math.h>
69403 #ifdef HAVE_IEEEFP_H
69404 #include <ieeefp.h>
69405 #endif
69406
69407 int
69408 main ()
69409 {
69410 _fabsl(0);
69411 ;
69412 return 0;
69413 }
69414 _ACEOF
69415 if ac_fn_cxx_try_compile "$LINENO"; then :
69416 glibcxx_cv_func__fabsl_use=yes
69417 else
69418 glibcxx_cv_func__fabsl_use=no
69419 fi
69420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69421 ac_ext=c
69422 ac_cpp='$CPP $CPPFLAGS'
69423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69426
69427
69428 fi
69429
69430 fi
69431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69432 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69433
69434 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69435 for ac_func in _fabsl
69436 do :
69437 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69438 if test "x$ac_cv_func__fabsl" = x""yes; then :
69439 cat >>confdefs.h <<_ACEOF
69440 #define HAVE__FABSL 1
69441 _ACEOF
69442
69443 fi
69444 done
69445
69446 fi
69447 fi
69448
69449
69450
69451
69452
69453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69454 $as_echo_n "checking for fmodl declaration... " >&6; }
69455 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69456 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69457 $as_echo_n "(cached) " >&6
69458 else
69459
69460
69461 ac_ext=cpp
69462 ac_cpp='$CXXCPP $CPPFLAGS'
69463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69466
69467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69468 /* end confdefs.h. */
69469 #include <math.h>
69470 int
69471 main ()
69472 {
69473 fmodl(0, 0);
69474 ;
69475 return 0;
69476 }
69477 _ACEOF
69478 if ac_fn_cxx_try_compile "$LINENO"; then :
69479 glibcxx_cv_func_fmodl_use=yes
69480 else
69481 glibcxx_cv_func_fmodl_use=no
69482 fi
69483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69484 ac_ext=c
69485 ac_cpp='$CPP $CPPFLAGS'
69486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69489
69490
69491 fi
69492
69493 fi
69494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69495 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69496
69497 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69498 for ac_func in fmodl
69499 do :
69500 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69501 if test "x$ac_cv_func_fmodl" = x""yes; then :
69502 cat >>confdefs.h <<_ACEOF
69503 #define HAVE_FMODL 1
69504 _ACEOF
69505
69506 fi
69507 done
69508
69509 else
69510
69511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69512 $as_echo_n "checking for _fmodl declaration... " >&6; }
69513 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69514 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69515 $as_echo_n "(cached) " >&6
69516 else
69517
69518
69519 ac_ext=cpp
69520 ac_cpp='$CXXCPP $CPPFLAGS'
69521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69524
69525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69526 /* end confdefs.h. */
69527 #include <math.h>
69528 int
69529 main ()
69530 {
69531 _fmodl(0, 0);
69532 ;
69533 return 0;
69534 }
69535 _ACEOF
69536 if ac_fn_cxx_try_compile "$LINENO"; then :
69537 glibcxx_cv_func__fmodl_use=yes
69538 else
69539 glibcxx_cv_func__fmodl_use=no
69540 fi
69541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69542 ac_ext=c
69543 ac_cpp='$CPP $CPPFLAGS'
69544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69547
69548
69549 fi
69550
69551 fi
69552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69553 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69554
69555 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69556 for ac_func in _fmodl
69557 do :
69558 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69559 if test "x$ac_cv_func__fmodl" = x""yes; then :
69560 cat >>confdefs.h <<_ACEOF
69561 #define HAVE__FMODL 1
69562 _ACEOF
69563
69564 fi
69565 done
69566
69567 fi
69568 fi
69569
69570
69571
69572
69573
69574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69575 $as_echo_n "checking for frexpl declaration... " >&6; }
69576 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69577 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69578 $as_echo_n "(cached) " >&6
69579 else
69580
69581
69582 ac_ext=cpp
69583 ac_cpp='$CXXCPP $CPPFLAGS'
69584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69587
69588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69589 /* end confdefs.h. */
69590 #include <math.h>
69591 int
69592 main ()
69593 {
69594 frexpl(0, 0);
69595 ;
69596 return 0;
69597 }
69598 _ACEOF
69599 if ac_fn_cxx_try_compile "$LINENO"; then :
69600 glibcxx_cv_func_frexpl_use=yes
69601 else
69602 glibcxx_cv_func_frexpl_use=no
69603 fi
69604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69605 ac_ext=c
69606 ac_cpp='$CPP $CPPFLAGS'
69607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69610
69611
69612 fi
69613
69614 fi
69615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69616 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69617
69618 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69619 for ac_func in frexpl
69620 do :
69621 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69622 if test "x$ac_cv_func_frexpl" = x""yes; then :
69623 cat >>confdefs.h <<_ACEOF
69624 #define HAVE_FREXPL 1
69625 _ACEOF
69626
69627 fi
69628 done
69629
69630 else
69631
69632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69633 $as_echo_n "checking for _frexpl declaration... " >&6; }
69634 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69635 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69636 $as_echo_n "(cached) " >&6
69637 else
69638
69639
69640 ac_ext=cpp
69641 ac_cpp='$CXXCPP $CPPFLAGS'
69642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69645
69646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69647 /* end confdefs.h. */
69648 #include <math.h>
69649 int
69650 main ()
69651 {
69652 _frexpl(0, 0);
69653 ;
69654 return 0;
69655 }
69656 _ACEOF
69657 if ac_fn_cxx_try_compile "$LINENO"; then :
69658 glibcxx_cv_func__frexpl_use=yes
69659 else
69660 glibcxx_cv_func__frexpl_use=no
69661 fi
69662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69663 ac_ext=c
69664 ac_cpp='$CPP $CPPFLAGS'
69665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69668
69669
69670 fi
69671
69672 fi
69673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69674 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69675
69676 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69677 for ac_func in _frexpl
69678 do :
69679 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69680 if test "x$ac_cv_func__frexpl" = x""yes; then :
69681 cat >>confdefs.h <<_ACEOF
69682 #define HAVE__FREXPL 1
69683 _ACEOF
69684
69685 fi
69686 done
69687
69688 fi
69689 fi
69690
69691
69692
69693
69694
69695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69696 $as_echo_n "checking for hypotl declaration... " >&6; }
69697 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69698 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69699 $as_echo_n "(cached) " >&6
69700 else
69701
69702
69703 ac_ext=cpp
69704 ac_cpp='$CXXCPP $CPPFLAGS'
69705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69708
69709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69710 /* end confdefs.h. */
69711 #include <math.h>
69712 int
69713 main ()
69714 {
69715 hypotl(0, 0);
69716 ;
69717 return 0;
69718 }
69719 _ACEOF
69720 if ac_fn_cxx_try_compile "$LINENO"; then :
69721 glibcxx_cv_func_hypotl_use=yes
69722 else
69723 glibcxx_cv_func_hypotl_use=no
69724 fi
69725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69726 ac_ext=c
69727 ac_cpp='$CPP $CPPFLAGS'
69728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69731
69732
69733 fi
69734
69735 fi
69736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69737 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69738
69739 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69740 for ac_func in hypotl
69741 do :
69742 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69743 if test "x$ac_cv_func_hypotl" = x""yes; then :
69744 cat >>confdefs.h <<_ACEOF
69745 #define HAVE_HYPOTL 1
69746 _ACEOF
69747
69748 fi
69749 done
69750
69751 else
69752
69753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69754 $as_echo_n "checking for _hypotl declaration... " >&6; }
69755 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69756 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69757 $as_echo_n "(cached) " >&6
69758 else
69759
69760
69761 ac_ext=cpp
69762 ac_cpp='$CXXCPP $CPPFLAGS'
69763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69766
69767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69768 /* end confdefs.h. */
69769 #include <math.h>
69770 int
69771 main ()
69772 {
69773 _hypotl(0, 0);
69774 ;
69775 return 0;
69776 }
69777 _ACEOF
69778 if ac_fn_cxx_try_compile "$LINENO"; then :
69779 glibcxx_cv_func__hypotl_use=yes
69780 else
69781 glibcxx_cv_func__hypotl_use=no
69782 fi
69783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69784 ac_ext=c
69785 ac_cpp='$CPP $CPPFLAGS'
69786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69789
69790
69791 fi
69792
69793 fi
69794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69795 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69796
69797 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69798 for ac_func in _hypotl
69799 do :
69800 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69801 if test "x$ac_cv_func__hypotl" = x""yes; then :
69802 cat >>confdefs.h <<_ACEOF
69803 #define HAVE__HYPOTL 1
69804 _ACEOF
69805
69806 fi
69807 done
69808
69809 fi
69810 fi
69811
69812
69813
69814
69815
69816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69817 $as_echo_n "checking for ldexpl declaration... " >&6; }
69818 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69819 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69820 $as_echo_n "(cached) " >&6
69821 else
69822
69823
69824 ac_ext=cpp
69825 ac_cpp='$CXXCPP $CPPFLAGS'
69826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69829
69830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69831 /* end confdefs.h. */
69832 #include <math.h>
69833 int
69834 main ()
69835 {
69836 ldexpl(0, 0);
69837 ;
69838 return 0;
69839 }
69840 _ACEOF
69841 if ac_fn_cxx_try_compile "$LINENO"; then :
69842 glibcxx_cv_func_ldexpl_use=yes
69843 else
69844 glibcxx_cv_func_ldexpl_use=no
69845 fi
69846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69847 ac_ext=c
69848 ac_cpp='$CPP $CPPFLAGS'
69849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69852
69853
69854 fi
69855
69856 fi
69857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69858 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69859
69860 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69861 for ac_func in ldexpl
69862 do :
69863 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69864 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69865 cat >>confdefs.h <<_ACEOF
69866 #define HAVE_LDEXPL 1
69867 _ACEOF
69868
69869 fi
69870 done
69871
69872 else
69873
69874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69875 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69876 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69877 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69878 $as_echo_n "(cached) " >&6
69879 else
69880
69881
69882 ac_ext=cpp
69883 ac_cpp='$CXXCPP $CPPFLAGS'
69884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69887
69888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69889 /* end confdefs.h. */
69890 #include <math.h>
69891 int
69892 main ()
69893 {
69894 _ldexpl(0, 0);
69895 ;
69896 return 0;
69897 }
69898 _ACEOF
69899 if ac_fn_cxx_try_compile "$LINENO"; then :
69900 glibcxx_cv_func__ldexpl_use=yes
69901 else
69902 glibcxx_cv_func__ldexpl_use=no
69903 fi
69904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69905 ac_ext=c
69906 ac_cpp='$CPP $CPPFLAGS'
69907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69910
69911
69912 fi
69913
69914 fi
69915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69916 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69917
69918 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69919 for ac_func in _ldexpl
69920 do :
69921 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69922 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69923 cat >>confdefs.h <<_ACEOF
69924 #define HAVE__LDEXPL 1
69925 _ACEOF
69926
69927 fi
69928 done
69929
69930 fi
69931 fi
69932
69933
69934
69935
69936
69937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69938 $as_echo_n "checking for logl declaration... " >&6; }
69939 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69940 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69941 $as_echo_n "(cached) " >&6
69942 else
69943
69944
69945 ac_ext=cpp
69946 ac_cpp='$CXXCPP $CPPFLAGS'
69947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69950
69951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69952 /* end confdefs.h. */
69953 #include <math.h>
69954 #ifdef HAVE_IEEEFP_H
69955 #include <ieeefp.h>
69956 #endif
69957
69958 int
69959 main ()
69960 {
69961 logl(0);
69962 ;
69963 return 0;
69964 }
69965 _ACEOF
69966 if ac_fn_cxx_try_compile "$LINENO"; then :
69967 glibcxx_cv_func_logl_use=yes
69968 else
69969 glibcxx_cv_func_logl_use=no
69970 fi
69971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69972 ac_ext=c
69973 ac_cpp='$CPP $CPPFLAGS'
69974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69977
69978
69979 fi
69980
69981 fi
69982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69983 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69984
69985 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69986 for ac_func in logl
69987 do :
69988 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69989 if test "x$ac_cv_func_logl" = x""yes; then :
69990 cat >>confdefs.h <<_ACEOF
69991 #define HAVE_LOGL 1
69992 _ACEOF
69993
69994 fi
69995 done
69996
69997 else
69998
69999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70000 $as_echo_n "checking for _logl declaration... " >&6; }
70001 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70002 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70003 $as_echo_n "(cached) " >&6
70004 else
70005
70006
70007 ac_ext=cpp
70008 ac_cpp='$CXXCPP $CPPFLAGS'
70009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70012
70013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70014 /* end confdefs.h. */
70015 #include <math.h>
70016 #ifdef HAVE_IEEEFP_H
70017 #include <ieeefp.h>
70018 #endif
70019
70020 int
70021 main ()
70022 {
70023 _logl(0);
70024 ;
70025 return 0;
70026 }
70027 _ACEOF
70028 if ac_fn_cxx_try_compile "$LINENO"; then :
70029 glibcxx_cv_func__logl_use=yes
70030 else
70031 glibcxx_cv_func__logl_use=no
70032 fi
70033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70034 ac_ext=c
70035 ac_cpp='$CPP $CPPFLAGS'
70036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70039
70040
70041 fi
70042
70043 fi
70044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70045 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70046
70047 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70048 for ac_func in _logl
70049 do :
70050 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70051 if test "x$ac_cv_func__logl" = x""yes; then :
70052 cat >>confdefs.h <<_ACEOF
70053 #define HAVE__LOGL 1
70054 _ACEOF
70055
70056 fi
70057 done
70058
70059 fi
70060 fi
70061
70062
70063
70064
70065
70066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70067 $as_echo_n "checking for log10l declaration... " >&6; }
70068 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70069 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70070 $as_echo_n "(cached) " >&6
70071 else
70072
70073
70074 ac_ext=cpp
70075 ac_cpp='$CXXCPP $CPPFLAGS'
70076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70079
70080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70081 /* end confdefs.h. */
70082 #include <math.h>
70083 #ifdef HAVE_IEEEFP_H
70084 #include <ieeefp.h>
70085 #endif
70086
70087 int
70088 main ()
70089 {
70090 log10l(0);
70091 ;
70092 return 0;
70093 }
70094 _ACEOF
70095 if ac_fn_cxx_try_compile "$LINENO"; then :
70096 glibcxx_cv_func_log10l_use=yes
70097 else
70098 glibcxx_cv_func_log10l_use=no
70099 fi
70100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70101 ac_ext=c
70102 ac_cpp='$CPP $CPPFLAGS'
70103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70106
70107
70108 fi
70109
70110 fi
70111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70112 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70113
70114 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70115 for ac_func in log10l
70116 do :
70117 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70118 if test "x$ac_cv_func_log10l" = x""yes; then :
70119 cat >>confdefs.h <<_ACEOF
70120 #define HAVE_LOG10L 1
70121 _ACEOF
70122
70123 fi
70124 done
70125
70126 else
70127
70128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70129 $as_echo_n "checking for _log10l declaration... " >&6; }
70130 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70131 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70132 $as_echo_n "(cached) " >&6
70133 else
70134
70135
70136 ac_ext=cpp
70137 ac_cpp='$CXXCPP $CPPFLAGS'
70138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70141
70142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70143 /* end confdefs.h. */
70144 #include <math.h>
70145 #ifdef HAVE_IEEEFP_H
70146 #include <ieeefp.h>
70147 #endif
70148
70149 int
70150 main ()
70151 {
70152 _log10l(0);
70153 ;
70154 return 0;
70155 }
70156 _ACEOF
70157 if ac_fn_cxx_try_compile "$LINENO"; then :
70158 glibcxx_cv_func__log10l_use=yes
70159 else
70160 glibcxx_cv_func__log10l_use=no
70161 fi
70162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70163 ac_ext=c
70164 ac_cpp='$CPP $CPPFLAGS'
70165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70168
70169
70170 fi
70171
70172 fi
70173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70174 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70175
70176 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70177 for ac_func in _log10l
70178 do :
70179 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70180 if test "x$ac_cv_func__log10l" = x""yes; then :
70181 cat >>confdefs.h <<_ACEOF
70182 #define HAVE__LOG10L 1
70183 _ACEOF
70184
70185 fi
70186 done
70187
70188 fi
70189 fi
70190
70191
70192
70193
70194
70195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70196 $as_echo_n "checking for modfl declaration... " >&6; }
70197 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70198 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70199 $as_echo_n "(cached) " >&6
70200 else
70201
70202
70203 ac_ext=cpp
70204 ac_cpp='$CXXCPP $CPPFLAGS'
70205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70208
70209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70210 /* end confdefs.h. */
70211 #include <math.h>
70212 int
70213 main ()
70214 {
70215 modfl(0, 0);
70216 ;
70217 return 0;
70218 }
70219 _ACEOF
70220 if ac_fn_cxx_try_compile "$LINENO"; then :
70221 glibcxx_cv_func_modfl_use=yes
70222 else
70223 glibcxx_cv_func_modfl_use=no
70224 fi
70225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70226 ac_ext=c
70227 ac_cpp='$CPP $CPPFLAGS'
70228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70231
70232
70233 fi
70234
70235 fi
70236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70237 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70238
70239 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70240 for ac_func in modfl
70241 do :
70242 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70243 if test "x$ac_cv_func_modfl" = x""yes; then :
70244 cat >>confdefs.h <<_ACEOF
70245 #define HAVE_MODFL 1
70246 _ACEOF
70247
70248 fi
70249 done
70250
70251 else
70252
70253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70254 $as_echo_n "checking for _modfl declaration... " >&6; }
70255 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70256 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70257 $as_echo_n "(cached) " >&6
70258 else
70259
70260
70261 ac_ext=cpp
70262 ac_cpp='$CXXCPP $CPPFLAGS'
70263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70266
70267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70268 /* end confdefs.h. */
70269 #include <math.h>
70270 int
70271 main ()
70272 {
70273 _modfl(0, 0);
70274 ;
70275 return 0;
70276 }
70277 _ACEOF
70278 if ac_fn_cxx_try_compile "$LINENO"; then :
70279 glibcxx_cv_func__modfl_use=yes
70280 else
70281 glibcxx_cv_func__modfl_use=no
70282 fi
70283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70284 ac_ext=c
70285 ac_cpp='$CPP $CPPFLAGS'
70286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70289
70290
70291 fi
70292
70293 fi
70294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70295 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70296
70297 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70298 for ac_func in _modfl
70299 do :
70300 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70301 if test "x$ac_cv_func__modfl" = x""yes; then :
70302 cat >>confdefs.h <<_ACEOF
70303 #define HAVE__MODFL 1
70304 _ACEOF
70305
70306 fi
70307 done
70308
70309 fi
70310 fi
70311
70312
70313
70314
70315
70316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70317 $as_echo_n "checking for powl declaration... " >&6; }
70318 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70319 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70320 $as_echo_n "(cached) " >&6
70321 else
70322
70323
70324 ac_ext=cpp
70325 ac_cpp='$CXXCPP $CPPFLAGS'
70326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70329
70330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70331 /* end confdefs.h. */
70332 #include <math.h>
70333 int
70334 main ()
70335 {
70336 powl(0, 0);
70337 ;
70338 return 0;
70339 }
70340 _ACEOF
70341 if ac_fn_cxx_try_compile "$LINENO"; then :
70342 glibcxx_cv_func_powl_use=yes
70343 else
70344 glibcxx_cv_func_powl_use=no
70345 fi
70346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70347 ac_ext=c
70348 ac_cpp='$CPP $CPPFLAGS'
70349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70352
70353
70354 fi
70355
70356 fi
70357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70358 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70359
70360 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70361 for ac_func in powl
70362 do :
70363 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70364 if test "x$ac_cv_func_powl" = x""yes; then :
70365 cat >>confdefs.h <<_ACEOF
70366 #define HAVE_POWL 1
70367 _ACEOF
70368
70369 fi
70370 done
70371
70372 else
70373
70374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70375 $as_echo_n "checking for _powl declaration... " >&6; }
70376 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70377 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70378 $as_echo_n "(cached) " >&6
70379 else
70380
70381
70382 ac_ext=cpp
70383 ac_cpp='$CXXCPP $CPPFLAGS'
70384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70387
70388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70389 /* end confdefs.h. */
70390 #include <math.h>
70391 int
70392 main ()
70393 {
70394 _powl(0, 0);
70395 ;
70396 return 0;
70397 }
70398 _ACEOF
70399 if ac_fn_cxx_try_compile "$LINENO"; then :
70400 glibcxx_cv_func__powl_use=yes
70401 else
70402 glibcxx_cv_func__powl_use=no
70403 fi
70404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70405 ac_ext=c
70406 ac_cpp='$CPP $CPPFLAGS'
70407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70410
70411
70412 fi
70413
70414 fi
70415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70416 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70417
70418 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70419 for ac_func in _powl
70420 do :
70421 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70422 if test "x$ac_cv_func__powl" = x""yes; then :
70423 cat >>confdefs.h <<_ACEOF
70424 #define HAVE__POWL 1
70425 _ACEOF
70426
70427 fi
70428 done
70429
70430 fi
70431 fi
70432
70433
70434
70435
70436
70437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70438 $as_echo_n "checking for sqrtl declaration... " >&6; }
70439 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70440 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70441 $as_echo_n "(cached) " >&6
70442 else
70443
70444
70445 ac_ext=cpp
70446 ac_cpp='$CXXCPP $CPPFLAGS'
70447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70450
70451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70452 /* end confdefs.h. */
70453 #include <math.h>
70454 #ifdef HAVE_IEEEFP_H
70455 #include <ieeefp.h>
70456 #endif
70457
70458 int
70459 main ()
70460 {
70461 sqrtl(0);
70462 ;
70463 return 0;
70464 }
70465 _ACEOF
70466 if ac_fn_cxx_try_compile "$LINENO"; then :
70467 glibcxx_cv_func_sqrtl_use=yes
70468 else
70469 glibcxx_cv_func_sqrtl_use=no
70470 fi
70471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70472 ac_ext=c
70473 ac_cpp='$CPP $CPPFLAGS'
70474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70477
70478
70479 fi
70480
70481 fi
70482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70483 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70484
70485 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70486 for ac_func in sqrtl
70487 do :
70488 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70489 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70490 cat >>confdefs.h <<_ACEOF
70491 #define HAVE_SQRTL 1
70492 _ACEOF
70493
70494 fi
70495 done
70496
70497 else
70498
70499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70500 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70501 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70502 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70503 $as_echo_n "(cached) " >&6
70504 else
70505
70506
70507 ac_ext=cpp
70508 ac_cpp='$CXXCPP $CPPFLAGS'
70509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70512
70513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70514 /* end confdefs.h. */
70515 #include <math.h>
70516 #ifdef HAVE_IEEEFP_H
70517 #include <ieeefp.h>
70518 #endif
70519
70520 int
70521 main ()
70522 {
70523 _sqrtl(0);
70524 ;
70525 return 0;
70526 }
70527 _ACEOF
70528 if ac_fn_cxx_try_compile "$LINENO"; then :
70529 glibcxx_cv_func__sqrtl_use=yes
70530 else
70531 glibcxx_cv_func__sqrtl_use=no
70532 fi
70533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70534 ac_ext=c
70535 ac_cpp='$CPP $CPPFLAGS'
70536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70539
70540
70541 fi
70542
70543 fi
70544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70545 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70546
70547 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70548 for ac_func in _sqrtl
70549 do :
70550 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70551 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70552 cat >>confdefs.h <<_ACEOF
70553 #define HAVE__SQRTL 1
70554 _ACEOF
70555
70556 fi
70557 done
70558
70559 fi
70560 fi
70561
70562
70563
70564
70565
70566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70567 $as_echo_n "checking for sincosl declaration... " >&6; }
70568 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70569 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70570 $as_echo_n "(cached) " >&6
70571 else
70572
70573
70574 ac_ext=cpp
70575 ac_cpp='$CXXCPP $CPPFLAGS'
70576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70579
70580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70581 /* end confdefs.h. */
70582 #include <math.h>
70583 int
70584 main ()
70585 {
70586 sincosl(0, 0, 0);
70587 ;
70588 return 0;
70589 }
70590 _ACEOF
70591 if ac_fn_cxx_try_compile "$LINENO"; then :
70592 glibcxx_cv_func_sincosl_use=yes
70593 else
70594 glibcxx_cv_func_sincosl_use=no
70595 fi
70596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70597 ac_ext=c
70598 ac_cpp='$CPP $CPPFLAGS'
70599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70602
70603
70604 fi
70605
70606 fi
70607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70608 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70609
70610 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70611 for ac_func in sincosl
70612 do :
70613 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70614 if test "x$ac_cv_func_sincosl" = x""yes; then :
70615 cat >>confdefs.h <<_ACEOF
70616 #define HAVE_SINCOSL 1
70617 _ACEOF
70618
70619 fi
70620 done
70621
70622 else
70623
70624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70625 $as_echo_n "checking for _sincosl declaration... " >&6; }
70626 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70627 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70628 $as_echo_n "(cached) " >&6
70629 else
70630
70631
70632 ac_ext=cpp
70633 ac_cpp='$CXXCPP $CPPFLAGS'
70634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70637
70638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70639 /* end confdefs.h. */
70640 #include <math.h>
70641 int
70642 main ()
70643 {
70644 _sincosl(0, 0, 0);
70645 ;
70646 return 0;
70647 }
70648 _ACEOF
70649 if ac_fn_cxx_try_compile "$LINENO"; then :
70650 glibcxx_cv_func__sincosl_use=yes
70651 else
70652 glibcxx_cv_func__sincosl_use=no
70653 fi
70654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70655 ac_ext=c
70656 ac_cpp='$CPP $CPPFLAGS'
70657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70660
70661
70662 fi
70663
70664 fi
70665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70666 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70667
70668 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70669 for ac_func in _sincosl
70670 do :
70671 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70672 if test "x$ac_cv_func__sincosl" = x""yes; then :
70673 cat >>confdefs.h <<_ACEOF
70674 #define HAVE__SINCOSL 1
70675 _ACEOF
70676
70677 fi
70678 done
70679
70680 fi
70681 fi
70682
70683
70684
70685
70686
70687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70688 $as_echo_n "checking for finitel declaration... " >&6; }
70689 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70690 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70691 $as_echo_n "(cached) " >&6
70692 else
70693
70694
70695 ac_ext=cpp
70696 ac_cpp='$CXXCPP $CPPFLAGS'
70697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70700
70701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70702 /* end confdefs.h. */
70703 #include <math.h>
70704 #ifdef HAVE_IEEEFP_H
70705 #include <ieeefp.h>
70706 #endif
70707
70708 int
70709 main ()
70710 {
70711 finitel(0);
70712 ;
70713 return 0;
70714 }
70715 _ACEOF
70716 if ac_fn_cxx_try_compile "$LINENO"; then :
70717 glibcxx_cv_func_finitel_use=yes
70718 else
70719 glibcxx_cv_func_finitel_use=no
70720 fi
70721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70722 ac_ext=c
70723 ac_cpp='$CPP $CPPFLAGS'
70724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70727
70728
70729 fi
70730
70731 fi
70732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70733 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70734
70735 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70736 for ac_func in finitel
70737 do :
70738 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70739 if test "x$ac_cv_func_finitel" = x""yes; then :
70740 cat >>confdefs.h <<_ACEOF
70741 #define HAVE_FINITEL 1
70742 _ACEOF
70743
70744 fi
70745 done
70746
70747 else
70748
70749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70750 $as_echo_n "checking for _finitel declaration... " >&6; }
70751 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70752 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70753 $as_echo_n "(cached) " >&6
70754 else
70755
70756
70757 ac_ext=cpp
70758 ac_cpp='$CXXCPP $CPPFLAGS'
70759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70762
70763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70764 /* end confdefs.h. */
70765 #include <math.h>
70766 #ifdef HAVE_IEEEFP_H
70767 #include <ieeefp.h>
70768 #endif
70769
70770 int
70771 main ()
70772 {
70773 _finitel(0);
70774 ;
70775 return 0;
70776 }
70777 _ACEOF
70778 if ac_fn_cxx_try_compile "$LINENO"; then :
70779 glibcxx_cv_func__finitel_use=yes
70780 else
70781 glibcxx_cv_func__finitel_use=no
70782 fi
70783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70784 ac_ext=c
70785 ac_cpp='$CPP $CPPFLAGS'
70786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70789
70790
70791 fi
70792
70793 fi
70794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70795 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70796
70797 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70798 for ac_func in _finitel
70799 do :
70800 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70801 if test "x$ac_cv_func__finitel" = x""yes; then :
70802 cat >>confdefs.h <<_ACEOF
70803 #define HAVE__FINITEL 1
70804 _ACEOF
70805
70806 fi
70807 done
70808
70809 fi
70810 fi
70811
70812
70813
70814
70815 LIBS="$ac_save_LIBS"
70816 CXXFLAGS="$ac_save_CXXFLAGS"
70817
70818
70819 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70820 ac_save_CXXFLAGS="$CXXFLAGS"
70821 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70822
70823
70824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70825 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70826 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70827 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70828 $as_echo_n "(cached) " >&6
70829 else
70830
70831
70832 ac_ext=cpp
70833 ac_cpp='$CXXCPP $CPPFLAGS'
70834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70837
70838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70839 /* end confdefs.h. */
70840 #include <stdlib.h>
70841 int
70842 main ()
70843 {
70844 at_quick_exit(0);
70845 ;
70846 return 0;
70847 }
70848 _ACEOF
70849 if ac_fn_cxx_try_compile "$LINENO"; then :
70850 glibcxx_cv_func_at_quick_exit_use=yes
70851 else
70852 glibcxx_cv_func_at_quick_exit_use=no
70853 fi
70854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70855 ac_ext=c
70856 ac_cpp='$CPP $CPPFLAGS'
70857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70860
70861
70862 fi
70863
70864 fi
70865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70866 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70867 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70868 for ac_func in at_quick_exit
70869 do :
70870 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70871 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70872 cat >>confdefs.h <<_ACEOF
70873 #define HAVE_AT_QUICK_EXIT 1
70874 _ACEOF
70875
70876 fi
70877 done
70878
70879 fi
70880
70881
70882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70883 $as_echo_n "checking for quick_exit declaration... " >&6; }
70884 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70885 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70886 $as_echo_n "(cached) " >&6
70887 else
70888
70889
70890 ac_ext=cpp
70891 ac_cpp='$CXXCPP $CPPFLAGS'
70892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70895
70896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70897 /* end confdefs.h. */
70898 #include <stdlib.h>
70899 int
70900 main ()
70901 {
70902 quick_exit(0);
70903 ;
70904 return 0;
70905 }
70906 _ACEOF
70907 if ac_fn_cxx_try_compile "$LINENO"; then :
70908 glibcxx_cv_func_quick_exit_use=yes
70909 else
70910 glibcxx_cv_func_quick_exit_use=no
70911 fi
70912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70913 ac_ext=c
70914 ac_cpp='$CPP $CPPFLAGS'
70915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70918
70919
70920 fi
70921
70922 fi
70923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70924 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70925 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70926 for ac_func in quick_exit
70927 do :
70928 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70929 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70930 cat >>confdefs.h <<_ACEOF
70931 #define HAVE_QUICK_EXIT 1
70932 _ACEOF
70933
70934 fi
70935 done
70936
70937 fi
70938
70939
70940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70941 $as_echo_n "checking for strtold declaration... " >&6; }
70942 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70943 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70944 $as_echo_n "(cached) " >&6
70945 else
70946
70947
70948 ac_ext=cpp
70949 ac_cpp='$CXXCPP $CPPFLAGS'
70950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70953
70954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70955 /* end confdefs.h. */
70956 #include <stdlib.h>
70957 int
70958 main ()
70959 {
70960 strtold(0, 0);
70961 ;
70962 return 0;
70963 }
70964 _ACEOF
70965 if ac_fn_cxx_try_compile "$LINENO"; then :
70966 glibcxx_cv_func_strtold_use=yes
70967 else
70968 glibcxx_cv_func_strtold_use=no
70969 fi
70970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70971 ac_ext=c
70972 ac_cpp='$CPP $CPPFLAGS'
70973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70976
70977
70978 fi
70979
70980 fi
70981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70982 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70983 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70984 for ac_func in strtold
70985 do :
70986 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70987 if test "x$ac_cv_func_strtold" = x""yes; then :
70988 cat >>confdefs.h <<_ACEOF
70989 #define HAVE_STRTOLD 1
70990 _ACEOF
70991
70992 fi
70993 done
70994
70995 fi
70996
70997
70998
70999
71000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71001 $as_echo_n "checking for strtof declaration... " >&6; }
71002 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71003 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71004 $as_echo_n "(cached) " >&6
71005 else
71006
71007
71008 ac_ext=cpp
71009 ac_cpp='$CXXCPP $CPPFLAGS'
71010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71013
71014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71015 /* end confdefs.h. */
71016 #include <stdlib.h>
71017 int
71018 main ()
71019 {
71020 strtof(0, 0);
71021 ;
71022 return 0;
71023 }
71024 _ACEOF
71025 if ac_fn_cxx_try_compile "$LINENO"; then :
71026 glibcxx_cv_func_strtof_use=yes
71027 else
71028 glibcxx_cv_func_strtof_use=no
71029 fi
71030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71031 ac_ext=c
71032 ac_cpp='$CPP $CPPFLAGS'
71033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71036
71037
71038 fi
71039
71040 fi
71041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71042 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71043 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71044 for ac_func in strtof
71045 do :
71046 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71047 if test "x$ac_cv_func_strtof" = x""yes; then :
71048 cat >>confdefs.h <<_ACEOF
71049 #define HAVE_STRTOF 1
71050 _ACEOF
71051
71052 fi
71053 done
71054
71055 fi
71056
71057
71058
71059
71060 CXXFLAGS="$ac_save_CXXFLAGS"
71061
71062 ;;
71063 *-solaris*)
71064
71065 # If we're not using GNU ld, then there's no point in even trying these
71066 # tests. Check for that first. We should have already tested for gld
71067 # by now (in libtool), but require it now just to be safe...
71068 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71069 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71070
71071
71072
71073 # The name set by libtool depends on the version of libtool. Shame on us
71074 # for depending on an impl detail, but c'est la vie. Older versions used
71075 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71076 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71077 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71078 # set (hence we're using an older libtool), then set it.
71079 if test x${with_gnu_ld+set} != xset; then
71080 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71081 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71082 with_gnu_ld=no
71083 else
71084 with_gnu_ld=$ac_cv_prog_gnu_ld
71085 fi
71086 fi
71087
71088 # Start by getting the version number. I think the libtool test already
71089 # does some of this, but throws away the result.
71090 glibcxx_ld_is_gold=no
71091 if test x"$with_gnu_ld" = x"yes"; then
71092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71093 $as_echo_n "checking for ld version... " >&6; }
71094
71095 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71096 glibcxx_ld_is_gold=yes
71097 fi
71098 ldver=`$LD --version 2>/dev/null |
71099 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'`
71100
71101 glibcxx_gnu_ld_version=`echo $ldver | \
71102 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71104 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71105 fi
71106
71107 # Set --gc-sections.
71108 glibcxx_have_gc_sections=no
71109 if test "$glibcxx_ld_is_gold" = "yes"; then
71110 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71111 glibcxx_have_gc_sections=yes
71112 fi
71113 else
71114 glibcxx_gcsections_min_ld=21602
71115 if test x"$with_gnu_ld" = x"yes" &&
71116 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71117 glibcxx_have_gc_sections=yes
71118 fi
71119 fi
71120 if test "$glibcxx_have_gc_sections" = "yes"; then
71121 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71122 # NB: This flag only works reliably after 2.16.1. Configure tests
71123 # for this are difficult, so hard wire a value that should work.
71124
71125 ac_test_CFLAGS="${CFLAGS+set}"
71126 ac_save_CFLAGS="$CFLAGS"
71127 CFLAGS='-Wl,--gc-sections'
71128
71129 # Check for -Wl,--gc-sections
71130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71131 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71132 if test x$gcc_no_link = xyes; then
71133 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71134 fi
71135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71136 /* end confdefs.h. */
71137 int one(void) { return 1; }
71138 int two(void) { return 2; }
71139
71140 int
71141 main ()
71142 {
71143 two();
71144 ;
71145 return 0;
71146 }
71147 _ACEOF
71148 if ac_fn_c_try_link "$LINENO"; then :
71149 ac_gcsections=yes
71150 else
71151 ac_gcsections=no
71152 fi
71153 rm -f core conftest.err conftest.$ac_objext \
71154 conftest$ac_exeext conftest.$ac_ext
71155 if test "$ac_gcsections" = "yes"; then
71156 rm -f conftest.c
71157 touch conftest.c
71158 if $CC -c conftest.c; then
71159 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71160 grep "Warning: gc-sections option ignored" > /dev/null; then
71161 ac_gcsections=no
71162 fi
71163 fi
71164 rm -f conftest.c conftest.o conftest
71165 fi
71166 if test "$ac_gcsections" = "yes"; then
71167 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71168 fi
71169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71170 $as_echo "$ac_gcsections" >&6; }
71171
71172 if test "$ac_test_CFLAGS" = set; then
71173 CFLAGS="$ac_save_CFLAGS"
71174 else
71175 # this is the suspicious part
71176 CFLAGS=''
71177 fi
71178 fi
71179
71180 # Set -z,relro.
71181 # Note this is only for shared objects.
71182 ac_ld_relro=no
71183 if test x"$with_gnu_ld" = x"yes"; then
71184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71185 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71186 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71187 if test -n "$cxx_z_relo"; then
71188 OPT_LDFLAGS="-Wl,-z,relro"
71189 ac_ld_relro=yes
71190 fi
71191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71192 $as_echo "$ac_ld_relro" >&6; }
71193 fi
71194
71195 # Set linker optimization flags.
71196 if test x"$with_gnu_ld" = x"yes"; then
71197 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71198 fi
71199
71200
71201
71202
71203 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71204
71205 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71206
71207 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71208
71209 # All of the dependencies for wide character support are here, so
71210 # turn it on.
71211 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71212
71213 # These two C99 functions are present only in Solaris >= 10
71214 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71215
71216 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71217
71218 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71219
71220 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71221
71222 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71223
71224 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71225
71226 ;;
71227 *-tpf)
71228 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71229 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71230
71231 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71232
71233 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71234
71235 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71236
71237 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71238
71239 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71240
71241 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71242
71243 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71244
71245 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71246
71247 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71248
71249 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71250
71251 if test x"long_double_math_on_this_cpu" = x"yes"; then
71252 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71253
71254 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71255
71256 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71257
71258 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71259
71260 fi
71261 ;;
71262 *-*vms*)
71263 # Check for available headers.
71264 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71265
71266 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71267 ac_save_CXXFLAGS="$CXXFLAGS"
71268 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71269
71270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71271 $as_echo_n "checking for sin in -lm... " >&6; }
71272 if test "${ac_cv_lib_m_sin+set}" = set; then :
71273 $as_echo_n "(cached) " >&6
71274 else
71275 ac_check_lib_save_LIBS=$LIBS
71276 LIBS="-lm $LIBS"
71277 if test x$gcc_no_link = xyes; then
71278 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71279 fi
71280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71281 /* end confdefs.h. */
71282
71283 /* Override any GCC internal prototype to avoid an error.
71284 Use char because int might match the return type of a GCC
71285 builtin and then its argument prototype would still apply. */
71286 #ifdef __cplusplus
71287 extern "C"
71288 #endif
71289 char sin ();
71290 int
71291 main ()
71292 {
71293 return sin ();
71294 ;
71295 return 0;
71296 }
71297 _ACEOF
71298 if ac_fn_c_try_link "$LINENO"; then :
71299 ac_cv_lib_m_sin=yes
71300 else
71301 ac_cv_lib_m_sin=no
71302 fi
71303 rm -f core conftest.err conftest.$ac_objext \
71304 conftest$ac_exeext conftest.$ac_ext
71305 LIBS=$ac_check_lib_save_LIBS
71306 fi
71307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71308 $as_echo "$ac_cv_lib_m_sin" >&6; }
71309 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71310 libm="-lm"
71311 fi
71312
71313 ac_save_LIBS="$LIBS"
71314 LIBS="$LIBS $libm"
71315
71316
71317
71318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71319 $as_echo_n "checking for isinf declaration... " >&6; }
71320 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71321 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71322 $as_echo_n "(cached) " >&6
71323 else
71324
71325
71326 ac_ext=cpp
71327 ac_cpp='$CXXCPP $CPPFLAGS'
71328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71331
71332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71333 /* end confdefs.h. */
71334 #include <math.h>
71335 #ifdef HAVE_IEEEFP_H
71336 #include <ieeefp.h>
71337 #endif
71338
71339 int
71340 main ()
71341 {
71342 isinf(0);
71343 ;
71344 return 0;
71345 }
71346 _ACEOF
71347 if ac_fn_cxx_try_compile "$LINENO"; then :
71348 glibcxx_cv_func_isinf_use=yes
71349 else
71350 glibcxx_cv_func_isinf_use=no
71351 fi
71352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71353 ac_ext=c
71354 ac_cpp='$CPP $CPPFLAGS'
71355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71358
71359
71360 fi
71361
71362 fi
71363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71364 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71365
71366 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71367 for ac_func in isinf
71368 do :
71369 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71370 if test "x$ac_cv_func_isinf" = x""yes; then :
71371 cat >>confdefs.h <<_ACEOF
71372 #define HAVE_ISINF 1
71373 _ACEOF
71374
71375 fi
71376 done
71377
71378 else
71379
71380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71381 $as_echo_n "checking for _isinf declaration... " >&6; }
71382 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71383 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71384 $as_echo_n "(cached) " >&6
71385 else
71386
71387
71388 ac_ext=cpp
71389 ac_cpp='$CXXCPP $CPPFLAGS'
71390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71393
71394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71395 /* end confdefs.h. */
71396 #include <math.h>
71397 #ifdef HAVE_IEEEFP_H
71398 #include <ieeefp.h>
71399 #endif
71400
71401 int
71402 main ()
71403 {
71404 _isinf(0);
71405 ;
71406 return 0;
71407 }
71408 _ACEOF
71409 if ac_fn_cxx_try_compile "$LINENO"; then :
71410 glibcxx_cv_func__isinf_use=yes
71411 else
71412 glibcxx_cv_func__isinf_use=no
71413 fi
71414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71415 ac_ext=c
71416 ac_cpp='$CPP $CPPFLAGS'
71417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71420
71421
71422 fi
71423
71424 fi
71425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71426 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71427
71428 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71429 for ac_func in _isinf
71430 do :
71431 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71432 if test "x$ac_cv_func__isinf" = x""yes; then :
71433 cat >>confdefs.h <<_ACEOF
71434 #define HAVE__ISINF 1
71435 _ACEOF
71436
71437 fi
71438 done
71439
71440 fi
71441 fi
71442
71443
71444
71445
71446
71447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71448 $as_echo_n "checking for isnan declaration... " >&6; }
71449 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71450 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71451 $as_echo_n "(cached) " >&6
71452 else
71453
71454
71455 ac_ext=cpp
71456 ac_cpp='$CXXCPP $CPPFLAGS'
71457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71460
71461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71462 /* end confdefs.h. */
71463 #include <math.h>
71464 #ifdef HAVE_IEEEFP_H
71465 #include <ieeefp.h>
71466 #endif
71467
71468 int
71469 main ()
71470 {
71471 isnan(0);
71472 ;
71473 return 0;
71474 }
71475 _ACEOF
71476 if ac_fn_cxx_try_compile "$LINENO"; then :
71477 glibcxx_cv_func_isnan_use=yes
71478 else
71479 glibcxx_cv_func_isnan_use=no
71480 fi
71481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71482 ac_ext=c
71483 ac_cpp='$CPP $CPPFLAGS'
71484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71487
71488
71489 fi
71490
71491 fi
71492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71493 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71494
71495 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71496 for ac_func in isnan
71497 do :
71498 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71499 if test "x$ac_cv_func_isnan" = x""yes; then :
71500 cat >>confdefs.h <<_ACEOF
71501 #define HAVE_ISNAN 1
71502 _ACEOF
71503
71504 fi
71505 done
71506
71507 else
71508
71509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71510 $as_echo_n "checking for _isnan declaration... " >&6; }
71511 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71512 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71513 $as_echo_n "(cached) " >&6
71514 else
71515
71516
71517 ac_ext=cpp
71518 ac_cpp='$CXXCPP $CPPFLAGS'
71519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71522
71523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71524 /* end confdefs.h. */
71525 #include <math.h>
71526 #ifdef HAVE_IEEEFP_H
71527 #include <ieeefp.h>
71528 #endif
71529
71530 int
71531 main ()
71532 {
71533 _isnan(0);
71534 ;
71535 return 0;
71536 }
71537 _ACEOF
71538 if ac_fn_cxx_try_compile "$LINENO"; then :
71539 glibcxx_cv_func__isnan_use=yes
71540 else
71541 glibcxx_cv_func__isnan_use=no
71542 fi
71543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71544 ac_ext=c
71545 ac_cpp='$CPP $CPPFLAGS'
71546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71549
71550
71551 fi
71552
71553 fi
71554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71555 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71556
71557 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71558 for ac_func in _isnan
71559 do :
71560 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71561 if test "x$ac_cv_func__isnan" = x""yes; then :
71562 cat >>confdefs.h <<_ACEOF
71563 #define HAVE__ISNAN 1
71564 _ACEOF
71565
71566 fi
71567 done
71568
71569 fi
71570 fi
71571
71572
71573
71574
71575
71576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71577 $as_echo_n "checking for finite declaration... " >&6; }
71578 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71579 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71580 $as_echo_n "(cached) " >&6
71581 else
71582
71583
71584 ac_ext=cpp
71585 ac_cpp='$CXXCPP $CPPFLAGS'
71586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71589
71590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71591 /* end confdefs.h. */
71592 #include <math.h>
71593 #ifdef HAVE_IEEEFP_H
71594 #include <ieeefp.h>
71595 #endif
71596
71597 int
71598 main ()
71599 {
71600 finite(0);
71601 ;
71602 return 0;
71603 }
71604 _ACEOF
71605 if ac_fn_cxx_try_compile "$LINENO"; then :
71606 glibcxx_cv_func_finite_use=yes
71607 else
71608 glibcxx_cv_func_finite_use=no
71609 fi
71610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71611 ac_ext=c
71612 ac_cpp='$CPP $CPPFLAGS'
71613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71616
71617
71618 fi
71619
71620 fi
71621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71622 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71623
71624 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71625 for ac_func in finite
71626 do :
71627 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71628 if test "x$ac_cv_func_finite" = x""yes; then :
71629 cat >>confdefs.h <<_ACEOF
71630 #define HAVE_FINITE 1
71631 _ACEOF
71632
71633 fi
71634 done
71635
71636 else
71637
71638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71639 $as_echo_n "checking for _finite declaration... " >&6; }
71640 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71641 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71642 $as_echo_n "(cached) " >&6
71643 else
71644
71645
71646 ac_ext=cpp
71647 ac_cpp='$CXXCPP $CPPFLAGS'
71648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71651
71652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71653 /* end confdefs.h. */
71654 #include <math.h>
71655 #ifdef HAVE_IEEEFP_H
71656 #include <ieeefp.h>
71657 #endif
71658
71659 int
71660 main ()
71661 {
71662 _finite(0);
71663 ;
71664 return 0;
71665 }
71666 _ACEOF
71667 if ac_fn_cxx_try_compile "$LINENO"; then :
71668 glibcxx_cv_func__finite_use=yes
71669 else
71670 glibcxx_cv_func__finite_use=no
71671 fi
71672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71673 ac_ext=c
71674 ac_cpp='$CPP $CPPFLAGS'
71675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71678
71679
71680 fi
71681
71682 fi
71683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71684 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71685
71686 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71687 for ac_func in _finite
71688 do :
71689 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71690 if test "x$ac_cv_func__finite" = x""yes; then :
71691 cat >>confdefs.h <<_ACEOF
71692 #define HAVE__FINITE 1
71693 _ACEOF
71694
71695 fi
71696 done
71697
71698 fi
71699 fi
71700
71701
71702
71703
71704
71705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71706 $as_echo_n "checking for sincos declaration... " >&6; }
71707 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71708 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71709 $as_echo_n "(cached) " >&6
71710 else
71711
71712
71713 ac_ext=cpp
71714 ac_cpp='$CXXCPP $CPPFLAGS'
71715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71718
71719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71720 /* end confdefs.h. */
71721 #include <math.h>
71722 int
71723 main ()
71724 {
71725 sincos(0, 0, 0);
71726 ;
71727 return 0;
71728 }
71729 _ACEOF
71730 if ac_fn_cxx_try_compile "$LINENO"; then :
71731 glibcxx_cv_func_sincos_use=yes
71732 else
71733 glibcxx_cv_func_sincos_use=no
71734 fi
71735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71736 ac_ext=c
71737 ac_cpp='$CPP $CPPFLAGS'
71738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71741
71742
71743 fi
71744
71745 fi
71746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71747 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71748
71749 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71750 for ac_func in sincos
71751 do :
71752 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71753 if test "x$ac_cv_func_sincos" = x""yes; then :
71754 cat >>confdefs.h <<_ACEOF
71755 #define HAVE_SINCOS 1
71756 _ACEOF
71757
71758 fi
71759 done
71760
71761 else
71762
71763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71764 $as_echo_n "checking for _sincos declaration... " >&6; }
71765 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71766 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71767 $as_echo_n "(cached) " >&6
71768 else
71769
71770
71771 ac_ext=cpp
71772 ac_cpp='$CXXCPP $CPPFLAGS'
71773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71776
71777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71778 /* end confdefs.h. */
71779 #include <math.h>
71780 int
71781 main ()
71782 {
71783 _sincos(0, 0, 0);
71784 ;
71785 return 0;
71786 }
71787 _ACEOF
71788 if ac_fn_cxx_try_compile "$LINENO"; then :
71789 glibcxx_cv_func__sincos_use=yes
71790 else
71791 glibcxx_cv_func__sincos_use=no
71792 fi
71793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71794 ac_ext=c
71795 ac_cpp='$CPP $CPPFLAGS'
71796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71799
71800
71801 fi
71802
71803 fi
71804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71805 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71806
71807 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71808 for ac_func in _sincos
71809 do :
71810 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71811 if test "x$ac_cv_func__sincos" = x""yes; then :
71812 cat >>confdefs.h <<_ACEOF
71813 #define HAVE__SINCOS 1
71814 _ACEOF
71815
71816 fi
71817 done
71818
71819 fi
71820 fi
71821
71822
71823
71824
71825
71826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71827 $as_echo_n "checking for fpclass declaration... " >&6; }
71828 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71829 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71830 $as_echo_n "(cached) " >&6
71831 else
71832
71833
71834 ac_ext=cpp
71835 ac_cpp='$CXXCPP $CPPFLAGS'
71836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71839
71840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71841 /* end confdefs.h. */
71842 #include <math.h>
71843 #ifdef HAVE_IEEEFP_H
71844 #include <ieeefp.h>
71845 #endif
71846
71847 int
71848 main ()
71849 {
71850 fpclass(0);
71851 ;
71852 return 0;
71853 }
71854 _ACEOF
71855 if ac_fn_cxx_try_compile "$LINENO"; then :
71856 glibcxx_cv_func_fpclass_use=yes
71857 else
71858 glibcxx_cv_func_fpclass_use=no
71859 fi
71860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71861 ac_ext=c
71862 ac_cpp='$CPP $CPPFLAGS'
71863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71866
71867
71868 fi
71869
71870 fi
71871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71872 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71873
71874 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71875 for ac_func in fpclass
71876 do :
71877 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71878 if test "x$ac_cv_func_fpclass" = x""yes; then :
71879 cat >>confdefs.h <<_ACEOF
71880 #define HAVE_FPCLASS 1
71881 _ACEOF
71882
71883 fi
71884 done
71885
71886 else
71887
71888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71889 $as_echo_n "checking for _fpclass declaration... " >&6; }
71890 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71891 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71892 $as_echo_n "(cached) " >&6
71893 else
71894
71895
71896 ac_ext=cpp
71897 ac_cpp='$CXXCPP $CPPFLAGS'
71898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71901
71902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71903 /* end confdefs.h. */
71904 #include <math.h>
71905 #ifdef HAVE_IEEEFP_H
71906 #include <ieeefp.h>
71907 #endif
71908
71909 int
71910 main ()
71911 {
71912 _fpclass(0);
71913 ;
71914 return 0;
71915 }
71916 _ACEOF
71917 if ac_fn_cxx_try_compile "$LINENO"; then :
71918 glibcxx_cv_func__fpclass_use=yes
71919 else
71920 glibcxx_cv_func__fpclass_use=no
71921 fi
71922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71923 ac_ext=c
71924 ac_cpp='$CPP $CPPFLAGS'
71925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71928
71929
71930 fi
71931
71932 fi
71933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71934 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71935
71936 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71937 for ac_func in _fpclass
71938 do :
71939 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71940 if test "x$ac_cv_func__fpclass" = x""yes; then :
71941 cat >>confdefs.h <<_ACEOF
71942 #define HAVE__FPCLASS 1
71943 _ACEOF
71944
71945 fi
71946 done
71947
71948 fi
71949 fi
71950
71951
71952
71953
71954
71955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71956 $as_echo_n "checking for qfpclass declaration... " >&6; }
71957 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71958 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71959 $as_echo_n "(cached) " >&6
71960 else
71961
71962
71963 ac_ext=cpp
71964 ac_cpp='$CXXCPP $CPPFLAGS'
71965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71968
71969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71970 /* end confdefs.h. */
71971 #include <math.h>
71972 #ifdef HAVE_IEEEFP_H
71973 #include <ieeefp.h>
71974 #endif
71975
71976 int
71977 main ()
71978 {
71979 qfpclass(0);
71980 ;
71981 return 0;
71982 }
71983 _ACEOF
71984 if ac_fn_cxx_try_compile "$LINENO"; then :
71985 glibcxx_cv_func_qfpclass_use=yes
71986 else
71987 glibcxx_cv_func_qfpclass_use=no
71988 fi
71989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71990 ac_ext=c
71991 ac_cpp='$CPP $CPPFLAGS'
71992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71995
71996
71997 fi
71998
71999 fi
72000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72001 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72002
72003 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72004 for ac_func in qfpclass
72005 do :
72006 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72007 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72008 cat >>confdefs.h <<_ACEOF
72009 #define HAVE_QFPCLASS 1
72010 _ACEOF
72011
72012 fi
72013 done
72014
72015 else
72016
72017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72018 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72019 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72020 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72021 $as_echo_n "(cached) " >&6
72022 else
72023
72024
72025 ac_ext=cpp
72026 ac_cpp='$CXXCPP $CPPFLAGS'
72027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72030
72031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72032 /* end confdefs.h. */
72033 #include <math.h>
72034 #ifdef HAVE_IEEEFP_H
72035 #include <ieeefp.h>
72036 #endif
72037
72038 int
72039 main ()
72040 {
72041 _qfpclass(0);
72042 ;
72043 return 0;
72044 }
72045 _ACEOF
72046 if ac_fn_cxx_try_compile "$LINENO"; then :
72047 glibcxx_cv_func__qfpclass_use=yes
72048 else
72049 glibcxx_cv_func__qfpclass_use=no
72050 fi
72051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72052 ac_ext=c
72053 ac_cpp='$CPP $CPPFLAGS'
72054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72057
72058
72059 fi
72060
72061 fi
72062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72063 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72064
72065 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72066 for ac_func in _qfpclass
72067 do :
72068 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72069 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72070 cat >>confdefs.h <<_ACEOF
72071 #define HAVE__QFPCLASS 1
72072 _ACEOF
72073
72074 fi
72075 done
72076
72077 fi
72078 fi
72079
72080
72081
72082
72083
72084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72085 $as_echo_n "checking for hypot declaration... " >&6; }
72086 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72087 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72088 $as_echo_n "(cached) " >&6
72089 else
72090
72091
72092 ac_ext=cpp
72093 ac_cpp='$CXXCPP $CPPFLAGS'
72094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72097
72098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72099 /* end confdefs.h. */
72100 #include <math.h>
72101 int
72102 main ()
72103 {
72104 hypot(0, 0);
72105 ;
72106 return 0;
72107 }
72108 _ACEOF
72109 if ac_fn_cxx_try_compile "$LINENO"; then :
72110 glibcxx_cv_func_hypot_use=yes
72111 else
72112 glibcxx_cv_func_hypot_use=no
72113 fi
72114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72115 ac_ext=c
72116 ac_cpp='$CPP $CPPFLAGS'
72117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72120
72121
72122 fi
72123
72124 fi
72125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72126 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72127
72128 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72129 for ac_func in hypot
72130 do :
72131 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72132 if test "x$ac_cv_func_hypot" = x""yes; then :
72133 cat >>confdefs.h <<_ACEOF
72134 #define HAVE_HYPOT 1
72135 _ACEOF
72136
72137 fi
72138 done
72139
72140 else
72141
72142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72143 $as_echo_n "checking for _hypot declaration... " >&6; }
72144 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72145 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72146 $as_echo_n "(cached) " >&6
72147 else
72148
72149
72150 ac_ext=cpp
72151 ac_cpp='$CXXCPP $CPPFLAGS'
72152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72155
72156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72157 /* end confdefs.h. */
72158 #include <math.h>
72159 int
72160 main ()
72161 {
72162 _hypot(0, 0);
72163 ;
72164 return 0;
72165 }
72166 _ACEOF
72167 if ac_fn_cxx_try_compile "$LINENO"; then :
72168 glibcxx_cv_func__hypot_use=yes
72169 else
72170 glibcxx_cv_func__hypot_use=no
72171 fi
72172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72173 ac_ext=c
72174 ac_cpp='$CPP $CPPFLAGS'
72175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72178
72179
72180 fi
72181
72182 fi
72183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72184 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72185
72186 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72187 for ac_func in _hypot
72188 do :
72189 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72190 if test "x$ac_cv_func__hypot" = x""yes; then :
72191 cat >>confdefs.h <<_ACEOF
72192 #define HAVE__HYPOT 1
72193 _ACEOF
72194
72195 fi
72196 done
72197
72198 fi
72199 fi
72200
72201
72202
72203
72204
72205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72206 $as_echo_n "checking for float trig functions... " >&6; }
72207 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72208 $as_echo_n "(cached) " >&6
72209 else
72210
72211
72212 ac_ext=cpp
72213 ac_cpp='$CXXCPP $CPPFLAGS'
72214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72217
72218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72219 /* end confdefs.h. */
72220 #include <math.h>
72221 int
72222 main ()
72223 {
72224 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72225 ;
72226 return 0;
72227 }
72228 _ACEOF
72229 if ac_fn_cxx_try_compile "$LINENO"; then :
72230 glibcxx_cv_func_float_trig_use=yes
72231 else
72232 glibcxx_cv_func_float_trig_use=no
72233 fi
72234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72235 ac_ext=c
72236 ac_cpp='$CPP $CPPFLAGS'
72237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72240
72241 fi
72242
72243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72244 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72245 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72246 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72247 do :
72248 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72249 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72250 eval as_val=\$$as_ac_var
72251 if test "x$as_val" = x""yes; then :
72252 cat >>confdefs.h <<_ACEOF
72253 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72254 _ACEOF
72255
72256 fi
72257 done
72258
72259 else
72260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72261 $as_echo_n "checking for _float trig functions... " >&6; }
72262 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72263 $as_echo_n "(cached) " >&6
72264 else
72265
72266
72267 ac_ext=cpp
72268 ac_cpp='$CXXCPP $CPPFLAGS'
72269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72272
72273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72274 /* end confdefs.h. */
72275 #include <math.h>
72276 int
72277 main ()
72278 {
72279 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72280 ;
72281 return 0;
72282 }
72283 _ACEOF
72284 if ac_fn_cxx_try_compile "$LINENO"; then :
72285 glibcxx_cv_func__float_trig_use=yes
72286 else
72287 glibcxx_cv_func__float_trig_use=no
72288 fi
72289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72290 ac_ext=c
72291 ac_cpp='$CPP $CPPFLAGS'
72292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72295
72296 fi
72297
72298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72299 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72300 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72301 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72302 do :
72303 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72304 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72305 eval as_val=\$$as_ac_var
72306 if test "x$as_val" = x""yes; then :
72307 cat >>confdefs.h <<_ACEOF
72308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72309 _ACEOF
72310
72311 fi
72312 done
72313
72314 fi
72315 fi
72316
72317
72318
72319
72320
72321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72322 $as_echo_n "checking for float round functions... " >&6; }
72323 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72324 $as_echo_n "(cached) " >&6
72325 else
72326
72327
72328 ac_ext=cpp
72329 ac_cpp='$CXXCPP $CPPFLAGS'
72330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72333
72334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72335 /* end confdefs.h. */
72336 #include <math.h>
72337 int
72338 main ()
72339 {
72340 ceilf (0); floorf (0);
72341 ;
72342 return 0;
72343 }
72344 _ACEOF
72345 if ac_fn_cxx_try_compile "$LINENO"; then :
72346 glibcxx_cv_func_float_round_use=yes
72347 else
72348 glibcxx_cv_func_float_round_use=no
72349 fi
72350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72351 ac_ext=c
72352 ac_cpp='$CPP $CPPFLAGS'
72353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72356
72357 fi
72358
72359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72360 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72361 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72362 for ac_func in ceilf floorf
72363 do :
72364 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72365 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72366 eval as_val=\$$as_ac_var
72367 if test "x$as_val" = x""yes; then :
72368 cat >>confdefs.h <<_ACEOF
72369 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72370 _ACEOF
72371
72372 fi
72373 done
72374
72375 else
72376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72377 $as_echo_n "checking for _float round functions... " >&6; }
72378 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72379 $as_echo_n "(cached) " >&6
72380 else
72381
72382
72383 ac_ext=cpp
72384 ac_cpp='$CXXCPP $CPPFLAGS'
72385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72388
72389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72390 /* end confdefs.h. */
72391 #include <math.h>
72392 int
72393 main ()
72394 {
72395 _ceilf (0); _floorf (0);
72396 ;
72397 return 0;
72398 }
72399 _ACEOF
72400 if ac_fn_cxx_try_compile "$LINENO"; then :
72401 glibcxx_cv_func__float_round_use=yes
72402 else
72403 glibcxx_cv_func__float_round_use=no
72404 fi
72405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72406 ac_ext=c
72407 ac_cpp='$CPP $CPPFLAGS'
72408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72411
72412 fi
72413
72414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72415 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72416 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72417 for ac_func in _ceilf _floorf
72418 do :
72419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72421 eval as_val=\$$as_ac_var
72422 if test "x$as_val" = x""yes; then :
72423 cat >>confdefs.h <<_ACEOF
72424 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72425 _ACEOF
72426
72427 fi
72428 done
72429
72430 fi
72431 fi
72432
72433
72434
72435
72436
72437
72438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72439 $as_echo_n "checking for expf declaration... " >&6; }
72440 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72441 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72442 $as_echo_n "(cached) " >&6
72443 else
72444
72445
72446 ac_ext=cpp
72447 ac_cpp='$CXXCPP $CPPFLAGS'
72448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72451
72452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72453 /* end confdefs.h. */
72454 #include <math.h>
72455 #ifdef HAVE_IEEEFP_H
72456 #include <ieeefp.h>
72457 #endif
72458
72459 int
72460 main ()
72461 {
72462 expf(0);
72463 ;
72464 return 0;
72465 }
72466 _ACEOF
72467 if ac_fn_cxx_try_compile "$LINENO"; then :
72468 glibcxx_cv_func_expf_use=yes
72469 else
72470 glibcxx_cv_func_expf_use=no
72471 fi
72472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72473 ac_ext=c
72474 ac_cpp='$CPP $CPPFLAGS'
72475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72478
72479
72480 fi
72481
72482 fi
72483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72484 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72485
72486 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72487 for ac_func in expf
72488 do :
72489 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72490 if test "x$ac_cv_func_expf" = x""yes; then :
72491 cat >>confdefs.h <<_ACEOF
72492 #define HAVE_EXPF 1
72493 _ACEOF
72494
72495 fi
72496 done
72497
72498 else
72499
72500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72501 $as_echo_n "checking for _expf declaration... " >&6; }
72502 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72503 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72504 $as_echo_n "(cached) " >&6
72505 else
72506
72507
72508 ac_ext=cpp
72509 ac_cpp='$CXXCPP $CPPFLAGS'
72510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72513
72514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72515 /* end confdefs.h. */
72516 #include <math.h>
72517 #ifdef HAVE_IEEEFP_H
72518 #include <ieeefp.h>
72519 #endif
72520
72521 int
72522 main ()
72523 {
72524 _expf(0);
72525 ;
72526 return 0;
72527 }
72528 _ACEOF
72529 if ac_fn_cxx_try_compile "$LINENO"; then :
72530 glibcxx_cv_func__expf_use=yes
72531 else
72532 glibcxx_cv_func__expf_use=no
72533 fi
72534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72535 ac_ext=c
72536 ac_cpp='$CPP $CPPFLAGS'
72537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72540
72541
72542 fi
72543
72544 fi
72545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72546 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72547
72548 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72549 for ac_func in _expf
72550 do :
72551 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72552 if test "x$ac_cv_func__expf" = x""yes; then :
72553 cat >>confdefs.h <<_ACEOF
72554 #define HAVE__EXPF 1
72555 _ACEOF
72556
72557 fi
72558 done
72559
72560 fi
72561 fi
72562
72563
72564
72565
72566
72567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72568 $as_echo_n "checking for isnanf declaration... " >&6; }
72569 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72570 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72571 $as_echo_n "(cached) " >&6
72572 else
72573
72574
72575 ac_ext=cpp
72576 ac_cpp='$CXXCPP $CPPFLAGS'
72577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72580
72581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72582 /* end confdefs.h. */
72583 #include <math.h>
72584 #ifdef HAVE_IEEEFP_H
72585 #include <ieeefp.h>
72586 #endif
72587
72588 int
72589 main ()
72590 {
72591 isnanf(0);
72592 ;
72593 return 0;
72594 }
72595 _ACEOF
72596 if ac_fn_cxx_try_compile "$LINENO"; then :
72597 glibcxx_cv_func_isnanf_use=yes
72598 else
72599 glibcxx_cv_func_isnanf_use=no
72600 fi
72601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72602 ac_ext=c
72603 ac_cpp='$CPP $CPPFLAGS'
72604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72607
72608
72609 fi
72610
72611 fi
72612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72613 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72614
72615 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72616 for ac_func in isnanf
72617 do :
72618 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72619 if test "x$ac_cv_func_isnanf" = x""yes; then :
72620 cat >>confdefs.h <<_ACEOF
72621 #define HAVE_ISNANF 1
72622 _ACEOF
72623
72624 fi
72625 done
72626
72627 else
72628
72629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72630 $as_echo_n "checking for _isnanf declaration... " >&6; }
72631 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72632 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72633 $as_echo_n "(cached) " >&6
72634 else
72635
72636
72637 ac_ext=cpp
72638 ac_cpp='$CXXCPP $CPPFLAGS'
72639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72642
72643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72644 /* end confdefs.h. */
72645 #include <math.h>
72646 #ifdef HAVE_IEEEFP_H
72647 #include <ieeefp.h>
72648 #endif
72649
72650 int
72651 main ()
72652 {
72653 _isnanf(0);
72654 ;
72655 return 0;
72656 }
72657 _ACEOF
72658 if ac_fn_cxx_try_compile "$LINENO"; then :
72659 glibcxx_cv_func__isnanf_use=yes
72660 else
72661 glibcxx_cv_func__isnanf_use=no
72662 fi
72663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72664 ac_ext=c
72665 ac_cpp='$CPP $CPPFLAGS'
72666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72669
72670
72671 fi
72672
72673 fi
72674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72675 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72676
72677 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72678 for ac_func in _isnanf
72679 do :
72680 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72681 if test "x$ac_cv_func__isnanf" = x""yes; then :
72682 cat >>confdefs.h <<_ACEOF
72683 #define HAVE__ISNANF 1
72684 _ACEOF
72685
72686 fi
72687 done
72688
72689 fi
72690 fi
72691
72692
72693
72694
72695
72696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72697 $as_echo_n "checking for isinff declaration... " >&6; }
72698 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72699 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72700 $as_echo_n "(cached) " >&6
72701 else
72702
72703
72704 ac_ext=cpp
72705 ac_cpp='$CXXCPP $CPPFLAGS'
72706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72709
72710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72711 /* end confdefs.h. */
72712 #include <math.h>
72713 #ifdef HAVE_IEEEFP_H
72714 #include <ieeefp.h>
72715 #endif
72716
72717 int
72718 main ()
72719 {
72720 isinff(0);
72721 ;
72722 return 0;
72723 }
72724 _ACEOF
72725 if ac_fn_cxx_try_compile "$LINENO"; then :
72726 glibcxx_cv_func_isinff_use=yes
72727 else
72728 glibcxx_cv_func_isinff_use=no
72729 fi
72730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72731 ac_ext=c
72732 ac_cpp='$CPP $CPPFLAGS'
72733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72736
72737
72738 fi
72739
72740 fi
72741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72742 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72743
72744 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72745 for ac_func in isinff
72746 do :
72747 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72748 if test "x$ac_cv_func_isinff" = x""yes; then :
72749 cat >>confdefs.h <<_ACEOF
72750 #define HAVE_ISINFF 1
72751 _ACEOF
72752
72753 fi
72754 done
72755
72756 else
72757
72758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72759 $as_echo_n "checking for _isinff declaration... " >&6; }
72760 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72761 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72762 $as_echo_n "(cached) " >&6
72763 else
72764
72765
72766 ac_ext=cpp
72767 ac_cpp='$CXXCPP $CPPFLAGS'
72768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72771
72772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72773 /* end confdefs.h. */
72774 #include <math.h>
72775 #ifdef HAVE_IEEEFP_H
72776 #include <ieeefp.h>
72777 #endif
72778
72779 int
72780 main ()
72781 {
72782 _isinff(0);
72783 ;
72784 return 0;
72785 }
72786 _ACEOF
72787 if ac_fn_cxx_try_compile "$LINENO"; then :
72788 glibcxx_cv_func__isinff_use=yes
72789 else
72790 glibcxx_cv_func__isinff_use=no
72791 fi
72792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72793 ac_ext=c
72794 ac_cpp='$CPP $CPPFLAGS'
72795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72798
72799
72800 fi
72801
72802 fi
72803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72804 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72805
72806 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72807 for ac_func in _isinff
72808 do :
72809 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72810 if test "x$ac_cv_func__isinff" = x""yes; then :
72811 cat >>confdefs.h <<_ACEOF
72812 #define HAVE__ISINFF 1
72813 _ACEOF
72814
72815 fi
72816 done
72817
72818 fi
72819 fi
72820
72821
72822
72823
72824
72825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72826 $as_echo_n "checking for atan2f declaration... " >&6; }
72827 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72828 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72829 $as_echo_n "(cached) " >&6
72830 else
72831
72832
72833 ac_ext=cpp
72834 ac_cpp='$CXXCPP $CPPFLAGS'
72835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72838
72839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72840 /* end confdefs.h. */
72841 #include <math.h>
72842 int
72843 main ()
72844 {
72845 atan2f(0, 0);
72846 ;
72847 return 0;
72848 }
72849 _ACEOF
72850 if ac_fn_cxx_try_compile "$LINENO"; then :
72851 glibcxx_cv_func_atan2f_use=yes
72852 else
72853 glibcxx_cv_func_atan2f_use=no
72854 fi
72855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72856 ac_ext=c
72857 ac_cpp='$CPP $CPPFLAGS'
72858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72861
72862
72863 fi
72864
72865 fi
72866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72867 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72868
72869 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72870 for ac_func in atan2f
72871 do :
72872 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72873 if test "x$ac_cv_func_atan2f" = x""yes; then :
72874 cat >>confdefs.h <<_ACEOF
72875 #define HAVE_ATAN2F 1
72876 _ACEOF
72877
72878 fi
72879 done
72880
72881 else
72882
72883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72884 $as_echo_n "checking for _atan2f declaration... " >&6; }
72885 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72886 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72887 $as_echo_n "(cached) " >&6
72888 else
72889
72890
72891 ac_ext=cpp
72892 ac_cpp='$CXXCPP $CPPFLAGS'
72893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72896
72897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72898 /* end confdefs.h. */
72899 #include <math.h>
72900 int
72901 main ()
72902 {
72903 _atan2f(0, 0);
72904 ;
72905 return 0;
72906 }
72907 _ACEOF
72908 if ac_fn_cxx_try_compile "$LINENO"; then :
72909 glibcxx_cv_func__atan2f_use=yes
72910 else
72911 glibcxx_cv_func__atan2f_use=no
72912 fi
72913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72914 ac_ext=c
72915 ac_cpp='$CPP $CPPFLAGS'
72916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72919
72920
72921 fi
72922
72923 fi
72924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72925 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72926
72927 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72928 for ac_func in _atan2f
72929 do :
72930 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72931 if test "x$ac_cv_func__atan2f" = x""yes; then :
72932 cat >>confdefs.h <<_ACEOF
72933 #define HAVE__ATAN2F 1
72934 _ACEOF
72935
72936 fi
72937 done
72938
72939 fi
72940 fi
72941
72942
72943
72944
72945
72946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72947 $as_echo_n "checking for fabsf declaration... " >&6; }
72948 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72949 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72950 $as_echo_n "(cached) " >&6
72951 else
72952
72953
72954 ac_ext=cpp
72955 ac_cpp='$CXXCPP $CPPFLAGS'
72956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72959
72960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72961 /* end confdefs.h. */
72962 #include <math.h>
72963 #ifdef HAVE_IEEEFP_H
72964 #include <ieeefp.h>
72965 #endif
72966
72967 int
72968 main ()
72969 {
72970 fabsf(0);
72971 ;
72972 return 0;
72973 }
72974 _ACEOF
72975 if ac_fn_cxx_try_compile "$LINENO"; then :
72976 glibcxx_cv_func_fabsf_use=yes
72977 else
72978 glibcxx_cv_func_fabsf_use=no
72979 fi
72980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72981 ac_ext=c
72982 ac_cpp='$CPP $CPPFLAGS'
72983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72986
72987
72988 fi
72989
72990 fi
72991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
72992 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
72993
72994 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
72995 for ac_func in fabsf
72996 do :
72997 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
72998 if test "x$ac_cv_func_fabsf" = x""yes; then :
72999 cat >>confdefs.h <<_ACEOF
73000 #define HAVE_FABSF 1
73001 _ACEOF
73002
73003 fi
73004 done
73005
73006 else
73007
73008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73009 $as_echo_n "checking for _fabsf declaration... " >&6; }
73010 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73011 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73012 $as_echo_n "(cached) " >&6
73013 else
73014
73015
73016 ac_ext=cpp
73017 ac_cpp='$CXXCPP $CPPFLAGS'
73018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73021
73022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73023 /* end confdefs.h. */
73024 #include <math.h>
73025 #ifdef HAVE_IEEEFP_H
73026 #include <ieeefp.h>
73027 #endif
73028
73029 int
73030 main ()
73031 {
73032 _fabsf(0);
73033 ;
73034 return 0;
73035 }
73036 _ACEOF
73037 if ac_fn_cxx_try_compile "$LINENO"; then :
73038 glibcxx_cv_func__fabsf_use=yes
73039 else
73040 glibcxx_cv_func__fabsf_use=no
73041 fi
73042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73043 ac_ext=c
73044 ac_cpp='$CPP $CPPFLAGS'
73045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73048
73049
73050 fi
73051
73052 fi
73053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73054 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73055
73056 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73057 for ac_func in _fabsf
73058 do :
73059 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73060 if test "x$ac_cv_func__fabsf" = x""yes; then :
73061 cat >>confdefs.h <<_ACEOF
73062 #define HAVE__FABSF 1
73063 _ACEOF
73064
73065 fi
73066 done
73067
73068 fi
73069 fi
73070
73071
73072
73073
73074
73075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73076 $as_echo_n "checking for fmodf declaration... " >&6; }
73077 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73078 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73079 $as_echo_n "(cached) " >&6
73080 else
73081
73082
73083 ac_ext=cpp
73084 ac_cpp='$CXXCPP $CPPFLAGS'
73085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73088
73089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73090 /* end confdefs.h. */
73091 #include <math.h>
73092 int
73093 main ()
73094 {
73095 fmodf(0, 0);
73096 ;
73097 return 0;
73098 }
73099 _ACEOF
73100 if ac_fn_cxx_try_compile "$LINENO"; then :
73101 glibcxx_cv_func_fmodf_use=yes
73102 else
73103 glibcxx_cv_func_fmodf_use=no
73104 fi
73105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73106 ac_ext=c
73107 ac_cpp='$CPP $CPPFLAGS'
73108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73111
73112
73113 fi
73114
73115 fi
73116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73117 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73118
73119 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73120 for ac_func in fmodf
73121 do :
73122 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73123 if test "x$ac_cv_func_fmodf" = x""yes; then :
73124 cat >>confdefs.h <<_ACEOF
73125 #define HAVE_FMODF 1
73126 _ACEOF
73127
73128 fi
73129 done
73130
73131 else
73132
73133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73134 $as_echo_n "checking for _fmodf declaration... " >&6; }
73135 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73136 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73137 $as_echo_n "(cached) " >&6
73138 else
73139
73140
73141 ac_ext=cpp
73142 ac_cpp='$CXXCPP $CPPFLAGS'
73143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73146
73147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73148 /* end confdefs.h. */
73149 #include <math.h>
73150 int
73151 main ()
73152 {
73153 _fmodf(0, 0);
73154 ;
73155 return 0;
73156 }
73157 _ACEOF
73158 if ac_fn_cxx_try_compile "$LINENO"; then :
73159 glibcxx_cv_func__fmodf_use=yes
73160 else
73161 glibcxx_cv_func__fmodf_use=no
73162 fi
73163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73164 ac_ext=c
73165 ac_cpp='$CPP $CPPFLAGS'
73166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73169
73170
73171 fi
73172
73173 fi
73174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73175 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73176
73177 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73178 for ac_func in _fmodf
73179 do :
73180 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73181 if test "x$ac_cv_func__fmodf" = x""yes; then :
73182 cat >>confdefs.h <<_ACEOF
73183 #define HAVE__FMODF 1
73184 _ACEOF
73185
73186 fi
73187 done
73188
73189 fi
73190 fi
73191
73192
73193
73194
73195
73196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73197 $as_echo_n "checking for frexpf declaration... " >&6; }
73198 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73199 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73200 $as_echo_n "(cached) " >&6
73201 else
73202
73203
73204 ac_ext=cpp
73205 ac_cpp='$CXXCPP $CPPFLAGS'
73206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73209
73210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73211 /* end confdefs.h. */
73212 #include <math.h>
73213 int
73214 main ()
73215 {
73216 frexpf(0, 0);
73217 ;
73218 return 0;
73219 }
73220 _ACEOF
73221 if ac_fn_cxx_try_compile "$LINENO"; then :
73222 glibcxx_cv_func_frexpf_use=yes
73223 else
73224 glibcxx_cv_func_frexpf_use=no
73225 fi
73226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73227 ac_ext=c
73228 ac_cpp='$CPP $CPPFLAGS'
73229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73232
73233
73234 fi
73235
73236 fi
73237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73238 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73239
73240 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73241 for ac_func in frexpf
73242 do :
73243 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73244 if test "x$ac_cv_func_frexpf" = x""yes; then :
73245 cat >>confdefs.h <<_ACEOF
73246 #define HAVE_FREXPF 1
73247 _ACEOF
73248
73249 fi
73250 done
73251
73252 else
73253
73254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73255 $as_echo_n "checking for _frexpf declaration... " >&6; }
73256 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73257 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73258 $as_echo_n "(cached) " >&6
73259 else
73260
73261
73262 ac_ext=cpp
73263 ac_cpp='$CXXCPP $CPPFLAGS'
73264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73267
73268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73269 /* end confdefs.h. */
73270 #include <math.h>
73271 int
73272 main ()
73273 {
73274 _frexpf(0, 0);
73275 ;
73276 return 0;
73277 }
73278 _ACEOF
73279 if ac_fn_cxx_try_compile "$LINENO"; then :
73280 glibcxx_cv_func__frexpf_use=yes
73281 else
73282 glibcxx_cv_func__frexpf_use=no
73283 fi
73284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73285 ac_ext=c
73286 ac_cpp='$CPP $CPPFLAGS'
73287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73290
73291
73292 fi
73293
73294 fi
73295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73296 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73297
73298 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73299 for ac_func in _frexpf
73300 do :
73301 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73302 if test "x$ac_cv_func__frexpf" = x""yes; then :
73303 cat >>confdefs.h <<_ACEOF
73304 #define HAVE__FREXPF 1
73305 _ACEOF
73306
73307 fi
73308 done
73309
73310 fi
73311 fi
73312
73313
73314
73315
73316
73317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73318 $as_echo_n "checking for hypotf declaration... " >&6; }
73319 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73320 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73321 $as_echo_n "(cached) " >&6
73322 else
73323
73324
73325 ac_ext=cpp
73326 ac_cpp='$CXXCPP $CPPFLAGS'
73327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73330
73331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73332 /* end confdefs.h. */
73333 #include <math.h>
73334 int
73335 main ()
73336 {
73337 hypotf(0, 0);
73338 ;
73339 return 0;
73340 }
73341 _ACEOF
73342 if ac_fn_cxx_try_compile "$LINENO"; then :
73343 glibcxx_cv_func_hypotf_use=yes
73344 else
73345 glibcxx_cv_func_hypotf_use=no
73346 fi
73347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73348 ac_ext=c
73349 ac_cpp='$CPP $CPPFLAGS'
73350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73353
73354
73355 fi
73356
73357 fi
73358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73359 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73360
73361 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73362 for ac_func in hypotf
73363 do :
73364 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73365 if test "x$ac_cv_func_hypotf" = x""yes; then :
73366 cat >>confdefs.h <<_ACEOF
73367 #define HAVE_HYPOTF 1
73368 _ACEOF
73369
73370 fi
73371 done
73372
73373 else
73374
73375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73376 $as_echo_n "checking for _hypotf declaration... " >&6; }
73377 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73378 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73379 $as_echo_n "(cached) " >&6
73380 else
73381
73382
73383 ac_ext=cpp
73384 ac_cpp='$CXXCPP $CPPFLAGS'
73385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73388
73389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73390 /* end confdefs.h. */
73391 #include <math.h>
73392 int
73393 main ()
73394 {
73395 _hypotf(0, 0);
73396 ;
73397 return 0;
73398 }
73399 _ACEOF
73400 if ac_fn_cxx_try_compile "$LINENO"; then :
73401 glibcxx_cv_func__hypotf_use=yes
73402 else
73403 glibcxx_cv_func__hypotf_use=no
73404 fi
73405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73406 ac_ext=c
73407 ac_cpp='$CPP $CPPFLAGS'
73408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73411
73412
73413 fi
73414
73415 fi
73416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73417 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73418
73419 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73420 for ac_func in _hypotf
73421 do :
73422 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73423 if test "x$ac_cv_func__hypotf" = x""yes; then :
73424 cat >>confdefs.h <<_ACEOF
73425 #define HAVE__HYPOTF 1
73426 _ACEOF
73427
73428 fi
73429 done
73430
73431 fi
73432 fi
73433
73434
73435
73436
73437
73438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73439 $as_echo_n "checking for ldexpf declaration... " >&6; }
73440 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73441 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73442 $as_echo_n "(cached) " >&6
73443 else
73444
73445
73446 ac_ext=cpp
73447 ac_cpp='$CXXCPP $CPPFLAGS'
73448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73451
73452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73453 /* end confdefs.h. */
73454 #include <math.h>
73455 int
73456 main ()
73457 {
73458 ldexpf(0, 0);
73459 ;
73460 return 0;
73461 }
73462 _ACEOF
73463 if ac_fn_cxx_try_compile "$LINENO"; then :
73464 glibcxx_cv_func_ldexpf_use=yes
73465 else
73466 glibcxx_cv_func_ldexpf_use=no
73467 fi
73468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73469 ac_ext=c
73470 ac_cpp='$CPP $CPPFLAGS'
73471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73474
73475
73476 fi
73477
73478 fi
73479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73480 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73481
73482 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73483 for ac_func in ldexpf
73484 do :
73485 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73486 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73487 cat >>confdefs.h <<_ACEOF
73488 #define HAVE_LDEXPF 1
73489 _ACEOF
73490
73491 fi
73492 done
73493
73494 else
73495
73496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73497 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73498 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73499 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73500 $as_echo_n "(cached) " >&6
73501 else
73502
73503
73504 ac_ext=cpp
73505 ac_cpp='$CXXCPP $CPPFLAGS'
73506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73509
73510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73511 /* end confdefs.h. */
73512 #include <math.h>
73513 int
73514 main ()
73515 {
73516 _ldexpf(0, 0);
73517 ;
73518 return 0;
73519 }
73520 _ACEOF
73521 if ac_fn_cxx_try_compile "$LINENO"; then :
73522 glibcxx_cv_func__ldexpf_use=yes
73523 else
73524 glibcxx_cv_func__ldexpf_use=no
73525 fi
73526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73527 ac_ext=c
73528 ac_cpp='$CPP $CPPFLAGS'
73529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73532
73533
73534 fi
73535
73536 fi
73537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73538 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73539
73540 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73541 for ac_func in _ldexpf
73542 do :
73543 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73544 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73545 cat >>confdefs.h <<_ACEOF
73546 #define HAVE__LDEXPF 1
73547 _ACEOF
73548
73549 fi
73550 done
73551
73552 fi
73553 fi
73554
73555
73556
73557
73558
73559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73560 $as_echo_n "checking for logf declaration... " >&6; }
73561 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73562 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73563 $as_echo_n "(cached) " >&6
73564 else
73565
73566
73567 ac_ext=cpp
73568 ac_cpp='$CXXCPP $CPPFLAGS'
73569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73572
73573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73574 /* end confdefs.h. */
73575 #include <math.h>
73576 #ifdef HAVE_IEEEFP_H
73577 #include <ieeefp.h>
73578 #endif
73579
73580 int
73581 main ()
73582 {
73583 logf(0);
73584 ;
73585 return 0;
73586 }
73587 _ACEOF
73588 if ac_fn_cxx_try_compile "$LINENO"; then :
73589 glibcxx_cv_func_logf_use=yes
73590 else
73591 glibcxx_cv_func_logf_use=no
73592 fi
73593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73594 ac_ext=c
73595 ac_cpp='$CPP $CPPFLAGS'
73596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73599
73600
73601 fi
73602
73603 fi
73604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73605 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73606
73607 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73608 for ac_func in logf
73609 do :
73610 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73611 if test "x$ac_cv_func_logf" = x""yes; then :
73612 cat >>confdefs.h <<_ACEOF
73613 #define HAVE_LOGF 1
73614 _ACEOF
73615
73616 fi
73617 done
73618
73619 else
73620
73621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73622 $as_echo_n "checking for _logf declaration... " >&6; }
73623 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73624 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73625 $as_echo_n "(cached) " >&6
73626 else
73627
73628
73629 ac_ext=cpp
73630 ac_cpp='$CXXCPP $CPPFLAGS'
73631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73634
73635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73636 /* end confdefs.h. */
73637 #include <math.h>
73638 #ifdef HAVE_IEEEFP_H
73639 #include <ieeefp.h>
73640 #endif
73641
73642 int
73643 main ()
73644 {
73645 _logf(0);
73646 ;
73647 return 0;
73648 }
73649 _ACEOF
73650 if ac_fn_cxx_try_compile "$LINENO"; then :
73651 glibcxx_cv_func__logf_use=yes
73652 else
73653 glibcxx_cv_func__logf_use=no
73654 fi
73655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73656 ac_ext=c
73657 ac_cpp='$CPP $CPPFLAGS'
73658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73661
73662
73663 fi
73664
73665 fi
73666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73667 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73668
73669 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73670 for ac_func in _logf
73671 do :
73672 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73673 if test "x$ac_cv_func__logf" = x""yes; then :
73674 cat >>confdefs.h <<_ACEOF
73675 #define HAVE__LOGF 1
73676 _ACEOF
73677
73678 fi
73679 done
73680
73681 fi
73682 fi
73683
73684
73685
73686
73687
73688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73689 $as_echo_n "checking for log10f declaration... " >&6; }
73690 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73691 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73692 $as_echo_n "(cached) " >&6
73693 else
73694
73695
73696 ac_ext=cpp
73697 ac_cpp='$CXXCPP $CPPFLAGS'
73698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73701
73702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73703 /* end confdefs.h. */
73704 #include <math.h>
73705 #ifdef HAVE_IEEEFP_H
73706 #include <ieeefp.h>
73707 #endif
73708
73709 int
73710 main ()
73711 {
73712 log10f(0);
73713 ;
73714 return 0;
73715 }
73716 _ACEOF
73717 if ac_fn_cxx_try_compile "$LINENO"; then :
73718 glibcxx_cv_func_log10f_use=yes
73719 else
73720 glibcxx_cv_func_log10f_use=no
73721 fi
73722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73723 ac_ext=c
73724 ac_cpp='$CPP $CPPFLAGS'
73725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73728
73729
73730 fi
73731
73732 fi
73733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73734 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73735
73736 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73737 for ac_func in log10f
73738 do :
73739 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73740 if test "x$ac_cv_func_log10f" = x""yes; then :
73741 cat >>confdefs.h <<_ACEOF
73742 #define HAVE_LOG10F 1
73743 _ACEOF
73744
73745 fi
73746 done
73747
73748 else
73749
73750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73751 $as_echo_n "checking for _log10f declaration... " >&6; }
73752 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73753 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73754 $as_echo_n "(cached) " >&6
73755 else
73756
73757
73758 ac_ext=cpp
73759 ac_cpp='$CXXCPP $CPPFLAGS'
73760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73763
73764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73765 /* end confdefs.h. */
73766 #include <math.h>
73767 #ifdef HAVE_IEEEFP_H
73768 #include <ieeefp.h>
73769 #endif
73770
73771 int
73772 main ()
73773 {
73774 _log10f(0);
73775 ;
73776 return 0;
73777 }
73778 _ACEOF
73779 if ac_fn_cxx_try_compile "$LINENO"; then :
73780 glibcxx_cv_func__log10f_use=yes
73781 else
73782 glibcxx_cv_func__log10f_use=no
73783 fi
73784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73785 ac_ext=c
73786 ac_cpp='$CPP $CPPFLAGS'
73787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73790
73791
73792 fi
73793
73794 fi
73795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73796 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73797
73798 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73799 for ac_func in _log10f
73800 do :
73801 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73802 if test "x$ac_cv_func__log10f" = x""yes; then :
73803 cat >>confdefs.h <<_ACEOF
73804 #define HAVE__LOG10F 1
73805 _ACEOF
73806
73807 fi
73808 done
73809
73810 fi
73811 fi
73812
73813
73814
73815
73816
73817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73818 $as_echo_n "checking for modff declaration... " >&6; }
73819 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73820 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73821 $as_echo_n "(cached) " >&6
73822 else
73823
73824
73825 ac_ext=cpp
73826 ac_cpp='$CXXCPP $CPPFLAGS'
73827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73830
73831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73832 /* end confdefs.h. */
73833 #include <math.h>
73834 int
73835 main ()
73836 {
73837 modff(0, 0);
73838 ;
73839 return 0;
73840 }
73841 _ACEOF
73842 if ac_fn_cxx_try_compile "$LINENO"; then :
73843 glibcxx_cv_func_modff_use=yes
73844 else
73845 glibcxx_cv_func_modff_use=no
73846 fi
73847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73848 ac_ext=c
73849 ac_cpp='$CPP $CPPFLAGS'
73850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73853
73854
73855 fi
73856
73857 fi
73858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73859 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73860
73861 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73862 for ac_func in modff
73863 do :
73864 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73865 if test "x$ac_cv_func_modff" = x""yes; then :
73866 cat >>confdefs.h <<_ACEOF
73867 #define HAVE_MODFF 1
73868 _ACEOF
73869
73870 fi
73871 done
73872
73873 else
73874
73875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73876 $as_echo_n "checking for _modff declaration... " >&6; }
73877 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73878 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73879 $as_echo_n "(cached) " >&6
73880 else
73881
73882
73883 ac_ext=cpp
73884 ac_cpp='$CXXCPP $CPPFLAGS'
73885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73888
73889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73890 /* end confdefs.h. */
73891 #include <math.h>
73892 int
73893 main ()
73894 {
73895 _modff(0, 0);
73896 ;
73897 return 0;
73898 }
73899 _ACEOF
73900 if ac_fn_cxx_try_compile "$LINENO"; then :
73901 glibcxx_cv_func__modff_use=yes
73902 else
73903 glibcxx_cv_func__modff_use=no
73904 fi
73905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73906 ac_ext=c
73907 ac_cpp='$CPP $CPPFLAGS'
73908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73911
73912
73913 fi
73914
73915 fi
73916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73917 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73918
73919 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73920 for ac_func in _modff
73921 do :
73922 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73923 if test "x$ac_cv_func__modff" = x""yes; then :
73924 cat >>confdefs.h <<_ACEOF
73925 #define HAVE__MODFF 1
73926 _ACEOF
73927
73928 fi
73929 done
73930
73931 fi
73932 fi
73933
73934
73935
73936
73937
73938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73939 $as_echo_n "checking for modf declaration... " >&6; }
73940 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73941 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73942 $as_echo_n "(cached) " >&6
73943 else
73944
73945
73946 ac_ext=cpp
73947 ac_cpp='$CXXCPP $CPPFLAGS'
73948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73951
73952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73953 /* end confdefs.h. */
73954 #include <math.h>
73955 int
73956 main ()
73957 {
73958 modf(0, 0);
73959 ;
73960 return 0;
73961 }
73962 _ACEOF
73963 if ac_fn_cxx_try_compile "$LINENO"; then :
73964 glibcxx_cv_func_modf_use=yes
73965 else
73966 glibcxx_cv_func_modf_use=no
73967 fi
73968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73969 ac_ext=c
73970 ac_cpp='$CPP $CPPFLAGS'
73971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73974
73975
73976 fi
73977
73978 fi
73979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73980 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73981
73982 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73983 for ac_func in modf
73984 do :
73985 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73986 if test "x$ac_cv_func_modf" = x""yes; then :
73987 cat >>confdefs.h <<_ACEOF
73988 #define HAVE_MODF 1
73989 _ACEOF
73990
73991 fi
73992 done
73993
73994 else
73995
73996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
73997 $as_echo_n "checking for _modf declaration... " >&6; }
73998 if test x${glibcxx_cv_func__modf_use+set} != xset; then
73999 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74000 $as_echo_n "(cached) " >&6
74001 else
74002
74003
74004 ac_ext=cpp
74005 ac_cpp='$CXXCPP $CPPFLAGS'
74006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74009
74010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74011 /* end confdefs.h. */
74012 #include <math.h>
74013 int
74014 main ()
74015 {
74016 _modf(0, 0);
74017 ;
74018 return 0;
74019 }
74020 _ACEOF
74021 if ac_fn_cxx_try_compile "$LINENO"; then :
74022 glibcxx_cv_func__modf_use=yes
74023 else
74024 glibcxx_cv_func__modf_use=no
74025 fi
74026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74027 ac_ext=c
74028 ac_cpp='$CPP $CPPFLAGS'
74029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74032
74033
74034 fi
74035
74036 fi
74037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74038 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74039
74040 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74041 for ac_func in _modf
74042 do :
74043 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74044 if test "x$ac_cv_func__modf" = x""yes; then :
74045 cat >>confdefs.h <<_ACEOF
74046 #define HAVE__MODF 1
74047 _ACEOF
74048
74049 fi
74050 done
74051
74052 fi
74053 fi
74054
74055
74056
74057
74058
74059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74060 $as_echo_n "checking for powf declaration... " >&6; }
74061 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74062 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74063 $as_echo_n "(cached) " >&6
74064 else
74065
74066
74067 ac_ext=cpp
74068 ac_cpp='$CXXCPP $CPPFLAGS'
74069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74072
74073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74074 /* end confdefs.h. */
74075 #include <math.h>
74076 int
74077 main ()
74078 {
74079 powf(0, 0);
74080 ;
74081 return 0;
74082 }
74083 _ACEOF
74084 if ac_fn_cxx_try_compile "$LINENO"; then :
74085 glibcxx_cv_func_powf_use=yes
74086 else
74087 glibcxx_cv_func_powf_use=no
74088 fi
74089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74090 ac_ext=c
74091 ac_cpp='$CPP $CPPFLAGS'
74092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74095
74096
74097 fi
74098
74099 fi
74100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74101 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74102
74103 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74104 for ac_func in powf
74105 do :
74106 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74107 if test "x$ac_cv_func_powf" = x""yes; then :
74108 cat >>confdefs.h <<_ACEOF
74109 #define HAVE_POWF 1
74110 _ACEOF
74111
74112 fi
74113 done
74114
74115 else
74116
74117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74118 $as_echo_n "checking for _powf declaration... " >&6; }
74119 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74120 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74121 $as_echo_n "(cached) " >&6
74122 else
74123
74124
74125 ac_ext=cpp
74126 ac_cpp='$CXXCPP $CPPFLAGS'
74127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74130
74131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74132 /* end confdefs.h. */
74133 #include <math.h>
74134 int
74135 main ()
74136 {
74137 _powf(0, 0);
74138 ;
74139 return 0;
74140 }
74141 _ACEOF
74142 if ac_fn_cxx_try_compile "$LINENO"; then :
74143 glibcxx_cv_func__powf_use=yes
74144 else
74145 glibcxx_cv_func__powf_use=no
74146 fi
74147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74148 ac_ext=c
74149 ac_cpp='$CPP $CPPFLAGS'
74150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74153
74154
74155 fi
74156
74157 fi
74158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74159 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74160
74161 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74162 for ac_func in _powf
74163 do :
74164 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74165 if test "x$ac_cv_func__powf" = x""yes; then :
74166 cat >>confdefs.h <<_ACEOF
74167 #define HAVE__POWF 1
74168 _ACEOF
74169
74170 fi
74171 done
74172
74173 fi
74174 fi
74175
74176
74177
74178
74179
74180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74181 $as_echo_n "checking for sqrtf declaration... " >&6; }
74182 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74183 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74184 $as_echo_n "(cached) " >&6
74185 else
74186
74187
74188 ac_ext=cpp
74189 ac_cpp='$CXXCPP $CPPFLAGS'
74190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74193
74194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74195 /* end confdefs.h. */
74196 #include <math.h>
74197 #ifdef HAVE_IEEEFP_H
74198 #include <ieeefp.h>
74199 #endif
74200
74201 int
74202 main ()
74203 {
74204 sqrtf(0);
74205 ;
74206 return 0;
74207 }
74208 _ACEOF
74209 if ac_fn_cxx_try_compile "$LINENO"; then :
74210 glibcxx_cv_func_sqrtf_use=yes
74211 else
74212 glibcxx_cv_func_sqrtf_use=no
74213 fi
74214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74215 ac_ext=c
74216 ac_cpp='$CPP $CPPFLAGS'
74217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74220
74221
74222 fi
74223
74224 fi
74225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74226 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74227
74228 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74229 for ac_func in sqrtf
74230 do :
74231 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74232 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74233 cat >>confdefs.h <<_ACEOF
74234 #define HAVE_SQRTF 1
74235 _ACEOF
74236
74237 fi
74238 done
74239
74240 else
74241
74242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74243 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74244 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74245 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74246 $as_echo_n "(cached) " >&6
74247 else
74248
74249
74250 ac_ext=cpp
74251 ac_cpp='$CXXCPP $CPPFLAGS'
74252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74255
74256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74257 /* end confdefs.h. */
74258 #include <math.h>
74259 #ifdef HAVE_IEEEFP_H
74260 #include <ieeefp.h>
74261 #endif
74262
74263 int
74264 main ()
74265 {
74266 _sqrtf(0);
74267 ;
74268 return 0;
74269 }
74270 _ACEOF
74271 if ac_fn_cxx_try_compile "$LINENO"; then :
74272 glibcxx_cv_func__sqrtf_use=yes
74273 else
74274 glibcxx_cv_func__sqrtf_use=no
74275 fi
74276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74277 ac_ext=c
74278 ac_cpp='$CPP $CPPFLAGS'
74279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74282
74283
74284 fi
74285
74286 fi
74287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74288 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74289
74290 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74291 for ac_func in _sqrtf
74292 do :
74293 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74294 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74295 cat >>confdefs.h <<_ACEOF
74296 #define HAVE__SQRTF 1
74297 _ACEOF
74298
74299 fi
74300 done
74301
74302 fi
74303 fi
74304
74305
74306
74307
74308
74309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74310 $as_echo_n "checking for sincosf declaration... " >&6; }
74311 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74312 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74313 $as_echo_n "(cached) " >&6
74314 else
74315
74316
74317 ac_ext=cpp
74318 ac_cpp='$CXXCPP $CPPFLAGS'
74319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74322
74323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74324 /* end confdefs.h. */
74325 #include <math.h>
74326 int
74327 main ()
74328 {
74329 sincosf(0, 0, 0);
74330 ;
74331 return 0;
74332 }
74333 _ACEOF
74334 if ac_fn_cxx_try_compile "$LINENO"; then :
74335 glibcxx_cv_func_sincosf_use=yes
74336 else
74337 glibcxx_cv_func_sincosf_use=no
74338 fi
74339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74340 ac_ext=c
74341 ac_cpp='$CPP $CPPFLAGS'
74342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74345
74346
74347 fi
74348
74349 fi
74350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74351 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74352
74353 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74354 for ac_func in sincosf
74355 do :
74356 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74357 if test "x$ac_cv_func_sincosf" = x""yes; then :
74358 cat >>confdefs.h <<_ACEOF
74359 #define HAVE_SINCOSF 1
74360 _ACEOF
74361
74362 fi
74363 done
74364
74365 else
74366
74367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74368 $as_echo_n "checking for _sincosf declaration... " >&6; }
74369 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74370 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74371 $as_echo_n "(cached) " >&6
74372 else
74373
74374
74375 ac_ext=cpp
74376 ac_cpp='$CXXCPP $CPPFLAGS'
74377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74380
74381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74382 /* end confdefs.h. */
74383 #include <math.h>
74384 int
74385 main ()
74386 {
74387 _sincosf(0, 0, 0);
74388 ;
74389 return 0;
74390 }
74391 _ACEOF
74392 if ac_fn_cxx_try_compile "$LINENO"; then :
74393 glibcxx_cv_func__sincosf_use=yes
74394 else
74395 glibcxx_cv_func__sincosf_use=no
74396 fi
74397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74398 ac_ext=c
74399 ac_cpp='$CPP $CPPFLAGS'
74400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74403
74404
74405 fi
74406
74407 fi
74408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74409 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74410
74411 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74412 for ac_func in _sincosf
74413 do :
74414 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74415 if test "x$ac_cv_func__sincosf" = x""yes; then :
74416 cat >>confdefs.h <<_ACEOF
74417 #define HAVE__SINCOSF 1
74418 _ACEOF
74419
74420 fi
74421 done
74422
74423 fi
74424 fi
74425
74426
74427
74428
74429
74430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74431 $as_echo_n "checking for finitef declaration... " >&6; }
74432 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74433 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74434 $as_echo_n "(cached) " >&6
74435 else
74436
74437
74438 ac_ext=cpp
74439 ac_cpp='$CXXCPP $CPPFLAGS'
74440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74443
74444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74445 /* end confdefs.h. */
74446 #include <math.h>
74447 #ifdef HAVE_IEEEFP_H
74448 #include <ieeefp.h>
74449 #endif
74450
74451 int
74452 main ()
74453 {
74454 finitef(0);
74455 ;
74456 return 0;
74457 }
74458 _ACEOF
74459 if ac_fn_cxx_try_compile "$LINENO"; then :
74460 glibcxx_cv_func_finitef_use=yes
74461 else
74462 glibcxx_cv_func_finitef_use=no
74463 fi
74464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74465 ac_ext=c
74466 ac_cpp='$CPP $CPPFLAGS'
74467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74470
74471
74472 fi
74473
74474 fi
74475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74476 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74477
74478 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74479 for ac_func in finitef
74480 do :
74481 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74482 if test "x$ac_cv_func_finitef" = x""yes; then :
74483 cat >>confdefs.h <<_ACEOF
74484 #define HAVE_FINITEF 1
74485 _ACEOF
74486
74487 fi
74488 done
74489
74490 else
74491
74492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74493 $as_echo_n "checking for _finitef declaration... " >&6; }
74494 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74495 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74496 $as_echo_n "(cached) " >&6
74497 else
74498
74499
74500 ac_ext=cpp
74501 ac_cpp='$CXXCPP $CPPFLAGS'
74502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74505
74506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74507 /* end confdefs.h. */
74508 #include <math.h>
74509 #ifdef HAVE_IEEEFP_H
74510 #include <ieeefp.h>
74511 #endif
74512
74513 int
74514 main ()
74515 {
74516 _finitef(0);
74517 ;
74518 return 0;
74519 }
74520 _ACEOF
74521 if ac_fn_cxx_try_compile "$LINENO"; then :
74522 glibcxx_cv_func__finitef_use=yes
74523 else
74524 glibcxx_cv_func__finitef_use=no
74525 fi
74526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74527 ac_ext=c
74528 ac_cpp='$CPP $CPPFLAGS'
74529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74532
74533
74534 fi
74535
74536 fi
74537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74538 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74539
74540 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74541 for ac_func in _finitef
74542 do :
74543 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74544 if test "x$ac_cv_func__finitef" = x""yes; then :
74545 cat >>confdefs.h <<_ACEOF
74546 #define HAVE__FINITEF 1
74547 _ACEOF
74548
74549 fi
74550 done
74551
74552 fi
74553 fi
74554
74555
74556
74557
74558
74559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74560 $as_echo_n "checking for long double trig functions... " >&6; }
74561 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74562 $as_echo_n "(cached) " >&6
74563 else
74564
74565
74566 ac_ext=cpp
74567 ac_cpp='$CXXCPP $CPPFLAGS'
74568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74571
74572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74573 /* end confdefs.h. */
74574 #include <math.h>
74575 int
74576 main ()
74577 {
74578 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74579 ;
74580 return 0;
74581 }
74582 _ACEOF
74583 if ac_fn_cxx_try_compile "$LINENO"; then :
74584 glibcxx_cv_func_long_double_trig_use=yes
74585 else
74586 glibcxx_cv_func_long_double_trig_use=no
74587 fi
74588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74589 ac_ext=c
74590 ac_cpp='$CPP $CPPFLAGS'
74591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74594
74595 fi
74596
74597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74598 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74599 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74600 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74601 do :
74602 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74603 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74604 eval as_val=\$$as_ac_var
74605 if test "x$as_val" = x""yes; then :
74606 cat >>confdefs.h <<_ACEOF
74607 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74608 _ACEOF
74609
74610 fi
74611 done
74612
74613 else
74614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74615 $as_echo_n "checking for _long double trig functions... " >&6; }
74616 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74617 $as_echo_n "(cached) " >&6
74618 else
74619
74620
74621 ac_ext=cpp
74622 ac_cpp='$CXXCPP $CPPFLAGS'
74623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74626
74627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74628 /* end confdefs.h. */
74629 #include <math.h>
74630 int
74631 main ()
74632 {
74633 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74634 ;
74635 return 0;
74636 }
74637 _ACEOF
74638 if ac_fn_cxx_try_compile "$LINENO"; then :
74639 glibcxx_cv_func__long_double_trig_use=yes
74640 else
74641 glibcxx_cv_func__long_double_trig_use=no
74642 fi
74643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74644 ac_ext=c
74645 ac_cpp='$CPP $CPPFLAGS'
74646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74649
74650 fi
74651
74652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74653 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74654 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74655 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74656 do :
74657 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74658 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74659 eval as_val=\$$as_ac_var
74660 if test "x$as_val" = x""yes; then :
74661 cat >>confdefs.h <<_ACEOF
74662 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74663 _ACEOF
74664
74665 fi
74666 done
74667
74668 fi
74669 fi
74670
74671
74672
74673
74674
74675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74676 $as_echo_n "checking for long double round functions... " >&6; }
74677 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74678 $as_echo_n "(cached) " >&6
74679 else
74680
74681
74682 ac_ext=cpp
74683 ac_cpp='$CXXCPP $CPPFLAGS'
74684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74687
74688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74689 /* end confdefs.h. */
74690 #include <math.h>
74691 int
74692 main ()
74693 {
74694 ceill (0); floorl (0);
74695 ;
74696 return 0;
74697 }
74698 _ACEOF
74699 if ac_fn_cxx_try_compile "$LINENO"; then :
74700 glibcxx_cv_func_long_double_round_use=yes
74701 else
74702 glibcxx_cv_func_long_double_round_use=no
74703 fi
74704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74705 ac_ext=c
74706 ac_cpp='$CPP $CPPFLAGS'
74707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74710
74711 fi
74712
74713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74714 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74715 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74716 for ac_func in ceill floorl
74717 do :
74718 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74719 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74720 eval as_val=\$$as_ac_var
74721 if test "x$as_val" = x""yes; then :
74722 cat >>confdefs.h <<_ACEOF
74723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74724 _ACEOF
74725
74726 fi
74727 done
74728
74729 else
74730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74731 $as_echo_n "checking for _long double round functions... " >&6; }
74732 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74733 $as_echo_n "(cached) " >&6
74734 else
74735
74736
74737 ac_ext=cpp
74738 ac_cpp='$CXXCPP $CPPFLAGS'
74739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74742
74743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74744 /* end confdefs.h. */
74745 #include <math.h>
74746 int
74747 main ()
74748 {
74749 _ceill (0); _floorl (0);
74750 ;
74751 return 0;
74752 }
74753 _ACEOF
74754 if ac_fn_cxx_try_compile "$LINENO"; then :
74755 glibcxx_cv_func__long_double_round_use=yes
74756 else
74757 glibcxx_cv_func__long_double_round_use=no
74758 fi
74759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74760 ac_ext=c
74761 ac_cpp='$CPP $CPPFLAGS'
74762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74765
74766 fi
74767
74768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74769 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74770 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74771 for ac_func in _ceill _floorl
74772 do :
74773 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74774 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74775 eval as_val=\$$as_ac_var
74776 if test "x$as_val" = x""yes; then :
74777 cat >>confdefs.h <<_ACEOF
74778 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74779 _ACEOF
74780
74781 fi
74782 done
74783
74784 fi
74785 fi
74786
74787
74788
74789
74790
74791
74792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74793 $as_echo_n "checking for isnanl declaration... " >&6; }
74794 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74795 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74796 $as_echo_n "(cached) " >&6
74797 else
74798
74799
74800 ac_ext=cpp
74801 ac_cpp='$CXXCPP $CPPFLAGS'
74802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74805
74806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74807 /* end confdefs.h. */
74808 #include <math.h>
74809 #ifdef HAVE_IEEEFP_H
74810 #include <ieeefp.h>
74811 #endif
74812
74813 int
74814 main ()
74815 {
74816 isnanl(0);
74817 ;
74818 return 0;
74819 }
74820 _ACEOF
74821 if ac_fn_cxx_try_compile "$LINENO"; then :
74822 glibcxx_cv_func_isnanl_use=yes
74823 else
74824 glibcxx_cv_func_isnanl_use=no
74825 fi
74826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74827 ac_ext=c
74828 ac_cpp='$CPP $CPPFLAGS'
74829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74832
74833
74834 fi
74835
74836 fi
74837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74838 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74839
74840 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74841 for ac_func in isnanl
74842 do :
74843 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74844 if test "x$ac_cv_func_isnanl" = x""yes; then :
74845 cat >>confdefs.h <<_ACEOF
74846 #define HAVE_ISNANL 1
74847 _ACEOF
74848
74849 fi
74850 done
74851
74852 else
74853
74854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74855 $as_echo_n "checking for _isnanl declaration... " >&6; }
74856 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74857 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74858 $as_echo_n "(cached) " >&6
74859 else
74860
74861
74862 ac_ext=cpp
74863 ac_cpp='$CXXCPP $CPPFLAGS'
74864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74867
74868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74869 /* end confdefs.h. */
74870 #include <math.h>
74871 #ifdef HAVE_IEEEFP_H
74872 #include <ieeefp.h>
74873 #endif
74874
74875 int
74876 main ()
74877 {
74878 _isnanl(0);
74879 ;
74880 return 0;
74881 }
74882 _ACEOF
74883 if ac_fn_cxx_try_compile "$LINENO"; then :
74884 glibcxx_cv_func__isnanl_use=yes
74885 else
74886 glibcxx_cv_func__isnanl_use=no
74887 fi
74888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74889 ac_ext=c
74890 ac_cpp='$CPP $CPPFLAGS'
74891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74894
74895
74896 fi
74897
74898 fi
74899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74900 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74901
74902 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74903 for ac_func in _isnanl
74904 do :
74905 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74906 if test "x$ac_cv_func__isnanl" = x""yes; then :
74907 cat >>confdefs.h <<_ACEOF
74908 #define HAVE__ISNANL 1
74909 _ACEOF
74910
74911 fi
74912 done
74913
74914 fi
74915 fi
74916
74917
74918
74919
74920
74921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74922 $as_echo_n "checking for isinfl declaration... " >&6; }
74923 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74924 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74925 $as_echo_n "(cached) " >&6
74926 else
74927
74928
74929 ac_ext=cpp
74930 ac_cpp='$CXXCPP $CPPFLAGS'
74931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74934
74935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74936 /* end confdefs.h. */
74937 #include <math.h>
74938 #ifdef HAVE_IEEEFP_H
74939 #include <ieeefp.h>
74940 #endif
74941
74942 int
74943 main ()
74944 {
74945 isinfl(0);
74946 ;
74947 return 0;
74948 }
74949 _ACEOF
74950 if ac_fn_cxx_try_compile "$LINENO"; then :
74951 glibcxx_cv_func_isinfl_use=yes
74952 else
74953 glibcxx_cv_func_isinfl_use=no
74954 fi
74955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74956 ac_ext=c
74957 ac_cpp='$CPP $CPPFLAGS'
74958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74961
74962
74963 fi
74964
74965 fi
74966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74967 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74968
74969 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74970 for ac_func in isinfl
74971 do :
74972 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74973 if test "x$ac_cv_func_isinfl" = x""yes; then :
74974 cat >>confdefs.h <<_ACEOF
74975 #define HAVE_ISINFL 1
74976 _ACEOF
74977
74978 fi
74979 done
74980
74981 else
74982
74983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74984 $as_echo_n "checking for _isinfl declaration... " >&6; }
74985 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74986 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74987 $as_echo_n "(cached) " >&6
74988 else
74989
74990
74991 ac_ext=cpp
74992 ac_cpp='$CXXCPP $CPPFLAGS'
74993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74996
74997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74998 /* end confdefs.h. */
74999 #include <math.h>
75000 #ifdef HAVE_IEEEFP_H
75001 #include <ieeefp.h>
75002 #endif
75003
75004 int
75005 main ()
75006 {
75007 _isinfl(0);
75008 ;
75009 return 0;
75010 }
75011 _ACEOF
75012 if ac_fn_cxx_try_compile "$LINENO"; then :
75013 glibcxx_cv_func__isinfl_use=yes
75014 else
75015 glibcxx_cv_func__isinfl_use=no
75016 fi
75017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75018 ac_ext=c
75019 ac_cpp='$CPP $CPPFLAGS'
75020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75023
75024
75025 fi
75026
75027 fi
75028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75029 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75030
75031 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75032 for ac_func in _isinfl
75033 do :
75034 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75035 if test "x$ac_cv_func__isinfl" = x""yes; then :
75036 cat >>confdefs.h <<_ACEOF
75037 #define HAVE__ISINFL 1
75038 _ACEOF
75039
75040 fi
75041 done
75042
75043 fi
75044 fi
75045
75046
75047
75048
75049
75050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75051 $as_echo_n "checking for atan2l declaration... " >&6; }
75052 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75053 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75054 $as_echo_n "(cached) " >&6
75055 else
75056
75057
75058 ac_ext=cpp
75059 ac_cpp='$CXXCPP $CPPFLAGS'
75060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75063
75064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75065 /* end confdefs.h. */
75066 #include <math.h>
75067 int
75068 main ()
75069 {
75070 atan2l(0, 0);
75071 ;
75072 return 0;
75073 }
75074 _ACEOF
75075 if ac_fn_cxx_try_compile "$LINENO"; then :
75076 glibcxx_cv_func_atan2l_use=yes
75077 else
75078 glibcxx_cv_func_atan2l_use=no
75079 fi
75080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75081 ac_ext=c
75082 ac_cpp='$CPP $CPPFLAGS'
75083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75086
75087
75088 fi
75089
75090 fi
75091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75092 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75093
75094 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75095 for ac_func in atan2l
75096 do :
75097 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75098 if test "x$ac_cv_func_atan2l" = x""yes; then :
75099 cat >>confdefs.h <<_ACEOF
75100 #define HAVE_ATAN2L 1
75101 _ACEOF
75102
75103 fi
75104 done
75105
75106 else
75107
75108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75109 $as_echo_n "checking for _atan2l declaration... " >&6; }
75110 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75111 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75112 $as_echo_n "(cached) " >&6
75113 else
75114
75115
75116 ac_ext=cpp
75117 ac_cpp='$CXXCPP $CPPFLAGS'
75118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75121
75122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75123 /* end confdefs.h. */
75124 #include <math.h>
75125 int
75126 main ()
75127 {
75128 _atan2l(0, 0);
75129 ;
75130 return 0;
75131 }
75132 _ACEOF
75133 if ac_fn_cxx_try_compile "$LINENO"; then :
75134 glibcxx_cv_func__atan2l_use=yes
75135 else
75136 glibcxx_cv_func__atan2l_use=no
75137 fi
75138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75139 ac_ext=c
75140 ac_cpp='$CPP $CPPFLAGS'
75141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75144
75145
75146 fi
75147
75148 fi
75149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75150 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75151
75152 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75153 for ac_func in _atan2l
75154 do :
75155 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75156 if test "x$ac_cv_func__atan2l" = x""yes; then :
75157 cat >>confdefs.h <<_ACEOF
75158 #define HAVE__ATAN2L 1
75159 _ACEOF
75160
75161 fi
75162 done
75163
75164 fi
75165 fi
75166
75167
75168
75169
75170
75171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75172 $as_echo_n "checking for expl declaration... " >&6; }
75173 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75174 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75175 $as_echo_n "(cached) " >&6
75176 else
75177
75178
75179 ac_ext=cpp
75180 ac_cpp='$CXXCPP $CPPFLAGS'
75181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75184
75185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75186 /* end confdefs.h. */
75187 #include <math.h>
75188 #ifdef HAVE_IEEEFP_H
75189 #include <ieeefp.h>
75190 #endif
75191
75192 int
75193 main ()
75194 {
75195 expl(0);
75196 ;
75197 return 0;
75198 }
75199 _ACEOF
75200 if ac_fn_cxx_try_compile "$LINENO"; then :
75201 glibcxx_cv_func_expl_use=yes
75202 else
75203 glibcxx_cv_func_expl_use=no
75204 fi
75205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75206 ac_ext=c
75207 ac_cpp='$CPP $CPPFLAGS'
75208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75211
75212
75213 fi
75214
75215 fi
75216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75217 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75218
75219 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75220 for ac_func in expl
75221 do :
75222 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75223 if test "x$ac_cv_func_expl" = x""yes; then :
75224 cat >>confdefs.h <<_ACEOF
75225 #define HAVE_EXPL 1
75226 _ACEOF
75227
75228 fi
75229 done
75230
75231 else
75232
75233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75234 $as_echo_n "checking for _expl declaration... " >&6; }
75235 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75236 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75237 $as_echo_n "(cached) " >&6
75238 else
75239
75240
75241 ac_ext=cpp
75242 ac_cpp='$CXXCPP $CPPFLAGS'
75243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75246
75247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75248 /* end confdefs.h. */
75249 #include <math.h>
75250 #ifdef HAVE_IEEEFP_H
75251 #include <ieeefp.h>
75252 #endif
75253
75254 int
75255 main ()
75256 {
75257 _expl(0);
75258 ;
75259 return 0;
75260 }
75261 _ACEOF
75262 if ac_fn_cxx_try_compile "$LINENO"; then :
75263 glibcxx_cv_func__expl_use=yes
75264 else
75265 glibcxx_cv_func__expl_use=no
75266 fi
75267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75268 ac_ext=c
75269 ac_cpp='$CPP $CPPFLAGS'
75270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75273
75274
75275 fi
75276
75277 fi
75278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75279 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75280
75281 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75282 for ac_func in _expl
75283 do :
75284 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75285 if test "x$ac_cv_func__expl" = x""yes; then :
75286 cat >>confdefs.h <<_ACEOF
75287 #define HAVE__EXPL 1
75288 _ACEOF
75289
75290 fi
75291 done
75292
75293 fi
75294 fi
75295
75296
75297
75298
75299
75300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75301 $as_echo_n "checking for fabsl declaration... " >&6; }
75302 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75303 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75304 $as_echo_n "(cached) " >&6
75305 else
75306
75307
75308 ac_ext=cpp
75309 ac_cpp='$CXXCPP $CPPFLAGS'
75310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75313
75314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75315 /* end confdefs.h. */
75316 #include <math.h>
75317 #ifdef HAVE_IEEEFP_H
75318 #include <ieeefp.h>
75319 #endif
75320
75321 int
75322 main ()
75323 {
75324 fabsl(0);
75325 ;
75326 return 0;
75327 }
75328 _ACEOF
75329 if ac_fn_cxx_try_compile "$LINENO"; then :
75330 glibcxx_cv_func_fabsl_use=yes
75331 else
75332 glibcxx_cv_func_fabsl_use=no
75333 fi
75334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75335 ac_ext=c
75336 ac_cpp='$CPP $CPPFLAGS'
75337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75340
75341
75342 fi
75343
75344 fi
75345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75346 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75347
75348 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75349 for ac_func in fabsl
75350 do :
75351 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75352 if test "x$ac_cv_func_fabsl" = x""yes; then :
75353 cat >>confdefs.h <<_ACEOF
75354 #define HAVE_FABSL 1
75355 _ACEOF
75356
75357 fi
75358 done
75359
75360 else
75361
75362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75363 $as_echo_n "checking for _fabsl declaration... " >&6; }
75364 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75365 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75366 $as_echo_n "(cached) " >&6
75367 else
75368
75369
75370 ac_ext=cpp
75371 ac_cpp='$CXXCPP $CPPFLAGS'
75372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75375
75376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75377 /* end confdefs.h. */
75378 #include <math.h>
75379 #ifdef HAVE_IEEEFP_H
75380 #include <ieeefp.h>
75381 #endif
75382
75383 int
75384 main ()
75385 {
75386 _fabsl(0);
75387 ;
75388 return 0;
75389 }
75390 _ACEOF
75391 if ac_fn_cxx_try_compile "$LINENO"; then :
75392 glibcxx_cv_func__fabsl_use=yes
75393 else
75394 glibcxx_cv_func__fabsl_use=no
75395 fi
75396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75397 ac_ext=c
75398 ac_cpp='$CPP $CPPFLAGS'
75399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75402
75403
75404 fi
75405
75406 fi
75407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75408 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75409
75410 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75411 for ac_func in _fabsl
75412 do :
75413 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75414 if test "x$ac_cv_func__fabsl" = x""yes; then :
75415 cat >>confdefs.h <<_ACEOF
75416 #define HAVE__FABSL 1
75417 _ACEOF
75418
75419 fi
75420 done
75421
75422 fi
75423 fi
75424
75425
75426
75427
75428
75429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75430 $as_echo_n "checking for fmodl declaration... " >&6; }
75431 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75432 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75433 $as_echo_n "(cached) " >&6
75434 else
75435
75436
75437 ac_ext=cpp
75438 ac_cpp='$CXXCPP $CPPFLAGS'
75439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75442
75443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75444 /* end confdefs.h. */
75445 #include <math.h>
75446 int
75447 main ()
75448 {
75449 fmodl(0, 0);
75450 ;
75451 return 0;
75452 }
75453 _ACEOF
75454 if ac_fn_cxx_try_compile "$LINENO"; then :
75455 glibcxx_cv_func_fmodl_use=yes
75456 else
75457 glibcxx_cv_func_fmodl_use=no
75458 fi
75459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75460 ac_ext=c
75461 ac_cpp='$CPP $CPPFLAGS'
75462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75465
75466
75467 fi
75468
75469 fi
75470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75471 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75472
75473 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75474 for ac_func in fmodl
75475 do :
75476 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75477 if test "x$ac_cv_func_fmodl" = x""yes; then :
75478 cat >>confdefs.h <<_ACEOF
75479 #define HAVE_FMODL 1
75480 _ACEOF
75481
75482 fi
75483 done
75484
75485 else
75486
75487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75488 $as_echo_n "checking for _fmodl declaration... " >&6; }
75489 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75490 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75491 $as_echo_n "(cached) " >&6
75492 else
75493
75494
75495 ac_ext=cpp
75496 ac_cpp='$CXXCPP $CPPFLAGS'
75497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75500
75501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75502 /* end confdefs.h. */
75503 #include <math.h>
75504 int
75505 main ()
75506 {
75507 _fmodl(0, 0);
75508 ;
75509 return 0;
75510 }
75511 _ACEOF
75512 if ac_fn_cxx_try_compile "$LINENO"; then :
75513 glibcxx_cv_func__fmodl_use=yes
75514 else
75515 glibcxx_cv_func__fmodl_use=no
75516 fi
75517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75518 ac_ext=c
75519 ac_cpp='$CPP $CPPFLAGS'
75520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75523
75524
75525 fi
75526
75527 fi
75528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75529 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75530
75531 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75532 for ac_func in _fmodl
75533 do :
75534 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75535 if test "x$ac_cv_func__fmodl" = x""yes; then :
75536 cat >>confdefs.h <<_ACEOF
75537 #define HAVE__FMODL 1
75538 _ACEOF
75539
75540 fi
75541 done
75542
75543 fi
75544 fi
75545
75546
75547
75548
75549
75550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75551 $as_echo_n "checking for frexpl declaration... " >&6; }
75552 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75553 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75554 $as_echo_n "(cached) " >&6
75555 else
75556
75557
75558 ac_ext=cpp
75559 ac_cpp='$CXXCPP $CPPFLAGS'
75560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75563
75564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75565 /* end confdefs.h. */
75566 #include <math.h>
75567 int
75568 main ()
75569 {
75570 frexpl(0, 0);
75571 ;
75572 return 0;
75573 }
75574 _ACEOF
75575 if ac_fn_cxx_try_compile "$LINENO"; then :
75576 glibcxx_cv_func_frexpl_use=yes
75577 else
75578 glibcxx_cv_func_frexpl_use=no
75579 fi
75580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75581 ac_ext=c
75582 ac_cpp='$CPP $CPPFLAGS'
75583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75586
75587
75588 fi
75589
75590 fi
75591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75592 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75593
75594 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75595 for ac_func in frexpl
75596 do :
75597 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75598 if test "x$ac_cv_func_frexpl" = x""yes; then :
75599 cat >>confdefs.h <<_ACEOF
75600 #define HAVE_FREXPL 1
75601 _ACEOF
75602
75603 fi
75604 done
75605
75606 else
75607
75608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75609 $as_echo_n "checking for _frexpl declaration... " >&6; }
75610 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75611 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75612 $as_echo_n "(cached) " >&6
75613 else
75614
75615
75616 ac_ext=cpp
75617 ac_cpp='$CXXCPP $CPPFLAGS'
75618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75621
75622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75623 /* end confdefs.h. */
75624 #include <math.h>
75625 int
75626 main ()
75627 {
75628 _frexpl(0, 0);
75629 ;
75630 return 0;
75631 }
75632 _ACEOF
75633 if ac_fn_cxx_try_compile "$LINENO"; then :
75634 glibcxx_cv_func__frexpl_use=yes
75635 else
75636 glibcxx_cv_func__frexpl_use=no
75637 fi
75638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75639 ac_ext=c
75640 ac_cpp='$CPP $CPPFLAGS'
75641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75644
75645
75646 fi
75647
75648 fi
75649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75650 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75651
75652 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75653 for ac_func in _frexpl
75654 do :
75655 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75656 if test "x$ac_cv_func__frexpl" = x""yes; then :
75657 cat >>confdefs.h <<_ACEOF
75658 #define HAVE__FREXPL 1
75659 _ACEOF
75660
75661 fi
75662 done
75663
75664 fi
75665 fi
75666
75667
75668
75669
75670
75671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75672 $as_echo_n "checking for hypotl declaration... " >&6; }
75673 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75674 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75675 $as_echo_n "(cached) " >&6
75676 else
75677
75678
75679 ac_ext=cpp
75680 ac_cpp='$CXXCPP $CPPFLAGS'
75681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75684
75685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75686 /* end confdefs.h. */
75687 #include <math.h>
75688 int
75689 main ()
75690 {
75691 hypotl(0, 0);
75692 ;
75693 return 0;
75694 }
75695 _ACEOF
75696 if ac_fn_cxx_try_compile "$LINENO"; then :
75697 glibcxx_cv_func_hypotl_use=yes
75698 else
75699 glibcxx_cv_func_hypotl_use=no
75700 fi
75701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75702 ac_ext=c
75703 ac_cpp='$CPP $CPPFLAGS'
75704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75707
75708
75709 fi
75710
75711 fi
75712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75713 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75714
75715 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75716 for ac_func in hypotl
75717 do :
75718 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75719 if test "x$ac_cv_func_hypotl" = x""yes; then :
75720 cat >>confdefs.h <<_ACEOF
75721 #define HAVE_HYPOTL 1
75722 _ACEOF
75723
75724 fi
75725 done
75726
75727 else
75728
75729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75730 $as_echo_n "checking for _hypotl declaration... " >&6; }
75731 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75732 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75733 $as_echo_n "(cached) " >&6
75734 else
75735
75736
75737 ac_ext=cpp
75738 ac_cpp='$CXXCPP $CPPFLAGS'
75739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75742
75743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75744 /* end confdefs.h. */
75745 #include <math.h>
75746 int
75747 main ()
75748 {
75749 _hypotl(0, 0);
75750 ;
75751 return 0;
75752 }
75753 _ACEOF
75754 if ac_fn_cxx_try_compile "$LINENO"; then :
75755 glibcxx_cv_func__hypotl_use=yes
75756 else
75757 glibcxx_cv_func__hypotl_use=no
75758 fi
75759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75760 ac_ext=c
75761 ac_cpp='$CPP $CPPFLAGS'
75762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75765
75766
75767 fi
75768
75769 fi
75770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75771 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75772
75773 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75774 for ac_func in _hypotl
75775 do :
75776 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75777 if test "x$ac_cv_func__hypotl" = x""yes; then :
75778 cat >>confdefs.h <<_ACEOF
75779 #define HAVE__HYPOTL 1
75780 _ACEOF
75781
75782 fi
75783 done
75784
75785 fi
75786 fi
75787
75788
75789
75790
75791
75792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75793 $as_echo_n "checking for ldexpl declaration... " >&6; }
75794 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75795 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75796 $as_echo_n "(cached) " >&6
75797 else
75798
75799
75800 ac_ext=cpp
75801 ac_cpp='$CXXCPP $CPPFLAGS'
75802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75805
75806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75807 /* end confdefs.h. */
75808 #include <math.h>
75809 int
75810 main ()
75811 {
75812 ldexpl(0, 0);
75813 ;
75814 return 0;
75815 }
75816 _ACEOF
75817 if ac_fn_cxx_try_compile "$LINENO"; then :
75818 glibcxx_cv_func_ldexpl_use=yes
75819 else
75820 glibcxx_cv_func_ldexpl_use=no
75821 fi
75822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75823 ac_ext=c
75824 ac_cpp='$CPP $CPPFLAGS'
75825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75828
75829
75830 fi
75831
75832 fi
75833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75834 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75835
75836 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75837 for ac_func in ldexpl
75838 do :
75839 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75840 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75841 cat >>confdefs.h <<_ACEOF
75842 #define HAVE_LDEXPL 1
75843 _ACEOF
75844
75845 fi
75846 done
75847
75848 else
75849
75850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75851 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75852 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75853 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75854 $as_echo_n "(cached) " >&6
75855 else
75856
75857
75858 ac_ext=cpp
75859 ac_cpp='$CXXCPP $CPPFLAGS'
75860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75863
75864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75865 /* end confdefs.h. */
75866 #include <math.h>
75867 int
75868 main ()
75869 {
75870 _ldexpl(0, 0);
75871 ;
75872 return 0;
75873 }
75874 _ACEOF
75875 if ac_fn_cxx_try_compile "$LINENO"; then :
75876 glibcxx_cv_func__ldexpl_use=yes
75877 else
75878 glibcxx_cv_func__ldexpl_use=no
75879 fi
75880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75881 ac_ext=c
75882 ac_cpp='$CPP $CPPFLAGS'
75883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75886
75887
75888 fi
75889
75890 fi
75891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75892 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75893
75894 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75895 for ac_func in _ldexpl
75896 do :
75897 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75898 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75899 cat >>confdefs.h <<_ACEOF
75900 #define HAVE__LDEXPL 1
75901 _ACEOF
75902
75903 fi
75904 done
75905
75906 fi
75907 fi
75908
75909
75910
75911
75912
75913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75914 $as_echo_n "checking for logl declaration... " >&6; }
75915 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75916 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75917 $as_echo_n "(cached) " >&6
75918 else
75919
75920
75921 ac_ext=cpp
75922 ac_cpp='$CXXCPP $CPPFLAGS'
75923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75926
75927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75928 /* end confdefs.h. */
75929 #include <math.h>
75930 #ifdef HAVE_IEEEFP_H
75931 #include <ieeefp.h>
75932 #endif
75933
75934 int
75935 main ()
75936 {
75937 logl(0);
75938 ;
75939 return 0;
75940 }
75941 _ACEOF
75942 if ac_fn_cxx_try_compile "$LINENO"; then :
75943 glibcxx_cv_func_logl_use=yes
75944 else
75945 glibcxx_cv_func_logl_use=no
75946 fi
75947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75948 ac_ext=c
75949 ac_cpp='$CPP $CPPFLAGS'
75950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75953
75954
75955 fi
75956
75957 fi
75958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75959 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75960
75961 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75962 for ac_func in logl
75963 do :
75964 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75965 if test "x$ac_cv_func_logl" = x""yes; then :
75966 cat >>confdefs.h <<_ACEOF
75967 #define HAVE_LOGL 1
75968 _ACEOF
75969
75970 fi
75971 done
75972
75973 else
75974
75975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75976 $as_echo_n "checking for _logl declaration... " >&6; }
75977 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75978 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75979 $as_echo_n "(cached) " >&6
75980 else
75981
75982
75983 ac_ext=cpp
75984 ac_cpp='$CXXCPP $CPPFLAGS'
75985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75988
75989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75990 /* end confdefs.h. */
75991 #include <math.h>
75992 #ifdef HAVE_IEEEFP_H
75993 #include <ieeefp.h>
75994 #endif
75995
75996 int
75997 main ()
75998 {
75999 _logl(0);
76000 ;
76001 return 0;
76002 }
76003 _ACEOF
76004 if ac_fn_cxx_try_compile "$LINENO"; then :
76005 glibcxx_cv_func__logl_use=yes
76006 else
76007 glibcxx_cv_func__logl_use=no
76008 fi
76009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76010 ac_ext=c
76011 ac_cpp='$CPP $CPPFLAGS'
76012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76015
76016
76017 fi
76018
76019 fi
76020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76021 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76022
76023 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76024 for ac_func in _logl
76025 do :
76026 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76027 if test "x$ac_cv_func__logl" = x""yes; then :
76028 cat >>confdefs.h <<_ACEOF
76029 #define HAVE__LOGL 1
76030 _ACEOF
76031
76032 fi
76033 done
76034
76035 fi
76036 fi
76037
76038
76039
76040
76041
76042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76043 $as_echo_n "checking for log10l declaration... " >&6; }
76044 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76045 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76046 $as_echo_n "(cached) " >&6
76047 else
76048
76049
76050 ac_ext=cpp
76051 ac_cpp='$CXXCPP $CPPFLAGS'
76052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76055
76056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76057 /* end confdefs.h. */
76058 #include <math.h>
76059 #ifdef HAVE_IEEEFP_H
76060 #include <ieeefp.h>
76061 #endif
76062
76063 int
76064 main ()
76065 {
76066 log10l(0);
76067 ;
76068 return 0;
76069 }
76070 _ACEOF
76071 if ac_fn_cxx_try_compile "$LINENO"; then :
76072 glibcxx_cv_func_log10l_use=yes
76073 else
76074 glibcxx_cv_func_log10l_use=no
76075 fi
76076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76077 ac_ext=c
76078 ac_cpp='$CPP $CPPFLAGS'
76079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76082
76083
76084 fi
76085
76086 fi
76087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76088 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76089
76090 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76091 for ac_func in log10l
76092 do :
76093 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76094 if test "x$ac_cv_func_log10l" = x""yes; then :
76095 cat >>confdefs.h <<_ACEOF
76096 #define HAVE_LOG10L 1
76097 _ACEOF
76098
76099 fi
76100 done
76101
76102 else
76103
76104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76105 $as_echo_n "checking for _log10l declaration... " >&6; }
76106 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76107 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76108 $as_echo_n "(cached) " >&6
76109 else
76110
76111
76112 ac_ext=cpp
76113 ac_cpp='$CXXCPP $CPPFLAGS'
76114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76117
76118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76119 /* end confdefs.h. */
76120 #include <math.h>
76121 #ifdef HAVE_IEEEFP_H
76122 #include <ieeefp.h>
76123 #endif
76124
76125 int
76126 main ()
76127 {
76128 _log10l(0);
76129 ;
76130 return 0;
76131 }
76132 _ACEOF
76133 if ac_fn_cxx_try_compile "$LINENO"; then :
76134 glibcxx_cv_func__log10l_use=yes
76135 else
76136 glibcxx_cv_func__log10l_use=no
76137 fi
76138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76139 ac_ext=c
76140 ac_cpp='$CPP $CPPFLAGS'
76141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76144
76145
76146 fi
76147
76148 fi
76149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76150 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76151
76152 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76153 for ac_func in _log10l
76154 do :
76155 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76156 if test "x$ac_cv_func__log10l" = x""yes; then :
76157 cat >>confdefs.h <<_ACEOF
76158 #define HAVE__LOG10L 1
76159 _ACEOF
76160
76161 fi
76162 done
76163
76164 fi
76165 fi
76166
76167
76168
76169
76170
76171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76172 $as_echo_n "checking for modfl declaration... " >&6; }
76173 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76174 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76175 $as_echo_n "(cached) " >&6
76176 else
76177
76178
76179 ac_ext=cpp
76180 ac_cpp='$CXXCPP $CPPFLAGS'
76181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76184
76185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76186 /* end confdefs.h. */
76187 #include <math.h>
76188 int
76189 main ()
76190 {
76191 modfl(0, 0);
76192 ;
76193 return 0;
76194 }
76195 _ACEOF
76196 if ac_fn_cxx_try_compile "$LINENO"; then :
76197 glibcxx_cv_func_modfl_use=yes
76198 else
76199 glibcxx_cv_func_modfl_use=no
76200 fi
76201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76202 ac_ext=c
76203 ac_cpp='$CPP $CPPFLAGS'
76204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76207
76208
76209 fi
76210
76211 fi
76212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76213 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76214
76215 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76216 for ac_func in modfl
76217 do :
76218 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76219 if test "x$ac_cv_func_modfl" = x""yes; then :
76220 cat >>confdefs.h <<_ACEOF
76221 #define HAVE_MODFL 1
76222 _ACEOF
76223
76224 fi
76225 done
76226
76227 else
76228
76229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76230 $as_echo_n "checking for _modfl declaration... " >&6; }
76231 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76232 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76233 $as_echo_n "(cached) " >&6
76234 else
76235
76236
76237 ac_ext=cpp
76238 ac_cpp='$CXXCPP $CPPFLAGS'
76239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76242
76243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76244 /* end confdefs.h. */
76245 #include <math.h>
76246 int
76247 main ()
76248 {
76249 _modfl(0, 0);
76250 ;
76251 return 0;
76252 }
76253 _ACEOF
76254 if ac_fn_cxx_try_compile "$LINENO"; then :
76255 glibcxx_cv_func__modfl_use=yes
76256 else
76257 glibcxx_cv_func__modfl_use=no
76258 fi
76259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76260 ac_ext=c
76261 ac_cpp='$CPP $CPPFLAGS'
76262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76265
76266
76267 fi
76268
76269 fi
76270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76271 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76272
76273 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76274 for ac_func in _modfl
76275 do :
76276 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76277 if test "x$ac_cv_func__modfl" = x""yes; then :
76278 cat >>confdefs.h <<_ACEOF
76279 #define HAVE__MODFL 1
76280 _ACEOF
76281
76282 fi
76283 done
76284
76285 fi
76286 fi
76287
76288
76289
76290
76291
76292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76293 $as_echo_n "checking for powl declaration... " >&6; }
76294 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76295 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76296 $as_echo_n "(cached) " >&6
76297 else
76298
76299
76300 ac_ext=cpp
76301 ac_cpp='$CXXCPP $CPPFLAGS'
76302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76305
76306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76307 /* end confdefs.h. */
76308 #include <math.h>
76309 int
76310 main ()
76311 {
76312 powl(0, 0);
76313 ;
76314 return 0;
76315 }
76316 _ACEOF
76317 if ac_fn_cxx_try_compile "$LINENO"; then :
76318 glibcxx_cv_func_powl_use=yes
76319 else
76320 glibcxx_cv_func_powl_use=no
76321 fi
76322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76323 ac_ext=c
76324 ac_cpp='$CPP $CPPFLAGS'
76325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76328
76329
76330 fi
76331
76332 fi
76333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76334 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76335
76336 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76337 for ac_func in powl
76338 do :
76339 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76340 if test "x$ac_cv_func_powl" = x""yes; then :
76341 cat >>confdefs.h <<_ACEOF
76342 #define HAVE_POWL 1
76343 _ACEOF
76344
76345 fi
76346 done
76347
76348 else
76349
76350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76351 $as_echo_n "checking for _powl declaration... " >&6; }
76352 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76353 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76354 $as_echo_n "(cached) " >&6
76355 else
76356
76357
76358 ac_ext=cpp
76359 ac_cpp='$CXXCPP $CPPFLAGS'
76360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76363
76364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76365 /* end confdefs.h. */
76366 #include <math.h>
76367 int
76368 main ()
76369 {
76370 _powl(0, 0);
76371 ;
76372 return 0;
76373 }
76374 _ACEOF
76375 if ac_fn_cxx_try_compile "$LINENO"; then :
76376 glibcxx_cv_func__powl_use=yes
76377 else
76378 glibcxx_cv_func__powl_use=no
76379 fi
76380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76381 ac_ext=c
76382 ac_cpp='$CPP $CPPFLAGS'
76383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76386
76387
76388 fi
76389
76390 fi
76391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76392 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76393
76394 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76395 for ac_func in _powl
76396 do :
76397 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76398 if test "x$ac_cv_func__powl" = x""yes; then :
76399 cat >>confdefs.h <<_ACEOF
76400 #define HAVE__POWL 1
76401 _ACEOF
76402
76403 fi
76404 done
76405
76406 fi
76407 fi
76408
76409
76410
76411
76412
76413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76414 $as_echo_n "checking for sqrtl declaration... " >&6; }
76415 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76416 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76417 $as_echo_n "(cached) " >&6
76418 else
76419
76420
76421 ac_ext=cpp
76422 ac_cpp='$CXXCPP $CPPFLAGS'
76423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76426
76427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76428 /* end confdefs.h. */
76429 #include <math.h>
76430 #ifdef HAVE_IEEEFP_H
76431 #include <ieeefp.h>
76432 #endif
76433
76434 int
76435 main ()
76436 {
76437 sqrtl(0);
76438 ;
76439 return 0;
76440 }
76441 _ACEOF
76442 if ac_fn_cxx_try_compile "$LINENO"; then :
76443 glibcxx_cv_func_sqrtl_use=yes
76444 else
76445 glibcxx_cv_func_sqrtl_use=no
76446 fi
76447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76448 ac_ext=c
76449 ac_cpp='$CPP $CPPFLAGS'
76450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76453
76454
76455 fi
76456
76457 fi
76458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76459 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76460
76461 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76462 for ac_func in sqrtl
76463 do :
76464 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76465 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76466 cat >>confdefs.h <<_ACEOF
76467 #define HAVE_SQRTL 1
76468 _ACEOF
76469
76470 fi
76471 done
76472
76473 else
76474
76475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76476 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76477 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76478 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76479 $as_echo_n "(cached) " >&6
76480 else
76481
76482
76483 ac_ext=cpp
76484 ac_cpp='$CXXCPP $CPPFLAGS'
76485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76488
76489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76490 /* end confdefs.h. */
76491 #include <math.h>
76492 #ifdef HAVE_IEEEFP_H
76493 #include <ieeefp.h>
76494 #endif
76495
76496 int
76497 main ()
76498 {
76499 _sqrtl(0);
76500 ;
76501 return 0;
76502 }
76503 _ACEOF
76504 if ac_fn_cxx_try_compile "$LINENO"; then :
76505 glibcxx_cv_func__sqrtl_use=yes
76506 else
76507 glibcxx_cv_func__sqrtl_use=no
76508 fi
76509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76510 ac_ext=c
76511 ac_cpp='$CPP $CPPFLAGS'
76512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76515
76516
76517 fi
76518
76519 fi
76520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76521 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76522
76523 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76524 for ac_func in _sqrtl
76525 do :
76526 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76527 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76528 cat >>confdefs.h <<_ACEOF
76529 #define HAVE__SQRTL 1
76530 _ACEOF
76531
76532 fi
76533 done
76534
76535 fi
76536 fi
76537
76538
76539
76540
76541
76542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76543 $as_echo_n "checking for sincosl declaration... " >&6; }
76544 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76545 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76546 $as_echo_n "(cached) " >&6
76547 else
76548
76549
76550 ac_ext=cpp
76551 ac_cpp='$CXXCPP $CPPFLAGS'
76552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76555
76556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76557 /* end confdefs.h. */
76558 #include <math.h>
76559 int
76560 main ()
76561 {
76562 sincosl(0, 0, 0);
76563 ;
76564 return 0;
76565 }
76566 _ACEOF
76567 if ac_fn_cxx_try_compile "$LINENO"; then :
76568 glibcxx_cv_func_sincosl_use=yes
76569 else
76570 glibcxx_cv_func_sincosl_use=no
76571 fi
76572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76573 ac_ext=c
76574 ac_cpp='$CPP $CPPFLAGS'
76575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76578
76579
76580 fi
76581
76582 fi
76583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76584 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76585
76586 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76587 for ac_func in sincosl
76588 do :
76589 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76590 if test "x$ac_cv_func_sincosl" = x""yes; then :
76591 cat >>confdefs.h <<_ACEOF
76592 #define HAVE_SINCOSL 1
76593 _ACEOF
76594
76595 fi
76596 done
76597
76598 else
76599
76600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76601 $as_echo_n "checking for _sincosl declaration... " >&6; }
76602 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76603 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76604 $as_echo_n "(cached) " >&6
76605 else
76606
76607
76608 ac_ext=cpp
76609 ac_cpp='$CXXCPP $CPPFLAGS'
76610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76613
76614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76615 /* end confdefs.h. */
76616 #include <math.h>
76617 int
76618 main ()
76619 {
76620 _sincosl(0, 0, 0);
76621 ;
76622 return 0;
76623 }
76624 _ACEOF
76625 if ac_fn_cxx_try_compile "$LINENO"; then :
76626 glibcxx_cv_func__sincosl_use=yes
76627 else
76628 glibcxx_cv_func__sincosl_use=no
76629 fi
76630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76631 ac_ext=c
76632 ac_cpp='$CPP $CPPFLAGS'
76633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76636
76637
76638 fi
76639
76640 fi
76641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76642 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76643
76644 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76645 for ac_func in _sincosl
76646 do :
76647 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76648 if test "x$ac_cv_func__sincosl" = x""yes; then :
76649 cat >>confdefs.h <<_ACEOF
76650 #define HAVE__SINCOSL 1
76651 _ACEOF
76652
76653 fi
76654 done
76655
76656 fi
76657 fi
76658
76659
76660
76661
76662
76663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76664 $as_echo_n "checking for finitel declaration... " >&6; }
76665 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76666 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76667 $as_echo_n "(cached) " >&6
76668 else
76669
76670
76671 ac_ext=cpp
76672 ac_cpp='$CXXCPP $CPPFLAGS'
76673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76676
76677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76678 /* end confdefs.h. */
76679 #include <math.h>
76680 #ifdef HAVE_IEEEFP_H
76681 #include <ieeefp.h>
76682 #endif
76683
76684 int
76685 main ()
76686 {
76687 finitel(0);
76688 ;
76689 return 0;
76690 }
76691 _ACEOF
76692 if ac_fn_cxx_try_compile "$LINENO"; then :
76693 glibcxx_cv_func_finitel_use=yes
76694 else
76695 glibcxx_cv_func_finitel_use=no
76696 fi
76697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76698 ac_ext=c
76699 ac_cpp='$CPP $CPPFLAGS'
76700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76703
76704
76705 fi
76706
76707 fi
76708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76709 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76710
76711 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76712 for ac_func in finitel
76713 do :
76714 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76715 if test "x$ac_cv_func_finitel" = x""yes; then :
76716 cat >>confdefs.h <<_ACEOF
76717 #define HAVE_FINITEL 1
76718 _ACEOF
76719
76720 fi
76721 done
76722
76723 else
76724
76725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76726 $as_echo_n "checking for _finitel declaration... " >&6; }
76727 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76728 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76729 $as_echo_n "(cached) " >&6
76730 else
76731
76732
76733 ac_ext=cpp
76734 ac_cpp='$CXXCPP $CPPFLAGS'
76735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76738
76739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76740 /* end confdefs.h. */
76741 #include <math.h>
76742 #ifdef HAVE_IEEEFP_H
76743 #include <ieeefp.h>
76744 #endif
76745
76746 int
76747 main ()
76748 {
76749 _finitel(0);
76750 ;
76751 return 0;
76752 }
76753 _ACEOF
76754 if ac_fn_cxx_try_compile "$LINENO"; then :
76755 glibcxx_cv_func__finitel_use=yes
76756 else
76757 glibcxx_cv_func__finitel_use=no
76758 fi
76759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76760 ac_ext=c
76761 ac_cpp='$CPP $CPPFLAGS'
76762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76765
76766
76767 fi
76768
76769 fi
76770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76771 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76772
76773 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76774 for ac_func in _finitel
76775 do :
76776 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76777 if test "x$ac_cv_func__finitel" = x""yes; then :
76778 cat >>confdefs.h <<_ACEOF
76779 #define HAVE__FINITEL 1
76780 _ACEOF
76781
76782 fi
76783 done
76784
76785 fi
76786 fi
76787
76788
76789
76790
76791 LIBS="$ac_save_LIBS"
76792 CXXFLAGS="$ac_save_CXXFLAGS"
76793
76794
76795 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76796 ac_save_CXXFLAGS="$CXXFLAGS"
76797 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76798
76799
76800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76801 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76802 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76803 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76804 $as_echo_n "(cached) " >&6
76805 else
76806
76807
76808 ac_ext=cpp
76809 ac_cpp='$CXXCPP $CPPFLAGS'
76810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76813
76814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76815 /* end confdefs.h. */
76816 #include <stdlib.h>
76817 int
76818 main ()
76819 {
76820 at_quick_exit(0);
76821 ;
76822 return 0;
76823 }
76824 _ACEOF
76825 if ac_fn_cxx_try_compile "$LINENO"; then :
76826 glibcxx_cv_func_at_quick_exit_use=yes
76827 else
76828 glibcxx_cv_func_at_quick_exit_use=no
76829 fi
76830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76831 ac_ext=c
76832 ac_cpp='$CPP $CPPFLAGS'
76833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76836
76837
76838 fi
76839
76840 fi
76841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76842 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76843 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76844 for ac_func in at_quick_exit
76845 do :
76846 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76847 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76848 cat >>confdefs.h <<_ACEOF
76849 #define HAVE_AT_QUICK_EXIT 1
76850 _ACEOF
76851
76852 fi
76853 done
76854
76855 fi
76856
76857
76858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76859 $as_echo_n "checking for quick_exit declaration... " >&6; }
76860 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76861 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76862 $as_echo_n "(cached) " >&6
76863 else
76864
76865
76866 ac_ext=cpp
76867 ac_cpp='$CXXCPP $CPPFLAGS'
76868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76871
76872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76873 /* end confdefs.h. */
76874 #include <stdlib.h>
76875 int
76876 main ()
76877 {
76878 quick_exit(0);
76879 ;
76880 return 0;
76881 }
76882 _ACEOF
76883 if ac_fn_cxx_try_compile "$LINENO"; then :
76884 glibcxx_cv_func_quick_exit_use=yes
76885 else
76886 glibcxx_cv_func_quick_exit_use=no
76887 fi
76888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76889 ac_ext=c
76890 ac_cpp='$CPP $CPPFLAGS'
76891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76894
76895
76896 fi
76897
76898 fi
76899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76900 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76901 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76902 for ac_func in quick_exit
76903 do :
76904 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76905 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76906 cat >>confdefs.h <<_ACEOF
76907 #define HAVE_QUICK_EXIT 1
76908 _ACEOF
76909
76910 fi
76911 done
76912
76913 fi
76914
76915
76916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76917 $as_echo_n "checking for strtold declaration... " >&6; }
76918 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76919 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76920 $as_echo_n "(cached) " >&6
76921 else
76922
76923
76924 ac_ext=cpp
76925 ac_cpp='$CXXCPP $CPPFLAGS'
76926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76929
76930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76931 /* end confdefs.h. */
76932 #include <stdlib.h>
76933 int
76934 main ()
76935 {
76936 strtold(0, 0);
76937 ;
76938 return 0;
76939 }
76940 _ACEOF
76941 if ac_fn_cxx_try_compile "$LINENO"; then :
76942 glibcxx_cv_func_strtold_use=yes
76943 else
76944 glibcxx_cv_func_strtold_use=no
76945 fi
76946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76947 ac_ext=c
76948 ac_cpp='$CPP $CPPFLAGS'
76949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76952
76953
76954 fi
76955
76956 fi
76957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76958 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76959 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76960 for ac_func in strtold
76961 do :
76962 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76963 if test "x$ac_cv_func_strtold" = x""yes; then :
76964 cat >>confdefs.h <<_ACEOF
76965 #define HAVE_STRTOLD 1
76966 _ACEOF
76967
76968 fi
76969 done
76970
76971 fi
76972
76973
76974
76975
76976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76977 $as_echo_n "checking for strtof declaration... " >&6; }
76978 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76979 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76980 $as_echo_n "(cached) " >&6
76981 else
76982
76983
76984 ac_ext=cpp
76985 ac_cpp='$CXXCPP $CPPFLAGS'
76986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76989
76990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76991 /* end confdefs.h. */
76992 #include <stdlib.h>
76993 int
76994 main ()
76995 {
76996 strtof(0, 0);
76997 ;
76998 return 0;
76999 }
77000 _ACEOF
77001 if ac_fn_cxx_try_compile "$LINENO"; then :
77002 glibcxx_cv_func_strtof_use=yes
77003 else
77004 glibcxx_cv_func_strtof_use=no
77005 fi
77006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77007 ac_ext=c
77008 ac_cpp='$CPP $CPPFLAGS'
77009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77012
77013
77014 fi
77015
77016 fi
77017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77018 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77019 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77020 for ac_func in strtof
77021 do :
77022 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77023 if test "x$ac_cv_func_strtof" = x""yes; then :
77024 cat >>confdefs.h <<_ACEOF
77025 #define HAVE_STRTOF 1
77026 _ACEOF
77027
77028 fi
77029 done
77030
77031 fi
77032
77033
77034
77035
77036 CXXFLAGS="$ac_save_CXXFLAGS"
77037
77038 ;;
77039 *-vxworks)
77040 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77041
77042 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77043
77044 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77045
77046 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77047
77048 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77049
77050 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77051
77052 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77053
77054 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77055
77056 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77057
77058 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77059
77060 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77061
77062 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77063
77064 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77065
77066 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77067
77068 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77069
77070 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77071
77072 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77073
77074 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77075
77076 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77077
77078 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77079
77080 ;;
77081 *)
77082 as_fn_error "No support for this host/target combination." "$LINENO" 5
77083 ;;
77084 esac
77085
77086 fi
77087
77088 # At some point, we should differentiate between architectures
77089 # like x86, which have long double versions, and alpha/powerpc/etc.,
77090 # which don't. For the time being, punt.
77091 if test x"long_double_math_on_this_cpu" = x"yes"; then
77092 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77093
77094 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77095
77096 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77097
77098 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77099
77100 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77101
77102 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77103
77104 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77105
77106 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77107
77108 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77109
77110 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77111
77112 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77113
77114 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77115
77116 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77117
77118 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77119
77120 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77121
77122 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77123
77124 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77125
77126 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77127
77128 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77129
77130 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77131
77132 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77133
77134 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77135
77136 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77137
77138 fi
77139 fi
77140
77141 # Check for _Unwind_GetIPInfo.
77142
77143
77144 # Check whether --with-system-libunwind was given.
77145 if test "${with_system_libunwind+set}" = set; then :
77146 withval=$with_system_libunwind;
77147 fi
77148
77149 # If system-libunwind was not specifically set, pick a default setting.
77150 if test x$with_system_libunwind = x; then
77151 case ${target} in
77152 ia64-*-hpux*) with_system_libunwind=yes ;;
77153 *) with_system_libunwind=no ;;
77154 esac
77155 fi
77156 # Based on system-libunwind and target, do we have ipinfo?
77157 if test x$with_system_libunwind = xyes; then
77158 case ${target} in
77159 ia64-*-*) have_unwind_getipinfo=no ;;
77160 *) have_unwind_getipinfo=yes ;;
77161 esac
77162 else
77163 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77164
77165 case ${target} in
77166 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77167 *) have_unwind_getipinfo=yes ;;
77168 esac
77169
77170 fi
77171
77172 if test x$have_unwind_getipinfo = xyes; then
77173
77174 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77175
77176 fi
77177
77178
77179 # Check whether --enable-linux-futex was given.
77180 if test "${enable_linux_futex+set}" = set; then :
77181 enableval=$enable_linux_futex;
77182 case "$enableval" in
77183 yes|no|default) ;;
77184 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77185 esac
77186
77187 else
77188 enable_linux_futex=default
77189 fi
77190
77191
77192 case "$target" in
77193 *-linux*)
77194 case "$enable_linux_futex" in
77195 default)
77196 # If headers don't have gettid/futex syscalls definition, then
77197 # default to no, otherwise there will be compile time failures.
77198 # Otherwise, default to yes. If we don't detect we are
77199 # compiled/linked against NPTL and not cross-compiling, check
77200 # if programs are run by default against NPTL and if not, issue
77201 # a warning.
77202 enable_linux_futex=no
77203 if test x$gcc_no_link = xyes; then
77204 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77205 fi
77206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77207 /* end confdefs.h. */
77208 #include <sys/syscall.h>
77209 int lk;
77210 int
77211 main ()
77212 {
77213 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77214 ;
77215 return 0;
77216 }
77217 _ACEOF
77218 if ac_fn_c_try_link "$LINENO"; then :
77219 save_LIBS="$LIBS"
77220 LIBS="-lpthread $LIBS"
77221 if test x$gcc_no_link = xyes; then
77222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77223 fi
77224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77225 /* end confdefs.h. */
77226 #ifndef _GNU_SOURCE
77227 #define _GNU_SOURCE 1
77228 #endif
77229 #include <pthread.h>
77230 pthread_t th; void *status;
77231 int
77232 main ()
77233 {
77234 pthread_tryjoin_np (th, &status);
77235 ;
77236 return 0;
77237 }
77238 _ACEOF
77239 if ac_fn_c_try_link "$LINENO"; then :
77240 enable_linux_futex=yes
77241 else
77242 if test x$cross_compiling = xno; then
77243 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77244 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77246 If so, please configure with --disable-linux-futex" >&5
77247 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77248 If so, please configure with --disable-linux-futex" >&2;}
77249 fi
77250 fi
77251 enable_linux_futex=yes
77252 fi
77253 rm -f core conftest.err conftest.$ac_objext \
77254 conftest$ac_exeext conftest.$ac_ext
77255 LIBS="$save_LIBS"
77256 fi
77257 rm -f core conftest.err conftest.$ac_objext \
77258 conftest$ac_exeext conftest.$ac_ext
77259 ;;
77260 yes)
77261 if test x$gcc_no_link = xyes; then
77262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77263 fi
77264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77265 /* end confdefs.h. */
77266 #include <sys/syscall.h>
77267 int lk;
77268 int
77269 main ()
77270 {
77271 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77272 ;
77273 return 0;
77274 }
77275 _ACEOF
77276 if ac_fn_c_try_link "$LINENO"; then :
77277
77278 else
77279 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77280 fi
77281 rm -f core conftest.err conftest.$ac_objext \
77282 conftest$ac_exeext conftest.$ac_ext
77283 ;;
77284 esac
77285 ;;
77286 *)
77287 enable_linux_futex=no
77288 ;;
77289 esac
77290 if test x$enable_linux_futex = xyes; then
77291
77292 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77293
77294 fi
77295
77296
77297
77298
77299 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77300
77301 acx_cv_header_stdint=stddef.h
77302 acx_cv_header_stdint_kind="(already complete)"
77303 for i in stdint.h $inttype_headers; do
77304 unset ac_cv_type_uintptr_t
77305 unset ac_cv_type_uintmax_t
77306 unset ac_cv_type_int_least32_t
77307 unset ac_cv_type_int_fast32_t
77308 unset ac_cv_type_uint64_t
77309 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77310 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77311 #include <$i>
77312 "
77313 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77314 acx_cv_header_stdint=$i
77315 else
77316 continue
77317 fi
77318
77319 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77320 #include <$i>
77321 "
77322 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77323
77324 else
77325 acx_cv_header_stdint_kind="(mostly complete)"
77326 fi
77327
77328 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77329 #include <$i>
77330 "
77331 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77332
77333 else
77334 acx_cv_header_stdint_kind="(mostly complete)"
77335 fi
77336
77337 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77338 #include <$i>
77339 "
77340 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77341
77342 else
77343 acx_cv_header_stdint_kind="(mostly complete)"
77344 fi
77345
77346 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77347 #include <$i>
77348 "
77349 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77350
77351 else
77352 acx_cv_header_stdint_kind="(lacks uint64_t)"
77353 fi
77354
77355 break
77356 done
77357 if test "$acx_cv_header_stdint" = stddef.h; then
77358 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77359 for i in stdint.h $inttype_headers; do
77360 unset ac_cv_type_uintptr_t
77361 unset ac_cv_type_uint32_t
77362 unset ac_cv_type_uint64_t
77363 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77364 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77365 #include <$i>
77366 "
77367 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77368 acx_cv_header_stdint=$i
77369 else
77370 continue
77371 fi
77372
77373 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77374 #include <$i>
77375 "
77376 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77377
77378 fi
77379
77380 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77381 #include <$i>
77382 "
77383 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77384
77385 fi
77386
77387 break
77388 done
77389 fi
77390 if test "$acx_cv_header_stdint" = stddef.h; then
77391 acx_cv_header_stdint_kind="(u_intXX_t style)"
77392 for i in sys/types.h $inttype_headers; do
77393 unset ac_cv_type_u_int32_t
77394 unset ac_cv_type_u_int64_t
77395 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77396 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77397 #include <$i>
77398 "
77399 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77400 acx_cv_header_stdint=$i
77401 else
77402 continue
77403 fi
77404
77405 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77406 #include <$i>
77407 "
77408 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77409
77410 fi
77411
77412 break
77413 done
77414 fi
77415 if test "$acx_cv_header_stdint" = stddef.h; then
77416 acx_cv_header_stdint_kind="(using manual detection)"
77417 fi
77418
77419 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77420 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77421 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77422 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77423 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77424
77425 # ----------------- Summarize what we found so far
77426
77427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77428 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77429
77430 case `$as_basename -- include/gstdint.h ||
77431 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77432 Xinclude/gstdint.h : 'X\(//\)$' \| \
77433 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77434 $as_echo X/include/gstdint.h |
77435 sed '/^.*\/\([^/][^/]*\)\/*$/{
77436 s//\1/
77437 q
77438 }
77439 /^X\/\(\/\/\)$/{
77440 s//\1/
77441 q
77442 }
77443 /^X\/\(\/\).*/{
77444 s//\1/
77445 q
77446 }
77447 s/.*/./; q'` in
77448 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77449 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77450 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77451 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77452 *) ;;
77453 esac
77454
77455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77456 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77457
77458 # ----------------- done included file, check C basic types --------
77459
77460 # Lacking an uintptr_t? Test size of void *
77461 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77462 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77463 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77464 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77465 # This bug is HP SR number 8606223364.
77466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77467 $as_echo_n "checking size of void *... " >&6; }
77468 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77469 $as_echo_n "(cached) " >&6
77470 else
77471 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77472
77473 else
77474 if test "$ac_cv_type_void_p" = yes; then
77475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77477 { as_fn_set_status 77
77478 as_fn_error "cannot compute sizeof (void *)
77479 See \`config.log' for more details." "$LINENO" 5; }; }
77480 else
77481 ac_cv_sizeof_void_p=0
77482 fi
77483 fi
77484
77485 fi
77486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77487 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77488
77489
77490
77491 cat >>confdefs.h <<_ACEOF
77492 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77493 _ACEOF
77494
77495 ;;
77496 esac
77497
77498 # Lacking an uint64_t? Test size of long
77499 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77500 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77501 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77502 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77503 # This bug is HP SR number 8606223364.
77504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77505 $as_echo_n "checking size of long... " >&6; }
77506 if test "${ac_cv_sizeof_long+set}" = set; then :
77507 $as_echo_n "(cached) " >&6
77508 else
77509 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77510
77511 else
77512 if test "$ac_cv_type_long" = yes; then
77513 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77514 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77515 { as_fn_set_status 77
77516 as_fn_error "cannot compute sizeof (long)
77517 See \`config.log' for more details." "$LINENO" 5; }; }
77518 else
77519 ac_cv_sizeof_long=0
77520 fi
77521 fi
77522
77523 fi
77524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77525 $as_echo "$ac_cv_sizeof_long" >&6; }
77526
77527
77528
77529 cat >>confdefs.h <<_ACEOF
77530 #define SIZEOF_LONG $ac_cv_sizeof_long
77531 _ACEOF
77532
77533 ;;
77534 esac
77535
77536 if test $acx_cv_header_stdint = stddef.h; then
77537 # Lacking a good header? Test size of everything and deduce all types.
77538 # The cast to long int works around a bug in the HP C Compiler
77539 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77540 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77541 # This bug is HP SR number 8606223364.
77542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77543 $as_echo_n "checking size of int... " >&6; }
77544 if test "${ac_cv_sizeof_int+set}" = set; then :
77545 $as_echo_n "(cached) " >&6
77546 else
77547 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77548
77549 else
77550 if test "$ac_cv_type_int" = yes; then
77551 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77553 { as_fn_set_status 77
77554 as_fn_error "cannot compute sizeof (int)
77555 See \`config.log' for more details." "$LINENO" 5; }; }
77556 else
77557 ac_cv_sizeof_int=0
77558 fi
77559 fi
77560
77561 fi
77562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77563 $as_echo "$ac_cv_sizeof_int" >&6; }
77564
77565
77566
77567 cat >>confdefs.h <<_ACEOF
77568 #define SIZEOF_INT $ac_cv_sizeof_int
77569 _ACEOF
77570
77571
77572 # The cast to long int works around a bug in the HP C Compiler
77573 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77574 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77575 # This bug is HP SR number 8606223364.
77576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77577 $as_echo_n "checking size of short... " >&6; }
77578 if test "${ac_cv_sizeof_short+set}" = set; then :
77579 $as_echo_n "(cached) " >&6
77580 else
77581 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77582
77583 else
77584 if test "$ac_cv_type_short" = yes; then
77585 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77586 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77587 { as_fn_set_status 77
77588 as_fn_error "cannot compute sizeof (short)
77589 See \`config.log' for more details." "$LINENO" 5; }; }
77590 else
77591 ac_cv_sizeof_short=0
77592 fi
77593 fi
77594
77595 fi
77596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77597 $as_echo "$ac_cv_sizeof_short" >&6; }
77598
77599
77600
77601 cat >>confdefs.h <<_ACEOF
77602 #define SIZEOF_SHORT $ac_cv_sizeof_short
77603 _ACEOF
77604
77605
77606 # The cast to long int works around a bug in the HP C Compiler
77607 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77608 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77609 # This bug is HP SR number 8606223364.
77610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77611 $as_echo_n "checking size of char... " >&6; }
77612 if test "${ac_cv_sizeof_char+set}" = set; then :
77613 $as_echo_n "(cached) " >&6
77614 else
77615 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77616
77617 else
77618 if test "$ac_cv_type_char" = yes; then
77619 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77620 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77621 { as_fn_set_status 77
77622 as_fn_error "cannot compute sizeof (char)
77623 See \`config.log' for more details." "$LINENO" 5; }; }
77624 else
77625 ac_cv_sizeof_char=0
77626 fi
77627 fi
77628
77629 fi
77630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77631 $as_echo "$ac_cv_sizeof_char" >&6; }
77632
77633
77634
77635 cat >>confdefs.h <<_ACEOF
77636 #define SIZEOF_CHAR $ac_cv_sizeof_char
77637 _ACEOF
77638
77639
77640
77641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77642 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77643 case "$ac_cv_sizeof_char" in
77644 1) acx_cv_type_int8_t=char ;;
77645 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77646 esac
77647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77648 $as_echo "$acx_cv_type_int8_t" >&6; }
77649
77650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77651 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77652 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77653 2:*) acx_cv_type_int16_t=int ;;
77654 *:2) acx_cv_type_int16_t=short ;;
77655 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77656 esac
77657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77658 $as_echo "$acx_cv_type_int16_t" >&6; }
77659
77660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77661 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77662 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77663 4:*) acx_cv_type_int32_t=int ;;
77664 *:4) acx_cv_type_int32_t=long ;;
77665 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77666 esac
77667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77668 $as_echo "$acx_cv_type_int32_t" >&6; }
77669 fi
77670
77671 # These tests are here to make the output prettier
77672
77673 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77674 case "$ac_cv_sizeof_long" in
77675 8) acx_cv_type_int64_t=long ;;
77676 esac
77677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77678 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77680 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77681 fi
77682
77683 # Now we can use the above types
77684
77685 if test "$ac_cv_type_uintptr_t" != yes; then
77686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77687 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77688 case $ac_cv_sizeof_void_p in
77689 2) acx_cv_type_intptr_t=int16_t ;;
77690 4) acx_cv_type_intptr_t=int32_t ;;
77691 8) acx_cv_type_intptr_t=int64_t ;;
77692 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77693 esac
77694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77695 $as_echo "$acx_cv_type_intptr_t" >&6; }
77696 fi
77697
77698 # ----------------- done all checks, emit header -------------
77699 ac_config_commands="$ac_config_commands include/gstdint.h"
77700
77701
77702
77703
77704
77705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77706 $as_echo_n "checking for GNU c++filt... " >&6; }
77707 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77708 $as_echo_n "(cached) " >&6
77709 else
77710 if test -z "$CXXFILT"; then
77711 ac_path_CXXFILT_found=false
77712 # Loop through the user's path and test for each of PROGNAME-LIST
77713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77714 for as_dir in $PATH
77715 do
77716 IFS=$as_save_IFS
77717 test -z "$as_dir" && as_dir=.
77718 for ac_prog in c++filt gc++filt; do
77719 for ac_exec_ext in '' $ac_executable_extensions; do
77720 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77721 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77722 # Check for GNU $ac_path_CXXFILT
77723 case `"$ac_path_CXXFILT" --version 2>&1` in
77724 *GNU*)
77725 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77726 esac
77727
77728 $ac_path_CXXFILT_found && break 3
77729 done
77730 done
77731 done
77732 IFS=$as_save_IFS
77733 if test -z "$ac_cv_path_CXXFILT"; then
77734 :
77735 fi
77736 else
77737 ac_cv_path_CXXFILT=$CXXFILT
77738 fi
77739
77740 fi
77741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77742 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77743 CXXFILT=$ac_cv_path_CXXFILT
77744
77745
77746
77747 # Check whether --enable-symvers was given.
77748 if test "${enable_symvers+set}" = set; then :
77749 enableval=$enable_symvers;
77750 case "$enableval" in
77751 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77752 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77753 esac
77754
77755 else
77756 enable_symvers=yes
77757 fi
77758
77759
77760
77761 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77762 # don't know enough about $LD to do tricks...
77763
77764 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77765 # with extern "C++" in version scripts.
77766
77767
77768 # Turn a 'yes' into a suitable default.
77769 if test x$enable_symvers = xyes ; then
77770 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77771 enable_symvers=no
77772 else
77773 if test $with_gnu_ld = yes ; then
77774 case ${target_os} in
77775 hpux*)
77776 enable_symvers=no ;;
77777 *)
77778 enable_symvers=gnu ;;
77779 esac
77780 else
77781 case ${target_os} in
77782 darwin*)
77783 enable_symvers=darwin ;;
77784 # Sun symbol versioning exists since Solaris 2.5.
77785 solaris2.[5-9]* | solaris2.1[0-9]*)
77786 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77787 # version scripts, so disable symbol versioning if none can be
77788 # found.
77789 if test -z "$ac_cv_path_CXXFILT"; then
77790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77791 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77793 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77795 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77796 enable_symvers=no
77797 else
77798 enable_symvers=sun
77799 fi
77800 ;;
77801 *)
77802 enable_symvers=no ;;
77803 esac
77804 fi
77805 fi
77806 fi
77807
77808 # Check to see if 'darwin' or 'darwin-export' can win.
77809 if test x$enable_symvers = xdarwin-export ; then
77810 enable_symvers=darwin
77811 fi
77812
77813 # Check if 'sun' was requested on non-Solaris 2 platforms.
77814 if test x$enable_symvers = xsun ; then
77815 case ${target_os} in
77816 solaris2*)
77817 # All fine.
77818 ;;
77819 *)
77820 # Unlikely to work.
77821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77822 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77824 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77826 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77827 enable_symvers=no
77828 ;;
77829 esac
77830 fi
77831
77832 # Check to see if 'gnu' can win.
77833 if test $enable_symvers = gnu ||
77834 test $enable_symvers = gnu-versioned-namespace ||
77835 test $enable_symvers = sun; then
77836 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77838 $as_echo_n "checking for shared libgcc... " >&6; }
77839 ac_save_CFLAGS="$CFLAGS"
77840 CFLAGS=' -lgcc_s'
77841 if test x$gcc_no_link = xyes; then
77842 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77843 fi
77844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77845 /* end confdefs.h. */
77846
77847 int
77848 main ()
77849 {
77850 return 0;
77851 ;
77852 return 0;
77853 }
77854 _ACEOF
77855 if ac_fn_c_try_link "$LINENO"; then :
77856 glibcxx_shared_libgcc=yes
77857 else
77858 glibcxx_shared_libgcc=no
77859 fi
77860 rm -f core conftest.err conftest.$ac_objext \
77861 conftest$ac_exeext conftest.$ac_ext
77862 CFLAGS="$ac_save_CFLAGS"
77863 if test $glibcxx_shared_libgcc = no; then
77864 cat > conftest.c <<EOF
77865 int main (void) { return 0; }
77866 EOF
77867 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77868 -shared -shared-libgcc -o conftest.so \
77869 conftest.c -v 2>&1 >/dev/null \
77870 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77871 rm -f conftest.c conftest.so
77872 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77873 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77874 if test x$gcc_no_link = xyes; then
77875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77876 fi
77877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77878 /* end confdefs.h. */
77879
77880 int
77881 main ()
77882 {
77883 return 0;
77884 ;
77885 return 0;
77886 }
77887 _ACEOF
77888 if ac_fn_c_try_link "$LINENO"; then :
77889 glibcxx_shared_libgcc=yes
77890 fi
77891 rm -f core conftest.err conftest.$ac_objext \
77892 conftest$ac_exeext conftest.$ac_ext
77893 CFLAGS="$ac_save_CFLAGS"
77894 fi
77895 fi
77896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77897 $as_echo "$glibcxx_shared_libgcc" >&6; }
77898
77899 # For GNU ld, we need at least this version. The format is described in
77900 # GLIBCXX_CHECK_LINKER_FEATURES above.
77901 glibcxx_min_gnu_ld_version=21400
77902
77903 # If no shared libgcc, can't win.
77904 if test $glibcxx_shared_libgcc != yes; then
77905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77906 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77908 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77910 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77911 enable_symvers=no
77912 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77913 : All interesting versions of Sun ld support sun style symbol versioning.
77914 elif test $with_gnu_ld != yes ; then
77915 # just fail for now
77916 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77917 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77919 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77921 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77922 enable_symvers=no
77923 elif test $glibcxx_ld_is_gold = yes ; then
77924 : All versions of gold support symbol versioning.
77925 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77926 # The right tools, the right setup, but too old. Fallbacks?
77927 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77928 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77930 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77932 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77934 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77936 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77937 enable_symvers=no
77938 fi
77939 fi
77940
77941 # For libtool versioning info, format is CURRENT:REVISION:AGE
77942 libtool_VERSION=6:21:0
77943
77944 # Everything parsed; figure out what files and settings to use.
77945 case $enable_symvers in
77946 no)
77947 SYMVER_FILE=config/abi/pre/none.ver
77948 ;;
77949 gnu)
77950 SYMVER_FILE=config/abi/pre/gnu.ver
77951
77952 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77953
77954 ;;
77955 gnu-versioned-namespace)
77956 libtool_VERSION=7:0:0
77957 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77958
77959 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77960
77961 ;;
77962 darwin)
77963 SYMVER_FILE=config/abi/pre/gnu.ver
77964
77965 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77966
77967 ;;
77968 sun)
77969 SYMVER_FILE=config/abi/pre/gnu.ver
77970
77971 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77972
77973 ;;
77974 esac
77975
77976 if test x$enable_symvers != xno ; then
77977
77978 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77979
77980 fi
77981
77982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77983 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77984 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77985 $as_echo_n "(cached) " >&6
77986 else
77987
77988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77989 /* end confdefs.h. */
77990 void foo (void); __asm (".symver foo, bar@SYMVER");
77991 int
77992 main ()
77993 {
77994
77995 ;
77996 return 0;
77997 }
77998 _ACEOF
77999 if ac_fn_c_try_compile "$LINENO"; then :
78000 glibcxx_cv_have_as_symver_directive=yes
78001 else
78002 glibcxx_cv_have_as_symver_directive=no
78003 fi
78004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78005 fi
78006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78007 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78008 if test $glibcxx_cv_have_as_symver_directive = yes; then
78009
78010 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78011
78012 fi
78013
78014
78015
78016
78017
78018
78019
78020
78021 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78022 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78023
78024 if test $enable_symvers != no ; then
78025 case ${target_os} in
78026 # The Solaris 2 runtime linker doesn't support the GNU extension of
78027 # binding the same symbol to different versions
78028 solaris2*)
78029 ;;
78030 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78031 *)
78032
78033 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78034
78035 ;;
78036 esac
78037 fi
78038
78039 # Now, set up compatibility support, if any.
78040 # In addition, need this to deal with std::size_t mangling in
78041 # src/compatibility.cc. In a perfect world, could use
78042 # typeid(std::size_t).name()[0] to do direct substitution.
78043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78044 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78045 ac_save_CFLAGS="$CFLAGS"
78046 CFLAGS="-Werror"
78047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78048 /* end confdefs.h. */
78049
78050 int
78051 main ()
78052 {
78053 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78054 ;
78055 return 0;
78056 }
78057 _ACEOF
78058 if ac_fn_c_try_compile "$LINENO"; then :
78059 glibcxx_size_t_is_i=yes
78060 else
78061 glibcxx_size_t_is_i=no
78062 fi
78063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78064 CFLAGS=$ac_save_CFLAGS
78065 if test "$glibcxx_size_t_is_i" = yes; then
78066
78067 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78068
78069 fi
78070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78071 $as_echo "$glibcxx_size_t_is_i" >&6; }
78072
78073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78074 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78075 ac_save_CFLAGS="$CFLAGS"
78076 CFLAGS="-Werror"
78077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78078 /* end confdefs.h. */
78079
78080 int
78081 main ()
78082 {
78083 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78084 ;
78085 return 0;
78086 }
78087 _ACEOF
78088 if ac_fn_c_try_compile "$LINENO"; then :
78089 glibcxx_ptrdiff_t_is_i=yes
78090 else
78091 glibcxx_ptrdiff_t_is_i=no
78092 fi
78093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78094 CFLAGS=$ac_save_CFLAGS
78095 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78096
78097 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78098
78099 fi
78100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78101 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78102
78103
78104
78105
78106 # Check whether --enable-libstdcxx-visibility was given.
78107 if test "${enable_libstdcxx_visibility+set}" = set; then :
78108 enableval=$enable_libstdcxx_visibility;
78109 case "$enableval" in
78110 yes|no) ;;
78111 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78112 esac
78113
78114 else
78115 enable_libstdcxx_visibility=yes
78116 fi
78117
78118
78119
78120 if test x$enable_libstdcxx_visibility = xyes ; then
78121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78122 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78123 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78124 $as_echo_n "(cached) " >&6
78125 else
78126
78127 save_CFLAGS="$CFLAGS"
78128 CFLAGS="$CFLAGS -Werror"
78129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78130 /* end confdefs.h. */
78131 void __attribute__((visibility("hidden"))) foo(void) { }
78132 int
78133 main ()
78134 {
78135
78136 ;
78137 return 0;
78138 }
78139 _ACEOF
78140 if ac_fn_c_try_compile "$LINENO"; then :
78141 glibcxx_cv_have_attribute_visibility=yes
78142 else
78143 glibcxx_cv_have_attribute_visibility=no
78144 fi
78145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78146 CFLAGS="$save_CFLAGS"
78147 fi
78148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78149 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78150 if test $glibcxx_cv_have_attribute_visibility = no; then
78151 enable_libstdcxx_visibility=no
78152 fi
78153 fi
78154
78155
78156 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78157 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78158
78159
78160 ac_ldbl_compat=no
78161 case "$target" in
78162 powerpc*-*-linux* | \
78163 sparc*-*-linux* | \
78164 s390*-*-linux* | \
78165 alpha*-*-linux*)
78166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78167 /* end confdefs.h. */
78168
78169 int
78170 main ()
78171 {
78172
78173 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78174 #error no need for long double compatibility
78175 #endif
78176
78177 ;
78178 return 0;
78179 }
78180 _ACEOF
78181 if ac_fn_c_try_compile "$LINENO"; then :
78182 ac_ldbl_compat=yes
78183 else
78184 ac_ldbl_compat=no
78185 fi
78186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78187 if test "$ac_ldbl_compat" = yes; then
78188
78189 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78190
78191 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78192 fi
78193 esac
78194
78195
78196 # Check if assembler supports disabling hardware capability support.
78197
78198 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78199
78200 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78201 # with a different meaning.
78202 case ${target_os} in
78203 solaris2*)
78204 ac_save_CFLAGS="$CFLAGS"
78205 CFLAGS="$CFLAGS -Wa,-nH"
78206
78207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78208 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78210 /* end confdefs.h. */
78211
78212 int
78213 main ()
78214 {
78215 return 0;
78216 ;
78217 return 0;
78218 }
78219 _ACEOF
78220 if ac_fn_c_try_compile "$LINENO"; then :
78221 ac_hwcap_flags=yes
78222 else
78223 ac_hwcap_flags=no
78224 fi
78225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78226 if test "$ac_hwcap_flags" = "yes"; then
78227 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78228 fi
78229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78230 $as_echo "$ac_hwcap_flags" >&6; }
78231
78232 CFLAGS="$ac_save_CFLAGS"
78233 ;;
78234 esac
78235
78236
78237
78238
78239 # Check if assembler supports rdrand opcode.
78240
78241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78242 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78243 if test "${ac_cv_x86_rdrand+set}" = set; then :
78244 $as_echo_n "(cached) " >&6
78245 else
78246
78247 ac_cv_x86_rdrand=no
78248 case "$target" in
78249 i?86-*-* | \
78250 x86_64-*-*)
78251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78252 /* end confdefs.h. */
78253
78254 int
78255 main ()
78256 {
78257 asm("rdrand %eax");
78258 ;
78259 return 0;
78260 }
78261 _ACEOF
78262 if ac_fn_c_try_compile "$LINENO"; then :
78263 ac_cv_x86_rdrand=yes
78264 else
78265 ac_cv_x86_rdrand=no
78266 fi
78267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78268 esac
78269
78270 fi
78271
78272 if test $ac_cv_x86_rdrand = yes; then
78273
78274 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78275
78276 fi
78277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78278 $as_echo "$ac_cv_x86_rdrand" >&6; }
78279
78280
78281 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78282
78283 if $GLIBCXX_IS_NATIVE ; then
78284 # Do checks for resource limit functions.
78285
78286 setrlimit_have_headers=yes
78287 for ac_header in unistd.h sys/time.h sys/resource.h
78288 do :
78289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78290 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78291 eval as_val=\$$as_ac_Header
78292 if test "x$as_val" = x""yes; then :
78293 cat >>confdefs.h <<_ACEOF
78294 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78295 _ACEOF
78296
78297 else
78298 setrlimit_have_headers=no
78299 fi
78300
78301 done
78302
78303 # If don't have the headers, then we can't run the tests now, and we
78304 # won't be seeing any of these during testsuite compilation.
78305 if test $setrlimit_have_headers = yes; then
78306 # Can't do these in a loop, else the resulting syntax is wrong.
78307
78308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78309 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78311 /* end confdefs.h. */
78312 #include <unistd.h>
78313 #include <sys/time.h>
78314 #include <sys/resource.h>
78315
78316 int
78317 main ()
78318 {
78319 int f = RLIMIT_DATA ;
78320 ;
78321 return 0;
78322 }
78323 _ACEOF
78324 if ac_fn_c_try_compile "$LINENO"; then :
78325 glibcxx_mresult=1
78326 else
78327 glibcxx_mresult=0
78328 fi
78329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78330
78331 cat >>confdefs.h <<_ACEOF
78332 #define HAVE_LIMIT_DATA $glibcxx_mresult
78333 _ACEOF
78334
78335 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78337 $as_echo "$res" >&6; }
78338
78339
78340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78341 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78343 /* end confdefs.h. */
78344 #include <unistd.h>
78345 #include <sys/time.h>
78346 #include <sys/resource.h>
78347
78348 int
78349 main ()
78350 {
78351 int f = RLIMIT_RSS ;
78352 ;
78353 return 0;
78354 }
78355 _ACEOF
78356 if ac_fn_c_try_compile "$LINENO"; then :
78357 glibcxx_mresult=1
78358 else
78359 glibcxx_mresult=0
78360 fi
78361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78362
78363 cat >>confdefs.h <<_ACEOF
78364 #define HAVE_LIMIT_RSS $glibcxx_mresult
78365 _ACEOF
78366
78367 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78369 $as_echo "$res" >&6; }
78370
78371
78372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78373 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78375 /* end confdefs.h. */
78376 #include <unistd.h>
78377 #include <sys/time.h>
78378 #include <sys/resource.h>
78379
78380 int
78381 main ()
78382 {
78383 int f = RLIMIT_VMEM ;
78384 ;
78385 return 0;
78386 }
78387 _ACEOF
78388 if ac_fn_c_try_compile "$LINENO"; then :
78389 glibcxx_mresult=1
78390 else
78391 glibcxx_mresult=0
78392 fi
78393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78394
78395 cat >>confdefs.h <<_ACEOF
78396 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78397 _ACEOF
78398
78399 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78401 $as_echo "$res" >&6; }
78402
78403
78404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78405 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78407 /* end confdefs.h. */
78408 #include <unistd.h>
78409 #include <sys/time.h>
78410 #include <sys/resource.h>
78411
78412 int
78413 main ()
78414 {
78415 int f = RLIMIT_AS ;
78416 ;
78417 return 0;
78418 }
78419 _ACEOF
78420 if ac_fn_c_try_compile "$LINENO"; then :
78421 glibcxx_mresult=1
78422 else
78423 glibcxx_mresult=0
78424 fi
78425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78426
78427 cat >>confdefs.h <<_ACEOF
78428 #define HAVE_LIMIT_AS $glibcxx_mresult
78429 _ACEOF
78430
78431 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78433 $as_echo "$res" >&6; }
78434
78435
78436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78437 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78439 /* end confdefs.h. */
78440 #include <unistd.h>
78441 #include <sys/time.h>
78442 #include <sys/resource.h>
78443
78444 int
78445 main ()
78446 {
78447 int f = RLIMIT_FSIZE ;
78448 ;
78449 return 0;
78450 }
78451 _ACEOF
78452 if ac_fn_c_try_compile "$LINENO"; then :
78453 glibcxx_mresult=1
78454 else
78455 glibcxx_mresult=0
78456 fi
78457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78458
78459 cat >>confdefs.h <<_ACEOF
78460 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78461 _ACEOF
78462
78463 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78465 $as_echo "$res" >&6; }
78466
78467
78468 # Check for rlimit, setrlimit.
78469 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78470 $as_echo_n "(cached) " >&6
78471 else
78472
78473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78474 /* end confdefs.h. */
78475 #include <unistd.h>
78476 #include <sys/time.h>
78477 #include <sys/resource.h>
78478
78479 int
78480 main ()
78481 {
78482 struct rlimit r;
78483 setrlimit(0, &r);
78484 ;
78485 return 0;
78486 }
78487 _ACEOF
78488 if ac_fn_c_try_compile "$LINENO"; then :
78489 glibcxx_cv_setrlimit=yes
78490 else
78491 glibcxx_cv_setrlimit=no
78492 fi
78493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78494
78495 fi
78496
78497 fi
78498
78499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78500 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78501 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78502 ac_res_limits=yes
78503
78504 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78505
78506 else
78507 ac_res_limits=no
78508 fi
78509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78510 $as_echo "$ac_res_limits" >&6; }
78511
78512
78513 # Look for setenv, so that extended locale tests can be performed.
78514
78515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78516 $as_echo_n "checking for setenv declaration... " >&6; }
78517 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78518 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78519 $as_echo_n "(cached) " >&6
78520 else
78521
78522
78523 ac_ext=cpp
78524 ac_cpp='$CXXCPP $CPPFLAGS'
78525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78528
78529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78530 /* end confdefs.h. */
78531 #include <stdlib.h>
78532 int
78533 main ()
78534 {
78535 setenv(0, 0, 0);
78536 ;
78537 return 0;
78538 }
78539 _ACEOF
78540 if ac_fn_cxx_try_compile "$LINENO"; then :
78541 glibcxx_cv_func_setenv_use=yes
78542 else
78543 glibcxx_cv_func_setenv_use=no
78544 fi
78545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78546 ac_ext=c
78547 ac_cpp='$CPP $CPPFLAGS'
78548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78551
78552
78553 fi
78554
78555 fi
78556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78557 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78558 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78559 for ac_func in setenv
78560 do :
78561 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78562 if test "x$ac_cv_func_setenv" = x""yes; then :
78563 cat >>confdefs.h <<_ACEOF
78564 #define HAVE_SETENV 1
78565 _ACEOF
78566
78567 fi
78568 done
78569
78570 fi
78571
78572 fi
78573
78574 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78575 test $enable_symvers != no; then
78576 case "$host" in
78577 *-*-cygwin*)
78578 enable_abi_check=no ;;
78579 *)
78580 enable_abi_check=yes ;;
78581 esac
78582 else
78583 # Only build this as native, since automake does not understand
78584 # CXX_FOR_BUILD.
78585 enable_abi_check=no
78586 fi
78587
78588 # Export file names for ABI checking.
78589 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78590
78591 baseline_subdir_switch="$abi_baseline_subdir_switch"
78592
78593
78594
78595 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78596
78597 # Check whether --enable-libstdcxx-threads was given.
78598 if test "${enable_libstdcxx_threads+set}" = set; then :
78599 enableval=$enable_libstdcxx_threads;
78600 case "$enableval" in
78601 yes|no) ;;
78602 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78603 esac
78604
78605 else
78606 enable_libstdcxx_threads=auto
78607 fi
78608
78609
78610
78611 if test x$enable_libstdcxx_threads = xauto ||
78612 test x$enable_libstdcxx_threads = xyes; then
78613
78614
78615 ac_ext=cpp
78616 ac_cpp='$CXXCPP $CPPFLAGS'
78617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78620
78621
78622 ac_save_CXXFLAGS="$CXXFLAGS"
78623 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78624 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78625
78626 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78627 case $target_thread_file in
78628 posix)
78629 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78630 esac
78631
78632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78633 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78634
78635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78636 /* end confdefs.h. */
78637 #include <unistd.h>
78638 int
78639 main ()
78640 {
78641
78642 // In case of POSIX threads check _POSIX_TIMEOUTS.
78643 #if (defined(_PTHREADS) \
78644 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78645 #error
78646 #endif
78647
78648 ;
78649 return 0;
78650 }
78651 _ACEOF
78652 if ac_fn_cxx_try_compile "$LINENO"; then :
78653 ac_gthread_use_mutex_timedlock=1
78654 else
78655 ac_gthread_use_mutex_timedlock=0
78656 fi
78657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78658
78659
78660 cat >>confdefs.h <<_ACEOF
78661 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78662 _ACEOF
78663
78664
78665 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78666 else res_mutex_timedlock=no ; fi
78667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78668 $as_echo "$res_mutex_timedlock" >&6; }
78669
78670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78671 $as_echo_n "checking for gthreads library... " >&6; }
78672
78673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78674 /* end confdefs.h. */
78675 #include "gthr.h"
78676 int
78677 main ()
78678 {
78679
78680 #ifndef __GTHREADS_CXX0X
78681 #error
78682 #endif
78683
78684 ;
78685 return 0;
78686 }
78687 _ACEOF
78688 if ac_fn_cxx_try_compile "$LINENO"; then :
78689 ac_has_gthreads=yes
78690 else
78691 ac_has_gthreads=no
78692 fi
78693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78694 else
78695 ac_has_gthreads=no
78696 fi
78697
78698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78699 $as_echo "$ac_has_gthreads" >&6; }
78700
78701 if test x"$ac_has_gthreads" = x"yes"; then
78702
78703 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78704
78705 fi
78706
78707 CXXFLAGS="$ac_save_CXXFLAGS"
78708 ac_ext=c
78709 ac_cpp='$CPP $CPPFLAGS'
78710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78713
78714
78715
78716 # Define documentation rules conditionally.
78717
78718 # See if makeinfo has been installed and is modern enough
78719 # that we can use it.
78720
78721 # Extract the first word of "makeinfo", so it can be a program name with args.
78722 set dummy makeinfo; ac_word=$2
78723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78724 $as_echo_n "checking for $ac_word... " >&6; }
78725 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78726 $as_echo_n "(cached) " >&6
78727 else
78728 if test -n "$MAKEINFO"; then
78729 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78730 else
78731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78732 for as_dir in $PATH
78733 do
78734 IFS=$as_save_IFS
78735 test -z "$as_dir" && as_dir=.
78736 for ac_exec_ext in '' $ac_executable_extensions; do
78737 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78738 ac_cv_prog_MAKEINFO="makeinfo"
78739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78740 break 2
78741 fi
78742 done
78743 done
78744 IFS=$as_save_IFS
78745
78746 fi
78747 fi
78748 MAKEINFO=$ac_cv_prog_MAKEINFO
78749 if test -n "$MAKEINFO"; then
78750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78751 $as_echo "$MAKEINFO" >&6; }
78752 else
78753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78754 $as_echo "no" >&6; }
78755 fi
78756
78757
78758 if test -n "$MAKEINFO"; then
78759 # Found it, now check the version.
78760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78761 $as_echo_n "checking for modern makeinfo... " >&6; }
78762 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78763 $as_echo_n "(cached) " >&6
78764 else
78765 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78766 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78767
78768 case $ac_prog_version in
78769 '') gcc_cv_prog_makeinfo_modern=no;;
78770 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78771 *) gcc_cv_prog_makeinfo_modern=no;;
78772 esac
78773
78774 fi
78775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78776 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78777 else
78778 gcc_cv_prog_makeinfo_modern=no
78779 fi
78780 if test $gcc_cv_prog_makeinfo_modern = no; then
78781 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78782 fi
78783
78784 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78785 BUILD_INFO_TRUE=
78786 BUILD_INFO_FALSE='#'
78787 else
78788 BUILD_INFO_TRUE='#'
78789 BUILD_INFO_FALSE=
78790 fi
78791
78792
78793 # Check for doxygen
78794 # Extract the first word of "doxygen", so it can be a program name with args.
78795 set dummy doxygen; ac_word=$2
78796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78797 $as_echo_n "checking for $ac_word... " >&6; }
78798 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78799 $as_echo_n "(cached) " >&6
78800 else
78801 if test -n "$DOXYGEN"; then
78802 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78803 else
78804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78805 for as_dir in $PATH
78806 do
78807 IFS=$as_save_IFS
78808 test -z "$as_dir" && as_dir=.
78809 for ac_exec_ext in '' $ac_executable_extensions; do
78810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78811 ac_cv_prog_DOXYGEN="yes"
78812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78813 break 2
78814 fi
78815 done
78816 done
78817 IFS=$as_save_IFS
78818
78819 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78820 fi
78821 fi
78822 DOXYGEN=$ac_cv_prog_DOXYGEN
78823 if test -n "$DOXYGEN"; then
78824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78825 $as_echo "$DOXYGEN" >&6; }
78826 else
78827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78828 $as_echo "no" >&6; }
78829 fi
78830
78831
78832 # Extract the first word of "dot", so it can be a program name with args.
78833 set dummy dot; ac_word=$2
78834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78835 $as_echo_n "checking for $ac_word... " >&6; }
78836 if test "${ac_cv_prog_DOT+set}" = set; then :
78837 $as_echo_n "(cached) " >&6
78838 else
78839 if test -n "$DOT"; then
78840 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78841 else
78842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78843 for as_dir in $PATH
78844 do
78845 IFS=$as_save_IFS
78846 test -z "$as_dir" && as_dir=.
78847 for ac_exec_ext in '' $ac_executable_extensions; do
78848 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78849 ac_cv_prog_DOT="yes"
78850 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78851 break 2
78852 fi
78853 done
78854 done
78855 IFS=$as_save_IFS
78856
78857 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78858 fi
78859 fi
78860 DOT=$ac_cv_prog_DOT
78861 if test -n "$DOT"; then
78862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78863 $as_echo "$DOT" >&6; }
78864 else
78865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78866 $as_echo "no" >&6; }
78867 fi
78868
78869
78870
78871 # Check for docbook
78872 # Extract the first word of "xsltproc", so it can be a program name with args.
78873 set dummy xsltproc; ac_word=$2
78874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78875 $as_echo_n "checking for $ac_word... " >&6; }
78876 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78877 $as_echo_n "(cached) " >&6
78878 else
78879 if test -n "$XSLTPROC"; then
78880 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78881 else
78882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78883 for as_dir in $PATH
78884 do
78885 IFS=$as_save_IFS
78886 test -z "$as_dir" && as_dir=.
78887 for ac_exec_ext in '' $ac_executable_extensions; do
78888 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78889 ac_cv_prog_XSLTPROC="yes"
78890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78891 break 2
78892 fi
78893 done
78894 done
78895 IFS=$as_save_IFS
78896
78897 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78898 fi
78899 fi
78900 XSLTPROC=$ac_cv_prog_XSLTPROC
78901 if test -n "$XSLTPROC"; then
78902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78903 $as_echo "$XSLTPROC" >&6; }
78904 else
78905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78906 $as_echo "no" >&6; }
78907 fi
78908
78909
78910 # Extract the first word of "xmllint", so it can be a program name with args.
78911 set dummy xmllint; ac_word=$2
78912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78913 $as_echo_n "checking for $ac_word... " >&6; }
78914 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78915 $as_echo_n "(cached) " >&6
78916 else
78917 if test -n "$XMLLINT"; then
78918 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78919 else
78920 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78921 for as_dir in $PATH
78922 do
78923 IFS=$as_save_IFS
78924 test -z "$as_dir" && as_dir=.
78925 for ac_exec_ext in '' $ac_executable_extensions; do
78926 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78927 ac_cv_prog_XMLLINT="yes"
78928 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78929 break 2
78930 fi
78931 done
78932 done
78933 IFS=$as_save_IFS
78934
78935 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
78936 fi
78937 fi
78938 XMLLINT=$ac_cv_prog_XMLLINT
78939 if test -n "$XMLLINT"; then
78940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
78941 $as_echo "$XMLLINT" >&6; }
78942 else
78943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78944 $as_echo "no" >&6; }
78945 fi
78946
78947
78948
78949
78950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
78951 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
78952 glibcxx_stylesheets=no
78953 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
78954 glibcxx_stylesheets=yes
78955 fi
78956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
78957 $as_echo "$glibcxx_stylesheets" >&6; }
78958
78959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
78960 $as_echo_n "checking for local stylesheet directory... " >&6; }
78961 glibcxx_local_stylesheets=no
78962 if test x"$glibcxx_stylesheets" = x"yes"; then
78963 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
78964 glibcxx_local_stylesheets=yes
78965 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
78966 fi
78967 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
78968 glibcxx_local_stylesheets=yes
78969 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
78970 fi
78971 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
78972 glibcxx_local_stylesheets=yes
78973 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
78974 fi
78975 fi
78976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
78977 $as_echo "$glibcxx_local_stylesheets" >&6; }
78978
78979 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78980
78981 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
78982 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
78983 else
78984 glibcxx_stylesheets=no
78985 fi
78986
78987 # Check for epub3 dependencies.
78988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
78989 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
78990 glibcxx_epub_stylesheets=no
78991 if test x"$glibcxx_local_stylesheets" = x"yes"; then
78992 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
78993 glibcxx_epub_stylesheets=yes
78994 fi
78995 fi
78996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
78997 $as_echo "$glibcxx_epub_stylesheets" >&6; }
78998 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
78999 BUILD_EPUB_TRUE=
79000 BUILD_EPUB_FALSE='#'
79001 else
79002 BUILD_EPUB_TRUE='#'
79003 BUILD_EPUB_FALSE=
79004 fi
79005
79006
79007
79008
79009 # Check for xml/html dependencies.
79010 if test $ac_cv_prog_DOXYGEN = "yes" &&
79011 test $ac_cv_prog_DOT = "yes" &&
79012 test $ac_cv_prog_XSLTPROC = "yes" &&
79013 test $ac_cv_prog_XMLLINT = "yes" &&
79014 test $glibcxx_stylesheets = "yes"; then
79015 BUILD_XML_TRUE=
79016 BUILD_XML_FALSE='#'
79017 else
79018 BUILD_XML_TRUE='#'
79019 BUILD_XML_FALSE=
79020 fi
79021
79022
79023 if test $ac_cv_prog_DOXYGEN = "yes" &&
79024 test $ac_cv_prog_DOT = "yes" &&
79025 test $ac_cv_prog_XSLTPROC = "yes" &&
79026 test $ac_cv_prog_XMLLINT = "yes" &&
79027 test $glibcxx_stylesheets = "yes"; then
79028 BUILD_HTML_TRUE=
79029 BUILD_HTML_FALSE='#'
79030 else
79031 BUILD_HTML_TRUE='#'
79032 BUILD_HTML_FALSE=
79033 fi
79034
79035
79036 # Check for man dependencies.
79037 if test $ac_cv_prog_DOXYGEN = "yes" &&
79038 test $ac_cv_prog_DOT = "yes"; then
79039 BUILD_MAN_TRUE=
79040 BUILD_MAN_FALSE='#'
79041 else
79042 BUILD_MAN_TRUE='#'
79043 BUILD_MAN_FALSE=
79044 fi
79045
79046
79047 # Check for pdf dependencies.
79048 # Extract the first word of "dblatex", so it can be a program name with args.
79049 set dummy dblatex; ac_word=$2
79050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79051 $as_echo_n "checking for $ac_word... " >&6; }
79052 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79053 $as_echo_n "(cached) " >&6
79054 else
79055 if test -n "$DBLATEX"; then
79056 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79057 else
79058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79059 for as_dir in $PATH
79060 do
79061 IFS=$as_save_IFS
79062 test -z "$as_dir" && as_dir=.
79063 for ac_exec_ext in '' $ac_executable_extensions; do
79064 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79065 ac_cv_prog_DBLATEX="yes"
79066 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79067 break 2
79068 fi
79069 done
79070 done
79071 IFS=$as_save_IFS
79072
79073 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79074 fi
79075 fi
79076 DBLATEX=$ac_cv_prog_DBLATEX
79077 if test -n "$DBLATEX"; then
79078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79079 $as_echo "$DBLATEX" >&6; }
79080 else
79081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79082 $as_echo "no" >&6; }
79083 fi
79084
79085
79086 # Extract the first word of "pdflatex", so it can be a program name with args.
79087 set dummy pdflatex; ac_word=$2
79088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79089 $as_echo_n "checking for $ac_word... " >&6; }
79090 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79091 $as_echo_n "(cached) " >&6
79092 else
79093 if test -n "$PDFLATEX"; then
79094 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79095 else
79096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79097 for as_dir in $PATH
79098 do
79099 IFS=$as_save_IFS
79100 test -z "$as_dir" && as_dir=.
79101 for ac_exec_ext in '' $ac_executable_extensions; do
79102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79103 ac_cv_prog_PDFLATEX="yes"
79104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79105 break 2
79106 fi
79107 done
79108 done
79109 IFS=$as_save_IFS
79110
79111 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79112 fi
79113 fi
79114 PDFLATEX=$ac_cv_prog_PDFLATEX
79115 if test -n "$PDFLATEX"; then
79116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79117 $as_echo "$PDFLATEX" >&6; }
79118 else
79119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79120 $as_echo "no" >&6; }
79121 fi
79122
79123
79124 if test $ac_cv_prog_DBLATEX = "yes" &&
79125 test $ac_cv_prog_PDFLATEX = "yes"; then
79126 BUILD_PDF_TRUE=
79127 BUILD_PDF_FALSE='#'
79128 else
79129 BUILD_PDF_TRUE='#'
79130 BUILD_PDF_FALSE=
79131 fi
79132
79133
79134
79135 # Propagate the target-specific source directories through the build chain.
79136 ATOMICITY_SRCDIR=config/${atomicity_dir}
79137 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79138 ATOMIC_FLAGS=${atomic_flags}
79139 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79140 OS_INC_SRCDIR=config/${os_include_dir}
79141 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79142 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79143 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79144 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79145
79146
79147
79148
79149
79150
79151
79152
79153
79154
79155
79156 # Determine cross-compile flags and AM_CONDITIONALs.
79157 #AC_SUBST(GLIBCXX_IS_NATIVE)
79158 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79159 if test $is_hosted = yes; then
79160 GLIBCXX_HOSTED_TRUE=
79161 GLIBCXX_HOSTED_FALSE='#'
79162 else
79163 GLIBCXX_HOSTED_TRUE='#'
79164 GLIBCXX_HOSTED_FALSE=
79165 fi
79166
79167
79168 if test $enable_libstdcxx_pch = yes; then
79169 GLIBCXX_BUILD_PCH_TRUE=
79170 GLIBCXX_BUILD_PCH_FALSE='#'
79171 else
79172 GLIBCXX_BUILD_PCH_TRUE='#'
79173 GLIBCXX_BUILD_PCH_FALSE=
79174 fi
79175
79176
79177 if test $enable_cheaders = c; then
79178 GLIBCXX_C_HEADERS_C_TRUE=
79179 GLIBCXX_C_HEADERS_C_FALSE='#'
79180 else
79181 GLIBCXX_C_HEADERS_C_TRUE='#'
79182 GLIBCXX_C_HEADERS_C_FALSE=
79183 fi
79184
79185
79186 if test $enable_cheaders = c_std; then
79187 GLIBCXX_C_HEADERS_C_STD_TRUE=
79188 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79189 else
79190 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79191 GLIBCXX_C_HEADERS_C_STD_FALSE=
79192 fi
79193
79194
79195 if test $enable_cheaders = c_global; then
79196 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79197 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79198 else
79199 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79200 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79201 fi
79202
79203
79204 if test $c_compatibility = yes; then
79205 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79206 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79207 else
79208 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79209 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79210 fi
79211
79212
79213 if test $enable_libstdcxx_debug = yes; then
79214 GLIBCXX_BUILD_DEBUG_TRUE=
79215 GLIBCXX_BUILD_DEBUG_FALSE='#'
79216 else
79217 GLIBCXX_BUILD_DEBUG_TRUE='#'
79218 GLIBCXX_BUILD_DEBUG_FALSE=
79219 fi
79220
79221
79222 if test $enable_extern_template = yes; then
79223 ENABLE_EXTERN_TEMPLATE_TRUE=
79224 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79225 else
79226 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79227 ENABLE_EXTERN_TEMPLATE_FALSE=
79228 fi
79229
79230
79231 if test $python_mod_dir != no; then
79232 ENABLE_PYTHONDIR_TRUE=
79233 ENABLE_PYTHONDIR_FALSE='#'
79234 else
79235 ENABLE_PYTHONDIR_TRUE='#'
79236 ENABLE_PYTHONDIR_FALSE=
79237 fi
79238
79239
79240 if test $enable_werror = yes; then
79241 ENABLE_WERROR_TRUE=
79242 ENABLE_WERROR_FALSE='#'
79243 else
79244 ENABLE_WERROR_TRUE='#'
79245 ENABLE_WERROR_FALSE=
79246 fi
79247
79248
79249 if test $enable_vtable_verify = yes; then
79250 ENABLE_VTABLE_VERIFY_TRUE=
79251 ENABLE_VTABLE_VERIFY_FALSE='#'
79252 else
79253 ENABLE_VTABLE_VERIFY_TRUE='#'
79254 ENABLE_VTABLE_VERIFY_FALSE=
79255 fi
79256
79257
79258 if test $enable_symvers != no; then
79259 ENABLE_SYMVERS_TRUE=
79260 ENABLE_SYMVERS_FALSE='#'
79261 else
79262 ENABLE_SYMVERS_TRUE='#'
79263 ENABLE_SYMVERS_FALSE=
79264 fi
79265
79266
79267 if test $enable_symvers = gnu; then
79268 ENABLE_SYMVERS_GNU_TRUE=
79269 ENABLE_SYMVERS_GNU_FALSE='#'
79270 else
79271 ENABLE_SYMVERS_GNU_TRUE='#'
79272 ENABLE_SYMVERS_GNU_FALSE=
79273 fi
79274
79275
79276 if test $enable_symvers = gnu-versioned-namespace; then
79277 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79278 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79279 else
79280 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79281 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79282 fi
79283
79284
79285 if test $enable_symvers = darwin; then
79286 ENABLE_SYMVERS_DARWIN_TRUE=
79287 ENABLE_SYMVERS_DARWIN_FALSE='#'
79288 else
79289 ENABLE_SYMVERS_DARWIN_TRUE='#'
79290 ENABLE_SYMVERS_DARWIN_FALSE=
79291 fi
79292
79293
79294 if test $enable_symvers = sun; then
79295 ENABLE_SYMVERS_SUN_TRUE=
79296 ENABLE_SYMVERS_SUN_FALSE='#'
79297 else
79298 ENABLE_SYMVERS_SUN_TRUE='#'
79299 ENABLE_SYMVERS_SUN_FALSE=
79300 fi
79301
79302
79303 if test $enable_libstdcxx_visibility = yes; then
79304 ENABLE_VISIBILITY_TRUE=
79305 ENABLE_VISIBILITY_FALSE='#'
79306 else
79307 ENABLE_VISIBILITY_TRUE='#'
79308 ENABLE_VISIBILITY_FALSE=
79309 fi
79310
79311
79312 if test $ac_ldbl_compat = yes; then
79313 GLIBCXX_LDBL_COMPAT_TRUE=
79314 GLIBCXX_LDBL_COMPAT_FALSE='#'
79315 else
79316 GLIBCXX_LDBL_COMPAT_TRUE='#'
79317 GLIBCXX_LDBL_COMPAT_FALSE=
79318 fi
79319
79320
79321
79322
79323 cat >confcache <<\_ACEOF
79324 # This file is a shell script that caches the results of configure
79325 # tests run on this system so they can be shared between configure
79326 # scripts and configure runs, see configure's option --config-cache.
79327 # It is not useful on other systems. If it contains results you don't
79328 # want to keep, you may remove or edit it.
79329 #
79330 # config.status only pays attention to the cache file if you give it
79331 # the --recheck option to rerun configure.
79332 #
79333 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79334 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79335 # following values.
79336
79337 _ACEOF
79338
79339 # The following way of writing the cache mishandles newlines in values,
79340 # but we know of no workaround that is simple, portable, and efficient.
79341 # So, we kill variables containing newlines.
79342 # Ultrix sh set writes to stderr and can't be redirected directly,
79343 # and sets the high bit in the cache file unless we assign to the vars.
79344 (
79345 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79346 eval ac_val=\$$ac_var
79347 case $ac_val in #(
79348 *${as_nl}*)
79349 case $ac_var in #(
79350 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79351 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79352 esac
79353 case $ac_var in #(
79354 _ | IFS | as_nl) ;; #(
79355 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79356 *) { eval $ac_var=; unset $ac_var;} ;;
79357 esac ;;
79358 esac
79359 done
79360
79361 (set) 2>&1 |
79362 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79363 *${as_nl}ac_space=\ *)
79364 # `set' does not quote correctly, so add quotes: double-quote
79365 # substitution turns \\\\ into \\, and sed turns \\ into \.
79366 sed -n \
79367 "s/'/'\\\\''/g;
79368 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79369 ;; #(
79370 *)
79371 # `set' quotes correctly as required by POSIX, so do not add quotes.
79372 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79373 ;;
79374 esac |
79375 sort
79376 ) |
79377 sed '
79378 /^ac_cv_env_/b end
79379 t clear
79380 :clear
79381 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79382 t end
79383 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79384 :end' >>confcache
79385 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79386 if test -w "$cache_file"; then
79387 test "x$cache_file" != "x/dev/null" &&
79388 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79389 $as_echo "$as_me: updating cache $cache_file" >&6;}
79390 cat confcache >$cache_file
79391 else
79392 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79393 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79394 fi
79395 fi
79396 rm -f confcache
79397
79398 if test ${multilib} = yes; then
79399 multilib_arg="--enable-multilib"
79400 else
79401 multilib_arg=
79402 fi
79403
79404 # Export all the install information.
79405
79406 glibcxx_toolexecdir=no
79407 glibcxx_toolexeclibdir=no
79408 glibcxx_prefixdir=$prefix
79409
79410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79411 $as_echo_n "checking for gxx-include-dir... " >&6; }
79412
79413 # Check whether --with-gxx-include-dir was given.
79414 if test "${with_gxx_include_dir+set}" = set; then :
79415 withval=$with_gxx_include_dir; case "$withval" in
79416 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79417 no) gxx_include_dir=no ;;
79418 *) gxx_include_dir=$withval ;;
79419 esac
79420 else
79421 gxx_include_dir=no
79422 fi
79423
79424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79425 $as_echo "$gxx_include_dir" >&6; }
79426
79427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79428 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79429 # Check whether --enable-version-specific-runtime-libs was given.
79430 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79431 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79432 yes) version_specific_libs=yes ;;
79433 no) version_specific_libs=no ;;
79434 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79435 esac
79436 else
79437 version_specific_libs=no
79438 fi
79439
79440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79441 $as_echo "$version_specific_libs" >&6; }
79442
79443 # Default case for install directory for include files.
79444 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79445 gxx_include_dir='include/c++/${gcc_version}'
79446 if test -n "$with_cross_host" &&
79447 test x"$with_cross_host" != x"no"; then
79448 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79449 else
79450 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79451 fi
79452 fi
79453
79454 # Version-specific runtime libs processing.
79455 if test $version_specific_libs = yes; then
79456 # Need the gcc compiler version to know where to install libraries
79457 # and header files if --enable-version-specific-runtime-libs option
79458 # is selected. FIXME: these variables are misnamed, there are
79459 # no executables installed in _toolexecdir or _toolexeclibdir.
79460 if test x"$gxx_include_dir" = x"no"; then
79461 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79462 fi
79463 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79464 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79465 fi
79466
79467 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79468 # Install a library built with a cross compiler in tooldir, not libdir.
79469 if test x"$glibcxx_toolexecdir" = x"no"; then
79470 if test -n "$with_cross_host" &&
79471 test x"$with_cross_host" != x"no"; then
79472 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79473 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79474 else
79475 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79476 glibcxx_toolexeclibdir='${libdir}'
79477 fi
79478 multi_os_directory=`$CXX -print-multi-os-directory`
79479 case $multi_os_directory in
79480 .) ;; # Avoid trailing /.
79481 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79482 esac
79483 fi
79484
79485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79486 $as_echo_n "checking for install location... " >&6; }
79487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79488 $as_echo "$gxx_include_dir" >&6; }
79489
79490
79491
79492
79493
79494
79495
79496 # Export all the include and flag information to Makefiles.
79497
79498 # Used for every C++ compile we perform.
79499 GLIBCXX_INCLUDES="\
79500 -I$glibcxx_builddir/include/$host_alias \
79501 -I$glibcxx_builddir/include \
79502 -I$glibcxx_srcdir/libsupc++"
79503
79504 # For Canadian crosses, pick this up too.
79505 if test $CANADIAN = yes; then
79506 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79507 fi
79508
79509 # Stuff in the actual top level. Currently only used by libsupc++ to
79510 # get unwind* headers from the libgcc dir.
79511 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79512 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79513
79514 # Now, export this to all the little Makefiles....
79515
79516
79517
79518
79519 # Optimization flags that are probably a good idea for thrill-seekers. Just
79520 # uncomment the lines below and make, everything else is ready to go...
79521 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79522 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79523
79524
79525 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79526
79527
79528
79529 ac_config_files="$ac_config_files Makefile"
79530
79531 ac_config_files="$ac_config_files scripts/testsuite_flags"
79532
79533 ac_config_files="$ac_config_files scripts/extract_symvers"
79534
79535 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79536
79537
79538 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79539 # that multilib installs will end up installed in the correct place.
79540 # The testsuite needs it for multilib-aware ABI baseline files.
79541 # To work around this not being passed down from config-ml.in ->
79542 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79543 # append it here. Only modify Makefiles that have just been created.
79544 #
79545 # Also, get rid of this simulated-VPATH thing that automake does.
79546 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"
79547
79548
79549 ac_config_commands="$ac_config_commands generate-headers"
79550
79551
79552 cat >confcache <<\_ACEOF
79553 # This file is a shell script that caches the results of configure
79554 # tests run on this system so they can be shared between configure
79555 # scripts and configure runs, see configure's option --config-cache.
79556 # It is not useful on other systems. If it contains results you don't
79557 # want to keep, you may remove or edit it.
79558 #
79559 # config.status only pays attention to the cache file if you give it
79560 # the --recheck option to rerun configure.
79561 #
79562 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79563 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79564 # following values.
79565
79566 _ACEOF
79567
79568 # The following way of writing the cache mishandles newlines in values,
79569 # but we know of no workaround that is simple, portable, and efficient.
79570 # So, we kill variables containing newlines.
79571 # Ultrix sh set writes to stderr and can't be redirected directly,
79572 # and sets the high bit in the cache file unless we assign to the vars.
79573 (
79574 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79575 eval ac_val=\$$ac_var
79576 case $ac_val in #(
79577 *${as_nl}*)
79578 case $ac_var in #(
79579 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79580 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79581 esac
79582 case $ac_var in #(
79583 _ | IFS | as_nl) ;; #(
79584 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79585 *) { eval $ac_var=; unset $ac_var;} ;;
79586 esac ;;
79587 esac
79588 done
79589
79590 (set) 2>&1 |
79591 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79592 *${as_nl}ac_space=\ *)
79593 # `set' does not quote correctly, so add quotes: double-quote
79594 # substitution turns \\\\ into \\, and sed turns \\ into \.
79595 sed -n \
79596 "s/'/'\\\\''/g;
79597 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79598 ;; #(
79599 *)
79600 # `set' quotes correctly as required by POSIX, so do not add quotes.
79601 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79602 ;;
79603 esac |
79604 sort
79605 ) |
79606 sed '
79607 /^ac_cv_env_/b end
79608 t clear
79609 :clear
79610 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79611 t end
79612 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79613 :end' >>confcache
79614 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79615 if test -w "$cache_file"; then
79616 test "x$cache_file" != "x/dev/null" &&
79617 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79618 $as_echo "$as_me: updating cache $cache_file" >&6;}
79619 cat confcache >$cache_file
79620 else
79621 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79622 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79623 fi
79624 fi
79625 rm -f confcache
79626
79627 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79628 # Let make expand exec_prefix.
79629 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79630
79631 DEFS=-DHAVE_CONFIG_H
79632
79633 ac_libobjs=
79634 ac_ltlibobjs=
79635 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79636 # 1. Remove the extension, and $U if already installed.
79637 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79638 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79639 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79640 # will be set to the directory where LIBOBJS objects are built.
79641 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79642 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79643 done
79644 LIBOBJS=$ac_libobjs
79645
79646 LTLIBOBJS=$ac_ltlibobjs
79647
79648
79649 if test -n "$EXEEXT"; then
79650 am__EXEEXT_TRUE=
79651 am__EXEEXT_FALSE='#'
79652 else
79653 am__EXEEXT_TRUE='#'
79654 am__EXEEXT_FALSE=
79655 fi
79656
79657 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79658 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79659 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79660 fi
79661 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79662 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79663 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79664 fi
79665 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79666 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79667 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79668 fi
79669 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79670 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79671 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79672 fi
79673 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79674 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79675 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79676 fi
79677 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79678 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79679 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79680 fi
79681 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79682 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79683 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79684 fi
79685 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79686 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79687 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79688 fi
79689 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79690 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79691 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79692 fi
79693 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79694 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79695 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79696 fi
79697 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79698 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79699 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79700 fi
79701 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79702 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79703 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79704 fi
79705 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79706 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79707 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79708 fi
79709 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79710 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79711 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79712 fi
79713 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79714 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79715 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79716 fi
79717 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79718 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79719 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79720 fi
79721 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79722 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79723 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79724 fi
79725 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79726 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79727 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79728 fi
79729 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79730 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79731 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79732 fi
79733 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79734 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79735 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79736 fi
79737 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79738 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79739 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79740 fi
79741 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79742 as_fn_error "conditional \"BUILD_XML\" was never defined.
79743 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79744 fi
79745 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79746 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79747 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79748 fi
79749 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79750 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79751 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79752 fi
79753 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79754 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79755 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79756 fi
79757
79758 : ${CONFIG_STATUS=./config.status}
79759 ac_write_fail=0
79760 ac_clean_files_save=$ac_clean_files
79761 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79762 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79763 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79764 as_write_fail=0
79765 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79766 #! $SHELL
79767 # Generated by $as_me.
79768 # Run this file to recreate the current configuration.
79769 # Compiler output produced by configure, useful for debugging
79770 # configure, is in config.log if it exists.
79771
79772 debug=false
79773 ac_cs_recheck=false
79774 ac_cs_silent=false
79775
79776 SHELL=\${CONFIG_SHELL-$SHELL}
79777 export SHELL
79778 _ASEOF
79779 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79780 ## -------------------- ##
79781 ## M4sh Initialization. ##
79782 ## -------------------- ##
79783
79784 # Be more Bourne compatible
79785 DUALCASE=1; export DUALCASE # for MKS sh
79786 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79787 emulate sh
79788 NULLCMD=:
79789 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79790 # is contrary to our usage. Disable this feature.
79791 alias -g '${1+"$@"}'='"$@"'
79792 setopt NO_GLOB_SUBST
79793 else
79794 case `(set -o) 2>/dev/null` in #(
79795 *posix*) :
79796 set -o posix ;; #(
79797 *) :
79798 ;;
79799 esac
79800 fi
79801
79802
79803 as_nl='
79804 '
79805 export as_nl
79806 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79807 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79808 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79809 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79810 # Prefer a ksh shell builtin over an external printf program on Solaris,
79811 # but without wasting forks for bash or zsh.
79812 if test -z "$BASH_VERSION$ZSH_VERSION" \
79813 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79814 as_echo='print -r --'
79815 as_echo_n='print -rn --'
79816 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79817 as_echo='printf %s\n'
79818 as_echo_n='printf %s'
79819 else
79820 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79821 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79822 as_echo_n='/usr/ucb/echo -n'
79823 else
79824 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79825 as_echo_n_body='eval
79826 arg=$1;
79827 case $arg in #(
79828 *"$as_nl"*)
79829 expr "X$arg" : "X\\(.*\\)$as_nl";
79830 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79831 esac;
79832 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79833 '
79834 export as_echo_n_body
79835 as_echo_n='sh -c $as_echo_n_body as_echo'
79836 fi
79837 export as_echo_body
79838 as_echo='sh -c $as_echo_body as_echo'
79839 fi
79840
79841 # The user is always right.
79842 if test "${PATH_SEPARATOR+set}" != set; then
79843 PATH_SEPARATOR=:
79844 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79845 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79846 PATH_SEPARATOR=';'
79847 }
79848 fi
79849
79850
79851 # IFS
79852 # We need space, tab and new line, in precisely that order. Quoting is
79853 # there to prevent editors from complaining about space-tab.
79854 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79855 # splitting by setting IFS to empty value.)
79856 IFS=" "" $as_nl"
79857
79858 # Find who we are. Look in the path if we contain no directory separator.
79859 case $0 in #((
79860 *[\\/]* ) as_myself=$0 ;;
79861 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79862 for as_dir in $PATH
79863 do
79864 IFS=$as_save_IFS
79865 test -z "$as_dir" && as_dir=.
79866 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79867 done
79868 IFS=$as_save_IFS
79869
79870 ;;
79871 esac
79872 # We did not find ourselves, most probably we were run as `sh COMMAND'
79873 # in which case we are not to be found in the path.
79874 if test "x$as_myself" = x; then
79875 as_myself=$0
79876 fi
79877 if test ! -f "$as_myself"; then
79878 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79879 exit 1
79880 fi
79881
79882 # Unset variables that we do not need and which cause bugs (e.g. in
79883 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79884 # suppresses any "Segmentation fault" message there. '((' could
79885 # trigger a bug in pdksh 5.2.14.
79886 for as_var in BASH_ENV ENV MAIL MAILPATH
79887 do eval test x\${$as_var+set} = xset \
79888 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79889 done
79890 PS1='$ '
79891 PS2='> '
79892 PS4='+ '
79893
79894 # NLS nuisances.
79895 LC_ALL=C
79896 export LC_ALL
79897 LANGUAGE=C
79898 export LANGUAGE
79899
79900 # CDPATH.
79901 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79902
79903
79904 # as_fn_error ERROR [LINENO LOG_FD]
79905 # ---------------------------------
79906 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79907 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79908 # script with status $?, using 1 if that was 0.
79909 as_fn_error ()
79910 {
79911 as_status=$?; test $as_status -eq 0 && as_status=1
79912 if test "$3"; then
79913 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
79914 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
79915 fi
79916 $as_echo "$as_me: error: $1" >&2
79917 as_fn_exit $as_status
79918 } # as_fn_error
79919
79920
79921 # as_fn_set_status STATUS
79922 # -----------------------
79923 # Set $? to STATUS, without forking.
79924 as_fn_set_status ()
79925 {
79926 return $1
79927 } # as_fn_set_status
79928
79929 # as_fn_exit STATUS
79930 # -----------------
79931 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
79932 as_fn_exit ()
79933 {
79934 set +e
79935 as_fn_set_status $1
79936 exit $1
79937 } # as_fn_exit
79938
79939 # as_fn_unset VAR
79940 # ---------------
79941 # Portably unset VAR.
79942 as_fn_unset ()
79943 {
79944 { eval $1=; unset $1;}
79945 }
79946 as_unset=as_fn_unset
79947 # as_fn_append VAR VALUE
79948 # ----------------------
79949 # Append the text in VALUE to the end of the definition contained in VAR. Take
79950 # advantage of any shell optimizations that allow amortized linear growth over
79951 # repeated appends, instead of the typical quadratic growth present in naive
79952 # implementations.
79953 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
79954 eval 'as_fn_append ()
79955 {
79956 eval $1+=\$2
79957 }'
79958 else
79959 as_fn_append ()
79960 {
79961 eval $1=\$$1\$2
79962 }
79963 fi # as_fn_append
79964
79965 # as_fn_arith ARG...
79966 # ------------------
79967 # Perform arithmetic evaluation on the ARGs, and store the result in the
79968 # global $as_val. Take advantage of shells that can avoid forks. The arguments
79969 # must be portable across $(()) and expr.
79970 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
79971 eval 'as_fn_arith ()
79972 {
79973 as_val=$(( $* ))
79974 }'
79975 else
79976 as_fn_arith ()
79977 {
79978 as_val=`expr "$@" || test $? -eq 1`
79979 }
79980 fi # as_fn_arith
79981
79982
79983 if expr a : '\(a\)' >/dev/null 2>&1 &&
79984 test "X`expr 00001 : '.*\(...\)'`" = X001; then
79985 as_expr=expr
79986 else
79987 as_expr=false
79988 fi
79989
79990 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
79991 as_basename=basename
79992 else
79993 as_basename=false
79994 fi
79995
79996 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
79997 as_dirname=dirname
79998 else
79999 as_dirname=false
80000 fi
80001
80002 as_me=`$as_basename -- "$0" ||
80003 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80004 X"$0" : 'X\(//\)$' \| \
80005 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80006 $as_echo X/"$0" |
80007 sed '/^.*\/\([^/][^/]*\)\/*$/{
80008 s//\1/
80009 q
80010 }
80011 /^X\/\(\/\/\)$/{
80012 s//\1/
80013 q
80014 }
80015 /^X\/\(\/\).*/{
80016 s//\1/
80017 q
80018 }
80019 s/.*/./; q'`
80020
80021 # Avoid depending upon Character Ranges.
80022 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80023 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80024 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80025 as_cr_digits='0123456789'
80026 as_cr_alnum=$as_cr_Letters$as_cr_digits
80027
80028 ECHO_C= ECHO_N= ECHO_T=
80029 case `echo -n x` in #(((((
80030 -n*)
80031 case `echo 'xy\c'` in
80032 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80033 xy) ECHO_C='\c';;
80034 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80035 ECHO_T=' ';;
80036 esac;;
80037 *)
80038 ECHO_N='-n';;
80039 esac
80040
80041 rm -f conf$$ conf$$.exe conf$$.file
80042 if test -d conf$$.dir; then
80043 rm -f conf$$.dir/conf$$.file
80044 else
80045 rm -f conf$$.dir
80046 mkdir conf$$.dir 2>/dev/null
80047 fi
80048 if (echo >conf$$.file) 2>/dev/null; then
80049 if ln -s conf$$.file conf$$ 2>/dev/null; then
80050 as_ln_s='ln -s'
80051 # ... but there are two gotchas:
80052 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80053 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80054 # In both cases, we have to default to `cp -p'.
80055 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80056 as_ln_s='cp -p'
80057 elif ln conf$$.file conf$$ 2>/dev/null; then
80058 as_ln_s=ln
80059 else
80060 as_ln_s='cp -p'
80061 fi
80062 else
80063 as_ln_s='cp -p'
80064 fi
80065 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80066 rmdir conf$$.dir 2>/dev/null
80067
80068
80069 # as_fn_mkdir_p
80070 # -------------
80071 # Create "$as_dir" as a directory, including parents if necessary.
80072 as_fn_mkdir_p ()
80073 {
80074
80075 case $as_dir in #(
80076 -*) as_dir=./$as_dir;;
80077 esac
80078 test -d "$as_dir" || eval $as_mkdir_p || {
80079 as_dirs=
80080 while :; do
80081 case $as_dir in #(
80082 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80083 *) as_qdir=$as_dir;;
80084 esac
80085 as_dirs="'$as_qdir' $as_dirs"
80086 as_dir=`$as_dirname -- "$as_dir" ||
80087 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80088 X"$as_dir" : 'X\(//\)[^/]' \| \
80089 X"$as_dir" : 'X\(//\)$' \| \
80090 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80091 $as_echo X"$as_dir" |
80092 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80093 s//\1/
80094 q
80095 }
80096 /^X\(\/\/\)[^/].*/{
80097 s//\1/
80098 q
80099 }
80100 /^X\(\/\/\)$/{
80101 s//\1/
80102 q
80103 }
80104 /^X\(\/\).*/{
80105 s//\1/
80106 q
80107 }
80108 s/.*/./; q'`
80109 test -d "$as_dir" && break
80110 done
80111 test -z "$as_dirs" || eval "mkdir $as_dirs"
80112 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80113
80114
80115 } # as_fn_mkdir_p
80116 if mkdir -p . 2>/dev/null; then
80117 as_mkdir_p='mkdir -p "$as_dir"'
80118 else
80119 test -d ./-p && rmdir ./-p
80120 as_mkdir_p=false
80121 fi
80122
80123 if test -x / >/dev/null 2>&1; then
80124 as_test_x='test -x'
80125 else
80126 if ls -dL / >/dev/null 2>&1; then
80127 as_ls_L_option=L
80128 else
80129 as_ls_L_option=
80130 fi
80131 as_test_x='
80132 eval sh -c '\''
80133 if test -d "$1"; then
80134 test -d "$1/.";
80135 else
80136 case $1 in #(
80137 -*)set "./$1";;
80138 esac;
80139 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80140 ???[sx]*):;;*)false;;esac;fi
80141 '\'' sh
80142 '
80143 fi
80144 as_executable_p=$as_test_x
80145
80146 # Sed expression to map a string onto a valid CPP name.
80147 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80148
80149 # Sed expression to map a string onto a valid variable name.
80150 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80151
80152
80153 exec 6>&1
80154 ## ----------------------------------- ##
80155 ## Main body of $CONFIG_STATUS script. ##
80156 ## ----------------------------------- ##
80157 _ASEOF
80158 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80159
80160 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80161 # Save the log message, to keep $0 and so on meaningful, and to
80162 # report actual input values of CONFIG_FILES etc. instead of their
80163 # values after options handling.
80164 ac_log="
80165 This file was extended by package-unused $as_me version-unused, which was
80166 generated by GNU Autoconf 2.64. Invocation command line was
80167
80168 CONFIG_FILES = $CONFIG_FILES
80169 CONFIG_HEADERS = $CONFIG_HEADERS
80170 CONFIG_LINKS = $CONFIG_LINKS
80171 CONFIG_COMMANDS = $CONFIG_COMMANDS
80172 $ $0 $@
80173
80174 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80175 "
80176
80177 _ACEOF
80178
80179 case $ac_config_files in *"
80180 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80181 esac
80182
80183 case $ac_config_headers in *"
80184 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80185 esac
80186
80187
80188 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80189 # Files that config.status was made for.
80190 config_files="$ac_config_files"
80191 config_headers="$ac_config_headers"
80192 config_commands="$ac_config_commands"
80193
80194 _ACEOF
80195
80196 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80197 ac_cs_usage="\
80198 \`$as_me' instantiates files and other configuration actions
80199 from templates according to the current configuration. Unless the files
80200 and actions are specified as TAGs, all are instantiated by default.
80201
80202 Usage: $0 [OPTION]... [TAG]...
80203
80204 -h, --help print this help, then exit
80205 -V, --version print version number and configuration settings, then exit
80206 -q, --quiet, --silent
80207 do not print progress messages
80208 -d, --debug don't remove temporary files
80209 --recheck update $as_me by reconfiguring in the same conditions
80210 --file=FILE[:TEMPLATE]
80211 instantiate the configuration file FILE
80212 --header=FILE[:TEMPLATE]
80213 instantiate the configuration header FILE
80214
80215 Configuration files:
80216 $config_files
80217
80218 Configuration headers:
80219 $config_headers
80220
80221 Configuration commands:
80222 $config_commands
80223
80224 Report bugs to the package provider."
80225
80226 _ACEOF
80227 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80228 ac_cs_version="\\
80229 package-unused config.status version-unused
80230 configured by $0, generated by GNU Autoconf 2.64,
80231 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80232
80233 Copyright (C) 2009 Free Software Foundation, Inc.
80234 This config.status script is free software; the Free Software Foundation
80235 gives unlimited permission to copy, distribute and modify it."
80236
80237 ac_pwd='$ac_pwd'
80238 srcdir='$srcdir'
80239 INSTALL='$INSTALL'
80240 MKDIR_P='$MKDIR_P'
80241 AWK='$AWK'
80242 test -n "\$AWK" || AWK=awk
80243 _ACEOF
80244
80245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80246 # The default lists apply if the user does not specify any file.
80247 ac_need_defaults=:
80248 while test $# != 0
80249 do
80250 case $1 in
80251 --*=*)
80252 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80253 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80254 ac_shift=:
80255 ;;
80256 *)
80257 ac_option=$1
80258 ac_optarg=$2
80259 ac_shift=shift
80260 ;;
80261 esac
80262
80263 case $ac_option in
80264 # Handling of the options.
80265 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80266 ac_cs_recheck=: ;;
80267 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80268 $as_echo "$ac_cs_version"; exit ;;
80269 --debug | --debu | --deb | --de | --d | -d )
80270 debug=: ;;
80271 --file | --fil | --fi | --f )
80272 $ac_shift
80273 case $ac_optarg in
80274 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80275 esac
80276 as_fn_append CONFIG_FILES " '$ac_optarg'"
80277 ac_need_defaults=false;;
80278 --header | --heade | --head | --hea )
80279 $ac_shift
80280 case $ac_optarg in
80281 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80282 esac
80283 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80284 ac_need_defaults=false;;
80285 --he | --h)
80286 # Conflict between --help and --header
80287 as_fn_error "ambiguous option: \`$1'
80288 Try \`$0 --help' for more information.";;
80289 --help | --hel | -h )
80290 $as_echo "$ac_cs_usage"; exit ;;
80291 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80292 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80293 ac_cs_silent=: ;;
80294
80295 # This is an error.
80296 -*) as_fn_error "unrecognized option: \`$1'
80297 Try \`$0 --help' for more information." ;;
80298
80299 *) as_fn_append ac_config_targets " $1"
80300 ac_need_defaults=false ;;
80301
80302 esac
80303 shift
80304 done
80305
80306 ac_configure_extra_args=
80307
80308 if $ac_cs_silent; then
80309 exec 6>/dev/null
80310 ac_configure_extra_args="$ac_configure_extra_args --silent"
80311 fi
80312
80313 _ACEOF
80314 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80315 if \$ac_cs_recheck; then
80316 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80317 shift
80318 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80319 CONFIG_SHELL='$SHELL'
80320 export CONFIG_SHELL
80321 exec "\$@"
80322 fi
80323
80324 _ACEOF
80325 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80326 exec 5>>config.log
80327 {
80328 echo
80329 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80330 ## Running $as_me. ##
80331 _ASBOX
80332 $as_echo "$ac_log"
80333 } >&5
80334
80335 _ACEOF
80336 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80337 #
80338 # INIT-COMMANDS
80339 #
80340
80341 srcdir="$srcdir"
80342 host="$host"
80343 target="$target"
80344 with_multisubdir="$with_multisubdir"
80345 with_multisrctop="$with_multisrctop"
80346 with_target_subdir="$with_target_subdir"
80347 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80348 multi_basedir="$multi_basedir"
80349 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80350 CC="$CC"
80351 CXX="$CXX"
80352 GFORTRAN="$GFORTRAN"
80353 GCJ="$GCJ"
80354
80355
80356 # The HP-UX ksh and POSIX shell print the target directory to stdout
80357 # if CDPATH is set.
80358 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80359
80360 sed_quote_subst='$sed_quote_subst'
80361 double_quote_subst='$double_quote_subst'
80362 delay_variable_subst='$delay_variable_subst'
80363 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80364 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80365 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80366 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80367 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80368 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80369 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80370 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80371 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80372 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80373 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80374 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80375 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80376 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80377 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80378 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80379 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80380 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80381 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80382 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80383 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80384 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80385 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80386 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80387 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80388 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80389 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80390 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80391 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80392 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80393 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80394 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80395 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80396 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80397 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80398 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80399 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80400 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80401 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80402 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80403 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80404 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80405 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80406 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80407 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80408 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80409 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80410 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80411 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"`'
80412 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80413 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80414 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80415 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80416 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80417 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80418 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80419 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80420 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80421 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80422 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80423 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80424 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80425 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80426 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80427 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80428 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80429 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80430 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80431 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80432 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80433 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80434 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80435 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80436 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80437 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80438 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80439 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80440 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80441 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80442 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80443 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80444 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80445 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80446 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80447 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80448 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80449 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80450 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80451 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80452 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80453 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80454 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80455 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80456 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80457 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80458 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80459 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80460 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80461 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80462 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80463 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80464 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80465 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80466 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80467 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80468 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80469 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80470 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80471 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80472 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80473 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80474 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80475 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80476 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80477 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80478 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80479 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80480 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80481 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80482 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80483 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80484 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80485 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80486 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80487 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80488 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80489 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80490 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80491 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80492 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80493 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80494 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80495 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80496 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80497 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80498 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80499 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80500 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80501 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80502 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80503 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80504 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80505 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80506 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80507 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80508 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80509 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80510 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80511 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80512 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80513 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80514 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80515 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80516 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80517 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80518 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80519 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80520 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80521 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80522 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80523 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80524 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80525 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80526 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80527 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80528 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80529 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80530 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80531 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80532 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80533 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80534 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80535 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80536 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80537 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80538
80539 LTCC='$LTCC'
80540 LTCFLAGS='$LTCFLAGS'
80541 compiler='$compiler_DEFAULT'
80542
80543 # A function that is used when there is no print builtin or printf.
80544 func_fallback_echo ()
80545 {
80546 eval 'cat <<_LTECHO_EOF
80547 \$1
80548 _LTECHO_EOF'
80549 }
80550
80551 # Quote evaled strings.
80552 for var in SHELL \
80553 ECHO \
80554 SED \
80555 GREP \
80556 EGREP \
80557 FGREP \
80558 LD \
80559 NM \
80560 LN_S \
80561 lt_SP2NL \
80562 lt_NL2SP \
80563 reload_flag \
80564 OBJDUMP \
80565 deplibs_check_method \
80566 file_magic_cmd \
80567 AR \
80568 AR_FLAGS \
80569 STRIP \
80570 RANLIB \
80571 CC \
80572 CFLAGS \
80573 compiler \
80574 lt_cv_sys_global_symbol_pipe \
80575 lt_cv_sys_global_symbol_to_cdecl \
80576 lt_cv_sys_global_symbol_to_c_name_address \
80577 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80578 lt_prog_compiler_no_builtin_flag \
80579 lt_prog_compiler_wl \
80580 lt_prog_compiler_pic \
80581 lt_prog_compiler_static \
80582 lt_cv_prog_compiler_c_o \
80583 need_locks \
80584 DSYMUTIL \
80585 NMEDIT \
80586 LIPO \
80587 OTOOL \
80588 OTOOL64 \
80589 shrext_cmds \
80590 export_dynamic_flag_spec \
80591 whole_archive_flag_spec \
80592 compiler_needs_object \
80593 with_gnu_ld \
80594 allow_undefined_flag \
80595 no_undefined_flag \
80596 hardcode_libdir_flag_spec \
80597 hardcode_libdir_flag_spec_ld \
80598 hardcode_libdir_separator \
80599 fix_srcfile_path \
80600 exclude_expsyms \
80601 include_expsyms \
80602 file_list_spec \
80603 variables_saved_for_relink \
80604 libname_spec \
80605 library_names_spec \
80606 soname_spec \
80607 install_override_mode \
80608 finish_eval \
80609 old_striplib \
80610 striplib \
80611 compiler_lib_search_dirs \
80612 predep_objects \
80613 postdep_objects \
80614 predeps \
80615 postdeps \
80616 compiler_lib_search_path \
80617 LD_CXX \
80618 reload_flag_CXX \
80619 compiler_CXX \
80620 lt_prog_compiler_no_builtin_flag_CXX \
80621 lt_prog_compiler_wl_CXX \
80622 lt_prog_compiler_pic_CXX \
80623 lt_prog_compiler_static_CXX \
80624 lt_cv_prog_compiler_c_o_CXX \
80625 export_dynamic_flag_spec_CXX \
80626 whole_archive_flag_spec_CXX \
80627 compiler_needs_object_CXX \
80628 with_gnu_ld_CXX \
80629 allow_undefined_flag_CXX \
80630 no_undefined_flag_CXX \
80631 hardcode_libdir_flag_spec_CXX \
80632 hardcode_libdir_flag_spec_ld_CXX \
80633 hardcode_libdir_separator_CXX \
80634 fix_srcfile_path_CXX \
80635 exclude_expsyms_CXX \
80636 include_expsyms_CXX \
80637 file_list_spec_CXX \
80638 compiler_lib_search_dirs_CXX \
80639 predep_objects_CXX \
80640 postdep_objects_CXX \
80641 predeps_CXX \
80642 postdeps_CXX \
80643 compiler_lib_search_path_CXX; do
80644 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80645 *[\\\\\\\`\\"\\\$]*)
80646 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80647 ;;
80648 *)
80649 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80650 ;;
80651 esac
80652 done
80653
80654 # Double-quote double-evaled strings.
80655 for var in reload_cmds \
80656 old_postinstall_cmds \
80657 old_postuninstall_cmds \
80658 old_archive_cmds \
80659 extract_expsyms_cmds \
80660 old_archive_from_new_cmds \
80661 old_archive_from_expsyms_cmds \
80662 archive_cmds \
80663 archive_expsym_cmds \
80664 module_cmds \
80665 module_expsym_cmds \
80666 export_symbols_cmds \
80667 prelink_cmds \
80668 postinstall_cmds \
80669 postuninstall_cmds \
80670 finish_cmds \
80671 sys_lib_search_path_spec \
80672 sys_lib_dlsearch_path_spec \
80673 reload_cmds_CXX \
80674 old_archive_cmds_CXX \
80675 old_archive_from_new_cmds_CXX \
80676 old_archive_from_expsyms_cmds_CXX \
80677 archive_cmds_CXX \
80678 archive_expsym_cmds_CXX \
80679 module_cmds_CXX \
80680 module_expsym_cmds_CXX \
80681 export_symbols_cmds_CXX \
80682 prelink_cmds_CXX; do
80683 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80684 *[\\\\\\\`\\"\\\$]*)
80685 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80686 ;;
80687 *)
80688 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80689 ;;
80690 esac
80691 done
80692
80693 ac_aux_dir='$ac_aux_dir'
80694 xsi_shell='$xsi_shell'
80695 lt_shell_append='$lt_shell_append'
80696
80697 # See if we are running on zsh, and set the options which allow our
80698 # commands through without removal of \ escapes INIT.
80699 if test -n "\${ZSH_VERSION+set}" ; then
80700 setopt NO_GLOB_SUBST
80701 fi
80702
80703
80704 PACKAGE='$PACKAGE'
80705 VERSION='$VERSION'
80706 TIMESTAMP='$TIMESTAMP'
80707 RM='$RM'
80708 ofile='$ofile'
80709
80710
80711
80712
80713
80714
80715 GCC="$GCC"
80716 CC="$CC"
80717 acx_cv_header_stdint="$acx_cv_header_stdint"
80718 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80719 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80720 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80721 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80722 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80723 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80724 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80725 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80726 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80727 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80728 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80729 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80730 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80731
80732
80733 _ACEOF
80734
80735 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80736
80737 # Handling of arguments.
80738 for ac_config_target in $ac_config_targets
80739 do
80740 case $ac_config_target in
80741 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80742 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80743 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80744 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80745 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80746 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80747 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80748 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80749 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80750 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80751 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80752 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80753 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80754 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80755 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80756 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80757 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80758 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80759
80760 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80761 esac
80762 done
80763
80764
80765 # If the user did not use the arguments to specify the items to instantiate,
80766 # then the envvar interface is used. Set only those that are not.
80767 # We use the long form for the default assignment because of an extremely
80768 # bizarre bug on SunOS 4.1.3.
80769 if $ac_need_defaults; then
80770 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80771 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80772 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80773 fi
80774
80775 # Have a temporary directory for convenience. Make it in the build tree
80776 # simply because there is no reason against having it here, and in addition,
80777 # creating and moving files from /tmp can sometimes cause problems.
80778 # Hook for its removal unless debugging.
80779 # Note that there is a small window in which the directory will not be cleaned:
80780 # after its creation but before its name has been assigned to `$tmp'.
80781 $debug ||
80782 {
80783 tmp=
80784 trap 'exit_status=$?
80785 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80786 ' 0
80787 trap 'as_fn_exit 1' 1 2 13 15
80788 }
80789 # Create a (secure) tmp directory for tmp files.
80790
80791 {
80792 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80793 test -n "$tmp" && test -d "$tmp"
80794 } ||
80795 {
80796 tmp=./conf$$-$RANDOM
80797 (umask 077 && mkdir "$tmp")
80798 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80799
80800 # Set up the scripts for CONFIG_FILES section.
80801 # No need to generate them if there are no CONFIG_FILES.
80802 # This happens for instance with `./config.status config.h'.
80803 if test -n "$CONFIG_FILES"; then
80804
80805
80806 ac_cr=`echo X | tr X '\015'`
80807 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80808 # But we know of no other shell where ac_cr would be empty at this
80809 # point, so we can use a bashism as a fallback.
80810 if test "x$ac_cr" = x; then
80811 eval ac_cr=\$\'\\r\'
80812 fi
80813 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80814 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80815 ac_cs_awk_cr='\r'
80816 else
80817 ac_cs_awk_cr=$ac_cr
80818 fi
80819
80820 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80821 _ACEOF
80822
80823
80824 {
80825 echo "cat >conf$$subs.awk <<_ACEOF" &&
80826 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80827 echo "_ACEOF"
80828 } >conf$$subs.sh ||
80829 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80830 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80831 ac_delim='%!_!# '
80832 for ac_last_try in false false false false false :; do
80833 . ./conf$$subs.sh ||
80834 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80835
80836 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80837 if test $ac_delim_n = $ac_delim_num; then
80838 break
80839 elif $ac_last_try; then
80840 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80841 else
80842 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80843 fi
80844 done
80845 rm -f conf$$subs.sh
80846
80847 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80848 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80849 _ACEOF
80850 sed -n '
80851 h
80852 s/^/S["/; s/!.*/"]=/
80853 p
80854 g
80855 s/^[^!]*!//
80856 :repl
80857 t repl
80858 s/'"$ac_delim"'$//
80859 t delim
80860 :nl
80861 h
80862 s/\(.\{148\}\).*/\1/
80863 t more1
80864 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80865 p
80866 n
80867 b repl
80868 :more1
80869 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80870 p
80871 g
80872 s/.\{148\}//
80873 t nl
80874 :delim
80875 h
80876 s/\(.\{148\}\).*/\1/
80877 t more2
80878 s/["\\]/\\&/g; s/^/"/; s/$/"/
80879 p
80880 b
80881 :more2
80882 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80883 p
80884 g
80885 s/.\{148\}//
80886 t delim
80887 ' <conf$$subs.awk | sed '
80888 /^[^""]/{
80889 N
80890 s/\n//
80891 }
80892 ' >>$CONFIG_STATUS || ac_write_fail=1
80893 rm -f conf$$subs.awk
80894 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80895 _ACAWK
80896 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80897 for (key in S) S_is_set[key] = 1
80898 FS = "\a"
80899
80900 }
80901 {
80902 line = $ 0
80903 nfields = split(line, field, "@")
80904 substed = 0
80905 len = length(field[1])
80906 for (i = 2; i < nfields; i++) {
80907 key = field[i]
80908 keylen = length(key)
80909 if (S_is_set[key]) {
80910 value = S[key]
80911 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
80912 len += length(value) + length(field[++i])
80913 substed = 1
80914 } else
80915 len += 1 + keylen
80916 }
80917
80918 print line
80919 }
80920
80921 _ACAWK
80922 _ACEOF
80923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80924 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
80925 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
80926 else
80927 cat
80928 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
80929 || as_fn_error "could not setup config files machinery" "$LINENO" 5
80930 _ACEOF
80931
80932 # VPATH may cause trouble with some makes, so we remove $(srcdir),
80933 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
80934 # trailing colons and then remove the whole line if VPATH becomes empty
80935 # (actually we leave an empty line to preserve line numbers).
80936 if test "x$srcdir" = x.; then
80937 ac_vpsub='/^[ ]*VPATH[ ]*=/{
80938 s/:*\$(srcdir):*/:/
80939 s/:*\${srcdir}:*/:/
80940 s/:*@srcdir@:*/:/
80941 s/^\([^=]*=[ ]*\):*/\1/
80942 s/:*$//
80943 s/^[^=]*=[ ]*$//
80944 }'
80945 fi
80946
80947 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80948 fi # test -n "$CONFIG_FILES"
80949
80950 # Set up the scripts for CONFIG_HEADERS section.
80951 # No need to generate them if there are no CONFIG_HEADERS.
80952 # This happens for instance with `./config.status Makefile'.
80953 if test -n "$CONFIG_HEADERS"; then
80954 cat >"$tmp/defines.awk" <<\_ACAWK ||
80955 BEGIN {
80956 _ACEOF
80957
80958 # Transform confdefs.h into an awk script `defines.awk', embedded as
80959 # here-document in config.status, that substitutes the proper values into
80960 # config.h.in to produce config.h.
80961
80962 # Create a delimiter string that does not exist in confdefs.h, to ease
80963 # handling of long lines.
80964 ac_delim='%!_!# '
80965 for ac_last_try in false false :; do
80966 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
80967 if test -z "$ac_t"; then
80968 break
80969 elif $ac_last_try; then
80970 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
80971 else
80972 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80973 fi
80974 done
80975
80976 # For the awk script, D is an array of macro values keyed by name,
80977 # likewise P contains macro parameters if any. Preserve backslash
80978 # newline sequences.
80979
80980 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
80981 sed -n '
80982 s/.\{148\}/&'"$ac_delim"'/g
80983 t rset
80984 :rset
80985 s/^[ ]*#[ ]*define[ ][ ]*/ /
80986 t def
80987 d
80988 :def
80989 s/\\$//
80990 t bsnl
80991 s/["\\]/\\&/g
80992 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80993 D["\1"]=" \3"/p
80994 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
80995 d
80996 :bsnl
80997 s/["\\]/\\&/g
80998 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
80999 D["\1"]=" \3\\\\\\n"\\/p
81000 t cont
81001 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81002 t cont
81003 d
81004 :cont
81005 n
81006 s/.\{148\}/&'"$ac_delim"'/g
81007 t clear
81008 :clear
81009 s/\\$//
81010 t bsnlc
81011 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81012 d
81013 :bsnlc
81014 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81015 b cont
81016 ' <confdefs.h | sed '
81017 s/'"$ac_delim"'/"\\\
81018 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81019
81020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81021 for (key in D) D_is_set[key] = 1
81022 FS = "\a"
81023 }
81024 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81025 line = \$ 0
81026 split(line, arg, " ")
81027 if (arg[1] == "#") {
81028 defundef = arg[2]
81029 mac1 = arg[3]
81030 } else {
81031 defundef = substr(arg[1], 2)
81032 mac1 = arg[2]
81033 }
81034 split(mac1, mac2, "(") #)
81035 macro = mac2[1]
81036 prefix = substr(line, 1, index(line, defundef) - 1)
81037 if (D_is_set[macro]) {
81038 # Preserve the white space surrounding the "#".
81039 print prefix "define", macro P[macro] D[macro]
81040 next
81041 } else {
81042 # Replace #undef with comments. This is necessary, for example,
81043 # in the case of _POSIX_SOURCE, which is predefined and required
81044 # on some systems where configure will not decide to define it.
81045 if (defundef == "undef") {
81046 print "/*", prefix defundef, macro, "*/"
81047 next
81048 }
81049 }
81050 }
81051 { print }
81052 _ACAWK
81053 _ACEOF
81054 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81055 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81056 fi # test -n "$CONFIG_HEADERS"
81057
81058
81059 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81060 shift
81061 for ac_tag
81062 do
81063 case $ac_tag in
81064 :[FHLC]) ac_mode=$ac_tag; continue;;
81065 esac
81066 case $ac_mode$ac_tag in
81067 :[FHL]*:*);;
81068 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81069 :[FH]-) ac_tag=-:-;;
81070 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81071 esac
81072 ac_save_IFS=$IFS
81073 IFS=:
81074 set x $ac_tag
81075 IFS=$ac_save_IFS
81076 shift
81077 ac_file=$1
81078 shift
81079
81080 case $ac_mode in
81081 :L) ac_source=$1;;
81082 :[FH])
81083 ac_file_inputs=
81084 for ac_f
81085 do
81086 case $ac_f in
81087 -) ac_f="$tmp/stdin";;
81088 *) # Look for the file first in the build tree, then in the source tree
81089 # (if the path is not absolute). The absolute path cannot be DOS-style,
81090 # because $ac_f cannot contain `:'.
81091 test -f "$ac_f" ||
81092 case $ac_f in
81093 [\\/$]*) false;;
81094 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81095 esac ||
81096 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81097 esac
81098 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81099 as_fn_append ac_file_inputs " '$ac_f'"
81100 done
81101
81102 # Let's still pretend it is `configure' which instantiates (i.e., don't
81103 # use $as_me), people would be surprised to read:
81104 # /* config.h. Generated by config.status. */
81105 configure_input='Generated from '`
81106 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81107 `' by configure.'
81108 if test x"$ac_file" != x-; then
81109 configure_input="$ac_file. $configure_input"
81110 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81111 $as_echo "$as_me: creating $ac_file" >&6;}
81112 fi
81113 # Neutralize special characters interpreted by sed in replacement strings.
81114 case $configure_input in #(
81115 *\&* | *\|* | *\\* )
81116 ac_sed_conf_input=`$as_echo "$configure_input" |
81117 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81118 *) ac_sed_conf_input=$configure_input;;
81119 esac
81120
81121 case $ac_tag in
81122 *:-:* | *:-) cat >"$tmp/stdin" \
81123 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81124 esac
81125 ;;
81126 esac
81127
81128 ac_dir=`$as_dirname -- "$ac_file" ||
81129 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81130 X"$ac_file" : 'X\(//\)[^/]' \| \
81131 X"$ac_file" : 'X\(//\)$' \| \
81132 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81133 $as_echo X"$ac_file" |
81134 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81135 s//\1/
81136 q
81137 }
81138 /^X\(\/\/\)[^/].*/{
81139 s//\1/
81140 q
81141 }
81142 /^X\(\/\/\)$/{
81143 s//\1/
81144 q
81145 }
81146 /^X\(\/\).*/{
81147 s//\1/
81148 q
81149 }
81150 s/.*/./; q'`
81151 as_dir="$ac_dir"; as_fn_mkdir_p
81152 ac_builddir=.
81153
81154 case "$ac_dir" in
81155 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81156 *)
81157 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81158 # A ".." for each directory in $ac_dir_suffix.
81159 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81160 case $ac_top_builddir_sub in
81161 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81162 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81163 esac ;;
81164 esac
81165 ac_abs_top_builddir=$ac_pwd
81166 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81167 # for backward compatibility:
81168 ac_top_builddir=$ac_top_build_prefix
81169
81170 case $srcdir in
81171 .) # We are building in place.
81172 ac_srcdir=.
81173 ac_top_srcdir=$ac_top_builddir_sub
81174 ac_abs_top_srcdir=$ac_pwd ;;
81175 [\\/]* | ?:[\\/]* ) # Absolute name.
81176 ac_srcdir=$srcdir$ac_dir_suffix;
81177 ac_top_srcdir=$srcdir
81178 ac_abs_top_srcdir=$srcdir ;;
81179 *) # Relative name.
81180 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81181 ac_top_srcdir=$ac_top_build_prefix$srcdir
81182 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81183 esac
81184 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81185
81186
81187 case $ac_mode in
81188 :F)
81189 #
81190 # CONFIG_FILE
81191 #
81192
81193 case $INSTALL in
81194 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81195 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81196 esac
81197 ac_MKDIR_P=$MKDIR_P
81198 case $MKDIR_P in
81199 [\\/$]* | ?:[\\/]* ) ;;
81200 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81201 esac
81202 _ACEOF
81203
81204 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81205 # If the template does not know about datarootdir, expand it.
81206 # FIXME: This hack should be removed a few years after 2.60.
81207 ac_datarootdir_hack=; ac_datarootdir_seen=
81208 ac_sed_dataroot='
81209 /datarootdir/ {
81210 p
81211 q
81212 }
81213 /@datadir@/p
81214 /@docdir@/p
81215 /@infodir@/p
81216 /@localedir@/p
81217 /@mandir@/p'
81218 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81219 *datarootdir*) ac_datarootdir_seen=yes;;
81220 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81222 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81223 _ACEOF
81224 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81225 ac_datarootdir_hack='
81226 s&@datadir@&$datadir&g
81227 s&@docdir@&$docdir&g
81228 s&@infodir@&$infodir&g
81229 s&@localedir@&$localedir&g
81230 s&@mandir@&$mandir&g
81231 s&\\\${datarootdir}&$datarootdir&g' ;;
81232 esac
81233 _ACEOF
81234
81235 # Neutralize VPATH when `$srcdir' = `.'.
81236 # Shell code in configure.ac might set extrasub.
81237 # FIXME: do we really want to maintain this feature?
81238 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81239 ac_sed_extra="$ac_vpsub
81240 $extrasub
81241 _ACEOF
81242 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81243 :t
81244 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81245 s|@configure_input@|$ac_sed_conf_input|;t t
81246 s&@top_builddir@&$ac_top_builddir_sub&;t t
81247 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81248 s&@srcdir@&$ac_srcdir&;t t
81249 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81250 s&@top_srcdir@&$ac_top_srcdir&;t t
81251 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81252 s&@builddir@&$ac_builddir&;t t
81253 s&@abs_builddir@&$ac_abs_builddir&;t t
81254 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81255 s&@INSTALL@&$ac_INSTALL&;t t
81256 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81257 $ac_datarootdir_hack
81258 "
81259 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81260 || as_fn_error "could not create $ac_file" "$LINENO" 5
81261
81262 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81263 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81264 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81266 which seems to be undefined. Please make sure it is defined." >&5
81267 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81268 which seems to be undefined. Please make sure it is defined." >&2;}
81269
81270 rm -f "$tmp/stdin"
81271 case $ac_file in
81272 -) cat "$tmp/out" && rm -f "$tmp/out";;
81273 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81274 esac \
81275 || as_fn_error "could not create $ac_file" "$LINENO" 5
81276 ;;
81277 :H)
81278 #
81279 # CONFIG_HEADER
81280 #
81281 if test x"$ac_file" != x-; then
81282 {
81283 $as_echo "/* $configure_input */" \
81284 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81285 } >"$tmp/config.h" \
81286 || as_fn_error "could not create $ac_file" "$LINENO" 5
81287 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81288 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81289 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81290 else
81291 rm -f "$ac_file"
81292 mv "$tmp/config.h" "$ac_file" \
81293 || as_fn_error "could not create $ac_file" "$LINENO" 5
81294 fi
81295 else
81296 $as_echo "/* $configure_input */" \
81297 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81298 || as_fn_error "could not create -" "$LINENO" 5
81299 fi
81300 # Compute "$ac_file"'s index in $config_headers.
81301 _am_arg="$ac_file"
81302 _am_stamp_count=1
81303 for _am_header in $config_headers :; do
81304 case $_am_header in
81305 $_am_arg | $_am_arg:* )
81306 break ;;
81307 * )
81308 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81309 esac
81310 done
81311 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81312 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81313 X"$_am_arg" : 'X\(//\)[^/]' \| \
81314 X"$_am_arg" : 'X\(//\)$' \| \
81315 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81316 $as_echo X"$_am_arg" |
81317 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81318 s//\1/
81319 q
81320 }
81321 /^X\(\/\/\)[^/].*/{
81322 s//\1/
81323 q
81324 }
81325 /^X\(\/\/\)$/{
81326 s//\1/
81327 q
81328 }
81329 /^X\(\/\).*/{
81330 s//\1/
81331 q
81332 }
81333 s/.*/./; q'`/stamp-h$_am_stamp_count
81334 ;;
81335
81336 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81337 $as_echo "$as_me: executing $ac_file commands" >&6;}
81338 ;;
81339 esac
81340
81341
81342 case $ac_file$ac_mode in
81343 "default-1":C)
81344 # Only add multilib support code if we just rebuilt the top-level
81345 # Makefile.
81346 case " $CONFIG_FILES " in
81347 *" Makefile "*)
81348 ac_file=Makefile . ${multi_basedir}/config-ml.in
81349 ;;
81350 esac ;;
81351 "libtool":C)
81352
81353 # See if we are running on zsh, and set the options which allow our
81354 # commands through without removal of \ escapes.
81355 if test -n "${ZSH_VERSION+set}" ; then
81356 setopt NO_GLOB_SUBST
81357 fi
81358
81359 cfgfile="${ofile}T"
81360 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81361 $RM "$cfgfile"
81362
81363 cat <<_LT_EOF >> "$cfgfile"
81364 #! $SHELL
81365
81366 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81367 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81368 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81369 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81370 #
81371 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81372 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81373 # Written by Gordon Matzigkeit, 1996
81374 #
81375 # This file is part of GNU Libtool.
81376 #
81377 # GNU Libtool is free software; you can redistribute it and/or
81378 # modify it under the terms of the GNU General Public License as
81379 # published by the Free Software Foundation; either version 2 of
81380 # the License, or (at your option) any later version.
81381 #
81382 # As a special exception to the GNU General Public License,
81383 # if you distribute this file as part of a program or library that
81384 # is built using GNU Libtool, you may include this file under the
81385 # same distribution terms that you use for the rest of that program.
81386 #
81387 # GNU Libtool is distributed in the hope that it will be useful,
81388 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81389 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81390 # GNU General Public License for more details.
81391 #
81392 # You should have received a copy of the GNU General Public License
81393 # along with GNU Libtool; see the file COPYING. If not, a copy
81394 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81395 # obtained by writing to the Free Software Foundation, Inc.,
81396 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81397
81398
81399 # The names of the tagged configurations supported by this script.
81400 available_tags="CXX "
81401
81402 # ### BEGIN LIBTOOL CONFIG
81403
81404 # Which release of libtool.m4 was used?
81405 macro_version=$macro_version
81406 macro_revision=$macro_revision
81407
81408 # Whether or not to build shared libraries.
81409 build_libtool_libs=$enable_shared
81410
81411 # Whether or not to build static libraries.
81412 build_old_libs=$enable_static
81413
81414 # What type of objects to build.
81415 pic_mode=$pic_mode
81416
81417 # Whether or not to optimize for fast installation.
81418 fast_install=$enable_fast_install
81419
81420 # Shell to use when invoking shell scripts.
81421 SHELL=$lt_SHELL
81422
81423 # An echo program that protects backslashes.
81424 ECHO=$lt_ECHO
81425
81426 # The host system.
81427 host_alias=$host_alias
81428 host=$host
81429 host_os=$host_os
81430
81431 # The build system.
81432 build_alias=$build_alias
81433 build=$build
81434 build_os=$build_os
81435
81436 # A sed program that does not truncate output.
81437 SED=$lt_SED
81438
81439 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81440 Xsed="\$SED -e 1s/^X//"
81441
81442 # A grep program that handles long lines.
81443 GREP=$lt_GREP
81444
81445 # An ERE matcher.
81446 EGREP=$lt_EGREP
81447
81448 # A literal string matcher.
81449 FGREP=$lt_FGREP
81450
81451 # A BSD- or MS-compatible name lister.
81452 NM=$lt_NM
81453
81454 # Whether we need soft or hard links.
81455 LN_S=$lt_LN_S
81456
81457 # What is the maximum length of a command?
81458 max_cmd_len=$max_cmd_len
81459
81460 # Object file suffix (normally "o").
81461 objext=$ac_objext
81462
81463 # Executable file suffix (normally "").
81464 exeext=$exeext
81465
81466 # whether the shell understands "unset".
81467 lt_unset=$lt_unset
81468
81469 # turn spaces into newlines.
81470 SP2NL=$lt_lt_SP2NL
81471
81472 # turn newlines into spaces.
81473 NL2SP=$lt_lt_NL2SP
81474
81475 # An object symbol dumper.
81476 OBJDUMP=$lt_OBJDUMP
81477
81478 # Method to check whether dependent libraries are shared objects.
81479 deplibs_check_method=$lt_deplibs_check_method
81480
81481 # Command to use when deplibs_check_method == "file_magic".
81482 file_magic_cmd=$lt_file_magic_cmd
81483
81484 # The archiver.
81485 AR=$lt_AR
81486 AR_FLAGS=$lt_AR_FLAGS
81487
81488 # A symbol stripping program.
81489 STRIP=$lt_STRIP
81490
81491 # Commands used to install an old-style archive.
81492 RANLIB=$lt_RANLIB
81493 old_postinstall_cmds=$lt_old_postinstall_cmds
81494 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81495
81496 # Whether to use a lock for old archive extraction.
81497 lock_old_archive_extraction=$lock_old_archive_extraction
81498
81499 # A C compiler.
81500 LTCC=$lt_CC
81501
81502 # LTCC compiler flags.
81503 LTCFLAGS=$lt_CFLAGS
81504
81505 # Take the output of nm and produce a listing of raw symbols and C names.
81506 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81507
81508 # Transform the output of nm in a proper C declaration.
81509 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81510
81511 # Transform the output of nm in a C name address pair.
81512 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81513
81514 # Transform the output of nm in a C name address pair when lib prefix is needed.
81515 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81516
81517 # The name of the directory that contains temporary libtool files.
81518 objdir=$objdir
81519
81520 # Used to examine libraries when file_magic_cmd begins with "file".
81521 MAGIC_CMD=$MAGIC_CMD
81522
81523 # Must we lock files when doing compilation?
81524 need_locks=$lt_need_locks
81525
81526 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81527 DSYMUTIL=$lt_DSYMUTIL
81528
81529 # Tool to change global to local symbols on Mac OS X.
81530 NMEDIT=$lt_NMEDIT
81531
81532 # Tool to manipulate fat objects and archives on Mac OS X.
81533 LIPO=$lt_LIPO
81534
81535 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81536 OTOOL=$lt_OTOOL
81537
81538 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81539 OTOOL64=$lt_OTOOL64
81540
81541 # Old archive suffix (normally "a").
81542 libext=$libext
81543
81544 # Shared library suffix (normally ".so").
81545 shrext_cmds=$lt_shrext_cmds
81546
81547 # The commands to extract the exported symbol list from a shared archive.
81548 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81549
81550 # Variables whose values should be saved in libtool wrapper scripts and
81551 # restored at link time.
81552 variables_saved_for_relink=$lt_variables_saved_for_relink
81553
81554 # Do we need the "lib" prefix for modules?
81555 need_lib_prefix=$need_lib_prefix
81556
81557 # Do we need a version for libraries?
81558 need_version=$need_version
81559
81560 # Library versioning type.
81561 version_type=$version_type
81562
81563 # Shared library runtime path variable.
81564 runpath_var=$runpath_var
81565
81566 # Shared library path variable.
81567 shlibpath_var=$shlibpath_var
81568
81569 # Is shlibpath searched before the hard-coded library search path?
81570 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81571
81572 # Format of library name prefix.
81573 libname_spec=$lt_libname_spec
81574
81575 # List of archive names. First name is the real one, the rest are links.
81576 # The last name is the one that the linker finds with -lNAME
81577 library_names_spec=$lt_library_names_spec
81578
81579 # The coded name of the library, if different from the real name.
81580 soname_spec=$lt_soname_spec
81581
81582 # Permission mode override for installation of shared libraries.
81583 install_override_mode=$lt_install_override_mode
81584
81585 # Command to use after installation of a shared archive.
81586 postinstall_cmds=$lt_postinstall_cmds
81587
81588 # Command to use after uninstallation of a shared archive.
81589 postuninstall_cmds=$lt_postuninstall_cmds
81590
81591 # Commands used to finish a libtool library installation in a directory.
81592 finish_cmds=$lt_finish_cmds
81593
81594 # As "finish_cmds", except a single script fragment to be evaled but
81595 # not shown.
81596 finish_eval=$lt_finish_eval
81597
81598 # Whether we should hardcode library paths into libraries.
81599 hardcode_into_libs=$hardcode_into_libs
81600
81601 # Compile-time system search path for libraries.
81602 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81603
81604 # Run-time system search path for libraries.
81605 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81606
81607 # Whether dlopen is supported.
81608 dlopen_support=$enable_dlopen
81609
81610 # Whether dlopen of programs is supported.
81611 dlopen_self=$enable_dlopen_self
81612
81613 # Whether dlopen of statically linked programs is supported.
81614 dlopen_self_static=$enable_dlopen_self_static
81615
81616 # Commands to strip libraries.
81617 old_striplib=$lt_old_striplib
81618 striplib=$lt_striplib
81619
81620
81621 # The linker used to build libraries.
81622 LD=$lt_LD
81623
81624 # How to create reloadable object files.
81625 reload_flag=$lt_reload_flag
81626 reload_cmds=$lt_reload_cmds
81627
81628 # Commands used to build an old-style archive.
81629 old_archive_cmds=$lt_old_archive_cmds
81630
81631 # A language specific compiler.
81632 CC=$lt_compiler
81633
81634 # Is the compiler the GNU compiler?
81635 with_gcc=$GCC
81636
81637 # Compiler flag to turn off builtin functions.
81638 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81639
81640 # How to pass a linker flag through the compiler.
81641 wl=$lt_lt_prog_compiler_wl
81642
81643 # Additional compiler flags for building library objects.
81644 pic_flag=$lt_lt_prog_compiler_pic
81645
81646 # Compiler flag to prevent dynamic linking.
81647 link_static_flag=$lt_lt_prog_compiler_static
81648
81649 # Does compiler simultaneously support -c and -o options?
81650 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81651
81652 # Whether or not to add -lc for building shared libraries.
81653 build_libtool_need_lc=$archive_cmds_need_lc
81654
81655 # Whether or not to disallow shared libs when runtime libs are static.
81656 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81657
81658 # Compiler flag to allow reflexive dlopens.
81659 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81660
81661 # Compiler flag to generate shared objects directly from archives.
81662 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81663
81664 # Whether the compiler copes with passing no objects directly.
81665 compiler_needs_object=$lt_compiler_needs_object
81666
81667 # Create an old-style archive from a shared archive.
81668 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81669
81670 # Create a temporary old-style archive to link instead of a shared archive.
81671 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81672
81673 # Commands used to build a shared archive.
81674 archive_cmds=$lt_archive_cmds
81675 archive_expsym_cmds=$lt_archive_expsym_cmds
81676
81677 # Commands used to build a loadable module if different from building
81678 # a shared archive.
81679 module_cmds=$lt_module_cmds
81680 module_expsym_cmds=$lt_module_expsym_cmds
81681
81682 # Whether we are building with GNU ld or not.
81683 with_gnu_ld=$lt_with_gnu_ld
81684
81685 # Flag that allows shared libraries with undefined symbols to be built.
81686 allow_undefined_flag=$lt_allow_undefined_flag
81687
81688 # Flag that enforces no undefined symbols.
81689 no_undefined_flag=$lt_no_undefined_flag
81690
81691 # Flag to hardcode \$libdir into a binary during linking.
81692 # This must work even if \$libdir does not exist
81693 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81694
81695 # If ld is used when linking, flag to hardcode \$libdir into a binary
81696 # during linking. This must work even if \$libdir does not exist.
81697 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81698
81699 # Whether we need a single "-rpath" flag with a separated argument.
81700 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81701
81702 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81703 # DIR into the resulting binary.
81704 hardcode_direct=$hardcode_direct
81705
81706 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81707 # DIR into the resulting binary and the resulting library dependency is
81708 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81709 # library is relocated.
81710 hardcode_direct_absolute=$hardcode_direct_absolute
81711
81712 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81713 # into the resulting binary.
81714 hardcode_minus_L=$hardcode_minus_L
81715
81716 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81717 # into the resulting binary.
81718 hardcode_shlibpath_var=$hardcode_shlibpath_var
81719
81720 # Set to "yes" if building a shared library automatically hardcodes DIR
81721 # into the library and all subsequent libraries and executables linked
81722 # against it.
81723 hardcode_automatic=$hardcode_automatic
81724
81725 # Set to yes if linker adds runtime paths of dependent libraries
81726 # to runtime path list.
81727 inherit_rpath=$inherit_rpath
81728
81729 # Whether libtool must link a program against all its dependency libraries.
81730 link_all_deplibs=$link_all_deplibs
81731
81732 # Fix the shell variable \$srcfile for the compiler.
81733 fix_srcfile_path=$lt_fix_srcfile_path
81734
81735 # Set to "yes" if exported symbols are required.
81736 always_export_symbols=$always_export_symbols
81737
81738 # The commands to list exported symbols.
81739 export_symbols_cmds=$lt_export_symbols_cmds
81740
81741 # Symbols that should not be listed in the preloaded symbols.
81742 exclude_expsyms=$lt_exclude_expsyms
81743
81744 # Symbols that must always be exported.
81745 include_expsyms=$lt_include_expsyms
81746
81747 # Commands necessary for linking programs (against libraries) with templates.
81748 prelink_cmds=$lt_prelink_cmds
81749
81750 # Specify filename containing input files.
81751 file_list_spec=$lt_file_list_spec
81752
81753 # How to hardcode a shared library path into an executable.
81754 hardcode_action=$hardcode_action
81755
81756 # The directories searched by this compiler when creating a shared library.
81757 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81758
81759 # Dependencies to place before and after the objects being linked to
81760 # create a shared library.
81761 predep_objects=$lt_predep_objects
81762 postdep_objects=$lt_postdep_objects
81763 predeps=$lt_predeps
81764 postdeps=$lt_postdeps
81765
81766 # The library search path used internally by the compiler when linking
81767 # a shared library.
81768 compiler_lib_search_path=$lt_compiler_lib_search_path
81769
81770 # ### END LIBTOOL CONFIG
81771
81772 _LT_EOF
81773
81774 case $host_os in
81775 aix3*)
81776 cat <<\_LT_EOF >> "$cfgfile"
81777 # AIX sometimes has problems with the GCC collect2 program. For some
81778 # reason, if we set the COLLECT_NAMES environment variable, the problems
81779 # vanish in a puff of smoke.
81780 if test "X${COLLECT_NAMES+set}" != Xset; then
81781 COLLECT_NAMES=
81782 export COLLECT_NAMES
81783 fi
81784 _LT_EOF
81785 ;;
81786 esac
81787
81788
81789 ltmain="$ac_aux_dir/ltmain.sh"
81790
81791
81792 # We use sed instead of cat because bash on DJGPP gets confused if
81793 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81794 # text mode, it properly converts lines to CR/LF. This bash problem
81795 # is reportedly fixed, but why not run on old versions too?
81796 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81797 || (rm -f "$cfgfile"; exit 1)
81798
81799 case $xsi_shell in
81800 yes)
81801 cat << \_LT_EOF >> "$cfgfile"
81802
81803 # func_dirname file append nondir_replacement
81804 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81805 # otherwise set result to NONDIR_REPLACEMENT.
81806 func_dirname ()
81807 {
81808 case ${1} in
81809 */*) func_dirname_result="${1%/*}${2}" ;;
81810 * ) func_dirname_result="${3}" ;;
81811 esac
81812 }
81813
81814 # func_basename file
81815 func_basename ()
81816 {
81817 func_basename_result="${1##*/}"
81818 }
81819
81820 # func_dirname_and_basename file append nondir_replacement
81821 # perform func_basename and func_dirname in a single function
81822 # call:
81823 # dirname: Compute the dirname of FILE. If nonempty,
81824 # add APPEND to the result, otherwise set result
81825 # to NONDIR_REPLACEMENT.
81826 # value returned in "$func_dirname_result"
81827 # basename: Compute filename of FILE.
81828 # value retuned in "$func_basename_result"
81829 # Implementation must be kept synchronized with func_dirname
81830 # and func_basename. For efficiency, we do not delegate to
81831 # those functions but instead duplicate the functionality here.
81832 func_dirname_and_basename ()
81833 {
81834 case ${1} in
81835 */*) func_dirname_result="${1%/*}${2}" ;;
81836 * ) func_dirname_result="${3}" ;;
81837 esac
81838 func_basename_result="${1##*/}"
81839 }
81840
81841 # func_stripname prefix suffix name
81842 # strip PREFIX and SUFFIX off of NAME.
81843 # PREFIX and SUFFIX must not contain globbing or regex special
81844 # characters, hashes, percent signs, but SUFFIX may contain a leading
81845 # dot (in which case that matches only a dot).
81846 func_stripname ()
81847 {
81848 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81849 # positional parameters, so assign one to ordinary parameter first.
81850 func_stripname_result=${3}
81851 func_stripname_result=${func_stripname_result#"${1}"}
81852 func_stripname_result=${func_stripname_result%"${2}"}
81853 }
81854
81855 # func_opt_split
81856 func_opt_split ()
81857 {
81858 func_opt_split_opt=${1%%=*}
81859 func_opt_split_arg=${1#*=}
81860 }
81861
81862 # func_lo2o object
81863 func_lo2o ()
81864 {
81865 case ${1} in
81866 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81867 *) func_lo2o_result=${1} ;;
81868 esac
81869 }
81870
81871 # func_xform libobj-or-source
81872 func_xform ()
81873 {
81874 func_xform_result=${1%.*}.lo
81875 }
81876
81877 # func_arith arithmetic-term...
81878 func_arith ()
81879 {
81880 func_arith_result=$(( $* ))
81881 }
81882
81883 # func_len string
81884 # STRING may not start with a hyphen.
81885 func_len ()
81886 {
81887 func_len_result=${#1}
81888 }
81889
81890 _LT_EOF
81891 ;;
81892 *) # Bourne compatible functions.
81893 cat << \_LT_EOF >> "$cfgfile"
81894
81895 # func_dirname file append nondir_replacement
81896 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81897 # otherwise set result to NONDIR_REPLACEMENT.
81898 func_dirname ()
81899 {
81900 # Extract subdirectory from the argument.
81901 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81902 if test "X$func_dirname_result" = "X${1}"; then
81903 func_dirname_result="${3}"
81904 else
81905 func_dirname_result="$func_dirname_result${2}"
81906 fi
81907 }
81908
81909 # func_basename file
81910 func_basename ()
81911 {
81912 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
81913 }
81914
81915
81916 # func_stripname prefix suffix name
81917 # strip PREFIX and SUFFIX off of NAME.
81918 # PREFIX and SUFFIX must not contain globbing or regex special
81919 # characters, hashes, percent signs, but SUFFIX may contain a leading
81920 # dot (in which case that matches only a dot).
81921 # func_strip_suffix prefix name
81922 func_stripname ()
81923 {
81924 case ${2} in
81925 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
81926 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
81927 esac
81928 }
81929
81930 # sed scripts:
81931 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
81932 my_sed_long_arg='1s/^-[^=]*=//'
81933
81934 # func_opt_split
81935 func_opt_split ()
81936 {
81937 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
81938 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
81939 }
81940
81941 # func_lo2o object
81942 func_lo2o ()
81943 {
81944 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
81945 }
81946
81947 # func_xform libobj-or-source
81948 func_xform ()
81949 {
81950 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
81951 }
81952
81953 # func_arith arithmetic-term...
81954 func_arith ()
81955 {
81956 func_arith_result=`expr "$@"`
81957 }
81958
81959 # func_len string
81960 # STRING may not start with a hyphen.
81961 func_len ()
81962 {
81963 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
81964 }
81965
81966 _LT_EOF
81967 esac
81968
81969 case $lt_shell_append in
81970 yes)
81971 cat << \_LT_EOF >> "$cfgfile"
81972
81973 # func_append var value
81974 # Append VALUE to the end of shell variable VAR.
81975 func_append ()
81976 {
81977 eval "$1+=\$2"
81978 }
81979 _LT_EOF
81980 ;;
81981 *)
81982 cat << \_LT_EOF >> "$cfgfile"
81983
81984 # func_append var value
81985 # Append VALUE to the end of shell variable VAR.
81986 func_append ()
81987 {
81988 eval "$1=\$$1\$2"
81989 }
81990
81991 _LT_EOF
81992 ;;
81993 esac
81994
81995
81996 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
81997 || (rm -f "$cfgfile"; exit 1)
81998
81999 mv -f "$cfgfile" "$ofile" ||
82000 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82001 chmod +x "$ofile"
82002
82003
82004 cat <<_LT_EOF >> "$ofile"
82005
82006 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82007
82008 # The linker used to build libraries.
82009 LD=$lt_LD_CXX
82010
82011 # How to create reloadable object files.
82012 reload_flag=$lt_reload_flag_CXX
82013 reload_cmds=$lt_reload_cmds_CXX
82014
82015 # Commands used to build an old-style archive.
82016 old_archive_cmds=$lt_old_archive_cmds_CXX
82017
82018 # A language specific compiler.
82019 CC=$lt_compiler_CXX
82020
82021 # Is the compiler the GNU compiler?
82022 with_gcc=$GCC_CXX
82023
82024 # Compiler flag to turn off builtin functions.
82025 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82026
82027 # How to pass a linker flag through the compiler.
82028 wl=$lt_lt_prog_compiler_wl_CXX
82029
82030 # Additional compiler flags for building library objects.
82031 pic_flag=$lt_lt_prog_compiler_pic_CXX
82032
82033 # Compiler flag to prevent dynamic linking.
82034 link_static_flag=$lt_lt_prog_compiler_static_CXX
82035
82036 # Does compiler simultaneously support -c and -o options?
82037 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82038
82039 # Whether or not to add -lc for building shared libraries.
82040 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82041
82042 # Whether or not to disallow shared libs when runtime libs are static.
82043 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82044
82045 # Compiler flag to allow reflexive dlopens.
82046 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82047
82048 # Compiler flag to generate shared objects directly from archives.
82049 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82050
82051 # Whether the compiler copes with passing no objects directly.
82052 compiler_needs_object=$lt_compiler_needs_object_CXX
82053
82054 # Create an old-style archive from a shared archive.
82055 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82056
82057 # Create a temporary old-style archive to link instead of a shared archive.
82058 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82059
82060 # Commands used to build a shared archive.
82061 archive_cmds=$lt_archive_cmds_CXX
82062 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82063
82064 # Commands used to build a loadable module if different from building
82065 # a shared archive.
82066 module_cmds=$lt_module_cmds_CXX
82067 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82068
82069 # Whether we are building with GNU ld or not.
82070 with_gnu_ld=$lt_with_gnu_ld_CXX
82071
82072 # Flag that allows shared libraries with undefined symbols to be built.
82073 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82074
82075 # Flag that enforces no undefined symbols.
82076 no_undefined_flag=$lt_no_undefined_flag_CXX
82077
82078 # Flag to hardcode \$libdir into a binary during linking.
82079 # This must work even if \$libdir does not exist
82080 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82081
82082 # If ld is used when linking, flag to hardcode \$libdir into a binary
82083 # during linking. This must work even if \$libdir does not exist.
82084 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82085
82086 # Whether we need a single "-rpath" flag with a separated argument.
82087 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82088
82089 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82090 # DIR into the resulting binary.
82091 hardcode_direct=$hardcode_direct_CXX
82092
82093 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82094 # DIR into the resulting binary and the resulting library dependency is
82095 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82096 # library is relocated.
82097 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82098
82099 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82100 # into the resulting binary.
82101 hardcode_minus_L=$hardcode_minus_L_CXX
82102
82103 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82104 # into the resulting binary.
82105 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82106
82107 # Set to "yes" if building a shared library automatically hardcodes DIR
82108 # into the library and all subsequent libraries and executables linked
82109 # against it.
82110 hardcode_automatic=$hardcode_automatic_CXX
82111
82112 # Set to yes if linker adds runtime paths of dependent libraries
82113 # to runtime path list.
82114 inherit_rpath=$inherit_rpath_CXX
82115
82116 # Whether libtool must link a program against all its dependency libraries.
82117 link_all_deplibs=$link_all_deplibs_CXX
82118
82119 # Fix the shell variable \$srcfile for the compiler.
82120 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82121
82122 # Set to "yes" if exported symbols are required.
82123 always_export_symbols=$always_export_symbols_CXX
82124
82125 # The commands to list exported symbols.
82126 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82127
82128 # Symbols that should not be listed in the preloaded symbols.
82129 exclude_expsyms=$lt_exclude_expsyms_CXX
82130
82131 # Symbols that must always be exported.
82132 include_expsyms=$lt_include_expsyms_CXX
82133
82134 # Commands necessary for linking programs (against libraries) with templates.
82135 prelink_cmds=$lt_prelink_cmds_CXX
82136
82137 # Specify filename containing input files.
82138 file_list_spec=$lt_file_list_spec_CXX
82139
82140 # How to hardcode a shared library path into an executable.
82141 hardcode_action=$hardcode_action_CXX
82142
82143 # The directories searched by this compiler when creating a shared library.
82144 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82145
82146 # Dependencies to place before and after the objects being linked to
82147 # create a shared library.
82148 predep_objects=$lt_predep_objects_CXX
82149 postdep_objects=$lt_postdep_objects_CXX
82150 predeps=$lt_predeps_CXX
82151 postdeps=$lt_postdeps_CXX
82152
82153 # The library search path used internally by the compiler when linking
82154 # a shared library.
82155 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82156
82157 # ### END LIBTOOL TAG CONFIG: CXX
82158 _LT_EOF
82159
82160 ;;
82161 "include/gstdint.h":C)
82162 if test "$GCC" = yes; then
82163 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82164 else
82165 echo "/* generated for $CC */" > tmp-stdint.h
82166 fi
82167
82168 sed 's/^ *//' >> tmp-stdint.h <<EOF
82169
82170 #ifndef GCC_GENERATED_STDINT_H
82171 #define GCC_GENERATED_STDINT_H 1
82172
82173 #include <sys/types.h>
82174 EOF
82175
82176 if test "$acx_cv_header_stdint" != stdint.h; then
82177 echo "#include <stddef.h>" >> tmp-stdint.h
82178 fi
82179 if test "$acx_cv_header_stdint" != stddef.h; then
82180 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82181 fi
82182
82183 sed 's/^ *//' >> tmp-stdint.h <<EOF
82184 /* glibc uses these symbols as guards to prevent redefinitions. */
82185 #ifdef __int8_t_defined
82186 #define _INT8_T
82187 #define _INT16_T
82188 #define _INT32_T
82189 #endif
82190 #ifdef __uint32_t_defined
82191 #define _UINT32_T
82192 #endif
82193
82194 EOF
82195
82196 # ----------------- done header, emit basic int types -------------
82197 if test "$acx_cv_header_stdint" = stddef.h; then
82198 sed 's/^ *//' >> tmp-stdint.h <<EOF
82199
82200 #ifndef _UINT8_T
82201 #define _UINT8_T
82202 #ifndef __uint8_t_defined
82203 #define __uint8_t_defined
82204 #ifndef uint8_t
82205 typedef unsigned $acx_cv_type_int8_t uint8_t;
82206 #endif
82207 #endif
82208 #endif
82209
82210 #ifndef _UINT16_T
82211 #define _UINT16_T
82212 #ifndef __uint16_t_defined
82213 #define __uint16_t_defined
82214 #ifndef uint16_t
82215 typedef unsigned $acx_cv_type_int16_t uint16_t;
82216 #endif
82217 #endif
82218 #endif
82219
82220 #ifndef _UINT32_T
82221 #define _UINT32_T
82222 #ifndef __uint32_t_defined
82223 #define __uint32_t_defined
82224 #ifndef uint32_t
82225 typedef unsigned $acx_cv_type_int32_t uint32_t;
82226 #endif
82227 #endif
82228 #endif
82229
82230 #ifndef _INT8_T
82231 #define _INT8_T
82232 #ifndef __int8_t_defined
82233 #define __int8_t_defined
82234 #ifndef int8_t
82235 typedef $acx_cv_type_int8_t int8_t;
82236 #endif
82237 #endif
82238 #endif
82239
82240 #ifndef _INT16_T
82241 #define _INT16_T
82242 #ifndef __int16_t_defined
82243 #define __int16_t_defined
82244 #ifndef int16_t
82245 typedef $acx_cv_type_int16_t int16_t;
82246 #endif
82247 #endif
82248 #endif
82249
82250 #ifndef _INT32_T
82251 #define _INT32_T
82252 #ifndef __int32_t_defined
82253 #define __int32_t_defined
82254 #ifndef int32_t
82255 typedef $acx_cv_type_int32_t int32_t;
82256 #endif
82257 #endif
82258 #endif
82259 EOF
82260 elif test "$ac_cv_type_u_int32_t" = yes; then
82261 sed 's/^ *//' >> tmp-stdint.h <<EOF
82262
82263 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82264 #ifndef _INT8_T
82265 #define _INT8_T
82266 #endif
82267 #ifndef _INT16_T
82268 #define _INT16_T
82269 #endif
82270 #ifndef _INT32_T
82271 #define _INT32_T
82272 #endif
82273
82274 #ifndef _UINT8_T
82275 #define _UINT8_T
82276 #ifndef __uint8_t_defined
82277 #define __uint8_t_defined
82278 #ifndef uint8_t
82279 typedef u_int8_t uint8_t;
82280 #endif
82281 #endif
82282 #endif
82283
82284 #ifndef _UINT16_T
82285 #define _UINT16_T
82286 #ifndef __uint16_t_defined
82287 #define __uint16_t_defined
82288 #ifndef uint16_t
82289 typedef u_int16_t uint16_t;
82290 #endif
82291 #endif
82292 #endif
82293
82294 #ifndef _UINT32_T
82295 #define _UINT32_T
82296 #ifndef __uint32_t_defined
82297 #define __uint32_t_defined
82298 #ifndef uint32_t
82299 typedef u_int32_t uint32_t;
82300 #endif
82301 #endif
82302 #endif
82303 EOF
82304 else
82305 sed 's/^ *//' >> tmp-stdint.h <<EOF
82306
82307 /* Some systems have guard macros to prevent redefinitions, define them. */
82308 #ifndef _INT8_T
82309 #define _INT8_T
82310 #endif
82311 #ifndef _INT16_T
82312 #define _INT16_T
82313 #endif
82314 #ifndef _INT32_T
82315 #define _INT32_T
82316 #endif
82317 #ifndef _UINT8_T
82318 #define _UINT8_T
82319 #endif
82320 #ifndef _UINT16_T
82321 #define _UINT16_T
82322 #endif
82323 #ifndef _UINT32_T
82324 #define _UINT32_T
82325 #endif
82326 EOF
82327 fi
82328
82329 # ------------- done basic int types, emit int64_t types ------------
82330 if test "$ac_cv_type_uint64_t" = yes; then
82331 sed 's/^ *//' >> tmp-stdint.h <<EOF
82332
82333 /* system headers have good uint64_t and int64_t */
82334 #ifndef _INT64_T
82335 #define _INT64_T
82336 #endif
82337 #ifndef _UINT64_T
82338 #define _UINT64_T
82339 #endif
82340 EOF
82341 elif test "$ac_cv_type_u_int64_t" = yes; then
82342 sed 's/^ *//' >> tmp-stdint.h <<EOF
82343
82344 /* system headers have an u_int64_t (and int64_t) */
82345 #ifndef _INT64_T
82346 #define _INT64_T
82347 #endif
82348 #ifndef _UINT64_T
82349 #define _UINT64_T
82350 #ifndef __uint64_t_defined
82351 #define __uint64_t_defined
82352 #ifndef uint64_t
82353 typedef u_int64_t uint64_t;
82354 #endif
82355 #endif
82356 #endif
82357 EOF
82358 elif test -n "$acx_cv_type_int64_t"; then
82359 sed 's/^ *//' >> tmp-stdint.h <<EOF
82360
82361 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82362 #ifndef _INT64_T
82363 #define _INT64_T
82364 #ifndef int64_t
82365 typedef $acx_cv_type_int64_t int64_t;
82366 #endif
82367 #endif
82368 #ifndef _UINT64_T
82369 #define _UINT64_T
82370 #ifndef __uint64_t_defined
82371 #define __uint64_t_defined
82372 #ifndef uint64_t
82373 typedef unsigned $acx_cv_type_int64_t uint64_t;
82374 #endif
82375 #endif
82376 #endif
82377 EOF
82378 else
82379 sed 's/^ *//' >> tmp-stdint.h <<EOF
82380
82381 /* some common heuristics for int64_t, using compiler-specific tests */
82382 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82383 #ifndef _INT64_T
82384 #define _INT64_T
82385 #ifndef __int64_t_defined
82386 #ifndef int64_t
82387 typedef long long int64_t;
82388 #endif
82389 #endif
82390 #endif
82391 #ifndef _UINT64_T
82392 #define _UINT64_T
82393 #ifndef uint64_t
82394 typedef unsigned long long uint64_t;
82395 #endif
82396 #endif
82397
82398 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82399 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82400 does not implement __extension__. But that compiler doesn't define
82401 __GNUC_MINOR__. */
82402 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82403 # define __extension__
82404 # endif
82405
82406 # ifndef _INT64_T
82407 # define _INT64_T
82408 # ifndef int64_t
82409 __extension__ typedef long long int64_t;
82410 # endif
82411 # endif
82412 # ifndef _UINT64_T
82413 # define _UINT64_T
82414 # ifndef uint64_t
82415 __extension__ typedef unsigned long long uint64_t;
82416 # endif
82417 # endif
82418
82419 #elif !defined __STRICT_ANSI__
82420 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82421
82422 # ifndef _INT64_T
82423 # define _INT64_T
82424 # ifndef int64_t
82425 typedef __int64 int64_t;
82426 # endif
82427 # endif
82428 # ifndef _UINT64_T
82429 # define _UINT64_T
82430 # ifndef uint64_t
82431 typedef unsigned __int64 uint64_t;
82432 # endif
82433 # endif
82434 # endif /* compiler */
82435
82436 #endif /* ANSI version */
82437 EOF
82438 fi
82439
82440 # ------------- done int64_t types, emit intptr types ------------
82441 if test "$ac_cv_type_uintptr_t" != yes; then
82442 sed 's/^ *//' >> tmp-stdint.h <<EOF
82443
82444 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82445 #ifndef __uintptr_t_defined
82446 #ifndef uintptr_t
82447 typedef u$acx_cv_type_intptr_t uintptr_t;
82448 #endif
82449 #endif
82450 #ifndef __intptr_t_defined
82451 #ifndef intptr_t
82452 typedef $acx_cv_type_intptr_t intptr_t;
82453 #endif
82454 #endif
82455 EOF
82456 fi
82457
82458 # ------------- done intptr types, emit int_least types ------------
82459 if test "$ac_cv_type_int_least32_t" != yes; then
82460 sed 's/^ *//' >> tmp-stdint.h <<EOF
82461
82462 /* Define int_least types */
82463 typedef int8_t int_least8_t;
82464 typedef int16_t int_least16_t;
82465 typedef int32_t int_least32_t;
82466 #ifdef _INT64_T
82467 typedef int64_t int_least64_t;
82468 #endif
82469
82470 typedef uint8_t uint_least8_t;
82471 typedef uint16_t uint_least16_t;
82472 typedef uint32_t uint_least32_t;
82473 #ifdef _UINT64_T
82474 typedef uint64_t uint_least64_t;
82475 #endif
82476 EOF
82477 fi
82478
82479 # ------------- done intptr types, emit int_fast types ------------
82480 if test "$ac_cv_type_int_fast32_t" != yes; then
82481 sed 's/^ *//' >> tmp-stdint.h <<EOF
82482
82483 /* Define int_fast types. short is often slow */
82484 typedef int8_t int_fast8_t;
82485 typedef int int_fast16_t;
82486 typedef int32_t int_fast32_t;
82487 #ifdef _INT64_T
82488 typedef int64_t int_fast64_t;
82489 #endif
82490
82491 typedef uint8_t uint_fast8_t;
82492 typedef unsigned int uint_fast16_t;
82493 typedef uint32_t uint_fast32_t;
82494 #ifdef _UINT64_T
82495 typedef uint64_t uint_fast64_t;
82496 #endif
82497 EOF
82498 fi
82499
82500 if test "$ac_cv_type_uintmax_t" != yes; then
82501 sed 's/^ *//' >> tmp-stdint.h <<EOF
82502
82503 /* Define intmax based on what we found */
82504 #ifndef intmax_t
82505 #ifdef _INT64_T
82506 typedef int64_t intmax_t;
82507 #else
82508 typedef long intmax_t;
82509 #endif
82510 #endif
82511 #ifndef uintmax_t
82512 #ifdef _UINT64_T
82513 typedef uint64_t uintmax_t;
82514 #else
82515 typedef unsigned long uintmax_t;
82516 #endif
82517 #endif
82518 EOF
82519 fi
82520
82521 sed 's/^ *//' >> tmp-stdint.h <<EOF
82522
82523 #endif /* GCC_GENERATED_STDINT_H */
82524 EOF
82525
82526 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82527 rm -f tmp-stdint.h
82528 else
82529 mv -f tmp-stdint.h include/gstdint.h
82530 fi
82531
82532 ;;
82533 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82534 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82535 "include/Makefile":F) cat > vpsed$$ << \_EOF
82536 s!`test -f '$<' || echo '$(srcdir)/'`!!
82537 _EOF
82538 sed -f vpsed$$ $ac_file > tmp$$
82539 mv tmp$$ $ac_file
82540 rm vpsed$$
82541 echo 'MULTISUBDIR =' >> $ac_file
82542 ml_norecursion=yes
82543 . ${multi_basedir}/config-ml.in
82544 { ml_norecursion=; unset ml_norecursion;}
82545 ;;
82546 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82547 s!`test -f '$<' || echo '$(srcdir)/'`!!
82548 _EOF
82549 sed -f vpsed$$ $ac_file > tmp$$
82550 mv tmp$$ $ac_file
82551 rm vpsed$$
82552 echo 'MULTISUBDIR =' >> $ac_file
82553 ml_norecursion=yes
82554 . ${multi_basedir}/config-ml.in
82555 { ml_norecursion=; unset ml_norecursion;}
82556 ;;
82557 "python/Makefile":F) cat > vpsed$$ << \_EOF
82558 s!`test -f '$<' || echo '$(srcdir)/'`!!
82559 _EOF
82560 sed -f vpsed$$ $ac_file > tmp$$
82561 mv tmp$$ $ac_file
82562 rm vpsed$$
82563 echo 'MULTISUBDIR =' >> $ac_file
82564 ml_norecursion=yes
82565 . ${multi_basedir}/config-ml.in
82566 { ml_norecursion=; unset ml_norecursion;}
82567 ;;
82568 "src/Makefile":F) cat > vpsed$$ << \_EOF
82569 s!`test -f '$<' || echo '$(srcdir)/'`!!
82570 _EOF
82571 sed -f vpsed$$ $ac_file > tmp$$
82572 mv tmp$$ $ac_file
82573 rm vpsed$$
82574 echo 'MULTISUBDIR =' >> $ac_file
82575 ml_norecursion=yes
82576 . ${multi_basedir}/config-ml.in
82577 { ml_norecursion=; unset ml_norecursion;}
82578 ;;
82579 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82580 s!`test -f '$<' || echo '$(srcdir)/'`!!
82581 _EOF
82582 sed -f vpsed$$ $ac_file > tmp$$
82583 mv tmp$$ $ac_file
82584 rm vpsed$$
82585 echo 'MULTISUBDIR =' >> $ac_file
82586 ml_norecursion=yes
82587 . ${multi_basedir}/config-ml.in
82588 { ml_norecursion=; unset ml_norecursion;}
82589 ;;
82590 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82591 s!`test -f '$<' || echo '$(srcdir)/'`!!
82592 _EOF
82593 sed -f vpsed$$ $ac_file > tmp$$
82594 mv tmp$$ $ac_file
82595 rm vpsed$$
82596 echo 'MULTISUBDIR =' >> $ac_file
82597 ml_norecursion=yes
82598 . ${multi_basedir}/config-ml.in
82599 { ml_norecursion=; unset ml_norecursion;}
82600 ;;
82601 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82602 s!`test -f '$<' || echo '$(srcdir)/'`!!
82603 _EOF
82604 sed -f vpsed$$ $ac_file > tmp$$
82605 mv tmp$$ $ac_file
82606 rm vpsed$$
82607 echo 'MULTISUBDIR =' >> $ac_file
82608 ml_norecursion=yes
82609 . ${multi_basedir}/config-ml.in
82610 { ml_norecursion=; unset ml_norecursion;}
82611 ;;
82612 "po/Makefile":F) cat > vpsed$$ << \_EOF
82613 s!`test -f '$<' || echo '$(srcdir)/'`!!
82614 _EOF
82615 sed -f vpsed$$ $ac_file > tmp$$
82616 mv tmp$$ $ac_file
82617 rm vpsed$$
82618 echo 'MULTISUBDIR =' >> $ac_file
82619 ml_norecursion=yes
82620 . ${multi_basedir}/config-ml.in
82621 { ml_norecursion=; unset ml_norecursion;}
82622 ;;
82623 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82624 s!`test -f '$<' || echo '$(srcdir)/'`!!
82625 _EOF
82626 sed -f vpsed$$ $ac_file > tmp$$
82627 mv tmp$$ $ac_file
82628 rm vpsed$$
82629 echo 'MULTISUBDIR =' >> $ac_file
82630 ml_norecursion=yes
82631 . ${multi_basedir}/config-ml.in
82632 { ml_norecursion=; unset ml_norecursion;}
82633 ;;
82634 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82635
82636 esac
82637 done # for ac_tag
82638
82639
82640 as_fn_exit 0
82641 _ACEOF
82642 ac_clean_files=$ac_clean_files_save
82643
82644 test $ac_write_fail = 0 ||
82645 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82646
82647
82648 # configure is writing to config.log, and then calls config.status.
82649 # config.status does its own redirection, appending to config.log.
82650 # Unfortunately, on DOS this fails, as config.log is still kept open
82651 # by configure, so config.status won't be able to write to it; its
82652 # output is simply discarded. So we exec the FD to /dev/null,
82653 # effectively closing config.log, so it can be properly (re)opened and
82654 # appended to by config.status. When coming back to configure, we
82655 # need to make the FD available again.
82656 if test "$no_create" != yes; then
82657 ac_cs_success=:
82658 ac_config_status_args=
82659 test "$silent" = yes &&
82660 ac_config_status_args="$ac_config_status_args --quiet"
82661 exec 5>/dev/null
82662 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82663 exec 5>>config.log
82664 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82665 # would make configure fail if this is the last instruction.
82666 $ac_cs_success || as_fn_exit $?
82667 fi
82668 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82670 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
82671 fi
82672