[AARCH64]Fix TLS local exec model addressing code generation inconsistency.
[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_CXX11_ABI_FALSE
647 ENABLE_CXX11_ABI_TRUE
648 glibcxx_cxx98_abi
649 ENABLE_DUAL_ABI_FALSE
650 ENABLE_DUAL_ABI_TRUE
651 ENABLE_VISIBILITY_FALSE
652 ENABLE_VISIBILITY_TRUE
653 libtool_VERSION
654 ENABLE_SYMVERS_SUN_FALSE
655 ENABLE_SYMVERS_SUN_TRUE
656 ENABLE_SYMVERS_DARWIN_FALSE
657 ENABLE_SYMVERS_DARWIN_TRUE
658 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
659 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
660 ENABLE_SYMVERS_GNU_FALSE
661 ENABLE_SYMVERS_GNU_TRUE
662 ENABLE_SYMVERS_FALSE
663 ENABLE_SYMVERS_TRUE
664 port_specific_symbol_files
665 SYMVER_FILE
666 CXXFILT
667 LTLIBICONV
668 LIBICONV
669 OPT_LDFLAGS
670 SECTION_LDFLAGS
671 GLIBCXX_LIBS
672 ENABLE_VTABLE_VERIFY_FALSE
673 ENABLE_VTABLE_VERIFY_TRUE
674 VTV_CXXLINKFLAGS
675 VTV_PCH_CXXFLAGS
676 VTV_CXXFLAGS
677 ENABLE_WERROR_FALSE
678 ENABLE_WERROR_TRUE
679 ENABLE_PYTHONDIR_FALSE
680 ENABLE_PYTHONDIR_TRUE
681 python_mod_dir
682 ENABLE_EXTERN_TEMPLATE_FALSE
683 ENABLE_EXTERN_TEMPLATE_TRUE
684 EXTRA_CXX_FLAGS
685 GLIBCXX_BUILD_DEBUG_FALSE
686 GLIBCXX_BUILD_DEBUG_TRUE
687 DEBUG_FLAGS
688 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
689 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
690 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
691 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
692 GLIBCXX_C_HEADERS_C_STD_FALSE
693 GLIBCXX_C_HEADERS_C_STD_TRUE
694 GLIBCXX_C_HEADERS_C_FALSE
695 GLIBCXX_C_HEADERS_C_TRUE
696 C_INCLUDE_DIR
697 ALLOCATOR_NAME
698 ALLOCATOR_H
699 CLOCALE_INTERNAL_H
700 CLOCALE_CC
701 CTIME_CC
702 CTIME_H
703 CNUMERIC_CC
704 CMONEY_CC
705 CMESSAGES_CC
706 CCTYPE_CC
707 CCOLLATE_CC
708 CCODECVT_CC
709 CMESSAGES_H
710 CLOCALE_H
711 USE_NLS
712 glibcxx_localedir
713 glibcxx_POFILES
714 glibcxx_MOFILES
715 check_msgfmt
716 BASIC_FILE_CC
717 BASIC_FILE_H
718 CSTDIO_H
719 SECTION_FLAGS
720 WERROR
721 thread_header
722 glibcxx_PCHFLAGS
723 GLIBCXX_BUILD_PCH_FALSE
724 GLIBCXX_BUILD_PCH_TRUE
725 GLIBCXX_HOSTED_FALSE
726 GLIBCXX_HOSTED_TRUE
727 glibcxx_compiler_shared_flag
728 glibcxx_compiler_pic_flag
729 glibcxx_lt_pic_flag
730 enable_static
731 enable_shared
732 lt_host_flags
733 CXXCPP
734 OTOOL64
735 OTOOL
736 LIPO
737 NMEDIT
738 DSYMUTIL
739 OBJDUMP
740 NM
741 ac_ct_DUMPBIN
742 DUMPBIN
743 LD
744 FGREP
745 SED
746 LIBTOOL
747 EGREP
748 GREP
749 CPP
750 MAINT
751 MAINTAINER_MODE_FALSE
752 MAINTAINER_MODE_TRUE
753 RANLIB
754 AR
755 AS
756 LN_S
757 toplevel_srcdir
758 toplevel_builddir
759 glibcxx_srcdir
760 glibcxx_builddir
761 ac_ct_CXX
762 CXXFLAGS
763 CXX
764 OBJEXT
765 EXEEXT
766 ac_ct_CC
767 CPPFLAGS
768 LDFLAGS
769 CFLAGS
770 CC
771 am__untar
772 am__tar
773 AMTAR
774 am__leading_dot
775 SET_MAKE
776 AWK
777 mkdir_p
778 MKDIR_P
779 INSTALL_STRIP_PROGRAM
780 STRIP
781 install_sh
782 MAKEINFO
783 AUTOHEADER
784 AUTOMAKE
785 AUTOCONF
786 ACLOCAL
787 VERSION
788 PACKAGE
789 CYGPATH_W
790 am__isrc
791 INSTALL_DATA
792 INSTALL_SCRIPT
793 INSTALL_PROGRAM
794 target_os
795 target_vendor
796 target_cpu
797 target
798 host_os
799 host_vendor
800 host_cpu
801 host
802 build_os
803 build_vendor
804 build_cpu
805 build
806 multi_basedir
807 target_alias
808 host_alias
809 build_alias
810 LIBS
811 ECHO_T
812 ECHO_N
813 ECHO_C
814 DEFS
815 mandir
816 localedir
817 libdir
818 psdir
819 pdfdir
820 dvidir
821 htmldir
822 infodir
823 docdir
824 oldincludedir
825 includedir
826 localstatedir
827 sharedstatedir
828 sysconfdir
829 datadir
830 datarootdir
831 libexecdir
832 sbindir
833 bindir
834 program_transform_name
835 prefix
836 exec_prefix
837 PACKAGE_URL
838 PACKAGE_BUGREPORT
839 PACKAGE_STRING
840 PACKAGE_VERSION
841 PACKAGE_TARNAME
842 PACKAGE_NAME
843 PATH_SEPARATOR
844 SHELL'
845 ac_subst_files=''
846 ac_user_opts='
847 enable_option_checking
848 enable_multilib
849 with_target_subdir
850 with_cross_host
851 with_newlib
852 enable_maintainer_mode
853 enable_shared
854 enable_static
855 with_pic
856 enable_fast_install
857 with_gnu_ld
858 enable_libtool_lock
859 enable_hosted_libstdcxx
860 enable_libstdcxx_verbose
861 enable_sjlj_exceptions
862 enable_libstdcxx_pch
863 enable_cstdio
864 enable_clocale
865 enable_nls
866 enable_libstdcxx_allocator
867 enable_cheaders
868 enable_long_long
869 enable_wchar_t
870 enable_c99
871 enable_concept_checks
872 enable_libstdcxx_debug_flags
873 enable_libstdcxx_debug
874 enable_cxx_flags
875 enable_fully_dynamic_string
876 enable_extern_template
877 with_python_dir
878 enable_werror
879 enable_vtable_verify
880 enable_libstdcxx_time
881 enable_tls
882 enable_rpath
883 with_libiconv_prefix
884 with_system_libunwind
885 enable_linux_futex
886 enable_symvers
887 enable_libstdcxx_visibility
888 enable_libstdcxx_dual_abi
889 with_default_libstdcxx_abi
890 enable_libstdcxx_threads
891 with_gxx_include_dir
892 enable_version_specific_runtime_libs
893 '
894 ac_precious_vars='build_alias
895 host_alias
896 target_alias
897 CC
898 CFLAGS
899 LDFLAGS
900 LIBS
901 CPPFLAGS
902 CXX
903 CXXFLAGS
904 CCC
905 CPP
906 CXXCPP
907 CXXFILT'
908
909
910 # Initialize some variables set by options.
911 ac_init_help=
912 ac_init_version=false
913 ac_unrecognized_opts=
914 ac_unrecognized_sep=
915 # The variables have the same names as the options, with
916 # dashes changed to underlines.
917 cache_file=/dev/null
918 exec_prefix=NONE
919 no_create=
920 no_recursion=
921 prefix=NONE
922 program_prefix=NONE
923 program_suffix=NONE
924 program_transform_name=s,x,x,
925 silent=
926 site=
927 srcdir=
928 verbose=
929 x_includes=NONE
930 x_libraries=NONE
931
932 # Installation directory options.
933 # These are left unexpanded so users can "make install exec_prefix=/foo"
934 # and all the variables that are supposed to be based on exec_prefix
935 # by default will actually change.
936 # Use braces instead of parens because sh, perl, etc. also accept them.
937 # (The list follows the same order as the GNU Coding Standards.)
938 bindir='${exec_prefix}/bin'
939 sbindir='${exec_prefix}/sbin'
940 libexecdir='${exec_prefix}/libexec'
941 datarootdir='${prefix}/share'
942 datadir='${datarootdir}'
943 sysconfdir='${prefix}/etc'
944 sharedstatedir='${prefix}/com'
945 localstatedir='${prefix}/var'
946 includedir='${prefix}/include'
947 oldincludedir='/usr/include'
948 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
949 infodir='${datarootdir}/info'
950 htmldir='${docdir}'
951 dvidir='${docdir}'
952 pdfdir='${docdir}'
953 psdir='${docdir}'
954 libdir='${exec_prefix}/lib'
955 localedir='${datarootdir}/locale'
956 mandir='${datarootdir}/man'
957
958 ac_prev=
959 ac_dashdash=
960 for ac_option
961 do
962 # If the previous option needs an argument, assign it.
963 if test -n "$ac_prev"; then
964 eval $ac_prev=\$ac_option
965 ac_prev=
966 continue
967 fi
968
969 case $ac_option in
970 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
971 *) ac_optarg=yes ;;
972 esac
973
974 # Accept the important Cygnus configure options, so we can diagnose typos.
975
976 case $ac_dashdash$ac_option in
977 --)
978 ac_dashdash=yes ;;
979
980 -bindir | --bindir | --bindi | --bind | --bin | --bi)
981 ac_prev=bindir ;;
982 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
983 bindir=$ac_optarg ;;
984
985 -build | --build | --buil | --bui | --bu)
986 ac_prev=build_alias ;;
987 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
988 build_alias=$ac_optarg ;;
989
990 -cache-file | --cache-file | --cache-fil | --cache-fi \
991 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
992 ac_prev=cache_file ;;
993 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
994 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
995 cache_file=$ac_optarg ;;
996
997 --config-cache | -C)
998 cache_file=config.cache ;;
999
1000 -datadir | --datadir | --datadi | --datad)
1001 ac_prev=datadir ;;
1002 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1003 datadir=$ac_optarg ;;
1004
1005 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1006 | --dataroo | --dataro | --datar)
1007 ac_prev=datarootdir ;;
1008 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1009 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1010 datarootdir=$ac_optarg ;;
1011
1012 -disable-* | --disable-*)
1013 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1014 # Reject names that are not valid shell variable names.
1015 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1016 as_fn_error "invalid feature name: $ac_useropt"
1017 ac_useropt_orig=$ac_useropt
1018 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1019 case $ac_user_opts in
1020 *"
1021 "enable_$ac_useropt"
1022 "*) ;;
1023 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1024 ac_unrecognized_sep=', ';;
1025 esac
1026 eval enable_$ac_useropt=no ;;
1027
1028 -docdir | --docdir | --docdi | --doc | --do)
1029 ac_prev=docdir ;;
1030 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1031 docdir=$ac_optarg ;;
1032
1033 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1034 ac_prev=dvidir ;;
1035 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1036 dvidir=$ac_optarg ;;
1037
1038 -enable-* | --enable-*)
1039 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1040 # Reject names that are not valid shell variable names.
1041 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1042 as_fn_error "invalid feature name: $ac_useropt"
1043 ac_useropt_orig=$ac_useropt
1044 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1045 case $ac_user_opts in
1046 *"
1047 "enable_$ac_useropt"
1048 "*) ;;
1049 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1050 ac_unrecognized_sep=', ';;
1051 esac
1052 eval enable_$ac_useropt=\$ac_optarg ;;
1053
1054 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1055 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1056 | --exec | --exe | --ex)
1057 ac_prev=exec_prefix ;;
1058 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1059 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1060 | --exec=* | --exe=* | --ex=*)
1061 exec_prefix=$ac_optarg ;;
1062
1063 -gas | --gas | --ga | --g)
1064 # Obsolete; use --with-gas.
1065 with_gas=yes ;;
1066
1067 -help | --help | --hel | --he | -h)
1068 ac_init_help=long ;;
1069 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1070 ac_init_help=recursive ;;
1071 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1072 ac_init_help=short ;;
1073
1074 -host | --host | --hos | --ho)
1075 ac_prev=host_alias ;;
1076 -host=* | --host=* | --hos=* | --ho=*)
1077 host_alias=$ac_optarg ;;
1078
1079 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1080 ac_prev=htmldir ;;
1081 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1082 | --ht=*)
1083 htmldir=$ac_optarg ;;
1084
1085 -includedir | --includedir | --includedi | --included | --include \
1086 | --includ | --inclu | --incl | --inc)
1087 ac_prev=includedir ;;
1088 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1089 | --includ=* | --inclu=* | --incl=* | --inc=*)
1090 includedir=$ac_optarg ;;
1091
1092 -infodir | --infodir | --infodi | --infod | --info | --inf)
1093 ac_prev=infodir ;;
1094 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1095 infodir=$ac_optarg ;;
1096
1097 -libdir | --libdir | --libdi | --libd)
1098 ac_prev=libdir ;;
1099 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1100 libdir=$ac_optarg ;;
1101
1102 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1103 | --libexe | --libex | --libe)
1104 ac_prev=libexecdir ;;
1105 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1106 | --libexe=* | --libex=* | --libe=*)
1107 libexecdir=$ac_optarg ;;
1108
1109 -localedir | --localedir | --localedi | --localed | --locale)
1110 ac_prev=localedir ;;
1111 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1112 localedir=$ac_optarg ;;
1113
1114 -localstatedir | --localstatedir | --localstatedi | --localstated \
1115 | --localstate | --localstat | --localsta | --localst | --locals)
1116 ac_prev=localstatedir ;;
1117 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1118 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1119 localstatedir=$ac_optarg ;;
1120
1121 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1122 ac_prev=mandir ;;
1123 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1124 mandir=$ac_optarg ;;
1125
1126 -nfp | --nfp | --nf)
1127 # Obsolete; use --without-fp.
1128 with_fp=no ;;
1129
1130 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1131 | --no-cr | --no-c | -n)
1132 no_create=yes ;;
1133
1134 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1135 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1136 no_recursion=yes ;;
1137
1138 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1139 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1140 | --oldin | --oldi | --old | --ol | --o)
1141 ac_prev=oldincludedir ;;
1142 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1143 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1144 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1145 oldincludedir=$ac_optarg ;;
1146
1147 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1148 ac_prev=prefix ;;
1149 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1150 prefix=$ac_optarg ;;
1151
1152 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1153 | --program-pre | --program-pr | --program-p)
1154 ac_prev=program_prefix ;;
1155 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1156 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1157 program_prefix=$ac_optarg ;;
1158
1159 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1160 | --program-suf | --program-su | --program-s)
1161 ac_prev=program_suffix ;;
1162 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1163 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1164 program_suffix=$ac_optarg ;;
1165
1166 -program-transform-name | --program-transform-name \
1167 | --program-transform-nam | --program-transform-na \
1168 | --program-transform-n | --program-transform- \
1169 | --program-transform | --program-transfor \
1170 | --program-transfo | --program-transf \
1171 | --program-trans | --program-tran \
1172 | --progr-tra | --program-tr | --program-t)
1173 ac_prev=program_transform_name ;;
1174 -program-transform-name=* | --program-transform-name=* \
1175 | --program-transform-nam=* | --program-transform-na=* \
1176 | --program-transform-n=* | --program-transform-=* \
1177 | --program-transform=* | --program-transfor=* \
1178 | --program-transfo=* | --program-transf=* \
1179 | --program-trans=* | --program-tran=* \
1180 | --progr-tra=* | --program-tr=* | --program-t=*)
1181 program_transform_name=$ac_optarg ;;
1182
1183 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1184 ac_prev=pdfdir ;;
1185 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1186 pdfdir=$ac_optarg ;;
1187
1188 -psdir | --psdir | --psdi | --psd | --ps)
1189 ac_prev=psdir ;;
1190 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1191 psdir=$ac_optarg ;;
1192
1193 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1194 | -silent | --silent | --silen | --sile | --sil)
1195 silent=yes ;;
1196
1197 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1198 ac_prev=sbindir ;;
1199 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1200 | --sbi=* | --sb=*)
1201 sbindir=$ac_optarg ;;
1202
1203 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1204 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1205 | --sharedst | --shareds | --shared | --share | --shar \
1206 | --sha | --sh)
1207 ac_prev=sharedstatedir ;;
1208 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1209 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1210 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1211 | --sha=* | --sh=*)
1212 sharedstatedir=$ac_optarg ;;
1213
1214 -site | --site | --sit)
1215 ac_prev=site ;;
1216 -site=* | --site=* | --sit=*)
1217 site=$ac_optarg ;;
1218
1219 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1220 ac_prev=srcdir ;;
1221 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1222 srcdir=$ac_optarg ;;
1223
1224 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1225 | --syscon | --sysco | --sysc | --sys | --sy)
1226 ac_prev=sysconfdir ;;
1227 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1228 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1229 sysconfdir=$ac_optarg ;;
1230
1231 -target | --target | --targe | --targ | --tar | --ta | --t)
1232 ac_prev=target_alias ;;
1233 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1234 target_alias=$ac_optarg ;;
1235
1236 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1237 verbose=yes ;;
1238
1239 -version | --version | --versio | --versi | --vers | -V)
1240 ac_init_version=: ;;
1241
1242 -with-* | --with-*)
1243 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1244 # Reject names that are not valid shell variable names.
1245 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1246 as_fn_error "invalid package name: $ac_useropt"
1247 ac_useropt_orig=$ac_useropt
1248 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1249 case $ac_user_opts in
1250 *"
1251 "with_$ac_useropt"
1252 "*) ;;
1253 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1254 ac_unrecognized_sep=', ';;
1255 esac
1256 eval with_$ac_useropt=\$ac_optarg ;;
1257
1258 -without-* | --without-*)
1259 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1260 # Reject names that are not valid shell variable names.
1261 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1262 as_fn_error "invalid package name: $ac_useropt"
1263 ac_useropt_orig=$ac_useropt
1264 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1265 case $ac_user_opts in
1266 *"
1267 "with_$ac_useropt"
1268 "*) ;;
1269 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1270 ac_unrecognized_sep=', ';;
1271 esac
1272 eval with_$ac_useropt=no ;;
1273
1274 --x)
1275 # Obsolete; use --with-x.
1276 with_x=yes ;;
1277
1278 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1279 | --x-incl | --x-inc | --x-in | --x-i)
1280 ac_prev=x_includes ;;
1281 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1282 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1283 x_includes=$ac_optarg ;;
1284
1285 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1286 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1287 ac_prev=x_libraries ;;
1288 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1289 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1290 x_libraries=$ac_optarg ;;
1291
1292 -*) as_fn_error "unrecognized option: \`$ac_option'
1293 Try \`$0 --help' for more information."
1294 ;;
1295
1296 *=*)
1297 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1298 # Reject names that are not valid shell variable names.
1299 case $ac_envvar in #(
1300 '' | [0-9]* | *[!_$as_cr_alnum]* )
1301 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1302 esac
1303 eval $ac_envvar=\$ac_optarg
1304 export $ac_envvar ;;
1305
1306 *)
1307 # FIXME: should be removed in autoconf 3.0.
1308 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1309 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1310 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1311 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1312 ;;
1313
1314 esac
1315 done
1316
1317 if test -n "$ac_prev"; then
1318 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1319 as_fn_error "missing argument to $ac_option"
1320 fi
1321
1322 if test -n "$ac_unrecognized_opts"; then
1323 case $enable_option_checking in
1324 no) ;;
1325 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1326 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1327 esac
1328 fi
1329
1330 # Check all directory arguments for consistency.
1331 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1332 datadir sysconfdir sharedstatedir localstatedir includedir \
1333 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1334 libdir localedir mandir
1335 do
1336 eval ac_val=\$$ac_var
1337 # Remove trailing slashes.
1338 case $ac_val in
1339 */ )
1340 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1341 eval $ac_var=\$ac_val;;
1342 esac
1343 # Be sure to have absolute directory names.
1344 case $ac_val in
1345 [\\/$]* | ?:[\\/]* ) continue;;
1346 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1347 esac
1348 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1349 done
1350
1351 # There might be people who depend on the old broken behavior: `$host'
1352 # used to hold the argument of --host etc.
1353 # FIXME: To remove some day.
1354 build=$build_alias
1355 host=$host_alias
1356 target=$target_alias
1357
1358 # FIXME: To remove some day.
1359 if test "x$host_alias" != x; then
1360 if test "x$build_alias" = x; then
1361 cross_compiling=maybe
1362 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1363 If a cross compiler is detected then cross compile mode will be used." >&2
1364 elif test "x$build_alias" != "x$host_alias"; then
1365 cross_compiling=yes
1366 fi
1367 fi
1368
1369 ac_tool_prefix=
1370 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1371
1372 test "$silent" = yes && exec 6>/dev/null
1373
1374
1375 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1376 ac_ls_di=`ls -di .` &&
1377 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1378 as_fn_error "working directory cannot be determined"
1379 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1380 as_fn_error "pwd does not report name of working directory"
1381
1382
1383 # Find the source files, if location was not specified.
1384 if test -z "$srcdir"; then
1385 ac_srcdir_defaulted=yes
1386 # Try the directory containing this script, then the parent directory.
1387 ac_confdir=`$as_dirname -- "$as_myself" ||
1388 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1389 X"$as_myself" : 'X\(//\)[^/]' \| \
1390 X"$as_myself" : 'X\(//\)$' \| \
1391 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1392 $as_echo X"$as_myself" |
1393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1394 s//\1/
1395 q
1396 }
1397 /^X\(\/\/\)[^/].*/{
1398 s//\1/
1399 q
1400 }
1401 /^X\(\/\/\)$/{
1402 s//\1/
1403 q
1404 }
1405 /^X\(\/\).*/{
1406 s//\1/
1407 q
1408 }
1409 s/.*/./; q'`
1410 srcdir=$ac_confdir
1411 if test ! -r "$srcdir/$ac_unique_file"; then
1412 srcdir=..
1413 fi
1414 else
1415 ac_srcdir_defaulted=no
1416 fi
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1419 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1420 fi
1421 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1422 ac_abs_confdir=`(
1423 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1424 pwd)`
1425 # When building in place, set srcdir=.
1426 if test "$ac_abs_confdir" = "$ac_pwd"; then
1427 srcdir=.
1428 fi
1429 # Remove unnecessary trailing slashes from srcdir.
1430 # Double slashes in file names in object file debugging info
1431 # mess up M-x gdb in Emacs.
1432 case $srcdir in
1433 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1434 esac
1435 for ac_var in $ac_precious_vars; do
1436 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1437 eval ac_env_${ac_var}_value=\$${ac_var}
1438 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1439 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1440 done
1441
1442 #
1443 # Report the --help message.
1444 #
1445 if test "$ac_init_help" = "long"; then
1446 # Omit some internal or obsolete options to make the list less imposing.
1447 # This message is too long to be a string in the A/UX 3.1 sh.
1448 cat <<_ACEOF
1449 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1450
1451 Usage: $0 [OPTION]... [VAR=VALUE]...
1452
1453 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1454 VAR=VALUE. See below for descriptions of some of the useful variables.
1455
1456 Defaults for the options are specified in brackets.
1457
1458 Configuration:
1459 -h, --help display this help and exit
1460 --help=short display options specific to this package
1461 --help=recursive display the short help of all the included packages
1462 -V, --version display version information and exit
1463 -q, --quiet, --silent do not print \`checking...' messages
1464 --cache-file=FILE cache test results in FILE [disabled]
1465 -C, --config-cache alias for \`--cache-file=config.cache'
1466 -n, --no-create do not create output files
1467 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1468
1469 Installation directories:
1470 --prefix=PREFIX install architecture-independent files in PREFIX
1471 [$ac_default_prefix]
1472 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1473 [PREFIX]
1474
1475 By default, \`make install' will install all the files in
1476 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1477 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1478 for instance \`--prefix=\$HOME'.
1479
1480 For better control, use the options below.
1481
1482 Fine tuning of the installation directories:
1483 --bindir=DIR user executables [EPREFIX/bin]
1484 --sbindir=DIR system admin executables [EPREFIX/sbin]
1485 --libexecdir=DIR program executables [EPREFIX/libexec]
1486 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1487 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1488 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1489 --libdir=DIR object code libraries [EPREFIX/lib]
1490 --includedir=DIR C header files [PREFIX/include]
1491 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1492 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1493 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1494 --infodir=DIR info documentation [DATAROOTDIR/info]
1495 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1496 --mandir=DIR man documentation [DATAROOTDIR/man]
1497 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1498 --htmldir=DIR html documentation [DOCDIR]
1499 --dvidir=DIR dvi documentation [DOCDIR]
1500 --pdfdir=DIR pdf documentation [DOCDIR]
1501 --psdir=DIR ps documentation [DOCDIR]
1502 _ACEOF
1503
1504 cat <<\_ACEOF
1505
1506 Program names:
1507 --program-prefix=PREFIX prepend PREFIX to installed program names
1508 --program-suffix=SUFFIX append SUFFIX to installed program names
1509 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1510
1511 System types:
1512 --build=BUILD configure for building on BUILD [guessed]
1513 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1514 --target=TARGET configure for building compilers for TARGET [HOST]
1515 _ACEOF
1516 fi
1517
1518 if test -n "$ac_init_help"; then
1519 case $ac_init_help in
1520 short | recursive ) echo "Configuration of package-unused version-unused:";;
1521 esac
1522 cat <<\_ACEOF
1523
1524 Optional Features:
1525 --disable-option-checking ignore unrecognized --enable/--with options
1526 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1527 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1528 --enable-multilib build many library versions (default)
1529 --enable-maintainer-mode enable make rules and dependencies not useful
1530 (and sometimes confusing) to the casual installer
1531 --enable-shared[=PKGS] build shared libraries [default=yes]
1532 --enable-static[=PKGS] build static libraries [default=yes]
1533 --enable-fast-install[=PKGS]
1534 optimize for fast installation [default=yes]
1535 --disable-libtool-lock avoid locking (might break parallel builds)
1536 --disable-hosted-libstdcxx
1537 only build freestanding C++ runtime support
1538 --disable-libstdcxx-verbose
1539 disable termination messages to standard error
1540 --enable-sjlj-exceptions
1541 force use of builtin_setjmp for exceptions
1542 [default=auto]
1543 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1544 [default=$is_hosted]
1545 --enable-cstdio[=PACKAGE]
1546 use target-specific I/O package [default=stdio]
1547 --enable-clocale[=MODEL]
1548 use MODEL for target locale package [default=auto]
1549 --enable-nls use Native Language Support (default)
1550 --enable-libstdcxx-allocator[=KIND]
1551 use KIND for target std::allocator base
1552 [default=auto]
1553 --enable-cheaders[=KIND]
1554 construct "C" headers for g++ [default=$c_model]
1555 --enable-long-long enable template specializations for 'long long'
1556 [default=yes]
1557 --enable-wchar_t enable template specializations for 'wchar_t'
1558 [default=yes]
1559 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1560 --enable-concept-checks use Boost-derived template checks [default=no]
1561 --enable-libstdcxx-debug-flags=FLAGS
1562 pass compiler FLAGS when building debug library
1563 [default="-gdwarf-4 -g3 -O0"]
1564 --enable-libstdcxx-debug
1565 build extra debug library [default=no]
1566 --enable-cxx-flags=FLAGS
1567 pass compiler FLAGS when building library [default=]
1568 --enable-fully-dynamic-string
1569 do not put empty strings in per-process static
1570 memory [default=no]
1571 --enable-extern-template
1572 enable extern template [default=yes]
1573 --enable-werror turns on -Werror [default=yes]
1574 --enable-vtable-verify enable vtable verify [default=no]
1575 --enable-libstdcxx-time[=KIND]
1576 use KIND for check type [default=auto]
1577 --enable-tls Use thread-local storage [default=yes]
1578 --disable-rpath do not hardcode runtime library paths
1579 --enable-linux-futex use the Linux futex system call [default=default]
1580 --enable-symvers[=STYLE]
1581 enables symbol versioning of the shared library
1582 [default=yes]
1583 --enable-libstdcxx-visibility
1584 enables visibility safe usage [default=yes]
1585 --enable-libstdcxx-dual-abi
1586 support two versions of std::string [default=yes]
1587 --enable-libstdcxx-threads
1588 enable C++11 threads support [default=auto]
1589 --enable-version-specific-runtime-libs
1590 Specify that runtime libraries should be installed
1591 in a compiler-specific directory
1592
1593 Optional Packages:
1594 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1595 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1596 --with-target-subdir=SUBDIR
1597 configuring in a subdirectory
1598 --with-cross-host=HOST configuring with a cross compiler
1599 --with-newlib assume newlib as a system C library
1600 --with-pic try to use only PIC/non-PIC objects [default=use
1601 both]
1602 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1603 --with-python-dir the location to install Python modules. This path is
1604 relative starting from the prefix.
1605 --with-gnu-ld assume the C compiler uses GNU ld default=no
1606 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1607 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1608 --with-system-libunwind use installed libunwind
1609 --with-default-libstdcxx-abi
1610 set the std::string ABI to use by default
1611 --with-gxx-include-dir=DIR
1612 installation directory for include files
1613
1614 Some influential environment variables:
1615 CC C compiler command
1616 CFLAGS C compiler flags
1617 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1618 nonstandard directory <lib dir>
1619 LIBS libraries to pass to the linker, e.g. -l<library>
1620 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1621 you have headers in a nonstandard directory <include dir>
1622 CXX C++ compiler command
1623 CXXFLAGS C++ compiler flags
1624 CPP C preprocessor
1625 CXXCPP C++ preprocessor
1626 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1627 `c++filt', `gc++filt' on PATH.
1628
1629 Use these variables to override the choices made by `configure' or to help
1630 it to find libraries and programs with nonstandard names/locations.
1631
1632 Report bugs to the package provider.
1633 _ACEOF
1634 ac_status=$?
1635 fi
1636
1637 if test "$ac_init_help" = "recursive"; then
1638 # If there are subdirs, report their specific --help.
1639 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1640 test -d "$ac_dir" ||
1641 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1642 continue
1643 ac_builddir=.
1644
1645 case "$ac_dir" in
1646 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1647 *)
1648 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1649 # A ".." for each directory in $ac_dir_suffix.
1650 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1651 case $ac_top_builddir_sub in
1652 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1654 esac ;;
1655 esac
1656 ac_abs_top_builddir=$ac_pwd
1657 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1658 # for backward compatibility:
1659 ac_top_builddir=$ac_top_build_prefix
1660
1661 case $srcdir in
1662 .) # We are building in place.
1663 ac_srcdir=.
1664 ac_top_srcdir=$ac_top_builddir_sub
1665 ac_abs_top_srcdir=$ac_pwd ;;
1666 [\\/]* | ?:[\\/]* ) # Absolute name.
1667 ac_srcdir=$srcdir$ac_dir_suffix;
1668 ac_top_srcdir=$srcdir
1669 ac_abs_top_srcdir=$srcdir ;;
1670 *) # Relative name.
1671 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1672 ac_top_srcdir=$ac_top_build_prefix$srcdir
1673 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1674 esac
1675 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1676
1677 cd "$ac_dir" || { ac_status=$?; continue; }
1678 # Check for guested configure.
1679 if test -f "$ac_srcdir/configure.gnu"; then
1680 echo &&
1681 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1682 elif test -f "$ac_srcdir/configure"; then
1683 echo &&
1684 $SHELL "$ac_srcdir/configure" --help=recursive
1685 else
1686 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1687 fi || ac_status=$?
1688 cd "$ac_pwd" || { ac_status=$?; break; }
1689 done
1690 fi
1691
1692 test -n "$ac_init_help" && exit $ac_status
1693 if $ac_init_version; then
1694 cat <<\_ACEOF
1695 package-unused configure version-unused
1696 generated by GNU Autoconf 2.64
1697
1698 Copyright (C) 2009 Free Software Foundation, Inc.
1699 This configure script is free software; the Free Software Foundation
1700 gives unlimited permission to copy, distribute and modify it.
1701 _ACEOF
1702 exit
1703 fi
1704
1705 ## ------------------------ ##
1706 ## Autoconf initialization. ##
1707 ## ------------------------ ##
1708
1709 # ac_fn_c_try_compile LINENO
1710 # --------------------------
1711 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1712 ac_fn_c_try_compile ()
1713 {
1714 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1715 rm -f conftest.$ac_objext
1716 if { { ac_try="$ac_compile"
1717 case "(($ac_try" in
1718 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1719 *) ac_try_echo=$ac_try;;
1720 esac
1721 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1722 $as_echo "$ac_try_echo"; } >&5
1723 (eval "$ac_compile") 2>conftest.err
1724 ac_status=$?
1725 if test -s conftest.err; then
1726 grep -v '^ *+' conftest.err >conftest.er1
1727 cat conftest.er1 >&5
1728 mv -f conftest.er1 conftest.err
1729 fi
1730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1731 test $ac_status = 0; } && {
1732 test -z "$ac_c_werror_flag" ||
1733 test ! -s conftest.err
1734 } && test -s conftest.$ac_objext; then :
1735 ac_retval=0
1736 else
1737 $as_echo "$as_me: failed program was:" >&5
1738 sed 's/^/| /' conftest.$ac_ext >&5
1739
1740 ac_retval=1
1741 fi
1742 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1743 return $ac_retval
1744
1745 } # ac_fn_c_try_compile
1746
1747 # ac_fn_cxx_try_compile LINENO
1748 # ----------------------------
1749 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1750 ac_fn_cxx_try_compile ()
1751 {
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 rm -f conftest.$ac_objext
1754 if { { ac_try="$ac_compile"
1755 case "(($ac_try" in
1756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1758 esac
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_compile") 2>conftest.err
1762 ac_status=$?
1763 if test -s conftest.err; then
1764 grep -v '^ *+' conftest.err >conftest.er1
1765 cat conftest.er1 >&5
1766 mv -f conftest.er1 conftest.err
1767 fi
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_cxx_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest.$ac_objext; then :
1773 ac_retval=0
1774 else
1775 $as_echo "$as_me: failed program was:" >&5
1776 sed 's/^/| /' conftest.$ac_ext >&5
1777
1778 ac_retval=1
1779 fi
1780 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1781 return $ac_retval
1782
1783 } # ac_fn_cxx_try_compile
1784
1785 # ac_fn_c_try_cpp LINENO
1786 # ----------------------
1787 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_cpp ()
1789 {
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 if { { ac_try="$ac_cpp conftest.$ac_ext"
1792 case "(($ac_try" in
1793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1794 *) ac_try_echo=$ac_try;;
1795 esac
1796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1797 $as_echo "$ac_try_echo"; } >&5
1798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1799 ac_status=$?
1800 if test -s conftest.err; then
1801 grep -v '^ *+' conftest.err >conftest.er1
1802 cat conftest.er1 >&5
1803 mv -f conftest.er1 conftest.err
1804 fi
1805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1806 test $ac_status = 0; } >/dev/null && {
1807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1808 test ! -s conftest.err
1809 }; then :
1810 ac_retval=0
1811 else
1812 $as_echo "$as_me: failed program was:" >&5
1813 sed 's/^/| /' conftest.$ac_ext >&5
1814
1815 ac_retval=1
1816 fi
1817 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1818 return $ac_retval
1819
1820 } # ac_fn_c_try_cpp
1821
1822 # ac_fn_c_try_link LINENO
1823 # -----------------------
1824 # Try to link conftest.$ac_ext, and return whether this succeeded.
1825 ac_fn_c_try_link ()
1826 {
1827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1828 rm -f conftest.$ac_objext conftest$ac_exeext
1829 if { { ac_try="$ac_link"
1830 case "(($ac_try" in
1831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1832 *) ac_try_echo=$ac_try;;
1833 esac
1834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1835 $as_echo "$ac_try_echo"; } >&5
1836 (eval "$ac_link") 2>conftest.err
1837 ac_status=$?
1838 if test -s conftest.err; then
1839 grep -v '^ *+' conftest.err >conftest.er1
1840 cat conftest.er1 >&5
1841 mv -f conftest.er1 conftest.err
1842 fi
1843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1844 test $ac_status = 0; } && {
1845 test -z "$ac_c_werror_flag" ||
1846 test ! -s conftest.err
1847 } && test -s conftest$ac_exeext && {
1848 test "$cross_compiling" = yes ||
1849 $as_test_x conftest$ac_exeext
1850 }; then :
1851 ac_retval=0
1852 else
1853 $as_echo "$as_me: failed program was:" >&5
1854 sed 's/^/| /' conftest.$ac_ext >&5
1855
1856 ac_retval=1
1857 fi
1858 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1859 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1860 # interfere with the next link command; also delete a directory that is
1861 # left behind by Apple's compiler. We do this before executing the actions.
1862 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1863 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1864 return $ac_retval
1865
1866 } # ac_fn_c_try_link
1867
1868 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1869 # -------------------------------------------------------
1870 # Tests whether HEADER exists and can be compiled using the include files in
1871 # INCLUDES, setting the cache variable VAR accordingly.
1872 ac_fn_c_check_header_compile ()
1873 {
1874 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1876 $as_echo_n "checking for $2... " >&6; }
1877 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1878 $as_echo_n "(cached) " >&6
1879 else
1880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1881 /* end confdefs.h. */
1882 $4
1883 #include <$2>
1884 _ACEOF
1885 if ac_fn_c_try_compile "$LINENO"; then :
1886 eval "$3=yes"
1887 else
1888 eval "$3=no"
1889 fi
1890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1891 fi
1892 eval ac_res=\$$3
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1894 $as_echo "$ac_res" >&6; }
1895 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1896
1897 } # ac_fn_c_check_header_compile
1898
1899 # ac_fn_c_try_run LINENO
1900 # ----------------------
1901 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1902 # that executables *can* be run.
1903 ac_fn_c_try_run ()
1904 {
1905 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1906 if { { ac_try="$ac_link"
1907 case "(($ac_try" in
1908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1909 *) ac_try_echo=$ac_try;;
1910 esac
1911 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1912 $as_echo "$ac_try_echo"; } >&5
1913 (eval "$ac_link") 2>&5
1914 ac_status=$?
1915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1916 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1917 { { case "(($ac_try" in
1918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1919 *) ac_try_echo=$ac_try;;
1920 esac
1921 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1922 $as_echo "$ac_try_echo"; } >&5
1923 (eval "$ac_try") 2>&5
1924 ac_status=$?
1925 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1926 test $ac_status = 0; }; }; then :
1927 ac_retval=0
1928 else
1929 $as_echo "$as_me: program exited with status $ac_status" >&5
1930 $as_echo "$as_me: failed program was:" >&5
1931 sed 's/^/| /' conftest.$ac_ext >&5
1932
1933 ac_retval=$ac_status
1934 fi
1935 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1936 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1937 return $ac_retval
1938
1939 } # ac_fn_c_try_run
1940
1941 # ac_fn_c_check_func LINENO FUNC VAR
1942 # ----------------------------------
1943 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1944 ac_fn_c_check_func ()
1945 {
1946 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1948 $as_echo_n "checking for $2... " >&6; }
1949 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1950 $as_echo_n "(cached) " >&6
1951 else
1952 if test x$gcc_no_link = xyes; then
1953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1954 fi
1955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1956 /* end confdefs.h. */
1957 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1959 #define $2 innocuous_$2
1960
1961 /* System header to define __stub macros and hopefully few prototypes,
1962 which can conflict with char $2 (); below.
1963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1964 <limits.h> exists even on freestanding compilers. */
1965
1966 #ifdef __STDC__
1967 # include <limits.h>
1968 #else
1969 # include <assert.h>
1970 #endif
1971
1972 #undef $2
1973
1974 /* Override any GCC internal prototype to avoid an error.
1975 Use char because int might match the return type of a GCC
1976 builtin and then its argument prototype would still apply. */
1977 #ifdef __cplusplus
1978 extern "C"
1979 #endif
1980 char $2 ();
1981 /* The GNU C library defines this for functions which it implements
1982 to always fail with ENOSYS. Some functions are actually named
1983 something starting with __ and the normal name is an alias. */
1984 #if defined __stub_$2 || defined __stub___$2
1985 choke me
1986 #endif
1987
1988 int
1989 main ()
1990 {
1991 return $2 ();
1992 ;
1993 return 0;
1994 }
1995 _ACEOF
1996 if ac_fn_c_try_link "$LINENO"; then :
1997 eval "$3=yes"
1998 else
1999 eval "$3=no"
2000 fi
2001 rm -f core conftest.err conftest.$ac_objext \
2002 conftest$ac_exeext conftest.$ac_ext
2003 fi
2004 eval ac_res=\$$3
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2006 $as_echo "$ac_res" >&6; }
2007 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2008
2009 } # ac_fn_c_check_func
2010
2011 # ac_fn_cxx_try_cpp LINENO
2012 # ------------------------
2013 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2014 ac_fn_cxx_try_cpp ()
2015 {
2016 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2017 if { { ac_try="$ac_cpp conftest.$ac_ext"
2018 case "(($ac_try" in
2019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2020 *) ac_try_echo=$ac_try;;
2021 esac
2022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2023 $as_echo "$ac_try_echo"; } >&5
2024 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2025 ac_status=$?
2026 if test -s conftest.err; then
2027 grep -v '^ *+' conftest.err >conftest.er1
2028 cat conftest.er1 >&5
2029 mv -f conftest.er1 conftest.err
2030 fi
2031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032 test $ac_status = 0; } >/dev/null && {
2033 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2034 test ! -s conftest.err
2035 }; then :
2036 ac_retval=0
2037 else
2038 $as_echo "$as_me: failed program was:" >&5
2039 sed 's/^/| /' conftest.$ac_ext >&5
2040
2041 ac_retval=1
2042 fi
2043 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2044 return $ac_retval
2045
2046 } # ac_fn_cxx_try_cpp
2047
2048 # ac_fn_cxx_try_link LINENO
2049 # -------------------------
2050 # Try to link conftest.$ac_ext, and return whether this succeeded.
2051 ac_fn_cxx_try_link ()
2052 {
2053 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2054 rm -f conftest.$ac_objext conftest$ac_exeext
2055 if { { ac_try="$ac_link"
2056 case "(($ac_try" in
2057 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2058 *) ac_try_echo=$ac_try;;
2059 esac
2060 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2061 $as_echo "$ac_try_echo"; } >&5
2062 (eval "$ac_link") 2>conftest.err
2063 ac_status=$?
2064 if test -s conftest.err; then
2065 grep -v '^ *+' conftest.err >conftest.er1
2066 cat conftest.er1 >&5
2067 mv -f conftest.er1 conftest.err
2068 fi
2069 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2070 test $ac_status = 0; } && {
2071 test -z "$ac_cxx_werror_flag" ||
2072 test ! -s conftest.err
2073 } && test -s conftest$ac_exeext && {
2074 test "$cross_compiling" = yes ||
2075 $as_test_x conftest$ac_exeext
2076 }; then :
2077 ac_retval=0
2078 else
2079 $as_echo "$as_me: failed program was:" >&5
2080 sed 's/^/| /' conftest.$ac_ext >&5
2081
2082 ac_retval=1
2083 fi
2084 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2085 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2086 # interfere with the next link command; also delete a directory that is
2087 # left behind by Apple's compiler. We do this before executing the actions.
2088 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2089 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2090 return $ac_retval
2091
2092 } # ac_fn_cxx_try_link
2093
2094 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2095 # -------------------------------------------------------
2096 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2097 # the include files in INCLUDES and setting the cache variable VAR
2098 # accordingly.
2099 ac_fn_c_check_header_mongrel ()
2100 {
2101 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2102 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2104 $as_echo_n "checking for $2... " >&6; }
2105 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2106 $as_echo_n "(cached) " >&6
2107 fi
2108 eval ac_res=\$$3
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2110 $as_echo "$ac_res" >&6; }
2111 else
2112 # Is the header compilable?
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2114 $as_echo_n "checking $2 usability... " >&6; }
2115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2116 /* end confdefs.h. */
2117 $4
2118 #include <$2>
2119 _ACEOF
2120 if ac_fn_c_try_compile "$LINENO"; then :
2121 ac_header_compiler=yes
2122 else
2123 ac_header_compiler=no
2124 fi
2125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2127 $as_echo "$ac_header_compiler" >&6; }
2128
2129 # Is the header present?
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2131 $as_echo_n "checking $2 presence... " >&6; }
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2134 #include <$2>
2135 _ACEOF
2136 if ac_fn_c_try_cpp "$LINENO"; then :
2137 ac_header_preproc=yes
2138 else
2139 ac_header_preproc=no
2140 fi
2141 rm -f conftest.err conftest.$ac_ext
2142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2143 $as_echo "$ac_header_preproc" >&6; }
2144
2145 # So? What about this header?
2146 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2147 yes:no: )
2148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2149 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2151 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2152 ;;
2153 no:yes:* )
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2155 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2157 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2159 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2161 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2163 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2164 ;;
2165 esac
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2167 $as_echo_n "checking for $2... " >&6; }
2168 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2169 $as_echo_n "(cached) " >&6
2170 else
2171 eval "$3=\$ac_header_compiler"
2172 fi
2173 eval ac_res=\$$3
2174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2175 $as_echo "$ac_res" >&6; }
2176 fi
2177 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2178
2179 } # ac_fn_c_check_header_mongrel
2180
2181 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2182 # ---------------------------------------------------------
2183 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2184 # the include files in INCLUDES and setting the cache variable VAR
2185 # accordingly.
2186 ac_fn_cxx_check_header_mongrel ()
2187 {
2188 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2189 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2191 $as_echo_n "checking for $2... " >&6; }
2192 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193 $as_echo_n "(cached) " >&6
2194 fi
2195 eval ac_res=\$$3
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2197 $as_echo "$ac_res" >&6; }
2198 else
2199 # Is the header compilable?
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2201 $as_echo_n "checking $2 usability... " >&6; }
2202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2203 /* end confdefs.h. */
2204 $4
2205 #include <$2>
2206 _ACEOF
2207 if ac_fn_cxx_try_compile "$LINENO"; then :
2208 ac_header_compiler=yes
2209 else
2210 ac_header_compiler=no
2211 fi
2212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2214 $as_echo "$ac_header_compiler" >&6; }
2215
2216 # Is the header present?
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2218 $as_echo_n "checking $2 presence... " >&6; }
2219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2220 /* end confdefs.h. */
2221 #include <$2>
2222 _ACEOF
2223 if ac_fn_cxx_try_cpp "$LINENO"; then :
2224 ac_header_preproc=yes
2225 else
2226 ac_header_preproc=no
2227 fi
2228 rm -f conftest.err conftest.$ac_ext
2229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2230 $as_echo "$ac_header_preproc" >&6; }
2231
2232 # So? What about this header?
2233 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2234 yes:no: )
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2236 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2238 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2239 ;;
2240 no:yes:* )
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2242 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2244 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2246 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2248 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2250 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2251 ;;
2252 esac
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2254 $as_echo_n "checking for $2... " >&6; }
2255 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2256 $as_echo_n "(cached) " >&6
2257 else
2258 eval "$3=\$ac_header_compiler"
2259 fi
2260 eval ac_res=\$$3
2261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2262 $as_echo "$ac_res" >&6; }
2263 fi
2264 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2265
2266 } # ac_fn_cxx_check_header_mongrel
2267
2268 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2269 # --------------------------------------------
2270 # Tries to find the compile-time value of EXPR in a program that includes
2271 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2272 # computed
2273 ac_fn_c_compute_int ()
2274 {
2275 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2276 if test "$cross_compiling" = yes; then
2277 # Depending upon the size, compute the lo and hi bounds.
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2280 $4
2281 int
2282 main ()
2283 {
2284 static int test_array [1 - 2 * !(($2) >= 0)];
2285 test_array [0] = 0
2286
2287 ;
2288 return 0;
2289 }
2290 _ACEOF
2291 if ac_fn_c_try_compile "$LINENO"; then :
2292 ac_lo=0 ac_mid=0
2293 while :; do
2294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2295 /* end confdefs.h. */
2296 $4
2297 int
2298 main ()
2299 {
2300 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2301 test_array [0] = 0
2302
2303 ;
2304 return 0;
2305 }
2306 _ACEOF
2307 if ac_fn_c_try_compile "$LINENO"; then :
2308 ac_hi=$ac_mid; break
2309 else
2310 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2311 if test $ac_lo -le $ac_mid; then
2312 ac_lo= ac_hi=
2313 break
2314 fi
2315 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2316 fi
2317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2318 done
2319 else
2320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2321 /* end confdefs.h. */
2322 $4
2323 int
2324 main ()
2325 {
2326 static int test_array [1 - 2 * !(($2) < 0)];
2327 test_array [0] = 0
2328
2329 ;
2330 return 0;
2331 }
2332 _ACEOF
2333 if ac_fn_c_try_compile "$LINENO"; then :
2334 ac_hi=-1 ac_mid=-1
2335 while :; do
2336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2337 /* end confdefs.h. */
2338 $4
2339 int
2340 main ()
2341 {
2342 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2343 test_array [0] = 0
2344
2345 ;
2346 return 0;
2347 }
2348 _ACEOF
2349 if ac_fn_c_try_compile "$LINENO"; then :
2350 ac_lo=$ac_mid; break
2351 else
2352 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2353 if test $ac_mid -le $ac_hi; then
2354 ac_lo= ac_hi=
2355 break
2356 fi
2357 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2358 fi
2359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2360 done
2361 else
2362 ac_lo= ac_hi=
2363 fi
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365 fi
2366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2367 # Binary search between lo and hi bounds.
2368 while test "x$ac_lo" != "x$ac_hi"; do
2369 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371 /* end confdefs.h. */
2372 $4
2373 int
2374 main ()
2375 {
2376 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2377 test_array [0] = 0
2378
2379 ;
2380 return 0;
2381 }
2382 _ACEOF
2383 if ac_fn_c_try_compile "$LINENO"; then :
2384 ac_hi=$ac_mid
2385 else
2386 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2387 fi
2388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2389 done
2390 case $ac_lo in #((
2391 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2392 '') ac_retval=1 ;;
2393 esac
2394 else
2395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2396 /* end confdefs.h. */
2397 $4
2398 static long int longval () { return $2; }
2399 static unsigned long int ulongval () { return $2; }
2400 #include <stdio.h>
2401 #include <stdlib.h>
2402 int
2403 main ()
2404 {
2405
2406 FILE *f = fopen ("conftest.val", "w");
2407 if (! f)
2408 return 1;
2409 if (($2) < 0)
2410 {
2411 long int i = longval ();
2412 if (i != ($2))
2413 return 1;
2414 fprintf (f, "%ld", i);
2415 }
2416 else
2417 {
2418 unsigned long int i = ulongval ();
2419 if (i != ($2))
2420 return 1;
2421 fprintf (f, "%lu", i);
2422 }
2423 /* Do not output a trailing newline, as this causes \r\n confusion
2424 on some platforms. */
2425 return ferror (f) || fclose (f) != 0;
2426
2427 ;
2428 return 0;
2429 }
2430 _ACEOF
2431 if ac_fn_c_try_run "$LINENO"; then :
2432 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2433 else
2434 ac_retval=1
2435 fi
2436 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2437 conftest.$ac_objext conftest.beam conftest.$ac_ext
2438 rm -f conftest.val
2439
2440 fi
2441 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2442 return $ac_retval
2443
2444 } # ac_fn_c_compute_int
2445
2446 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2447 # -------------------------------------------
2448 # Tests whether TYPE exists after having included INCLUDES, setting cache
2449 # variable VAR accordingly.
2450 ac_fn_c_check_type ()
2451 {
2452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2454 $as_echo_n "checking for $2... " >&6; }
2455 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2456 $as_echo_n "(cached) " >&6
2457 else
2458 eval "$3=no"
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2461 $4
2462 int
2463 main ()
2464 {
2465 if (sizeof ($2))
2466 return 0;
2467 ;
2468 return 0;
2469 }
2470 _ACEOF
2471 if ac_fn_c_try_compile "$LINENO"; then :
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2474 $4
2475 int
2476 main ()
2477 {
2478 if (sizeof (($2)))
2479 return 0;
2480 ;
2481 return 0;
2482 }
2483 _ACEOF
2484 if ac_fn_c_try_compile "$LINENO"; then :
2485
2486 else
2487 eval "$3=yes"
2488 fi
2489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2490 fi
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2492 fi
2493 eval ac_res=\$$3
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2495 $as_echo "$ac_res" >&6; }
2496 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2497
2498 } # ac_fn_c_check_type
2499 cat >config.log <<_ACEOF
2500 This file contains any messages produced by compilers while
2501 running configure, to aid debugging if configure makes a mistake.
2502
2503 It was created by package-unused $as_me version-unused, which was
2504 generated by GNU Autoconf 2.64. Invocation command line was
2505
2506 $ $0 $@
2507
2508 _ACEOF
2509 exec 5>>config.log
2510 {
2511 cat <<_ASUNAME
2512 ## --------- ##
2513 ## Platform. ##
2514 ## --------- ##
2515
2516 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2517 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2518 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2519 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2520 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2521
2522 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2523 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2524
2525 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2526 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2527 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2528 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2529 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2530 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2531 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2532
2533 _ASUNAME
2534
2535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2536 for as_dir in $PATH
2537 do
2538 IFS=$as_save_IFS
2539 test -z "$as_dir" && as_dir=.
2540 $as_echo "PATH: $as_dir"
2541 done
2542 IFS=$as_save_IFS
2543
2544 } >&5
2545
2546 cat >&5 <<_ACEOF
2547
2548
2549 ## ----------- ##
2550 ## Core tests. ##
2551 ## ----------- ##
2552
2553 _ACEOF
2554
2555
2556 # Keep a trace of the command line.
2557 # Strip out --no-create and --no-recursion so they do not pile up.
2558 # Strip out --silent because we don't want to record it for future runs.
2559 # Also quote any args containing shell meta-characters.
2560 # Make two passes to allow for proper duplicate-argument suppression.
2561 ac_configure_args=
2562 ac_configure_args0=
2563 ac_configure_args1=
2564 ac_must_keep_next=false
2565 for ac_pass in 1 2
2566 do
2567 for ac_arg
2568 do
2569 case $ac_arg in
2570 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2571 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2572 | -silent | --silent | --silen | --sile | --sil)
2573 continue ;;
2574 *\'*)
2575 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2576 esac
2577 case $ac_pass in
2578 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2579 2)
2580 as_fn_append ac_configure_args1 " '$ac_arg'"
2581 if test $ac_must_keep_next = true; then
2582 ac_must_keep_next=false # Got value, back to normal.
2583 else
2584 case $ac_arg in
2585 *=* | --config-cache | -C | -disable-* | --disable-* \
2586 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2587 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2588 | -with-* | --with-* | -without-* | --without-* | --x)
2589 case "$ac_configure_args0 " in
2590 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2591 esac
2592 ;;
2593 -* ) ac_must_keep_next=true ;;
2594 esac
2595 fi
2596 as_fn_append ac_configure_args " '$ac_arg'"
2597 ;;
2598 esac
2599 done
2600 done
2601 { ac_configure_args0=; unset ac_configure_args0;}
2602 { ac_configure_args1=; unset ac_configure_args1;}
2603
2604 # When interrupted or exit'd, cleanup temporary files, and complete
2605 # config.log. We remove comments because anyway the quotes in there
2606 # would cause problems or look ugly.
2607 # WARNING: Use '\'' to represent an apostrophe within the trap.
2608 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2609 trap 'exit_status=$?
2610 # Save into config.log some information that might help in debugging.
2611 {
2612 echo
2613
2614 cat <<\_ASBOX
2615 ## ---------------- ##
2616 ## Cache variables. ##
2617 ## ---------------- ##
2618 _ASBOX
2619 echo
2620 # The following way of writing the cache mishandles newlines in values,
2621 (
2622 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2623 eval ac_val=\$$ac_var
2624 case $ac_val in #(
2625 *${as_nl}*)
2626 case $ac_var in #(
2627 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2628 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2629 esac
2630 case $ac_var in #(
2631 _ | IFS | as_nl) ;; #(
2632 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2633 *) { eval $ac_var=; unset $ac_var;} ;;
2634 esac ;;
2635 esac
2636 done
2637 (set) 2>&1 |
2638 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2639 *${as_nl}ac_space=\ *)
2640 sed -n \
2641 "s/'\''/'\''\\\\'\'''\''/g;
2642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2643 ;; #(
2644 *)
2645 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2646 ;;
2647 esac |
2648 sort
2649 )
2650 echo
2651
2652 cat <<\_ASBOX
2653 ## ----------------- ##
2654 ## Output variables. ##
2655 ## ----------------- ##
2656 _ASBOX
2657 echo
2658 for ac_var in $ac_subst_vars
2659 do
2660 eval ac_val=\$$ac_var
2661 case $ac_val in
2662 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2663 esac
2664 $as_echo "$ac_var='\''$ac_val'\''"
2665 done | sort
2666 echo
2667
2668 if test -n "$ac_subst_files"; then
2669 cat <<\_ASBOX
2670 ## ------------------- ##
2671 ## File substitutions. ##
2672 ## ------------------- ##
2673 _ASBOX
2674 echo
2675 for ac_var in $ac_subst_files
2676 do
2677 eval ac_val=\$$ac_var
2678 case $ac_val in
2679 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2680 esac
2681 $as_echo "$ac_var='\''$ac_val'\''"
2682 done | sort
2683 echo
2684 fi
2685
2686 if test -s confdefs.h; then
2687 cat <<\_ASBOX
2688 ## ----------- ##
2689 ## confdefs.h. ##
2690 ## ----------- ##
2691 _ASBOX
2692 echo
2693 cat confdefs.h
2694 echo
2695 fi
2696 test "$ac_signal" != 0 &&
2697 $as_echo "$as_me: caught signal $ac_signal"
2698 $as_echo "$as_me: exit $exit_status"
2699 } >&5
2700 rm -f core *.core core.conftest.* &&
2701 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2702 exit $exit_status
2703 ' 0
2704 for ac_signal in 1 2 13 15; do
2705 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2706 done
2707 ac_signal=0
2708
2709 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2710 rm -f -r conftest* confdefs.h
2711
2712 $as_echo "/* confdefs.h */" > confdefs.h
2713
2714 # Predefined preprocessor variables.
2715
2716 cat >>confdefs.h <<_ACEOF
2717 #define PACKAGE_NAME "$PACKAGE_NAME"
2718 _ACEOF
2719
2720 cat >>confdefs.h <<_ACEOF
2721 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2722 _ACEOF
2723
2724 cat >>confdefs.h <<_ACEOF
2725 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2726 _ACEOF
2727
2728 cat >>confdefs.h <<_ACEOF
2729 #define PACKAGE_STRING "$PACKAGE_STRING"
2730 _ACEOF
2731
2732 cat >>confdefs.h <<_ACEOF
2733 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2734 _ACEOF
2735
2736 cat >>confdefs.h <<_ACEOF
2737 #define PACKAGE_URL "$PACKAGE_URL"
2738 _ACEOF
2739
2740
2741 # Let the site file select an alternate cache file if it wants to.
2742 # Prefer an explicitly selected file to automatically selected ones.
2743 ac_site_file1=NONE
2744 ac_site_file2=NONE
2745 if test -n "$CONFIG_SITE"; then
2746 ac_site_file1=$CONFIG_SITE
2747 elif test "x$prefix" != xNONE; then
2748 ac_site_file1=$prefix/share/config.site
2749 ac_site_file2=$prefix/etc/config.site
2750 else
2751 ac_site_file1=$ac_default_prefix/share/config.site
2752 ac_site_file2=$ac_default_prefix/etc/config.site
2753 fi
2754 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2755 do
2756 test "x$ac_site_file" = xNONE && continue
2757 if test -r "$ac_site_file"; then
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2759 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2760 sed 's/^/| /' "$ac_site_file" >&5
2761 . "$ac_site_file"
2762 fi
2763 done
2764
2765 if test -r "$cache_file"; then
2766 # Some versions of bash will fail to source /dev/null (special
2767 # files actually), so we avoid doing that.
2768 if test -f "$cache_file"; then
2769 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2770 $as_echo "$as_me: loading cache $cache_file" >&6;}
2771 case $cache_file in
2772 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2773 *) . "./$cache_file";;
2774 esac
2775 fi
2776 else
2777 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2778 $as_echo "$as_me: creating cache $cache_file" >&6;}
2779 >$cache_file
2780 fi
2781
2782 # Check that the precious variables saved in the cache have kept the same
2783 # value.
2784 ac_cache_corrupted=false
2785 for ac_var in $ac_precious_vars; do
2786 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2787 eval ac_new_set=\$ac_env_${ac_var}_set
2788 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2789 eval ac_new_val=\$ac_env_${ac_var}_value
2790 case $ac_old_set,$ac_new_set in
2791 set,)
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2793 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2794 ac_cache_corrupted=: ;;
2795 ,set)
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2797 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2798 ac_cache_corrupted=: ;;
2799 ,);;
2800 *)
2801 if test "x$ac_old_val" != "x$ac_new_val"; then
2802 # differences in whitespace do not lead to failure.
2803 ac_old_val_w=`echo x $ac_old_val`
2804 ac_new_val_w=`echo x $ac_new_val`
2805 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2807 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2808 ac_cache_corrupted=:
2809 else
2810 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2811 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2812 eval $ac_var=\$ac_old_val
2813 fi
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2815 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2816 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2817 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2818 fi;;
2819 esac
2820 # Pass precious variables to config.status.
2821 if test "$ac_new_set" = set; then
2822 case $ac_new_val in
2823 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2824 *) ac_arg=$ac_var=$ac_new_val ;;
2825 esac
2826 case " $ac_configure_args " in
2827 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2828 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2829 esac
2830 fi
2831 done
2832 if $ac_cache_corrupted; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2834 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2836 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2837 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2838 fi
2839 ## -------------------- ##
2840 ## Main body of script. ##
2841 ## -------------------- ##
2842
2843 ac_ext=c
2844 ac_cpp='$CPP $CPPFLAGS'
2845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2848
2849
2850
2851
2852
2853
2854 ac_config_headers="$ac_config_headers config.h"
2855
2856
2857 # This works around the fact that libtool configuration may change LD
2858 # for this particular configuration, but some shells, instead of
2859 # keeping the changes in LD private, export them just because LD is
2860 # exported. Only used at the end of this file.
2861 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2862
2863 # Find the rest of the source tree framework.
2864 # Default to --enable-multilib
2865 # Check whether --enable-multilib was given.
2866 if test "${enable_multilib+set}" = set; then :
2867 enableval=$enable_multilib; case "$enableval" in
2868 yes) multilib=yes ;;
2869 no) multilib=no ;;
2870 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2871 esac
2872 else
2873 multilib=yes
2874 fi
2875
2876
2877 # We may get other options which we leave undocumented:
2878 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2879 # See config-ml.in if you want the gory details.
2880
2881 if test "$srcdir" = "."; then
2882 if test "$with_target_subdir" != "."; then
2883 multi_basedir="$srcdir/$with_multisrctop../.."
2884 else
2885 multi_basedir="$srcdir/$with_multisrctop.."
2886 fi
2887 else
2888 multi_basedir="$srcdir/.."
2889 fi
2890
2891
2892 # Even if the default multilib is not a cross compilation,
2893 # it may be that some of the other multilibs are.
2894 if test $cross_compiling = no && test $multilib = yes \
2895 && test "x${with_multisubdir}" != x ; then
2896 cross_compiling=maybe
2897 fi
2898
2899 ac_config_commands="$ac_config_commands default-1"
2900
2901
2902 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2903 #
2904 # You will slowly go insane if you do not grok the following fact: when
2905 # building v3 as part of the compiler, the top-level /target/ becomes the
2906 # library's /host/. configure then causes --target to default to --host,
2907 # exactly like any other package using autoconf. Therefore, 'target' and
2908 # 'host' will always be the same. This makes sense both for native and
2909 # cross compilers, just think about it for a little while. :-)
2910 #
2911 # Also, if v3 is being configured as part of a cross compiler, the top-level
2912 # configure script will pass the "real" host as $with_cross_host.
2913 #
2914 # Do not delete or change the following two lines. For why, see
2915 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2916 ac_aux_dir=
2917 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2918 for ac_t in install-sh install.sh shtool; do
2919 if test -f "$ac_dir/$ac_t"; then
2920 ac_aux_dir=$ac_dir
2921 ac_install_sh="$ac_aux_dir/$ac_t -c"
2922 break 2
2923 fi
2924 done
2925 done
2926 if test -z "$ac_aux_dir"; then
2927 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2928 fi
2929
2930 # These three variables are undocumented and unsupported,
2931 # and are intended to be withdrawn in a future Autoconf release.
2932 # They can cause serious problems if a builder's source tree is in a directory
2933 # whose full name contains unusual characters.
2934 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2935 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2936 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2937
2938
2939 # Make sure we can run config.sub.
2940 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2941 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
2942
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
2944 $as_echo_n "checking build system type... " >&6; }
2945 if test "${ac_cv_build+set}" = set; then :
2946 $as_echo_n "(cached) " >&6
2947 else
2948 ac_build_alias=$build_alias
2949 test "x$ac_build_alias" = x &&
2950 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2951 test "x$ac_build_alias" = x &&
2952 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
2953 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2954 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
2955
2956 fi
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
2958 $as_echo "$ac_cv_build" >&6; }
2959 case $ac_cv_build in
2960 *-*-*) ;;
2961 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
2962 esac
2963 build=$ac_cv_build
2964 ac_save_IFS=$IFS; IFS='-'
2965 set x $ac_cv_build
2966 shift
2967 build_cpu=$1
2968 build_vendor=$2
2969 shift; shift
2970 # Remember, the first character of IFS is used to create $*,
2971 # except with old shells:
2972 build_os=$*
2973 IFS=$ac_save_IFS
2974 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2975
2976
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
2978 $as_echo_n "checking host system type... " >&6; }
2979 if test "${ac_cv_host+set}" = set; then :
2980 $as_echo_n "(cached) " >&6
2981 else
2982 if test "x$host_alias" = x; then
2983 ac_cv_host=$ac_cv_build
2984 else
2985 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2986 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
2987 fi
2988
2989 fi
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
2991 $as_echo "$ac_cv_host" >&6; }
2992 case $ac_cv_host in
2993 *-*-*) ;;
2994 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
2995 esac
2996 host=$ac_cv_host
2997 ac_save_IFS=$IFS; IFS='-'
2998 set x $ac_cv_host
2999 shift
3000 host_cpu=$1
3001 host_vendor=$2
3002 shift; shift
3003 # Remember, the first character of IFS is used to create $*,
3004 # except with old shells:
3005 host_os=$*
3006 IFS=$ac_save_IFS
3007 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3008
3009
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3011 $as_echo_n "checking target system type... " >&6; }
3012 if test "${ac_cv_target+set}" = set; then :
3013 $as_echo_n "(cached) " >&6
3014 else
3015 if test "x$target_alias" = x; then
3016 ac_cv_target=$ac_cv_host
3017 else
3018 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3019 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3020 fi
3021
3022 fi
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3024 $as_echo "$ac_cv_target" >&6; }
3025 case $ac_cv_target in
3026 *-*-*) ;;
3027 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3028 esac
3029 target=$ac_cv_target
3030 ac_save_IFS=$IFS; IFS='-'
3031 set x $ac_cv_target
3032 shift
3033 target_cpu=$1
3034 target_vendor=$2
3035 shift; shift
3036 # Remember, the first character of IFS is used to create $*,
3037 # except with old shells:
3038 target_os=$*
3039 IFS=$ac_save_IFS
3040 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3041
3042
3043 # The aliases save the names the user supplied, while $host etc.
3044 # will get canonicalized.
3045 test -n "$target_alias" &&
3046 test "$program_prefix$program_suffix$program_transform_name" = \
3047 NONENONEs,x,x, &&
3048 program_prefix=${target_alias}-
3049
3050 target_alias=${target_alias-$host_alias}
3051
3052 # Handy for debugging:
3053 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3054
3055 if test "$build" != "$host"; then
3056 # We are being configured with some form of cross compiler.
3057 GLIBCXX_IS_NATIVE=false
3058 case "$host","$target" in
3059 # Darwin crosses can use the host system's libraries and headers,
3060 # because of the fat library support. Of course, it must be the
3061 # same version of Darwin on both sides. Allow the user to
3062 # just say --target=foo-darwin without a version number to mean
3063 # "the version on this system".
3064 *-*-darwin*,*-*-darwin*)
3065 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3066 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3067 if test $hostos = $targetos -o $targetos = darwin ; then
3068 GLIBCXX_IS_NATIVE=true
3069 fi
3070 ;;
3071
3072 *)
3073
3074 ;;
3075 esac
3076 else
3077 GLIBCXX_IS_NATIVE=true
3078 fi
3079
3080 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3081 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3082 # 1.x: minimum required version
3083 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3084 # of other PACKAGE_* variables will, however, and there's nothing
3085 # we can do about that; they come from AC_INIT).
3086 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3087 # file in the top srcdir, etc, etc), so stop complaining.
3088 # no-dependencies: turns off auto dependency generation (just for now)
3089 # no-dist: we don't want 'dist' and related rules.
3090 # -Wall: turns on all automake warnings...
3091 # -Wno-portability: ...except this one, since GNU make is now required.
3092 am__api_version='1.11'
3093
3094 # Find a good install program. We prefer a C program (faster),
3095 # so one script is as good as another. But avoid the broken or
3096 # incompatible versions:
3097 # SysV /etc/install, /usr/sbin/install
3098 # SunOS /usr/etc/install
3099 # IRIX /sbin/install
3100 # AIX /bin/install
3101 # AmigaOS /C/install, which installs bootblocks on floppy discs
3102 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3103 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3104 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3105 # OS/2's system install, which has a completely different semantic
3106 # ./install, which can be erroneously created by make from ./install.sh.
3107 # Reject install programs that cannot install multiple files.
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3109 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3110 if test -z "$INSTALL"; then
3111 if test "${ac_cv_path_install+set}" = set; then :
3112 $as_echo_n "(cached) " >&6
3113 else
3114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3115 for as_dir in $PATH
3116 do
3117 IFS=$as_save_IFS
3118 test -z "$as_dir" && as_dir=.
3119 # Account for people who put trailing slashes in PATH elements.
3120 case $as_dir/ in #((
3121 ./ | .// | /[cC]/* | \
3122 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3123 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3124 /usr/ucb/* ) ;;
3125 *)
3126 # OSF1 and SCO ODT 3.0 have their own names for install.
3127 # Don't use installbsd from OSF since it installs stuff as root
3128 # by default.
3129 for ac_prog in ginstall scoinst install; do
3130 for ac_exec_ext in '' $ac_executable_extensions; do
3131 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3132 if test $ac_prog = install &&
3133 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3134 # AIX install. It has an incompatible calling convention.
3135 :
3136 elif test $ac_prog = install &&
3137 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3138 # program-specific install script used by HP pwplus--don't use.
3139 :
3140 else
3141 rm -rf conftest.one conftest.two conftest.dir
3142 echo one > conftest.one
3143 echo two > conftest.two
3144 mkdir conftest.dir
3145 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3146 test -s conftest.one && test -s conftest.two &&
3147 test -s conftest.dir/conftest.one &&
3148 test -s conftest.dir/conftest.two
3149 then
3150 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3151 break 3
3152 fi
3153 fi
3154 fi
3155 done
3156 done
3157 ;;
3158 esac
3159
3160 done
3161 IFS=$as_save_IFS
3162
3163 rm -rf conftest.one conftest.two conftest.dir
3164
3165 fi
3166 if test "${ac_cv_path_install+set}" = set; then
3167 INSTALL=$ac_cv_path_install
3168 else
3169 # As a last resort, use the slow shell script. Don't cache a
3170 # value for INSTALL within a source directory, because that will
3171 # break other packages using the cache if that directory is
3172 # removed, or if the value is a relative name.
3173 INSTALL=$ac_install_sh
3174 fi
3175 fi
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3177 $as_echo "$INSTALL" >&6; }
3178
3179 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3180 # It thinks the first close brace ends the variable substitution.
3181 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3182
3183 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3184
3185 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3186
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3188 $as_echo_n "checking whether build environment is sane... " >&6; }
3189 # Just in case
3190 sleep 1
3191 echo timestamp > conftest.file
3192 # Reject unsafe characters in $srcdir or the absolute working directory
3193 # name. Accept space and tab only in the latter.
3194 am_lf='
3195 '
3196 case `pwd` in
3197 *[\\\"\#\$\&\'\`$am_lf]*)
3198 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3199 esac
3200 case $srcdir in
3201 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3202 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3203 esac
3204
3205 # Do `set' in a subshell so we don't clobber the current shell's
3206 # arguments. Must try -L first in case configure is actually a
3207 # symlink; some systems play weird games with the mod time of symlinks
3208 # (eg FreeBSD returns the mod time of the symlink's containing
3209 # directory).
3210 if (
3211 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3212 if test "$*" = "X"; then
3213 # -L didn't work.
3214 set X `ls -t "$srcdir/configure" conftest.file`
3215 fi
3216 rm -f conftest.file
3217 if test "$*" != "X $srcdir/configure conftest.file" \
3218 && test "$*" != "X conftest.file $srcdir/configure"; then
3219
3220 # If neither matched, then we have a broken ls. This can happen
3221 # if, for instance, CONFIG_SHELL is bash and it inherits a
3222 # broken ls alias from the environment. This has actually
3223 # happened. Such a system could not be considered "sane".
3224 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3225 alias in your environment" "$LINENO" 5
3226 fi
3227
3228 test "$2" = conftest.file
3229 )
3230 then
3231 # Ok.
3232 :
3233 else
3234 as_fn_error "newly created file is older than distributed files!
3235 Check your system clock" "$LINENO" 5
3236 fi
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3238 $as_echo "yes" >&6; }
3239 test "$program_prefix" != NONE &&
3240 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3241 # Use a double $ so make ignores it.
3242 test "$program_suffix" != NONE &&
3243 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3244 # Double any \ or $.
3245 # By default was `s,x,x', remove it if useless.
3246 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3247 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3248
3249 # expand $ac_aux_dir to an absolute path
3250 am_aux_dir=`cd $ac_aux_dir && pwd`
3251
3252 if test x"${MISSING+set}" != xset; then
3253 case $am_aux_dir in
3254 *\ * | *\ *)
3255 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3256 *)
3257 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3258 esac
3259 fi
3260 # Use eval to expand $SHELL
3261 if eval "$MISSING --run true"; then
3262 am_missing_run="$MISSING --run "
3263 else
3264 am_missing_run=
3265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3266 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3267 fi
3268
3269 if test x"${install_sh}" != xset; then
3270 case $am_aux_dir in
3271 *\ * | *\ *)
3272 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3273 *)
3274 install_sh="\${SHELL} $am_aux_dir/install-sh"
3275 esac
3276 fi
3277
3278 # Installed binaries are usually stripped using `strip' when the user
3279 # run `make install-strip'. However `strip' might not be the right
3280 # tool to use in cross-compilation environments, therefore Automake
3281 # will honor the `STRIP' environment variable to overrule this program.
3282 if test "$cross_compiling" != no; then
3283 if test -n "$ac_tool_prefix"; then
3284 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3285 set dummy ${ac_tool_prefix}strip; ac_word=$2
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3287 $as_echo_n "checking for $ac_word... " >&6; }
3288 if test "${ac_cv_prog_STRIP+set}" = set; then :
3289 $as_echo_n "(cached) " >&6
3290 else
3291 if test -n "$STRIP"; then
3292 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3293 else
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3295 for as_dir in $PATH
3296 do
3297 IFS=$as_save_IFS
3298 test -z "$as_dir" && as_dir=.
3299 for ac_exec_ext in '' $ac_executable_extensions; do
3300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3301 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3303 break 2
3304 fi
3305 done
3306 done
3307 IFS=$as_save_IFS
3308
3309 fi
3310 fi
3311 STRIP=$ac_cv_prog_STRIP
3312 if test -n "$STRIP"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3314 $as_echo "$STRIP" >&6; }
3315 else
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3318 fi
3319
3320
3321 fi
3322 if test -z "$ac_cv_prog_STRIP"; then
3323 ac_ct_STRIP=$STRIP
3324 # Extract the first word of "strip", so it can be a program name with args.
3325 set dummy strip; ac_word=$2
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3327 $as_echo_n "checking for $ac_word... " >&6; }
3328 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3329 $as_echo_n "(cached) " >&6
3330 else
3331 if test -n "$ac_ct_STRIP"; then
3332 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3333 else
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3335 for as_dir in $PATH
3336 do
3337 IFS=$as_save_IFS
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3341 ac_cv_prog_ac_ct_STRIP="strip"
3342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3343 break 2
3344 fi
3345 done
3346 done
3347 IFS=$as_save_IFS
3348
3349 fi
3350 fi
3351 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3352 if test -n "$ac_ct_STRIP"; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3354 $as_echo "$ac_ct_STRIP" >&6; }
3355 else
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3358 fi
3359
3360 if test "x$ac_ct_STRIP" = x; then
3361 STRIP=":"
3362 else
3363 case $cross_compiling:$ac_tool_warned in
3364 yes:)
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3367 ac_tool_warned=yes ;;
3368 esac
3369 STRIP=$ac_ct_STRIP
3370 fi
3371 else
3372 STRIP="$ac_cv_prog_STRIP"
3373 fi
3374
3375 fi
3376 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3377
3378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3379 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3380 if test -z "$MKDIR_P"; then
3381 if test "${ac_cv_path_mkdir+set}" = set; then :
3382 $as_echo_n "(cached) " >&6
3383 else
3384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3385 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3386 do
3387 IFS=$as_save_IFS
3388 test -z "$as_dir" && as_dir=.
3389 for ac_prog in mkdir gmkdir; do
3390 for ac_exec_ext in '' $ac_executable_extensions; do
3391 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3392 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3393 'mkdir (GNU coreutils) '* | \
3394 'mkdir (coreutils) '* | \
3395 'mkdir (fileutils) '4.1*)
3396 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3397 break 3;;
3398 esac
3399 done
3400 done
3401 done
3402 IFS=$as_save_IFS
3403
3404 fi
3405
3406 if test "${ac_cv_path_mkdir+set}" = set; then
3407 MKDIR_P="$ac_cv_path_mkdir -p"
3408 else
3409 # As a last resort, use the slow shell script. Don't cache a
3410 # value for MKDIR_P within a source directory, because that will
3411 # break other packages using the cache if that directory is
3412 # removed, or if the value is a relative name.
3413 test -d ./--version && rmdir ./--version
3414 MKDIR_P="$ac_install_sh -d"
3415 fi
3416 fi
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3418 $as_echo "$MKDIR_P" >&6; }
3419
3420 mkdir_p="$MKDIR_P"
3421 case $mkdir_p in
3422 [\\/$]* | ?:[\\/]*) ;;
3423 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3424 esac
3425
3426 for ac_prog in gawk mawk nawk awk
3427 do
3428 # Extract the first word of "$ac_prog", so it can be a program name with args.
3429 set dummy $ac_prog; ac_word=$2
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3431 $as_echo_n "checking for $ac_word... " >&6; }
3432 if test "${ac_cv_prog_AWK+set}" = set; then :
3433 $as_echo_n "(cached) " >&6
3434 else
3435 if test -n "$AWK"; then
3436 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3437 else
3438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3439 for as_dir in $PATH
3440 do
3441 IFS=$as_save_IFS
3442 test -z "$as_dir" && as_dir=.
3443 for ac_exec_ext in '' $ac_executable_extensions; do
3444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3445 ac_cv_prog_AWK="$ac_prog"
3446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447 break 2
3448 fi
3449 done
3450 done
3451 IFS=$as_save_IFS
3452
3453 fi
3454 fi
3455 AWK=$ac_cv_prog_AWK
3456 if test -n "$AWK"; then
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3458 $as_echo "$AWK" >&6; }
3459 else
3460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3461 $as_echo "no" >&6; }
3462 fi
3463
3464
3465 test -n "$AWK" && break
3466 done
3467
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3469 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3470 set x ${MAKE-make}
3471 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3472 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3473 $as_echo_n "(cached) " >&6
3474 else
3475 cat >conftest.make <<\_ACEOF
3476 SHELL = /bin/sh
3477 all:
3478 @echo '@@@%%%=$(MAKE)=@@@%%%'
3479 _ACEOF
3480 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3481 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3482 *@@@%%%=?*=@@@%%%*)
3483 eval ac_cv_prog_make_${ac_make}_set=yes;;
3484 *)
3485 eval ac_cv_prog_make_${ac_make}_set=no;;
3486 esac
3487 rm -f conftest.make
3488 fi
3489 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3491 $as_echo "yes" >&6; }
3492 SET_MAKE=
3493 else
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3495 $as_echo "no" >&6; }
3496 SET_MAKE="MAKE=${MAKE-make}"
3497 fi
3498
3499 rm -rf .tst 2>/dev/null
3500 mkdir .tst 2>/dev/null
3501 if test -d .tst; then
3502 am__leading_dot=.
3503 else
3504 am__leading_dot=_
3505 fi
3506 rmdir .tst 2>/dev/null
3507
3508 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3509 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3510 # is not polluted with repeated "-I."
3511 am__isrc=' -I$(srcdir)'
3512 # test to see if srcdir already configured
3513 if test -f $srcdir/config.status; then
3514 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3515 fi
3516 fi
3517
3518 # test whether we have cygpath
3519 if test -z "$CYGPATH_W"; then
3520 if (cygpath --version) >/dev/null 2>/dev/null; then
3521 CYGPATH_W='cygpath -w'
3522 else
3523 CYGPATH_W=echo
3524 fi
3525 fi
3526
3527
3528 # Define the identity of the package.
3529 PACKAGE='libstdc++'
3530 VERSION='version-unused'
3531
3532
3533 # Some tools Automake needs.
3534
3535 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3536
3537
3538 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3539
3540
3541 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3542
3543
3544 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3545
3546
3547 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3548
3549 # We need awk for the "check" target. The system "awk" is bad on
3550 # some platforms.
3551 # Always define AMTAR for backward compatibility.
3552
3553 AMTAR=${AMTAR-"${am_missing_run}tar"}
3554
3555 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
3556
3557
3558
3559
3560
3561
3562
3563
3564 # -fno-builtin must be present here so that a non-conflicting form of
3565 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3566
3567 save_CXXFLAGS="$CXXFLAGS"
3568 CXXFLAGS="$CXXFLAGS -fno-builtin"
3569 ac_ext=c
3570 ac_cpp='$CPP $CPPFLAGS'
3571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3574 if test -n "$ac_tool_prefix"; then
3575 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3576 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3578 $as_echo_n "checking for $ac_word... " >&6; }
3579 if test "${ac_cv_prog_CC+set}" = set; then :
3580 $as_echo_n "(cached) " >&6
3581 else
3582 if test -n "$CC"; then
3583 ac_cv_prog_CC="$CC" # Let the user override the test.
3584 else
3585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3586 for as_dir in $PATH
3587 do
3588 IFS=$as_save_IFS
3589 test -z "$as_dir" && as_dir=.
3590 for ac_exec_ext in '' $ac_executable_extensions; do
3591 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3592 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3594 break 2
3595 fi
3596 done
3597 done
3598 IFS=$as_save_IFS
3599
3600 fi
3601 fi
3602 CC=$ac_cv_prog_CC
3603 if test -n "$CC"; then
3604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3605 $as_echo "$CC" >&6; }
3606 else
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3608 $as_echo "no" >&6; }
3609 fi
3610
3611
3612 fi
3613 if test -z "$ac_cv_prog_CC"; then
3614 ac_ct_CC=$CC
3615 # Extract the first word of "gcc", so it can be a program name with args.
3616 set dummy gcc; ac_word=$2
3617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3618 $as_echo_n "checking for $ac_word... " >&6; }
3619 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3620 $as_echo_n "(cached) " >&6
3621 else
3622 if test -n "$ac_ct_CC"; then
3623 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3624 else
3625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3626 for as_dir in $PATH
3627 do
3628 IFS=$as_save_IFS
3629 test -z "$as_dir" && as_dir=.
3630 for ac_exec_ext in '' $ac_executable_extensions; do
3631 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3632 ac_cv_prog_ac_ct_CC="gcc"
3633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3634 break 2
3635 fi
3636 done
3637 done
3638 IFS=$as_save_IFS
3639
3640 fi
3641 fi
3642 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3643 if test -n "$ac_ct_CC"; then
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3645 $as_echo "$ac_ct_CC" >&6; }
3646 else
3647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3648 $as_echo "no" >&6; }
3649 fi
3650
3651 if test "x$ac_ct_CC" = x; then
3652 CC=""
3653 else
3654 case $cross_compiling:$ac_tool_warned in
3655 yes:)
3656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3657 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3658 ac_tool_warned=yes ;;
3659 esac
3660 CC=$ac_ct_CC
3661 fi
3662 else
3663 CC="$ac_cv_prog_CC"
3664 fi
3665
3666 if test -z "$CC"; then
3667 if test -n "$ac_tool_prefix"; then
3668 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3669 set dummy ${ac_tool_prefix}cc; ac_word=$2
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3671 $as_echo_n "checking for $ac_word... " >&6; }
3672 if test "${ac_cv_prog_CC+set}" = set; then :
3673 $as_echo_n "(cached) " >&6
3674 else
3675 if test -n "$CC"; then
3676 ac_cv_prog_CC="$CC" # Let the user override the test.
3677 else
3678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3679 for as_dir in $PATH
3680 do
3681 IFS=$as_save_IFS
3682 test -z "$as_dir" && as_dir=.
3683 for ac_exec_ext in '' $ac_executable_extensions; do
3684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3685 ac_cv_prog_CC="${ac_tool_prefix}cc"
3686 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3687 break 2
3688 fi
3689 done
3690 done
3691 IFS=$as_save_IFS
3692
3693 fi
3694 fi
3695 CC=$ac_cv_prog_CC
3696 if test -n "$CC"; then
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3698 $as_echo "$CC" >&6; }
3699 else
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3701 $as_echo "no" >&6; }
3702 fi
3703
3704
3705 fi
3706 fi
3707 if test -z "$CC"; then
3708 # Extract the first word of "cc", so it can be a program name with args.
3709 set dummy cc; ac_word=$2
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3711 $as_echo_n "checking for $ac_word... " >&6; }
3712 if test "${ac_cv_prog_CC+set}" = set; then :
3713 $as_echo_n "(cached) " >&6
3714 else
3715 if test -n "$CC"; then
3716 ac_cv_prog_CC="$CC" # Let the user override the test.
3717 else
3718 ac_prog_rejected=no
3719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3720 for as_dir in $PATH
3721 do
3722 IFS=$as_save_IFS
3723 test -z "$as_dir" && as_dir=.
3724 for ac_exec_ext in '' $ac_executable_extensions; do
3725 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3726 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3727 ac_prog_rejected=yes
3728 continue
3729 fi
3730 ac_cv_prog_CC="cc"
3731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3732 break 2
3733 fi
3734 done
3735 done
3736 IFS=$as_save_IFS
3737
3738 if test $ac_prog_rejected = yes; then
3739 # We found a bogon in the path, so make sure we never use it.
3740 set dummy $ac_cv_prog_CC
3741 shift
3742 if test $# != 0; then
3743 # We chose a different compiler from the bogus one.
3744 # However, it has the same basename, so the bogon will be chosen
3745 # first if we set CC to just the basename; use the full file name.
3746 shift
3747 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3748 fi
3749 fi
3750 fi
3751 fi
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3759 fi
3760
3761
3762 fi
3763 if test -z "$CC"; then
3764 if test -n "$ac_tool_prefix"; then
3765 for ac_prog in cl.exe
3766 do
3767 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3768 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if test "${ac_cv_prog_CC+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3778 for as_dir in $PATH
3779 do
3780 IFS=$as_save_IFS
3781 test -z "$as_dir" && as_dir=.
3782 for ac_exec_ext in '' $ac_executable_extensions; do
3783 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3784 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3785 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3786 break 2
3787 fi
3788 done
3789 done
3790 IFS=$as_save_IFS
3791
3792 fi
3793 fi
3794 CC=$ac_cv_prog_CC
3795 if test -n "$CC"; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3797 $as_echo "$CC" >&6; }
3798 else
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3800 $as_echo "no" >&6; }
3801 fi
3802
3803
3804 test -n "$CC" && break
3805 done
3806 fi
3807 if test -z "$CC"; then
3808 ac_ct_CC=$CC
3809 for ac_prog in cl.exe
3810 do
3811 # Extract the first word of "$ac_prog", so it can be a program name with args.
3812 set dummy $ac_prog; ac_word=$2
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3814 $as_echo_n "checking for $ac_word... " >&6; }
3815 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3816 $as_echo_n "(cached) " >&6
3817 else
3818 if test -n "$ac_ct_CC"; then
3819 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3820 else
3821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3822 for as_dir in $PATH
3823 do
3824 IFS=$as_save_IFS
3825 test -z "$as_dir" && as_dir=.
3826 for ac_exec_ext in '' $ac_executable_extensions; do
3827 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3828 ac_cv_prog_ac_ct_CC="$ac_prog"
3829 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 break 2
3831 fi
3832 done
3833 done
3834 IFS=$as_save_IFS
3835
3836 fi
3837 fi
3838 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3839 if test -n "$ac_ct_CC"; then
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3841 $as_echo "$ac_ct_CC" >&6; }
3842 else
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3844 $as_echo "no" >&6; }
3845 fi
3846
3847
3848 test -n "$ac_ct_CC" && break
3849 done
3850
3851 if test "x$ac_ct_CC" = x; then
3852 CC=""
3853 else
3854 case $cross_compiling:$ac_tool_warned in
3855 yes:)
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3858 ac_tool_warned=yes ;;
3859 esac
3860 CC=$ac_ct_CC
3861 fi
3862 fi
3863
3864 fi
3865
3866
3867 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3868 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3869 as_fn_error "no acceptable C compiler found in \$PATH
3870 See \`config.log' for more details." "$LINENO" 5; }
3871
3872 # Provide some information about the compiler.
3873 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3874 set X $ac_compile
3875 ac_compiler=$2
3876 for ac_option in --version -v -V -qversion; do
3877 { { ac_try="$ac_compiler $ac_option >&5"
3878 case "(($ac_try" in
3879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3880 *) ac_try_echo=$ac_try;;
3881 esac
3882 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3883 $as_echo "$ac_try_echo"; } >&5
3884 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3885 ac_status=$?
3886 if test -s conftest.err; then
3887 sed '10a\
3888 ... rest of stderr output deleted ...
3889 10q' conftest.err >conftest.er1
3890 cat conftest.er1 >&5
3891 rm -f conftest.er1 conftest.err
3892 fi
3893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3894 test $ac_status = 0; }
3895 done
3896
3897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3898 /* end confdefs.h. */
3899
3900 int
3901 main ()
3902 {
3903
3904 ;
3905 return 0;
3906 }
3907 _ACEOF
3908 # FIXME: Cleanup?
3909 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3910 (eval $ac_link) 2>&5
3911 ac_status=$?
3912 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3913 test $ac_status = 0; }; then :
3914 gcc_no_link=no
3915 else
3916 gcc_no_link=yes
3917 fi
3918 if test x$gcc_no_link = xyes; then
3919 # Setting cross_compile will disable run tests; it will
3920 # also disable AC_CHECK_FILE but that's generally
3921 # correct if we can't link.
3922 cross_compiling=yes
3923 EXEEXT=
3924 else
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3927
3928 int
3929 main ()
3930 {
3931
3932 ;
3933 return 0;
3934 }
3935 _ACEOF
3936 ac_clean_files_save=$ac_clean_files
3937 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3938 # Try to create an executable without -o first, disregard a.out.
3939 # It will help us diagnose broken compilers, and finding out an intuition
3940 # of exeext.
3941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3942 $as_echo_n "checking for C compiler default output file name... " >&6; }
3943 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3944
3945 # The possible output files:
3946 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3947
3948 ac_rmfiles=
3949 for ac_file in $ac_files
3950 do
3951 case $ac_file in
3952 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3953 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3954 esac
3955 done
3956 rm -f $ac_rmfiles
3957
3958 if { { ac_try="$ac_link_default"
3959 case "(($ac_try" in
3960 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3961 *) ac_try_echo=$ac_try;;
3962 esac
3963 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3964 $as_echo "$ac_try_echo"; } >&5
3965 (eval "$ac_link_default") 2>&5
3966 ac_status=$?
3967 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3968 test $ac_status = 0; }; then :
3969 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3970 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3971 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3972 # so that the user can short-circuit this test for compilers unknown to
3973 # Autoconf.
3974 for ac_file in $ac_files ''
3975 do
3976 test -f "$ac_file" || continue
3977 case $ac_file in
3978 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3979 ;;
3980 [ab].out )
3981 # We found the default executable, but exeext='' is most
3982 # certainly right.
3983 break;;
3984 *.* )
3985 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3986 then :; else
3987 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3988 fi
3989 # We set ac_cv_exeext here because the later test for it is not
3990 # safe: cross compilers may not add the suffix if given an `-o'
3991 # argument, so we may need to know it at that point already.
3992 # Even if this section looks crufty: it has the advantage of
3993 # actually working.
3994 break;;
3995 * )
3996 break;;
3997 esac
3998 done
3999 test "$ac_cv_exeext" = no && ac_cv_exeext=
4000
4001 else
4002 ac_file=''
4003 fi
4004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4005 $as_echo "$ac_file" >&6; }
4006 if test -z "$ac_file"; then :
4007 $as_echo "$as_me: failed program was:" >&5
4008 sed 's/^/| /' conftest.$ac_ext >&5
4009
4010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4012 { as_fn_set_status 77
4013 as_fn_error "C compiler cannot create executables
4014 See \`config.log' for more details." "$LINENO" 5; }; }
4015 fi
4016 ac_exeext=$ac_cv_exeext
4017
4018 # Check that the compiler produces executables we can run. If not, either
4019 # the compiler is broken, or we cross compile.
4020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4021 $as_echo_n "checking whether the C compiler works... " >&6; }
4022 # If not cross compiling, check that we can run a simple program.
4023 if test "$cross_compiling" != yes; then
4024 if { ac_try='./$ac_file'
4025 { { case "(($ac_try" in
4026 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4027 *) ac_try_echo=$ac_try;;
4028 esac
4029 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4030 $as_echo "$ac_try_echo"; } >&5
4031 (eval "$ac_try") 2>&5
4032 ac_status=$?
4033 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4034 test $ac_status = 0; }; }; then
4035 cross_compiling=no
4036 else
4037 if test "$cross_compiling" = maybe; then
4038 cross_compiling=yes
4039 else
4040 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4041 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4042 as_fn_error "cannot run C compiled programs.
4043 If you meant to cross compile, use \`--host'.
4044 See \`config.log' for more details." "$LINENO" 5; }
4045 fi
4046 fi
4047 fi
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4049 $as_echo "yes" >&6; }
4050
4051 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4052 ac_clean_files=$ac_clean_files_save
4053 # Check that the compiler produces executables we can run. If not, either
4054 # the compiler is broken, or we cross compile.
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4056 $as_echo_n "checking whether we are cross compiling... " >&6; }
4057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4058 $as_echo "$cross_compiling" >&6; }
4059
4060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4061 $as_echo_n "checking for suffix of executables... " >&6; }
4062 if { { ac_try="$ac_link"
4063 case "(($ac_try" in
4064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4065 *) ac_try_echo=$ac_try;;
4066 esac
4067 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4068 $as_echo "$ac_try_echo"; } >&5
4069 (eval "$ac_link") 2>&5
4070 ac_status=$?
4071 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4072 test $ac_status = 0; }; then :
4073 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4074 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4075 # work properly (i.e., refer to `conftest.exe'), while it won't with
4076 # `rm'.
4077 for ac_file in conftest.exe conftest conftest.*; do
4078 test -f "$ac_file" || continue
4079 case $ac_file in
4080 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4081 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4082 break;;
4083 * ) break;;
4084 esac
4085 done
4086 else
4087 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4088 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4089 as_fn_error "cannot compute suffix of executables: cannot compile and link
4090 See \`config.log' for more details." "$LINENO" 5; }
4091 fi
4092 rm -f conftest$ac_cv_exeext
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4094 $as_echo "$ac_cv_exeext" >&6; }
4095
4096 rm -f conftest.$ac_ext
4097 EXEEXT=$ac_cv_exeext
4098 ac_exeext=$EXEEXT
4099 fi
4100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4101 $as_echo_n "checking for suffix of object files... " >&6; }
4102 if test "${ac_cv_objext+set}" = set; then :
4103 $as_echo_n "(cached) " >&6
4104 else
4105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4106 /* end confdefs.h. */
4107
4108 int
4109 main ()
4110 {
4111
4112 ;
4113 return 0;
4114 }
4115 _ACEOF
4116 rm -f conftest.o conftest.obj
4117 if { { ac_try="$ac_compile"
4118 case "(($ac_try" in
4119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4120 *) ac_try_echo=$ac_try;;
4121 esac
4122 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4123 $as_echo "$ac_try_echo"; } >&5
4124 (eval "$ac_compile") 2>&5
4125 ac_status=$?
4126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4127 test $ac_status = 0; }; then :
4128 for ac_file in conftest.o conftest.obj conftest.*; do
4129 test -f "$ac_file" || continue;
4130 case $ac_file in
4131 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4132 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4133 break;;
4134 esac
4135 done
4136 else
4137 $as_echo "$as_me: failed program was:" >&5
4138 sed 's/^/| /' conftest.$ac_ext >&5
4139
4140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4142 as_fn_error "cannot compute suffix of object files: cannot compile
4143 See \`config.log' for more details." "$LINENO" 5; }
4144 fi
4145 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4146 fi
4147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4148 $as_echo "$ac_cv_objext" >&6; }
4149 OBJEXT=$ac_cv_objext
4150 ac_objext=$OBJEXT
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4152 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4153 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4154 $as_echo_n "(cached) " >&6
4155 else
4156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4157 /* end confdefs.h. */
4158
4159 int
4160 main ()
4161 {
4162 #ifndef __GNUC__
4163 choke me
4164 #endif
4165
4166 ;
4167 return 0;
4168 }
4169 _ACEOF
4170 if ac_fn_c_try_compile "$LINENO"; then :
4171 ac_compiler_gnu=yes
4172 else
4173 ac_compiler_gnu=no
4174 fi
4175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4176 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4177
4178 fi
4179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4180 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4181 if test $ac_compiler_gnu = yes; then
4182 GCC=yes
4183 else
4184 GCC=
4185 fi
4186 ac_test_CFLAGS=${CFLAGS+set}
4187 ac_save_CFLAGS=$CFLAGS
4188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4189 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4190 if test "${ac_cv_prog_cc_g+set}" = set; then :
4191 $as_echo_n "(cached) " >&6
4192 else
4193 ac_save_c_werror_flag=$ac_c_werror_flag
4194 ac_c_werror_flag=yes
4195 ac_cv_prog_cc_g=no
4196 CFLAGS="-g"
4197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4198 /* end confdefs.h. */
4199
4200 int
4201 main ()
4202 {
4203
4204 ;
4205 return 0;
4206 }
4207 _ACEOF
4208 if ac_fn_c_try_compile "$LINENO"; then :
4209 ac_cv_prog_cc_g=yes
4210 else
4211 CFLAGS=""
4212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4213 /* end confdefs.h. */
4214
4215 int
4216 main ()
4217 {
4218
4219 ;
4220 return 0;
4221 }
4222 _ACEOF
4223 if ac_fn_c_try_compile "$LINENO"; then :
4224
4225 else
4226 ac_c_werror_flag=$ac_save_c_werror_flag
4227 CFLAGS="-g"
4228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4229 /* end confdefs.h. */
4230
4231 int
4232 main ()
4233 {
4234
4235 ;
4236 return 0;
4237 }
4238 _ACEOF
4239 if ac_fn_c_try_compile "$LINENO"; then :
4240 ac_cv_prog_cc_g=yes
4241 fi
4242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4243 fi
4244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4245 fi
4246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4247 ac_c_werror_flag=$ac_save_c_werror_flag
4248 fi
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4250 $as_echo "$ac_cv_prog_cc_g" >&6; }
4251 if test "$ac_test_CFLAGS" = set; then
4252 CFLAGS=$ac_save_CFLAGS
4253 elif test $ac_cv_prog_cc_g = yes; then
4254 if test "$GCC" = yes; then
4255 CFLAGS="-g -O2"
4256 else
4257 CFLAGS="-g"
4258 fi
4259 else
4260 if test "$GCC" = yes; then
4261 CFLAGS="-O2"
4262 else
4263 CFLAGS=
4264 fi
4265 fi
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4267 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4268 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4269 $as_echo_n "(cached) " >&6
4270 else
4271 ac_cv_prog_cc_c89=no
4272 ac_save_CC=$CC
4273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4274 /* end confdefs.h. */
4275 #include <stdarg.h>
4276 #include <stdio.h>
4277 #include <sys/types.h>
4278 #include <sys/stat.h>
4279 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4280 struct buf { int x; };
4281 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4282 static char *e (p, i)
4283 char **p;
4284 int i;
4285 {
4286 return p[i];
4287 }
4288 static char *f (char * (*g) (char **, int), char **p, ...)
4289 {
4290 char *s;
4291 va_list v;
4292 va_start (v,p);
4293 s = g (p, va_arg (v,int));
4294 va_end (v);
4295 return s;
4296 }
4297
4298 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4299 function prototypes and stuff, but not '\xHH' hex character constants.
4300 These don't provoke an error unfortunately, instead are silently treated
4301 as 'x'. The following induces an error, until -std is added to get
4302 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4303 array size at least. It's necessary to write '\x00'==0 to get something
4304 that's true only with -std. */
4305 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4306
4307 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4308 inside strings and character constants. */
4309 #define FOO(x) 'x'
4310 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4311
4312 int test (int i, double x);
4313 struct s1 {int (*f) (int a);};
4314 struct s2 {int (*f) (double a);};
4315 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4316 int argc;
4317 char **argv;
4318 int
4319 main ()
4320 {
4321 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4322 ;
4323 return 0;
4324 }
4325 _ACEOF
4326 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4327 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4328 do
4329 CC="$ac_save_CC $ac_arg"
4330 if ac_fn_c_try_compile "$LINENO"; then :
4331 ac_cv_prog_cc_c89=$ac_arg
4332 fi
4333 rm -f core conftest.err conftest.$ac_objext
4334 test "x$ac_cv_prog_cc_c89" != "xno" && break
4335 done
4336 rm -f conftest.$ac_ext
4337 CC=$ac_save_CC
4338
4339 fi
4340 # AC_CACHE_VAL
4341 case "x$ac_cv_prog_cc_c89" in
4342 x)
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4344 $as_echo "none needed" >&6; } ;;
4345 xno)
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4347 $as_echo "unsupported" >&6; } ;;
4348 *)
4349 CC="$CC $ac_cv_prog_cc_c89"
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4351 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4352 esac
4353 if test "x$ac_cv_prog_cc_c89" != xno; then :
4354
4355 fi
4356
4357 ac_ext=c
4358 ac_cpp='$CPP $CPPFLAGS'
4359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4362
4363 ac_ext=cpp
4364 ac_cpp='$CXXCPP $CPPFLAGS'
4365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4368 if test -z "$CXX"; then
4369 if test -n "$CCC"; then
4370 CXX=$CCC
4371 else
4372 if test -n "$ac_tool_prefix"; then
4373 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4374 do
4375 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4376 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4378 $as_echo_n "checking for $ac_word... " >&6; }
4379 if test "${ac_cv_prog_CXX+set}" = set; then :
4380 $as_echo_n "(cached) " >&6
4381 else
4382 if test -n "$CXX"; then
4383 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4384 else
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 for as_dir in $PATH
4387 do
4388 IFS=$as_save_IFS
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4392 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 break 2
4395 fi
4396 done
4397 done
4398 IFS=$as_save_IFS
4399
4400 fi
4401 fi
4402 CXX=$ac_cv_prog_CXX
4403 if test -n "$CXX"; then
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4405 $as_echo "$CXX" >&6; }
4406 else
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4408 $as_echo "no" >&6; }
4409 fi
4410
4411
4412 test -n "$CXX" && break
4413 done
4414 fi
4415 if test -z "$CXX"; then
4416 ac_ct_CXX=$CXX
4417 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4418 do
4419 # Extract the first word of "$ac_prog", so it can be a program name with args.
4420 set dummy $ac_prog; ac_word=$2
4421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4422 $as_echo_n "checking for $ac_word... " >&6; }
4423 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4424 $as_echo_n "(cached) " >&6
4425 else
4426 if test -n "$ac_ct_CXX"; then
4427 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4428 else
4429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4430 for as_dir in $PATH
4431 do
4432 IFS=$as_save_IFS
4433 test -z "$as_dir" && as_dir=.
4434 for ac_exec_ext in '' $ac_executable_extensions; do
4435 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4436 ac_cv_prog_ac_ct_CXX="$ac_prog"
4437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4438 break 2
4439 fi
4440 done
4441 done
4442 IFS=$as_save_IFS
4443
4444 fi
4445 fi
4446 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4447 if test -n "$ac_ct_CXX"; then
4448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4449 $as_echo "$ac_ct_CXX" >&6; }
4450 else
4451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4452 $as_echo "no" >&6; }
4453 fi
4454
4455
4456 test -n "$ac_ct_CXX" && break
4457 done
4458
4459 if test "x$ac_ct_CXX" = x; then
4460 CXX="g++"
4461 else
4462 case $cross_compiling:$ac_tool_warned in
4463 yes:)
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4466 ac_tool_warned=yes ;;
4467 esac
4468 CXX=$ac_ct_CXX
4469 fi
4470 fi
4471
4472 fi
4473 fi
4474 # Provide some information about the compiler.
4475 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4476 set X $ac_compile
4477 ac_compiler=$2
4478 for ac_option in --version -v -V -qversion; do
4479 { { ac_try="$ac_compiler $ac_option >&5"
4480 case "(($ac_try" in
4481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4482 *) ac_try_echo=$ac_try;;
4483 esac
4484 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4485 $as_echo "$ac_try_echo"; } >&5
4486 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4487 ac_status=$?
4488 if test -s conftest.err; then
4489 sed '10a\
4490 ... rest of stderr output deleted ...
4491 10q' conftest.err >conftest.er1
4492 cat conftest.er1 >&5
4493 rm -f conftest.er1 conftest.err
4494 fi
4495 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4496 test $ac_status = 0; }
4497 done
4498
4499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4500 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4501 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4502 $as_echo_n "(cached) " >&6
4503 else
4504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4505 /* end confdefs.h. */
4506
4507 int
4508 main ()
4509 {
4510 #ifndef __GNUC__
4511 choke me
4512 #endif
4513
4514 ;
4515 return 0;
4516 }
4517 _ACEOF
4518 if ac_fn_cxx_try_compile "$LINENO"; then :
4519 ac_compiler_gnu=yes
4520 else
4521 ac_compiler_gnu=no
4522 fi
4523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4524 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4525
4526 fi
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4528 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4529 if test $ac_compiler_gnu = yes; then
4530 GXX=yes
4531 else
4532 GXX=
4533 fi
4534 ac_test_CXXFLAGS=${CXXFLAGS+set}
4535 ac_save_CXXFLAGS=$CXXFLAGS
4536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4537 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4538 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4539 $as_echo_n "(cached) " >&6
4540 else
4541 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4542 ac_cxx_werror_flag=yes
4543 ac_cv_prog_cxx_g=no
4544 CXXFLAGS="-g"
4545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4546 /* end confdefs.h. */
4547
4548 int
4549 main ()
4550 {
4551
4552 ;
4553 return 0;
4554 }
4555 _ACEOF
4556 if ac_fn_cxx_try_compile "$LINENO"; then :
4557 ac_cv_prog_cxx_g=yes
4558 else
4559 CXXFLAGS=""
4560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4561 /* end confdefs.h. */
4562
4563 int
4564 main ()
4565 {
4566
4567 ;
4568 return 0;
4569 }
4570 _ACEOF
4571 if ac_fn_cxx_try_compile "$LINENO"; then :
4572
4573 else
4574 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4575 CXXFLAGS="-g"
4576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4577 /* end confdefs.h. */
4578
4579 int
4580 main ()
4581 {
4582
4583 ;
4584 return 0;
4585 }
4586 _ACEOF
4587 if ac_fn_cxx_try_compile "$LINENO"; then :
4588 ac_cv_prog_cxx_g=yes
4589 fi
4590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4591 fi
4592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4593 fi
4594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4595 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4596 fi
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4598 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4599 if test "$ac_test_CXXFLAGS" = set; then
4600 CXXFLAGS=$ac_save_CXXFLAGS
4601 elif test $ac_cv_prog_cxx_g = yes; then
4602 if test "$GXX" = yes; then
4603 CXXFLAGS="-g -O2"
4604 else
4605 CXXFLAGS="-g"
4606 fi
4607 else
4608 if test "$GXX" = yes; then
4609 CXXFLAGS="-O2"
4610 else
4611 CXXFLAGS=
4612 fi
4613 fi
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
4620 CXXFLAGS="$save_CXXFLAGS"
4621
4622 # Runs configure.host, and assorted other critical bits. Sets
4623 # up critical shell variables.
4624
4625 ac_ext=c
4626 ac_cpp='$CPP $CPPFLAGS'
4627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4631 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4632 # On Suns, sometimes $CPP names a directory.
4633 if test -n "$CPP" && test -d "$CPP"; then
4634 CPP=
4635 fi
4636 if test -z "$CPP"; then
4637 if test "${ac_cv_prog_CPP+set}" = set; then :
4638 $as_echo_n "(cached) " >&6
4639 else
4640 # Double quotes because CPP needs to be expanded
4641 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4642 do
4643 ac_preproc_ok=false
4644 for ac_c_preproc_warn_flag in '' yes
4645 do
4646 # Use a header file that comes with gcc, so configuring glibc
4647 # with a fresh cross-compiler works.
4648 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4649 # <limits.h> exists even on freestanding compilers.
4650 # On the NeXT, cc -E runs the code through the compiler's parser,
4651 # not just through cpp. "Syntax error" is here to catch this case.
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4654 #ifdef __STDC__
4655 # include <limits.h>
4656 #else
4657 # include <assert.h>
4658 #endif
4659 Syntax error
4660 _ACEOF
4661 if ac_fn_c_try_cpp "$LINENO"; then :
4662
4663 else
4664 # Broken: fails on valid input.
4665 continue
4666 fi
4667 rm -f conftest.err conftest.$ac_ext
4668
4669 # OK, works on sane cases. Now check whether nonexistent headers
4670 # can be detected and how.
4671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4672 /* end confdefs.h. */
4673 #include <ac_nonexistent.h>
4674 _ACEOF
4675 if ac_fn_c_try_cpp "$LINENO"; then :
4676 # Broken: success on invalid input.
4677 continue
4678 else
4679 # Passes both tests.
4680 ac_preproc_ok=:
4681 break
4682 fi
4683 rm -f conftest.err conftest.$ac_ext
4684
4685 done
4686 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4687 rm -f conftest.err conftest.$ac_ext
4688 if $ac_preproc_ok; then :
4689 break
4690 fi
4691
4692 done
4693 ac_cv_prog_CPP=$CPP
4694
4695 fi
4696 CPP=$ac_cv_prog_CPP
4697 else
4698 ac_cv_prog_CPP=$CPP
4699 fi
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4701 $as_echo "$CPP" >&6; }
4702 ac_preproc_ok=false
4703 for ac_c_preproc_warn_flag in '' yes
4704 do
4705 # Use a header file that comes with gcc, so configuring glibc
4706 # with a fresh cross-compiler works.
4707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4708 # <limits.h> exists even on freestanding compilers.
4709 # On the NeXT, cc -E runs the code through the compiler's parser,
4710 # not just through cpp. "Syntax error" is here to catch this case.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #ifdef __STDC__
4714 # include <limits.h>
4715 #else
4716 # include <assert.h>
4717 #endif
4718 Syntax error
4719 _ACEOF
4720 if ac_fn_c_try_cpp "$LINENO"; then :
4721
4722 else
4723 # Broken: fails on valid input.
4724 continue
4725 fi
4726 rm -f conftest.err conftest.$ac_ext
4727
4728 # OK, works on sane cases. Now check whether nonexistent headers
4729 # can be detected and how.
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <ac_nonexistent.h>
4733 _ACEOF
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4735 # Broken: success on invalid input.
4736 continue
4737 else
4738 # Passes both tests.
4739 ac_preproc_ok=:
4740 break
4741 fi
4742 rm -f conftest.err conftest.$ac_ext
4743
4744 done
4745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4746 rm -f conftest.err conftest.$ac_ext
4747 if $ac_preproc_ok; then :
4748
4749 else
4750 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4751 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4752 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4753 See \`config.log' for more details." "$LINENO" 5; }
4754 fi
4755
4756 ac_ext=c
4757 ac_cpp='$CPP $CPPFLAGS'
4758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4761
4762
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4764 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4765 if test "${ac_cv_path_GREP+set}" = set; then :
4766 $as_echo_n "(cached) " >&6
4767 else
4768 if test -z "$GREP"; then
4769 ac_path_GREP_found=false
4770 # Loop through the user's path and test for each of PROGNAME-LIST
4771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4772 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4773 do
4774 IFS=$as_save_IFS
4775 test -z "$as_dir" && as_dir=.
4776 for ac_prog in grep ggrep; do
4777 for ac_exec_ext in '' $ac_executable_extensions; do
4778 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4779 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4780 # Check for GNU ac_path_GREP and select it if it is found.
4781 # Check for GNU $ac_path_GREP
4782 case `"$ac_path_GREP" --version 2>&1` in
4783 *GNU*)
4784 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4785 *)
4786 ac_count=0
4787 $as_echo_n 0123456789 >"conftest.in"
4788 while :
4789 do
4790 cat "conftest.in" "conftest.in" >"conftest.tmp"
4791 mv "conftest.tmp" "conftest.in"
4792 cp "conftest.in" "conftest.nl"
4793 $as_echo 'GREP' >> "conftest.nl"
4794 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4795 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4796 as_fn_arith $ac_count + 1 && ac_count=$as_val
4797 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4798 # Best one so far, save it but keep looking for a better one
4799 ac_cv_path_GREP="$ac_path_GREP"
4800 ac_path_GREP_max=$ac_count
4801 fi
4802 # 10*(2^10) chars as input seems more than enough
4803 test $ac_count -gt 10 && break
4804 done
4805 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4806 esac
4807
4808 $ac_path_GREP_found && break 3
4809 done
4810 done
4811 done
4812 IFS=$as_save_IFS
4813 if test -z "$ac_cv_path_GREP"; then
4814 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4815 fi
4816 else
4817 ac_cv_path_GREP=$GREP
4818 fi
4819
4820 fi
4821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4822 $as_echo "$ac_cv_path_GREP" >&6; }
4823 GREP="$ac_cv_path_GREP"
4824
4825
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4827 $as_echo_n "checking for egrep... " >&6; }
4828 if test "${ac_cv_path_EGREP+set}" = set; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4832 then ac_cv_path_EGREP="$GREP -E"
4833 else
4834 if test -z "$EGREP"; then
4835 ac_path_EGREP_found=false
4836 # Loop through the user's path and test for each of PROGNAME-LIST
4837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4838 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4839 do
4840 IFS=$as_save_IFS
4841 test -z "$as_dir" && as_dir=.
4842 for ac_prog in egrep; do
4843 for ac_exec_ext in '' $ac_executable_extensions; do
4844 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4845 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4846 # Check for GNU ac_path_EGREP and select it if it is found.
4847 # Check for GNU $ac_path_EGREP
4848 case `"$ac_path_EGREP" --version 2>&1` in
4849 *GNU*)
4850 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4851 *)
4852 ac_count=0
4853 $as_echo_n 0123456789 >"conftest.in"
4854 while :
4855 do
4856 cat "conftest.in" "conftest.in" >"conftest.tmp"
4857 mv "conftest.tmp" "conftest.in"
4858 cp "conftest.in" "conftest.nl"
4859 $as_echo 'EGREP' >> "conftest.nl"
4860 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4861 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4862 as_fn_arith $ac_count + 1 && ac_count=$as_val
4863 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4864 # Best one so far, save it but keep looking for a better one
4865 ac_cv_path_EGREP="$ac_path_EGREP"
4866 ac_path_EGREP_max=$ac_count
4867 fi
4868 # 10*(2^10) chars as input seems more than enough
4869 test $ac_count -gt 10 && break
4870 done
4871 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4872 esac
4873
4874 $ac_path_EGREP_found && break 3
4875 done
4876 done
4877 done
4878 IFS=$as_save_IFS
4879 if test -z "$ac_cv_path_EGREP"; then
4880 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4881 fi
4882 else
4883 ac_cv_path_EGREP=$EGREP
4884 fi
4885
4886 fi
4887 fi
4888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4889 $as_echo "$ac_cv_path_EGREP" >&6; }
4890 EGREP="$ac_cv_path_EGREP"
4891
4892
4893
4894 # Keep these sync'd with the list in Makefile.am. The first provides an
4895 # expandable list at autoconf time; the second provides an expandable list
4896 # (i.e., shell variable) at configure time.
4897
4898 SUBDIRS='include libsupc++ python src src/c++98 src/c++11 doc po testsuite'
4899
4900 # These need to be absolute paths, yet at the same time need to
4901 # canonicalize only relative paths, because then amd will not unmount
4902 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4903 glibcxx_builddir=`${PWDCMD-pwd}`
4904 case $srcdir in
4905 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4906 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4907 esac
4908 toplevel_builddir=${glibcxx_builddir}/..
4909 toplevel_srcdir=${glibcxx_srcdir}/..
4910
4911
4912
4913
4914
4915 # We use these options to decide which functions to include. They are
4916 # set from the top level.
4917
4918 # Check whether --with-target-subdir was given.
4919 if test "${with_target_subdir+set}" = set; then :
4920 withval=$with_target_subdir;
4921 fi
4922
4923
4924
4925 # Check whether --with-cross-host was given.
4926 if test "${with_cross_host+set}" = set; then :
4927 withval=$with_cross_host;
4928 fi
4929
4930
4931
4932 # Check whether --with-newlib was given.
4933 if test "${with_newlib+set}" = set; then :
4934 withval=$with_newlib;
4935 fi
4936
4937
4938 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4939 # available). Uncomment the next line to force a particular method.
4940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4941 $as_echo_n "checking whether ln -s works... " >&6; }
4942 LN_S=$as_ln_s
4943 if test "$LN_S" = "ln -s"; then
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4945 $as_echo "yes" >&6; }
4946 else
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4948 $as_echo "no, using $LN_S" >&6; }
4949 fi
4950
4951 #LN_S='cp -p'
4952
4953 if test -n "$ac_tool_prefix"; then
4954 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
4955 set dummy ${ac_tool_prefix}as; ac_word=$2
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4957 $as_echo_n "checking for $ac_word... " >&6; }
4958 if test "${ac_cv_prog_AS+set}" = set; then :
4959 $as_echo_n "(cached) " >&6
4960 else
4961 if test -n "$AS"; then
4962 ac_cv_prog_AS="$AS" # Let the user override the test.
4963 else
4964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4965 for as_dir in $PATH
4966 do
4967 IFS=$as_save_IFS
4968 test -z "$as_dir" && as_dir=.
4969 for ac_exec_ext in '' $ac_executable_extensions; do
4970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4971 ac_cv_prog_AS="${ac_tool_prefix}as"
4972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4973 break 2
4974 fi
4975 done
4976 done
4977 IFS=$as_save_IFS
4978
4979 fi
4980 fi
4981 AS=$ac_cv_prog_AS
4982 if test -n "$AS"; then
4983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
4984 $as_echo "$AS" >&6; }
4985 else
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4987 $as_echo "no" >&6; }
4988 fi
4989
4990
4991 fi
4992 if test -z "$ac_cv_prog_AS"; then
4993 ac_ct_AS=$AS
4994 # Extract the first word of "as", so it can be a program name with args.
4995 set dummy as; ac_word=$2
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4997 $as_echo_n "checking for $ac_word... " >&6; }
4998 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
4999 $as_echo_n "(cached) " >&6
5000 else
5001 if test -n "$ac_ct_AS"; then
5002 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5003 else
5004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5005 for as_dir in $PATH
5006 do
5007 IFS=$as_save_IFS
5008 test -z "$as_dir" && as_dir=.
5009 for ac_exec_ext in '' $ac_executable_extensions; do
5010 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5011 ac_cv_prog_ac_ct_AS="as"
5012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5013 break 2
5014 fi
5015 done
5016 done
5017 IFS=$as_save_IFS
5018
5019 fi
5020 fi
5021 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5022 if test -n "$ac_ct_AS"; then
5023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5024 $as_echo "$ac_ct_AS" >&6; }
5025 else
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5027 $as_echo "no" >&6; }
5028 fi
5029
5030 if test "x$ac_ct_AS" = x; then
5031 AS=""
5032 else
5033 case $cross_compiling:$ac_tool_warned in
5034 yes:)
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5037 ac_tool_warned=yes ;;
5038 esac
5039 AS=$ac_ct_AS
5040 fi
5041 else
5042 AS="$ac_cv_prog_AS"
5043 fi
5044
5045 if test -n "$ac_tool_prefix"; then
5046 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5047 set dummy ${ac_tool_prefix}ar; ac_word=$2
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5049 $as_echo_n "checking for $ac_word... " >&6; }
5050 if test "${ac_cv_prog_AR+set}" = set; then :
5051 $as_echo_n "(cached) " >&6
5052 else
5053 if test -n "$AR"; then
5054 ac_cv_prog_AR="$AR" # Let the user override the test.
5055 else
5056 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5057 for as_dir in $PATH
5058 do
5059 IFS=$as_save_IFS
5060 test -z "$as_dir" && as_dir=.
5061 for ac_exec_ext in '' $ac_executable_extensions; do
5062 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5063 ac_cv_prog_AR="${ac_tool_prefix}ar"
5064 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5065 break 2
5066 fi
5067 done
5068 done
5069 IFS=$as_save_IFS
5070
5071 fi
5072 fi
5073 AR=$ac_cv_prog_AR
5074 if test -n "$AR"; then
5075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5076 $as_echo "$AR" >&6; }
5077 else
5078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5079 $as_echo "no" >&6; }
5080 fi
5081
5082
5083 fi
5084 if test -z "$ac_cv_prog_AR"; then
5085 ac_ct_AR=$AR
5086 # Extract the first word of "ar", so it can be a program name with args.
5087 set dummy ar; ac_word=$2
5088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5089 $as_echo_n "checking for $ac_word... " >&6; }
5090 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5091 $as_echo_n "(cached) " >&6
5092 else
5093 if test -n "$ac_ct_AR"; then
5094 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5095 else
5096 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5097 for as_dir in $PATH
5098 do
5099 IFS=$as_save_IFS
5100 test -z "$as_dir" && as_dir=.
5101 for ac_exec_ext in '' $ac_executable_extensions; do
5102 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5103 ac_cv_prog_ac_ct_AR="ar"
5104 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5105 break 2
5106 fi
5107 done
5108 done
5109 IFS=$as_save_IFS
5110
5111 fi
5112 fi
5113 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5114 if test -n "$ac_ct_AR"; then
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5116 $as_echo "$ac_ct_AR" >&6; }
5117 else
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5119 $as_echo "no" >&6; }
5120 fi
5121
5122 if test "x$ac_ct_AR" = x; then
5123 AR=""
5124 else
5125 case $cross_compiling:$ac_tool_warned in
5126 yes:)
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5128 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5129 ac_tool_warned=yes ;;
5130 esac
5131 AR=$ac_ct_AR
5132 fi
5133 else
5134 AR="$ac_cv_prog_AR"
5135 fi
5136
5137 if test -n "$ac_tool_prefix"; then
5138 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5139 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5141 $as_echo_n "checking for $ac_word... " >&6; }
5142 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5143 $as_echo_n "(cached) " >&6
5144 else
5145 if test -n "$RANLIB"; then
5146 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5147 else
5148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5149 for as_dir in $PATH
5150 do
5151 IFS=$as_save_IFS
5152 test -z "$as_dir" && as_dir=.
5153 for ac_exec_ext in '' $ac_executable_extensions; do
5154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5155 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5157 break 2
5158 fi
5159 done
5160 done
5161 IFS=$as_save_IFS
5162
5163 fi
5164 fi
5165 RANLIB=$ac_cv_prog_RANLIB
5166 if test -n "$RANLIB"; then
5167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5168 $as_echo "$RANLIB" >&6; }
5169 else
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5171 $as_echo "no" >&6; }
5172 fi
5173
5174
5175 fi
5176 if test -z "$ac_cv_prog_RANLIB"; then
5177 ac_ct_RANLIB=$RANLIB
5178 # Extract the first word of "ranlib", so it can be a program name with args.
5179 set dummy ranlib; ac_word=$2
5180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5181 $as_echo_n "checking for $ac_word... " >&6; }
5182 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5183 $as_echo_n "(cached) " >&6
5184 else
5185 if test -n "$ac_ct_RANLIB"; then
5186 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5187 else
5188 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5189 for as_dir in $PATH
5190 do
5191 IFS=$as_save_IFS
5192 test -z "$as_dir" && as_dir=.
5193 for ac_exec_ext in '' $ac_executable_extensions; do
5194 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5195 ac_cv_prog_ac_ct_RANLIB="ranlib"
5196 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5197 break 2
5198 fi
5199 done
5200 done
5201 IFS=$as_save_IFS
5202
5203 fi
5204 fi
5205 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5206 if test -n "$ac_ct_RANLIB"; then
5207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5208 $as_echo "$ac_ct_RANLIB" >&6; }
5209 else
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5211 $as_echo "no" >&6; }
5212 fi
5213
5214 if test "x$ac_ct_RANLIB" = x; then
5215 RANLIB="ranlib-not-found-in-path-error"
5216 else
5217 case $cross_compiling:$ac_tool_warned in
5218 yes:)
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5221 ac_tool_warned=yes ;;
5222 esac
5223 RANLIB=$ac_ct_RANLIB
5224 fi
5225 else
5226 RANLIB="$ac_cv_prog_RANLIB"
5227 fi
5228
5229
5230
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5232 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5233 # Check whether --enable-maintainer-mode was given.
5234 if test "${enable_maintainer_mode+set}" = set; then :
5235 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5236 else
5237 USE_MAINTAINER_MODE=no
5238 fi
5239
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5241 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5242 if test $USE_MAINTAINER_MODE = yes; then
5243 MAINTAINER_MODE_TRUE=
5244 MAINTAINER_MODE_FALSE='#'
5245 else
5246 MAINTAINER_MODE_TRUE='#'
5247 MAINTAINER_MODE_FALSE=
5248 fi
5249
5250 MAINT=$MAINTAINER_MODE_TRUE
5251
5252
5253
5254 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5255 # which are themselves conditionally expanded.
5256 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5257 ## other macros from doing the same. This should be automated.) -pme
5258
5259 # Check for C library flavor since GNU/Linux platforms use different
5260 # configuration directories depending on the C library in use.
5261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5262 /* end confdefs.h. */
5263
5264 #include <stdio.h>
5265 #if __UCLIBC__
5266 _using_uclibc
5267 #endif
5268
5269 _ACEOF
5270 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5271 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5272 uclibc=yes
5273 else
5274 uclibc=no
5275 fi
5276 rm -f conftest*
5277
5278
5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5281
5282 #include <stdio.h>
5283 #if __BIONIC__
5284 _using_bionic
5285 #endif
5286
5287 _ACEOF
5288 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5289 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5290 bionic=yes
5291 else
5292 bionic=no
5293 fi
5294 rm -f conftest*
5295
5296
5297 # Find platform-specific directories containing configuration info.
5298 # Also possibly modify flags used elsewhere, as needed by the platform.
5299
5300 . $glibcxx_srcdir/configure.host
5301 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5302 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5304 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5305
5306
5307
5308 # Libtool setup.
5309 if test "x${with_newlib}" != "xyes"; then
5310 enable_dlopen=yes
5311
5312
5313
5314 fi
5315 case `pwd` in
5316 *\ * | *\ *)
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5318 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5319 esac
5320
5321
5322
5323 macro_version='2.2.7a'
5324 macro_revision='1.3134'
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338 ltmain="$ac_aux_dir/ltmain.sh"
5339
5340 # Backslashify metacharacters that are still active within
5341 # double-quoted strings.
5342 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5343
5344 # Same as above, but do not quote variable references.
5345 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5346
5347 # Sed substitution to delay expansion of an escaped shell variable in a
5348 # double_quote_subst'ed string.
5349 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5350
5351 # Sed substitution to delay expansion of an escaped single quote.
5352 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5353
5354 # Sed substitution to avoid accidental globbing in evaled expressions
5355 no_glob_subst='s/\*/\\\*/g'
5356
5357 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5358 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5359 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5360
5361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5362 $as_echo_n "checking how to print strings... " >&6; }
5363 # Test print first, because it will be a builtin if present.
5364 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5365 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5366 ECHO='print -r --'
5367 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5368 ECHO='printf %s\n'
5369 else
5370 # Use this function as a fallback that always works.
5371 func_fallback_echo ()
5372 {
5373 eval 'cat <<_LTECHO_EOF
5374 $1
5375 _LTECHO_EOF'
5376 }
5377 ECHO='func_fallback_echo'
5378 fi
5379
5380 # func_echo_all arg...
5381 # Invoke $ECHO with all args, space-separated.
5382 func_echo_all ()
5383 {
5384 $ECHO ""
5385 }
5386
5387 case "$ECHO" in
5388 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5389 $as_echo "printf" >&6; } ;;
5390 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5391 $as_echo "print -r" >&6; } ;;
5392 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5393 $as_echo "cat" >&6; } ;;
5394 esac
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5410 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5411 if test "${ac_cv_path_SED+set}" = set; then :
5412 $as_echo_n "(cached) " >&6
5413 else
5414 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5415 for ac_i in 1 2 3 4 5 6 7; do
5416 ac_script="$ac_script$as_nl$ac_script"
5417 done
5418 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5419 { ac_script=; unset ac_script;}
5420 if test -z "$SED"; then
5421 ac_path_SED_found=false
5422 # Loop through the user's path and test for each of PROGNAME-LIST
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5425 do
5426 IFS=$as_save_IFS
5427 test -z "$as_dir" && as_dir=.
5428 for ac_prog in sed gsed; do
5429 for ac_exec_ext in '' $ac_executable_extensions; do
5430 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5431 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5432 # Check for GNU ac_path_SED and select it if it is found.
5433 # Check for GNU $ac_path_SED
5434 case `"$ac_path_SED" --version 2>&1` in
5435 *GNU*)
5436 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5437 *)
5438 ac_count=0
5439 $as_echo_n 0123456789 >"conftest.in"
5440 while :
5441 do
5442 cat "conftest.in" "conftest.in" >"conftest.tmp"
5443 mv "conftest.tmp" "conftest.in"
5444 cp "conftest.in" "conftest.nl"
5445 $as_echo '' >> "conftest.nl"
5446 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5447 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5448 as_fn_arith $ac_count + 1 && ac_count=$as_val
5449 if test $ac_count -gt ${ac_path_SED_max-0}; then
5450 # Best one so far, save it but keep looking for a better one
5451 ac_cv_path_SED="$ac_path_SED"
5452 ac_path_SED_max=$ac_count
5453 fi
5454 # 10*(2^10) chars as input seems more than enough
5455 test $ac_count -gt 10 && break
5456 done
5457 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5458 esac
5459
5460 $ac_path_SED_found && break 3
5461 done
5462 done
5463 done
5464 IFS=$as_save_IFS
5465 if test -z "$ac_cv_path_SED"; then
5466 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5467 fi
5468 else
5469 ac_cv_path_SED=$SED
5470 fi
5471
5472 fi
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5474 $as_echo "$ac_cv_path_SED" >&6; }
5475 SED="$ac_cv_path_SED"
5476 rm -f conftest.sed
5477
5478 test -z "$SED" && SED=sed
5479 Xsed="$SED -e 1s/^X//"
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5492 $as_echo_n "checking for fgrep... " >&6; }
5493 if test "${ac_cv_path_FGREP+set}" = set; then :
5494 $as_echo_n "(cached) " >&6
5495 else
5496 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5497 then ac_cv_path_FGREP="$GREP -F"
5498 else
5499 if test -z "$FGREP"; then
5500 ac_path_FGREP_found=false
5501 # Loop through the user's path and test for each of PROGNAME-LIST
5502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5503 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5504 do
5505 IFS=$as_save_IFS
5506 test -z "$as_dir" && as_dir=.
5507 for ac_prog in fgrep; do
5508 for ac_exec_ext in '' $ac_executable_extensions; do
5509 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5510 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5511 # Check for GNU ac_path_FGREP and select it if it is found.
5512 # Check for GNU $ac_path_FGREP
5513 case `"$ac_path_FGREP" --version 2>&1` in
5514 *GNU*)
5515 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5516 *)
5517 ac_count=0
5518 $as_echo_n 0123456789 >"conftest.in"
5519 while :
5520 do
5521 cat "conftest.in" "conftest.in" >"conftest.tmp"
5522 mv "conftest.tmp" "conftest.in"
5523 cp "conftest.in" "conftest.nl"
5524 $as_echo 'FGREP' >> "conftest.nl"
5525 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5526 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5527 as_fn_arith $ac_count + 1 && ac_count=$as_val
5528 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5529 # Best one so far, save it but keep looking for a better one
5530 ac_cv_path_FGREP="$ac_path_FGREP"
5531 ac_path_FGREP_max=$ac_count
5532 fi
5533 # 10*(2^10) chars as input seems more than enough
5534 test $ac_count -gt 10 && break
5535 done
5536 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5537 esac
5538
5539 $ac_path_FGREP_found && break 3
5540 done
5541 done
5542 done
5543 IFS=$as_save_IFS
5544 if test -z "$ac_cv_path_FGREP"; then
5545 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5546 fi
5547 else
5548 ac_cv_path_FGREP=$FGREP
5549 fi
5550
5551 fi
5552 fi
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5554 $as_echo "$ac_cv_path_FGREP" >&6; }
5555 FGREP="$ac_cv_path_FGREP"
5556
5557
5558 test -z "$GREP" && GREP=grep
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578 # Check whether --with-gnu-ld was given.
5579 if test "${with_gnu_ld+set}" = set; then :
5580 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5581 else
5582 with_gnu_ld=no
5583 fi
5584
5585 ac_prog=ld
5586 if test "$GCC" = yes; then
5587 # Check if gcc -print-prog-name=ld gives a path.
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5589 $as_echo_n "checking for ld used by $CC... " >&6; }
5590 case $host in
5591 *-*-mingw*)
5592 # gcc leaves a trailing carriage return which upsets mingw
5593 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5594 *)
5595 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5596 esac
5597 case $ac_prog in
5598 # Accept absolute paths.
5599 [\\/]* | ?:[\\/]*)
5600 re_direlt='/[^/][^/]*/\.\./'
5601 # Canonicalize the pathname of ld
5602 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5603 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5604 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5605 done
5606 test -z "$LD" && LD="$ac_prog"
5607 ;;
5608 "")
5609 # If it fails, then pretend we aren't using GCC.
5610 ac_prog=ld
5611 ;;
5612 *)
5613 # If it is relative, then search for the first ld in PATH.
5614 with_gnu_ld=unknown
5615 ;;
5616 esac
5617 elif test "$with_gnu_ld" = yes; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5619 $as_echo_n "checking for GNU ld... " >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5622 $as_echo_n "checking for non-GNU ld... " >&6; }
5623 fi
5624 if test "${lt_cv_path_LD+set}" = set; then :
5625 $as_echo_n "(cached) " >&6
5626 else
5627 if test -z "$LD"; then
5628 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5629 for ac_dir in $PATH; do
5630 IFS="$lt_save_ifs"
5631 test -z "$ac_dir" && ac_dir=.
5632 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5633 lt_cv_path_LD="$ac_dir/$ac_prog"
5634 # Check to see if the program is GNU ld. I'd rather use --version,
5635 # but apparently some variants of GNU ld only accept -v.
5636 # Break only if it was the GNU/non-GNU ld that we prefer.
5637 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5638 *GNU* | *'with BFD'*)
5639 test "$with_gnu_ld" != no && break
5640 ;;
5641 *)
5642 test "$with_gnu_ld" != yes && break
5643 ;;
5644 esac
5645 fi
5646 done
5647 IFS="$lt_save_ifs"
5648 else
5649 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5650 fi
5651 fi
5652
5653 LD="$lt_cv_path_LD"
5654 if test -n "$LD"; then
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5656 $as_echo "$LD" >&6; }
5657 else
5658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5659 $as_echo "no" >&6; }
5660 fi
5661 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5663 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5664 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5665 $as_echo_n "(cached) " >&6
5666 else
5667 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5668 case `$LD -v 2>&1 </dev/null` in
5669 *GNU* | *'with BFD'*)
5670 lt_cv_prog_gnu_ld=yes
5671 ;;
5672 *)
5673 lt_cv_prog_gnu_ld=no
5674 ;;
5675 esac
5676 fi
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5678 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5679 with_gnu_ld=$lt_cv_prog_gnu_ld
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5690 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5691 if test "${lt_cv_path_NM+set}" = set; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 if test -n "$NM"; then
5695 # Let the user override the test.
5696 lt_cv_path_NM="$NM"
5697 else
5698 lt_nm_to_check="${ac_tool_prefix}nm"
5699 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5700 lt_nm_to_check="$lt_nm_to_check nm"
5701 fi
5702 for lt_tmp_nm in $lt_nm_to_check; do
5703 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5704 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5705 IFS="$lt_save_ifs"
5706 test -z "$ac_dir" && ac_dir=.
5707 tmp_nm="$ac_dir/$lt_tmp_nm"
5708 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5709 # Check to see if the nm accepts a BSD-compat flag.
5710 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5711 # nm: unknown option "B" ignored
5712 # Tru64's nm complains that /dev/null is an invalid object file
5713 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5714 */dev/null* | *'Invalid file or object type'*)
5715 lt_cv_path_NM="$tmp_nm -B"
5716 break
5717 ;;
5718 *)
5719 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5720 */dev/null*)
5721 lt_cv_path_NM="$tmp_nm -p"
5722 break
5723 ;;
5724 *)
5725 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5726 continue # so that we can try to find one that supports BSD flags
5727 ;;
5728 esac
5729 ;;
5730 esac
5731 fi
5732 done
5733 IFS="$lt_save_ifs"
5734 done
5735 : ${lt_cv_path_NM=no}
5736 fi
5737 fi
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5739 $as_echo "$lt_cv_path_NM" >&6; }
5740 if test "$lt_cv_path_NM" != "no"; then
5741 NM="$lt_cv_path_NM"
5742 else
5743 # Didn't find any BSD compatible name lister, look for dumpbin.
5744 if test -n "$DUMPBIN"; then :
5745 # Let the user override the test.
5746 else
5747 if test -n "$ac_tool_prefix"; then
5748 for ac_prog in dumpbin "link -dump"
5749 do
5750 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5751 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5753 $as_echo_n "checking for $ac_word... " >&6; }
5754 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5755 $as_echo_n "(cached) " >&6
5756 else
5757 if test -n "$DUMPBIN"; then
5758 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5759 else
5760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5761 for as_dir in $PATH
5762 do
5763 IFS=$as_save_IFS
5764 test -z "$as_dir" && as_dir=.
5765 for ac_exec_ext in '' $ac_executable_extensions; do
5766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5767 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5769 break 2
5770 fi
5771 done
5772 done
5773 IFS=$as_save_IFS
5774
5775 fi
5776 fi
5777 DUMPBIN=$ac_cv_prog_DUMPBIN
5778 if test -n "$DUMPBIN"; then
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5780 $as_echo "$DUMPBIN" >&6; }
5781 else
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5783 $as_echo "no" >&6; }
5784 fi
5785
5786
5787 test -n "$DUMPBIN" && break
5788 done
5789 fi
5790 if test -z "$DUMPBIN"; then
5791 ac_ct_DUMPBIN=$DUMPBIN
5792 for ac_prog in dumpbin "link -dump"
5793 do
5794 # Extract the first word of "$ac_prog", so it can be a program name with args.
5795 set dummy $ac_prog; ac_word=$2
5796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5797 $as_echo_n "checking for $ac_word... " >&6; }
5798 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5799 $as_echo_n "(cached) " >&6
5800 else
5801 if test -n "$ac_ct_DUMPBIN"; then
5802 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5803 else
5804 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5805 for as_dir in $PATH
5806 do
5807 IFS=$as_save_IFS
5808 test -z "$as_dir" && as_dir=.
5809 for ac_exec_ext in '' $ac_executable_extensions; do
5810 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5811 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5812 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5813 break 2
5814 fi
5815 done
5816 done
5817 IFS=$as_save_IFS
5818
5819 fi
5820 fi
5821 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5822 if test -n "$ac_ct_DUMPBIN"; then
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5824 $as_echo "$ac_ct_DUMPBIN" >&6; }
5825 else
5826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5827 $as_echo "no" >&6; }
5828 fi
5829
5830
5831 test -n "$ac_ct_DUMPBIN" && break
5832 done
5833
5834 if test "x$ac_ct_DUMPBIN" = x; then
5835 DUMPBIN=":"
5836 else
5837 case $cross_compiling:$ac_tool_warned in
5838 yes:)
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5840 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5841 ac_tool_warned=yes ;;
5842 esac
5843 DUMPBIN=$ac_ct_DUMPBIN
5844 fi
5845 fi
5846
5847 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5848 *COFF*)
5849 DUMPBIN="$DUMPBIN -symbols"
5850 ;;
5851 *)
5852 DUMPBIN=:
5853 ;;
5854 esac
5855 fi
5856
5857 if test "$DUMPBIN" != ":"; then
5858 NM="$DUMPBIN"
5859 fi
5860 fi
5861 test -z "$NM" && NM=nm
5862
5863
5864
5865
5866
5867
5868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5869 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5870 if test "${lt_cv_nm_interface+set}" = set; then :
5871 $as_echo_n "(cached) " >&6
5872 else
5873 lt_cv_nm_interface="BSD nm"
5874 echo "int some_variable = 0;" > conftest.$ac_ext
5875 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5876 (eval "$ac_compile" 2>conftest.err)
5877 cat conftest.err >&5
5878 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5879 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5880 cat conftest.err >&5
5881 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5882 cat conftest.out >&5
5883 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5884 lt_cv_nm_interface="MS dumpbin"
5885 fi
5886 rm -f conftest*
5887 fi
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5889 $as_echo "$lt_cv_nm_interface" >&6; }
5890
5891 # find the maximum length of command line arguments
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5893 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5894 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5895 $as_echo_n "(cached) " >&6
5896 else
5897 i=0
5898 teststring="ABCD"
5899
5900 case $build_os in
5901 msdosdjgpp*)
5902 # On DJGPP, this test can blow up pretty badly due to problems in libc
5903 # (any single argument exceeding 2000 bytes causes a buffer overrun
5904 # during glob expansion). Even if it were fixed, the result of this
5905 # check would be larger than it should be.
5906 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5907 ;;
5908
5909 gnu*)
5910 # Under GNU Hurd, this test is not required because there is
5911 # no limit to the length of command line arguments.
5912 # Libtool will interpret -1 as no limit whatsoever
5913 lt_cv_sys_max_cmd_len=-1;
5914 ;;
5915
5916 cygwin* | mingw* | cegcc*)
5917 # On Win9x/ME, this test blows up -- it succeeds, but takes
5918 # about 5 minutes as the teststring grows exponentially.
5919 # Worse, since 9x/ME are not pre-emptively multitasking,
5920 # you end up with a "frozen" computer, even though with patience
5921 # the test eventually succeeds (with a max line length of 256k).
5922 # Instead, let's just punt: use the minimum linelength reported by
5923 # all of the supported platforms: 8192 (on NT/2K/XP).
5924 lt_cv_sys_max_cmd_len=8192;
5925 ;;
5926
5927 mint*)
5928 # On MiNT this can take a long time and run out of memory.
5929 lt_cv_sys_max_cmd_len=8192;
5930 ;;
5931
5932 amigaos*)
5933 # On AmigaOS with pdksh, this test takes hours, literally.
5934 # So we just punt and use a minimum line length of 8192.
5935 lt_cv_sys_max_cmd_len=8192;
5936 ;;
5937
5938 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5939 # This has been around since 386BSD, at least. Likely further.
5940 if test -x /sbin/sysctl; then
5941 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5942 elif test -x /usr/sbin/sysctl; then
5943 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5944 else
5945 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5946 fi
5947 # And add a safety zone
5948 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5949 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5950 ;;
5951
5952 interix*)
5953 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5954 lt_cv_sys_max_cmd_len=196608
5955 ;;
5956
5957 osf*)
5958 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5959 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5960 # nice to cause kernel panics so lets avoid the loop below.
5961 # First set a reasonable default.
5962 lt_cv_sys_max_cmd_len=16384
5963 #
5964 if test -x /sbin/sysconfig; then
5965 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5966 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5967 esac
5968 fi
5969 ;;
5970 sco3.2v5*)
5971 lt_cv_sys_max_cmd_len=102400
5972 ;;
5973 sysv5* | sco5v6* | sysv4.2uw2*)
5974 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5975 if test -n "$kargmax"; then
5976 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5977 else
5978 lt_cv_sys_max_cmd_len=32768
5979 fi
5980 ;;
5981 *)
5982 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5983 if test -n "$lt_cv_sys_max_cmd_len"; then
5984 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5985 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5986 else
5987 # Make teststring a little bigger before we do anything with it.
5988 # a 1K string should be a reasonable start.
5989 for i in 1 2 3 4 5 6 7 8 ; do
5990 teststring=$teststring$teststring
5991 done
5992 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5993 # If test is not a shell built-in, we'll probably end up computing a
5994 # maximum length that is only half of the actual maximum length, but
5995 # we can't tell.
5996 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
5997 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5998 test $i != 17 # 1/2 MB should be enough
5999 do
6000 i=`expr $i + 1`
6001 teststring=$teststring$teststring
6002 done
6003 # Only check the string length outside the loop.
6004 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6005 teststring=
6006 # Add a significant safety factor because C++ compilers can tack on
6007 # massive amounts of additional arguments before passing them to the
6008 # linker. It appears as though 1/2 is a usable value.
6009 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6010 fi
6011 ;;
6012 esac
6013
6014 fi
6015
6016 if test -n $lt_cv_sys_max_cmd_len ; then
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6018 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6019 else
6020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6021 $as_echo "none" >&6; }
6022 fi
6023 max_cmd_len=$lt_cv_sys_max_cmd_len
6024
6025
6026
6027
6028
6029
6030 : ${CP="cp -f"}
6031 : ${MV="mv -f"}
6032 : ${RM="rm -f"}
6033
6034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6035 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6036 # Try some XSI features
6037 xsi_shell=no
6038 ( _lt_dummy="a/b/c"
6039 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6040 = c,a/b,, \
6041 && eval 'test $(( 1 + 1 )) -eq 2 \
6042 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6043 && xsi_shell=yes
6044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6045 $as_echo "$xsi_shell" >&6; }
6046
6047
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6049 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6050 lt_shell_append=no
6051 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6052 >/dev/null 2>&1 \
6053 && lt_shell_append=yes
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6055 $as_echo "$lt_shell_append" >&6; }
6056
6057
6058 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6059 lt_unset=unset
6060 else
6061 lt_unset=false
6062 fi
6063
6064
6065
6066
6067
6068 # test EBCDIC or ASCII
6069 case `echo X|tr X '\101'` in
6070 A) # ASCII based system
6071 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6072 lt_SP2NL='tr \040 \012'
6073 lt_NL2SP='tr \015\012 \040\040'
6074 ;;
6075 *) # EBCDIC based system
6076 lt_SP2NL='tr \100 \n'
6077 lt_NL2SP='tr \r\n \100\100'
6078 ;;
6079 esac
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6090 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6091 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6092 $as_echo_n "(cached) " >&6
6093 else
6094 lt_cv_ld_reload_flag='-r'
6095 fi
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6097 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6098 reload_flag=$lt_cv_ld_reload_flag
6099 case $reload_flag in
6100 "" | " "*) ;;
6101 *) reload_flag=" $reload_flag" ;;
6102 esac
6103 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6104 case $host_os in
6105 darwin*)
6106 if test "$GCC" = yes; then
6107 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6108 else
6109 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6110 fi
6111 ;;
6112 esac
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122 if test -n "$ac_tool_prefix"; then
6123 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6124 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 $as_echo_n "checking for $ac_word... " >&6; }
6127 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6128 $as_echo_n "(cached) " >&6
6129 else
6130 if test -n "$OBJDUMP"; then
6131 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6132 else
6133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6134 for as_dir in $PATH
6135 do
6136 IFS=$as_save_IFS
6137 test -z "$as_dir" && as_dir=.
6138 for ac_exec_ext in '' $ac_executable_extensions; do
6139 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6140 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6142 break 2
6143 fi
6144 done
6145 done
6146 IFS=$as_save_IFS
6147
6148 fi
6149 fi
6150 OBJDUMP=$ac_cv_prog_OBJDUMP
6151 if test -n "$OBJDUMP"; then
6152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6153 $as_echo "$OBJDUMP" >&6; }
6154 else
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6156 $as_echo "no" >&6; }
6157 fi
6158
6159
6160 fi
6161 if test -z "$ac_cv_prog_OBJDUMP"; then
6162 ac_ct_OBJDUMP=$OBJDUMP
6163 # Extract the first word of "objdump", so it can be a program name with args.
6164 set dummy objdump; ac_word=$2
6165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6166 $as_echo_n "checking for $ac_word... " >&6; }
6167 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6168 $as_echo_n "(cached) " >&6
6169 else
6170 if test -n "$ac_ct_OBJDUMP"; then
6171 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6172 else
6173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6174 for as_dir in $PATH
6175 do
6176 IFS=$as_save_IFS
6177 test -z "$as_dir" && as_dir=.
6178 for ac_exec_ext in '' $ac_executable_extensions; do
6179 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6180 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6181 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6182 break 2
6183 fi
6184 done
6185 done
6186 IFS=$as_save_IFS
6187
6188 fi
6189 fi
6190 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6191 if test -n "$ac_ct_OBJDUMP"; then
6192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6193 $as_echo "$ac_ct_OBJDUMP" >&6; }
6194 else
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6196 $as_echo "no" >&6; }
6197 fi
6198
6199 if test "x$ac_ct_OBJDUMP" = x; then
6200 OBJDUMP="false"
6201 else
6202 case $cross_compiling:$ac_tool_warned in
6203 yes:)
6204 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6205 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6206 ac_tool_warned=yes ;;
6207 esac
6208 OBJDUMP=$ac_ct_OBJDUMP
6209 fi
6210 else
6211 OBJDUMP="$ac_cv_prog_OBJDUMP"
6212 fi
6213
6214 test -z "$OBJDUMP" && OBJDUMP=objdump
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6225 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6226 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 lt_cv_file_magic_cmd='$MAGIC_CMD'
6230 lt_cv_file_magic_test_file=
6231 lt_cv_deplibs_check_method='unknown'
6232 # Need to set the preceding variable on all platforms that support
6233 # interlibrary dependencies.
6234 # 'none' -- dependencies not supported.
6235 # `unknown' -- same as none, but documents that we really don't know.
6236 # 'pass_all' -- all dependencies passed with no checks.
6237 # 'test_compile' -- check by making test program.
6238 # 'file_magic [[regex]]' -- check by looking for files in library path
6239 # which responds to the $file_magic_cmd with a given extended regex.
6240 # If you have `file' or equivalent on your system and you're not sure
6241 # whether `pass_all' will *always* work, you probably want this one.
6242
6243 case $host_os in
6244 aix[4-9]*)
6245 lt_cv_deplibs_check_method=pass_all
6246 ;;
6247
6248 beos*)
6249 lt_cv_deplibs_check_method=pass_all
6250 ;;
6251
6252 bsdi[45]*)
6253 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6254 lt_cv_file_magic_cmd='/usr/bin/file -L'
6255 lt_cv_file_magic_test_file=/shlib/libc.so
6256 ;;
6257
6258 cygwin*)
6259 # func_win32_libid is a shell function defined in ltmain.sh
6260 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6261 lt_cv_file_magic_cmd='func_win32_libid'
6262 ;;
6263
6264 mingw* | pw32*)
6265 # Base MSYS/MinGW do not provide the 'file' command needed by
6266 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6267 # unless we find 'file', for example because we are cross-compiling.
6268 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6269 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6270 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6271 lt_cv_file_magic_cmd='func_win32_libid'
6272 else
6273 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6274 lt_cv_file_magic_cmd='$OBJDUMP -f'
6275 fi
6276 ;;
6277
6278 cegcc*)
6279 # use the weaker test based on 'objdump'. See mingw*.
6280 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6281 lt_cv_file_magic_cmd='$OBJDUMP -f'
6282 ;;
6283
6284 darwin* | rhapsody*)
6285 lt_cv_deplibs_check_method=pass_all
6286 ;;
6287
6288 freebsd* | dragonfly*)
6289 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6290 case $host_cpu in
6291 i*86 )
6292 # Not sure whether the presence of OpenBSD here was a mistake.
6293 # Let's accept both of them until this is cleared up.
6294 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6295 lt_cv_file_magic_cmd=/usr/bin/file
6296 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6297 ;;
6298 esac
6299 else
6300 lt_cv_deplibs_check_method=pass_all
6301 fi
6302 ;;
6303
6304 gnu*)
6305 lt_cv_deplibs_check_method=pass_all
6306 ;;
6307
6308 haiku*)
6309 lt_cv_deplibs_check_method=pass_all
6310 ;;
6311
6312 hpux10.20* | hpux11*)
6313 lt_cv_file_magic_cmd=/usr/bin/file
6314 case $host_cpu in
6315 ia64*)
6316 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6317 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6318 ;;
6319 hppa*64*)
6320 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]'
6321 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6322 ;;
6323 *)
6324 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6325 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6326 ;;
6327 esac
6328 ;;
6329
6330 interix[3-9]*)
6331 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6332 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6333 ;;
6334
6335 irix5* | irix6* | nonstopux*)
6336 case $LD in
6337 *-32|*"-32 ") libmagic=32-bit;;
6338 *-n32|*"-n32 ") libmagic=N32;;
6339 *-64|*"-64 ") libmagic=64-bit;;
6340 *) libmagic=never-match;;
6341 esac
6342 lt_cv_deplibs_check_method=pass_all
6343 ;;
6344
6345 # This must be Linux ELF.
6346 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6347 lt_cv_deplibs_check_method=pass_all
6348 ;;
6349
6350 netbsd*)
6351 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6352 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6353 else
6354 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6355 fi
6356 ;;
6357
6358 newos6*)
6359 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6360 lt_cv_file_magic_cmd=/usr/bin/file
6361 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6362 ;;
6363
6364 *nto* | *qnx*)
6365 lt_cv_deplibs_check_method=pass_all
6366 ;;
6367
6368 openbsd*)
6369 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6370 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6371 else
6372 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6373 fi
6374 ;;
6375
6376 osf3* | osf4* | osf5*)
6377 lt_cv_deplibs_check_method=pass_all
6378 ;;
6379
6380 rdos*)
6381 lt_cv_deplibs_check_method=pass_all
6382 ;;
6383
6384 solaris*)
6385 lt_cv_deplibs_check_method=pass_all
6386 ;;
6387
6388 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6389 lt_cv_deplibs_check_method=pass_all
6390 ;;
6391
6392 sysv4 | sysv4.3*)
6393 case $host_vendor in
6394 motorola)
6395 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]'
6396 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6397 ;;
6398 ncr)
6399 lt_cv_deplibs_check_method=pass_all
6400 ;;
6401 sequent)
6402 lt_cv_file_magic_cmd='/bin/file'
6403 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6404 ;;
6405 sni)
6406 lt_cv_file_magic_cmd='/bin/file'
6407 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6408 lt_cv_file_magic_test_file=/lib/libc.so
6409 ;;
6410 siemens)
6411 lt_cv_deplibs_check_method=pass_all
6412 ;;
6413 pc)
6414 lt_cv_deplibs_check_method=pass_all
6415 ;;
6416 esac
6417 ;;
6418
6419 tpf*)
6420 lt_cv_deplibs_check_method=pass_all
6421 ;;
6422 esac
6423
6424 fi
6425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6426 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6427 file_magic_cmd=$lt_cv_file_magic_cmd
6428 deplibs_check_method=$lt_cv_deplibs_check_method
6429 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442 if test -n "$ac_tool_prefix"; then
6443 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6444 set dummy ${ac_tool_prefix}ar; ac_word=$2
6445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6446 $as_echo_n "checking for $ac_word... " >&6; }
6447 if test "${ac_cv_prog_AR+set}" = set; then :
6448 $as_echo_n "(cached) " >&6
6449 else
6450 if test -n "$AR"; then
6451 ac_cv_prog_AR="$AR" # Let the user override the test.
6452 else
6453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6454 for as_dir in $PATH
6455 do
6456 IFS=$as_save_IFS
6457 test -z "$as_dir" && as_dir=.
6458 for ac_exec_ext in '' $ac_executable_extensions; do
6459 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6460 ac_cv_prog_AR="${ac_tool_prefix}ar"
6461 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6462 break 2
6463 fi
6464 done
6465 done
6466 IFS=$as_save_IFS
6467
6468 fi
6469 fi
6470 AR=$ac_cv_prog_AR
6471 if test -n "$AR"; then
6472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6473 $as_echo "$AR" >&6; }
6474 else
6475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6476 $as_echo "no" >&6; }
6477 fi
6478
6479
6480 fi
6481 if test -z "$ac_cv_prog_AR"; then
6482 ac_ct_AR=$AR
6483 # Extract the first word of "ar", so it can be a program name with args.
6484 set dummy ar; ac_word=$2
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6486 $as_echo_n "checking for $ac_word... " >&6; }
6487 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6488 $as_echo_n "(cached) " >&6
6489 else
6490 if test -n "$ac_ct_AR"; then
6491 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6492 else
6493 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6494 for as_dir in $PATH
6495 do
6496 IFS=$as_save_IFS
6497 test -z "$as_dir" && as_dir=.
6498 for ac_exec_ext in '' $ac_executable_extensions; do
6499 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6500 ac_cv_prog_ac_ct_AR="ar"
6501 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6502 break 2
6503 fi
6504 done
6505 done
6506 IFS=$as_save_IFS
6507
6508 fi
6509 fi
6510 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6511 if test -n "$ac_ct_AR"; then
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6513 $as_echo "$ac_ct_AR" >&6; }
6514 else
6515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6516 $as_echo "no" >&6; }
6517 fi
6518
6519 if test "x$ac_ct_AR" = x; then
6520 AR="false"
6521 else
6522 case $cross_compiling:$ac_tool_warned in
6523 yes:)
6524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6525 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6526 ac_tool_warned=yes ;;
6527 esac
6528 AR=$ac_ct_AR
6529 fi
6530 else
6531 AR="$ac_cv_prog_AR"
6532 fi
6533
6534 test -z "$AR" && AR=ar
6535 test -z "$AR_FLAGS" && AR_FLAGS=cru
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547 if test -n "$ac_tool_prefix"; then
6548 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6549 set dummy ${ac_tool_prefix}strip; ac_word=$2
6550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6551 $as_echo_n "checking for $ac_word... " >&6; }
6552 if test "${ac_cv_prog_STRIP+set}" = set; then :
6553 $as_echo_n "(cached) " >&6
6554 else
6555 if test -n "$STRIP"; then
6556 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6557 else
6558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6559 for as_dir in $PATH
6560 do
6561 IFS=$as_save_IFS
6562 test -z "$as_dir" && as_dir=.
6563 for ac_exec_ext in '' $ac_executable_extensions; do
6564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6565 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6566 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 break 2
6568 fi
6569 done
6570 done
6571 IFS=$as_save_IFS
6572
6573 fi
6574 fi
6575 STRIP=$ac_cv_prog_STRIP
6576 if test -n "$STRIP"; then
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6578 $as_echo "$STRIP" >&6; }
6579 else
6580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6581 $as_echo "no" >&6; }
6582 fi
6583
6584
6585 fi
6586 if test -z "$ac_cv_prog_STRIP"; then
6587 ac_ct_STRIP=$STRIP
6588 # Extract the first word of "strip", so it can be a program name with args.
6589 set dummy strip; ac_word=$2
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6591 $as_echo_n "checking for $ac_word... " >&6; }
6592 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6593 $as_echo_n "(cached) " >&6
6594 else
6595 if test -n "$ac_ct_STRIP"; then
6596 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6597 else
6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599 for as_dir in $PATH
6600 do
6601 IFS=$as_save_IFS
6602 test -z "$as_dir" && as_dir=.
6603 for ac_exec_ext in '' $ac_executable_extensions; do
6604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6605 ac_cv_prog_ac_ct_STRIP="strip"
6606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6607 break 2
6608 fi
6609 done
6610 done
6611 IFS=$as_save_IFS
6612
6613 fi
6614 fi
6615 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6616 if test -n "$ac_ct_STRIP"; then
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6618 $as_echo "$ac_ct_STRIP" >&6; }
6619 else
6620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6621 $as_echo "no" >&6; }
6622 fi
6623
6624 if test "x$ac_ct_STRIP" = x; then
6625 STRIP=":"
6626 else
6627 case $cross_compiling:$ac_tool_warned in
6628 yes:)
6629 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6630 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6631 ac_tool_warned=yes ;;
6632 esac
6633 STRIP=$ac_ct_STRIP
6634 fi
6635 else
6636 STRIP="$ac_cv_prog_STRIP"
6637 fi
6638
6639 test -z "$STRIP" && STRIP=:
6640
6641
6642
6643
6644
6645
6646 if test -n "$ac_tool_prefix"; then
6647 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6648 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 if test -n "$RANLIB"; then
6655 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6656 else
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 for as_dir in $PATH
6659 do
6660 IFS=$as_save_IFS
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 break 2
6667 fi
6668 done
6669 done
6670 IFS=$as_save_IFS
6671
6672 fi
6673 fi
6674 RANLIB=$ac_cv_prog_RANLIB
6675 if test -n "$RANLIB"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6677 $as_echo "$RANLIB" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6681 fi
6682
6683
6684 fi
6685 if test -z "$ac_cv_prog_RANLIB"; then
6686 ac_ct_RANLIB=$RANLIB
6687 # Extract the first word of "ranlib", so it can be a program name with args.
6688 set dummy ranlib; ac_word=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6692 $as_echo_n "(cached) " >&6
6693 else
6694 if test -n "$ac_ct_RANLIB"; then
6695 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6696 else
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 for as_dir in $PATH
6699 do
6700 IFS=$as_save_IFS
6701 test -z "$as_dir" && as_dir=.
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6704 ac_cv_prog_ac_ct_RANLIB="ranlib"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 break 2
6707 fi
6708 done
6709 done
6710 IFS=$as_save_IFS
6711
6712 fi
6713 fi
6714 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6715 if test -n "$ac_ct_RANLIB"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6717 $as_echo "$ac_ct_RANLIB" >&6; }
6718 else
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6721 fi
6722
6723 if test "x$ac_ct_RANLIB" = x; then
6724 RANLIB=":"
6725 else
6726 case $cross_compiling:$ac_tool_warned in
6727 yes:)
6728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6730 ac_tool_warned=yes ;;
6731 esac
6732 RANLIB=$ac_ct_RANLIB
6733 fi
6734 else
6735 RANLIB="$ac_cv_prog_RANLIB"
6736 fi
6737
6738 test -z "$RANLIB" && RANLIB=:
6739
6740
6741
6742
6743
6744
6745 # Determine commands to create old-style static archives.
6746 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6747 old_postinstall_cmds='chmod 644 $oldlib'
6748 old_postuninstall_cmds=
6749
6750 if test -n "$RANLIB"; then
6751 case $host_os in
6752 openbsd*)
6753 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6754 ;;
6755 *)
6756 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6757 ;;
6758 esac
6759 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6760 fi
6761
6762 case $host_os in
6763 darwin*)
6764 lock_old_archive_extraction=yes ;;
6765 *)
6766 lock_old_archive_extraction=no ;;
6767 esac
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
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807 # If no C compiler was specified, use CC.
6808 LTCC=${LTCC-"$CC"}
6809
6810 # If no C compiler flags were specified, use CFLAGS.
6811 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6812
6813 # Allow CC to be a program name with arguments.
6814 compiler=$CC
6815
6816
6817 # Check for command to grab the raw symbol name followed by C symbol from nm.
6818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6819 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6820 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6821 $as_echo_n "(cached) " >&6
6822 else
6823
6824 # These are sane defaults that work on at least a few old systems.
6825 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6826
6827 # Character class describing NM global symbol codes.
6828 symcode='[BCDEGRST]'
6829
6830 # Regexp to match symbols that can be accessed directly from C.
6831 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6832
6833 # Define system-specific variables.
6834 case $host_os in
6835 aix*)
6836 symcode='[BCDT]'
6837 ;;
6838 cygwin* | mingw* | pw32* | cegcc*)
6839 symcode='[ABCDGISTW]'
6840 ;;
6841 hpux*)
6842 if test "$host_cpu" = ia64; then
6843 symcode='[ABCDEGRST]'
6844 fi
6845 ;;
6846 irix* | nonstopux*)
6847 symcode='[BCDEGRST]'
6848 ;;
6849 osf*)
6850 symcode='[BCDEGQRST]'
6851 ;;
6852 solaris*)
6853 symcode='[BDRT]'
6854 ;;
6855 sco3.2v5*)
6856 symcode='[DT]'
6857 ;;
6858 sysv4.2uw2*)
6859 symcode='[DT]'
6860 ;;
6861 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6862 symcode='[ABDT]'
6863 ;;
6864 sysv4)
6865 symcode='[DFNSTU]'
6866 ;;
6867 esac
6868
6869 # If we're using GNU nm, then use its standard symbol codes.
6870 case `$NM -V 2>&1` in
6871 *GNU* | *'with BFD'*)
6872 symcode='[ABCDGIRSTW]' ;;
6873 esac
6874
6875 # Transform an extracted symbol line into a proper C declaration.
6876 # Some systems (esp. on ia64) link data and code symbols differently,
6877 # so use this general approach.
6878 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6879
6880 # Transform an extracted symbol line into symbol name and symbol address
6881 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6882 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'"
6883
6884 # Handle CRLF in mingw tool chain
6885 opt_cr=
6886 case $build_os in
6887 mingw*)
6888 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6889 ;;
6890 esac
6891
6892 # Try without a prefix underscore, then with it.
6893 for ac_symprfx in "" "_"; do
6894
6895 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6896 symxfrm="\\1 $ac_symprfx\\2 \\2"
6897
6898 # Write the raw and C identifiers.
6899 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6900 # Fake it for dumpbin and say T for any non-static function
6901 # and D for any global variable.
6902 # Also find C++ and __fastcall symbols from MSVC++,
6903 # which start with @ or ?.
6904 lt_cv_sys_global_symbol_pipe="$AWK '"\
6905 " {last_section=section; section=\$ 3};"\
6906 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6907 " \$ 0!~/External *\|/{next};"\
6908 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6909 " {if(hide[section]) next};"\
6910 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6911 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6912 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6913 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6914 " ' prfx=^$ac_symprfx"
6915 else
6916 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6917 fi
6918
6919 # Check to see that the pipe works correctly.
6920 pipe_works=no
6921
6922 rm -f conftest*
6923 cat > conftest.$ac_ext <<_LT_EOF
6924 #ifdef __cplusplus
6925 extern "C" {
6926 #endif
6927 char nm_test_var;
6928 void nm_test_func(void);
6929 void nm_test_func(void){}
6930 #ifdef __cplusplus
6931 }
6932 #endif
6933 int main(){nm_test_var='a';nm_test_func();return(0);}
6934 _LT_EOF
6935
6936 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6937 (eval $ac_compile) 2>&5
6938 ac_status=$?
6939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6940 test $ac_status = 0; }; then
6941 # Now try to grab the symbols.
6942 nlist=conftest.nm
6943 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
6944 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
6945 ac_status=$?
6946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6947 test $ac_status = 0; } && test -s "$nlist"; then
6948 # Try sorting and uniquifying the output.
6949 if sort "$nlist" | uniq > "$nlist"T; then
6950 mv -f "$nlist"T "$nlist"
6951 else
6952 rm -f "$nlist"T
6953 fi
6954
6955 # Make sure that we snagged all the symbols we need.
6956 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6957 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6958 cat <<_LT_EOF > conftest.$ac_ext
6959 #ifdef __cplusplus
6960 extern "C" {
6961 #endif
6962
6963 _LT_EOF
6964 # Now generate the symbol file.
6965 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
6966
6967 cat <<_LT_EOF >> conftest.$ac_ext
6968
6969 /* The mapping between symbol names and symbols. */
6970 const struct {
6971 const char *name;
6972 void *address;
6973 }
6974 lt__PROGRAM__LTX_preloaded_symbols[] =
6975 {
6976 { "@PROGRAM@", (void *) 0 },
6977 _LT_EOF
6978 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
6979 cat <<\_LT_EOF >> conftest.$ac_ext
6980 {0, (void *) 0}
6981 };
6982
6983 /* This works around a problem in FreeBSD linker */
6984 #ifdef FREEBSD_WORKAROUND
6985 static const void *lt_preloaded_setup() {
6986 return lt__PROGRAM__LTX_preloaded_symbols;
6987 }
6988 #endif
6989
6990 #ifdef __cplusplus
6991 }
6992 #endif
6993 _LT_EOF
6994 # Now try linking the two files.
6995 mv conftest.$ac_objext conftstm.$ac_objext
6996 lt_save_LIBS="$LIBS"
6997 lt_save_CFLAGS="$CFLAGS"
6998 LIBS="conftstm.$ac_objext"
6999 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7001 (eval $ac_link) 2>&5
7002 ac_status=$?
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7005 pipe_works=yes
7006 fi
7007 LIBS="$lt_save_LIBS"
7008 CFLAGS="$lt_save_CFLAGS"
7009 else
7010 echo "cannot find nm_test_func in $nlist" >&5
7011 fi
7012 else
7013 echo "cannot find nm_test_var in $nlist" >&5
7014 fi
7015 else
7016 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7017 fi
7018 else
7019 echo "$progname: failed program was:" >&5
7020 cat conftest.$ac_ext >&5
7021 fi
7022 rm -rf conftest* conftst*
7023
7024 # Do not use the global_symbol_pipe unless it works.
7025 if test "$pipe_works" = yes; then
7026 break
7027 else
7028 lt_cv_sys_global_symbol_pipe=
7029 fi
7030 done
7031
7032 fi
7033
7034 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7035 lt_cv_sys_global_symbol_to_cdecl=
7036 fi
7037 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7039 $as_echo "failed" >&6; }
7040 else
7041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7042 $as_echo "ok" >&6; }
7043 fi
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066 # Check whether --enable-libtool-lock was given.
7067 if test "${enable_libtool_lock+set}" = set; then :
7068 enableval=$enable_libtool_lock;
7069 fi
7070
7071 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7072
7073 # Some flags need to be propagated to the compiler or linker for good
7074 # libtool support.
7075 case $host in
7076 ia64-*-hpux*)
7077 # Find out which ABI we are using.
7078 echo 'int i;' > conftest.$ac_ext
7079 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7080 (eval $ac_compile) 2>&5
7081 ac_status=$?
7082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7083 test $ac_status = 0; }; then
7084 case `/usr/bin/file conftest.$ac_objext` in
7085 *ELF-32*)
7086 HPUX_IA64_MODE="32"
7087 ;;
7088 *ELF-64*)
7089 HPUX_IA64_MODE="64"
7090 ;;
7091 esac
7092 fi
7093 rm -rf conftest*
7094 ;;
7095 *-*-irix6*)
7096 # Find out which ABI we are using.
7097 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7098 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7099 (eval $ac_compile) 2>&5
7100 ac_status=$?
7101 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7102 test $ac_status = 0; }; then
7103 if test "$lt_cv_prog_gnu_ld" = yes; then
7104 case `/usr/bin/file conftest.$ac_objext` in
7105 *32-bit*)
7106 LD="${LD-ld} -melf32bsmip"
7107 ;;
7108 *N32*)
7109 LD="${LD-ld} -melf32bmipn32"
7110 ;;
7111 *64-bit*)
7112 LD="${LD-ld} -melf64bmip"
7113 ;;
7114 esac
7115 else
7116 case `/usr/bin/file conftest.$ac_objext` in
7117 *32-bit*)
7118 LD="${LD-ld} -32"
7119 ;;
7120 *N32*)
7121 LD="${LD-ld} -n32"
7122 ;;
7123 *64-bit*)
7124 LD="${LD-ld} -64"
7125 ;;
7126 esac
7127 fi
7128 fi
7129 rm -rf conftest*
7130 ;;
7131
7132 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7133 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7134 # Find out which ABI we are using.
7135 echo 'int i;' > conftest.$ac_ext
7136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7137 (eval $ac_compile) 2>&5
7138 ac_status=$?
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; }; then
7141 case `/usr/bin/file conftest.o` in
7142 *32-bit*)
7143 case $host in
7144 x86_64-*kfreebsd*-gnu)
7145 LD="${LD-ld} -m elf_i386_fbsd"
7146 ;;
7147 x86_64-*linux*)
7148 case `/usr/bin/file conftest.o` in
7149 *x86-64*)
7150 LD="${LD-ld} -m elf32_x86_64"
7151 ;;
7152 *)
7153 LD="${LD-ld} -m elf_i386"
7154 ;;
7155 esac
7156 ;;
7157 powerpc64le-*linux*)
7158 LD="${LD-ld} -m elf32lppclinux"
7159 ;;
7160 powerpc64-*linux*)
7161 LD="${LD-ld} -m elf32ppclinux"
7162 ;;
7163 s390x-*linux*)
7164 LD="${LD-ld} -m elf_s390"
7165 ;;
7166 sparc64-*linux*)
7167 LD="${LD-ld} -m elf32_sparc"
7168 ;;
7169 esac
7170 ;;
7171 *64-bit*)
7172 case $host in
7173 x86_64-*kfreebsd*-gnu)
7174 LD="${LD-ld} -m elf_x86_64_fbsd"
7175 ;;
7176 x86_64-*linux*)
7177 LD="${LD-ld} -m elf_x86_64"
7178 ;;
7179 powerpcle-*linux*)
7180 LD="${LD-ld} -m elf64lppc"
7181 ;;
7182 powerpc-*linux*)
7183 LD="${LD-ld} -m elf64ppc"
7184 ;;
7185 s390*-*linux*|s390*-*tpf*)
7186 LD="${LD-ld} -m elf64_s390"
7187 ;;
7188 sparc*-*linux*)
7189 LD="${LD-ld} -m elf64_sparc"
7190 ;;
7191 esac
7192 ;;
7193 esac
7194 fi
7195 rm -rf conftest*
7196 ;;
7197
7198 *-*-sco3.2v5*)
7199 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7200 SAVE_CFLAGS="$CFLAGS"
7201 CFLAGS="$CFLAGS -belf"
7202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7203 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7204 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7205 $as_echo_n "(cached) " >&6
7206 else
7207 ac_ext=c
7208 ac_cpp='$CPP $CPPFLAGS'
7209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7212
7213 if test x$gcc_no_link = xyes; then
7214 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7215 fi
7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7218
7219 int
7220 main ()
7221 {
7222
7223 ;
7224 return 0;
7225 }
7226 _ACEOF
7227 if ac_fn_c_try_link "$LINENO"; then :
7228 lt_cv_cc_needs_belf=yes
7229 else
7230 lt_cv_cc_needs_belf=no
7231 fi
7232 rm -f core conftest.err conftest.$ac_objext \
7233 conftest$ac_exeext conftest.$ac_ext
7234 ac_ext=c
7235 ac_cpp='$CPP $CPPFLAGS'
7236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7239
7240 fi
7241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7242 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7243 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7244 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7245 CFLAGS="$SAVE_CFLAGS"
7246 fi
7247 ;;
7248 sparc*-*solaris*)
7249 # Find out which ABI we are using.
7250 echo 'int i;' > conftest.$ac_ext
7251 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7252 (eval $ac_compile) 2>&5
7253 ac_status=$?
7254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7255 test $ac_status = 0; }; then
7256 case `/usr/bin/file conftest.o` in
7257 *64-bit*)
7258 case $lt_cv_prog_gnu_ld in
7259 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7260 *)
7261 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7262 LD="${LD-ld} -64"
7263 fi
7264 ;;
7265 esac
7266 ;;
7267 esac
7268 fi
7269 rm -rf conftest*
7270 ;;
7271 esac
7272
7273 need_locks="$enable_libtool_lock"
7274
7275
7276 case $host_os in
7277 rhapsody* | darwin*)
7278 if test -n "$ac_tool_prefix"; then
7279 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7280 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7282 $as_echo_n "checking for $ac_word... " >&6; }
7283 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7284 $as_echo_n "(cached) " >&6
7285 else
7286 if test -n "$DSYMUTIL"; then
7287 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7288 else
7289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7290 for as_dir in $PATH
7291 do
7292 IFS=$as_save_IFS
7293 test -z "$as_dir" && as_dir=.
7294 for ac_exec_ext in '' $ac_executable_extensions; do
7295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7296 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7298 break 2
7299 fi
7300 done
7301 done
7302 IFS=$as_save_IFS
7303
7304 fi
7305 fi
7306 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7307 if test -n "$DSYMUTIL"; then
7308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7309 $as_echo "$DSYMUTIL" >&6; }
7310 else
7311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7312 $as_echo "no" >&6; }
7313 fi
7314
7315
7316 fi
7317 if test -z "$ac_cv_prog_DSYMUTIL"; then
7318 ac_ct_DSYMUTIL=$DSYMUTIL
7319 # Extract the first word of "dsymutil", so it can be a program name with args.
7320 set dummy dsymutil; ac_word=$2
7321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7322 $as_echo_n "checking for $ac_word... " >&6; }
7323 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7324 $as_echo_n "(cached) " >&6
7325 else
7326 if test -n "$ac_ct_DSYMUTIL"; then
7327 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7328 else
7329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7330 for as_dir in $PATH
7331 do
7332 IFS=$as_save_IFS
7333 test -z "$as_dir" && as_dir=.
7334 for ac_exec_ext in '' $ac_executable_extensions; do
7335 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7336 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7337 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7338 break 2
7339 fi
7340 done
7341 done
7342 IFS=$as_save_IFS
7343
7344 fi
7345 fi
7346 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7347 if test -n "$ac_ct_DSYMUTIL"; then
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7349 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7350 else
7351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352 $as_echo "no" >&6; }
7353 fi
7354
7355 if test "x$ac_ct_DSYMUTIL" = x; then
7356 DSYMUTIL=":"
7357 else
7358 case $cross_compiling:$ac_tool_warned in
7359 yes:)
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7361 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7362 ac_tool_warned=yes ;;
7363 esac
7364 DSYMUTIL=$ac_ct_DSYMUTIL
7365 fi
7366 else
7367 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7368 fi
7369
7370 if test -n "$ac_tool_prefix"; then
7371 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7372 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7374 $as_echo_n "checking for $ac_word... " >&6; }
7375 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7376 $as_echo_n "(cached) " >&6
7377 else
7378 if test -n "$NMEDIT"; then
7379 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7380 else
7381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7382 for as_dir in $PATH
7383 do
7384 IFS=$as_save_IFS
7385 test -z "$as_dir" && as_dir=.
7386 for ac_exec_ext in '' $ac_executable_extensions; do
7387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7388 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7390 break 2
7391 fi
7392 done
7393 done
7394 IFS=$as_save_IFS
7395
7396 fi
7397 fi
7398 NMEDIT=$ac_cv_prog_NMEDIT
7399 if test -n "$NMEDIT"; then
7400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7401 $as_echo "$NMEDIT" >&6; }
7402 else
7403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7404 $as_echo "no" >&6; }
7405 fi
7406
7407
7408 fi
7409 if test -z "$ac_cv_prog_NMEDIT"; then
7410 ac_ct_NMEDIT=$NMEDIT
7411 # Extract the first word of "nmedit", so it can be a program name with args.
7412 set dummy nmedit; ac_word=$2
7413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7414 $as_echo_n "checking for $ac_word... " >&6; }
7415 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7416 $as_echo_n "(cached) " >&6
7417 else
7418 if test -n "$ac_ct_NMEDIT"; then
7419 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7420 else
7421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 for as_dir in $PATH
7423 do
7424 IFS=$as_save_IFS
7425 test -z "$as_dir" && as_dir=.
7426 for ac_exec_ext in '' $ac_executable_extensions; do
7427 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7428 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7430 break 2
7431 fi
7432 done
7433 done
7434 IFS=$as_save_IFS
7435
7436 fi
7437 fi
7438 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7439 if test -n "$ac_ct_NMEDIT"; then
7440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7441 $as_echo "$ac_ct_NMEDIT" >&6; }
7442 else
7443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7444 $as_echo "no" >&6; }
7445 fi
7446
7447 if test "x$ac_ct_NMEDIT" = x; then
7448 NMEDIT=":"
7449 else
7450 case $cross_compiling:$ac_tool_warned in
7451 yes:)
7452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7454 ac_tool_warned=yes ;;
7455 esac
7456 NMEDIT=$ac_ct_NMEDIT
7457 fi
7458 else
7459 NMEDIT="$ac_cv_prog_NMEDIT"
7460 fi
7461
7462 if test -n "$ac_tool_prefix"; then
7463 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7464 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7466 $as_echo_n "checking for $ac_word... " >&6; }
7467 if test "${ac_cv_prog_LIPO+set}" = set; then :
7468 $as_echo_n "(cached) " >&6
7469 else
7470 if test -n "$LIPO"; then
7471 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7472 else
7473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7474 for as_dir in $PATH
7475 do
7476 IFS=$as_save_IFS
7477 test -z "$as_dir" && as_dir=.
7478 for ac_exec_ext in '' $ac_executable_extensions; do
7479 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7480 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7482 break 2
7483 fi
7484 done
7485 done
7486 IFS=$as_save_IFS
7487
7488 fi
7489 fi
7490 LIPO=$ac_cv_prog_LIPO
7491 if test -n "$LIPO"; then
7492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7493 $as_echo "$LIPO" >&6; }
7494 else
7495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7496 $as_echo "no" >&6; }
7497 fi
7498
7499
7500 fi
7501 if test -z "$ac_cv_prog_LIPO"; then
7502 ac_ct_LIPO=$LIPO
7503 # Extract the first word of "lipo", so it can be a program name with args.
7504 set dummy lipo; ac_word=$2
7505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7506 $as_echo_n "checking for $ac_word... " >&6; }
7507 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7508 $as_echo_n "(cached) " >&6
7509 else
7510 if test -n "$ac_ct_LIPO"; then
7511 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7512 else
7513 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7514 for as_dir in $PATH
7515 do
7516 IFS=$as_save_IFS
7517 test -z "$as_dir" && as_dir=.
7518 for ac_exec_ext in '' $ac_executable_extensions; do
7519 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7520 ac_cv_prog_ac_ct_LIPO="lipo"
7521 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7522 break 2
7523 fi
7524 done
7525 done
7526 IFS=$as_save_IFS
7527
7528 fi
7529 fi
7530 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7531 if test -n "$ac_ct_LIPO"; then
7532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7533 $as_echo "$ac_ct_LIPO" >&6; }
7534 else
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7536 $as_echo "no" >&6; }
7537 fi
7538
7539 if test "x$ac_ct_LIPO" = x; then
7540 LIPO=":"
7541 else
7542 case $cross_compiling:$ac_tool_warned in
7543 yes:)
7544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7545 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7546 ac_tool_warned=yes ;;
7547 esac
7548 LIPO=$ac_ct_LIPO
7549 fi
7550 else
7551 LIPO="$ac_cv_prog_LIPO"
7552 fi
7553
7554 if test -n "$ac_tool_prefix"; then
7555 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7556 set dummy ${ac_tool_prefix}otool; ac_word=$2
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7558 $as_echo_n "checking for $ac_word... " >&6; }
7559 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7560 $as_echo_n "(cached) " >&6
7561 else
7562 if test -n "$OTOOL"; then
7563 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7564 else
7565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7566 for as_dir in $PATH
7567 do
7568 IFS=$as_save_IFS
7569 test -z "$as_dir" && as_dir=.
7570 for ac_exec_ext in '' $ac_executable_extensions; do
7571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7572 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7573 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7574 break 2
7575 fi
7576 done
7577 done
7578 IFS=$as_save_IFS
7579
7580 fi
7581 fi
7582 OTOOL=$ac_cv_prog_OTOOL
7583 if test -n "$OTOOL"; then
7584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7585 $as_echo "$OTOOL" >&6; }
7586 else
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7588 $as_echo "no" >&6; }
7589 fi
7590
7591
7592 fi
7593 if test -z "$ac_cv_prog_OTOOL"; then
7594 ac_ct_OTOOL=$OTOOL
7595 # Extract the first word of "otool", so it can be a program name with args.
7596 set dummy otool; ac_word=$2
7597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7598 $as_echo_n "checking for $ac_word... " >&6; }
7599 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7600 $as_echo_n "(cached) " >&6
7601 else
7602 if test -n "$ac_ct_OTOOL"; then
7603 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7604 else
7605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7606 for as_dir in $PATH
7607 do
7608 IFS=$as_save_IFS
7609 test -z "$as_dir" && as_dir=.
7610 for ac_exec_ext in '' $ac_executable_extensions; do
7611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7612 ac_cv_prog_ac_ct_OTOOL="otool"
7613 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7614 break 2
7615 fi
7616 done
7617 done
7618 IFS=$as_save_IFS
7619
7620 fi
7621 fi
7622 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7623 if test -n "$ac_ct_OTOOL"; then
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7625 $as_echo "$ac_ct_OTOOL" >&6; }
7626 else
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7628 $as_echo "no" >&6; }
7629 fi
7630
7631 if test "x$ac_ct_OTOOL" = x; then
7632 OTOOL=":"
7633 else
7634 case $cross_compiling:$ac_tool_warned in
7635 yes:)
7636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7637 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7638 ac_tool_warned=yes ;;
7639 esac
7640 OTOOL=$ac_ct_OTOOL
7641 fi
7642 else
7643 OTOOL="$ac_cv_prog_OTOOL"
7644 fi
7645
7646 if test -n "$ac_tool_prefix"; then
7647 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7648 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7650 $as_echo_n "checking for $ac_word... " >&6; }
7651 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7652 $as_echo_n "(cached) " >&6
7653 else
7654 if test -n "$OTOOL64"; then
7655 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7656 else
7657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7658 for as_dir in $PATH
7659 do
7660 IFS=$as_save_IFS
7661 test -z "$as_dir" && as_dir=.
7662 for ac_exec_ext in '' $ac_executable_extensions; do
7663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7664 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7666 break 2
7667 fi
7668 done
7669 done
7670 IFS=$as_save_IFS
7671
7672 fi
7673 fi
7674 OTOOL64=$ac_cv_prog_OTOOL64
7675 if test -n "$OTOOL64"; then
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7677 $as_echo "$OTOOL64" >&6; }
7678 else
7679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7680 $as_echo "no" >&6; }
7681 fi
7682
7683
7684 fi
7685 if test -z "$ac_cv_prog_OTOOL64"; then
7686 ac_ct_OTOOL64=$OTOOL64
7687 # Extract the first word of "otool64", so it can be a program name with args.
7688 set dummy otool64; ac_word=$2
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7690 $as_echo_n "checking for $ac_word... " >&6; }
7691 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7692 $as_echo_n "(cached) " >&6
7693 else
7694 if test -n "$ac_ct_OTOOL64"; then
7695 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7696 else
7697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7698 for as_dir in $PATH
7699 do
7700 IFS=$as_save_IFS
7701 test -z "$as_dir" && as_dir=.
7702 for ac_exec_ext in '' $ac_executable_extensions; do
7703 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7704 ac_cv_prog_ac_ct_OTOOL64="otool64"
7705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7706 break 2
7707 fi
7708 done
7709 done
7710 IFS=$as_save_IFS
7711
7712 fi
7713 fi
7714 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7715 if test -n "$ac_ct_OTOOL64"; then
7716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7717 $as_echo "$ac_ct_OTOOL64" >&6; }
7718 else
7719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7720 $as_echo "no" >&6; }
7721 fi
7722
7723 if test "x$ac_ct_OTOOL64" = x; then
7724 OTOOL64=":"
7725 else
7726 case $cross_compiling:$ac_tool_warned in
7727 yes:)
7728 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7729 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7730 ac_tool_warned=yes ;;
7731 esac
7732 OTOOL64=$ac_ct_OTOOL64
7733 fi
7734 else
7735 OTOOL64="$ac_cv_prog_OTOOL64"
7736 fi
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7765 $as_echo_n "checking for -single_module linker flag... " >&6; }
7766 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7767 $as_echo_n "(cached) " >&6
7768 else
7769 lt_cv_apple_cc_single_mod=no
7770 if test -z "${LT_MULTI_MODULE}"; then
7771 # By default we will add the -single_module flag. You can override
7772 # by either setting the environment variable LT_MULTI_MODULE
7773 # non-empty at configure time, or by adding -multi_module to the
7774 # link flags.
7775 rm -rf libconftest.dylib*
7776 echo "int foo(void){return 1;}" > conftest.c
7777 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7778 -dynamiclib -Wl,-single_module conftest.c" >&5
7779 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7780 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7781 _lt_result=$?
7782 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7783 lt_cv_apple_cc_single_mod=yes
7784 else
7785 cat conftest.err >&5
7786 fi
7787 rm -rf libconftest.dylib*
7788 rm -f conftest.*
7789 fi
7790 fi
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7792 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7794 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7795 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7796 $as_echo_n "(cached) " >&6
7797 else
7798 lt_cv_ld_exported_symbols_list=no
7799 save_LDFLAGS=$LDFLAGS
7800 echo "_main" > conftest.sym
7801 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7802 if test x$gcc_no_link = xyes; then
7803 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7804 fi
7805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7806 /* end confdefs.h. */
7807
7808 int
7809 main ()
7810 {
7811
7812 ;
7813 return 0;
7814 }
7815 _ACEOF
7816 if ac_fn_c_try_link "$LINENO"; then :
7817 lt_cv_ld_exported_symbols_list=yes
7818 else
7819 lt_cv_ld_exported_symbols_list=no
7820 fi
7821 rm -f core conftest.err conftest.$ac_objext \
7822 conftest$ac_exeext conftest.$ac_ext
7823 LDFLAGS="$save_LDFLAGS"
7824
7825 fi
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7827 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7829 $as_echo_n "checking for -force_load linker flag... " >&6; }
7830 if test "${lt_cv_ld_force_load+set}" = set; then :
7831 $as_echo_n "(cached) " >&6
7832 else
7833 lt_cv_ld_force_load=no
7834 cat > conftest.c << _LT_EOF
7835 int forced_loaded() { return 2;}
7836 _LT_EOF
7837 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7838 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7839 echo "$AR cru libconftest.a conftest.o" >&5
7840 $AR cru libconftest.a conftest.o 2>&5
7841 cat > conftest.c << _LT_EOF
7842 int main() { return 0;}
7843 _LT_EOF
7844 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7845 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7846 _lt_result=$?
7847 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7848 lt_cv_ld_force_load=yes
7849 else
7850 cat conftest.err >&5
7851 fi
7852 rm -f conftest.err libconftest.a conftest conftest.c
7853 rm -rf conftest.dSYM
7854
7855 fi
7856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7857 $as_echo "$lt_cv_ld_force_load" >&6; }
7858 case $host_os in
7859 rhapsody* | darwin1.[012])
7860 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7861 darwin1.*)
7862 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7863 darwin*) # darwin 5.x on
7864 # if running on 10.5 or later, the deployment target defaults
7865 # to the OS version, if on x86, and 10.4, the deployment
7866 # target defaults to 10.4. Don't you love it?
7867 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7868 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7869 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7870 10.[012][,.]*)
7871 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7872 10.*)
7873 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7874 esac
7875 ;;
7876 esac
7877 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7878 _lt_dar_single_mod='$single_module'
7879 fi
7880 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7881 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7882 else
7883 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7884 fi
7885 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7886 _lt_dsymutil='~$DSYMUTIL $lib || :'
7887 else
7888 _lt_dsymutil=
7889 fi
7890 ;;
7891 esac
7892
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7894 $as_echo_n "checking for ANSI C header files... " >&6; }
7895 if test "${ac_cv_header_stdc+set}" = set; then :
7896 $as_echo_n "(cached) " >&6
7897 else
7898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7899 /* end confdefs.h. */
7900 #include <stdlib.h>
7901 #include <stdarg.h>
7902 #include <string.h>
7903 #include <float.h>
7904
7905 int
7906 main ()
7907 {
7908
7909 ;
7910 return 0;
7911 }
7912 _ACEOF
7913 if ac_fn_c_try_compile "$LINENO"; then :
7914 ac_cv_header_stdc=yes
7915 else
7916 ac_cv_header_stdc=no
7917 fi
7918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7919
7920 if test $ac_cv_header_stdc = yes; then
7921 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7923 /* end confdefs.h. */
7924 #include <string.h>
7925
7926 _ACEOF
7927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7928 $EGREP "memchr" >/dev/null 2>&1; then :
7929
7930 else
7931 ac_cv_header_stdc=no
7932 fi
7933 rm -f conftest*
7934
7935 fi
7936
7937 if test $ac_cv_header_stdc = yes; then
7938 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7940 /* end confdefs.h. */
7941 #include <stdlib.h>
7942
7943 _ACEOF
7944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7945 $EGREP "free" >/dev/null 2>&1; then :
7946
7947 else
7948 ac_cv_header_stdc=no
7949 fi
7950 rm -f conftest*
7951
7952 fi
7953
7954 if test $ac_cv_header_stdc = yes; then
7955 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7956 if test "$cross_compiling" = yes; then :
7957 :
7958 else
7959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7960 /* end confdefs.h. */
7961 #include <ctype.h>
7962 #include <stdlib.h>
7963 #if ((' ' & 0x0FF) == 0x020)
7964 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7965 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7966 #else
7967 # define ISLOWER(c) \
7968 (('a' <= (c) && (c) <= 'i') \
7969 || ('j' <= (c) && (c) <= 'r') \
7970 || ('s' <= (c) && (c) <= 'z'))
7971 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7972 #endif
7973
7974 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7975 int
7976 main ()
7977 {
7978 int i;
7979 for (i = 0; i < 256; i++)
7980 if (XOR (islower (i), ISLOWER (i))
7981 || toupper (i) != TOUPPER (i))
7982 return 2;
7983 return 0;
7984 }
7985 _ACEOF
7986 if ac_fn_c_try_run "$LINENO"; then :
7987
7988 else
7989 ac_cv_header_stdc=no
7990 fi
7991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7992 conftest.$ac_objext conftest.beam conftest.$ac_ext
7993 fi
7994
7995 fi
7996 fi
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7998 $as_echo "$ac_cv_header_stdc" >&6; }
7999 if test $ac_cv_header_stdc = yes; then
8000
8001 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8002
8003 fi
8004
8005 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8006 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8007 inttypes.h stdint.h unistd.h
8008 do :
8009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8010 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8011 "
8012 eval as_val=\$$as_ac_Header
8013 if test "x$as_val" = x""yes; then :
8014 cat >>confdefs.h <<_ACEOF
8015 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8016 _ACEOF
8017
8018 fi
8019
8020 done
8021
8022
8023 for ac_header in dlfcn.h
8024 do :
8025 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8026 "
8027 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8028 cat >>confdefs.h <<_ACEOF
8029 #define HAVE_DLFCN_H 1
8030 _ACEOF
8031
8032 fi
8033
8034 done
8035
8036
8037
8038
8039
8040
8041 # Set options
8042
8043
8044
8045
8046 enable_win32_dll=no
8047
8048
8049 # Check whether --enable-shared was given.
8050 if test "${enable_shared+set}" = set; then :
8051 enableval=$enable_shared; p=${PACKAGE-default}
8052 case $enableval in
8053 yes) enable_shared=yes ;;
8054 no) enable_shared=no ;;
8055 *)
8056 enable_shared=no
8057 # Look at the argument we got. We use all the common list separators.
8058 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8059 for pkg in $enableval; do
8060 IFS="$lt_save_ifs"
8061 if test "X$pkg" = "X$p"; then
8062 enable_shared=yes
8063 fi
8064 done
8065 IFS="$lt_save_ifs"
8066 ;;
8067 esac
8068 else
8069 enable_shared=yes
8070 fi
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080 # Check whether --enable-static was given.
8081 if test "${enable_static+set}" = set; then :
8082 enableval=$enable_static; p=${PACKAGE-default}
8083 case $enableval in
8084 yes) enable_static=yes ;;
8085 no) enable_static=no ;;
8086 *)
8087 enable_static=no
8088 # Look at the argument we got. We use all the common list separators.
8089 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8090 for pkg in $enableval; do
8091 IFS="$lt_save_ifs"
8092 if test "X$pkg" = "X$p"; then
8093 enable_static=yes
8094 fi
8095 done
8096 IFS="$lt_save_ifs"
8097 ;;
8098 esac
8099 else
8100 enable_static=yes
8101 fi
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112 # Check whether --with-pic was given.
8113 if test "${with_pic+set}" = set; then :
8114 withval=$with_pic; pic_mode="$withval"
8115 else
8116 pic_mode=default
8117 fi
8118
8119
8120 test -z "$pic_mode" && pic_mode=default
8121
8122
8123
8124
8125
8126
8127
8128 # Check whether --enable-fast-install was given.
8129 if test "${enable_fast_install+set}" = set; then :
8130 enableval=$enable_fast_install; p=${PACKAGE-default}
8131 case $enableval in
8132 yes) enable_fast_install=yes ;;
8133 no) enable_fast_install=no ;;
8134 *)
8135 enable_fast_install=no
8136 # Look at the argument we got. We use all the common list separators.
8137 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8138 for pkg in $enableval; do
8139 IFS="$lt_save_ifs"
8140 if test "X$pkg" = "X$p"; then
8141 enable_fast_install=yes
8142 fi
8143 done
8144 IFS="$lt_save_ifs"
8145 ;;
8146 esac
8147 else
8148 enable_fast_install=yes
8149 fi
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161 # This can be used to rebuild libtool when needed
8162 LIBTOOL_DEPS="$ltmain"
8163
8164 # Always use our own libtool.
8165 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192 test -z "$LN_S" && LN_S="ln -s"
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207 if test -n "${ZSH_VERSION+set}" ; then
8208 setopt NO_GLOB_SUBST
8209 fi
8210
8211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8212 $as_echo_n "checking for objdir... " >&6; }
8213 if test "${lt_cv_objdir+set}" = set; then :
8214 $as_echo_n "(cached) " >&6
8215 else
8216 rm -f .libs 2>/dev/null
8217 mkdir .libs 2>/dev/null
8218 if test -d .libs; then
8219 lt_cv_objdir=.libs
8220 else
8221 # MS-DOS does not allow filenames that begin with a dot.
8222 lt_cv_objdir=_libs
8223 fi
8224 rmdir .libs 2>/dev/null
8225 fi
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8227 $as_echo "$lt_cv_objdir" >&6; }
8228 objdir=$lt_cv_objdir
8229
8230
8231
8232
8233
8234 cat >>confdefs.h <<_ACEOF
8235 #define LT_OBJDIR "$lt_cv_objdir/"
8236 _ACEOF
8237
8238
8239
8240
8241 case $host_os in
8242 aix3*)
8243 # AIX sometimes has problems with the GCC collect2 program. For some
8244 # reason, if we set the COLLECT_NAMES environment variable, the problems
8245 # vanish in a puff of smoke.
8246 if test "X${COLLECT_NAMES+set}" != Xset; then
8247 COLLECT_NAMES=
8248 export COLLECT_NAMES
8249 fi
8250 ;;
8251 esac
8252
8253 # Global variables:
8254 ofile=libtool
8255 can_build_shared=yes
8256
8257 # All known linkers require a `.a' archive for static linking (except MSVC,
8258 # which needs '.lib').
8259 libext=a
8260
8261 with_gnu_ld="$lt_cv_prog_gnu_ld"
8262
8263 old_CC="$CC"
8264 old_CFLAGS="$CFLAGS"
8265
8266 # Set sane defaults for various variables
8267 test -z "$CC" && CC=cc
8268 test -z "$LTCC" && LTCC=$CC
8269 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8270 test -z "$LD" && LD=ld
8271 test -z "$ac_objext" && ac_objext=o
8272
8273 for cc_temp in $compiler""; do
8274 case $cc_temp in
8275 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8276 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8277 \-*) ;;
8278 *) break;;
8279 esac
8280 done
8281 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8282
8283
8284 # Only perform the check for file, if the check method requires it
8285 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8286 case $deplibs_check_method in
8287 file_magic*)
8288 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8290 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8291 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8292 $as_echo_n "(cached) " >&6
8293 else
8294 case $MAGIC_CMD in
8295 [\\/*] | ?:[\\/]*)
8296 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8297 ;;
8298 *)
8299 lt_save_MAGIC_CMD="$MAGIC_CMD"
8300 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8301 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8302 for ac_dir in $ac_dummy; do
8303 IFS="$lt_save_ifs"
8304 test -z "$ac_dir" && ac_dir=.
8305 if test -f $ac_dir/${ac_tool_prefix}file; then
8306 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8307 if test -n "$file_magic_test_file"; then
8308 case $deplibs_check_method in
8309 "file_magic "*)
8310 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8311 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8312 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8313 $EGREP "$file_magic_regex" > /dev/null; then
8314 :
8315 else
8316 cat <<_LT_EOF 1>&2
8317
8318 *** Warning: the command libtool uses to detect shared libraries,
8319 *** $file_magic_cmd, produces output that libtool cannot recognize.
8320 *** The result is that libtool may fail to recognize shared libraries
8321 *** as such. This will affect the creation of libtool libraries that
8322 *** depend on shared libraries, but programs linked with such libtool
8323 *** libraries will work regardless of this problem. Nevertheless, you
8324 *** may want to report the problem to your system manager and/or to
8325 *** bug-libtool@gnu.org
8326
8327 _LT_EOF
8328 fi ;;
8329 esac
8330 fi
8331 break
8332 fi
8333 done
8334 IFS="$lt_save_ifs"
8335 MAGIC_CMD="$lt_save_MAGIC_CMD"
8336 ;;
8337 esac
8338 fi
8339
8340 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8341 if test -n "$MAGIC_CMD"; then
8342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8343 $as_echo "$MAGIC_CMD" >&6; }
8344 else
8345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8346 $as_echo "no" >&6; }
8347 fi
8348
8349
8350
8351
8352
8353 if test -z "$lt_cv_path_MAGIC_CMD"; then
8354 if test -n "$ac_tool_prefix"; then
8355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8356 $as_echo_n "checking for file... " >&6; }
8357 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8358 $as_echo_n "(cached) " >&6
8359 else
8360 case $MAGIC_CMD in
8361 [\\/*] | ?:[\\/]*)
8362 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8363 ;;
8364 *)
8365 lt_save_MAGIC_CMD="$MAGIC_CMD"
8366 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8367 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8368 for ac_dir in $ac_dummy; do
8369 IFS="$lt_save_ifs"
8370 test -z "$ac_dir" && ac_dir=.
8371 if test -f $ac_dir/file; then
8372 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8373 if test -n "$file_magic_test_file"; then
8374 case $deplibs_check_method in
8375 "file_magic "*)
8376 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8377 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8378 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8379 $EGREP "$file_magic_regex" > /dev/null; then
8380 :
8381 else
8382 cat <<_LT_EOF 1>&2
8383
8384 *** Warning: the command libtool uses to detect shared libraries,
8385 *** $file_magic_cmd, produces output that libtool cannot recognize.
8386 *** The result is that libtool may fail to recognize shared libraries
8387 *** as such. This will affect the creation of libtool libraries that
8388 *** depend on shared libraries, but programs linked with such libtool
8389 *** libraries will work regardless of this problem. Nevertheless, you
8390 *** may want to report the problem to your system manager and/or to
8391 *** bug-libtool@gnu.org
8392
8393 _LT_EOF
8394 fi ;;
8395 esac
8396 fi
8397 break
8398 fi
8399 done
8400 IFS="$lt_save_ifs"
8401 MAGIC_CMD="$lt_save_MAGIC_CMD"
8402 ;;
8403 esac
8404 fi
8405
8406 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8407 if test -n "$MAGIC_CMD"; then
8408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8409 $as_echo "$MAGIC_CMD" >&6; }
8410 else
8411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8412 $as_echo "no" >&6; }
8413 fi
8414
8415
8416 else
8417 MAGIC_CMD=:
8418 fi
8419 fi
8420
8421 fi
8422 ;;
8423 esac
8424
8425 # Use C for the default configuration in the libtool script
8426
8427 lt_save_CC="$CC"
8428 ac_ext=c
8429 ac_cpp='$CPP $CPPFLAGS'
8430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8433
8434
8435 # Source file extension for C test sources.
8436 ac_ext=c
8437
8438 # Object file extension for compiled C test sources.
8439 objext=o
8440 objext=$objext
8441
8442 # Code to be used in simple compile tests
8443 lt_simple_compile_test_code="int some_variable = 0;"
8444
8445 # Code to be used in simple link tests
8446 lt_simple_link_test_code='int main(){return(0);}'
8447
8448
8449
8450
8451
8452
8453
8454 # If no C compiler was specified, use CC.
8455 LTCC=${LTCC-"$CC"}
8456
8457 # If no C compiler flags were specified, use CFLAGS.
8458 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8459
8460 # Allow CC to be a program name with arguments.
8461 compiler=$CC
8462
8463 # Save the default compiler, since it gets overwritten when the other
8464 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8465 compiler_DEFAULT=$CC
8466
8467 # save warnings/boilerplate of simple test code
8468 ac_outfile=conftest.$ac_objext
8469 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8470 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8471 _lt_compiler_boilerplate=`cat conftest.err`
8472 $RM conftest*
8473
8474 ac_outfile=conftest.$ac_objext
8475 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8476 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8477 _lt_linker_boilerplate=`cat conftest.err`
8478 $RM -r conftest*
8479
8480
8481 ## CAVEAT EMPTOR:
8482 ## There is no encapsulation within the following macros, do not change
8483 ## the running order or otherwise move them around unless you know exactly
8484 ## what you are doing...
8485 if test -n "$compiler"; then
8486
8487 lt_prog_compiler_no_builtin_flag=
8488
8489 if test "$GCC" = yes; then
8490 case $cc_basename in
8491 nvcc*)
8492 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8493 *)
8494 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8495 esac
8496
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8498 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8499 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8500 $as_echo_n "(cached) " >&6
8501 else
8502 lt_cv_prog_compiler_rtti_exceptions=no
8503 ac_outfile=conftest.$ac_objext
8504 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8505 lt_compiler_flag="-fno-rtti -fno-exceptions"
8506 # Insert the option either (1) after the last *FLAGS variable, or
8507 # (2) before a word containing "conftest.", or (3) at the end.
8508 # Note that $ac_compile itself does not contain backslashes and begins
8509 # with a dollar sign (not a hyphen), so the echo should work correctly.
8510 # The option is referenced via a variable to avoid confusing sed.
8511 lt_compile=`echo "$ac_compile" | $SED \
8512 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8513 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8514 -e 's:$: $lt_compiler_flag:'`
8515 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8516 (eval "$lt_compile" 2>conftest.err)
8517 ac_status=$?
8518 cat conftest.err >&5
8519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8520 if (exit $ac_status) && test -s "$ac_outfile"; then
8521 # The compiler can only warn and ignore the option if not recognized
8522 # So say no if there are warnings other than the usual output.
8523 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8524 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8525 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8526 lt_cv_prog_compiler_rtti_exceptions=yes
8527 fi
8528 fi
8529 $RM conftest*
8530
8531 fi
8532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8533 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8534
8535 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8536 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8537 else
8538 :
8539 fi
8540
8541 fi
8542
8543
8544
8545
8546
8547
8548 lt_prog_compiler_wl=
8549 lt_prog_compiler_pic=
8550 lt_prog_compiler_static=
8551
8552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8553 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8554
8555 if test "$GCC" = yes; then
8556 lt_prog_compiler_wl='-Wl,'
8557 lt_prog_compiler_static='-static'
8558
8559 case $host_os in
8560 aix*)
8561 # All AIX code is PIC.
8562 if test "$host_cpu" = ia64; then
8563 # AIX 5 now supports IA64 processor
8564 lt_prog_compiler_static='-Bstatic'
8565 fi
8566 lt_prog_compiler_pic='-fPIC'
8567 ;;
8568
8569 amigaos*)
8570 case $host_cpu in
8571 powerpc)
8572 # see comment about AmigaOS4 .so support
8573 lt_prog_compiler_pic='-fPIC'
8574 ;;
8575 m68k)
8576 # FIXME: we need at least 68020 code to build shared libraries, but
8577 # adding the `-m68020' flag to GCC prevents building anything better,
8578 # like `-m68040'.
8579 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8580 ;;
8581 esac
8582 ;;
8583
8584 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8585 # PIC is the default for these OSes.
8586 ;;
8587
8588 mingw* | cygwin* | pw32* | os2* | cegcc*)
8589 # This hack is so that the source file can tell whether it is being
8590 # built for inclusion in a dll (and should export symbols for example).
8591 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8592 # (--disable-auto-import) libraries
8593 lt_prog_compiler_pic='-DDLL_EXPORT'
8594 ;;
8595
8596 darwin* | rhapsody*)
8597 # PIC is the default on this platform
8598 # Common symbols not allowed in MH_DYLIB files
8599 lt_prog_compiler_pic='-fno-common'
8600 ;;
8601
8602 haiku*)
8603 # PIC is the default for Haiku.
8604 # The "-static" flag exists, but is broken.
8605 lt_prog_compiler_static=
8606 ;;
8607
8608 hpux*)
8609 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8610 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8611 # sets the default TLS model and affects inlining.
8612 case $host_cpu in
8613 hppa*64*)
8614 # +Z the default
8615 ;;
8616 *)
8617 lt_prog_compiler_pic='-fPIC'
8618 ;;
8619 esac
8620 ;;
8621
8622 interix[3-9]*)
8623 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8624 # Instead, we relocate shared libraries at runtime.
8625 ;;
8626
8627 msdosdjgpp*)
8628 # Just because we use GCC doesn't mean we suddenly get shared libraries
8629 # on systems that don't support them.
8630 lt_prog_compiler_can_build_shared=no
8631 enable_shared=no
8632 ;;
8633
8634 *nto* | *qnx*)
8635 # QNX uses GNU C++, but need to define -shared option too, otherwise
8636 # it will coredump.
8637 lt_prog_compiler_pic='-fPIC -shared'
8638 ;;
8639
8640 sysv4*MP*)
8641 if test -d /usr/nec; then
8642 lt_prog_compiler_pic=-Kconform_pic
8643 fi
8644 ;;
8645
8646 *)
8647 lt_prog_compiler_pic='-fPIC'
8648 ;;
8649 esac
8650
8651 case $cc_basename in
8652 nvcc*) # Cuda Compiler Driver 2.2
8653 lt_prog_compiler_wl='-Xlinker '
8654 lt_prog_compiler_pic='-Xcompiler -fPIC'
8655 ;;
8656 esac
8657 else
8658 # PORTME Check for flag to pass linker flags through the system compiler.
8659 case $host_os in
8660 aix*)
8661 lt_prog_compiler_wl='-Wl,'
8662 if test "$host_cpu" = ia64; then
8663 # AIX 5 now supports IA64 processor
8664 lt_prog_compiler_static='-Bstatic'
8665 else
8666 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8667 fi
8668 ;;
8669
8670 mingw* | cygwin* | pw32* | os2* | cegcc*)
8671 # This hack is so that the source file can tell whether it is being
8672 # built for inclusion in a dll (and should export symbols for example).
8673 lt_prog_compiler_pic='-DDLL_EXPORT'
8674 ;;
8675
8676 hpux9* | hpux10* | hpux11*)
8677 lt_prog_compiler_wl='-Wl,'
8678 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8679 # not for PA HP-UX.
8680 case $host_cpu in
8681 hppa*64*|ia64*)
8682 # +Z the default
8683 ;;
8684 *)
8685 lt_prog_compiler_pic='+Z'
8686 ;;
8687 esac
8688 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8689 lt_prog_compiler_static='${wl}-a ${wl}archive'
8690 ;;
8691
8692 irix5* | irix6* | nonstopux*)
8693 lt_prog_compiler_wl='-Wl,'
8694 # PIC (with -KPIC) is the default.
8695 lt_prog_compiler_static='-non_shared'
8696 ;;
8697
8698 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8699 case $cc_basename in
8700 # old Intel for x86_64 which still supported -KPIC.
8701 ecc*)
8702 lt_prog_compiler_wl='-Wl,'
8703 lt_prog_compiler_pic='-KPIC'
8704 lt_prog_compiler_static='-static'
8705 ;;
8706 # icc used to be incompatible with GCC.
8707 # ICC 10 doesn't accept -KPIC any more.
8708 icc* | ifort*)
8709 lt_prog_compiler_wl='-Wl,'
8710 lt_prog_compiler_pic='-fPIC'
8711 lt_prog_compiler_static='-static'
8712 ;;
8713 # Lahey Fortran 8.1.
8714 lf95*)
8715 lt_prog_compiler_wl='-Wl,'
8716 lt_prog_compiler_pic='--shared'
8717 lt_prog_compiler_static='--static'
8718 ;;
8719 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8720 # Portland Group compilers (*not* the Pentium gcc compiler,
8721 # which looks to be a dead project)
8722 lt_prog_compiler_wl='-Wl,'
8723 lt_prog_compiler_pic='-fpic'
8724 lt_prog_compiler_static='-Bstatic'
8725 ;;
8726 ccc*)
8727 lt_prog_compiler_wl='-Wl,'
8728 # All Alpha code is PIC.
8729 lt_prog_compiler_static='-non_shared'
8730 ;;
8731 xl* | bgxl* | bgf* | mpixl*)
8732 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8733 lt_prog_compiler_wl='-Wl,'
8734 lt_prog_compiler_pic='-qpic'
8735 lt_prog_compiler_static='-qstaticlink'
8736 ;;
8737 *)
8738 case `$CC -V 2>&1 | sed 5q` in
8739 *Sun\ F* | *Sun*Fortran*)
8740 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8741 lt_prog_compiler_pic='-KPIC'
8742 lt_prog_compiler_static='-Bstatic'
8743 lt_prog_compiler_wl=''
8744 ;;
8745 *Sun\ C*)
8746 # Sun C 5.9
8747 lt_prog_compiler_pic='-KPIC'
8748 lt_prog_compiler_static='-Bstatic'
8749 lt_prog_compiler_wl='-Wl,'
8750 ;;
8751 esac
8752 ;;
8753 esac
8754 ;;
8755
8756 newsos6)
8757 lt_prog_compiler_pic='-KPIC'
8758 lt_prog_compiler_static='-Bstatic'
8759 ;;
8760
8761 *nto* | *qnx*)
8762 # QNX uses GNU C++, but need to define -shared option too, otherwise
8763 # it will coredump.
8764 lt_prog_compiler_pic='-fPIC -shared'
8765 ;;
8766
8767 osf3* | osf4* | osf5*)
8768 lt_prog_compiler_wl='-Wl,'
8769 # All OSF/1 code is PIC.
8770 lt_prog_compiler_static='-non_shared'
8771 ;;
8772
8773 rdos*)
8774 lt_prog_compiler_static='-non_shared'
8775 ;;
8776
8777 solaris*)
8778 lt_prog_compiler_pic='-KPIC'
8779 lt_prog_compiler_static='-Bstatic'
8780 case $cc_basename in
8781 f77* | f90* | f95*)
8782 lt_prog_compiler_wl='-Qoption ld ';;
8783 *)
8784 lt_prog_compiler_wl='-Wl,';;
8785 esac
8786 ;;
8787
8788 sunos4*)
8789 lt_prog_compiler_wl='-Qoption ld '
8790 lt_prog_compiler_pic='-PIC'
8791 lt_prog_compiler_static='-Bstatic'
8792 ;;
8793
8794 sysv4 | sysv4.2uw2* | sysv4.3*)
8795 lt_prog_compiler_wl='-Wl,'
8796 lt_prog_compiler_pic='-KPIC'
8797 lt_prog_compiler_static='-Bstatic'
8798 ;;
8799
8800 sysv4*MP*)
8801 if test -d /usr/nec ;then
8802 lt_prog_compiler_pic='-Kconform_pic'
8803 lt_prog_compiler_static='-Bstatic'
8804 fi
8805 ;;
8806
8807 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8808 lt_prog_compiler_wl='-Wl,'
8809 lt_prog_compiler_pic='-KPIC'
8810 lt_prog_compiler_static='-Bstatic'
8811 ;;
8812
8813 unicos*)
8814 lt_prog_compiler_wl='-Wl,'
8815 lt_prog_compiler_can_build_shared=no
8816 ;;
8817
8818 uts4*)
8819 lt_prog_compiler_pic='-pic'
8820 lt_prog_compiler_static='-Bstatic'
8821 ;;
8822
8823 *)
8824 lt_prog_compiler_can_build_shared=no
8825 ;;
8826 esac
8827 fi
8828
8829 case $host_os in
8830 # For platforms which do not support PIC, -DPIC is meaningless:
8831 *djgpp*)
8832 lt_prog_compiler_pic=
8833 ;;
8834 *)
8835 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8836 ;;
8837 esac
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8839 $as_echo "$lt_prog_compiler_pic" >&6; }
8840
8841
8842
8843
8844
8845
8846 #
8847 # Check to make sure the PIC flag actually works.
8848 #
8849 if test -n "$lt_prog_compiler_pic"; then
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8851 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8852 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8853 $as_echo_n "(cached) " >&6
8854 else
8855 lt_cv_prog_compiler_pic_works=no
8856 ac_outfile=conftest.$ac_objext
8857 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8858 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8859 # Insert the option either (1) after the last *FLAGS variable, or
8860 # (2) before a word containing "conftest.", or (3) at the end.
8861 # Note that $ac_compile itself does not contain backslashes and begins
8862 # with a dollar sign (not a hyphen), so the echo should work correctly.
8863 # The option is referenced via a variable to avoid confusing sed.
8864 lt_compile=`echo "$ac_compile" | $SED \
8865 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8866 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8867 -e 's:$: $lt_compiler_flag:'`
8868 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8869 (eval "$lt_compile" 2>conftest.err)
8870 ac_status=$?
8871 cat conftest.err >&5
8872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8873 if (exit $ac_status) && test -s "$ac_outfile"; then
8874 # The compiler can only warn and ignore the option if not recognized
8875 # So say no if there are warnings other than the usual output.
8876 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8877 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8878 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8879 lt_cv_prog_compiler_pic_works=yes
8880 fi
8881 fi
8882 $RM conftest*
8883
8884 fi
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8886 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8887
8888 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8889 case $lt_prog_compiler_pic in
8890 "" | " "*) ;;
8891 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8892 esac
8893 else
8894 lt_prog_compiler_pic=
8895 lt_prog_compiler_can_build_shared=no
8896 fi
8897
8898 fi
8899
8900
8901
8902
8903
8904
8905 #
8906 # Check to make sure the static flag actually works.
8907 #
8908 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8910 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8911 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8912 $as_echo_n "(cached) " >&6
8913 else
8914 lt_cv_prog_compiler_static_works=no
8915 save_LDFLAGS="$LDFLAGS"
8916 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8917 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8918 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8919 # The linker can only warn and ignore the option if not recognized
8920 # So say no if there are warnings
8921 if test -s conftest.err; then
8922 # Append any errors to the config.log.
8923 cat conftest.err 1>&5
8924 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8925 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8926 if diff conftest.exp conftest.er2 >/dev/null; then
8927 lt_cv_prog_compiler_static_works=yes
8928 fi
8929 else
8930 lt_cv_prog_compiler_static_works=yes
8931 fi
8932 fi
8933 $RM -r conftest*
8934 LDFLAGS="$save_LDFLAGS"
8935
8936 fi
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8938 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8939
8940 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8941 :
8942 else
8943 lt_prog_compiler_static=
8944 fi
8945
8946
8947
8948
8949
8950
8951
8952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8953 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8954 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
8955 $as_echo_n "(cached) " >&6
8956 else
8957 lt_cv_prog_compiler_c_o=no
8958 $RM -r conftest 2>/dev/null
8959 mkdir conftest
8960 cd conftest
8961 mkdir out
8962 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8963
8964 lt_compiler_flag="-o out/conftest2.$ac_objext"
8965 # Insert the option either (1) after the last *FLAGS variable, or
8966 # (2) before a word containing "conftest.", or (3) at the end.
8967 # Note that $ac_compile itself does not contain backslashes and begins
8968 # with a dollar sign (not a hyphen), so the echo should work correctly.
8969 lt_compile=`echo "$ac_compile" | $SED \
8970 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8971 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8972 -e 's:$: $lt_compiler_flag:'`
8973 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8974 (eval "$lt_compile" 2>out/conftest.err)
8975 ac_status=$?
8976 cat out/conftest.err >&5
8977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8978 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8979 then
8980 # The compiler can only warn and ignore the option if not recognized
8981 # So say no if there are warnings
8982 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
8983 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8984 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8985 lt_cv_prog_compiler_c_o=yes
8986 fi
8987 fi
8988 chmod u+w . 2>&5
8989 $RM conftest*
8990 # SGI C++ compiler will create directory out/ii_files/ for
8991 # template instantiation
8992 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8993 $RM out/* && rmdir out
8994 cd ..
8995 $RM -r conftest
8996 $RM conftest*
8997
8998 fi
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9000 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9001
9002
9003
9004
9005
9006
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9008 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9009 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9010 $as_echo_n "(cached) " >&6
9011 else
9012 lt_cv_prog_compiler_c_o=no
9013 $RM -r conftest 2>/dev/null
9014 mkdir conftest
9015 cd conftest
9016 mkdir out
9017 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9018
9019 lt_compiler_flag="-o out/conftest2.$ac_objext"
9020 # Insert the option either (1) after the last *FLAGS variable, or
9021 # (2) before a word containing "conftest.", or (3) at the end.
9022 # Note that $ac_compile itself does not contain backslashes and begins
9023 # with a dollar sign (not a hyphen), so the echo should work correctly.
9024 lt_compile=`echo "$ac_compile" | $SED \
9025 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9026 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9027 -e 's:$: $lt_compiler_flag:'`
9028 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9029 (eval "$lt_compile" 2>out/conftest.err)
9030 ac_status=$?
9031 cat out/conftest.err >&5
9032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9033 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9034 then
9035 # The compiler can only warn and ignore the option if not recognized
9036 # So say no if there are warnings
9037 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9038 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9039 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9040 lt_cv_prog_compiler_c_o=yes
9041 fi
9042 fi
9043 chmod u+w . 2>&5
9044 $RM conftest*
9045 # SGI C++ compiler will create directory out/ii_files/ for
9046 # template instantiation
9047 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9048 $RM out/* && rmdir out
9049 cd ..
9050 $RM -r conftest
9051 $RM conftest*
9052
9053 fi
9054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9055 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9056
9057
9058
9059
9060 hard_links="nottested"
9061 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9062 # do not overwrite the value of need_locks provided by the user
9063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9064 $as_echo_n "checking if we can lock with hard links... " >&6; }
9065 hard_links=yes
9066 $RM conftest*
9067 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9068 touch conftest.a
9069 ln conftest.a conftest.b 2>&5 || hard_links=no
9070 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9072 $as_echo "$hard_links" >&6; }
9073 if test "$hard_links" = no; then
9074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9075 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9076 need_locks=warn
9077 fi
9078 else
9079 need_locks=no
9080 fi
9081
9082
9083
9084
9085
9086
9087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9088 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9089
9090 runpath_var=
9091 allow_undefined_flag=
9092 always_export_symbols=no
9093 archive_cmds=
9094 archive_expsym_cmds=
9095 compiler_needs_object=no
9096 enable_shared_with_static_runtimes=no
9097 export_dynamic_flag_spec=
9098 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9099 hardcode_automatic=no
9100 hardcode_direct=no
9101 hardcode_direct_absolute=no
9102 hardcode_libdir_flag_spec=
9103 hardcode_libdir_flag_spec_ld=
9104 hardcode_libdir_separator=
9105 hardcode_minus_L=no
9106 hardcode_shlibpath_var=unsupported
9107 inherit_rpath=no
9108 link_all_deplibs=unknown
9109 module_cmds=
9110 module_expsym_cmds=
9111 old_archive_from_new_cmds=
9112 old_archive_from_expsyms_cmds=
9113 thread_safe_flag_spec=
9114 whole_archive_flag_spec=
9115 # include_expsyms should be a list of space-separated symbols to be *always*
9116 # included in the symbol list
9117 include_expsyms=
9118 # exclude_expsyms can be an extended regexp of symbols to exclude
9119 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9120 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9121 # as well as any symbol that contains `d'.
9122 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9123 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9124 # platforms (ab)use it in PIC code, but their linkers get confused if
9125 # the symbol is explicitly referenced. Since portable code cannot
9126 # rely on this symbol name, it's probably fine to never include it in
9127 # preloaded symbol tables.
9128 # Exclude shared library initialization/finalization symbols.
9129 extract_expsyms_cmds=
9130
9131 case $host_os in
9132 cygwin* | mingw* | pw32* | cegcc*)
9133 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9134 # When not using gcc, we currently assume that we are using
9135 # Microsoft Visual C++.
9136 if test "$GCC" != yes; then
9137 with_gnu_ld=no
9138 fi
9139 ;;
9140 interix*)
9141 # we just hope/assume this is gcc and not c89 (= MSVC++)
9142 with_gnu_ld=yes
9143 ;;
9144 openbsd*)
9145 with_gnu_ld=no
9146 ;;
9147 esac
9148
9149 ld_shlibs=yes
9150
9151 # On some targets, GNU ld is compatible enough with the native linker
9152 # that we're better off using the native interface for both.
9153 lt_use_gnu_ld_interface=no
9154 if test "$with_gnu_ld" = yes; then
9155 case $host_os in
9156 aix*)
9157 # The AIX port of GNU ld has always aspired to compatibility
9158 # with the native linker. However, as the warning in the GNU ld
9159 # block says, versions before 2.19.5* couldn't really create working
9160 # shared libraries, regardless of the interface used.
9161 case `$LD -v 2>&1` in
9162 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9163 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9164 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9165 *)
9166 lt_use_gnu_ld_interface=yes
9167 ;;
9168 esac
9169 ;;
9170 *)
9171 lt_use_gnu_ld_interface=yes
9172 ;;
9173 esac
9174 fi
9175
9176 if test "$lt_use_gnu_ld_interface" = yes; then
9177 # If archive_cmds runs LD, not CC, wlarc should be empty
9178 wlarc='${wl}'
9179
9180 # Set some defaults for GNU ld with shared library support. These
9181 # are reset later if shared libraries are not supported. Putting them
9182 # here allows them to be overridden if necessary.
9183 runpath_var=LD_RUN_PATH
9184 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9185 export_dynamic_flag_spec='${wl}--export-dynamic'
9186 # ancient GNU ld didn't support --whole-archive et. al.
9187 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9188 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9189 else
9190 whole_archive_flag_spec=
9191 fi
9192 supports_anon_versioning=no
9193 case `$LD -v 2>&1` in
9194 *GNU\ gold*) supports_anon_versioning=yes ;;
9195 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9196 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9197 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9198 *\ 2.11.*) ;; # other 2.11 versions
9199 *) supports_anon_versioning=yes ;;
9200 esac
9201
9202 # See if GNU ld supports shared libraries.
9203 case $host_os in
9204 aix[3-9]*)
9205 # On AIX/PPC, the GNU linker is very broken
9206 if test "$host_cpu" != ia64; then
9207 ld_shlibs=no
9208 cat <<_LT_EOF 1>&2
9209
9210 *** Warning: the GNU linker, at least up to release 2.19, is reported
9211 *** to be unable to reliably create shared libraries on AIX.
9212 *** Therefore, libtool is disabling shared libraries support. If you
9213 *** really care for shared libraries, you may want to install binutils
9214 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9215 *** You will then need to restart the configuration process.
9216
9217 _LT_EOF
9218 fi
9219 ;;
9220
9221 amigaos*)
9222 case $host_cpu in
9223 powerpc)
9224 # see comment about AmigaOS4 .so support
9225 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9226 archive_expsym_cmds=''
9227 ;;
9228 m68k)
9229 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)'
9230 hardcode_libdir_flag_spec='-L$libdir'
9231 hardcode_minus_L=yes
9232 ;;
9233 esac
9234 ;;
9235
9236 beos*)
9237 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9238 allow_undefined_flag=unsupported
9239 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9240 # support --undefined. This deserves some investigation. FIXME
9241 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9242 else
9243 ld_shlibs=no
9244 fi
9245 ;;
9246
9247 cygwin* | mingw* | pw32* | cegcc*)
9248 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9249 # as there is no search path for DLLs.
9250 hardcode_libdir_flag_spec='-L$libdir'
9251 export_dynamic_flag_spec='${wl}--export-all-symbols'
9252 allow_undefined_flag=unsupported
9253 always_export_symbols=no
9254 enable_shared_with_static_runtimes=yes
9255 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9256
9257 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9258 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9259 # If the export-symbols file already is a .def file (1st line
9260 # is EXPORTS), use it as is; otherwise, prepend...
9261 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9262 cp $export_symbols $output_objdir/$soname.def;
9263 else
9264 echo EXPORTS > $output_objdir/$soname.def;
9265 cat $export_symbols >> $output_objdir/$soname.def;
9266 fi~
9267 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9268 else
9269 ld_shlibs=no
9270 fi
9271 ;;
9272
9273 haiku*)
9274 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9275 link_all_deplibs=yes
9276 ;;
9277
9278 interix[3-9]*)
9279 hardcode_direct=no
9280 hardcode_shlibpath_var=no
9281 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9282 export_dynamic_flag_spec='${wl}-E'
9283 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9284 # Instead, shared libraries are loaded at an image base (0x10000000 by
9285 # default) and relocated if they conflict, which is a slow very memory
9286 # consuming and fragmenting process. To avoid this, we pick a random,
9287 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9288 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9289 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9290 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'
9291 ;;
9292
9293 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9294 tmp_diet=no
9295 if test "$host_os" = linux-dietlibc; then
9296 case $cc_basename in
9297 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9298 esac
9299 fi
9300 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9301 && test "$tmp_diet" = no
9302 then
9303 tmp_addflag=' $pic_flag'
9304 tmp_sharedflag='-shared'
9305 case $cc_basename,$host_cpu in
9306 pgcc*) # Portland Group C compiler
9307 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'
9308 tmp_addflag=' $pic_flag'
9309 ;;
9310 pgf77* | pgf90* | pgf95* | pgfortran*)
9311 # Portland Group f77 and f90 compilers
9312 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'
9313 tmp_addflag=' $pic_flag -Mnomain' ;;
9314 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9315 tmp_addflag=' -i_dynamic' ;;
9316 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9317 tmp_addflag=' -i_dynamic -nofor_main' ;;
9318 ifc* | ifort*) # Intel Fortran compiler
9319 tmp_addflag=' -nofor_main' ;;
9320 lf95*) # Lahey Fortran 8.1
9321 whole_archive_flag_spec=
9322 tmp_sharedflag='--shared' ;;
9323 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9324 tmp_sharedflag='-qmkshrobj'
9325 tmp_addflag= ;;
9326 nvcc*) # Cuda Compiler Driver 2.2
9327 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'
9328 compiler_needs_object=yes
9329 ;;
9330 esac
9331 case `$CC -V 2>&1 | sed 5q` in
9332 *Sun\ C*) # Sun C 5.9
9333 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'
9334 compiler_needs_object=yes
9335 tmp_sharedflag='-G' ;;
9336 *Sun\ F*) # Sun Fortran 8.3
9337 tmp_sharedflag='-G' ;;
9338 esac
9339 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9340
9341 if test "x$supports_anon_versioning" = xyes; then
9342 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9343 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9344 echo "local: *; };" >> $output_objdir/$libname.ver~
9345 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9346 fi
9347
9348 case $cc_basename in
9349 xlf* | bgf* | bgxlf* | mpixlf*)
9350 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9351 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9352 hardcode_libdir_flag_spec=
9353 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9354 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9355 if test "x$supports_anon_versioning" = xyes; then
9356 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9357 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9358 echo "local: *; };" >> $output_objdir/$libname.ver~
9359 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9360 fi
9361 ;;
9362 esac
9363 else
9364 ld_shlibs=no
9365 fi
9366 ;;
9367
9368 netbsd*)
9369 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9370 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9371 wlarc=
9372 else
9373 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9374 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9375 fi
9376 ;;
9377
9378 solaris*)
9379 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9380 ld_shlibs=no
9381 cat <<_LT_EOF 1>&2
9382
9383 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9384 *** create shared libraries on Solaris systems. Therefore, libtool
9385 *** is disabling shared libraries support. We urge you to upgrade GNU
9386 *** binutils to release 2.9.1 or newer. Another option is to modify
9387 *** your PATH or compiler configuration so that the native linker is
9388 *** used, and then restart.
9389
9390 _LT_EOF
9391 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9392 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9393 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9394 else
9395 ld_shlibs=no
9396 fi
9397 ;;
9398
9399 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9400 case `$LD -v 2>&1` in
9401 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9402 ld_shlibs=no
9403 cat <<_LT_EOF 1>&2
9404
9405 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9406 *** reliably create shared libraries on SCO systems. Therefore, libtool
9407 *** is disabling shared libraries support. We urge you to upgrade GNU
9408 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9409 *** your PATH or compiler configuration so that the native linker is
9410 *** used, and then restart.
9411
9412 _LT_EOF
9413 ;;
9414 *)
9415 # For security reasons, it is highly recommended that you always
9416 # use absolute paths for naming shared libraries, and exclude the
9417 # DT_RUNPATH tag from executables and libraries. But doing so
9418 # requires that you compile everything twice, which is a pain.
9419 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9420 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9421 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9422 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9423 else
9424 ld_shlibs=no
9425 fi
9426 ;;
9427 esac
9428 ;;
9429
9430 sunos4*)
9431 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9432 wlarc=
9433 hardcode_direct=yes
9434 hardcode_shlibpath_var=no
9435 ;;
9436
9437 *)
9438 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9439 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9440 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9441 else
9442 ld_shlibs=no
9443 fi
9444 ;;
9445 esac
9446
9447 if test "$ld_shlibs" = no; then
9448 runpath_var=
9449 hardcode_libdir_flag_spec=
9450 export_dynamic_flag_spec=
9451 whole_archive_flag_spec=
9452 fi
9453 else
9454 # PORTME fill in a description of your system's linker (not GNU ld)
9455 case $host_os in
9456 aix3*)
9457 allow_undefined_flag=unsupported
9458 always_export_symbols=yes
9459 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'
9460 # Note: this linker hardcodes the directories in LIBPATH if there
9461 # are no directories specified by -L.
9462 hardcode_minus_L=yes
9463 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9464 # Neither direct hardcoding nor static linking is supported with a
9465 # broken collect2.
9466 hardcode_direct=unsupported
9467 fi
9468 ;;
9469
9470 aix[4-9]*)
9471 if test "$host_cpu" = ia64; then
9472 # On IA64, the linker does run time linking by default, so we don't
9473 # have to do anything special.
9474 aix_use_runtimelinking=no
9475 exp_sym_flag='-Bexport'
9476 no_entry_flag=""
9477 else
9478 # If we're using GNU nm, then we don't want the "-C" option.
9479 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9480 # Also, AIX nm treats weak defined symbols like other global
9481 # defined symbols, whereas GNU nm marks them as "W".
9482 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9483 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'
9484 else
9485 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'
9486 fi
9487 aix_use_runtimelinking=no
9488
9489 # Test if we are trying to use run time linking or normal
9490 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9491 # need to do runtime linking.
9492 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9493 for ld_flag in $LDFLAGS; do
9494 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9495 aix_use_runtimelinking=yes
9496 break
9497 fi
9498 done
9499 ;;
9500 esac
9501
9502 exp_sym_flag='-bexport'
9503 no_entry_flag='-bnoentry'
9504 fi
9505
9506 # When large executables or shared objects are built, AIX ld can
9507 # have problems creating the table of contents. If linking a library
9508 # or program results in "error TOC overflow" add -mminimal-toc to
9509 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9510 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9511
9512 archive_cmds=''
9513 hardcode_direct=yes
9514 hardcode_direct_absolute=yes
9515 hardcode_libdir_separator=':'
9516 link_all_deplibs=yes
9517 file_list_spec='${wl}-f,'
9518
9519 if test "$GCC" = yes; then
9520 case $host_os in aix4.[012]|aix4.[012].*)
9521 # We only want to do this on AIX 4.2 and lower, the check
9522 # below for broken collect2 doesn't work under 4.3+
9523 collect2name=`${CC} -print-prog-name=collect2`
9524 if test -f "$collect2name" &&
9525 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9526 then
9527 # We have reworked collect2
9528 :
9529 else
9530 # We have old collect2
9531 hardcode_direct=unsupported
9532 # It fails to find uninstalled libraries when the uninstalled
9533 # path is not listed in the libpath. Setting hardcode_minus_L
9534 # to unsupported forces relinking
9535 hardcode_minus_L=yes
9536 hardcode_libdir_flag_spec='-L$libdir'
9537 hardcode_libdir_separator=
9538 fi
9539 ;;
9540 esac
9541 shared_flag='-shared'
9542 if test "$aix_use_runtimelinking" = yes; then
9543 shared_flag="$shared_flag "'${wl}-G'
9544 fi
9545 else
9546 # not using gcc
9547 if test "$host_cpu" = ia64; then
9548 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9549 # chokes on -Wl,-G. The following line is correct:
9550 shared_flag='-G'
9551 else
9552 if test "$aix_use_runtimelinking" = yes; then
9553 shared_flag='${wl}-G'
9554 else
9555 shared_flag='${wl}-bM:SRE'
9556 fi
9557 fi
9558 fi
9559
9560 export_dynamic_flag_spec='${wl}-bexpall'
9561 # It seems that -bexpall does not export symbols beginning with
9562 # underscore (_), so it is better to generate a list of symbols to export.
9563 always_export_symbols=yes
9564 if test "$aix_use_runtimelinking" = yes; then
9565 # Warning - without using the other runtime loading flags (-brtl),
9566 # -berok will link without error, but may produce a broken library.
9567 allow_undefined_flag='-berok'
9568 # Determine the default libpath from the value encoded in an
9569 # empty executable.
9570 if test x$gcc_no_link = xyes; then
9571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9572 fi
9573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9574 /* end confdefs.h. */
9575
9576 int
9577 main ()
9578 {
9579
9580 ;
9581 return 0;
9582 }
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585
9586 lt_aix_libpath_sed='
9587 /Import File Strings/,/^$/ {
9588 /^0/ {
9589 s/^0 *\(.*\)$/\1/
9590 p
9591 }
9592 }'
9593 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9594 # Check for a 64-bit object if we didn't find anything.
9595 if test -z "$aix_libpath"; then
9596 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9597 fi
9598 fi
9599 rm -f core conftest.err conftest.$ac_objext \
9600 conftest$ac_exeext conftest.$ac_ext
9601 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9602
9603 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9604 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"
9605 else
9606 if test "$host_cpu" = ia64; then
9607 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9608 allow_undefined_flag="-z nodefs"
9609 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"
9610 else
9611 # Determine the default libpath from the value encoded in an
9612 # empty executable.
9613 if test x$gcc_no_link = xyes; then
9614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9615 fi
9616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9617 /* end confdefs.h. */
9618
9619 int
9620 main ()
9621 {
9622
9623 ;
9624 return 0;
9625 }
9626 _ACEOF
9627 if ac_fn_c_try_link "$LINENO"; then :
9628
9629 lt_aix_libpath_sed='
9630 /Import File Strings/,/^$/ {
9631 /^0/ {
9632 s/^0 *\(.*\)$/\1/
9633 p
9634 }
9635 }'
9636 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9637 # Check for a 64-bit object if we didn't find anything.
9638 if test -z "$aix_libpath"; then
9639 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9640 fi
9641 fi
9642 rm -f core conftest.err conftest.$ac_objext \
9643 conftest$ac_exeext conftest.$ac_ext
9644 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9645
9646 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9647 # Warning - without using the other run time loading flags,
9648 # -berok will link without error, but may produce a broken library.
9649 no_undefined_flag=' ${wl}-bernotok'
9650 allow_undefined_flag=' ${wl}-berok'
9651 if test "$with_gnu_ld" = yes; then
9652 # We only use this code for GNU lds that support --whole-archive.
9653 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9654 else
9655 # Exported symbols can be pulled into shared objects from archives
9656 whole_archive_flag_spec='$convenience'
9657 fi
9658 archive_cmds_need_lc=yes
9659 # This is similar to how AIX traditionally builds its shared libraries.
9660 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'
9661 fi
9662 fi
9663 ;;
9664
9665 amigaos*)
9666 case $host_cpu in
9667 powerpc)
9668 # see comment about AmigaOS4 .so support
9669 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9670 archive_expsym_cmds=''
9671 ;;
9672 m68k)
9673 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)'
9674 hardcode_libdir_flag_spec='-L$libdir'
9675 hardcode_minus_L=yes
9676 ;;
9677 esac
9678 ;;
9679
9680 bsdi[45]*)
9681 export_dynamic_flag_spec=-rdynamic
9682 ;;
9683
9684 cygwin* | mingw* | pw32* | cegcc*)
9685 # When not using gcc, we currently assume that we are using
9686 # Microsoft Visual C++.
9687 # hardcode_libdir_flag_spec is actually meaningless, as there is
9688 # no search path for DLLs.
9689 hardcode_libdir_flag_spec=' '
9690 allow_undefined_flag=unsupported
9691 # Tell ltmain to make .lib files, not .a files.
9692 libext=lib
9693 # Tell ltmain to make .dll files, not .so files.
9694 shrext_cmds=".dll"
9695 # FIXME: Setting linknames here is a bad hack.
9696 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9697 # The linker will automatically build a .lib file if we build a DLL.
9698 old_archive_from_new_cmds='true'
9699 # FIXME: Should let the user specify the lib program.
9700 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9701 fix_srcfile_path='`cygpath -w "$srcfile"`'
9702 enable_shared_with_static_runtimes=yes
9703 ;;
9704
9705 darwin* | rhapsody*)
9706
9707
9708 archive_cmds_need_lc=no
9709 hardcode_direct=no
9710 hardcode_automatic=yes
9711 hardcode_shlibpath_var=unsupported
9712 if test "$lt_cv_ld_force_load" = "yes"; then
9713 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\"`'
9714 else
9715 whole_archive_flag_spec=''
9716 fi
9717 link_all_deplibs=yes
9718 allow_undefined_flag="$_lt_dar_allow_undefined"
9719 case $cc_basename in
9720 ifort*) _lt_dar_can_shared=yes ;;
9721 *) _lt_dar_can_shared=$GCC ;;
9722 esac
9723 if test "$_lt_dar_can_shared" = "yes"; then
9724 output_verbose_link_cmd=func_echo_all
9725 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9726 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9727 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}"
9728 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}"
9729
9730 else
9731 ld_shlibs=no
9732 fi
9733
9734 ;;
9735
9736 dgux*)
9737 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9738 hardcode_libdir_flag_spec='-L$libdir'
9739 hardcode_shlibpath_var=no
9740 ;;
9741
9742 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9743 # support. Future versions do this automatically, but an explicit c++rt0.o
9744 # does not break anything, and helps significantly (at the cost of a little
9745 # extra space).
9746 freebsd2.2*)
9747 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9748 hardcode_libdir_flag_spec='-R$libdir'
9749 hardcode_direct=yes
9750 hardcode_shlibpath_var=no
9751 ;;
9752
9753 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9754 freebsd2.*)
9755 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9756 hardcode_direct=yes
9757 hardcode_minus_L=yes
9758 hardcode_shlibpath_var=no
9759 ;;
9760
9761 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9762 freebsd* | dragonfly*)
9763 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9764 hardcode_libdir_flag_spec='-R$libdir'
9765 hardcode_direct=yes
9766 hardcode_shlibpath_var=no
9767 ;;
9768
9769 hpux9*)
9770 if test "$GCC" = yes; then
9771 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'
9772 else
9773 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'
9774 fi
9775 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9776 hardcode_libdir_separator=:
9777 hardcode_direct=yes
9778
9779 # hardcode_minus_L: Not really in the search PATH,
9780 # but as the default location of the library.
9781 hardcode_minus_L=yes
9782 export_dynamic_flag_spec='${wl}-E'
9783 ;;
9784
9785 hpux10*)
9786 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9787 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9788 else
9789 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9790 fi
9791 if test "$with_gnu_ld" = no; then
9792 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9793 hardcode_libdir_flag_spec_ld='+b $libdir'
9794 hardcode_libdir_separator=:
9795 hardcode_direct=yes
9796 hardcode_direct_absolute=yes
9797 export_dynamic_flag_spec='${wl}-E'
9798 # hardcode_minus_L: Not really in the search PATH,
9799 # but as the default location of the library.
9800 hardcode_minus_L=yes
9801 fi
9802 ;;
9803
9804 hpux11*)
9805 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9806 case $host_cpu in
9807 hppa*64*)
9808 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9809 ;;
9810 ia64*)
9811 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9812 ;;
9813 *)
9814 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9815 ;;
9816 esac
9817 else
9818 case $host_cpu in
9819 hppa*64*)
9820 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9821 ;;
9822 ia64*)
9823 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9824 ;;
9825 *)
9826
9827 # Older versions of the 11.00 compiler do not understand -b yet
9828 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9830 $as_echo_n "checking if $CC understands -b... " >&6; }
9831 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9832 $as_echo_n "(cached) " >&6
9833 else
9834 lt_cv_prog_compiler__b=no
9835 save_LDFLAGS="$LDFLAGS"
9836 LDFLAGS="$LDFLAGS -b"
9837 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9838 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9839 # The linker can only warn and ignore the option if not recognized
9840 # So say no if there are warnings
9841 if test -s conftest.err; then
9842 # Append any errors to the config.log.
9843 cat conftest.err 1>&5
9844 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9845 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9846 if diff conftest.exp conftest.er2 >/dev/null; then
9847 lt_cv_prog_compiler__b=yes
9848 fi
9849 else
9850 lt_cv_prog_compiler__b=yes
9851 fi
9852 fi
9853 $RM -r conftest*
9854 LDFLAGS="$save_LDFLAGS"
9855
9856 fi
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9858 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9859
9860 if test x"$lt_cv_prog_compiler__b" = xyes; then
9861 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9862 else
9863 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9864 fi
9865
9866 ;;
9867 esac
9868 fi
9869 if test "$with_gnu_ld" = no; then
9870 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9871 hardcode_libdir_separator=:
9872
9873 case $host_cpu in
9874 hppa*64*|ia64*)
9875 hardcode_direct=no
9876 hardcode_shlibpath_var=no
9877 ;;
9878 *)
9879 hardcode_direct=yes
9880 hardcode_direct_absolute=yes
9881 export_dynamic_flag_spec='${wl}-E'
9882
9883 # hardcode_minus_L: Not really in the search PATH,
9884 # but as the default location of the library.
9885 hardcode_minus_L=yes
9886 ;;
9887 esac
9888 fi
9889 ;;
9890
9891 irix5* | irix6* | nonstopux*)
9892 if test "$GCC" = yes; then
9893 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'
9894 # Try to use the -exported_symbol ld option, if it does not
9895 # work, assume that -exports_file does not work either and
9896 # implicitly export all symbols.
9897 save_LDFLAGS="$LDFLAGS"
9898 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9899 if test x$gcc_no_link = xyes; then
9900 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9901 fi
9902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9903 /* end confdefs.h. */
9904 int foo(void) {}
9905 _ACEOF
9906 if ac_fn_c_try_link "$LINENO"; then :
9907 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'
9908
9909 fi
9910 rm -f core conftest.err conftest.$ac_objext \
9911 conftest$ac_exeext conftest.$ac_ext
9912 LDFLAGS="$save_LDFLAGS"
9913 else
9914 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'
9915 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'
9916 fi
9917 archive_cmds_need_lc='no'
9918 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9919 hardcode_libdir_separator=:
9920 inherit_rpath=yes
9921 link_all_deplibs=yes
9922 ;;
9923
9924 netbsd*)
9925 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9926 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9927 else
9928 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9929 fi
9930 hardcode_libdir_flag_spec='-R$libdir'
9931 hardcode_direct=yes
9932 hardcode_shlibpath_var=no
9933 ;;
9934
9935 newsos6)
9936 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9937 hardcode_direct=yes
9938 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9939 hardcode_libdir_separator=:
9940 hardcode_shlibpath_var=no
9941 ;;
9942
9943 *nto* | *qnx*)
9944 ;;
9945
9946 openbsd*)
9947 if test -f /usr/libexec/ld.so; then
9948 hardcode_direct=yes
9949 hardcode_shlibpath_var=no
9950 hardcode_direct_absolute=yes
9951 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9952 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9953 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9954 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9955 export_dynamic_flag_spec='${wl}-E'
9956 else
9957 case $host_os in
9958 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9959 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9960 hardcode_libdir_flag_spec='-R$libdir'
9961 ;;
9962 *)
9963 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9964 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9965 ;;
9966 esac
9967 fi
9968 else
9969 ld_shlibs=no
9970 fi
9971 ;;
9972
9973 os2*)
9974 hardcode_libdir_flag_spec='-L$libdir'
9975 hardcode_minus_L=yes
9976 allow_undefined_flag=unsupported
9977 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'
9978 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9979 ;;
9980
9981 osf3*)
9982 if test "$GCC" = yes; then
9983 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9984 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'
9985 else
9986 allow_undefined_flag=' -expect_unresolved \*'
9987 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'
9988 fi
9989 archive_cmds_need_lc='no'
9990 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9991 hardcode_libdir_separator=:
9992 ;;
9993
9994 osf4* | osf5*) # as osf3* with the addition of -msym flag
9995 if test "$GCC" = yes; then
9996 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9997 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'
9998 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9999 else
10000 allow_undefined_flag=' -expect_unresolved \*'
10001 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'
10002 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~
10003 $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'
10004
10005 # Both c and cxx compiler support -rpath directly
10006 hardcode_libdir_flag_spec='-rpath $libdir'
10007 fi
10008 archive_cmds_need_lc='no'
10009 hardcode_libdir_separator=:
10010 ;;
10011
10012 solaris*)
10013 no_undefined_flag=' -z defs'
10014 if test "$GCC" = yes; then
10015 wlarc='${wl}'
10016 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10017 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10018 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10019 else
10020 case `$CC -V 2>&1` in
10021 *"Compilers 5.0"*)
10022 wlarc=''
10023 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10024 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10025 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10026 ;;
10027 *)
10028 wlarc='${wl}'
10029 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10030 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10031 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10032 ;;
10033 esac
10034 fi
10035 hardcode_libdir_flag_spec='-R$libdir'
10036 hardcode_shlibpath_var=no
10037 case $host_os in
10038 solaris2.[0-5] | solaris2.[0-5].*) ;;
10039 *)
10040 # The compiler driver will combine and reorder linker options,
10041 # but understands `-z linker_flag'. GCC discards it without `$wl',
10042 # but is careful enough not to reorder.
10043 # Supported since Solaris 2.6 (maybe 2.5.1?)
10044 if test "$GCC" = yes; then
10045 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10046 else
10047 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10048 fi
10049 ;;
10050 esac
10051 link_all_deplibs=yes
10052 ;;
10053
10054 sunos4*)
10055 if test "x$host_vendor" = xsequent; then
10056 # Use $CC to link under sequent, because it throws in some extra .o
10057 # files that make .init and .fini sections work.
10058 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10059 else
10060 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10061 fi
10062 hardcode_libdir_flag_spec='-L$libdir'
10063 hardcode_direct=yes
10064 hardcode_minus_L=yes
10065 hardcode_shlibpath_var=no
10066 ;;
10067
10068 sysv4)
10069 case $host_vendor in
10070 sni)
10071 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10072 hardcode_direct=yes # is this really true???
10073 ;;
10074 siemens)
10075 ## LD is ld it makes a PLAMLIB
10076 ## CC just makes a GrossModule.
10077 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10078 reload_cmds='$CC -r -o $output$reload_objs'
10079 hardcode_direct=no
10080 ;;
10081 motorola)
10082 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10084 ;;
10085 esac
10086 runpath_var='LD_RUN_PATH'
10087 hardcode_shlibpath_var=no
10088 ;;
10089
10090 sysv4.3*)
10091 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10092 hardcode_shlibpath_var=no
10093 export_dynamic_flag_spec='-Bexport'
10094 ;;
10095
10096 sysv4*MP*)
10097 if test -d /usr/nec; then
10098 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10099 hardcode_shlibpath_var=no
10100 runpath_var=LD_RUN_PATH
10101 hardcode_runpath_var=yes
10102 ld_shlibs=yes
10103 fi
10104 ;;
10105
10106 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10107 no_undefined_flag='${wl}-z,text'
10108 archive_cmds_need_lc=no
10109 hardcode_shlibpath_var=no
10110 runpath_var='LD_RUN_PATH'
10111
10112 if test "$GCC" = yes; then
10113 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10114 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10115 else
10116 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10118 fi
10119 ;;
10120
10121 sysv5* | sco3.2v5* | sco5v6*)
10122 # Note: We can NOT use -z defs as we might desire, because we do not
10123 # link with -lc, and that would cause any symbols used from libc to
10124 # always be unresolved, which means just about no library would
10125 # ever link correctly. If we're not using GNU ld we use -z text
10126 # though, which does catch some bad symbols but isn't as heavy-handed
10127 # as -z defs.
10128 no_undefined_flag='${wl}-z,text'
10129 allow_undefined_flag='${wl}-z,nodefs'
10130 archive_cmds_need_lc=no
10131 hardcode_shlibpath_var=no
10132 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10133 hardcode_libdir_separator=':'
10134 link_all_deplibs=yes
10135 export_dynamic_flag_spec='${wl}-Bexport'
10136 runpath_var='LD_RUN_PATH'
10137
10138 if test "$GCC" = yes; then
10139 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10140 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10141 else
10142 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10143 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10144 fi
10145 ;;
10146
10147 uts4*)
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_libdir_flag_spec='-L$libdir'
10150 hardcode_shlibpath_var=no
10151 ;;
10152
10153 *)
10154 ld_shlibs=no
10155 ;;
10156 esac
10157
10158 if test x$host_vendor = xsni; then
10159 case $host in
10160 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10161 export_dynamic_flag_spec='${wl}-Blargedynsym'
10162 ;;
10163 esac
10164 fi
10165 fi
10166
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10168 $as_echo "$ld_shlibs" >&6; }
10169 test "$ld_shlibs" = no && can_build_shared=no
10170
10171 with_gnu_ld=$with_gnu_ld
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187 #
10188 # Do we need to explicitly link libc?
10189 #
10190 case "x$archive_cmds_need_lc" in
10191 x|xyes)
10192 # Assume -lc should be added
10193 archive_cmds_need_lc=yes
10194
10195 if test "$enable_shared" = yes && test "$GCC" = yes; then
10196 case $archive_cmds in
10197 *'~'*)
10198 # FIXME: we may have to deal with multi-command sequences.
10199 ;;
10200 '$CC '*)
10201 # Test whether the compiler implicitly links with -lc since on some
10202 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10203 # to ld, don't add -lc before -lgcc.
10204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10205 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10206 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10207 $as_echo_n "(cached) " >&6
10208 else
10209 $RM conftest*
10210 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10211
10212 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10213 (eval $ac_compile) 2>&5
10214 ac_status=$?
10215 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10216 test $ac_status = 0; } 2>conftest.err; then
10217 soname=conftest
10218 lib=conftest
10219 libobjs=conftest.$ac_objext
10220 deplibs=
10221 wl=$lt_prog_compiler_wl
10222 pic_flag=$lt_prog_compiler_pic
10223 compiler_flags=-v
10224 linker_flags=-v
10225 verstring=
10226 output_objdir=.
10227 libname=conftest
10228 lt_save_allow_undefined_flag=$allow_undefined_flag
10229 allow_undefined_flag=
10230 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10231 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10232 ac_status=$?
10233 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10234 test $ac_status = 0; }
10235 then
10236 lt_cv_archive_cmds_need_lc=no
10237 else
10238 lt_cv_archive_cmds_need_lc=yes
10239 fi
10240 allow_undefined_flag=$lt_save_allow_undefined_flag
10241 else
10242 cat conftest.err 1>&5
10243 fi
10244 $RM conftest*
10245
10246 fi
10247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10248 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10249 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10250 ;;
10251 esac
10252 fi
10253 ;;
10254 esac
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
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10413 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10414
10415 if test "$GCC" = yes; then
10416 case $host_os in
10417 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10418 *) lt_awk_arg="/^libraries:/" ;;
10419 esac
10420 case $host_os in
10421 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10422 *) lt_sed_strip_eq="s,=/,/,g" ;;
10423 esac
10424 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10425 case $lt_search_path_spec in
10426 *\;*)
10427 # if the path contains ";" then we assume it to be the separator
10428 # otherwise default to the standard path separator (i.e. ":") - it is
10429 # assumed that no part of a normal pathname contains ";" but that should
10430 # okay in the real world where ";" in dirpaths is itself problematic.
10431 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10432 ;;
10433 *)
10434 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10435 ;;
10436 esac
10437 # Ok, now we have the path, separated by spaces, we can step through it
10438 # and add multilib dir if necessary.
10439 lt_tmp_lt_search_path_spec=
10440 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10441 for lt_sys_path in $lt_search_path_spec; do
10442 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10443 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10444 else
10445 test -d "$lt_sys_path" && \
10446 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10447 fi
10448 done
10449 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10450 BEGIN {RS=" "; FS="/|\n";} {
10451 lt_foo="";
10452 lt_count=0;
10453 for (lt_i = NF; lt_i > 0; lt_i--) {
10454 if ($lt_i != "" && $lt_i != ".") {
10455 if ($lt_i == "..") {
10456 lt_count++;
10457 } else {
10458 if (lt_count == 0) {
10459 lt_foo="/" $lt_i lt_foo;
10460 } else {
10461 lt_count--;
10462 }
10463 }
10464 }
10465 }
10466 if (lt_foo != "") { lt_freq[lt_foo]++; }
10467 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10468 }'`
10469 # AWK program above erroneously prepends '/' to C:/dos/paths
10470 # for these hosts.
10471 case $host_os in
10472 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10473 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10474 esac
10475 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10476 else
10477 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10478 fi
10479 library_names_spec=
10480 libname_spec='lib$name'
10481 soname_spec=
10482 shrext_cmds=".so"
10483 postinstall_cmds=
10484 postuninstall_cmds=
10485 finish_cmds=
10486 finish_eval=
10487 shlibpath_var=
10488 shlibpath_overrides_runpath=unknown
10489 version_type=none
10490 dynamic_linker="$host_os ld.so"
10491 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10492 need_lib_prefix=unknown
10493 hardcode_into_libs=no
10494
10495 # when you set need_version to no, make sure it does not cause -set_version
10496 # flags to be left without arguments
10497 need_version=unknown
10498
10499 case $host_os in
10500 aix3*)
10501 version_type=linux
10502 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10503 shlibpath_var=LIBPATH
10504
10505 # AIX 3 has no versioning support, so we append a major version to the name.
10506 soname_spec='${libname}${release}${shared_ext}$major'
10507 ;;
10508
10509 aix[4-9]*)
10510 version_type=linux
10511 need_lib_prefix=no
10512 need_version=no
10513 hardcode_into_libs=yes
10514 if test "$host_cpu" = ia64; then
10515 # AIX 5 supports IA64
10516 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10517 shlibpath_var=LD_LIBRARY_PATH
10518 else
10519 # With GCC up to 2.95.x, collect2 would create an import file
10520 # for dependence libraries. The import file would start with
10521 # the line `#! .'. This would cause the generated library to
10522 # depend on `.', always an invalid library. This was fixed in
10523 # development snapshots of GCC prior to 3.0.
10524 case $host_os in
10525 aix4 | aix4.[01] | aix4.[01].*)
10526 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10527 echo ' yes '
10528 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10529 :
10530 else
10531 can_build_shared=no
10532 fi
10533 ;;
10534 esac
10535 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10536 # soname into executable. Probably we can add versioning support to
10537 # collect2, so additional links can be useful in future.
10538 if test "$aix_use_runtimelinking" = yes; then
10539 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10540 # instead of lib<name>.a to let people know that these are not
10541 # typical AIX shared libraries.
10542 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10543 else
10544 # We preserve .a as extension for shared libraries through AIX4.2
10545 # and later when we are not doing run time linking.
10546 library_names_spec='${libname}${release}.a $libname.a'
10547 soname_spec='${libname}${release}${shared_ext}$major'
10548 fi
10549 shlibpath_var=LIBPATH
10550 fi
10551 ;;
10552
10553 amigaos*)
10554 case $host_cpu in
10555 powerpc)
10556 # Since July 2007 AmigaOS4 officially supports .so libraries.
10557 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10558 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10559 ;;
10560 m68k)
10561 library_names_spec='$libname.ixlibrary $libname.a'
10562 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10563 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'
10564 ;;
10565 esac
10566 ;;
10567
10568 beos*)
10569 library_names_spec='${libname}${shared_ext}'
10570 dynamic_linker="$host_os ld.so"
10571 shlibpath_var=LIBRARY_PATH
10572 ;;
10573
10574 bsdi[45]*)
10575 version_type=linux
10576 need_version=no
10577 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10578 soname_spec='${libname}${release}${shared_ext}$major'
10579 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10580 shlibpath_var=LD_LIBRARY_PATH
10581 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10582 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10583 # the default ld.so.conf also contains /usr/contrib/lib and
10584 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10585 # libtool to hard-code these into programs
10586 ;;
10587
10588 cygwin* | mingw* | pw32* | cegcc*)
10589 version_type=windows
10590 shrext_cmds=".dll"
10591 need_version=no
10592 need_lib_prefix=no
10593
10594 case $GCC,$host_os in
10595 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10596 library_names_spec='$libname.dll.a'
10597 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10598 postinstall_cmds='base_file=`basename \${file}`~
10599 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10600 dldir=$destdir/`dirname \$dlpath`~
10601 test -d \$dldir || mkdir -p \$dldir~
10602 $install_prog $dir/$dlname \$dldir/$dlname~
10603 chmod a+x \$dldir/$dlname~
10604 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10605 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10606 fi'
10607 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10608 dlpath=$dir/\$dldll~
10609 $RM \$dlpath'
10610 shlibpath_overrides_runpath=yes
10611
10612 case $host_os in
10613 cygwin*)
10614 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10615 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10616
10617 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10618 ;;
10619 mingw* | cegcc*)
10620 # MinGW DLLs use traditional 'lib' prefix
10621 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10622 ;;
10623 pw32*)
10624 # pw32 DLLs use 'pw' prefix rather than 'lib'
10625 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10626 ;;
10627 esac
10628 ;;
10629
10630 *)
10631 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10632 ;;
10633 esac
10634 dynamic_linker='Win32 ld.exe'
10635 # FIXME: first we should search . and the directory the executable is in
10636 shlibpath_var=PATH
10637 ;;
10638
10639 darwin* | rhapsody*)
10640 dynamic_linker="$host_os dyld"
10641 version_type=darwin
10642 need_lib_prefix=no
10643 need_version=no
10644 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10645 soname_spec='${libname}${release}${major}$shared_ext'
10646 shlibpath_overrides_runpath=yes
10647 shlibpath_var=DYLD_LIBRARY_PATH
10648 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10649
10650 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10651 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10652 ;;
10653
10654 dgux*)
10655 version_type=linux
10656 need_lib_prefix=no
10657 need_version=no
10658 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10659 soname_spec='${libname}${release}${shared_ext}$major'
10660 shlibpath_var=LD_LIBRARY_PATH
10661 ;;
10662
10663 freebsd* | dragonfly*)
10664 # DragonFly does not have aout. When/if they implement a new
10665 # versioning mechanism, adjust this.
10666 if test -x /usr/bin/objformat; then
10667 objformat=`/usr/bin/objformat`
10668 else
10669 case $host_os in
10670 freebsd[23].*) objformat=aout ;;
10671 *) objformat=elf ;;
10672 esac
10673 fi
10674 version_type=freebsd-$objformat
10675 case $version_type in
10676 freebsd-elf*)
10677 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10678 need_version=no
10679 need_lib_prefix=no
10680 ;;
10681 freebsd-*)
10682 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10683 need_version=yes
10684 ;;
10685 esac
10686 shlibpath_var=LD_LIBRARY_PATH
10687 case $host_os in
10688 freebsd2.*)
10689 shlibpath_overrides_runpath=yes
10690 ;;
10691 freebsd3.[01]* | freebsdelf3.[01]*)
10692 shlibpath_overrides_runpath=yes
10693 hardcode_into_libs=yes
10694 ;;
10695 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10696 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10697 shlibpath_overrides_runpath=no
10698 hardcode_into_libs=yes
10699 ;;
10700 *) # from 4.6 on, and DragonFly
10701 shlibpath_overrides_runpath=yes
10702 hardcode_into_libs=yes
10703 ;;
10704 esac
10705 ;;
10706
10707 gnu*)
10708 version_type=linux
10709 need_lib_prefix=no
10710 need_version=no
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=LD_LIBRARY_PATH
10714 hardcode_into_libs=yes
10715 ;;
10716
10717 haiku*)
10718 version_type=linux
10719 need_lib_prefix=no
10720 need_version=no
10721 dynamic_linker="$host_os runtime_loader"
10722 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10723 soname_spec='${libname}${release}${shared_ext}$major'
10724 shlibpath_var=LIBRARY_PATH
10725 shlibpath_overrides_runpath=yes
10726 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10727 hardcode_into_libs=yes
10728 ;;
10729
10730 hpux9* | hpux10* | hpux11*)
10731 # Give a soname corresponding to the major version so that dld.sl refuses to
10732 # link against other versions.
10733 version_type=sunos
10734 need_lib_prefix=no
10735 need_version=no
10736 case $host_cpu in
10737 ia64*)
10738 shrext_cmds='.so'
10739 hardcode_into_libs=yes
10740 dynamic_linker="$host_os dld.so"
10741 shlibpath_var=LD_LIBRARY_PATH
10742 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10744 soname_spec='${libname}${release}${shared_ext}$major'
10745 if test "X$HPUX_IA64_MODE" = X32; then
10746 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10747 else
10748 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10749 fi
10750 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10751 ;;
10752 hppa*64*)
10753 shrext_cmds='.sl'
10754 hardcode_into_libs=yes
10755 dynamic_linker="$host_os dld.sl"
10756 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10757 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10758 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10759 soname_spec='${libname}${release}${shared_ext}$major'
10760 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10761 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10762 ;;
10763 *)
10764 shrext_cmds='.sl'
10765 dynamic_linker="$host_os dld.sl"
10766 shlibpath_var=SHLIB_PATH
10767 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 ;;
10771 esac
10772 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10773 postinstall_cmds='chmod 555 $lib'
10774 # or fails outright, so override atomically:
10775 install_override_mode=555
10776 ;;
10777
10778 interix[3-9]*)
10779 version_type=linux
10780 need_lib_prefix=no
10781 need_version=no
10782 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10783 soname_spec='${libname}${release}${shared_ext}$major'
10784 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10785 shlibpath_var=LD_LIBRARY_PATH
10786 shlibpath_overrides_runpath=no
10787 hardcode_into_libs=yes
10788 ;;
10789
10790 irix5* | irix6* | nonstopux*)
10791 case $host_os in
10792 nonstopux*) version_type=nonstopux ;;
10793 *)
10794 if test "$lt_cv_prog_gnu_ld" = yes; then
10795 version_type=linux
10796 else
10797 version_type=irix
10798 fi ;;
10799 esac
10800 need_lib_prefix=no
10801 need_version=no
10802 soname_spec='${libname}${release}${shared_ext}$major'
10803 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10804 case $host_os in
10805 irix5* | nonstopux*)
10806 libsuff= shlibsuff=
10807 ;;
10808 *)
10809 case $LD in # libtool.m4 will add one of these switches to LD
10810 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10811 libsuff= shlibsuff= libmagic=32-bit;;
10812 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10813 libsuff=32 shlibsuff=N32 libmagic=N32;;
10814 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10815 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10816 *) libsuff= shlibsuff= libmagic=never-match;;
10817 esac
10818 ;;
10819 esac
10820 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10821 shlibpath_overrides_runpath=no
10822 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10823 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10824 hardcode_into_libs=yes
10825 ;;
10826
10827 # No shared lib support for Linux oldld, aout, or coff.
10828 linux*oldld* | linux*aout* | linux*coff*)
10829 dynamic_linker=no
10830 ;;
10831
10832 # This must be Linux ELF.
10833 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10834 version_type=linux
10835 need_lib_prefix=no
10836 need_version=no
10837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10838 soname_spec='${libname}${release}${shared_ext}$major'
10839 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10840 shlibpath_var=LD_LIBRARY_PATH
10841 shlibpath_overrides_runpath=no
10842
10843 # Some binutils ld are patched to set DT_RUNPATH
10844 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10845 $as_echo_n "(cached) " >&6
10846 else
10847 lt_cv_shlibpath_overrides_runpath=no
10848 save_LDFLAGS=$LDFLAGS
10849 save_libdir=$libdir
10850 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10851 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10852 if test x$gcc_no_link = xyes; then
10853 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10854 fi
10855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10856 /* end confdefs.h. */
10857
10858 int
10859 main ()
10860 {
10861
10862 ;
10863 return 0;
10864 }
10865 _ACEOF
10866 if ac_fn_c_try_link "$LINENO"; then :
10867 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10868 lt_cv_shlibpath_overrides_runpath=yes
10869 fi
10870 fi
10871 rm -f core conftest.err conftest.$ac_objext \
10872 conftest$ac_exeext conftest.$ac_ext
10873 LDFLAGS=$save_LDFLAGS
10874 libdir=$save_libdir
10875
10876 fi
10877
10878 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10879
10880 # This implies no fast_install, which is unacceptable.
10881 # Some rework will be needed to allow for fast_install
10882 # before this can be enabled.
10883 hardcode_into_libs=yes
10884
10885 # Append ld.so.conf contents to the search path
10886 if test -f /etc/ld.so.conf; then
10887 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' ' '`
10888 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10889 fi
10890
10891 # We used to test for /lib/ld.so.1 and disable shared libraries on
10892 # powerpc, because MkLinux only supported shared libraries with the
10893 # GNU dynamic linker. Since this was broken with cross compilers,
10894 # most powerpc-linux boxes support dynamic linking these days and
10895 # people can always --disable-shared, the test was removed, and we
10896 # assume the GNU/Linux dynamic linker is in use.
10897 dynamic_linker='GNU/Linux ld.so'
10898 ;;
10899
10900 netbsd*)
10901 version_type=sunos
10902 need_lib_prefix=no
10903 need_version=no
10904 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10905 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10906 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10907 dynamic_linker='NetBSD (a.out) ld.so'
10908 else
10909 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10910 soname_spec='${libname}${release}${shared_ext}$major'
10911 dynamic_linker='NetBSD ld.elf_so'
10912 fi
10913 shlibpath_var=LD_LIBRARY_PATH
10914 shlibpath_overrides_runpath=yes
10915 hardcode_into_libs=yes
10916 ;;
10917
10918 newsos6)
10919 version_type=linux
10920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10921 shlibpath_var=LD_LIBRARY_PATH
10922 shlibpath_overrides_runpath=yes
10923 ;;
10924
10925 *nto* | *qnx*)
10926 version_type=qnx
10927 need_lib_prefix=no
10928 need_version=no
10929 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10930 soname_spec='${libname}${release}${shared_ext}$major'
10931 shlibpath_var=LD_LIBRARY_PATH
10932 shlibpath_overrides_runpath=no
10933 hardcode_into_libs=yes
10934 dynamic_linker='ldqnx.so'
10935 ;;
10936
10937 openbsd*)
10938 version_type=sunos
10939 sys_lib_dlsearch_path_spec="/usr/lib"
10940 need_lib_prefix=no
10941 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10942 case $host_os in
10943 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10944 *) need_version=no ;;
10945 esac
10946 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10947 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10948 shlibpath_var=LD_LIBRARY_PATH
10949 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10950 case $host_os in
10951 openbsd2.[89] | openbsd2.[89].*)
10952 shlibpath_overrides_runpath=no
10953 ;;
10954 *)
10955 shlibpath_overrides_runpath=yes
10956 ;;
10957 esac
10958 else
10959 shlibpath_overrides_runpath=yes
10960 fi
10961 ;;
10962
10963 os2*)
10964 libname_spec='$name'
10965 shrext_cmds=".dll"
10966 need_lib_prefix=no
10967 library_names_spec='$libname${shared_ext} $libname.a'
10968 dynamic_linker='OS/2 ld.exe'
10969 shlibpath_var=LIBPATH
10970 ;;
10971
10972 osf3* | osf4* | osf5*)
10973 version_type=osf
10974 need_lib_prefix=no
10975 need_version=no
10976 soname_spec='${libname}${release}${shared_ext}$major'
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 shlibpath_var=LD_LIBRARY_PATH
10979 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10980 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10981 ;;
10982
10983 rdos*)
10984 dynamic_linker=no
10985 ;;
10986
10987 solaris*)
10988 version_type=linux
10989 need_lib_prefix=no
10990 need_version=no
10991 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10992 soname_spec='${libname}${release}${shared_ext}$major'
10993 shlibpath_var=LD_LIBRARY_PATH
10994 shlibpath_overrides_runpath=yes
10995 hardcode_into_libs=yes
10996 # ldd complains unless libraries are executable
10997 postinstall_cmds='chmod +x $lib'
10998 ;;
10999
11000 sunos4*)
11001 version_type=sunos
11002 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11003 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11004 shlibpath_var=LD_LIBRARY_PATH
11005 shlibpath_overrides_runpath=yes
11006 if test "$with_gnu_ld" = yes; then
11007 need_lib_prefix=no
11008 fi
11009 need_version=yes
11010 ;;
11011
11012 sysv4 | sysv4.3*)
11013 version_type=linux
11014 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11015 soname_spec='${libname}${release}${shared_ext}$major'
11016 shlibpath_var=LD_LIBRARY_PATH
11017 case $host_vendor in
11018 sni)
11019 shlibpath_overrides_runpath=no
11020 need_lib_prefix=no
11021 runpath_var=LD_RUN_PATH
11022 ;;
11023 siemens)
11024 need_lib_prefix=no
11025 ;;
11026 motorola)
11027 need_lib_prefix=no
11028 need_version=no
11029 shlibpath_overrides_runpath=no
11030 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11031 ;;
11032 esac
11033 ;;
11034
11035 sysv4*MP*)
11036 if test -d /usr/nec ;then
11037 version_type=linux
11038 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11039 soname_spec='$libname${shared_ext}.$major'
11040 shlibpath_var=LD_LIBRARY_PATH
11041 fi
11042 ;;
11043
11044 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11045 version_type=freebsd-elf
11046 need_lib_prefix=no
11047 need_version=no
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=yes
11052 hardcode_into_libs=yes
11053 if test "$with_gnu_ld" = yes; then
11054 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11055 else
11056 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11057 case $host_os in
11058 sco3.2v5*)
11059 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11060 ;;
11061 esac
11062 fi
11063 sys_lib_dlsearch_path_spec='/usr/lib'
11064 ;;
11065
11066 tpf*)
11067 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11068 version_type=linux
11069 need_lib_prefix=no
11070 need_version=no
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 shlibpath_var=LD_LIBRARY_PATH
11073 shlibpath_overrides_runpath=no
11074 hardcode_into_libs=yes
11075 ;;
11076
11077 uts4*)
11078 version_type=linux
11079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11080 soname_spec='${libname}${release}${shared_ext}$major'
11081 shlibpath_var=LD_LIBRARY_PATH
11082 ;;
11083
11084 *)
11085 dynamic_linker=no
11086 ;;
11087 esac
11088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11089 $as_echo "$dynamic_linker" >&6; }
11090 test "$dynamic_linker" = no && can_build_shared=no
11091
11092 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11093 if test "$GCC" = yes; then
11094 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11095 fi
11096
11097 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11098 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11099 fi
11100 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11101 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11102 fi
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
11185
11186
11187
11188
11189
11190
11191
11192
11193
11194
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11196 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11197 hardcode_action=
11198 if test -n "$hardcode_libdir_flag_spec" ||
11199 test -n "$runpath_var" ||
11200 test "X$hardcode_automatic" = "Xyes" ; then
11201
11202 # We can hardcode non-existent directories.
11203 if test "$hardcode_direct" != no &&
11204 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11205 # have to relink, otherwise we might link with an installed library
11206 # when we should be linking with a yet-to-be-installed one
11207 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11208 test "$hardcode_minus_L" != no; then
11209 # Linking always hardcodes the temporary library directory.
11210 hardcode_action=relink
11211 else
11212 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11213 hardcode_action=immediate
11214 fi
11215 else
11216 # We cannot hardcode anything, or else we can only hardcode existing
11217 # directories.
11218 hardcode_action=unsupported
11219 fi
11220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11221 $as_echo "$hardcode_action" >&6; }
11222
11223 if test "$hardcode_action" = relink ||
11224 test "$inherit_rpath" = yes; then
11225 # Fast installation is not supported
11226 enable_fast_install=no
11227 elif test "$shlibpath_overrides_runpath" = yes ||
11228 test "$enable_shared" = no; then
11229 # Fast installation is not necessary
11230 enable_fast_install=needless
11231 fi
11232
11233
11234
11235
11236
11237
11238 if test "x$enable_dlopen" != xyes; then
11239 enable_dlopen=unknown
11240 enable_dlopen_self=unknown
11241 enable_dlopen_self_static=unknown
11242 else
11243 lt_cv_dlopen=no
11244 lt_cv_dlopen_libs=
11245
11246 case $host_os in
11247 beos*)
11248 lt_cv_dlopen="load_add_on"
11249 lt_cv_dlopen_libs=
11250 lt_cv_dlopen_self=yes
11251 ;;
11252
11253 mingw* | pw32* | cegcc*)
11254 lt_cv_dlopen="LoadLibrary"
11255 lt_cv_dlopen_libs=
11256 ;;
11257
11258 cygwin*)
11259 lt_cv_dlopen="dlopen"
11260 lt_cv_dlopen_libs=
11261 ;;
11262
11263 darwin*)
11264 # if libdl is installed we need to link against it
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11266 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11267 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11268 $as_echo_n "(cached) " >&6
11269 else
11270 ac_check_lib_save_LIBS=$LIBS
11271 LIBS="-ldl $LIBS"
11272 if test x$gcc_no_link = xyes; then
11273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11274 fi
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11277
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char dlopen ();
11285 int
11286 main ()
11287 {
11288 return dlopen ();
11289 ;
11290 return 0;
11291 }
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 ac_cv_lib_dl_dlopen=yes
11295 else
11296 ac_cv_lib_dl_dlopen=no
11297 fi
11298 rm -f core conftest.err conftest.$ac_objext \
11299 conftest$ac_exeext conftest.$ac_ext
11300 LIBS=$ac_check_lib_save_LIBS
11301 fi
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11303 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11304 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11305 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11306 else
11307
11308 lt_cv_dlopen="dyld"
11309 lt_cv_dlopen_libs=
11310 lt_cv_dlopen_self=yes
11311
11312 fi
11313
11314 ;;
11315
11316 *)
11317 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11318 if test "x$ac_cv_func_shl_load" = x""yes; then :
11319 lt_cv_dlopen="shl_load"
11320 else
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11322 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11323 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11324 $as_echo_n "(cached) " >&6
11325 else
11326 ac_check_lib_save_LIBS=$LIBS
11327 LIBS="-ldld $LIBS"
11328 if test x$gcc_no_link = xyes; then
11329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11330 fi
11331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11332 /* end confdefs.h. */
11333
11334 /* Override any GCC internal prototype to avoid an error.
11335 Use char because int might match the return type of a GCC
11336 builtin and then its argument prototype would still apply. */
11337 #ifdef __cplusplus
11338 extern "C"
11339 #endif
11340 char shl_load ();
11341 int
11342 main ()
11343 {
11344 return shl_load ();
11345 ;
11346 return 0;
11347 }
11348 _ACEOF
11349 if ac_fn_c_try_link "$LINENO"; then :
11350 ac_cv_lib_dld_shl_load=yes
11351 else
11352 ac_cv_lib_dld_shl_load=no
11353 fi
11354 rm -f core conftest.err conftest.$ac_objext \
11355 conftest$ac_exeext conftest.$ac_ext
11356 LIBS=$ac_check_lib_save_LIBS
11357 fi
11358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11359 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11360 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11361 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11362 else
11363 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11364 if test "x$ac_cv_func_dlopen" = x""yes; then :
11365 lt_cv_dlopen="dlopen"
11366 else
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11368 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11369 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11370 $as_echo_n "(cached) " >&6
11371 else
11372 ac_check_lib_save_LIBS=$LIBS
11373 LIBS="-ldl $LIBS"
11374 if test x$gcc_no_link = xyes; then
11375 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11376 fi
11377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11378 /* end confdefs.h. */
11379
11380 /* Override any GCC internal prototype to avoid an error.
11381 Use char because int might match the return type of a GCC
11382 builtin and then its argument prototype would still apply. */
11383 #ifdef __cplusplus
11384 extern "C"
11385 #endif
11386 char dlopen ();
11387 int
11388 main ()
11389 {
11390 return dlopen ();
11391 ;
11392 return 0;
11393 }
11394 _ACEOF
11395 if ac_fn_c_try_link "$LINENO"; then :
11396 ac_cv_lib_dl_dlopen=yes
11397 else
11398 ac_cv_lib_dl_dlopen=no
11399 fi
11400 rm -f core conftest.err conftest.$ac_objext \
11401 conftest$ac_exeext conftest.$ac_ext
11402 LIBS=$ac_check_lib_save_LIBS
11403 fi
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11405 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11406 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11407 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11408 else
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11410 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11411 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11412 $as_echo_n "(cached) " >&6
11413 else
11414 ac_check_lib_save_LIBS=$LIBS
11415 LIBS="-lsvld $LIBS"
11416 if test x$gcc_no_link = xyes; then
11417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11418 fi
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11421
11422 /* Override any GCC internal prototype to avoid an error.
11423 Use char because int might match the return type of a GCC
11424 builtin and then its argument prototype would still apply. */
11425 #ifdef __cplusplus
11426 extern "C"
11427 #endif
11428 char dlopen ();
11429 int
11430 main ()
11431 {
11432 return dlopen ();
11433 ;
11434 return 0;
11435 }
11436 _ACEOF
11437 if ac_fn_c_try_link "$LINENO"; then :
11438 ac_cv_lib_svld_dlopen=yes
11439 else
11440 ac_cv_lib_svld_dlopen=no
11441 fi
11442 rm -f core conftest.err conftest.$ac_objext \
11443 conftest$ac_exeext conftest.$ac_ext
11444 LIBS=$ac_check_lib_save_LIBS
11445 fi
11446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11447 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11448 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11449 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11450 else
11451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11452 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11453 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11454 $as_echo_n "(cached) " >&6
11455 else
11456 ac_check_lib_save_LIBS=$LIBS
11457 LIBS="-ldld $LIBS"
11458 if test x$gcc_no_link = xyes; then
11459 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11460 fi
11461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11462 /* end confdefs.h. */
11463
11464 /* Override any GCC internal prototype to avoid an error.
11465 Use char because int might match the return type of a GCC
11466 builtin and then its argument prototype would still apply. */
11467 #ifdef __cplusplus
11468 extern "C"
11469 #endif
11470 char dld_link ();
11471 int
11472 main ()
11473 {
11474 return dld_link ();
11475 ;
11476 return 0;
11477 }
11478 _ACEOF
11479 if ac_fn_c_try_link "$LINENO"; then :
11480 ac_cv_lib_dld_dld_link=yes
11481 else
11482 ac_cv_lib_dld_dld_link=no
11483 fi
11484 rm -f core conftest.err conftest.$ac_objext \
11485 conftest$ac_exeext conftest.$ac_ext
11486 LIBS=$ac_check_lib_save_LIBS
11487 fi
11488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11489 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11490 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11491 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11492 fi
11493
11494
11495 fi
11496
11497
11498 fi
11499
11500
11501 fi
11502
11503
11504 fi
11505
11506
11507 fi
11508
11509 ;;
11510 esac
11511
11512 if test "x$lt_cv_dlopen" != xno; then
11513 enable_dlopen=yes
11514 else
11515 enable_dlopen=no
11516 fi
11517
11518 case $lt_cv_dlopen in
11519 dlopen)
11520 save_CPPFLAGS="$CPPFLAGS"
11521 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11522
11523 save_LDFLAGS="$LDFLAGS"
11524 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11525
11526 save_LIBS="$LIBS"
11527 LIBS="$lt_cv_dlopen_libs $LIBS"
11528
11529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11530 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11531 if test "${lt_cv_dlopen_self+set}" = set; then :
11532 $as_echo_n "(cached) " >&6
11533 else
11534 if test "$cross_compiling" = yes; then :
11535 lt_cv_dlopen_self=cross
11536 else
11537 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11538 lt_status=$lt_dlunknown
11539 cat > conftest.$ac_ext <<_LT_EOF
11540 #line 11540 "configure"
11541 #include "confdefs.h"
11542
11543 #if HAVE_DLFCN_H
11544 #include <dlfcn.h>
11545 #endif
11546
11547 #include <stdio.h>
11548
11549 #ifdef RTLD_GLOBAL
11550 # define LT_DLGLOBAL RTLD_GLOBAL
11551 #else
11552 # ifdef DL_GLOBAL
11553 # define LT_DLGLOBAL DL_GLOBAL
11554 # else
11555 # define LT_DLGLOBAL 0
11556 # endif
11557 #endif
11558
11559 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11560 find out it does not work in some platform. */
11561 #ifndef LT_DLLAZY_OR_NOW
11562 # ifdef RTLD_LAZY
11563 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11564 # else
11565 # ifdef DL_LAZY
11566 # define LT_DLLAZY_OR_NOW DL_LAZY
11567 # else
11568 # ifdef RTLD_NOW
11569 # define LT_DLLAZY_OR_NOW RTLD_NOW
11570 # else
11571 # ifdef DL_NOW
11572 # define LT_DLLAZY_OR_NOW DL_NOW
11573 # else
11574 # define LT_DLLAZY_OR_NOW 0
11575 # endif
11576 # endif
11577 # endif
11578 # endif
11579 #endif
11580
11581 /* When -fvisbility=hidden is used, assume the code has been annotated
11582 correspondingly for the symbols needed. */
11583 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11584 void fnord () __attribute__((visibility("default")));
11585 #endif
11586
11587 void fnord () { int i=42; }
11588 int main ()
11589 {
11590 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11591 int status = $lt_dlunknown;
11592
11593 if (self)
11594 {
11595 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11596 else
11597 {
11598 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11599 else puts (dlerror ());
11600 }
11601 /* dlclose (self); */
11602 }
11603 else
11604 puts (dlerror ());
11605
11606 return status;
11607 }
11608 _LT_EOF
11609 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11610 (eval $ac_link) 2>&5
11611 ac_status=$?
11612 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11613 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11614 (./conftest; exit; ) >&5 2>/dev/null
11615 lt_status=$?
11616 case x$lt_status in
11617 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11618 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11619 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11620 esac
11621 else :
11622 # compilation failed
11623 lt_cv_dlopen_self=no
11624 fi
11625 fi
11626 rm -fr conftest*
11627
11628
11629 fi
11630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11631 $as_echo "$lt_cv_dlopen_self" >&6; }
11632
11633 if test "x$lt_cv_dlopen_self" = xyes; then
11634 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11636 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11637 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11638 $as_echo_n "(cached) " >&6
11639 else
11640 if test "$cross_compiling" = yes; then :
11641 lt_cv_dlopen_self_static=cross
11642 else
11643 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11644 lt_status=$lt_dlunknown
11645 cat > conftest.$ac_ext <<_LT_EOF
11646 #line 11646 "configure"
11647 #include "confdefs.h"
11648
11649 #if HAVE_DLFCN_H
11650 #include <dlfcn.h>
11651 #endif
11652
11653 #include <stdio.h>
11654
11655 #ifdef RTLD_GLOBAL
11656 # define LT_DLGLOBAL RTLD_GLOBAL
11657 #else
11658 # ifdef DL_GLOBAL
11659 # define LT_DLGLOBAL DL_GLOBAL
11660 # else
11661 # define LT_DLGLOBAL 0
11662 # endif
11663 #endif
11664
11665 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11666 find out it does not work in some platform. */
11667 #ifndef LT_DLLAZY_OR_NOW
11668 # ifdef RTLD_LAZY
11669 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11670 # else
11671 # ifdef DL_LAZY
11672 # define LT_DLLAZY_OR_NOW DL_LAZY
11673 # else
11674 # ifdef RTLD_NOW
11675 # define LT_DLLAZY_OR_NOW RTLD_NOW
11676 # else
11677 # ifdef DL_NOW
11678 # define LT_DLLAZY_OR_NOW DL_NOW
11679 # else
11680 # define LT_DLLAZY_OR_NOW 0
11681 # endif
11682 # endif
11683 # endif
11684 # endif
11685 #endif
11686
11687 /* When -fvisbility=hidden is used, assume the code has been annotated
11688 correspondingly for the symbols needed. */
11689 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11690 void fnord () __attribute__((visibility("default")));
11691 #endif
11692
11693 void fnord () { int i=42; }
11694 int main ()
11695 {
11696 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11697 int status = $lt_dlunknown;
11698
11699 if (self)
11700 {
11701 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11702 else
11703 {
11704 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11705 else puts (dlerror ());
11706 }
11707 /* dlclose (self); */
11708 }
11709 else
11710 puts (dlerror ());
11711
11712 return status;
11713 }
11714 _LT_EOF
11715 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11716 (eval $ac_link) 2>&5
11717 ac_status=$?
11718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11719 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11720 (./conftest; exit; ) >&5 2>/dev/null
11721 lt_status=$?
11722 case x$lt_status in
11723 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11724 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11725 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11726 esac
11727 else :
11728 # compilation failed
11729 lt_cv_dlopen_self_static=no
11730 fi
11731 fi
11732 rm -fr conftest*
11733
11734
11735 fi
11736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11737 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11738 fi
11739
11740 CPPFLAGS="$save_CPPFLAGS"
11741 LDFLAGS="$save_LDFLAGS"
11742 LIBS="$save_LIBS"
11743 ;;
11744 esac
11745
11746 case $lt_cv_dlopen_self in
11747 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11748 *) enable_dlopen_self=unknown ;;
11749 esac
11750
11751 case $lt_cv_dlopen_self_static in
11752 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11753 *) enable_dlopen_self_static=unknown ;;
11754 esac
11755 fi
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773 striplib=
11774 old_striplib=
11775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11776 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11777 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11778 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11779 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11781 $as_echo "yes" >&6; }
11782 else
11783 # FIXME - insert some real tests, host_os isn't really good enough
11784 case $host_os in
11785 darwin*)
11786 if test -n "$STRIP" ; then
11787 striplib="$STRIP -x"
11788 old_striplib="$STRIP -S"
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11790 $as_echo "yes" >&6; }
11791 else
11792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11793 $as_echo "no" >&6; }
11794 fi
11795 ;;
11796 *)
11797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11798 $as_echo "no" >&6; }
11799 ;;
11800 esac
11801 fi
11802
11803
11804
11805
11806
11807
11808
11809
11810
11811
11812
11813
11814 # Report which library types will actually be built
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11816 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11818 $as_echo "$can_build_shared" >&6; }
11819
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11821 $as_echo_n "checking whether to build shared libraries... " >&6; }
11822 test "$can_build_shared" = "no" && enable_shared=no
11823
11824 # On AIX, shared libraries and static libraries use the same namespace, and
11825 # are all built from PIC.
11826 case $host_os in
11827 aix3*)
11828 test "$enable_shared" = yes && enable_static=no
11829 if test -n "$RANLIB"; then
11830 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11831 postinstall_cmds='$RANLIB $lib'
11832 fi
11833 ;;
11834
11835 aix[4-9]*)
11836 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11837 test "$enable_shared" = yes && enable_static=no
11838 fi
11839 ;;
11840 esac
11841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11842 $as_echo "$enable_shared" >&6; }
11843
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11845 $as_echo_n "checking whether to build static libraries... " >&6; }
11846 # Make sure either enable_shared or enable_static is yes.
11847 test "$enable_shared" = yes || enable_static=yes
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11849 $as_echo "$enable_static" >&6; }
11850
11851
11852
11853
11854 fi
11855 ac_ext=c
11856 ac_cpp='$CPP $CPPFLAGS'
11857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11860
11861 CC="$lt_save_CC"
11862
11863 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11864 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11865 (test "X$CXX" != "Xg++"))) ; then
11866 ac_ext=cpp
11867 ac_cpp='$CXXCPP $CPPFLAGS'
11868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11872 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11873 if test -z "$CXXCPP"; then
11874 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11875 $as_echo_n "(cached) " >&6
11876 else
11877 # Double quotes because CXXCPP needs to be expanded
11878 for CXXCPP in "$CXX -E" "/lib/cpp"
11879 do
11880 ac_preproc_ok=false
11881 for ac_cxx_preproc_warn_flag in '' yes
11882 do
11883 # Use a header file that comes with gcc, so configuring glibc
11884 # with a fresh cross-compiler works.
11885 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11886 # <limits.h> exists even on freestanding compilers.
11887 # On the NeXT, cc -E runs the code through the compiler's parser,
11888 # not just through cpp. "Syntax error" is here to catch this case.
11889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11891 #ifdef __STDC__
11892 # include <limits.h>
11893 #else
11894 # include <assert.h>
11895 #endif
11896 Syntax error
11897 _ACEOF
11898 if ac_fn_cxx_try_cpp "$LINENO"; then :
11899
11900 else
11901 # Broken: fails on valid input.
11902 continue
11903 fi
11904 rm -f conftest.err conftest.$ac_ext
11905
11906 # OK, works on sane cases. Now check whether nonexistent headers
11907 # can be detected and how.
11908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11909 /* end confdefs.h. */
11910 #include <ac_nonexistent.h>
11911 _ACEOF
11912 if ac_fn_cxx_try_cpp "$LINENO"; then :
11913 # Broken: success on invalid input.
11914 continue
11915 else
11916 # Passes both tests.
11917 ac_preproc_ok=:
11918 break
11919 fi
11920 rm -f conftest.err conftest.$ac_ext
11921
11922 done
11923 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11924 rm -f conftest.err conftest.$ac_ext
11925 if $ac_preproc_ok; then :
11926 break
11927 fi
11928
11929 done
11930 ac_cv_prog_CXXCPP=$CXXCPP
11931
11932 fi
11933 CXXCPP=$ac_cv_prog_CXXCPP
11934 else
11935 ac_cv_prog_CXXCPP=$CXXCPP
11936 fi
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11938 $as_echo "$CXXCPP" >&6; }
11939 ac_preproc_ok=false
11940 for ac_cxx_preproc_warn_flag in '' yes
11941 do
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #ifdef __STDC__
11951 # include <limits.h>
11952 #else
11953 # include <assert.h>
11954 #endif
11955 Syntax error
11956 _ACEOF
11957 if ac_fn_cxx_try_cpp "$LINENO"; then :
11958
11959 else
11960 # Broken: fails on valid input.
11961 continue
11962 fi
11963 rm -f conftest.err conftest.$ac_ext
11964
11965 # OK, works on sane cases. Now check whether nonexistent headers
11966 # can be detected and how.
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #include <ac_nonexistent.h>
11970 _ACEOF
11971 if ac_fn_cxx_try_cpp "$LINENO"; then :
11972 # Broken: success on invalid input.
11973 continue
11974 else
11975 # Passes both tests.
11976 ac_preproc_ok=:
11977 break
11978 fi
11979 rm -f conftest.err conftest.$ac_ext
11980
11981 done
11982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11983 rm -f conftest.err conftest.$ac_ext
11984 if $ac_preproc_ok; then :
11985
11986 else
11987 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
11988 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
11989 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
11990 See \`config.log' for more details." "$LINENO" 5; }
11991 fi
11992
11993 ac_ext=c
11994 ac_cpp='$CPP $CPPFLAGS'
11995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11998
11999 else
12000 _lt_caught_CXX_error=yes
12001 fi
12002
12003 ac_ext=cpp
12004 ac_cpp='$CXXCPP $CPPFLAGS'
12005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12008
12009 archive_cmds_need_lc_CXX=no
12010 allow_undefined_flag_CXX=
12011 always_export_symbols_CXX=no
12012 archive_expsym_cmds_CXX=
12013 compiler_needs_object_CXX=no
12014 export_dynamic_flag_spec_CXX=
12015 hardcode_direct_CXX=no
12016 hardcode_direct_absolute_CXX=no
12017 hardcode_libdir_flag_spec_CXX=
12018 hardcode_libdir_flag_spec_ld_CXX=
12019 hardcode_libdir_separator_CXX=
12020 hardcode_minus_L_CXX=no
12021 hardcode_shlibpath_var_CXX=unsupported
12022 hardcode_automatic_CXX=no
12023 inherit_rpath_CXX=no
12024 module_cmds_CXX=
12025 module_expsym_cmds_CXX=
12026 link_all_deplibs_CXX=unknown
12027 old_archive_cmds_CXX=$old_archive_cmds
12028 reload_flag_CXX=$reload_flag
12029 reload_cmds_CXX=$reload_cmds
12030 no_undefined_flag_CXX=
12031 whole_archive_flag_spec_CXX=
12032 enable_shared_with_static_runtimes_CXX=no
12033
12034 # Source file extension for C++ test sources.
12035 ac_ext=cpp
12036
12037 # Object file extension for compiled C++ test sources.
12038 objext=o
12039 objext_CXX=$objext
12040
12041 # No sense in running all these tests if we already determined that
12042 # the CXX compiler isn't working. Some variables (like enable_shared)
12043 # are currently assumed to apply to all compilers on this platform,
12044 # and will be corrupted by setting them based on a non-working compiler.
12045 if test "$_lt_caught_CXX_error" != yes; then
12046 # Code to be used in simple compile tests
12047 lt_simple_compile_test_code="int some_variable = 0;"
12048
12049 # Code to be used in simple link tests
12050 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12051
12052 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12053
12054
12055
12056
12057
12058
12059 # If no C compiler was specified, use CC.
12060 LTCC=${LTCC-"$CC"}
12061
12062 # If no C compiler flags were specified, use CFLAGS.
12063 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12064
12065 # Allow CC to be a program name with arguments.
12066 compiler=$CC
12067
12068
12069 # save warnings/boilerplate of simple test code
12070 ac_outfile=conftest.$ac_objext
12071 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12072 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12073 _lt_compiler_boilerplate=`cat conftest.err`
12074 $RM conftest*
12075
12076 ac_outfile=conftest.$ac_objext
12077 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12078 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12079 _lt_linker_boilerplate=`cat conftest.err`
12080 $RM -r conftest*
12081
12082
12083 # Allow CC to be a program name with arguments.
12084 lt_save_CC=$CC
12085 lt_save_LD=$LD
12086 lt_save_GCC=$GCC
12087 GCC=$GXX
12088 lt_save_with_gnu_ld=$with_gnu_ld
12089 lt_save_path_LD=$lt_cv_path_LD
12090 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12091 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12092 else
12093 $as_unset lt_cv_prog_gnu_ld
12094 fi
12095 if test -n "${lt_cv_path_LDCXX+set}"; then
12096 lt_cv_path_LD=$lt_cv_path_LDCXX
12097 else
12098 $as_unset lt_cv_path_LD
12099 fi
12100 test -z "${LDCXX+set}" || LD=$LDCXX
12101 CC=${CXX-"c++"}
12102 compiler=$CC
12103 compiler_CXX=$CC
12104 for cc_temp in $compiler""; do
12105 case $cc_temp in
12106 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12107 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12108 \-*) ;;
12109 *) break;;
12110 esac
12111 done
12112 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12113
12114
12115 if test -n "$compiler"; then
12116 # We don't want -fno-exception when compiling C++ code, so set the
12117 # no_builtin_flag separately
12118 if test "$GXX" = yes; then
12119 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12120 else
12121 lt_prog_compiler_no_builtin_flag_CXX=
12122 fi
12123
12124 if test "$GXX" = yes; then
12125 # Set up default GNU C++ configuration
12126
12127
12128
12129 # Check whether --with-gnu-ld was given.
12130 if test "${with_gnu_ld+set}" = set; then :
12131 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12132 else
12133 with_gnu_ld=no
12134 fi
12135
12136 ac_prog=ld
12137 if test "$GCC" = yes; then
12138 # Check if gcc -print-prog-name=ld gives a path.
12139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12140 $as_echo_n "checking for ld used by $CC... " >&6; }
12141 case $host in
12142 *-*-mingw*)
12143 # gcc leaves a trailing carriage return which upsets mingw
12144 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12145 *)
12146 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12147 esac
12148 case $ac_prog in
12149 # Accept absolute paths.
12150 [\\/]* | ?:[\\/]*)
12151 re_direlt='/[^/][^/]*/\.\./'
12152 # Canonicalize the pathname of ld
12153 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12154 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12155 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12156 done
12157 test -z "$LD" && LD="$ac_prog"
12158 ;;
12159 "")
12160 # If it fails, then pretend we aren't using GCC.
12161 ac_prog=ld
12162 ;;
12163 *)
12164 # If it is relative, then search for the first ld in PATH.
12165 with_gnu_ld=unknown
12166 ;;
12167 esac
12168 elif test "$with_gnu_ld" = yes; then
12169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12170 $as_echo_n "checking for GNU ld... " >&6; }
12171 else
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12173 $as_echo_n "checking for non-GNU ld... " >&6; }
12174 fi
12175 if test "${lt_cv_path_LD+set}" = set; then :
12176 $as_echo_n "(cached) " >&6
12177 else
12178 if test -z "$LD"; then
12179 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12180 for ac_dir in $PATH; do
12181 IFS="$lt_save_ifs"
12182 test -z "$ac_dir" && ac_dir=.
12183 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12184 lt_cv_path_LD="$ac_dir/$ac_prog"
12185 # Check to see if the program is GNU ld. I'd rather use --version,
12186 # but apparently some variants of GNU ld only accept -v.
12187 # Break only if it was the GNU/non-GNU ld that we prefer.
12188 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12189 *GNU* | *'with BFD'*)
12190 test "$with_gnu_ld" != no && break
12191 ;;
12192 *)
12193 test "$with_gnu_ld" != yes && break
12194 ;;
12195 esac
12196 fi
12197 done
12198 IFS="$lt_save_ifs"
12199 else
12200 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12201 fi
12202 fi
12203
12204 LD="$lt_cv_path_LD"
12205 if test -n "$LD"; then
12206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12207 $as_echo "$LD" >&6; }
12208 else
12209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12210 $as_echo "no" >&6; }
12211 fi
12212 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12214 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12215 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12216 $as_echo_n "(cached) " >&6
12217 else
12218 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12219 case `$LD -v 2>&1 </dev/null` in
12220 *GNU* | *'with BFD'*)
12221 lt_cv_prog_gnu_ld=yes
12222 ;;
12223 *)
12224 lt_cv_prog_gnu_ld=no
12225 ;;
12226 esac
12227 fi
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12229 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12230 with_gnu_ld=$lt_cv_prog_gnu_ld
12231
12232
12233
12234
12235
12236
12237
12238 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12239 # archiving commands below assume that GNU ld is being used.
12240 if test "$with_gnu_ld" = yes; then
12241 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12242 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12243
12244 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12245 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12246
12247 # If archive_cmds runs LD, not CC, wlarc should be empty
12248 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12249 # investigate it a little bit more. (MM)
12250 wlarc='${wl}'
12251
12252 # ancient GNU ld didn't support --whole-archive et. al.
12253 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12254 $GREP 'no-whole-archive' > /dev/null; then
12255 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12256 else
12257 whole_archive_flag_spec_CXX=
12258 fi
12259 else
12260 with_gnu_ld=no
12261 wlarc=
12262
12263 # A generic and very simple default shared library creation
12264 # command for GNU C++ for the case where it uses the native
12265 # linker, instead of GNU ld. If possible, this setting should
12266 # overridden to take advantage of the native linker features on
12267 # the platform it is being used on.
12268 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12269 fi
12270
12271 # Commands to make compiler produce verbose output that lists
12272 # what "hidden" libraries, object files and flags are used when
12273 # linking a shared library.
12274 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12275
12276 else
12277 GXX=no
12278 with_gnu_ld=no
12279 wlarc=
12280 fi
12281
12282 # PORTME: fill in a description of your system's C++ link characteristics
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12284 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12285 ld_shlibs_CXX=yes
12286 case $host_os in
12287 aix3*)
12288 # FIXME: insert proper C++ library support
12289 ld_shlibs_CXX=no
12290 ;;
12291 aix[4-9]*)
12292 if test "$host_cpu" = ia64; then
12293 # On IA64, the linker does run time linking by default, so we don't
12294 # have to do anything special.
12295 aix_use_runtimelinking=no
12296 exp_sym_flag='-Bexport'
12297 no_entry_flag=""
12298 else
12299 aix_use_runtimelinking=no
12300
12301 # Test if we are trying to use run time linking or normal
12302 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12303 # need to do runtime linking.
12304 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12305 for ld_flag in $LDFLAGS; do
12306 case $ld_flag in
12307 *-brtl*)
12308 aix_use_runtimelinking=yes
12309 break
12310 ;;
12311 esac
12312 done
12313 ;;
12314 esac
12315
12316 exp_sym_flag='-bexport'
12317 no_entry_flag='-bnoentry'
12318 fi
12319
12320 # When large executables or shared objects are built, AIX ld can
12321 # have problems creating the table of contents. If linking a library
12322 # or program results in "error TOC overflow" add -mminimal-toc to
12323 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12324 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12325
12326 archive_cmds_CXX=''
12327 hardcode_direct_CXX=yes
12328 hardcode_direct_absolute_CXX=yes
12329 hardcode_libdir_separator_CXX=':'
12330 link_all_deplibs_CXX=yes
12331 file_list_spec_CXX='${wl}-f,'
12332
12333 if test "$GXX" = yes; then
12334 case $host_os in aix4.[012]|aix4.[012].*)
12335 # We only want to do this on AIX 4.2 and lower, the check
12336 # below for broken collect2 doesn't work under 4.3+
12337 collect2name=`${CC} -print-prog-name=collect2`
12338 if test -f "$collect2name" &&
12339 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12340 then
12341 # We have reworked collect2
12342 :
12343 else
12344 # We have old collect2
12345 hardcode_direct_CXX=unsupported
12346 # It fails to find uninstalled libraries when the uninstalled
12347 # path is not listed in the libpath. Setting hardcode_minus_L
12348 # to unsupported forces relinking
12349 hardcode_minus_L_CXX=yes
12350 hardcode_libdir_flag_spec_CXX='-L$libdir'
12351 hardcode_libdir_separator_CXX=
12352 fi
12353 esac
12354 shared_flag='-shared'
12355 if test "$aix_use_runtimelinking" = yes; then
12356 shared_flag="$shared_flag "'${wl}-G'
12357 fi
12358 else
12359 # not using gcc
12360 if test "$host_cpu" = ia64; then
12361 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12362 # chokes on -Wl,-G. The following line is correct:
12363 shared_flag='-G'
12364 else
12365 if test "$aix_use_runtimelinking" = yes; then
12366 shared_flag='${wl}-G'
12367 else
12368 shared_flag='${wl}-bM:SRE'
12369 fi
12370 fi
12371 fi
12372
12373 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12374 # It seems that -bexpall does not export symbols beginning with
12375 # underscore (_), so it is better to generate a list of symbols to
12376 # export.
12377 always_export_symbols_CXX=yes
12378 if test "$aix_use_runtimelinking" = yes; then
12379 # Warning - without using the other runtime loading flags (-brtl),
12380 # -berok will link without error, but may produce a broken library.
12381 allow_undefined_flag_CXX='-berok'
12382 # Determine the default libpath from the value encoded in an empty
12383 # executable.
12384 if test x$gcc_no_link = xyes; then
12385 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12386 fi
12387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12388 /* end confdefs.h. */
12389
12390 int
12391 main ()
12392 {
12393
12394 ;
12395 return 0;
12396 }
12397 _ACEOF
12398 if ac_fn_cxx_try_link "$LINENO"; then :
12399
12400 lt_aix_libpath_sed='
12401 /Import File Strings/,/^$/ {
12402 /^0/ {
12403 s/^0 *\(.*\)$/\1/
12404 p
12405 }
12406 }'
12407 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12408 # Check for a 64-bit object if we didn't find anything.
12409 if test -z "$aix_libpath"; then
12410 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12411 fi
12412 fi
12413 rm -f core conftest.err conftest.$ac_objext \
12414 conftest$ac_exeext conftest.$ac_ext
12415 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12416
12417 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12418
12419 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"
12420 else
12421 if test "$host_cpu" = ia64; then
12422 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12423 allow_undefined_flag_CXX="-z nodefs"
12424 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"
12425 else
12426 # Determine the default libpath from the value encoded in an
12427 # empty executable.
12428 if test x$gcc_no_link = xyes; then
12429 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12430 fi
12431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12432 /* end confdefs.h. */
12433
12434 int
12435 main ()
12436 {
12437
12438 ;
12439 return 0;
12440 }
12441 _ACEOF
12442 if ac_fn_cxx_try_link "$LINENO"; then :
12443
12444 lt_aix_libpath_sed='
12445 /Import File Strings/,/^$/ {
12446 /^0/ {
12447 s/^0 *\(.*\)$/\1/
12448 p
12449 }
12450 }'
12451 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12452 # Check for a 64-bit object if we didn't find anything.
12453 if test -z "$aix_libpath"; then
12454 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12455 fi
12456 fi
12457 rm -f core conftest.err conftest.$ac_objext \
12458 conftest$ac_exeext conftest.$ac_ext
12459 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12460
12461 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12462 # Warning - without using the other run time loading flags,
12463 # -berok will link without error, but may produce a broken library.
12464 no_undefined_flag_CXX=' ${wl}-bernotok'
12465 allow_undefined_flag_CXX=' ${wl}-berok'
12466 if test "$with_gnu_ld" = yes; then
12467 # We only use this code for GNU lds that support --whole-archive.
12468 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12469 else
12470 # Exported symbols can be pulled into shared objects from archives
12471 whole_archive_flag_spec_CXX='$convenience'
12472 fi
12473 archive_cmds_need_lc_CXX=yes
12474 # This is similar to how AIX traditionally builds its shared
12475 # libraries.
12476 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'
12477 fi
12478 fi
12479 ;;
12480
12481 beos*)
12482 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12483 allow_undefined_flag_CXX=unsupported
12484 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12485 # support --undefined. This deserves some investigation. FIXME
12486 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12487 else
12488 ld_shlibs_CXX=no
12489 fi
12490 ;;
12491
12492 chorus*)
12493 case $cc_basename in
12494 *)
12495 # FIXME: insert proper C++ library support
12496 ld_shlibs_CXX=no
12497 ;;
12498 esac
12499 ;;
12500
12501 cygwin* | mingw* | pw32* | cegcc*)
12502 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12503 # as there is no search path for DLLs.
12504 hardcode_libdir_flag_spec_CXX='-L$libdir'
12505 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12506 allow_undefined_flag_CXX=unsupported
12507 always_export_symbols_CXX=no
12508 enable_shared_with_static_runtimes_CXX=yes
12509
12510 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12511 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'
12512 # If the export-symbols file already is a .def file (1st line
12513 # is EXPORTS), use it as is; otherwise, prepend...
12514 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12515 cp $export_symbols $output_objdir/$soname.def;
12516 else
12517 echo EXPORTS > $output_objdir/$soname.def;
12518 cat $export_symbols >> $output_objdir/$soname.def;
12519 fi~
12520 $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'
12521 else
12522 ld_shlibs_CXX=no
12523 fi
12524 ;;
12525 darwin* | rhapsody*)
12526
12527
12528 archive_cmds_need_lc_CXX=no
12529 hardcode_direct_CXX=no
12530 hardcode_automatic_CXX=yes
12531 hardcode_shlibpath_var_CXX=unsupported
12532 if test "$lt_cv_ld_force_load" = "yes"; then
12533 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\"`'
12534 else
12535 whole_archive_flag_spec_CXX=''
12536 fi
12537 link_all_deplibs_CXX=yes
12538 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12539 case $cc_basename in
12540 ifort*) _lt_dar_can_shared=yes ;;
12541 *) _lt_dar_can_shared=$GCC ;;
12542 esac
12543 if test "$_lt_dar_can_shared" = "yes"; then
12544 output_verbose_link_cmd=func_echo_all
12545 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}"
12546 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12547 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}"
12548 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}"
12549 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12550 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}"
12551 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}"
12552 fi
12553
12554 else
12555 ld_shlibs_CXX=no
12556 fi
12557
12558 ;;
12559
12560 dgux*)
12561 case $cc_basename in
12562 ec++*)
12563 # FIXME: insert proper C++ library support
12564 ld_shlibs_CXX=no
12565 ;;
12566 ghcx*)
12567 # Green Hills C++ Compiler
12568 # FIXME: insert proper C++ library support
12569 ld_shlibs_CXX=no
12570 ;;
12571 *)
12572 # FIXME: insert proper C++ library support
12573 ld_shlibs_CXX=no
12574 ;;
12575 esac
12576 ;;
12577
12578 freebsd2.*)
12579 # C++ shared libraries reported to be fairly broken before
12580 # switch to ELF
12581 ld_shlibs_CXX=no
12582 ;;
12583
12584 freebsd-elf*)
12585 archive_cmds_need_lc_CXX=no
12586 ;;
12587
12588 freebsd* | dragonfly*)
12589 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12590 # conventions
12591 ld_shlibs_CXX=yes
12592 ;;
12593
12594 gnu*)
12595 ;;
12596
12597 haiku*)
12598 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12599 link_all_deplibs_CXX=yes
12600 ;;
12601
12602 hpux9*)
12603 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12604 hardcode_libdir_separator_CXX=:
12605 export_dynamic_flag_spec_CXX='${wl}-E'
12606 hardcode_direct_CXX=yes
12607 hardcode_minus_L_CXX=yes # Not in the search PATH,
12608 # but as the default
12609 # location of the library.
12610
12611 case $cc_basename in
12612 CC*)
12613 # FIXME: insert proper C++ library support
12614 ld_shlibs_CXX=no
12615 ;;
12616 aCC*)
12617 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'
12618 # Commands to make compiler produce verbose output that lists
12619 # what "hidden" libraries, object files and flags are used when
12620 # linking a shared library.
12621 #
12622 # There doesn't appear to be a way to prevent this compiler from
12623 # explicitly linking system object files so we need to strip them
12624 # from the output so that they don't get included in the library
12625 # dependencies.
12626 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"'
12627 ;;
12628 *)
12629 if test "$GXX" = yes; then
12630 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'
12631 else
12632 # FIXME: insert proper C++ library support
12633 ld_shlibs_CXX=no
12634 fi
12635 ;;
12636 esac
12637 ;;
12638
12639 hpux10*|hpux11*)
12640 if test $with_gnu_ld = no; then
12641 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12642 hardcode_libdir_separator_CXX=:
12643
12644 case $host_cpu in
12645 hppa*64*|ia64*)
12646 ;;
12647 *)
12648 export_dynamic_flag_spec_CXX='${wl}-E'
12649 ;;
12650 esac
12651 fi
12652 case $host_cpu in
12653 hppa*64*|ia64*)
12654 hardcode_direct_CXX=no
12655 hardcode_shlibpath_var_CXX=no
12656 ;;
12657 *)
12658 hardcode_direct_CXX=yes
12659 hardcode_direct_absolute_CXX=yes
12660 hardcode_minus_L_CXX=yes # Not in the search PATH,
12661 # but as the default
12662 # location of the library.
12663 ;;
12664 esac
12665
12666 case $cc_basename in
12667 CC*)
12668 # FIXME: insert proper C++ library support
12669 ld_shlibs_CXX=no
12670 ;;
12671 aCC*)
12672 case $host_cpu in
12673 hppa*64*)
12674 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12675 ;;
12676 ia64*)
12677 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12678 ;;
12679 *)
12680 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12681 ;;
12682 esac
12683 # Commands to make compiler produce verbose output that lists
12684 # what "hidden" libraries, object files and flags are used when
12685 # linking a shared library.
12686 #
12687 # There doesn't appear to be a way to prevent this compiler from
12688 # explicitly linking system object files so we need to strip them
12689 # from the output so that they don't get included in the library
12690 # dependencies.
12691 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"'
12692 ;;
12693 *)
12694 if test "$GXX" = yes; then
12695 if test $with_gnu_ld = no; then
12696 case $host_cpu in
12697 hppa*64*)
12698 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12699 ;;
12700 ia64*)
12701 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12702 ;;
12703 *)
12704 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'
12705 ;;
12706 esac
12707 fi
12708 else
12709 # FIXME: insert proper C++ library support
12710 ld_shlibs_CXX=no
12711 fi
12712 ;;
12713 esac
12714 ;;
12715
12716 interix[3-9]*)
12717 hardcode_direct_CXX=no
12718 hardcode_shlibpath_var_CXX=no
12719 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12720 export_dynamic_flag_spec_CXX='${wl}-E'
12721 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12722 # Instead, shared libraries are loaded at an image base (0x10000000 by
12723 # default) and relocated if they conflict, which is a slow very memory
12724 # consuming and fragmenting process. To avoid this, we pick a random,
12725 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12726 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12727 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'
12728 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'
12729 ;;
12730 irix5* | irix6*)
12731 case $cc_basename in
12732 CC*)
12733 # SGI C++
12734 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'
12735
12736 # Archives containing C++ object files must be created using
12737 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12738 # necessary to make sure instantiated templates are included
12739 # in the archive.
12740 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12741 ;;
12742 *)
12743 if test "$GXX" = yes; then
12744 if test "$with_gnu_ld" = no; then
12745 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'
12746 else
12747 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'
12748 fi
12749 fi
12750 link_all_deplibs_CXX=yes
12751 ;;
12752 esac
12753 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12754 hardcode_libdir_separator_CXX=:
12755 inherit_rpath_CXX=yes
12756 ;;
12757
12758 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12759 case $cc_basename in
12760 KCC*)
12761 # Kuck and Associates, Inc. (KAI) C++ Compiler
12762
12763 # KCC will only create a shared library if the output file
12764 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12765 # to its proper name (with version) after linking.
12766 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'
12767 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'
12768 # Commands to make compiler produce verbose output that lists
12769 # what "hidden" libraries, object files and flags are used when
12770 # linking a shared library.
12771 #
12772 # There doesn't appear to be a way to prevent this compiler from
12773 # explicitly linking system object files so we need to strip them
12774 # from the output so that they don't get included in the library
12775 # dependencies.
12776 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"'
12777
12778 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12779 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12780
12781 # Archives containing C++ object files must be created using
12782 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12783 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12784 ;;
12785 icpc* | ecpc* )
12786 # Intel C++
12787 with_gnu_ld=yes
12788 # version 8.0 and above of icpc choke on multiply defined symbols
12789 # if we add $predep_objects and $postdep_objects, however 7.1 and
12790 # earlier do not add the objects themselves.
12791 case `$CC -V 2>&1` in
12792 *"Version 7."*)
12793 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12794 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'
12795 ;;
12796 *) # Version 8.0 or newer
12797 tmp_idyn=
12798 case $host_cpu in
12799 ia64*) tmp_idyn=' -i_dynamic';;
12800 esac
12801 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12802 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'
12803 ;;
12804 esac
12805 archive_cmds_need_lc_CXX=no
12806 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12807 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12808 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12809 ;;
12810 pgCC* | pgcpp*)
12811 # Portland Group C++ compiler
12812 case `$CC -V` in
12813 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12814 prelink_cmds_CXX='tpldir=Template.dir~
12815 rm -rf $tpldir~
12816 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12817 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12818 old_archive_cmds_CXX='tpldir=Template.dir~
12819 rm -rf $tpldir~
12820 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12821 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12822 $RANLIB $oldlib'
12823 archive_cmds_CXX='tpldir=Template.dir~
12824 rm -rf $tpldir~
12825 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12826 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12827 archive_expsym_cmds_CXX='tpldir=Template.dir~
12828 rm -rf $tpldir~
12829 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12830 $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'
12831 ;;
12832 *) # Version 6 and above use weak symbols
12833 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12834 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'
12835 ;;
12836 esac
12837
12838 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12839 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 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'
12841 ;;
12842 cxx*)
12843 # Compaq C++
12844 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12845 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'
12846
12847 runpath_var=LD_RUN_PATH
12848 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12849 hardcode_libdir_separator_CXX=:
12850
12851 # Commands to make compiler produce verbose output that lists
12852 # what "hidden" libraries, object files and flags are used when
12853 # linking a shared library.
12854 #
12855 # There doesn't appear to be a way to prevent this compiler from
12856 # explicitly linking system object files so we need to strip them
12857 # from the output so that they don't get included in the library
12858 # dependencies.
12859 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'
12860 ;;
12861 xl* | mpixl* | bgxl*)
12862 # IBM XL 8.0 on PPC, with GNU ld
12863 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12864 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12865 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12866 if test "x$supports_anon_versioning" = xyes; then
12867 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12868 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12869 echo "local: *; };" >> $output_objdir/$libname.ver~
12870 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12871 fi
12872 ;;
12873 *)
12874 case `$CC -V 2>&1 | sed 5q` in
12875 *Sun\ C*)
12876 # Sun C++ 5.9
12877 no_undefined_flag_CXX=' -zdefs'
12878 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12879 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'
12880 hardcode_libdir_flag_spec_CXX='-R$libdir'
12881 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'
12882 compiler_needs_object_CXX=yes
12883
12884 # Not sure whether something based on
12885 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12886 # would be better.
12887 output_verbose_link_cmd='func_echo_all'
12888
12889 # Archives containing C++ object files must be created using
12890 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12891 # necessary to make sure instantiated templates are included
12892 # in the archive.
12893 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12894 ;;
12895 esac
12896 ;;
12897 esac
12898 ;;
12899
12900 lynxos*)
12901 # FIXME: insert proper C++ library support
12902 ld_shlibs_CXX=no
12903 ;;
12904
12905 m88k*)
12906 # FIXME: insert proper C++ library support
12907 ld_shlibs_CXX=no
12908 ;;
12909
12910 mvs*)
12911 case $cc_basename in
12912 cxx*)
12913 # FIXME: insert proper C++ library support
12914 ld_shlibs_CXX=no
12915 ;;
12916 *)
12917 # FIXME: insert proper C++ library support
12918 ld_shlibs_CXX=no
12919 ;;
12920 esac
12921 ;;
12922
12923 netbsd*)
12924 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12925 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12926 wlarc=
12927 hardcode_libdir_flag_spec_CXX='-R$libdir'
12928 hardcode_direct_CXX=yes
12929 hardcode_shlibpath_var_CXX=no
12930 fi
12931 # Workaround some broken pre-1.5 toolchains
12932 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12933 ;;
12934
12935 *nto* | *qnx*)
12936 ld_shlibs_CXX=yes
12937 ;;
12938
12939 openbsd2*)
12940 # C++ shared libraries are fairly broken
12941 ld_shlibs_CXX=no
12942 ;;
12943
12944 openbsd*)
12945 if test -f /usr/libexec/ld.so; then
12946 hardcode_direct_CXX=yes
12947 hardcode_shlibpath_var_CXX=no
12948 hardcode_direct_absolute_CXX=yes
12949 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12950 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12951 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12952 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12953 export_dynamic_flag_spec_CXX='${wl}-E'
12954 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12955 fi
12956 output_verbose_link_cmd=func_echo_all
12957 else
12958 ld_shlibs_CXX=no
12959 fi
12960 ;;
12961
12962 osf3* | osf4* | osf5*)
12963 case $cc_basename in
12964 KCC*)
12965 # Kuck and Associates, Inc. (KAI) C++ Compiler
12966
12967 # KCC will only create a shared library if the output file
12968 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12969 # to its proper name (with version) after linking.
12970 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'
12971
12972 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12973 hardcode_libdir_separator_CXX=:
12974
12975 # Archives containing C++ object files must be created using
12976 # the KAI C++ compiler.
12977 case $host in
12978 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12979 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12980 esac
12981 ;;
12982 RCC*)
12983 # Rational C++ 2.4.1
12984 # FIXME: insert proper C++ library support
12985 ld_shlibs_CXX=no
12986 ;;
12987 cxx*)
12988 case $host in
12989 osf3*)
12990 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12991 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'
12992 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12993 ;;
12994 *)
12995 allow_undefined_flag_CXX=' -expect_unresolved \*'
12996 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'
12997 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12998 echo "-hidden">> $lib.exp~
12999 $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~
13000 $RM $lib.exp'
13001 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13002 ;;
13003 esac
13004
13005 hardcode_libdir_separator_CXX=:
13006
13007 # Commands to make compiler produce verbose output that lists
13008 # what "hidden" libraries, object files and flags are used when
13009 # linking a shared library.
13010 #
13011 # There doesn't appear to be a way to prevent this compiler from
13012 # explicitly linking system object files so we need to strip them
13013 # from the output so that they don't get included in the library
13014 # dependencies.
13015 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"'
13016 ;;
13017 *)
13018 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13019 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13020 case $host in
13021 osf3*)
13022 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'
13023 ;;
13024 *)
13025 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'
13026 ;;
13027 esac
13028
13029 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13030 hardcode_libdir_separator_CXX=:
13031
13032 # Commands to make compiler produce verbose output that lists
13033 # what "hidden" libraries, object files and flags are used when
13034 # linking a shared library.
13035 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13036
13037 else
13038 # FIXME: insert proper C++ library support
13039 ld_shlibs_CXX=no
13040 fi
13041 ;;
13042 esac
13043 ;;
13044
13045 psos*)
13046 # FIXME: insert proper C++ library support
13047 ld_shlibs_CXX=no
13048 ;;
13049
13050 sunos4*)
13051 case $cc_basename in
13052 CC*)
13053 # Sun C++ 4.x
13054 # FIXME: insert proper C++ library support
13055 ld_shlibs_CXX=no
13056 ;;
13057 lcc*)
13058 # Lucid
13059 # FIXME: insert proper C++ library support
13060 ld_shlibs_CXX=no
13061 ;;
13062 *)
13063 # FIXME: insert proper C++ library support
13064 ld_shlibs_CXX=no
13065 ;;
13066 esac
13067 ;;
13068
13069 solaris*)
13070 case $cc_basename in
13071 CC*)
13072 # Sun C++ 4.2, 5.x and Centerline C++
13073 archive_cmds_need_lc_CXX=yes
13074 no_undefined_flag_CXX=' -zdefs'
13075 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13076 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13077 $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'
13078
13079 hardcode_libdir_flag_spec_CXX='-R$libdir'
13080 hardcode_shlibpath_var_CXX=no
13081 case $host_os in
13082 solaris2.[0-5] | solaris2.[0-5].*) ;;
13083 *)
13084 # The compiler driver will combine and reorder linker options,
13085 # but understands `-z linker_flag'.
13086 # Supported since Solaris 2.6 (maybe 2.5.1?)
13087 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13088 ;;
13089 esac
13090 link_all_deplibs_CXX=yes
13091
13092 output_verbose_link_cmd='func_echo_all'
13093
13094 # Archives containing C++ object files must be created using
13095 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13096 # necessary to make sure instantiated templates are included
13097 # in the archive.
13098 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13099 ;;
13100 gcx*)
13101 # Green Hills C++ Compiler
13102 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13103
13104 # The C++ compiler must be used to create the archive.
13105 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13106 ;;
13107 *)
13108 # GNU C++ compiler with Solaris linker
13109 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13110 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13111 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13112 archive_cmds_CXX='$CC -shared -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 -shared -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 -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13120 else
13121 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13122 # platform.
13123 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13124 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13125 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13126
13127 # Commands to make compiler produce verbose output that lists
13128 # what "hidden" libraries, object files and flags are used when
13129 # linking a shared library.
13130 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13131 fi
13132
13133 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13134 case $host_os in
13135 solaris2.[0-5] | solaris2.[0-5].*) ;;
13136 *)
13137 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13138 ;;
13139 esac
13140 fi
13141 ;;
13142 esac
13143 ;;
13144
13145 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13146 no_undefined_flag_CXX='${wl}-z,text'
13147 archive_cmds_need_lc_CXX=no
13148 hardcode_shlibpath_var_CXX=no
13149 runpath_var='LD_RUN_PATH'
13150
13151 case $cc_basename in
13152 CC*)
13153 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13154 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13155 ;;
13156 *)
13157 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13158 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13159 ;;
13160 esac
13161 ;;
13162
13163 sysv5* | sco3.2v5* | sco5v6*)
13164 # Note: We can NOT use -z defs as we might desire, because we do not
13165 # link with -lc, and that would cause any symbols used from libc to
13166 # always be unresolved, which means just about no library would
13167 # ever link correctly. If we're not using GNU ld we use -z text
13168 # though, which does catch some bad symbols but isn't as heavy-handed
13169 # as -z defs.
13170 no_undefined_flag_CXX='${wl}-z,text'
13171 allow_undefined_flag_CXX='${wl}-z,nodefs'
13172 archive_cmds_need_lc_CXX=no
13173 hardcode_shlibpath_var_CXX=no
13174 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13175 hardcode_libdir_separator_CXX=':'
13176 link_all_deplibs_CXX=yes
13177 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13178 runpath_var='LD_RUN_PATH'
13179
13180 case $cc_basename in
13181 CC*)
13182 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13183 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13184 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13185 '"$old_archive_cmds_CXX"
13186 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13187 '"$reload_cmds_CXX"
13188 ;;
13189 *)
13190 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13191 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13192 ;;
13193 esac
13194 ;;
13195
13196 tandem*)
13197 case $cc_basename in
13198 NCC*)
13199 # NonStop-UX NCC 3.20
13200 # FIXME: insert proper C++ library support
13201 ld_shlibs_CXX=no
13202 ;;
13203 *)
13204 # FIXME: insert proper C++ library support
13205 ld_shlibs_CXX=no
13206 ;;
13207 esac
13208 ;;
13209
13210 vxworks*)
13211 # FIXME: insert proper C++ library support
13212 ld_shlibs_CXX=no
13213 ;;
13214
13215 *)
13216 # FIXME: insert proper C++ library support
13217 ld_shlibs_CXX=no
13218 ;;
13219 esac
13220
13221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13222 $as_echo "$ld_shlibs_CXX" >&6; }
13223 test "$ld_shlibs_CXX" = no && can_build_shared=no
13224
13225 GCC_CXX="$GXX"
13226 LD_CXX="$LD"
13227
13228 ## CAVEAT EMPTOR:
13229 ## There is no encapsulation within the following macros, do not change
13230 ## the running order or otherwise move them around unless you know exactly
13231 ## what you are doing...
13232 # Dependencies to place before and after the object being linked:
13233 predep_objects_CXX=
13234 postdep_objects_CXX=
13235 predeps_CXX=
13236 postdeps_CXX=
13237 compiler_lib_search_path_CXX=
13238
13239 cat > conftest.$ac_ext <<_LT_EOF
13240 class Foo
13241 {
13242 public:
13243 Foo (void) { a = 0; }
13244 private:
13245 int a;
13246 };
13247 _LT_EOF
13248
13249 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13250 (eval $ac_compile) 2>&5
13251 ac_status=$?
13252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13253 test $ac_status = 0; }; then
13254 # Parse the compiler output and extract the necessary
13255 # objects, libraries and library flags.
13256
13257 # Sentinel used to keep track of whether or not we are before
13258 # the conftest object file.
13259 pre_test_object_deps_done=no
13260
13261 for p in `eval "$output_verbose_link_cmd"`; do
13262 case $p in
13263
13264 -L* | -R* | -l*)
13265 # Some compilers place space between "-{L,R}" and the path.
13266 # Remove the space.
13267 if test $p = "-L" ||
13268 test $p = "-R"; then
13269 prev=$p
13270 continue
13271 else
13272 prev=
13273 fi
13274
13275 if test "$pre_test_object_deps_done" = no; then
13276 case $p in
13277 -L* | -R*)
13278 # Internal compiler library paths should come after those
13279 # provided the user. The postdeps already come after the
13280 # user supplied libs so there is no need to process them.
13281 if test -z "$compiler_lib_search_path_CXX"; then
13282 compiler_lib_search_path_CXX="${prev}${p}"
13283 else
13284 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13285 fi
13286 ;;
13287 # The "-l" case would never come before the object being
13288 # linked, so don't bother handling this case.
13289 esac
13290 else
13291 if test -z "$postdeps_CXX"; then
13292 postdeps_CXX="${prev}${p}"
13293 else
13294 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13295 fi
13296 fi
13297 ;;
13298
13299 *.$objext)
13300 # This assumes that the test object file only shows up
13301 # once in the compiler output.
13302 if test "$p" = "conftest.$objext"; then
13303 pre_test_object_deps_done=yes
13304 continue
13305 fi
13306
13307 if test "$pre_test_object_deps_done" = no; then
13308 if test -z "$predep_objects_CXX"; then
13309 predep_objects_CXX="$p"
13310 else
13311 predep_objects_CXX="$predep_objects_CXX $p"
13312 fi
13313 else
13314 if test -z "$postdep_objects_CXX"; then
13315 postdep_objects_CXX="$p"
13316 else
13317 postdep_objects_CXX="$postdep_objects_CXX $p"
13318 fi
13319 fi
13320 ;;
13321
13322 *) ;; # Ignore the rest.
13323
13324 esac
13325 done
13326
13327 # Clean up.
13328 rm -f a.out a.exe
13329 else
13330 echo "libtool.m4: error: problem compiling CXX test program"
13331 fi
13332
13333 $RM -f confest.$objext
13334
13335 # PORTME: override above test on systems where it is broken
13336 case $host_os in
13337 interix[3-9]*)
13338 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13339 # hack all around it, let's just trust "g++" to DTRT.
13340 predep_objects_CXX=
13341 postdep_objects_CXX=
13342 postdeps_CXX=
13343 ;;
13344
13345 linux*)
13346 case `$CC -V 2>&1 | sed 5q` in
13347 *Sun\ C*)
13348 # Sun C++ 5.9
13349
13350 # The more standards-conforming stlport4 library is
13351 # incompatible with the Cstd library. Avoid specifying
13352 # it if it's in CXXFLAGS. Ignore libCrun as
13353 # -library=stlport4 depends on it.
13354 case " $CXX $CXXFLAGS " in
13355 *" -library=stlport4 "*)
13356 solaris_use_stlport4=yes
13357 ;;
13358 esac
13359
13360 if test "$solaris_use_stlport4" != yes; then
13361 postdeps_CXX='-library=Cstd -library=Crun'
13362 fi
13363 ;;
13364 esac
13365 ;;
13366
13367 solaris*)
13368 case $cc_basename in
13369 CC*)
13370 # The more standards-conforming stlport4 library is
13371 # incompatible with the Cstd library. Avoid specifying
13372 # it if it's in CXXFLAGS. Ignore libCrun as
13373 # -library=stlport4 depends on it.
13374 case " $CXX $CXXFLAGS " in
13375 *" -library=stlport4 "*)
13376 solaris_use_stlport4=yes
13377 ;;
13378 esac
13379
13380 # Adding this requires a known-good setup of shared libraries for
13381 # Sun compiler versions before 5.6, else PIC objects from an old
13382 # archive will be linked into the output, leading to subtle bugs.
13383 if test "$solaris_use_stlport4" != yes; then
13384 postdeps_CXX='-library=Cstd -library=Crun'
13385 fi
13386 ;;
13387 esac
13388 ;;
13389 esac
13390
13391
13392 case " $postdeps_CXX " in
13393 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13394 esac
13395 compiler_lib_search_dirs_CXX=
13396 if test -n "${compiler_lib_search_path_CXX}"; then
13397 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13398 fi
13399
13400
13401
13402
13403
13404
13405
13406
13407
13408
13409
13410
13411
13412
13413
13414
13415
13416
13417
13418
13419
13420
13421
13422
13423
13424
13425
13426
13427
13428
13429
13430 lt_prog_compiler_wl_CXX=
13431 lt_prog_compiler_pic_CXX=
13432 lt_prog_compiler_static_CXX=
13433
13434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13435 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13436
13437 # C++ specific cases for pic, static, wl, etc.
13438 if test "$GXX" = yes; then
13439 lt_prog_compiler_wl_CXX='-Wl,'
13440 lt_prog_compiler_static_CXX='-static'
13441
13442 case $host_os in
13443 aix*)
13444 # All AIX code is PIC.
13445 if test "$host_cpu" = ia64; then
13446 # AIX 5 now supports IA64 processor
13447 lt_prog_compiler_static_CXX='-Bstatic'
13448 fi
13449 lt_prog_compiler_pic_CXX='-fPIC'
13450 ;;
13451
13452 amigaos*)
13453 case $host_cpu in
13454 powerpc)
13455 # see comment about AmigaOS4 .so support
13456 lt_prog_compiler_pic_CXX='-fPIC'
13457 ;;
13458 m68k)
13459 # FIXME: we need at least 68020 code to build shared libraries, but
13460 # adding the `-m68020' flag to GCC prevents building anything better,
13461 # like `-m68040'.
13462 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13463 ;;
13464 esac
13465 ;;
13466
13467 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13468 # PIC is the default for these OSes.
13469 ;;
13470 mingw* | cygwin* | os2* | pw32* | cegcc*)
13471 # This hack is so that the source file can tell whether it is being
13472 # built for inclusion in a dll (and should export symbols for example).
13473 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13474 # (--disable-auto-import) libraries
13475 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13476 ;;
13477 darwin* | rhapsody*)
13478 # PIC is the default on this platform
13479 # Common symbols not allowed in MH_DYLIB files
13480 lt_prog_compiler_pic_CXX='-fno-common'
13481 ;;
13482 *djgpp*)
13483 # DJGPP does not support shared libraries at all
13484 lt_prog_compiler_pic_CXX=
13485 ;;
13486 haiku*)
13487 # PIC is the default for Haiku.
13488 # The "-static" flag exists, but is broken.
13489 lt_prog_compiler_static_CXX=
13490 ;;
13491 interix[3-9]*)
13492 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13493 # Instead, we relocate shared libraries at runtime.
13494 ;;
13495 sysv4*MP*)
13496 if test -d /usr/nec; then
13497 lt_prog_compiler_pic_CXX=-Kconform_pic
13498 fi
13499 ;;
13500 hpux*)
13501 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13502 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13503 # sets the default TLS model and affects inlining.
13504 case $host_cpu in
13505 hppa*64*)
13506 ;;
13507 *)
13508 lt_prog_compiler_pic_CXX='-fPIC'
13509 ;;
13510 esac
13511 ;;
13512 *qnx* | *nto*)
13513 # QNX uses GNU C++, but need to define -shared option too, otherwise
13514 # it will coredump.
13515 lt_prog_compiler_pic_CXX='-fPIC -shared'
13516 ;;
13517 *)
13518 lt_prog_compiler_pic_CXX='-fPIC'
13519 ;;
13520 esac
13521 else
13522 case $host_os in
13523 aix[4-9]*)
13524 # All AIX code is PIC.
13525 if test "$host_cpu" = ia64; then
13526 # AIX 5 now supports IA64 processor
13527 lt_prog_compiler_static_CXX='-Bstatic'
13528 else
13529 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13530 fi
13531 ;;
13532 chorus*)
13533 case $cc_basename in
13534 cxch68*)
13535 # Green Hills C++ Compiler
13536 # _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"
13537 ;;
13538 esac
13539 ;;
13540 dgux*)
13541 case $cc_basename in
13542 ec++*)
13543 lt_prog_compiler_pic_CXX='-KPIC'
13544 ;;
13545 ghcx*)
13546 # Green Hills C++ Compiler
13547 lt_prog_compiler_pic_CXX='-pic'
13548 ;;
13549 *)
13550 ;;
13551 esac
13552 ;;
13553 freebsd* | dragonfly*)
13554 # FreeBSD uses GNU C++
13555 ;;
13556 hpux9* | hpux10* | hpux11*)
13557 case $cc_basename in
13558 CC*)
13559 lt_prog_compiler_wl_CXX='-Wl,'
13560 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13561 if test "$host_cpu" != ia64; then
13562 lt_prog_compiler_pic_CXX='+Z'
13563 fi
13564 ;;
13565 aCC*)
13566 lt_prog_compiler_wl_CXX='-Wl,'
13567 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13568 case $host_cpu in
13569 hppa*64*|ia64*)
13570 # +Z the default
13571 ;;
13572 *)
13573 lt_prog_compiler_pic_CXX='+Z'
13574 ;;
13575 esac
13576 ;;
13577 *)
13578 ;;
13579 esac
13580 ;;
13581 interix*)
13582 # This is c89, which is MS Visual C++ (no shared libs)
13583 # Anyone wants to do a port?
13584 ;;
13585 irix5* | irix6* | nonstopux*)
13586 case $cc_basename in
13587 CC*)
13588 lt_prog_compiler_wl_CXX='-Wl,'
13589 lt_prog_compiler_static_CXX='-non_shared'
13590 # CC pic flag -KPIC is the default.
13591 ;;
13592 *)
13593 ;;
13594 esac
13595 ;;
13596 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13597 case $cc_basename in
13598 KCC*)
13599 # KAI C++ Compiler
13600 lt_prog_compiler_wl_CXX='--backend -Wl,'
13601 lt_prog_compiler_pic_CXX='-fPIC'
13602 ;;
13603 ecpc* )
13604 # old Intel C++ for x86_64 which still supported -KPIC.
13605 lt_prog_compiler_wl_CXX='-Wl,'
13606 lt_prog_compiler_pic_CXX='-KPIC'
13607 lt_prog_compiler_static_CXX='-static'
13608 ;;
13609 icpc* )
13610 # Intel C++, used to be incompatible with GCC.
13611 # ICC 10 doesn't accept -KPIC any more.
13612 lt_prog_compiler_wl_CXX='-Wl,'
13613 lt_prog_compiler_pic_CXX='-fPIC'
13614 lt_prog_compiler_static_CXX='-static'
13615 ;;
13616 pgCC* | pgcpp*)
13617 # Portland Group C++ compiler
13618 lt_prog_compiler_wl_CXX='-Wl,'
13619 lt_prog_compiler_pic_CXX='-fpic'
13620 lt_prog_compiler_static_CXX='-Bstatic'
13621 ;;
13622 cxx*)
13623 # Compaq C++
13624 # Make sure the PIC flag is empty. It appears that all Alpha
13625 # Linux and Compaq Tru64 Unix objects are PIC.
13626 lt_prog_compiler_pic_CXX=
13627 lt_prog_compiler_static_CXX='-non_shared'
13628 ;;
13629 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13630 # IBM XL 8.0, 9.0 on PPC and BlueGene
13631 lt_prog_compiler_wl_CXX='-Wl,'
13632 lt_prog_compiler_pic_CXX='-qpic'
13633 lt_prog_compiler_static_CXX='-qstaticlink'
13634 ;;
13635 *)
13636 case `$CC -V 2>&1 | sed 5q` in
13637 *Sun\ C*)
13638 # Sun C++ 5.9
13639 lt_prog_compiler_pic_CXX='-KPIC'
13640 lt_prog_compiler_static_CXX='-Bstatic'
13641 lt_prog_compiler_wl_CXX='-Qoption ld '
13642 ;;
13643 esac
13644 ;;
13645 esac
13646 ;;
13647 lynxos*)
13648 ;;
13649 m88k*)
13650 ;;
13651 mvs*)
13652 case $cc_basename in
13653 cxx*)
13654 lt_prog_compiler_pic_CXX='-W c,exportall'
13655 ;;
13656 *)
13657 ;;
13658 esac
13659 ;;
13660 netbsd*)
13661 ;;
13662 *qnx* | *nto*)
13663 # QNX uses GNU C++, but need to define -shared option too, otherwise
13664 # it will coredump.
13665 lt_prog_compiler_pic_CXX='-fPIC -shared'
13666 ;;
13667 osf3* | osf4* | osf5*)
13668 case $cc_basename in
13669 KCC*)
13670 lt_prog_compiler_wl_CXX='--backend -Wl,'
13671 ;;
13672 RCC*)
13673 # Rational C++ 2.4.1
13674 lt_prog_compiler_pic_CXX='-pic'
13675 ;;
13676 cxx*)
13677 # Digital/Compaq C++
13678 lt_prog_compiler_wl_CXX='-Wl,'
13679 # Make sure the PIC flag is empty. It appears that all Alpha
13680 # Linux and Compaq Tru64 Unix objects are PIC.
13681 lt_prog_compiler_pic_CXX=
13682 lt_prog_compiler_static_CXX='-non_shared'
13683 ;;
13684 *)
13685 ;;
13686 esac
13687 ;;
13688 psos*)
13689 ;;
13690 solaris*)
13691 case $cc_basename in
13692 CC*)
13693 # Sun C++ 4.2, 5.x and Centerline C++
13694 lt_prog_compiler_pic_CXX='-KPIC'
13695 lt_prog_compiler_static_CXX='-Bstatic'
13696 lt_prog_compiler_wl_CXX='-Qoption ld '
13697 ;;
13698 gcx*)
13699 # Green Hills C++ Compiler
13700 lt_prog_compiler_pic_CXX='-PIC'
13701 ;;
13702 *)
13703 ;;
13704 esac
13705 ;;
13706 sunos4*)
13707 case $cc_basename in
13708 CC*)
13709 # Sun C++ 4.x
13710 lt_prog_compiler_pic_CXX='-pic'
13711 lt_prog_compiler_static_CXX='-Bstatic'
13712 ;;
13713 lcc*)
13714 # Lucid
13715 lt_prog_compiler_pic_CXX='-pic'
13716 ;;
13717 *)
13718 ;;
13719 esac
13720 ;;
13721 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13722 case $cc_basename in
13723 CC*)
13724 lt_prog_compiler_wl_CXX='-Wl,'
13725 lt_prog_compiler_pic_CXX='-KPIC'
13726 lt_prog_compiler_static_CXX='-Bstatic'
13727 ;;
13728 esac
13729 ;;
13730 tandem*)
13731 case $cc_basename in
13732 NCC*)
13733 # NonStop-UX NCC 3.20
13734 lt_prog_compiler_pic_CXX='-KPIC'
13735 ;;
13736 *)
13737 ;;
13738 esac
13739 ;;
13740 vxworks*)
13741 ;;
13742 *)
13743 lt_prog_compiler_can_build_shared_CXX=no
13744 ;;
13745 esac
13746 fi
13747
13748 case $host_os in
13749 # For platforms which do not support PIC, -DPIC is meaningless:
13750 *djgpp*)
13751 lt_prog_compiler_pic_CXX=
13752 ;;
13753 *)
13754 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13755 ;;
13756 esac
13757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13758 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13759
13760
13761
13762 #
13763 # Check to make sure the PIC flag actually works.
13764 #
13765 if test -n "$lt_prog_compiler_pic_CXX"; then
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13767 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13768 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13769 $as_echo_n "(cached) " >&6
13770 else
13771 lt_cv_prog_compiler_pic_works_CXX=no
13772 ac_outfile=conftest.$ac_objext
13773 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13774 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13775 # Insert the option either (1) after the last *FLAGS variable, or
13776 # (2) before a word containing "conftest.", or (3) at the end.
13777 # Note that $ac_compile itself does not contain backslashes and begins
13778 # with a dollar sign (not a hyphen), so the echo should work correctly.
13779 # The option is referenced via a variable to avoid confusing sed.
13780 lt_compile=`echo "$ac_compile" | $SED \
13781 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13782 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13783 -e 's:$: $lt_compiler_flag:'`
13784 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13785 (eval "$lt_compile" 2>conftest.err)
13786 ac_status=$?
13787 cat conftest.err >&5
13788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13789 if (exit $ac_status) && test -s "$ac_outfile"; then
13790 # The compiler can only warn and ignore the option if not recognized
13791 # So say no if there are warnings other than the usual output.
13792 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13793 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13794 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13795 lt_cv_prog_compiler_pic_works_CXX=yes
13796 fi
13797 fi
13798 $RM conftest*
13799
13800 fi
13801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13802 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13803
13804 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13805 case $lt_prog_compiler_pic_CXX in
13806 "" | " "*) ;;
13807 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13808 esac
13809 else
13810 lt_prog_compiler_pic_CXX=
13811 lt_prog_compiler_can_build_shared_CXX=no
13812 fi
13813
13814 fi
13815
13816
13817
13818 #
13819 # Check to make sure the static flag actually works.
13820 #
13821 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13823 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13824 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13825 $as_echo_n "(cached) " >&6
13826 else
13827 lt_cv_prog_compiler_static_works_CXX=no
13828 save_LDFLAGS="$LDFLAGS"
13829 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13830 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13831 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13832 # The linker can only warn and ignore the option if not recognized
13833 # So say no if there are warnings
13834 if test -s conftest.err; then
13835 # Append any errors to the config.log.
13836 cat conftest.err 1>&5
13837 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13838 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13839 if diff conftest.exp conftest.er2 >/dev/null; then
13840 lt_cv_prog_compiler_static_works_CXX=yes
13841 fi
13842 else
13843 lt_cv_prog_compiler_static_works_CXX=yes
13844 fi
13845 fi
13846 $RM -r conftest*
13847 LDFLAGS="$save_LDFLAGS"
13848
13849 fi
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13851 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13852
13853 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13854 :
13855 else
13856 lt_prog_compiler_static_CXX=
13857 fi
13858
13859
13860
13861
13862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13863 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13864 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13865 $as_echo_n "(cached) " >&6
13866 else
13867 lt_cv_prog_compiler_c_o_CXX=no
13868 $RM -r conftest 2>/dev/null
13869 mkdir conftest
13870 cd conftest
13871 mkdir out
13872 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13873
13874 lt_compiler_flag="-o out/conftest2.$ac_objext"
13875 # Insert the option either (1) after the last *FLAGS variable, or
13876 # (2) before a word containing "conftest.", or (3) at the end.
13877 # Note that $ac_compile itself does not contain backslashes and begins
13878 # with a dollar sign (not a hyphen), so the echo should work correctly.
13879 lt_compile=`echo "$ac_compile" | $SED \
13880 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13881 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13882 -e 's:$: $lt_compiler_flag:'`
13883 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13884 (eval "$lt_compile" 2>out/conftest.err)
13885 ac_status=$?
13886 cat out/conftest.err >&5
13887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13888 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13889 then
13890 # The compiler can only warn and ignore the option if not recognized
13891 # So say no if there are warnings
13892 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13893 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13894 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13895 lt_cv_prog_compiler_c_o_CXX=yes
13896 fi
13897 fi
13898 chmod u+w . 2>&5
13899 $RM conftest*
13900 # SGI C++ compiler will create directory out/ii_files/ for
13901 # template instantiation
13902 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13903 $RM out/* && rmdir out
13904 cd ..
13905 $RM -r conftest
13906 $RM conftest*
13907
13908 fi
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13910 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13911
13912
13913
13914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13915 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13916 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13917 $as_echo_n "(cached) " >&6
13918 else
13919 lt_cv_prog_compiler_c_o_CXX=no
13920 $RM -r conftest 2>/dev/null
13921 mkdir conftest
13922 cd conftest
13923 mkdir out
13924 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13925
13926 lt_compiler_flag="-o out/conftest2.$ac_objext"
13927 # Insert the option either (1) after the last *FLAGS variable, or
13928 # (2) before a word containing "conftest.", or (3) at the end.
13929 # Note that $ac_compile itself does not contain backslashes and begins
13930 # with a dollar sign (not a hyphen), so the echo should work correctly.
13931 lt_compile=`echo "$ac_compile" | $SED \
13932 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13933 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13934 -e 's:$: $lt_compiler_flag:'`
13935 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13936 (eval "$lt_compile" 2>out/conftest.err)
13937 ac_status=$?
13938 cat out/conftest.err >&5
13939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13940 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13941 then
13942 # The compiler can only warn and ignore the option if not recognized
13943 # So say no if there are warnings
13944 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13945 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13946 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13947 lt_cv_prog_compiler_c_o_CXX=yes
13948 fi
13949 fi
13950 chmod u+w . 2>&5
13951 $RM conftest*
13952 # SGI C++ compiler will create directory out/ii_files/ for
13953 # template instantiation
13954 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13955 $RM out/* && rmdir out
13956 cd ..
13957 $RM -r conftest
13958 $RM conftest*
13959
13960 fi
13961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13962 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13963
13964
13965
13966
13967 hard_links="nottested"
13968 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13969 # do not overwrite the value of need_locks provided by the user
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
13971 $as_echo_n "checking if we can lock with hard links... " >&6; }
13972 hard_links=yes
13973 $RM conftest*
13974 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13975 touch conftest.a
13976 ln conftest.a conftest.b 2>&5 || hard_links=no
13977 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
13979 $as_echo "$hard_links" >&6; }
13980 if test "$hard_links" = no; then
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13982 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13983 need_locks=warn
13984 fi
13985 else
13986 need_locks=no
13987 fi
13988
13989
13990
13991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13992 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13993
13994 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13995 case $host_os in
13996 aix[4-9]*)
13997 # If we're using GNU nm, then we don't want the "-C" option.
13998 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13999 # Also, AIX nm treats weak defined symbols like other global defined
14000 # symbols, whereas GNU nm marks them as "W".
14001 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14002 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'
14003 else
14004 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'
14005 fi
14006 ;;
14007 pw32*)
14008 export_symbols_cmds_CXX="$ltdll_cmds"
14009 ;;
14010 cygwin* | mingw* | cegcc*)
14011 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'
14012 ;;
14013 *)
14014 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14015 ;;
14016 esac
14017 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14018
14019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14020 $as_echo "$ld_shlibs_CXX" >&6; }
14021 test "$ld_shlibs_CXX" = no && can_build_shared=no
14022
14023 with_gnu_ld_CXX=$with_gnu_ld
14024
14025
14026
14027
14028
14029
14030 #
14031 # Do we need to explicitly link libc?
14032 #
14033 case "x$archive_cmds_need_lc_CXX" in
14034 x|xyes)
14035 # Assume -lc should be added
14036 archive_cmds_need_lc_CXX=yes
14037
14038 if test "$enable_shared" = yes && test "$GCC" = yes; then
14039 case $archive_cmds_CXX in
14040 *'~'*)
14041 # FIXME: we may have to deal with multi-command sequences.
14042 ;;
14043 '$CC '*)
14044 # Test whether the compiler implicitly links with -lc since on some
14045 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14046 # to ld, don't add -lc before -lgcc.
14047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14048 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14049 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14050 $as_echo_n "(cached) " >&6
14051 else
14052 $RM conftest*
14053 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14054
14055 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14056 (eval $ac_compile) 2>&5
14057 ac_status=$?
14058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14059 test $ac_status = 0; } 2>conftest.err; then
14060 soname=conftest
14061 lib=conftest
14062 libobjs=conftest.$ac_objext
14063 deplibs=
14064 wl=$lt_prog_compiler_wl_CXX
14065 pic_flag=$lt_prog_compiler_pic_CXX
14066 compiler_flags=-v
14067 linker_flags=-v
14068 verstring=
14069 output_objdir=.
14070 libname=conftest
14071 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14072 allow_undefined_flag_CXX=
14073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14074 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14075 ac_status=$?
14076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14077 test $ac_status = 0; }
14078 then
14079 lt_cv_archive_cmds_need_lc_CXX=no
14080 else
14081 lt_cv_archive_cmds_need_lc_CXX=yes
14082 fi
14083 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14084 else
14085 cat conftest.err 1>&5
14086 fi
14087 $RM conftest*
14088
14089 fi
14090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14091 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14092 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14093 ;;
14094 esac
14095 fi
14096 ;;
14097 esac
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
14152
14153
14154
14155
14156
14157
14158
14159
14160
14161
14162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14163 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14164
14165 library_names_spec=
14166 libname_spec='lib$name'
14167 soname_spec=
14168 shrext_cmds=".so"
14169 postinstall_cmds=
14170 postuninstall_cmds=
14171 finish_cmds=
14172 finish_eval=
14173 shlibpath_var=
14174 shlibpath_overrides_runpath=unknown
14175 version_type=none
14176 dynamic_linker="$host_os ld.so"
14177 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14178 need_lib_prefix=unknown
14179 hardcode_into_libs=no
14180
14181 # when you set need_version to no, make sure it does not cause -set_version
14182 # flags to be left without arguments
14183 need_version=unknown
14184
14185 case $host_os in
14186 aix3*)
14187 version_type=linux
14188 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14189 shlibpath_var=LIBPATH
14190
14191 # AIX 3 has no versioning support, so we append a major version to the name.
14192 soname_spec='${libname}${release}${shared_ext}$major'
14193 ;;
14194
14195 aix[4-9]*)
14196 version_type=linux
14197 need_lib_prefix=no
14198 need_version=no
14199 hardcode_into_libs=yes
14200 if test "$host_cpu" = ia64; then
14201 # AIX 5 supports IA64
14202 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14203 shlibpath_var=LD_LIBRARY_PATH
14204 else
14205 # With GCC up to 2.95.x, collect2 would create an import file
14206 # for dependence libraries. The import file would start with
14207 # the line `#! .'. This would cause the generated library to
14208 # depend on `.', always an invalid library. This was fixed in
14209 # development snapshots of GCC prior to 3.0.
14210 case $host_os in
14211 aix4 | aix4.[01] | aix4.[01].*)
14212 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14213 echo ' yes '
14214 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14215 :
14216 else
14217 can_build_shared=no
14218 fi
14219 ;;
14220 esac
14221 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14222 # soname into executable. Probably we can add versioning support to
14223 # collect2, so additional links can be useful in future.
14224 if test "$aix_use_runtimelinking" = yes; then
14225 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14226 # instead of lib<name>.a to let people know that these are not
14227 # typical AIX shared libraries.
14228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14229 else
14230 # We preserve .a as extension for shared libraries through AIX4.2
14231 # and later when we are not doing run time linking.
14232 library_names_spec='${libname}${release}.a $libname.a'
14233 soname_spec='${libname}${release}${shared_ext}$major'
14234 fi
14235 shlibpath_var=LIBPATH
14236 fi
14237 ;;
14238
14239 amigaos*)
14240 case $host_cpu in
14241 powerpc)
14242 # Since July 2007 AmigaOS4 officially supports .so libraries.
14243 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14245 ;;
14246 m68k)
14247 library_names_spec='$libname.ixlibrary $libname.a'
14248 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14249 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'
14250 ;;
14251 esac
14252 ;;
14253
14254 beos*)
14255 library_names_spec='${libname}${shared_ext}'
14256 dynamic_linker="$host_os ld.so"
14257 shlibpath_var=LIBRARY_PATH
14258 ;;
14259
14260 bsdi[45]*)
14261 version_type=linux
14262 need_version=no
14263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14264 soname_spec='${libname}${release}${shared_ext}$major'
14265 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14266 shlibpath_var=LD_LIBRARY_PATH
14267 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14268 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14269 # the default ld.so.conf also contains /usr/contrib/lib and
14270 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14271 # libtool to hard-code these into programs
14272 ;;
14273
14274 cygwin* | mingw* | pw32* | cegcc*)
14275 version_type=windows
14276 shrext_cmds=".dll"
14277 need_version=no
14278 need_lib_prefix=no
14279
14280 case $GCC,$host_os in
14281 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14282 library_names_spec='$libname.dll.a'
14283 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14284 postinstall_cmds='base_file=`basename \${file}`~
14285 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14286 dldir=$destdir/`dirname \$dlpath`~
14287 test -d \$dldir || mkdir -p \$dldir~
14288 $install_prog $dir/$dlname \$dldir/$dlname~
14289 chmod a+x \$dldir/$dlname~
14290 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14291 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14292 fi'
14293 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14294 dlpath=$dir/\$dldll~
14295 $RM \$dlpath'
14296 shlibpath_overrides_runpath=yes
14297
14298 case $host_os in
14299 cygwin*)
14300 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14301 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14302
14303 ;;
14304 mingw* | cegcc*)
14305 # MinGW DLLs use traditional 'lib' prefix
14306 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14307 ;;
14308 pw32*)
14309 # pw32 DLLs use 'pw' prefix rather than 'lib'
14310 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14311 ;;
14312 esac
14313 ;;
14314
14315 *)
14316 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14317 ;;
14318 esac
14319 dynamic_linker='Win32 ld.exe'
14320 # FIXME: first we should search . and the directory the executable is in
14321 shlibpath_var=PATH
14322 ;;
14323
14324 darwin* | rhapsody*)
14325 dynamic_linker="$host_os dyld"
14326 version_type=darwin
14327 need_lib_prefix=no
14328 need_version=no
14329 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14330 soname_spec='${libname}${release}${major}$shared_ext'
14331 shlibpath_overrides_runpath=yes
14332 shlibpath_var=DYLD_LIBRARY_PATH
14333 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14334
14335 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14336 ;;
14337
14338 dgux*)
14339 version_type=linux
14340 need_lib_prefix=no
14341 need_version=no
14342 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14343 soname_spec='${libname}${release}${shared_ext}$major'
14344 shlibpath_var=LD_LIBRARY_PATH
14345 ;;
14346
14347 freebsd* | dragonfly*)
14348 # DragonFly does not have aout. When/if they implement a new
14349 # versioning mechanism, adjust this.
14350 if test -x /usr/bin/objformat; then
14351 objformat=`/usr/bin/objformat`
14352 else
14353 case $host_os in
14354 freebsd[23].*) objformat=aout ;;
14355 *) objformat=elf ;;
14356 esac
14357 fi
14358 version_type=freebsd-$objformat
14359 case $version_type in
14360 freebsd-elf*)
14361 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14362 need_version=no
14363 need_lib_prefix=no
14364 ;;
14365 freebsd-*)
14366 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14367 need_version=yes
14368 ;;
14369 esac
14370 shlibpath_var=LD_LIBRARY_PATH
14371 case $host_os in
14372 freebsd2.*)
14373 shlibpath_overrides_runpath=yes
14374 ;;
14375 freebsd3.[01]* | freebsdelf3.[01]*)
14376 shlibpath_overrides_runpath=yes
14377 hardcode_into_libs=yes
14378 ;;
14379 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14380 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14381 shlibpath_overrides_runpath=no
14382 hardcode_into_libs=yes
14383 ;;
14384 *) # from 4.6 on, and DragonFly
14385 shlibpath_overrides_runpath=yes
14386 hardcode_into_libs=yes
14387 ;;
14388 esac
14389 ;;
14390
14391 gnu*)
14392 version_type=linux
14393 need_lib_prefix=no
14394 need_version=no
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=LD_LIBRARY_PATH
14398 hardcode_into_libs=yes
14399 ;;
14400
14401 haiku*)
14402 version_type=linux
14403 need_lib_prefix=no
14404 need_version=no
14405 dynamic_linker="$host_os runtime_loader"
14406 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14407 soname_spec='${libname}${release}${shared_ext}$major'
14408 shlibpath_var=LIBRARY_PATH
14409 shlibpath_overrides_runpath=yes
14410 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14411 hardcode_into_libs=yes
14412 ;;
14413
14414 hpux9* | hpux10* | hpux11*)
14415 # Give a soname corresponding to the major version so that dld.sl refuses to
14416 # link against other versions.
14417 version_type=sunos
14418 need_lib_prefix=no
14419 need_version=no
14420 case $host_cpu in
14421 ia64*)
14422 shrext_cmds='.so'
14423 hardcode_into_libs=yes
14424 dynamic_linker="$host_os dld.so"
14425 shlibpath_var=LD_LIBRARY_PATH
14426 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14427 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14428 soname_spec='${libname}${release}${shared_ext}$major'
14429 if test "X$HPUX_IA64_MODE" = X32; then
14430 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14431 else
14432 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14433 fi
14434 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14435 ;;
14436 hppa*64*)
14437 shrext_cmds='.sl'
14438 hardcode_into_libs=yes
14439 dynamic_linker="$host_os dld.sl"
14440 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14441 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14445 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14446 ;;
14447 *)
14448 shrext_cmds='.sl'
14449 dynamic_linker="$host_os dld.sl"
14450 shlibpath_var=SHLIB_PATH
14451 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14453 soname_spec='${libname}${release}${shared_ext}$major'
14454 ;;
14455 esac
14456 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14457 postinstall_cmds='chmod 555 $lib'
14458 # or fails outright, so override atomically:
14459 install_override_mode=555
14460 ;;
14461
14462 interix[3-9]*)
14463 version_type=linux
14464 need_lib_prefix=no
14465 need_version=no
14466 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14467 soname_spec='${libname}${release}${shared_ext}$major'
14468 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14469 shlibpath_var=LD_LIBRARY_PATH
14470 shlibpath_overrides_runpath=no
14471 hardcode_into_libs=yes
14472 ;;
14473
14474 irix5* | irix6* | nonstopux*)
14475 case $host_os in
14476 nonstopux*) version_type=nonstopux ;;
14477 *)
14478 if test "$lt_cv_prog_gnu_ld" = yes; then
14479 version_type=linux
14480 else
14481 version_type=irix
14482 fi ;;
14483 esac
14484 need_lib_prefix=no
14485 need_version=no
14486 soname_spec='${libname}${release}${shared_ext}$major'
14487 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14488 case $host_os in
14489 irix5* | nonstopux*)
14490 libsuff= shlibsuff=
14491 ;;
14492 *)
14493 case $LD in # libtool.m4 will add one of these switches to LD
14494 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14495 libsuff= shlibsuff= libmagic=32-bit;;
14496 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14497 libsuff=32 shlibsuff=N32 libmagic=N32;;
14498 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14499 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14500 *) libsuff= shlibsuff= libmagic=never-match;;
14501 esac
14502 ;;
14503 esac
14504 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14505 shlibpath_overrides_runpath=no
14506 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14507 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14508 hardcode_into_libs=yes
14509 ;;
14510
14511 # No shared lib support for Linux oldld, aout, or coff.
14512 linux*oldld* | linux*aout* | linux*coff*)
14513 dynamic_linker=no
14514 ;;
14515
14516 # This must be Linux ELF.
14517 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14518 version_type=linux
14519 need_lib_prefix=no
14520 need_version=no
14521 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14522 soname_spec='${libname}${release}${shared_ext}$major'
14523 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14524 shlibpath_var=LD_LIBRARY_PATH
14525 shlibpath_overrides_runpath=no
14526
14527 # Some binutils ld are patched to set DT_RUNPATH
14528 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14529 $as_echo_n "(cached) " >&6
14530 else
14531 lt_cv_shlibpath_overrides_runpath=no
14532 save_LDFLAGS=$LDFLAGS
14533 save_libdir=$libdir
14534 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14535 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14536 if test x$gcc_no_link = xyes; then
14537 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14538 fi
14539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14540 /* end confdefs.h. */
14541
14542 int
14543 main ()
14544 {
14545
14546 ;
14547 return 0;
14548 }
14549 _ACEOF
14550 if ac_fn_cxx_try_link "$LINENO"; then :
14551 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14552 lt_cv_shlibpath_overrides_runpath=yes
14553 fi
14554 fi
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 LDFLAGS=$save_LDFLAGS
14558 libdir=$save_libdir
14559
14560 fi
14561
14562 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14563
14564 # This implies no fast_install, which is unacceptable.
14565 # Some rework will be needed to allow for fast_install
14566 # before this can be enabled.
14567 hardcode_into_libs=yes
14568
14569 # Append ld.so.conf contents to the search path
14570 if test -f /etc/ld.so.conf; then
14571 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' ' '`
14572 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14573 fi
14574
14575 # We used to test for /lib/ld.so.1 and disable shared libraries on
14576 # powerpc, because MkLinux only supported shared libraries with the
14577 # GNU dynamic linker. Since this was broken with cross compilers,
14578 # most powerpc-linux boxes support dynamic linking these days and
14579 # people can always --disable-shared, the test was removed, and we
14580 # assume the GNU/Linux dynamic linker is in use.
14581 dynamic_linker='GNU/Linux ld.so'
14582 ;;
14583
14584 netbsd*)
14585 version_type=sunos
14586 need_lib_prefix=no
14587 need_version=no
14588 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14589 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14590 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14591 dynamic_linker='NetBSD (a.out) ld.so'
14592 else
14593 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14594 soname_spec='${libname}${release}${shared_ext}$major'
14595 dynamic_linker='NetBSD ld.elf_so'
14596 fi
14597 shlibpath_var=LD_LIBRARY_PATH
14598 shlibpath_overrides_runpath=yes
14599 hardcode_into_libs=yes
14600 ;;
14601
14602 newsos6)
14603 version_type=linux
14604 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14605 shlibpath_var=LD_LIBRARY_PATH
14606 shlibpath_overrides_runpath=yes
14607 ;;
14608
14609 *nto* | *qnx*)
14610 version_type=qnx
14611 need_lib_prefix=no
14612 need_version=no
14613 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14614 soname_spec='${libname}${release}${shared_ext}$major'
14615 shlibpath_var=LD_LIBRARY_PATH
14616 shlibpath_overrides_runpath=no
14617 hardcode_into_libs=yes
14618 dynamic_linker='ldqnx.so'
14619 ;;
14620
14621 openbsd*)
14622 version_type=sunos
14623 sys_lib_dlsearch_path_spec="/usr/lib"
14624 need_lib_prefix=no
14625 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14626 case $host_os in
14627 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14628 *) need_version=no ;;
14629 esac
14630 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14631 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14632 shlibpath_var=LD_LIBRARY_PATH
14633 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14634 case $host_os in
14635 openbsd2.[89] | openbsd2.[89].*)
14636 shlibpath_overrides_runpath=no
14637 ;;
14638 *)
14639 shlibpath_overrides_runpath=yes
14640 ;;
14641 esac
14642 else
14643 shlibpath_overrides_runpath=yes
14644 fi
14645 ;;
14646
14647 os2*)
14648 libname_spec='$name'
14649 shrext_cmds=".dll"
14650 need_lib_prefix=no
14651 library_names_spec='$libname${shared_ext} $libname.a'
14652 dynamic_linker='OS/2 ld.exe'
14653 shlibpath_var=LIBPATH
14654 ;;
14655
14656 osf3* | osf4* | osf5*)
14657 version_type=osf
14658 need_lib_prefix=no
14659 need_version=no
14660 soname_spec='${libname}${release}${shared_ext}$major'
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662 shlibpath_var=LD_LIBRARY_PATH
14663 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14664 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14665 ;;
14666
14667 rdos*)
14668 dynamic_linker=no
14669 ;;
14670
14671 solaris*)
14672 version_type=linux
14673 need_lib_prefix=no
14674 need_version=no
14675 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14676 soname_spec='${libname}${release}${shared_ext}$major'
14677 shlibpath_var=LD_LIBRARY_PATH
14678 shlibpath_overrides_runpath=yes
14679 hardcode_into_libs=yes
14680 # ldd complains unless libraries are executable
14681 postinstall_cmds='chmod +x $lib'
14682 ;;
14683
14684 sunos4*)
14685 version_type=sunos
14686 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14687 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14688 shlibpath_var=LD_LIBRARY_PATH
14689 shlibpath_overrides_runpath=yes
14690 if test "$with_gnu_ld" = yes; then
14691 need_lib_prefix=no
14692 fi
14693 need_version=yes
14694 ;;
14695
14696 sysv4 | sysv4.3*)
14697 version_type=linux
14698 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14699 soname_spec='${libname}${release}${shared_ext}$major'
14700 shlibpath_var=LD_LIBRARY_PATH
14701 case $host_vendor in
14702 sni)
14703 shlibpath_overrides_runpath=no
14704 need_lib_prefix=no
14705 runpath_var=LD_RUN_PATH
14706 ;;
14707 siemens)
14708 need_lib_prefix=no
14709 ;;
14710 motorola)
14711 need_lib_prefix=no
14712 need_version=no
14713 shlibpath_overrides_runpath=no
14714 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14715 ;;
14716 esac
14717 ;;
14718
14719 sysv4*MP*)
14720 if test -d /usr/nec ;then
14721 version_type=linux
14722 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14723 soname_spec='$libname${shared_ext}.$major'
14724 shlibpath_var=LD_LIBRARY_PATH
14725 fi
14726 ;;
14727
14728 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14729 version_type=freebsd-elf
14730 need_lib_prefix=no
14731 need_version=no
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14735 shlibpath_overrides_runpath=yes
14736 hardcode_into_libs=yes
14737 if test "$with_gnu_ld" = yes; then
14738 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14739 else
14740 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14741 case $host_os in
14742 sco3.2v5*)
14743 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14744 ;;
14745 esac
14746 fi
14747 sys_lib_dlsearch_path_spec='/usr/lib'
14748 ;;
14749
14750 tpf*)
14751 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14752 version_type=linux
14753 need_lib_prefix=no
14754 need_version=no
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 shlibpath_var=LD_LIBRARY_PATH
14757 shlibpath_overrides_runpath=no
14758 hardcode_into_libs=yes
14759 ;;
14760
14761 uts4*)
14762 version_type=linux
14763 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14764 soname_spec='${libname}${release}${shared_ext}$major'
14765 shlibpath_var=LD_LIBRARY_PATH
14766 ;;
14767
14768 *)
14769 dynamic_linker=no
14770 ;;
14771 esac
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14773 $as_echo "$dynamic_linker" >&6; }
14774 test "$dynamic_linker" = no && can_build_shared=no
14775
14776 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14777 if test "$GCC" = yes; then
14778 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14779 fi
14780
14781 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14782 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14783 fi
14784 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14785 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14786 fi
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
14815
14816
14817
14818
14819
14820
14821
14822
14823
14824
14825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14826 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14827 hardcode_action_CXX=
14828 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14829 test -n "$runpath_var_CXX" ||
14830 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14831
14832 # We can hardcode non-existent directories.
14833 if test "$hardcode_direct_CXX" != no &&
14834 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14835 # have to relink, otherwise we might link with an installed library
14836 # when we should be linking with a yet-to-be-installed one
14837 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14838 test "$hardcode_minus_L_CXX" != no; then
14839 # Linking always hardcodes the temporary library directory.
14840 hardcode_action_CXX=relink
14841 else
14842 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14843 hardcode_action_CXX=immediate
14844 fi
14845 else
14846 # We cannot hardcode anything, or else we can only hardcode existing
14847 # directories.
14848 hardcode_action_CXX=unsupported
14849 fi
14850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14851 $as_echo "$hardcode_action_CXX" >&6; }
14852
14853 if test "$hardcode_action_CXX" = relink ||
14854 test "$inherit_rpath_CXX" = yes; then
14855 # Fast installation is not supported
14856 enable_fast_install=no
14857 elif test "$shlibpath_overrides_runpath" = yes ||
14858 test "$enable_shared" = no; then
14859 # Fast installation is not necessary
14860 enable_fast_install=needless
14861 fi
14862
14863
14864
14865
14866
14867
14868
14869 fi # test -n "$compiler"
14870
14871 CC=$lt_save_CC
14872 LDCXX=$LD
14873 LD=$lt_save_LD
14874 GCC=$lt_save_GCC
14875 with_gnu_ld=$lt_save_with_gnu_ld
14876 lt_cv_path_LDCXX=$lt_cv_path_LD
14877 lt_cv_path_LD=$lt_save_path_LD
14878 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14879 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14880 fi # test "$_lt_caught_CXX_error" != yes
14881
14882 ac_ext=c
14883 ac_cpp='$CPP $CPPFLAGS'
14884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14887
14888
14889
14890
14891
14892
14893
14894
14895
14896
14897
14898
14899
14900 ac_config_commands="$ac_config_commands libtool"
14901
14902
14903
14904
14905 # Only expand once:
14906
14907
14908
14909
14910
14911 case $host in
14912 *-cygwin* | *-mingw*)
14913 # 'host' will be top-level target in the case of a target lib,
14914 # we must compare to with_cross_host to decide if this is a native
14915 # or cross-compiler and select where to install dlls appropriately.
14916 if test -n "$with_cross_host" &&
14917 test x"$with_cross_host" != x"no"; then
14918 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14919 else
14920 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14921 fi
14922 ;;
14923 *)
14924 lt_host_flags=
14925 ;;
14926 esac
14927
14928
14929
14930
14931
14932
14933 if test "$enable_vtable_verify" = yes; then
14934 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14935 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14936 fi
14937
14938
14939 # libtool variables for C++ shared and position-independent compiles.
14940 #
14941 # Use glibcxx_lt_pic_flag to designate the automake variable
14942 # used to encapsulate the default libtool approach to creating objects
14943 # with position-independent code. Default: -prefer-pic.
14944 #
14945 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
14946 # creating shared objects. Default: -D_GLIBCXX_SHARED.
14947 #
14948 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
14949 # creating position-independent objects. This varies with the target
14950 # hardware and operating system, but is often: -DPIC -fPIC.
14951 if test "$enable_shared" = yes; then
14952 glibcxx_lt_pic_flag="-prefer-pic"
14953 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
14954 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
14955
14956 else
14957 glibcxx_lt_pic_flag=
14958 glibcxx_compiler_pic_flag=
14959 glibcxx_compiler_shared_flag=
14960 fi
14961
14962
14963
14964
14965 # Override the libtool's pic_flag and pic_mode.
14966 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
14967 # NB: this impacts --with-pic and --without-pic.
14968 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
14969 pic_mode='default'
14970
14971 # Eliminate -lstdc++ addition to postdeps for cross compiles.
14972 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
14973
14974 # Possibly disable most of the library.
14975 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14976 ## than just ignoring the results. Faster /and/ more correct, win win.
14977
14978 # Check whether --enable-hosted-libstdcxx was given.
14979 if test "${enable_hosted_libstdcxx+set}" = set; then :
14980 enableval=$enable_hosted_libstdcxx;
14981 else
14982 case "$host" in
14983 arm*-*-symbianelf*)
14984 enable_hosted_libstdcxx=no
14985 ;;
14986 *)
14987 enable_hosted_libstdcxx=yes
14988 ;;
14989 esac
14990 fi
14991
14992 if test "$enable_hosted_libstdcxx" = no; then
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
14994 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
14995 is_hosted=no
14996 hosted_define=0
14997 enable_abi_check=no
14998 enable_libstdcxx_pch=no
14999 else
15000 is_hosted=yes
15001 hosted_define=1
15002 fi
15003
15004
15005 cat >>confdefs.h <<_ACEOF
15006 #define _GLIBCXX_HOSTED $hosted_define
15007 _ACEOF
15008
15009
15010
15011 # Enable descriptive messages to standard output on termination.
15012
15013 # Check whether --enable-libstdcxx-verbose was given.
15014 if test "${enable_libstdcxx_verbose+set}" = set; then :
15015 enableval=$enable_libstdcxx_verbose;
15016 else
15017 enable_libstdcxx_verbose=yes
15018 fi
15019
15020 if test x"$enable_libstdcxx_verbose" = xyes; then
15021 verbose_define=1
15022 else
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15024 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15025 verbose_define=0
15026 fi
15027
15028 cat >>confdefs.h <<_ACEOF
15029 #define _GLIBCXX_VERBOSE $verbose_define
15030 _ACEOF
15031
15032
15033
15034 # Enable compiler support that doesn't require linking.
15035
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exception model to use" >&5
15037 $as_echo_n "checking for exception model to use... " >&6; }
15038
15039 ac_ext=cpp
15040 ac_cpp='$CXXCPP $CPPFLAGS'
15041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15044
15045 # Check whether --enable-sjlj-exceptions was given.
15046 if test "${enable_sjlj_exceptions+set}" = set; then :
15047 enableval=$enable_sjlj_exceptions;
15048 case "$enableval" in
15049 yes|no|auto) ;;
15050 *) as_fn_error "Unknown argument to enable/disable sjlj-exceptions" "$LINENO" 5 ;;
15051 esac
15052
15053 else
15054 enable_sjlj_exceptions=auto
15055 fi
15056
15057
15058
15059 if test $enable_sjlj_exceptions = auto; then
15060 # Botheration. Now we've got to detect the exception model. Link tests
15061 # against libgcc.a are problematic since we've not been given proper -L
15062 # bits for single-tree newlib and libgloss.
15063 #
15064 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
15065 cat > conftest.$ac_ext << EOF
15066 #line 15066 "configure"
15067 struct S { ~S(); };
15068 void bar();
15069 void foo()
15070 {
15071 S s;
15072 bar();
15073 }
15074 EOF
15075 old_CXXFLAGS="$CXXFLAGS"
15076 CXXFLAGS=-S
15077 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15078 (eval $ac_compile) 2>&5
15079 ac_status=$?
15080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15081 test $ac_status = 0; }; then
15082 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
15083 enable_sjlj_exceptions=yes
15084 elif grep _Unwind_SjLj_Register conftest.s >/dev/null 2>&1 ; then
15085 enable_sjlj_exceptions=yes
15086 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
15087 enable_sjlj_exceptions=no
15088 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
15089 enable_sjlj_exceptions=no
15090 fi
15091 fi
15092 CXXFLAGS="$old_CXXFLAGS"
15093 rm -f conftest*
15094 fi
15095
15096 # This is a tad weird, for hysterical raisins. We have to map
15097 # enable/disable to two different models.
15098 case $enable_sjlj_exceptions in
15099 yes)
15100
15101 $as_echo "#define _GLIBCXX_SJLJ_EXCEPTIONS 1" >>confdefs.h
15102
15103 ac_exception_model_name=sjlj
15104 ;;
15105 no)
15106 ac_exception_model_name="call frame"
15107 ;;
15108 *)
15109 as_fn_error "unable to detect exception model" "$LINENO" 5
15110 ;;
15111 esac
15112 ac_ext=c
15113 ac_cpp='$CPP $CPPFLAGS'
15114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15117
15118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_exception_model_name" >&5
15119 $as_echo "$ac_exception_model_name" >&6; }
15120
15121
15122 # Check whether --enable-libstdcxx-pch was given.
15123 if test "${enable_libstdcxx_pch+set}" = set; then :
15124 enableval=$enable_libstdcxx_pch;
15125 case "$enableval" in
15126 yes|no) ;;
15127 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15128 esac
15129
15130 else
15131 enable_libstdcxx_pch=$is_hosted
15132 fi
15133
15134
15135 if test $enable_libstdcxx_pch = yes; then
15136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15137 $as_echo_n "checking for compiler with PCH support... " >&6; }
15138 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15139 $as_echo_n "(cached) " >&6
15140 else
15141 ac_save_CXXFLAGS="$CXXFLAGS"
15142 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15143
15144 ac_ext=cpp
15145 ac_cpp='$CXXCPP $CPPFLAGS'
15146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15149
15150 echo '#include <math.h>' > conftest.h
15151 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15152 -o conftest.h.gch 1>&5 2>&1 &&
15153 echo '#error "pch failed"' > conftest.h &&
15154 echo '#include "conftest.h"' > conftest.cc &&
15155 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15156 then
15157 glibcxx_cv_prog_CXX_pch=yes
15158 else
15159 glibcxx_cv_prog_CXX_pch=no
15160 fi
15161 rm -f conftest*
15162 CXXFLAGS=$ac_save_CXXFLAGS
15163 ac_ext=c
15164 ac_cpp='$CPP $CPPFLAGS'
15165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15168
15169
15170 fi
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15172 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15173 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15174 fi
15175
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15177 $as_echo_n "checking for enabled PCH... " >&6; }
15178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15179 $as_echo "$enable_libstdcxx_pch" >&6; }
15180
15181
15182 if test $enable_libstdcxx_pch = yes; then
15183 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15184 else
15185 glibcxx_PCHFLAGS=""
15186 fi
15187
15188
15189
15190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15191 $as_echo_n "checking for thread model used by GCC... " >&6; }
15192 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15194 $as_echo "$target_thread_file" >&6; }
15195
15196 case $target_thread_file in
15197 aix) thread_header=config/rs6000/gthr-aix.h ;;
15198 dce) thread_header=config/pa/gthr-dce.h ;;
15199 lynx) thread_header=config/gthr-lynx.h ;;
15200 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15201 posix) thread_header=gthr-posix.h ;;
15202 rtems) thread_header=config/gthr-rtems.h ;;
15203 single) thread_header=gthr-single.h ;;
15204 tpf) thread_header=config/s390/gthr-tpf.h ;;
15205 vxworks) thread_header=config/gthr-vxworks.h ;;
15206 win32) thread_header=config/i386/gthr-win32.h ;;
15207 esac
15208
15209
15210
15211
15212
15213 ac_ext=cpp
15214 ac_cpp='$CXXCPP $CPPFLAGS'
15215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15218
15219 old_CXXFLAGS="$CXXFLAGS"
15220
15221 # Do link tests if possible, instead asm tests, limited to some platforms
15222 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15223 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15224 atomic_builtins_link_tests=no
15225 if test x$gcc_no_link != xyes; then
15226 # Can do link tests. Limit to some tested platforms
15227 case "$host" in
15228 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15229 atomic_builtins_link_tests=yes
15230 ;;
15231 esac
15232 fi
15233
15234 if test x$atomic_builtins_link_tests = xyes; then
15235
15236 # Do link tests.
15237
15238 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15239
15240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15241 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15242 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15243 $as_echo_n "(cached) " >&6
15244 else
15245
15246 if test x$gcc_no_link = xyes; then
15247 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15248 fi
15249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15250 /* end confdefs.h. */
15251
15252 int
15253 main ()
15254 {
15255 typedef bool atomic_type;
15256 atomic_type c1;
15257 atomic_type c2;
15258 atomic_type c3(0);
15259 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15260 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15261 __ATOMIC_RELAXED);
15262 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15263 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15264
15265 ;
15266 return 0;
15267 }
15268 _ACEOF
15269 if ac_fn_cxx_try_link "$LINENO"; then :
15270 glibcxx_cv_atomic_bool=yes
15271 else
15272 glibcxx_cv_atomic_bool=no
15273 fi
15274 rm -f core conftest.err conftest.$ac_objext \
15275 conftest$ac_exeext conftest.$ac_ext
15276
15277 fi
15278
15279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15280 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15281
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15283 $as_echo_n "checking for atomic builtins for short... " >&6; }
15284 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15287
15288 if test x$gcc_no_link = xyes; then
15289 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15290 fi
15291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15292 /* end confdefs.h. */
15293
15294 int
15295 main ()
15296 {
15297 typedef short atomic_type;
15298 atomic_type c1;
15299 atomic_type c2;
15300 atomic_type c3(0);
15301 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15302 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15303 __ATOMIC_RELAXED);
15304 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15305 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15306
15307 ;
15308 return 0;
15309 }
15310 _ACEOF
15311 if ac_fn_cxx_try_link "$LINENO"; then :
15312 glibcxx_cv_atomic_short=yes
15313 else
15314 glibcxx_cv_atomic_short=no
15315 fi
15316 rm -f core conftest.err conftest.$ac_objext \
15317 conftest$ac_exeext conftest.$ac_ext
15318
15319 fi
15320
15321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15322 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15323
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15325 $as_echo_n "checking for atomic builtins for int... " >&6; }
15326 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15327 $as_echo_n "(cached) " >&6
15328 else
15329
15330 if test x$gcc_no_link = xyes; then
15331 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15332 fi
15333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15334 /* end confdefs.h. */
15335
15336 int
15337 main ()
15338 {
15339 typedef int atomic_type;
15340 atomic_type c1;
15341 atomic_type c2;
15342 atomic_type c3(0);
15343 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15344 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15345 __ATOMIC_RELAXED);
15346 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15347 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15348
15349 ;
15350 return 0;
15351 }
15352 _ACEOF
15353 if ac_fn_cxx_try_link "$LINENO"; then :
15354 glibcxx_cv_atomic_int=yes
15355 else
15356 glibcxx_cv_atomic_int=no
15357 fi
15358 rm -f core conftest.err conftest.$ac_objext \
15359 conftest$ac_exeext conftest.$ac_ext
15360
15361 fi
15362
15363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15364 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15365
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15367 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15368 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15369 $as_echo_n "(cached) " >&6
15370 else
15371
15372 if test x$gcc_no_link = xyes; then
15373 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15374 fi
15375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15376 /* end confdefs.h. */
15377
15378 int
15379 main ()
15380 {
15381 typedef long long atomic_type;
15382 atomic_type c1;
15383 atomic_type c2;
15384 atomic_type c3(0);
15385 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15386 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15387 __ATOMIC_RELAXED);
15388 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15389 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15390
15391 ;
15392 return 0;
15393 }
15394 _ACEOF
15395 if ac_fn_cxx_try_link "$LINENO"; then :
15396 glibcxx_cv_atomic_long_long=yes
15397 else
15398 glibcxx_cv_atomic_long_long=no
15399 fi
15400 rm -f core conftest.err conftest.$ac_objext \
15401 conftest$ac_exeext conftest.$ac_ext
15402
15403 fi
15404
15405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15406 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15407
15408 else
15409
15410 # Do asm tests.
15411
15412 # Compile unoptimized.
15413 CXXFLAGS='-O0 -S'
15414
15415 # Fake what AC_TRY_COMPILE does.
15416
15417 cat > conftest.$ac_ext << EOF
15418 #line 15418 "configure"
15419 int main()
15420 {
15421 typedef bool atomic_type;
15422 atomic_type c1;
15423 atomic_type c2;
15424 atomic_type c3(0);
15425 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15426 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15427 __ATOMIC_RELAXED);
15428 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15429 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15430
15431 return 0;
15432 }
15433 EOF
15434
15435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15436 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15438 (eval $ac_compile) 2>&5
15439 ac_status=$?
15440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15441 test $ac_status = 0; }; then
15442 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15443 glibcxx_cv_atomic_bool=no
15444 else
15445 glibcxx_cv_atomic_bool=yes
15446 fi
15447 fi
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15449 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15450 rm -f conftest*
15451
15452 cat > conftest.$ac_ext << EOF
15453 #line 15453 "configure"
15454 int main()
15455 {
15456 typedef short atomic_type;
15457 atomic_type c1;
15458 atomic_type c2;
15459 atomic_type c3(0);
15460 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15461 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15462 __ATOMIC_RELAXED);
15463 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15464 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15465
15466 return 0;
15467 }
15468 EOF
15469
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15471 $as_echo_n "checking for atomic builtins for short... " >&6; }
15472 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15473 (eval $ac_compile) 2>&5
15474 ac_status=$?
15475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15476 test $ac_status = 0; }; then
15477 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15478 glibcxx_cv_atomic_short=no
15479 else
15480 glibcxx_cv_atomic_short=yes
15481 fi
15482 fi
15483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15484 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15485 rm -f conftest*
15486
15487 cat > conftest.$ac_ext << EOF
15488 #line 15488 "configure"
15489 int main()
15490 {
15491 // NB: _Atomic_word not necessarily int.
15492 typedef int atomic_type;
15493 atomic_type c1;
15494 atomic_type c2;
15495 atomic_type c3(0);
15496 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15497 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15498 __ATOMIC_RELAXED);
15499 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15500 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15501
15502 return 0;
15503 }
15504 EOF
15505
15506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15507 $as_echo_n "checking for atomic builtins for int... " >&6; }
15508 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15509 (eval $ac_compile) 2>&5
15510 ac_status=$?
15511 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15512 test $ac_status = 0; }; then
15513 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15514 glibcxx_cv_atomic_int=no
15515 else
15516 glibcxx_cv_atomic_int=yes
15517 fi
15518 fi
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15520 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15521 rm -f conftest*
15522
15523 cat > conftest.$ac_ext << EOF
15524 #line 15524 "configure"
15525 int main()
15526 {
15527 typedef long long atomic_type;
15528 atomic_type c1;
15529 atomic_type c2;
15530 atomic_type c3(0);
15531 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15532 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15533 __ATOMIC_RELAXED);
15534 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15535 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15536
15537 return 0;
15538 }
15539 EOF
15540
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15542 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15543 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15544 (eval $ac_compile) 2>&5
15545 ac_status=$?
15546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15547 test $ac_status = 0; }; then
15548 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15549 glibcxx_cv_atomic_long_long=no
15550 else
15551 glibcxx_cv_atomic_long_long=yes
15552 fi
15553 fi
15554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15555 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15556 rm -f conftest*
15557
15558 fi
15559
15560 CXXFLAGS="$old_CXXFLAGS"
15561 ac_ext=c
15562 ac_cpp='$CPP $CPPFLAGS'
15563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15566
15567
15568 # Set atomicity_dir to builtins if all but the long long test above passes.
15569 if test $glibcxx_cv_atomic_bool = yes \
15570 && test $glibcxx_cv_atomic_short = yes \
15571 && test $glibcxx_cv_atomic_int = yes; then
15572
15573 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15574
15575 atomicity_dir=cpu/generic/atomicity_builtins
15576 fi
15577
15578 # If still generic, set to mutex.
15579 if test $atomicity_dir = "cpu/generic" ; then
15580 atomicity_dir=cpu/generic/atomicity_mutex
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15582 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15583 if test "x$target_thread_file" = xsingle; then
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15585 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15587 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15588 else
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15590 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15592 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15593 fi
15594 fi
15595
15596
15597
15598
15599 # Fake what AC_TRY_COMPILE does, without linking as this is
15600 # unnecessary for this test.
15601
15602 cat > conftest.$ac_ext << EOF
15603 #line 15603 "configure"
15604 int main()
15605 {
15606 _Decimal32 d1;
15607 _Decimal64 d2;
15608 _Decimal128 d3;
15609 return 0;
15610 }
15611 EOF
15612
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15614 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15615 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15616 (eval $ac_compile) 2>&5
15617 ac_status=$?
15618 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15619 test $ac_status = 0; }; then
15620
15621 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15622
15623 enable_dfp=yes
15624 else
15625 enable_dfp=no
15626 fi
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15628 $as_echo "$enable_dfp" >&6; }
15629 rm -f conftest*
15630
15631
15632
15633
15634 ac_ext=cpp
15635 ac_cpp='$CXXCPP $CPPFLAGS'
15636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15639
15640
15641 # Fake what AC_TRY_COMPILE does, without linking as this is
15642 # unnecessary for this test.
15643
15644 cat > conftest.$ac_ext << EOF
15645 #line 15645 "configure"
15646 template<typename T1, typename T2>
15647 struct same
15648 { typedef T2 type; };
15649
15650 template<typename T>
15651 struct same<T, T>;
15652
15653 int main()
15654 {
15655 typename same<long, __int128>::type i1;
15656 typename same<long long, __int128>::type i2;
15657 }
15658 EOF
15659
15660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15661 $as_echo_n "checking for __int128... " >&6; }
15662 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15663 (eval $ac_compile) 2>&5
15664 ac_status=$?
15665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15666 test $ac_status = 0; }; then
15667
15668 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15669
15670 enable_int128=yes
15671 else
15672 enable_int128=no
15673 fi
15674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15675 $as_echo "$enable_int128" >&6; }
15676 rm -f conftest*
15677
15678 cat > conftest.$ac_ext << EOF
15679 #line 15679 "configure"
15680 template<typename T1, typename T2>
15681 struct same
15682 { typedef T2 type; };
15683
15684 template<typename T>
15685 struct same<T, T>;
15686
15687 int main()
15688 {
15689 typename same<double, __float128>::type f1;
15690 typename same<long double, __float128>::type f2;
15691 }
15692 EOF
15693
15694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15695 $as_echo_n "checking for __float128... " >&6; }
15696 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15697 (eval $ac_compile) 2>&5
15698 ac_status=$?
15699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15700 test $ac_status = 0; }; then
15701
15702 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15703
15704 enable_float128=yes
15705 else
15706 enable_float128=no
15707 fi
15708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15709 $as_echo "$enable_float128" >&6; }
15710 rm -f conftest*
15711
15712 ac_ext=c
15713 ac_cpp='$CPP $CPPFLAGS'
15714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15717
15718
15719 if test "$enable_float128" = yes; then
15720 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15721 fi
15722
15723 # Checks for compiler support that doesn't require linking.
15724
15725 # All these tests are for C++; save the language and the compiler flags.
15726 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15727 # found in GLIBCXX_CONFIGURE.
15728
15729 ac_ext=cpp
15730 ac_cpp='$CXXCPP $CPPFLAGS'
15731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15734
15735 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15736 ac_save_CXXFLAGS="$CXXFLAGS"
15737
15738 # Check for maintainer-mode bits.
15739 if test x"$USE_MAINTAINER_MODE" = xno; then
15740 WERROR=''
15741 else
15742 WERROR='-Werror'
15743 fi
15744
15745 # Check for -ffunction-sections -fdata-sections
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15747 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15748 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15750 /* end confdefs.h. */
15751 int foo; void bar() { };
15752 int
15753 main ()
15754 {
15755
15756 ;
15757 return 0;
15758 }
15759 _ACEOF
15760 if ac_fn_cxx_try_compile "$LINENO"; then :
15761 ac_fdsections=yes
15762 else
15763 ac_fdsections=no
15764 fi
15765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15766 if test "$ac_test_CXXFLAGS" = set; then
15767 CXXFLAGS="$ac_save_CXXFLAGS"
15768 else
15769 # this is the suspicious part
15770 CXXFLAGS=''
15771 fi
15772 if test x"$ac_fdsections" = x"yes"; then
15773 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15774 fi
15775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15776 $as_echo "$ac_fdsections" >&6; }
15777
15778 ac_ext=c
15779 ac_cpp='$CPP $CPPFLAGS'
15780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15783
15784
15785
15786
15787
15788 # Enable all the variable C++ runtime options that don't require linking.
15789
15790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15791 $as_echo_n "checking for underlying I/O to use... " >&6; }
15792 # Check whether --enable-cstdio was given.
15793 if test "${enable_cstdio+set}" = set; then :
15794 enableval=$enable_cstdio;
15795 case "$enableval" in
15796 stdio) ;;
15797 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15798 esac
15799
15800 else
15801 enable_cstdio=stdio
15802 fi
15803
15804
15805
15806 # Now that libio has been removed, you can have any color you want as long
15807 # as it's black. This is one big no-op until other packages are added, but
15808 # showing the framework never hurts.
15809 case ${enable_cstdio} in
15810 stdio)
15811 CSTDIO_H=config/io/c_io_stdio.h
15812 BASIC_FILE_H=config/io/basic_file_stdio.h
15813 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15815 $as_echo "stdio" >&6; }
15816 ;;
15817 esac
15818
15819
15820
15821
15822
15823
15824 # Check whether --enable-clocale was given.
15825 if test "${enable_clocale+set}" = set; then :
15826 enableval=$enable_clocale;
15827 case "$enableval" in
15828 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15829 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15830 esac
15831
15832 else
15833 enable_clocale=auto
15834 fi
15835
15836
15837
15838 # Deal with gettext issues. Default to not using it (=no) until we detect
15839 # support for it later. Let the user turn it off via --e/d, but let that
15840 # default to on for easier handling.
15841 USE_NLS=no
15842 # Check whether --enable-nls was given.
15843 if test "${enable_nls+set}" = set; then :
15844 enableval=$enable_nls;
15845 else
15846 enable_nls=yes
15847 fi
15848
15849
15850 # Either a known package, or "auto"
15851 if test $enable_clocale = no || test $enable_clocale = yes; then
15852 enable_clocale=auto
15853 fi
15854 enable_clocale_flag=$enable_clocale
15855
15856 # Probe for locale model to use if none specified.
15857 # Default to "generic".
15858 if test $enable_clocale_flag = auto; then
15859 case ${target_os} in
15860 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15861 enable_clocale_flag=gnu
15862 ;;
15863 darwin* | freebsd*)
15864 enable_clocale_flag=darwin
15865 ;;
15866 dragonfly*)
15867 enable_clocale_flag=dragonfly
15868 ;;
15869 openbsd*)
15870 enable_clocale_flag=newlib
15871 ;;
15872 *)
15873 if test x"$with_newlib" = x"yes"; then
15874 enable_clocale_flag=newlib
15875 else
15876 enable_clocale_flag=generic
15877 fi
15878 ;;
15879 esac
15880 fi
15881
15882 # Sanity check model, and test for special functionality.
15883 if test $enable_clocale_flag = gnu; then
15884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15885 /* end confdefs.h. */
15886
15887 #include <features.h>
15888 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15889 _GLIBCXX_ok
15890 #endif
15891
15892 _ACEOF
15893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15894 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15895 enable_clocale_flag=gnu
15896 else
15897 enable_clocale_flag=generic
15898 fi
15899 rm -f conftest*
15900
15901
15902 # Set it to scream when it hurts.
15903 ac_save_CFLAGS="$CFLAGS"
15904 CFLAGS="-Wimplicit-function-declaration -Werror"
15905
15906 # Use strxfrm_l if available.
15907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15908 /* end confdefs.h. */
15909 #define _GNU_SOURCE 1
15910 #include <string.h>
15911 #include <locale.h>
15912 int
15913 main ()
15914 {
15915 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15916 ;
15917 return 0;
15918 }
15919 _ACEOF
15920 if ac_fn_c_try_compile "$LINENO"; then :
15921
15922 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15923
15924 fi
15925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15926
15927 # Use strerror_l if available.
15928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15929 /* end confdefs.h. */
15930 #define _GNU_SOURCE 1
15931 #include <string.h>
15932 #include <locale.h>
15933 int
15934 main ()
15935 {
15936 __locale_t loc; strerror_l(5, loc);
15937 ;
15938 return 0;
15939 }
15940 _ACEOF
15941 if ac_fn_c_try_compile "$LINENO"; then :
15942
15943 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15944
15945 fi
15946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15947
15948 CFLAGS="$ac_save_CFLAGS"
15949 fi
15950
15951 # Perhaps use strerror_r if available, and strerror_l isn't.
15952 ac_save_CFLAGS="$CFLAGS"
15953 CFLAGS="-Wimplicit-function-declaration -Werror"
15954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15955 /* end confdefs.h. */
15956 #define _GNU_SOURCE 1
15957 #include <string.h>
15958 #include <locale.h>
15959 int
15960 main ()
15961 {
15962 char s[128]; strerror_r(5, s, 128);
15963 ;
15964 return 0;
15965 }
15966 _ACEOF
15967 if ac_fn_c_try_compile "$LINENO"; then :
15968
15969 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15970
15971 fi
15972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15973 CFLAGS="$ac_save_CFLAGS"
15974
15975 # Set configure bits for specified locale package
15976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15977 $as_echo_n "checking for C locale to use... " >&6; }
15978 case ${enable_clocale_flag} in
15979 generic)
15980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15981 $as_echo "generic" >&6; }
15982
15983 CLOCALE_H=config/locale/generic/c_locale.h
15984 CLOCALE_CC=config/locale/generic/c_locale.cc
15985 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15986 CCOLLATE_CC=config/locale/generic/collate_members.cc
15987 CCTYPE_CC=config/locale/generic/ctype_members.cc
15988 CMESSAGES_H=config/locale/generic/messages_members.h
15989 CMESSAGES_CC=config/locale/generic/messages_members.cc
15990 CMONEY_CC=config/locale/generic/monetary_members.cc
15991 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15992 CTIME_H=config/locale/generic/time_members.h
15993 CTIME_CC=config/locale/generic/time_members.cc
15994 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15995 ;;
15996 darwin)
15997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15998 $as_echo "darwin or freebsd" >&6; }
15999
16000 CLOCALE_H=config/locale/generic/c_locale.h
16001 CLOCALE_CC=config/locale/generic/c_locale.cc
16002 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16003 CCOLLATE_CC=config/locale/generic/collate_members.cc
16004 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16005 CMESSAGES_H=config/locale/generic/messages_members.h
16006 CMESSAGES_CC=config/locale/generic/messages_members.cc
16007 CMONEY_CC=config/locale/generic/monetary_members.cc
16008 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16009 CTIME_H=config/locale/generic/time_members.h
16010 CTIME_CC=config/locale/generic/time_members.cc
16011 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16012 ;;
16013
16014 dragonfly)
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
16016 $as_echo "dragonfly" >&6; }
16017
16018 CLOCALE_H=config/locale/generic/c_locale.h
16019 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16020 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16021 CCOLLATE_CC=config/locale/generic/collate_members.cc
16022 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16023 CMESSAGES_H=config/locale/generic/messages_members.h
16024 CMESSAGES_CC=config/locale/generic/messages_members.cc
16025 CMONEY_CC=config/locale/generic/monetary_members.cc
16026 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16027 CTIME_H=config/locale/generic/time_members.h
16028 CTIME_CC=config/locale/generic/time_members.cc
16029 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16030 ;;
16031
16032 gnu)
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16034 $as_echo "gnu" >&6; }
16035
16036 # Declare intention to use gettext, and add support for specific
16037 # languages.
16038 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16039 ALL_LINGUAS="de fr"
16040
16041 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16042 # Extract the first word of "msgfmt", so it can be a program name with args.
16043 set dummy msgfmt; ac_word=$2
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16045 $as_echo_n "checking for $ac_word... " >&6; }
16046 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16047 $as_echo_n "(cached) " >&6
16048 else
16049 if test -n "$check_msgfmt"; then
16050 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16051 else
16052 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16053 for as_dir in $PATH
16054 do
16055 IFS=$as_save_IFS
16056 test -z "$as_dir" && as_dir=.
16057 for ac_exec_ext in '' $ac_executable_extensions; do
16058 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16059 ac_cv_prog_check_msgfmt="yes"
16060 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16061 break 2
16062 fi
16063 done
16064 done
16065 IFS=$as_save_IFS
16066
16067 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16068 fi
16069 fi
16070 check_msgfmt=$ac_cv_prog_check_msgfmt
16071 if test -n "$check_msgfmt"; then
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16073 $as_echo "$check_msgfmt" >&6; }
16074 else
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16076 $as_echo "no" >&6; }
16077 fi
16078
16079
16080 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16081 USE_NLS=yes
16082 fi
16083 # Export the build objects.
16084 for ling in $ALL_LINGUAS; do \
16085 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16086 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16087 done
16088
16089
16090
16091 CLOCALE_H=config/locale/gnu/c_locale.h
16092 CLOCALE_CC=config/locale/gnu/c_locale.cc
16093 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16094 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16095 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16096 CMESSAGES_H=config/locale/gnu/messages_members.h
16097 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16098 CMONEY_CC=config/locale/gnu/monetary_members.cc
16099 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16100 CTIME_H=config/locale/gnu/time_members.h
16101 CTIME_CC=config/locale/gnu/time_members.cc
16102 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16103 ;;
16104 ieee_1003.1-2001)
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16106 $as_echo "IEEE 1003.1" >&6; }
16107
16108 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16109 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16110 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16111 CCOLLATE_CC=config/locale/generic/collate_members.cc
16112 CCTYPE_CC=config/locale/generic/ctype_members.cc
16113 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16114 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16115 CMONEY_CC=config/locale/generic/monetary_members.cc
16116 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16117 CTIME_H=config/locale/generic/time_members.h
16118 CTIME_CC=config/locale/generic/time_members.cc
16119 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16120 ;;
16121 newlib)
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16123 $as_echo "newlib" >&6; }
16124
16125 CLOCALE_H=config/locale/generic/c_locale.h
16126 CLOCALE_CC=config/locale/generic/c_locale.cc
16127 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16128 CCOLLATE_CC=config/locale/generic/collate_members.cc
16129 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16130 CMESSAGES_H=config/locale/generic/messages_members.h
16131 CMESSAGES_CC=config/locale/generic/messages_members.cc
16132 CMONEY_CC=config/locale/generic/monetary_members.cc
16133 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16134 CTIME_H=config/locale/generic/time_members.h
16135 CTIME_CC=config/locale/generic/time_members.cc
16136 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16137 ;;
16138 esac
16139
16140 # This is where the testsuite looks for locale catalogs, using the
16141 # -DLOCALEDIR define during testsuite compilation.
16142 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16143
16144
16145 # A standalone libintl (e.g., GNU libintl) may be in use.
16146 if test $USE_NLS = yes; then
16147 for ac_header in libintl.h
16148 do :
16149 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16150 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16151 cat >>confdefs.h <<_ACEOF
16152 #define HAVE_LIBINTL_H 1
16153 _ACEOF
16154
16155 else
16156 USE_NLS=no
16157 fi
16158
16159 done
16160
16161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16162 $as_echo_n "checking for library containing gettext... " >&6; }
16163 if test "${ac_cv_search_gettext+set}" = set; then :
16164 $as_echo_n "(cached) " >&6
16165 else
16166 ac_func_search_save_LIBS=$LIBS
16167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16168 /* end confdefs.h. */
16169
16170 /* Override any GCC internal prototype to avoid an error.
16171 Use char because int might match the return type of a GCC
16172 builtin and then its argument prototype would still apply. */
16173 #ifdef __cplusplus
16174 extern "C"
16175 #endif
16176 char gettext ();
16177 int
16178 main ()
16179 {
16180 return gettext ();
16181 ;
16182 return 0;
16183 }
16184 _ACEOF
16185 for ac_lib in '' intl; do
16186 if test -z "$ac_lib"; then
16187 ac_res="none required"
16188 else
16189 ac_res=-l$ac_lib
16190 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16191 fi
16192 if test x$gcc_no_link = xyes; then
16193 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16194 fi
16195 if ac_fn_c_try_link "$LINENO"; then :
16196 ac_cv_search_gettext=$ac_res
16197 fi
16198 rm -f core conftest.err conftest.$ac_objext \
16199 conftest$ac_exeext
16200 if test "${ac_cv_search_gettext+set}" = set; then :
16201 break
16202 fi
16203 done
16204 if test "${ac_cv_search_gettext+set}" = set; then :
16205
16206 else
16207 ac_cv_search_gettext=no
16208 fi
16209 rm conftest.$ac_ext
16210 LIBS=$ac_func_search_save_LIBS
16211 fi
16212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16213 $as_echo "$ac_cv_search_gettext" >&6; }
16214 ac_res=$ac_cv_search_gettext
16215 if test "$ac_res" != no; then :
16216 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16217
16218 else
16219 USE_NLS=no
16220 fi
16221
16222 fi
16223 if test $USE_NLS = yes; then
16224
16225 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16226
16227 fi
16228
16229
16230
16231
16232
16233
16234
16235
16236
16237
16238
16239
16240
16241
16242
16243
16244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16245 $as_echo_n "checking for std::allocator base class... " >&6; }
16246 # Check whether --enable-libstdcxx-allocator was given.
16247 if test "${enable_libstdcxx_allocator+set}" = set; then :
16248 enableval=$enable_libstdcxx_allocator;
16249 case "$enableval" in
16250 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16251 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16252 esac
16253
16254 else
16255 enable_libstdcxx_allocator=auto
16256 fi
16257
16258
16259
16260 # If they didn't use this option switch, or if they specified --enable
16261 # with no specific model, we'll have to look for one. If they
16262 # specified --disable (???), do likewise.
16263 if test $enable_libstdcxx_allocator = no ||
16264 test $enable_libstdcxx_allocator = yes;
16265 then
16266 enable_libstdcxx_allocator=auto
16267 fi
16268
16269 # Either a known package, or "auto". Auto implies the default choice
16270 # for a particular platform.
16271 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16272
16273 # Probe for host-specific support if no specific model is specified.
16274 # Default to "new".
16275 if test $enable_libstdcxx_allocator_flag = auto; then
16276 case ${target_os} in
16277 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16278 enable_libstdcxx_allocator_flag=new
16279 ;;
16280 *)
16281 enable_libstdcxx_allocator_flag=new
16282 ;;
16283 esac
16284 fi
16285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16286 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16287
16288
16289 # Set configure bits for specified locale package
16290 case ${enable_libstdcxx_allocator_flag} in
16291 bitmap)
16292 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16293 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16294 ;;
16295 malloc)
16296 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16297 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16298 ;;
16299 mt)
16300 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16301 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16302 ;;
16303 new)
16304 ALLOCATOR_H=config/allocator/new_allocator_base.h
16305 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16306 ;;
16307 pool)
16308 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16309 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16310 ;;
16311 esac
16312
16313
16314
16315
16316
16317 # Check whether --enable-cheaders was given.
16318 if test "${enable_cheaders+set}" = set; then :
16319 enableval=$enable_cheaders;
16320 case "$enableval" in
16321 c|c_std|c_global) ;;
16322 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16323 esac
16324
16325 else
16326 enable_cheaders=$c_model
16327 fi
16328
16329
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16331 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16332
16333 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16334
16335 # Allow overrides to configure.host here.
16336 if test $enable_cheaders = c_global; then
16337 c_compatibility=yes
16338 fi
16339
16340
16341
16342
16343
16344
16345
16346 # Check whether --enable-long-long was given.
16347 if test "${enable_long_long+set}" = set; then :
16348 enableval=$enable_long_long;
16349 case "$enableval" in
16350 yes|no) ;;
16351 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16352 esac
16353
16354 else
16355 enable_long_long=yes
16356 fi
16357
16358
16359 if test $enable_long_long = yes; then
16360
16361 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16362
16363 fi
16364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16365 $as_echo_n "checking for enabled long long specializations... " >&6; }
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16367 $as_echo "$enable_long_long" >&6; }
16368
16369
16370 # Check whether --enable-wchar_t was given.
16371 if test "${enable_wchar_t+set}" = set; then :
16372 enableval=$enable_wchar_t;
16373 case "$enableval" in
16374 yes|no) ;;
16375 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16376 esac
16377
16378 else
16379 enable_wchar_t=yes
16380 fi
16381
16382
16383
16384 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16385 for ac_header in wchar.h
16386 do :
16387 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16388 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16389 cat >>confdefs.h <<_ACEOF
16390 #define HAVE_WCHAR_H 1
16391 _ACEOF
16392 ac_has_wchar_h=yes
16393 else
16394 ac_has_wchar_h=no
16395 fi
16396
16397 done
16398
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16400 $as_echo_n "checking for mbstate_t... " >&6; }
16401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16402 /* end confdefs.h. */
16403 #include <wchar.h>
16404 int
16405 main ()
16406 {
16407 mbstate_t teststate;
16408 ;
16409 return 0;
16410 }
16411 _ACEOF
16412 if ac_fn_c_try_compile "$LINENO"; then :
16413 have_mbstate_t=yes
16414 else
16415 have_mbstate_t=no
16416 fi
16417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16419 $as_echo "$have_mbstate_t" >&6; }
16420 if test x"$have_mbstate_t" = xyes; then
16421
16422 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16423
16424 fi
16425
16426 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16427 # ac_has_wchar_h.
16428 for ac_header in wctype.h
16429 do :
16430 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16431 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16432 cat >>confdefs.h <<_ACEOF
16433 #define HAVE_WCTYPE_H 1
16434 _ACEOF
16435 ac_has_wctype_h=yes
16436 else
16437 ac_has_wctype_h=no
16438 fi
16439
16440 done
16441
16442
16443 if test x"$enable_wchar_t" = x"yes"; then
16444
16445
16446 ac_ext=cpp
16447 ac_cpp='$CXXCPP $CPPFLAGS'
16448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16451
16452
16453 if test x"$ac_has_wchar_h" = xyes &&
16454 test x"$ac_has_wctype_h" = xyes; then
16455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16456 /* end confdefs.h. */
16457 #include <wchar.h>
16458 #include <stddef.h>
16459 wint_t i;
16460 long l = WEOF;
16461 long j = WCHAR_MIN;
16462 long k = WCHAR_MAX;
16463 namespace test
16464 {
16465 using ::btowc;
16466 using ::fgetwc;
16467 using ::fgetws;
16468 using ::fputwc;
16469 using ::fputws;
16470 using ::fwide;
16471 using ::fwprintf;
16472 using ::fwscanf;
16473 using ::getwc;
16474 using ::getwchar;
16475 using ::mbrlen;
16476 using ::mbrtowc;
16477 using ::mbsinit;
16478 using ::mbsrtowcs;
16479 using ::putwc;
16480 using ::putwchar;
16481 using ::swprintf;
16482 using ::swscanf;
16483 using ::ungetwc;
16484 using ::vfwprintf;
16485 using ::vswprintf;
16486 using ::vwprintf;
16487 using ::wcrtomb;
16488 using ::wcscat;
16489 using ::wcschr;
16490 using ::wcscmp;
16491 using ::wcscoll;
16492 using ::wcscpy;
16493 using ::wcscspn;
16494 using ::wcsftime;
16495 using ::wcslen;
16496 using ::wcsncat;
16497 using ::wcsncmp;
16498 using ::wcsncpy;
16499 using ::wcspbrk;
16500 using ::wcsrchr;
16501 using ::wcsrtombs;
16502 using ::wcsspn;
16503 using ::wcsstr;
16504 using ::wcstod;
16505 using ::wcstok;
16506 using ::wcstol;
16507 using ::wcstoul;
16508 using ::wcsxfrm;
16509 using ::wctob;
16510 using ::wmemchr;
16511 using ::wmemcmp;
16512 using ::wmemcpy;
16513 using ::wmemmove;
16514 using ::wmemset;
16515 using ::wprintf;
16516 using ::wscanf;
16517 }
16518
16519 int
16520 main ()
16521 {
16522
16523 ;
16524 return 0;
16525 }
16526 _ACEOF
16527 if ac_fn_cxx_try_compile "$LINENO"; then :
16528
16529 else
16530 enable_wchar_t=no
16531 fi
16532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16533 else
16534 enable_wchar_t=no
16535 fi
16536
16537 ac_ext=c
16538 ac_cpp='$CPP $CPPFLAGS'
16539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16542
16543 fi
16544
16545 if test x"$enable_wchar_t" = x"yes"; then
16546
16547 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16548
16549 fi
16550
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16552 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16554 $as_echo "$enable_wchar_t" >&6; }
16555
16556
16557
16558 # Check whether --enable-c99 was given.
16559 if test "${enable_c99+set}" = set; then :
16560 enableval=$enable_c99;
16561 case "$enableval" in
16562 yes|no) ;;
16563 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16564 esac
16565
16566 else
16567 enable_c99=yes
16568 fi
16569
16570
16571
16572 if test x"$enable_c99" = x"yes"; then
16573
16574
16575 ac_ext=cpp
16576 ac_cpp='$CXXCPP $CPPFLAGS'
16577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16580
16581
16582 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16583 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16584 # spuriously enabled.
16585 # Long term, -std=c++0x could be even better, could manage to explicitly
16586 # request C99 facilities to the underlying C headers.
16587 ac_save_CXXFLAGS="$CXXFLAGS"
16588 CXXFLAGS="$CXXFLAGS -std=c++98"
16589 ac_save_LIBS="$LIBS"
16590 ac_save_gcc_no_link="$gcc_no_link"
16591
16592 if test x$gcc_no_link != xyes; then
16593 # Use -fno-exceptions to that the C driver can link these tests without
16594 # hitting undefined references to personality routines.
16595 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16597 $as_echo_n "checking for sin in -lm... " >&6; }
16598 if test "${ac_cv_lib_m_sin+set}" = set; then :
16599 $as_echo_n "(cached) " >&6
16600 else
16601 ac_check_lib_save_LIBS=$LIBS
16602 LIBS="-lm $LIBS"
16603 if test x$gcc_no_link = xyes; then
16604 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16605 fi
16606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16607 /* end confdefs.h. */
16608
16609 /* Override any GCC internal prototype to avoid an error.
16610 Use char because int might match the return type of a GCC
16611 builtin and then its argument prototype would still apply. */
16612 #ifdef __cplusplus
16613 extern "C"
16614 #endif
16615 char sin ();
16616 int
16617 main ()
16618 {
16619 return sin ();
16620 ;
16621 return 0;
16622 }
16623 _ACEOF
16624 if ac_fn_cxx_try_link "$LINENO"; then :
16625 ac_cv_lib_m_sin=yes
16626 else
16627 ac_cv_lib_m_sin=no
16628 fi
16629 rm -f core conftest.err conftest.$ac_objext \
16630 conftest$ac_exeext conftest.$ac_ext
16631 LIBS=$ac_check_lib_save_LIBS
16632 fi
16633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16634 $as_echo "$ac_cv_lib_m_sin" >&6; }
16635 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16636
16637 LIBS="$LIBS -lm"
16638
16639 else
16640
16641 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16642 gcc_no_link=yes
16643
16644 fi
16645
16646 fi
16647
16648 # Check for the existence of <math.h> functions used if C99 is enabled.
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16650 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16651 if test "${glibcxx_cv_c99_math+set}" = set; then :
16652 $as_echo_n "(cached) " >&6
16653 else
16654
16655 if test x$gcc_no_link = xyes; then
16656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16657 /* end confdefs.h. */
16658 #include <math.h>
16659 volatile double d1, d2;
16660 volatile int i;
16661 int
16662 main ()
16663 {
16664 i = fpclassify(d1);
16665 i = isfinite(d1);
16666 i = isinf(d1);
16667 i = isnan(d1);
16668 i = isnormal(d1);
16669 i = signbit(d1);
16670 i = isgreater(d1, d2);
16671 i = isgreaterequal(d1, d2);
16672 i = isless(d1, d2);
16673 i = islessequal(d1, d2);
16674 i = islessgreater(d1, d2);
16675 i = islessgreater(d1, d2);
16676 i = isunordered(d1, d2);
16677
16678 ;
16679 return 0;
16680 }
16681 _ACEOF
16682 if ac_fn_cxx_try_compile "$LINENO"; then :
16683 glibcxx_cv_c99_math=yes
16684 else
16685 glibcxx_cv_c99_math=no
16686 fi
16687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16688 else
16689 if test x$gcc_no_link = xyes; then
16690 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16691 fi
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16694 #include <math.h>
16695 volatile double d1, d2;
16696 volatile int i;
16697 int
16698 main ()
16699 {
16700 i = fpclassify(d1);
16701 i = isfinite(d1);
16702 i = isinf(d1);
16703 i = isnan(d1);
16704 i = isnormal(d1);
16705 i = signbit(d1);
16706 i = isgreater(d1, d2);
16707 i = isgreaterequal(d1, d2);
16708 i = isless(d1, d2);
16709 i = islessequal(d1, d2);
16710 i = islessgreater(d1, d2);
16711 i = islessgreater(d1, d2);
16712 i = isunordered(d1, d2);
16713
16714 ;
16715 return 0;
16716 }
16717 _ACEOF
16718 if ac_fn_cxx_try_link "$LINENO"; then :
16719 glibcxx_cv_c99_math=yes
16720 else
16721 glibcxx_cv_c99_math=no
16722 fi
16723 rm -f core conftest.err conftest.$ac_objext \
16724 conftest$ac_exeext conftest.$ac_ext
16725 fi
16726
16727 fi
16728
16729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16730 $as_echo "$glibcxx_cv_c99_math" >&6; }
16731 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16732
16733 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16734
16735 fi
16736
16737 # Check for the existence of <complex.h> complex math functions.
16738 # This is necessary even though libstdc++ uses the builtin versions
16739 # of these functions, because if the builtin cannot be used, a reference
16740 # to the library function is emitted.
16741 for ac_header in tgmath.h
16742 do :
16743 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16744 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16745 cat >>confdefs.h <<_ACEOF
16746 #define HAVE_TGMATH_H 1
16747 _ACEOF
16748 ac_has_tgmath_h=yes
16749 else
16750 ac_has_tgmath_h=no
16751 fi
16752
16753 done
16754
16755 for ac_header in complex.h
16756 do :
16757 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16758 if test "x$ac_cv_header_complex_h" = x""yes; then :
16759 cat >>confdefs.h <<_ACEOF
16760 #define HAVE_COMPLEX_H 1
16761 _ACEOF
16762 ac_has_complex_h=yes
16763 else
16764 ac_has_complex_h=no
16765 fi
16766
16767 done
16768
16769 glibcxx_cv_c99_complex=no;
16770 if test x"$ac_has_complex_h" = x"yes"; then
16771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16772 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16773 if test x$gcc_no_link = xyes; then
16774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16775 /* end confdefs.h. */
16776 #include <complex.h>
16777 typedef __complex__ float float_type;
16778 typedef __complex__ double double_type;
16779 typedef __complex__ long double ld_type;
16780 volatile float_type tmpf;
16781 volatile double_type tmpd;
16782 volatile ld_type tmpld;
16783 volatile float f;
16784 volatile double d;
16785 volatile long double ld;
16786 int
16787 main ()
16788 {
16789 f = cabsf(tmpf);
16790 f = cargf(tmpf);
16791 tmpf = ccosf(tmpf);
16792 tmpf = ccoshf(tmpf);
16793 tmpf = cexpf(tmpf);
16794 tmpf = clogf(tmpf);
16795 tmpf = csinf(tmpf);
16796 tmpf = csinhf(tmpf);
16797 tmpf = csqrtf(tmpf);
16798 tmpf = ctanf(tmpf);
16799 tmpf = ctanhf(tmpf);
16800 tmpf = cpowf(tmpf, tmpf);
16801 tmpf = cprojf(tmpf);
16802 d = cabs(tmpd);
16803 d = carg(tmpd);
16804 tmpd = ccos(tmpd);
16805 tmpd = ccosh(tmpd);
16806 tmpd = cexp(tmpd);
16807 tmpd = clog(tmpd);
16808 tmpd = csin(tmpd);
16809 tmpd = csinh(tmpd);
16810 tmpd = csqrt(tmpd);
16811 tmpd = ctan(tmpd);
16812 tmpd = ctanh(tmpd);
16813 tmpd = cpow(tmpd, tmpd);
16814 tmpd = cproj(tmpd);
16815 ld = cabsl(tmpld);
16816 ld = cargl(tmpld);
16817 tmpld = ccosl(tmpld);
16818 tmpld = ccoshl(tmpld);
16819 tmpld = cexpl(tmpld);
16820 tmpld = clogl(tmpld);
16821 tmpld = csinl(tmpld);
16822 tmpld = csinhl(tmpld);
16823 tmpld = csqrtl(tmpld);
16824 tmpld = ctanl(tmpld);
16825 tmpld = ctanhl(tmpld);
16826 tmpld = cpowl(tmpld, tmpld);
16827 tmpld = cprojl(tmpld);
16828
16829 ;
16830 return 0;
16831 }
16832 _ACEOF
16833 if ac_fn_cxx_try_compile "$LINENO"; then :
16834 glibcxx_cv_c99_complex=yes
16835 else
16836 glibcxx_cv_c99_complex=no
16837 fi
16838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16839 else
16840 if test x$gcc_no_link = xyes; then
16841 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16842 fi
16843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16844 /* end confdefs.h. */
16845 #include <complex.h>
16846 typedef __complex__ float float_type;
16847 typedef __complex__ double double_type;
16848 typedef __complex__ long double ld_type;
16849 volatile float_type tmpf;
16850 volatile double_type tmpd;
16851 volatile ld_type tmpld;
16852 volatile float f;
16853 volatile double d;
16854 volatile long double ld;
16855 int
16856 main ()
16857 {
16858 f = cabsf(tmpf);
16859 f = cargf(tmpf);
16860 tmpf = ccosf(tmpf);
16861 tmpf = ccoshf(tmpf);
16862 tmpf = cexpf(tmpf);
16863 tmpf = clogf(tmpf);
16864 tmpf = csinf(tmpf);
16865 tmpf = csinhf(tmpf);
16866 tmpf = csqrtf(tmpf);
16867 tmpf = ctanf(tmpf);
16868 tmpf = ctanhf(tmpf);
16869 tmpf = cpowf(tmpf, tmpf);
16870 tmpf = cprojf(tmpf);
16871 d = cabs(tmpd);
16872 d = carg(tmpd);
16873 tmpd = ccos(tmpd);
16874 tmpd = ccosh(tmpd);
16875 tmpd = cexp(tmpd);
16876 tmpd = clog(tmpd);
16877 tmpd = csin(tmpd);
16878 tmpd = csinh(tmpd);
16879 tmpd = csqrt(tmpd);
16880 tmpd = ctan(tmpd);
16881 tmpd = ctanh(tmpd);
16882 tmpd = cpow(tmpd, tmpd);
16883 tmpd = cproj(tmpd);
16884 ld = cabsl(tmpld);
16885 ld = cargl(tmpld);
16886 tmpld = ccosl(tmpld);
16887 tmpld = ccoshl(tmpld);
16888 tmpld = cexpl(tmpld);
16889 tmpld = clogl(tmpld);
16890 tmpld = csinl(tmpld);
16891 tmpld = csinhl(tmpld);
16892 tmpld = csqrtl(tmpld);
16893 tmpld = ctanl(tmpld);
16894 tmpld = ctanhl(tmpld);
16895 tmpld = cpowl(tmpld, tmpld);
16896 tmpld = cprojl(tmpld);
16897
16898 ;
16899 return 0;
16900 }
16901 _ACEOF
16902 if ac_fn_cxx_try_link "$LINENO"; then :
16903 glibcxx_cv_c99_complex=yes
16904 else
16905 glibcxx_cv_c99_complex=no
16906 fi
16907 rm -f core conftest.err conftest.$ac_objext \
16908 conftest$ac_exeext conftest.$ac_ext
16909 fi
16910 fi
16911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16912 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16913 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16914
16915 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16916
16917 fi
16918
16919 # Check for the existence in <stdio.h> of vscanf, et. al.
16920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16921 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16922 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16923 $as_echo_n "(cached) " >&6
16924 else
16925
16926 if test x$gcc_no_link = xyes; then
16927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16929 #include <stdio.h>
16930 #include <stdarg.h>
16931 void foo(char* fmt, ...)
16932 {
16933 va_list args; va_start(args, fmt);
16934 vfscanf(stderr, "%i", args);
16935 vscanf("%i", args);
16936 vsnprintf(fmt, 0, "%i", args);
16937 vsscanf(fmt, "%i", args);
16938 snprintf(fmt, 0, "%i");
16939 }
16940 int
16941 main ()
16942 {
16943
16944 ;
16945 return 0;
16946 }
16947 _ACEOF
16948 if ac_fn_cxx_try_compile "$LINENO"; then :
16949 glibcxx_cv_c99_stdio=yes
16950 else
16951 glibcxx_cv_c99_stdio=no
16952 fi
16953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16954 else
16955 if test x$gcc_no_link = xyes; then
16956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16957 fi
16958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16959 /* end confdefs.h. */
16960 #include <stdio.h>
16961 #include <stdarg.h>
16962 void foo(char* fmt, ...)
16963 {
16964 va_list args; va_start(args, fmt);
16965 vfscanf(stderr, "%i", args);
16966 vscanf("%i", args);
16967 vsnprintf(fmt, 0, "%i", args);
16968 vsscanf(fmt, "%i", args);
16969 snprintf(fmt, 0, "%i");
16970 }
16971 int
16972 main ()
16973 {
16974
16975 ;
16976 return 0;
16977 }
16978 _ACEOF
16979 if ac_fn_cxx_try_link "$LINENO"; then :
16980 glibcxx_cv_c99_stdio=yes
16981 else
16982 glibcxx_cv_c99_stdio=no
16983 fi
16984 rm -f core conftest.err conftest.$ac_objext \
16985 conftest$ac_exeext conftest.$ac_ext
16986 fi
16987
16988 fi
16989
16990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16991 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16992
16993 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16995 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16996 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16997 $as_echo_n "(cached) " >&6
16998 else
16999
17000 if test x$gcc_no_link = xyes; then
17001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17002 /* end confdefs.h. */
17003 #include <stdlib.h>
17004 volatile float f;
17005 volatile long double ld;
17006 volatile unsigned long long ll;
17007 lldiv_t mydivt;
17008 int
17009 main ()
17010 {
17011 char* tmp;
17012 f = strtof("gnu", &tmp);
17013 ld = strtold("gnu", &tmp);
17014 ll = strtoll("gnu", &tmp, 10);
17015 ll = strtoull("gnu", &tmp, 10);
17016 ll = llabs(10);
17017 mydivt = lldiv(10,1);
17018 ll = mydivt.quot;
17019 ll = mydivt.rem;
17020 ll = atoll("10");
17021 _Exit(0);
17022
17023 ;
17024 return 0;
17025 }
17026 _ACEOF
17027 if ac_fn_cxx_try_compile "$LINENO"; then :
17028 glibcxx_cv_c99_stdlib=yes
17029 else
17030 glibcxx_cv_c99_stdlib=no
17031 fi
17032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17033 else
17034 if test x$gcc_no_link = xyes; then
17035 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17036 fi
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17039 #include <stdlib.h>
17040 volatile float f;
17041 volatile long double ld;
17042 volatile unsigned long long ll;
17043 lldiv_t mydivt;
17044 int
17045 main ()
17046 {
17047 char* tmp;
17048 f = strtof("gnu", &tmp);
17049 ld = strtold("gnu", &tmp);
17050 ll = strtoll("gnu", &tmp, 10);
17051 ll = strtoull("gnu", &tmp, 10);
17052 ll = llabs(10);
17053 mydivt = lldiv(10,1);
17054 ll = mydivt.quot;
17055 ll = mydivt.rem;
17056 ll = atoll("10");
17057 _Exit(0);
17058
17059 ;
17060 return 0;
17061 }
17062 _ACEOF
17063 if ac_fn_cxx_try_link "$LINENO"; then :
17064 glibcxx_cv_c99_stdlib=yes
17065 else
17066 glibcxx_cv_c99_stdlib=no
17067 fi
17068 rm -f core conftest.err conftest.$ac_objext \
17069 conftest$ac_exeext conftest.$ac_ext
17070 fi
17071
17072 fi
17073
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17075 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17076
17077 # Check for the existence in <wchar.h> of wcstold, etc.
17078 glibcxx_cv_c99_wchar=no;
17079 if test x"$ac_has_wchar_h" = xyes &&
17080 test x"$ac_has_wctype_h" = xyes; then
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17082 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test
17087 {
17088 using ::wcstold;
17089 using ::wcstoll;
17090 using ::wcstoull;
17091 }
17092
17093 int
17094 main ()
17095 {
17096
17097 ;
17098 return 0;
17099 }
17100 _ACEOF
17101 if ac_fn_cxx_try_compile "$LINENO"; then :
17102 glibcxx_cv_c99_wchar=yes
17103 else
17104 glibcxx_cv_c99_wchar=no
17105 fi
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17107
17108 # Checks for wide character functions that may not be present.
17109 # Injection of these is wrapped with guard macros.
17110 # NB: only put functions here, instead of immediately above, if
17111 # absolutely necessary.
17112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17113 /* end confdefs.h. */
17114 #include <wchar.h>
17115 namespace test { using ::vfwscanf; }
17116 int
17117 main ()
17118 {
17119
17120 ;
17121 return 0;
17122 }
17123 _ACEOF
17124 if ac_fn_cxx_try_compile "$LINENO"; then :
17125
17126 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17127
17128 fi
17129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17133 #include <wchar.h>
17134 namespace test { using ::vswscanf; }
17135 int
17136 main ()
17137 {
17138
17139 ;
17140 return 0;
17141 }
17142 _ACEOF
17143 if ac_fn_cxx_try_compile "$LINENO"; then :
17144
17145 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17146
17147 fi
17148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17149
17150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17151 /* end confdefs.h. */
17152 #include <wchar.h>
17153 namespace test { using ::vwscanf; }
17154 int
17155 main ()
17156 {
17157
17158 ;
17159 return 0;
17160 }
17161 _ACEOF
17162 if ac_fn_cxx_try_compile "$LINENO"; then :
17163
17164 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17165
17166 fi
17167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17168
17169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17170 /* end confdefs.h. */
17171 #include <wchar.h>
17172 namespace test { using ::wcstof; }
17173 int
17174 main ()
17175 {
17176
17177 ;
17178 return 0;
17179 }
17180 _ACEOF
17181 if ac_fn_cxx_try_compile "$LINENO"; then :
17182
17183 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17184
17185 fi
17186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17187
17188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17189 /* end confdefs.h. */
17190 #include <wctype.h>
17191 int
17192 main ()
17193 {
17194 wint_t t; int i = iswblank(t);
17195 ;
17196 return 0;
17197 }
17198 _ACEOF
17199 if ac_fn_cxx_try_compile "$LINENO"; then :
17200
17201 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17202
17203 fi
17204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17205
17206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17207 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17208 fi
17209
17210 # Option parsed, now set things appropriately.
17211 if test x"$glibcxx_cv_c99_math" = x"no" ||
17212 test x"$glibcxx_cv_c99_complex" = x"no" ||
17213 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17214 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17215 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17216 enable_c99=no;
17217 else
17218
17219 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17220
17221 fi
17222
17223 gcc_no_link="$ac_save_gcc_no_link"
17224 LIBS="$ac_save_LIBS"
17225 CXXFLAGS="$ac_save_CXXFLAGS"
17226 ac_ext=c
17227 ac_cpp='$CPP $CPPFLAGS'
17228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17231
17232 fi
17233
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17235 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17237 $as_echo "$enable_c99" >&6; }
17238
17239
17240 # Check whether --enable-concept-checks was given.
17241 if test "${enable_concept_checks+set}" = set; then :
17242 enableval=$enable_concept_checks;
17243 case "$enableval" in
17244 yes|no) ;;
17245 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17246 esac
17247
17248 else
17249 enable_concept_checks=no
17250 fi
17251
17252
17253 if test $enable_concept_checks = yes; then
17254
17255 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17256
17257 fi
17258
17259
17260 # Check whether --enable-libstdcxx-debug-flags was given.
17261 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17262 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17263 xno | x) enable_libstdcxx_debug_flags= ;;
17264 x-*) ;;
17265 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17266 esac
17267 else
17268 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17269 fi
17270
17271
17272
17273 # Option parsed, now set things appropriately
17274 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17275
17276
17277 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17278 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17279
17280
17281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17282 $as_echo_n "checking for additional debug build... " >&6; }
17283 # Check whether --enable-libstdcxx-debug was given.
17284 if test "${enable_libstdcxx_debug+set}" = set; then :
17285 enableval=$enable_libstdcxx_debug;
17286 case "$enableval" in
17287 yes|no) ;;
17288 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17289 esac
17290
17291 else
17292 enable_libstdcxx_debug=no
17293 fi
17294
17295
17296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17297 $as_echo "$enable_libstdcxx_debug" >&6; }
17298
17299
17300
17301
17302 enable_parallel=no;
17303
17304 # See if configured libgomp/omp.h exists. (libgomp may be in
17305 # noconfigdirs but not explicitly disabled.)
17306 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17307 enable_parallel=yes;
17308 else
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17310 $as_echo "$as_me: target-libgomp not built" >&6;}
17311 fi
17312
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17314 $as_echo_n "checking for parallel mode support... " >&6; }
17315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17316 $as_echo "$enable_parallel" >&6; }
17317
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17319 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17320 # Check whether --enable-cxx-flags was given.
17321 if test "${enable_cxx_flags+set}" = set; then :
17322 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17323 xno | x) enable_cxx_flags= ;;
17324 x-*) ;;
17325 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17326 esac
17327 else
17328 enable_cxx_flags=
17329 fi
17330
17331
17332
17333 # Run through flags (either default or command-line) and set anything
17334 # extra (e.g., #defines) that must accompany particular g++ options.
17335 if test -n "$enable_cxx_flags"; then
17336 for f in $enable_cxx_flags; do
17337 case "$f" in
17338 -fhonor-std) ;;
17339 -*) ;;
17340 *) # and we're trying to pass /what/ exactly?
17341 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17342 esac
17343 done
17344 fi
17345
17346 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17348 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17349
17350
17351
17352 # Check whether --enable-fully-dynamic-string was given.
17353 if test "${enable_fully_dynamic_string+set}" = set; then :
17354 enableval=$enable_fully_dynamic_string;
17355 case "$enableval" in
17356 yes|no) ;;
17357 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17358 esac
17359
17360 else
17361 enable_fully_dynamic_string=no
17362 fi
17363
17364
17365 if test $enable_fully_dynamic_string = yes; then
17366 enable_fully_dynamic_string_def=1
17367 else
17368 enable_fully_dynamic_string_def=0
17369 fi
17370
17371 cat >>confdefs.h <<_ACEOF
17372 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17373 _ACEOF
17374
17375
17376
17377
17378 # Check whether --enable-extern-template was given.
17379 if test "${enable_extern_template+set}" = set; then :
17380 enableval=$enable_extern_template;
17381 case "$enableval" in
17382 yes|no) ;;
17383 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17384 esac
17385
17386 else
17387 enable_extern_template=yes
17388 fi
17389
17390
17391
17392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17393 $as_echo_n "checking for extern template support... " >&6; }
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17395 $as_echo "$enable_extern_template" >&6; }
17396
17397
17398
17399
17400
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17402 $as_echo_n "checking for custom python install directory... " >&6; }
17403
17404 # Check whether --with-python-dir was given.
17405 if test "${with_python_dir+set}" = set; then :
17406 withval=$with_python_dir; with_python_dir=$withval
17407 else
17408 with_python_dir="no"
17409 fi
17410
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17412 $as_echo "${with_python_dir}" >&6; }
17413
17414 # Needed for installing Python modules during make install.
17415 python_mod_dir="${with_python_dir}"
17416
17417
17418
17419
17420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17421 $as_echo_n "checking for -Werror... " >&6; }
17422 # Check whether --enable-werror was given.
17423 if test "${enable_werror+set}" = set; then :
17424 enableval=$enable_werror;
17425 case "$enableval" in
17426 yes|no) ;;
17427 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17428 esac
17429
17430 else
17431 enable_werror=yes
17432 fi
17433
17434
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17436 $as_echo "$enable_werror" >&6; }
17437
17438
17439
17440
17441 # Check whether --enable-vtable-verify was given.
17442 if test "${enable_vtable_verify+set}" = set; then :
17443 enableval=$enable_vtable_verify;
17444 case "$enableval" in
17445 yes|no) ;;
17446 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17447 esac
17448
17449 else
17450 enable_vtable_verify=no
17451 fi
17452
17453
17454
17455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17456 $as_echo_n "checking for vtable verify support... " >&6; }
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17458 $as_echo "$enable_vtable_verify" >&6; }
17459
17460 if test $enable_vtable_verify = yes; then
17461 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17462 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17463 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17464 else
17465 VTV_CXXFLAGS=
17466 VTV_PCH_CXXFLAGS=
17467 VTV_CXXLINKFLAGS=
17468 fi
17469
17470
17471
17472
17473
17474
17475
17476 # Checks for operating systems support that doesn't require linking.
17477
17478
17479
17480 ac_ext=cpp
17481 ac_cpp='$CXXCPP $CPPFLAGS'
17482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17485
17486
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17488 $as_echo_n "checking for gets declaration... " >&6; }
17489 if test "${glibcxx_cv_gets+set}" = set; then :
17490 $as_echo_n "(cached) " >&6
17491 else
17492
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17495 #include <stdio.h>
17496 namespace test
17497 {
17498 using ::gets;
17499 }
17500
17501 _ACEOF
17502 if ac_fn_cxx_try_compile "$LINENO"; then :
17503 glibcxx_cv_gets=yes
17504 else
17505 glibcxx_cv_gets=no
17506
17507 fi
17508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17509 fi
17510
17511
17512 if test $glibcxx_cv_gets = yes; then
17513
17514 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17515
17516 fi
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17518 $as_echo "$glibcxx_cv_gets" >&6; }
17519
17520 ac_ext=c
17521 ac_cpp='$CPP $CPPFLAGS'
17522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17525
17526
17527
17528
17529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17530 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17531 if test "${glibcxx_cv_system_error1+set}" = set; then :
17532 $as_echo_n "(cached) " >&6
17533 else
17534
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17537 #include <errno.h>
17538 int
17539 main ()
17540 {
17541 int i = EOWNERDEAD;
17542 ;
17543 return 0;
17544 }
17545 _ACEOF
17546 if ac_fn_c_try_compile "$LINENO"; then :
17547 glibcxx_cv_system_error1=yes
17548 else
17549 glibcxx_cv_system_error1=no
17550 fi
17551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552
17553 fi
17554
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17556 $as_echo "$glibcxx_cv_system_error1" >&6; }
17557 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17558
17559 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17560
17561 fi
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17563 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17564 if test "${glibcxx_cv_system_error2+set}" = set; then :
17565 $as_echo_n "(cached) " >&6
17566 else
17567
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17570 #include <errno.h>
17571 int
17572 main ()
17573 {
17574 int i = ENOTRECOVERABLE;
17575 ;
17576 return 0;
17577 }
17578 _ACEOF
17579 if ac_fn_c_try_compile "$LINENO"; then :
17580 glibcxx_cv_system_error2=yes
17581 else
17582 glibcxx_cv_system_error2=no
17583 fi
17584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17585
17586 fi
17587
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17589 $as_echo "$glibcxx_cv_system_error2" >&6; }
17590 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17591
17592 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17593
17594 fi
17595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17596 $as_echo_n "checking for ENOLINK... " >&6; }
17597 if test "${glibcxx_cv_system_error3+set}" = set; then :
17598 $as_echo_n "(cached) " >&6
17599 else
17600
17601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17602 /* end confdefs.h. */
17603 #include <errno.h>
17604 int
17605 main ()
17606 {
17607 int i = ENOLINK;
17608 ;
17609 return 0;
17610 }
17611 _ACEOF
17612 if ac_fn_c_try_compile "$LINENO"; then :
17613 glibcxx_cv_system_error3=yes
17614 else
17615 glibcxx_cv_system_error3=no
17616 fi
17617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17618
17619 fi
17620
17621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17622 $as_echo "$glibcxx_cv_system_error3" >&6; }
17623 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17624
17625 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17626
17627 fi
17628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17629 $as_echo_n "checking for EPROTO... " >&6; }
17630 if test "${glibcxx_cv_system_error4+set}" = set; then :
17631 $as_echo_n "(cached) " >&6
17632 else
17633
17634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17635 /* end confdefs.h. */
17636 #include <errno.h>
17637 int
17638 main ()
17639 {
17640 int i = EPROTO;
17641 ;
17642 return 0;
17643 }
17644 _ACEOF
17645 if ac_fn_c_try_compile "$LINENO"; then :
17646 glibcxx_cv_system_error4=yes
17647 else
17648 glibcxx_cv_system_error4=no
17649 fi
17650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17651
17652 fi
17653
17654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17655 $as_echo "$glibcxx_cv_system_error4" >&6; }
17656 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17657
17658 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17659
17660 fi
17661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17662 $as_echo_n "checking for ENODATA... " >&6; }
17663 if test "${glibcxx_cv_system_error5+set}" = set; then :
17664 $as_echo_n "(cached) " >&6
17665 else
17666
17667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17668 /* end confdefs.h. */
17669 #include <errno.h>
17670 int
17671 main ()
17672 {
17673 int i = ENODATA;
17674 ;
17675 return 0;
17676 }
17677 _ACEOF
17678 if ac_fn_c_try_compile "$LINENO"; then :
17679 glibcxx_cv_system_error5=yes
17680 else
17681 glibcxx_cv_system_error5=no
17682 fi
17683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17684
17685 fi
17686
17687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17688 $as_echo "$glibcxx_cv_system_error5" >&6; }
17689 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17690
17691 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17692
17693 fi
17694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17695 $as_echo_n "checking for ENOSR... " >&6; }
17696 if test "${glibcxx_cv_system_error6+set}" = set; then :
17697 $as_echo_n "(cached) " >&6
17698 else
17699
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17702 #include <errno.h>
17703 int
17704 main ()
17705 {
17706 int i = ENOSR;
17707 ;
17708 return 0;
17709 }
17710 _ACEOF
17711 if ac_fn_c_try_compile "$LINENO"; then :
17712 glibcxx_cv_system_error6=yes
17713 else
17714 glibcxx_cv_system_error6=no
17715 fi
17716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17717
17718 fi
17719
17720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17721 $as_echo "$glibcxx_cv_system_error6" >&6; }
17722 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17723
17724 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17725
17726 fi
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17728 $as_echo_n "checking for ENOSTR... " >&6; }
17729 if test "${glibcxx_cv_system_error7+set}" = set; then :
17730 $as_echo_n "(cached) " >&6
17731 else
17732
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17735 #include <errno.h>
17736 int
17737 main ()
17738 {
17739 int i = ENOSTR;
17740 ;
17741 return 0;
17742 }
17743 _ACEOF
17744 if ac_fn_c_try_compile "$LINENO"; then :
17745 glibcxx_cv_system_error7=yes
17746 else
17747 glibcxx_cv_system_error7=no
17748 fi
17749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17750
17751 fi
17752
17753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17754 $as_echo "$glibcxx_cv_system_error7" >&6; }
17755 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17756
17757 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17758
17759 fi
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17761 $as_echo_n "checking for ETIME... " >&6; }
17762 if test "${glibcxx_cv_system_error8+set}" = set; then :
17763 $as_echo_n "(cached) " >&6
17764 else
17765
17766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17767 /* end confdefs.h. */
17768 #include <errno.h>
17769 int
17770 main ()
17771 {
17772 int i = ETIME;
17773 ;
17774 return 0;
17775 }
17776 _ACEOF
17777 if ac_fn_c_try_compile "$LINENO"; then :
17778 glibcxx_cv_system_error8=yes
17779 else
17780 glibcxx_cv_system_error8=no
17781 fi
17782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17783
17784 fi
17785
17786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17787 $as_echo "$glibcxx_cv_system_error8" >&6; }
17788 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17789
17790 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17791
17792 fi
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17794 $as_echo_n "checking for EBADMSG... " >&6; }
17795 if test "${glibcxx_cv_system_error9+set}" = set; then :
17796 $as_echo_n "(cached) " >&6
17797 else
17798
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17801 #include <errno.h>
17802 int
17803 main ()
17804 {
17805 int i = EBADMSG;
17806 ;
17807 return 0;
17808 }
17809 _ACEOF
17810 if ac_fn_c_try_compile "$LINENO"; then :
17811 glibcxx_cv_system_error9=yes
17812 else
17813 glibcxx_cv_system_error9=no
17814 fi
17815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17816
17817 fi
17818
17819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17820 $as_echo "$glibcxx_cv_system_error9" >&6; }
17821 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17822
17823 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17824
17825 fi
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17827 $as_echo_n "checking for ECANCELED... " >&6; }
17828 if test "${glibcxx_cv_system_error10+set}" = set; then :
17829 $as_echo_n "(cached) " >&6
17830 else
17831
17832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17833 /* end confdefs.h. */
17834 #include <errno.h>
17835 int
17836 main ()
17837 {
17838 int i = ECANCELED;
17839 ;
17840 return 0;
17841 }
17842 _ACEOF
17843 if ac_fn_c_try_compile "$LINENO"; then :
17844 glibcxx_cv_system_error10=yes
17845 else
17846 glibcxx_cv_system_error10=no
17847 fi
17848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17849
17850 fi
17851
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17853 $as_echo "$glibcxx_cv_system_error10" >&6; }
17854 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17855
17856 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17857
17858 fi
17859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17860 $as_echo_n "checking for EOVERFLOW... " >&6; }
17861 if test "${glibcxx_cv_system_error11+set}" = set; then :
17862 $as_echo_n "(cached) " >&6
17863 else
17864
17865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17866 /* end confdefs.h. */
17867 #include <errno.h>
17868 int
17869 main ()
17870 {
17871 int i = EOVERFLOW;
17872 ;
17873 return 0;
17874 }
17875 _ACEOF
17876 if ac_fn_c_try_compile "$LINENO"; then :
17877 glibcxx_cv_system_error11=yes
17878 else
17879 glibcxx_cv_system_error11=no
17880 fi
17881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17882
17883 fi
17884
17885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17886 $as_echo "$glibcxx_cv_system_error11" >&6; }
17887 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17888
17889 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17890
17891 fi
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17893 $as_echo_n "checking for ENOTSUP... " >&6; }
17894 if test "${glibcxx_cv_system_error12+set}" = set; then :
17895 $as_echo_n "(cached) " >&6
17896 else
17897
17898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17899 /* end confdefs.h. */
17900 #include <errno.h>
17901 int
17902 main ()
17903 {
17904 int i = ENOTSUP;
17905 ;
17906 return 0;
17907 }
17908 _ACEOF
17909 if ac_fn_c_try_compile "$LINENO"; then :
17910 glibcxx_cv_system_error12=yes
17911 else
17912 glibcxx_cv_system_error12=no
17913 fi
17914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17915
17916 fi
17917
17918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17919 $as_echo "$glibcxx_cv_system_error12" >&6; }
17920 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17921
17922 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17923
17924 fi
17925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17926 $as_echo_n "checking for EIDRM... " >&6; }
17927 if test "${glibcxx_cv_system_error13+set}" = set; then :
17928 $as_echo_n "(cached) " >&6
17929 else
17930
17931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17932 /* end confdefs.h. */
17933 #include <errno.h>
17934 int
17935 main ()
17936 {
17937 int i = EIDRM;
17938 ;
17939 return 0;
17940 }
17941 _ACEOF
17942 if ac_fn_c_try_compile "$LINENO"; then :
17943 glibcxx_cv_system_error13=yes
17944 else
17945 glibcxx_cv_system_error13=no
17946 fi
17947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17948
17949 fi
17950
17951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17952 $as_echo "$glibcxx_cv_system_error13" >&6; }
17953 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17954
17955 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17956
17957 fi
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17959 $as_echo_n "checking for ETXTBSY... " >&6; }
17960 if test "${glibcxx_cv_system_error14+set}" = set; then :
17961 $as_echo_n "(cached) " >&6
17962 else
17963
17964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17966 #include <errno.h>
17967 int
17968 main ()
17969 {
17970 int i = ETXTBSY;
17971 ;
17972 return 0;
17973 }
17974 _ACEOF
17975 if ac_fn_c_try_compile "$LINENO"; then :
17976 glibcxx_cv_system_error14=yes
17977 else
17978 glibcxx_cv_system_error14=no
17979 fi
17980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17981
17982 fi
17983
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17985 $as_echo "$glibcxx_cv_system_error14" >&6; }
17986 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17987
17988 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17989
17990 fi
17991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17992 $as_echo_n "checking for ECHILD... " >&6; }
17993 if test "${glibcxx_cv_system_error15+set}" = set; then :
17994 $as_echo_n "(cached) " >&6
17995 else
17996
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h. */
17999 #include <errno.h>
18000 int
18001 main ()
18002 {
18003 int i = ECHILD;
18004 ;
18005 return 0;
18006 }
18007 _ACEOF
18008 if ac_fn_c_try_compile "$LINENO"; then :
18009 glibcxx_cv_system_error15=yes
18010 else
18011 glibcxx_cv_system_error15=no
18012 fi
18013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18014
18015 fi
18016
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18018 $as_echo "$glibcxx_cv_system_error15" >&6; }
18019 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18020
18021 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18022
18023 fi
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18025 $as_echo_n "checking for ENOSPC... " >&6; }
18026 if test "${glibcxx_cv_system_error16+set}" = set; then :
18027 $as_echo_n "(cached) " >&6
18028 else
18029
18030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18031 /* end confdefs.h. */
18032 #include <errno.h>
18033 int
18034 main ()
18035 {
18036 int i = ENOSPC;
18037 ;
18038 return 0;
18039 }
18040 _ACEOF
18041 if ac_fn_c_try_compile "$LINENO"; then :
18042 glibcxx_cv_system_error16=yes
18043 else
18044 glibcxx_cv_system_error16=no
18045 fi
18046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18047
18048 fi
18049
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18051 $as_echo "$glibcxx_cv_system_error16" >&6; }
18052 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18053
18054 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18055
18056 fi
18057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18058 $as_echo_n "checking for EPERM... " >&6; }
18059 if test "${glibcxx_cv_system_error17+set}" = set; then :
18060 $as_echo_n "(cached) " >&6
18061 else
18062
18063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18064 /* end confdefs.h. */
18065 #include <errno.h>
18066 int
18067 main ()
18068 {
18069 int i = EPERM;
18070 ;
18071 return 0;
18072 }
18073 _ACEOF
18074 if ac_fn_c_try_compile "$LINENO"; then :
18075 glibcxx_cv_system_error17=yes
18076 else
18077 glibcxx_cv_system_error17=no
18078 fi
18079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18080
18081 fi
18082
18083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18084 $as_echo "$glibcxx_cv_system_error17" >&6; }
18085 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18086
18087 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18088
18089 fi
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18091 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18092 if test "${glibcxx_cv_system_error18+set}" = set; then :
18093 $as_echo_n "(cached) " >&6
18094 else
18095
18096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18097 /* end confdefs.h. */
18098 #include <errno.h>
18099 int
18100 main ()
18101 {
18102 int i = ETIMEDOUT;
18103 ;
18104 return 0;
18105 }
18106 _ACEOF
18107 if ac_fn_c_try_compile "$LINENO"; then :
18108 glibcxx_cv_system_error18=yes
18109 else
18110 glibcxx_cv_system_error18=no
18111 fi
18112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18113
18114 fi
18115
18116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18117 $as_echo "$glibcxx_cv_system_error18" >&6; }
18118 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18119
18120 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18121
18122 fi
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18124 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18125 if test "${glibcxx_cv_system_error19+set}" = set; then :
18126 $as_echo_n "(cached) " >&6
18127 else
18128
18129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18130 /* end confdefs.h. */
18131 #include <errno.h>
18132 int
18133 main ()
18134 {
18135 int i = EWOULDBLOCK;
18136 ;
18137 return 0;
18138 }
18139 _ACEOF
18140 if ac_fn_c_try_compile "$LINENO"; then :
18141 glibcxx_cv_system_error19=yes
18142 else
18143 glibcxx_cv_system_error19=no
18144 fi
18145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18146
18147 fi
18148
18149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18150 $as_echo "$glibcxx_cv_system_error19" >&6; }
18151 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18152
18153 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18154
18155 fi
18156
18157
18158
18159 # For the streamoff typedef.
18160
18161
18162
18163 ac_ext=cpp
18164 ac_cpp='$CXXCPP $CPPFLAGS'
18165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18168
18169
18170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18171 $as_echo_n "checking for int64_t... " >&6; }
18172 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18173 $as_echo_n "(cached) " >&6
18174 else
18175
18176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18177 /* end confdefs.h. */
18178 #include <stdint.h>
18179 int
18180 main ()
18181 {
18182 int64_t var;
18183 ;
18184 return 0;
18185 }
18186 _ACEOF
18187 if ac_fn_cxx_try_compile "$LINENO"; then :
18188 glibcxx_cv_INT64_T=yes
18189 else
18190 glibcxx_cv_INT64_T=no
18191 fi
18192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18193
18194 fi
18195
18196
18197 if test $glibcxx_cv_INT64_T = yes; then
18198
18199 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18200
18201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18202 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18203
18204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18205 $as_echo_n "checking for int64_t as long... " >&6; }
18206 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18207 $as_echo_n "(cached) " >&6
18208 else
18209
18210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18211 /* end confdefs.h. */
18212 #include <stdint.h>
18213 template<typename, typename> struct same { enum { value = -1 }; };
18214 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18215 int array[same<int64_t, long>::value];
18216 int
18217 main ()
18218 {
18219
18220 ;
18221 return 0;
18222 }
18223 _ACEOF
18224 if ac_fn_cxx_try_compile "$LINENO"; then :
18225 glibcxx_cv_int64_t_long=yes
18226 else
18227 glibcxx_cv_int64_t_long=no
18228 fi
18229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18230
18231 fi
18232
18233
18234 if test $glibcxx_cv_int64_t_long = yes; then
18235
18236 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18237
18238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18239 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18240 fi
18241
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18243 $as_echo_n "checking for int64_t as long long... " >&6; }
18244 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18245 $as_echo_n "(cached) " >&6
18246 else
18247
18248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18249 /* end confdefs.h. */
18250 #include <stdint.h>
18251 template<typename, typename> struct same { enum { value = -1 }; };
18252 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18253 int array[same<int64_t, long long>::value];
18254 int
18255 main ()
18256 {
18257
18258 ;
18259 return 0;
18260 }
18261 _ACEOF
18262 if ac_fn_cxx_try_compile "$LINENO"; then :
18263 glibcxx_cv_int64_t_long_long=yes
18264 else
18265 glibcxx_cv_int64_t_long_long=no
18266 fi
18267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18268
18269 fi
18270
18271
18272 if test $glibcxx_cv_int64_t_long_long = yes; then
18273
18274 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18275
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18277 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18278 fi
18279 fi
18280
18281 ac_ext=c
18282 ac_cpp='$CPP $CPPFLAGS'
18283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18286
18287
18288
18289 # For LFS support.
18290
18291
18292 ac_ext=cpp
18293 ac_cpp='$CXXCPP $CPPFLAGS'
18294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18297
18298 ac_save_CXXFLAGS="$CXXFLAGS"
18299 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18301 $as_echo_n "checking for LFS support... " >&6; }
18302 if test "${glibcxx_cv_LFS+set}" = set; then :
18303 $as_echo_n "(cached) " >&6
18304 else
18305
18306 if test x$gcc_no_link = xyes; then
18307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18308 /* end confdefs.h. */
18309 #include <unistd.h>
18310 #include <stdio.h>
18311 #include <sys/stat.h>
18312
18313 int
18314 main ()
18315 {
18316 FILE* fp;
18317 fopen64("t", "w");
18318 fseeko64(fp, 0, SEEK_CUR);
18319 ftello64(fp);
18320 lseek64(1, 0, SEEK_CUR);
18321 struct stat64 buf;
18322 fstat64(1, &buf);
18323 ;
18324 return 0;
18325 }
18326 _ACEOF
18327 if ac_fn_cxx_try_compile "$LINENO"; then :
18328 glibcxx_cv_LFS=yes
18329 else
18330 glibcxx_cv_LFS=no
18331 fi
18332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18333 else
18334 if test x$gcc_no_link = xyes; then
18335 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18336 fi
18337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18338 /* end confdefs.h. */
18339 #include <unistd.h>
18340 #include <stdio.h>
18341 #include <sys/stat.h>
18342
18343 int
18344 main ()
18345 {
18346 FILE* fp;
18347 fopen64("t", "w");
18348 fseeko64(fp, 0, SEEK_CUR);
18349 ftello64(fp);
18350 lseek64(1, 0, SEEK_CUR);
18351 struct stat64 buf;
18352 fstat64(1, &buf);
18353 ;
18354 return 0;
18355 }
18356 _ACEOF
18357 if ac_fn_cxx_try_link "$LINENO"; then :
18358 glibcxx_cv_LFS=yes
18359 else
18360 glibcxx_cv_LFS=no
18361 fi
18362 rm -f core conftest.err conftest.$ac_objext \
18363 conftest$ac_exeext conftest.$ac_ext
18364 fi
18365
18366 fi
18367
18368 if test $glibcxx_cv_LFS = yes; then
18369
18370 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18371
18372 fi
18373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18374 $as_echo "$glibcxx_cv_LFS" >&6; }
18375 CXXFLAGS="$ac_save_CXXFLAGS"
18376 ac_ext=c
18377 ac_cpp='$CPP $CPPFLAGS'
18378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18381
18382
18383
18384 # For showmanyc_helper().
18385 for ac_header in sys/ioctl.h sys/filio.h
18386 do :
18387 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18388 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18389 eval as_val=\$$as_ac_Header
18390 if test "x$as_val" = x""yes; then :
18391 cat >>confdefs.h <<_ACEOF
18392 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18393 _ACEOF
18394
18395 fi
18396
18397 done
18398
18399
18400
18401
18402 ac_ext=cpp
18403 ac_cpp='$CXXCPP $CPPFLAGS'
18404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18407
18408 ac_save_CXXFLAGS="$CXXFLAGS"
18409 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18410
18411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18412 $as_echo_n "checking for poll... " >&6; }
18413 if test "${glibcxx_cv_POLL+set}" = set; then :
18414 $as_echo_n "(cached) " >&6
18415 else
18416
18417 if test x$gcc_no_link = xyes; then
18418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18419 /* end confdefs.h. */
18420 #include <poll.h>
18421 int
18422 main ()
18423 {
18424 struct pollfd pfd[1];
18425 pfd[0].events = POLLIN;
18426 poll(pfd, 1, 0);
18427 ;
18428 return 0;
18429 }
18430 _ACEOF
18431 if ac_fn_cxx_try_compile "$LINENO"; then :
18432 glibcxx_cv_POLL=yes
18433 else
18434 glibcxx_cv_POLL=no
18435 fi
18436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18437 else
18438 if test x$gcc_no_link = xyes; then
18439 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18440 fi
18441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18442 /* end confdefs.h. */
18443 #include <poll.h>
18444 int
18445 main ()
18446 {
18447 struct pollfd pfd[1];
18448 pfd[0].events = POLLIN;
18449 poll(pfd, 1, 0);
18450 ;
18451 return 0;
18452 }
18453 _ACEOF
18454 if ac_fn_cxx_try_link "$LINENO"; then :
18455 glibcxx_cv_POLL=yes
18456 else
18457 glibcxx_cv_POLL=no
18458 fi
18459 rm -f core conftest.err conftest.$ac_objext \
18460 conftest$ac_exeext conftest.$ac_ext
18461 fi
18462
18463 fi
18464
18465 if test $glibcxx_cv_POLL = yes; then
18466
18467 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18468
18469 fi
18470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18471 $as_echo "$glibcxx_cv_POLL" >&6; }
18472
18473 CXXFLAGS="$ac_save_CXXFLAGS"
18474 ac_ext=c
18475 ac_cpp='$CPP $CPPFLAGS'
18476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18479
18480
18481
18482
18483
18484 ac_ext=cpp
18485 ac_cpp='$CXXCPP $CPPFLAGS'
18486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18489
18490 ac_save_CXXFLAGS="$CXXFLAGS"
18491 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18492
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18494 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18495 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18496 $as_echo_n "(cached) " >&6
18497 else
18498
18499 if test x$gcc_no_link = xyes; then
18500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h. */
18502 #include <sys/stat.h>
18503 int
18504 main ()
18505 {
18506 struct stat buffer;
18507 fstat(0, &buffer);
18508 S_ISREG(buffer.st_mode);
18509 ;
18510 return 0;
18511 }
18512 _ACEOF
18513 if ac_fn_cxx_try_compile "$LINENO"; then :
18514 glibcxx_cv_S_ISREG=yes
18515 else
18516 glibcxx_cv_S_ISREG=no
18517 fi
18518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18519 else
18520 if test x$gcc_no_link = xyes; then
18521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18522 fi
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18525 #include <sys/stat.h>
18526 int
18527 main ()
18528 {
18529 struct stat buffer;
18530 fstat(0, &buffer);
18531 S_ISREG(buffer.st_mode);
18532 ;
18533 return 0;
18534 }
18535 _ACEOF
18536 if ac_fn_cxx_try_link "$LINENO"; then :
18537 glibcxx_cv_S_ISREG=yes
18538 else
18539 glibcxx_cv_S_ISREG=no
18540 fi
18541 rm -f core conftest.err conftest.$ac_objext \
18542 conftest$ac_exeext conftest.$ac_ext
18543 fi
18544
18545 fi
18546
18547 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18548 $as_echo_n "(cached) " >&6
18549 else
18550
18551 if test x$gcc_no_link = xyes; then
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18554 #include <sys/stat.h>
18555 int
18556 main ()
18557 {
18558 struct stat buffer;
18559 fstat(0, &buffer);
18560 S_IFREG & buffer.st_mode;
18561 ;
18562 return 0;
18563 }
18564 _ACEOF
18565 if ac_fn_cxx_try_compile "$LINENO"; then :
18566 glibcxx_cv_S_IFREG=yes
18567 else
18568 glibcxx_cv_S_IFREG=no
18569 fi
18570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18571 else
18572 if test x$gcc_no_link = xyes; then
18573 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18574 fi
18575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18577 #include <sys/stat.h>
18578 int
18579 main ()
18580 {
18581 struct stat buffer;
18582 fstat(0, &buffer);
18583 S_IFREG & buffer.st_mode;
18584 ;
18585 return 0;
18586 }
18587 _ACEOF
18588 if ac_fn_cxx_try_link "$LINENO"; then :
18589 glibcxx_cv_S_IFREG=yes
18590 else
18591 glibcxx_cv_S_IFREG=no
18592 fi
18593 rm -f core conftest.err conftest.$ac_objext \
18594 conftest$ac_exeext conftest.$ac_ext
18595 fi
18596
18597 fi
18598
18599 res=no
18600 if test $glibcxx_cv_S_ISREG = yes; then
18601
18602 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18603
18604 res=S_ISREG
18605 elif test $glibcxx_cv_S_IFREG = yes; then
18606
18607 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18608
18609 res=S_IFREG
18610 fi
18611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18612 $as_echo "$res" >&6; }
18613
18614 CXXFLAGS="$ac_save_CXXFLAGS"
18615 ac_ext=c
18616 ac_cpp='$CPP $CPPFLAGS'
18617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18620
18621
18622
18623 # For xsputn_2().
18624 for ac_header in sys/uio.h
18625 do :
18626 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18627 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18628 cat >>confdefs.h <<_ACEOF
18629 #define HAVE_SYS_UIO_H 1
18630 _ACEOF
18631
18632 fi
18633
18634 done
18635
18636
18637
18638
18639 ac_ext=cpp
18640 ac_cpp='$CXXCPP $CPPFLAGS'
18641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18644
18645 ac_save_CXXFLAGS="$CXXFLAGS"
18646 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18647
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18649 $as_echo_n "checking for writev... " >&6; }
18650 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18651 $as_echo_n "(cached) " >&6
18652 else
18653
18654 if test x$gcc_no_link = xyes; then
18655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18657 #include <sys/uio.h>
18658 int
18659 main ()
18660 {
18661 struct iovec iov[2];
18662 writev(0, iov, 0);
18663 ;
18664 return 0;
18665 }
18666 _ACEOF
18667 if ac_fn_cxx_try_compile "$LINENO"; then :
18668 glibcxx_cv_WRITEV=yes
18669 else
18670 glibcxx_cv_WRITEV=no
18671 fi
18672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18673 else
18674 if test x$gcc_no_link = xyes; then
18675 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18676 fi
18677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18678 /* end confdefs.h. */
18679 #include <sys/uio.h>
18680 int
18681 main ()
18682 {
18683 struct iovec iov[2];
18684 writev(0, iov, 0);
18685 ;
18686 return 0;
18687 }
18688 _ACEOF
18689 if ac_fn_cxx_try_link "$LINENO"; then :
18690 glibcxx_cv_WRITEV=yes
18691 else
18692 glibcxx_cv_WRITEV=no
18693 fi
18694 rm -f core conftest.err conftest.$ac_objext \
18695 conftest$ac_exeext conftest.$ac_ext
18696 fi
18697
18698 fi
18699
18700 if test $glibcxx_cv_WRITEV = yes; then
18701
18702 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18703
18704 fi
18705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18706 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18707
18708 CXXFLAGS="$ac_save_CXXFLAGS"
18709 ac_ext=c
18710 ac_cpp='$CPP $CPPFLAGS'
18711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18714
18715
18716
18717 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18718 # so that the check is done with the C compiler (not C++).
18719 # Checking with C++ can break a canadian cross build if either
18720 # file does not exist in C but does in C++.
18721 for ac_header in fenv.h complex.h
18722 do :
18723 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18724 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18725 eval as_val=\$$as_ac_Header
18726 if test "x$as_val" = x""yes; then :
18727 cat >>confdefs.h <<_ACEOF
18728 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18729 _ACEOF
18730
18731 fi
18732
18733 done
18734
18735
18736 # For C99 support to TR1.
18737
18738
18739
18740 ac_ext=cpp
18741 ac_cpp='$CXXCPP $CPPFLAGS'
18742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18745
18746
18747 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18748 # undefined and fake C99 facilities may be spuriously enabled.
18749 ac_save_CXXFLAGS="$CXXFLAGS"
18750 CXXFLAGS="$CXXFLAGS -std=c++98"
18751
18752 # Check for the existence of <complex.h> complex math functions used
18753 # by tr1/complex.
18754 for ac_header in complex.h
18755 do :
18756 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18757 if test "x$ac_cv_header_complex_h" = x""yes; then :
18758 cat >>confdefs.h <<_ACEOF
18759 #define HAVE_COMPLEX_H 1
18760 _ACEOF
18761 ac_has_complex_h=yes
18762 else
18763 ac_has_complex_h=no
18764 fi
18765
18766 done
18767
18768 ac_c99_complex_tr1=no;
18769 if test x"$ac_has_complex_h" = x"yes"; then
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18771 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18773 /* end confdefs.h. */
18774 #include <complex.h>
18775 int
18776 main ()
18777 {
18778 typedef __complex__ float float_type; float_type tmpf;
18779 cacosf(tmpf);
18780 casinf(tmpf);
18781 catanf(tmpf);
18782 cacoshf(tmpf);
18783 casinhf(tmpf);
18784 catanhf(tmpf);
18785 typedef __complex__ double double_type; double_type tmpd;
18786 cacos(tmpd);
18787 casin(tmpd);
18788 catan(tmpd);
18789 cacosh(tmpd);
18790 casinh(tmpd);
18791 catanh(tmpd);
18792 typedef __complex__ long double ld_type; ld_type tmpld;
18793 cacosl(tmpld);
18794 casinl(tmpld);
18795 catanl(tmpld);
18796 cacoshl(tmpld);
18797 casinhl(tmpld);
18798 catanhl(tmpld);
18799
18800 ;
18801 return 0;
18802 }
18803 _ACEOF
18804 if ac_fn_cxx_try_compile "$LINENO"; then :
18805 ac_c99_complex_tr1=yes
18806 else
18807 ac_c99_complex_tr1=no
18808 fi
18809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18810 fi
18811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18812 $as_echo "$ac_c99_complex_tr1" >&6; }
18813 if test x"$ac_c99_complex_tr1" = x"yes"; then
18814
18815 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18816
18817 fi
18818
18819 # Check for the existence of <ctype.h> functions.
18820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18821 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18822 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18823 $as_echo_n "(cached) " >&6
18824 else
18825
18826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18827 /* end confdefs.h. */
18828 #include <ctype.h>
18829 int
18830 main ()
18831 {
18832 int ch;
18833 int ret;
18834 ret = isblank(ch);
18835
18836 ;
18837 return 0;
18838 }
18839 _ACEOF
18840 if ac_fn_cxx_try_compile "$LINENO"; then :
18841 glibcxx_cv_c99_ctype_tr1=yes
18842 else
18843 glibcxx_cv_c99_ctype_tr1=no
18844 fi
18845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18846
18847 fi
18848
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18850 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18851 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18852
18853 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18854
18855 fi
18856
18857 # Check for the existence of <fenv.h> functions.
18858 for ac_header in fenv.h
18859 do :
18860 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18861 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18862 cat >>confdefs.h <<_ACEOF
18863 #define HAVE_FENV_H 1
18864 _ACEOF
18865 ac_has_fenv_h=yes
18866 else
18867 ac_has_fenv_h=no
18868 fi
18869
18870 done
18871
18872 ac_c99_fenv_tr1=no;
18873 if test x"$ac_has_fenv_h" = x"yes"; then
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18875 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18877 /* end confdefs.h. */
18878 #include <fenv.h>
18879 int
18880 main ()
18881 {
18882 int except, mode;
18883 fexcept_t* pflag;
18884 fenv_t* penv;
18885 int ret;
18886 ret = feclearexcept(except);
18887 ret = fegetexceptflag(pflag, except);
18888 ret = feraiseexcept(except);
18889 ret = fesetexceptflag(pflag, except);
18890 ret = fetestexcept(except);
18891 ret = fegetround();
18892 ret = fesetround(mode);
18893 ret = fegetenv(penv);
18894 ret = feholdexcept(penv);
18895 ret = fesetenv(penv);
18896 ret = feupdateenv(penv);
18897
18898 ;
18899 return 0;
18900 }
18901 _ACEOF
18902 if ac_fn_cxx_try_compile "$LINENO"; then :
18903 ac_c99_fenv_tr1=yes
18904 else
18905 ac_c99_fenv_tr1=no
18906 fi
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18908 fi
18909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18910 $as_echo "$ac_c99_fenv_tr1" >&6; }
18911 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18912
18913 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18914
18915 fi
18916
18917 # Check for the existence of <stdint.h> types.
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18919 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18920 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18921 $as_echo_n "(cached) " >&6
18922 else
18923
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 #define __STDC_LIMIT_MACROS
18927 #define __STDC_CONSTANT_MACROS
18928 #include <stdint.h>
18929 int
18930 main ()
18931 {
18932 typedef int8_t my_int8_t;
18933 my_int8_t i8 = INT8_MIN;
18934 i8 = INT8_MAX;
18935 typedef int16_t my_int16_t;
18936 my_int16_t i16 = INT16_MIN;
18937 i16 = INT16_MAX;
18938 typedef int32_t my_int32_t;
18939 my_int32_t i32 = INT32_MIN;
18940 i32 = INT32_MAX;
18941 typedef int64_t my_int64_t;
18942 my_int64_t i64 = INT64_MIN;
18943 i64 = INT64_MAX;
18944 typedef int_fast8_t my_int_fast8_t;
18945 my_int_fast8_t if8 = INT_FAST8_MIN;
18946 if8 = INT_FAST8_MAX;
18947 typedef int_fast16_t my_int_fast16_t;
18948 my_int_fast16_t if16 = INT_FAST16_MIN;
18949 if16 = INT_FAST16_MAX;
18950 typedef int_fast32_t my_int_fast32_t;
18951 my_int_fast32_t if32 = INT_FAST32_MIN;
18952 if32 = INT_FAST32_MAX;
18953 typedef int_fast64_t my_int_fast64_t;
18954 my_int_fast64_t if64 = INT_FAST64_MIN;
18955 if64 = INT_FAST64_MAX;
18956 typedef int_least8_t my_int_least8_t;
18957 my_int_least8_t il8 = INT_LEAST8_MIN;
18958 il8 = INT_LEAST8_MAX;
18959 typedef int_least16_t my_int_least16_t;
18960 my_int_least16_t il16 = INT_LEAST16_MIN;
18961 il16 = INT_LEAST16_MAX;
18962 typedef int_least32_t my_int_least32_t;
18963 my_int_least32_t il32 = INT_LEAST32_MIN;
18964 il32 = INT_LEAST32_MAX;
18965 typedef int_least64_t my_int_least64_t;
18966 my_int_least64_t il64 = INT_LEAST64_MIN;
18967 il64 = INT_LEAST64_MAX;
18968 typedef intmax_t my_intmax_t;
18969 my_intmax_t im = INTMAX_MAX;
18970 im = INTMAX_MIN;
18971 typedef intptr_t my_intptr_t;
18972 my_intptr_t ip = INTPTR_MAX;
18973 ip = INTPTR_MIN;
18974 typedef uint8_t my_uint8_t;
18975 my_uint8_t ui8 = UINT8_MAX;
18976 ui8 = UINT8_MAX;
18977 typedef uint16_t my_uint16_t;
18978 my_uint16_t ui16 = UINT16_MAX;
18979 ui16 = UINT16_MAX;
18980 typedef uint32_t my_uint32_t;
18981 my_uint32_t ui32 = UINT32_MAX;
18982 ui32 = UINT32_MAX;
18983 typedef uint64_t my_uint64_t;
18984 my_uint64_t ui64 = UINT64_MAX;
18985 ui64 = UINT64_MAX;
18986 typedef uint_fast8_t my_uint_fast8_t;
18987 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18988 uif8 = UINT_FAST8_MAX;
18989 typedef uint_fast16_t my_uint_fast16_t;
18990 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18991 uif16 = UINT_FAST16_MAX;
18992 typedef uint_fast32_t my_uint_fast32_t;
18993 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18994 uif32 = UINT_FAST32_MAX;
18995 typedef uint_fast64_t my_uint_fast64_t;
18996 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18997 uif64 = UINT_FAST64_MAX;
18998 typedef uint_least8_t my_uint_least8_t;
18999 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19000 uil8 = UINT_LEAST8_MAX;
19001 typedef uint_least16_t my_uint_least16_t;
19002 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19003 uil16 = UINT_LEAST16_MAX;
19004 typedef uint_least32_t my_uint_least32_t;
19005 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19006 uil32 = UINT_LEAST32_MAX;
19007 typedef uint_least64_t my_uint_least64_t;
19008 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19009 uil64 = UINT_LEAST64_MAX;
19010 typedef uintmax_t my_uintmax_t;
19011 my_uintmax_t uim = UINTMAX_MAX;
19012 uim = UINTMAX_MAX;
19013 typedef uintptr_t my_uintptr_t;
19014 my_uintptr_t uip = UINTPTR_MAX;
19015 uip = UINTPTR_MAX;
19016
19017 ;
19018 return 0;
19019 }
19020 _ACEOF
19021 if ac_fn_cxx_try_compile "$LINENO"; then :
19022 glibcxx_cv_c99_stdint_tr1=yes
19023 else
19024 glibcxx_cv_c99_stdint_tr1=no
19025 fi
19026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19027
19028 fi
19029
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19031 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19032 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19033
19034 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19035
19036 fi
19037
19038 # Check for the existence of <math.h> functions.
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19040 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19041 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19042 $as_echo_n "(cached) " >&6
19043 else
19044
19045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19046 /* end confdefs.h. */
19047 #include <math.h>
19048 int
19049 main ()
19050 {
19051 typedef double_t my_double_t;
19052 typedef float_t my_float_t;
19053 acosh(0.0);
19054 acoshf(0.0f);
19055 acoshl(0.0l);
19056 asinh(0.0);
19057 asinhf(0.0f);
19058 asinhl(0.0l);
19059 atanh(0.0);
19060 atanhf(0.0f);
19061 atanhl(0.0l);
19062 cbrt(0.0);
19063 cbrtf(0.0f);
19064 cbrtl(0.0l);
19065 copysign(0.0, 0.0);
19066 copysignf(0.0f, 0.0f);
19067 copysignl(0.0l, 0.0l);
19068 erf(0.0);
19069 erff(0.0f);
19070 erfl(0.0l);
19071 erfc(0.0);
19072 erfcf(0.0f);
19073 erfcl(0.0l);
19074 exp2(0.0);
19075 exp2f(0.0f);
19076 exp2l(0.0l);
19077 expm1(0.0);
19078 expm1f(0.0f);
19079 expm1l(0.0l);
19080 fdim(0.0, 0.0);
19081 fdimf(0.0f, 0.0f);
19082 fdiml(0.0l, 0.0l);
19083 fma(0.0, 0.0, 0.0);
19084 fmaf(0.0f, 0.0f, 0.0f);
19085 fmal(0.0l, 0.0l, 0.0l);
19086 fmax(0.0, 0.0);
19087 fmaxf(0.0f, 0.0f);
19088 fmaxl(0.0l, 0.0l);
19089 fmin(0.0, 0.0);
19090 fminf(0.0f, 0.0f);
19091 fminl(0.0l, 0.0l);
19092 hypot(0.0, 0.0);
19093 hypotf(0.0f, 0.0f);
19094 hypotl(0.0l, 0.0l);
19095 ilogb(0.0);
19096 ilogbf(0.0f);
19097 ilogbl(0.0l);
19098 lgamma(0.0);
19099 lgammaf(0.0f);
19100 lgammal(0.0l);
19101 llrint(0.0);
19102 llrintf(0.0f);
19103 llrintl(0.0l);
19104 llround(0.0);
19105 llroundf(0.0f);
19106 llroundl(0.0l);
19107 log1p(0.0);
19108 log1pf(0.0f);
19109 log1pl(0.0l);
19110 log2(0.0);
19111 log2f(0.0f);
19112 log2l(0.0l);
19113 logb(0.0);
19114 logbf(0.0f);
19115 logbl(0.0l);
19116 lrint(0.0);
19117 lrintf(0.0f);
19118 lrintl(0.0l);
19119 lround(0.0);
19120 lroundf(0.0f);
19121 lroundl(0.0l);
19122 nan(0);
19123 nanf(0);
19124 nanl(0);
19125 nearbyint(0.0);
19126 nearbyintf(0.0f);
19127 nearbyintl(0.0l);
19128 nextafter(0.0, 0.0);
19129 nextafterf(0.0f, 0.0f);
19130 nextafterl(0.0l, 0.0l);
19131 nexttoward(0.0, 0.0);
19132 nexttowardf(0.0f, 0.0f);
19133 nexttowardl(0.0l, 0.0l);
19134 remainder(0.0, 0.0);
19135 remainderf(0.0f, 0.0f);
19136 remainderl(0.0l, 0.0l);
19137 remquo(0.0, 0.0, 0);
19138 remquof(0.0f, 0.0f, 0);
19139 remquol(0.0l, 0.0l, 0);
19140 rint(0.0);
19141 rintf(0.0f);
19142 rintl(0.0l);
19143 round(0.0);
19144 roundf(0.0f);
19145 roundl(0.0l);
19146 scalbln(0.0, 0l);
19147 scalblnf(0.0f, 0l);
19148 scalblnl(0.0l, 0l);
19149 scalbn(0.0, 0);
19150 scalbnf(0.0f, 0);
19151 scalbnl(0.0l, 0);
19152 tgamma(0.0);
19153 tgammaf(0.0f);
19154 tgammal(0.0l);
19155 trunc(0.0);
19156 truncf(0.0f);
19157 truncl(0.0l);
19158
19159 ;
19160 return 0;
19161 }
19162 _ACEOF
19163 if ac_fn_cxx_try_compile "$LINENO"; then :
19164 glibcxx_cv_c99_math_tr1=yes
19165 else
19166 glibcxx_cv_c99_math_tr1=no
19167 fi
19168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19169
19170 fi
19171
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19173 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19174 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19175
19176 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19177
19178 fi
19179
19180 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19181 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19182 ac_c99_inttypes_tr1=no;
19183 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19185 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19187 /* end confdefs.h. */
19188 #include <inttypes.h>
19189 int
19190 main ()
19191 {
19192 intmax_t i, numer, denom, base;
19193 const char* s;
19194 char** endptr;
19195 intmax_t ret = imaxabs(i);
19196 imaxdiv_t dret = imaxdiv(numer, denom);
19197 ret = strtoimax(s, endptr, base);
19198 uintmax_t uret = strtoumax(s, endptr, base);
19199
19200 ;
19201 return 0;
19202 }
19203 _ACEOF
19204 if ac_fn_cxx_try_compile "$LINENO"; then :
19205 ac_c99_inttypes_tr1=yes
19206 else
19207 ac_c99_inttypes_tr1=no
19208 fi
19209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19210 fi
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19212 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19213 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19214
19215 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19216
19217 fi
19218
19219 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19220 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19221 ac_c99_inttypes_wchar_t_tr1=no;
19222 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19224 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19226 /* end confdefs.h. */
19227 #include <inttypes.h>
19228 int
19229 main ()
19230 {
19231 intmax_t base;
19232 const wchar_t* s;
19233 wchar_t** endptr;
19234 intmax_t ret = wcstoimax(s, endptr, base);
19235 uintmax_t uret = wcstoumax(s, endptr, base);
19236
19237 ;
19238 return 0;
19239 }
19240 _ACEOF
19241 if ac_fn_cxx_try_compile "$LINENO"; then :
19242 ac_c99_inttypes_wchar_t_tr1=yes
19243 else
19244 ac_c99_inttypes_wchar_t_tr1=no
19245 fi
19246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19247 fi
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19249 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19250 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19251
19252 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19253
19254 fi
19255
19256 # Check for the existence of the <stdbool.h> header.
19257 for ac_header in stdbool.h
19258 do :
19259 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19260 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19261 cat >>confdefs.h <<_ACEOF
19262 #define HAVE_STDBOOL_H 1
19263 _ACEOF
19264
19265 fi
19266
19267 done
19268
19269
19270 # Check for the existence of the <stdalign.h> header.
19271 for ac_header in stdalign.h
19272 do :
19273 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19274 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19275 cat >>confdefs.h <<_ACEOF
19276 #define HAVE_STDALIGN_H 1
19277 _ACEOF
19278
19279 fi
19280
19281 done
19282
19283
19284 CXXFLAGS="$ac_save_CXXFLAGS"
19285 ac_ext=c
19286 ac_cpp='$CPP $CPPFLAGS'
19287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19290
19291
19292
19293 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19294
19295
19296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19297 $as_echo_n "checking for the value of EOF... " >&6; }
19298 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19299 $as_echo_n "(cached) " >&6
19300 else
19301
19302 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19303
19304 else
19305 as_fn_error "computing EOF failed" "$LINENO" 5
19306 fi
19307
19308
19309 fi
19310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19311 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19312
19313 cat >>confdefs.h <<_ACEOF
19314 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19315 _ACEOF
19316
19317
19318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19319 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19320 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19321 $as_echo_n "(cached) " >&6
19322 else
19323
19324 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19325
19326 else
19327 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19328 fi
19329
19330
19331 fi
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19333 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19334
19335 cat >>confdefs.h <<_ACEOF
19336 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19337 _ACEOF
19338
19339
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19341 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19342 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19343 $as_echo_n "(cached) " >&6
19344 else
19345
19346 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19347
19348 else
19349 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19350 fi
19351
19352
19353 fi
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19355 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19356
19357 cat >>confdefs.h <<_ACEOF
19358 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19359 _ACEOF
19360
19361
19362
19363 # For gettimeofday support.
19364
19365
19366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19367 $as_echo_n "checking for gettimeofday... " >&6; }
19368
19369
19370 ac_ext=cpp
19371 ac_cpp='$CXXCPP $CPPFLAGS'
19372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19375
19376 ac_save_CXXFLAGS="$CXXFLAGS"
19377 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19378
19379 ac_has_gettimeofday=no;
19380 for ac_header in sys/time.h
19381 do :
19382 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19383 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19384 cat >>confdefs.h <<_ACEOF
19385 #define HAVE_SYS_TIME_H 1
19386 _ACEOF
19387 ac_has_sys_time_h=yes
19388 else
19389 ac_has_sys_time_h=no
19390 fi
19391
19392 done
19393
19394 if test x"$ac_has_sys_time_h" = x"yes"; then
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19396 $as_echo_n "checking for gettimeofday... " >&6; }
19397 if test x$gcc_no_link = xyes; then
19398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 #include <sys/time.h>
19401 int
19402 main ()
19403 {
19404 timeval tv; gettimeofday(&tv, 0);
19405 ;
19406 return 0;
19407 }
19408 _ACEOF
19409 if ac_fn_cxx_try_compile "$LINENO"; then :
19410 ac_has_gettimeofday=yes
19411 else
19412 ac_has_gettimeofday=no
19413 fi
19414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19415 else
19416 if test x$gcc_no_link = xyes; then
19417 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19418 fi
19419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19420 /* end confdefs.h. */
19421 #include <sys/time.h>
19422 int
19423 main ()
19424 {
19425 timeval tv; gettimeofday(&tv, 0);
19426 ;
19427 return 0;
19428 }
19429 _ACEOF
19430 if ac_fn_cxx_try_link "$LINENO"; then :
19431 ac_has_gettimeofday=yes
19432 else
19433 ac_has_gettimeofday=no
19434 fi
19435 rm -f core conftest.err conftest.$ac_objext \
19436 conftest$ac_exeext conftest.$ac_ext
19437 fi
19438
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19440 $as_echo "$ac_has_gettimeofday" >&6; }
19441 fi
19442
19443 if test x"$ac_has_gettimeofday" = x"yes"; then
19444
19445 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19446
19447 fi
19448
19449 CXXFLAGS="$ac_save_CXXFLAGS"
19450 ac_ext=c
19451 ac_cpp='$CPP $CPPFLAGS'
19452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19455
19456
19457
19458 # For clock_gettime, nanosleep and sched_yield support.
19459
19460
19461 # Check whether --enable-libstdcxx-time was given.
19462 if test "${enable_libstdcxx_time+set}" = set; then :
19463 enableval=$enable_libstdcxx_time;
19464 case "$enableval" in
19465 yes|no|rt) ;;
19466 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19467 esac
19468
19469 else
19470 enable_libstdcxx_time=auto
19471 fi
19472
19473
19474
19475
19476 ac_ext=cpp
19477 ac_cpp='$CXXCPP $CPPFLAGS'
19478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19481
19482 ac_save_CXXFLAGS="$CXXFLAGS"
19483 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19484 ac_save_LIBS="$LIBS"
19485
19486 ac_has_clock_monotonic=no
19487 ac_has_clock_realtime=no
19488 ac_has_nanosleep=no
19489 ac_has_sched_yield=no
19490
19491 if test x"$enable_libstdcxx_time" = x"auto"; then
19492
19493 case "${target_os}" in
19494 cygwin*)
19495 ac_has_nanosleep=yes
19496 ;;
19497 darwin*)
19498 ac_has_nanosleep=yes
19499 ac_has_sched_yield=yes
19500 ;;
19501 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19503 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19505 /* end confdefs.h. */
19506 #include <features.h>
19507 int
19508 main ()
19509 {
19510
19511 #if ! __GLIBC_PREREQ(2, 17)
19512 #error
19513 #endif
19514
19515 ;
19516 return 0;
19517 }
19518 _ACEOF
19519 if ac_fn_cxx_try_compile "$LINENO"; then :
19520 glibcxx_glibc217=yes
19521 else
19522 glibcxx_glibc217=no
19523 fi
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19526 $as_echo "$glibcxx_glibc217" >&6; }
19527
19528 if test x"$glibcxx_glibc217" = x"yes"; then
19529 ac_has_clock_monotonic=yes
19530 ac_has_clock_realtime=yes
19531 fi
19532 ac_has_nanosleep=yes
19533 ac_has_sched_yield=yes
19534 ;;
19535 freebsd*|netbsd*)
19536 ac_has_clock_monotonic=yes
19537 ac_has_clock_realtime=yes
19538 ac_has_nanosleep=yes
19539 ac_has_sched_yield=yes
19540 ;;
19541 openbsd*)
19542 ac_has_clock_monotonic=yes
19543 ac_has_clock_realtime=yes
19544 ac_has_nanosleep=yes
19545 ;;
19546 solaris*)
19547 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19548 ac_has_clock_monotonic=yes
19549 ac_has_clock_realtime=yes
19550 ac_has_nanosleep=yes
19551 ac_has_sched_yield=yes
19552 ;;
19553 esac
19554
19555 elif test x"$enable_libstdcxx_time" != x"no"; then
19556
19557 if test x"$enable_libstdcxx_time" = x"rt"; then
19558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19559 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19560 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19561 $as_echo_n "(cached) " >&6
19562 else
19563 ac_func_search_save_LIBS=$LIBS
19564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h. */
19566
19567 /* Override any GCC internal prototype to avoid an error.
19568 Use char because int might match the return type of a GCC
19569 builtin and then its argument prototype would still apply. */
19570 #ifdef __cplusplus
19571 extern "C"
19572 #endif
19573 char clock_gettime ();
19574 int
19575 main ()
19576 {
19577 return clock_gettime ();
19578 ;
19579 return 0;
19580 }
19581 _ACEOF
19582 for ac_lib in '' rt posix4; do
19583 if test -z "$ac_lib"; then
19584 ac_res="none required"
19585 else
19586 ac_res=-l$ac_lib
19587 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19588 fi
19589 if test x$gcc_no_link = xyes; then
19590 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19591 fi
19592 if ac_fn_cxx_try_link "$LINENO"; then :
19593 ac_cv_search_clock_gettime=$ac_res
19594 fi
19595 rm -f core conftest.err conftest.$ac_objext \
19596 conftest$ac_exeext
19597 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19598 break
19599 fi
19600 done
19601 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19602
19603 else
19604 ac_cv_search_clock_gettime=no
19605 fi
19606 rm conftest.$ac_ext
19607 LIBS=$ac_func_search_save_LIBS
19608 fi
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19610 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19611 ac_res=$ac_cv_search_clock_gettime
19612 if test "$ac_res" != no; then :
19613 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19614
19615 fi
19616
19617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19618 $as_echo_n "checking for library containing nanosleep... " >&6; }
19619 if test "${ac_cv_search_nanosleep+set}" = set; then :
19620 $as_echo_n "(cached) " >&6
19621 else
19622 ac_func_search_save_LIBS=$LIBS
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19625
19626 /* Override any GCC internal prototype to avoid an error.
19627 Use char because int might match the return type of a GCC
19628 builtin and then its argument prototype would still apply. */
19629 #ifdef __cplusplus
19630 extern "C"
19631 #endif
19632 char nanosleep ();
19633 int
19634 main ()
19635 {
19636 return nanosleep ();
19637 ;
19638 return 0;
19639 }
19640 _ACEOF
19641 for ac_lib in '' rt posix4; do
19642 if test -z "$ac_lib"; then
19643 ac_res="none required"
19644 else
19645 ac_res=-l$ac_lib
19646 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19647 fi
19648 if test x$gcc_no_link = xyes; then
19649 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19650 fi
19651 if ac_fn_cxx_try_link "$LINENO"; then :
19652 ac_cv_search_nanosleep=$ac_res
19653 fi
19654 rm -f core conftest.err conftest.$ac_objext \
19655 conftest$ac_exeext
19656 if test "${ac_cv_search_nanosleep+set}" = set; then :
19657 break
19658 fi
19659 done
19660 if test "${ac_cv_search_nanosleep+set}" = set; then :
19661
19662 else
19663 ac_cv_search_nanosleep=no
19664 fi
19665 rm conftest.$ac_ext
19666 LIBS=$ac_func_search_save_LIBS
19667 fi
19668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19669 $as_echo "$ac_cv_search_nanosleep" >&6; }
19670 ac_res=$ac_cv_search_nanosleep
19671 if test "$ac_res" != no; then :
19672 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19673
19674 fi
19675
19676 else
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19678 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19679 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19680 $as_echo_n "(cached) " >&6
19681 else
19682 ac_func_search_save_LIBS=$LIBS
19683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19684 /* end confdefs.h. */
19685
19686 /* Override any GCC internal prototype to avoid an error.
19687 Use char because int might match the return type of a GCC
19688 builtin and then its argument prototype would still apply. */
19689 #ifdef __cplusplus
19690 extern "C"
19691 #endif
19692 char clock_gettime ();
19693 int
19694 main ()
19695 {
19696 return clock_gettime ();
19697 ;
19698 return 0;
19699 }
19700 _ACEOF
19701 for ac_lib in '' posix4; do
19702 if test -z "$ac_lib"; then
19703 ac_res="none required"
19704 else
19705 ac_res=-l$ac_lib
19706 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19707 fi
19708 if test x$gcc_no_link = xyes; then
19709 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19710 fi
19711 if ac_fn_cxx_try_link "$LINENO"; then :
19712 ac_cv_search_clock_gettime=$ac_res
19713 fi
19714 rm -f core conftest.err conftest.$ac_objext \
19715 conftest$ac_exeext
19716 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19717 break
19718 fi
19719 done
19720 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19721
19722 else
19723 ac_cv_search_clock_gettime=no
19724 fi
19725 rm conftest.$ac_ext
19726 LIBS=$ac_func_search_save_LIBS
19727 fi
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19729 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19730 ac_res=$ac_cv_search_clock_gettime
19731 if test "$ac_res" != no; then :
19732 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19733
19734 fi
19735
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19737 $as_echo_n "checking for library containing nanosleep... " >&6; }
19738 if test "${ac_cv_search_nanosleep+set}" = set; then :
19739 $as_echo_n "(cached) " >&6
19740 else
19741 ac_func_search_save_LIBS=$LIBS
19742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19743 /* end confdefs.h. */
19744
19745 /* Override any GCC internal prototype to avoid an error.
19746 Use char because int might match the return type of a GCC
19747 builtin and then its argument prototype would still apply. */
19748 #ifdef __cplusplus
19749 extern "C"
19750 #endif
19751 char nanosleep ();
19752 int
19753 main ()
19754 {
19755 return nanosleep ();
19756 ;
19757 return 0;
19758 }
19759 _ACEOF
19760 for ac_lib in '' posix4; do
19761 if test -z "$ac_lib"; then
19762 ac_res="none required"
19763 else
19764 ac_res=-l$ac_lib
19765 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19766 fi
19767 if test x$gcc_no_link = xyes; then
19768 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19769 fi
19770 if ac_fn_cxx_try_link "$LINENO"; then :
19771 ac_cv_search_nanosleep=$ac_res
19772 fi
19773 rm -f core conftest.err conftest.$ac_objext \
19774 conftest$ac_exeext
19775 if test "${ac_cv_search_nanosleep+set}" = set; then :
19776 break
19777 fi
19778 done
19779 if test "${ac_cv_search_nanosleep+set}" = set; then :
19780
19781 else
19782 ac_cv_search_nanosleep=no
19783 fi
19784 rm conftest.$ac_ext
19785 LIBS=$ac_func_search_save_LIBS
19786 fi
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19788 $as_echo "$ac_cv_search_nanosleep" >&6; }
19789 ac_res=$ac_cv_search_nanosleep
19790 if test "$ac_res" != no; then :
19791 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19792
19793 fi
19794
19795 fi
19796
19797 case "$ac_cv_search_clock_gettime" in
19798 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19799 ;;
19800 esac
19801 case "$ac_cv_search_nanosleep" in
19802 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19803 ;;
19804 esac
19805
19806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19807 $as_echo_n "checking for library containing sched_yield... " >&6; }
19808 if test "${ac_cv_search_sched_yield+set}" = set; then :
19809 $as_echo_n "(cached) " >&6
19810 else
19811 ac_func_search_save_LIBS=$LIBS
19812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19813 /* end confdefs.h. */
19814
19815 /* Override any GCC internal prototype to avoid an error.
19816 Use char because int might match the return type of a GCC
19817 builtin and then its argument prototype would still apply. */
19818 #ifdef __cplusplus
19819 extern "C"
19820 #endif
19821 char sched_yield ();
19822 int
19823 main ()
19824 {
19825 return sched_yield ();
19826 ;
19827 return 0;
19828 }
19829 _ACEOF
19830 for ac_lib in '' rt posix4; do
19831 if test -z "$ac_lib"; then
19832 ac_res="none required"
19833 else
19834 ac_res=-l$ac_lib
19835 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19836 fi
19837 if test x$gcc_no_link = xyes; then
19838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19839 fi
19840 if ac_fn_cxx_try_link "$LINENO"; then :
19841 ac_cv_search_sched_yield=$ac_res
19842 fi
19843 rm -f core conftest.err conftest.$ac_objext \
19844 conftest$ac_exeext
19845 if test "${ac_cv_search_sched_yield+set}" = set; then :
19846 break
19847 fi
19848 done
19849 if test "${ac_cv_search_sched_yield+set}" = set; then :
19850
19851 else
19852 ac_cv_search_sched_yield=no
19853 fi
19854 rm conftest.$ac_ext
19855 LIBS=$ac_func_search_save_LIBS
19856 fi
19857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19858 $as_echo "$ac_cv_search_sched_yield" >&6; }
19859 ac_res=$ac_cv_search_sched_yield
19860 if test "$ac_res" != no; then :
19861 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19862
19863 fi
19864
19865
19866 case "$ac_cv_search_sched_yield" in
19867 -lposix4*)
19868 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19869 ac_has_sched_yield=yes
19870 ;;
19871 -lrt*)
19872 if test x"$enable_libstdcxx_time" = x"rt"; then
19873 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19874 ac_has_sched_yield=yes
19875 fi
19876 ;;
19877 *)
19878 ac_has_sched_yield=yes
19879 ;;
19880 esac
19881
19882 for ac_header in unistd.h
19883 do :
19884 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19885 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19886 cat >>confdefs.h <<_ACEOF
19887 #define HAVE_UNISTD_H 1
19888 _ACEOF
19889 ac_has_unistd_h=yes
19890 else
19891 ac_has_unistd_h=no
19892 fi
19893
19894 done
19895
19896
19897 if test x"$ac_has_unistd_h" = x"yes"; then
19898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19899 $as_echo_n "checking for monotonic clock... " >&6; }
19900 if test x$gcc_no_link = xyes; then
19901 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19902 fi
19903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19904 /* end confdefs.h. */
19905 #include <unistd.h>
19906 #include <time.h>
19907
19908 int
19909 main ()
19910 {
19911 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19912 timespec tp;
19913 #endif
19914 clock_gettime(CLOCK_MONOTONIC, &tp);
19915
19916 ;
19917 return 0;
19918 }
19919 _ACEOF
19920 if ac_fn_cxx_try_link "$LINENO"; then :
19921 ac_has_clock_monotonic=yes
19922 else
19923 ac_has_clock_monotonic=no
19924 fi
19925 rm -f core conftest.err conftest.$ac_objext \
19926 conftest$ac_exeext conftest.$ac_ext
19927
19928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19929 $as_echo "$ac_has_clock_monotonic" >&6; }
19930
19931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19932 $as_echo_n "checking for realtime clock... " >&6; }
19933 if test x$gcc_no_link = xyes; then
19934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19935 fi
19936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19937 /* end confdefs.h. */
19938 #include <unistd.h>
19939 #include <time.h>
19940
19941 int
19942 main ()
19943 {
19944 #if _POSIX_TIMERS > 0
19945 timespec tp;
19946 #endif
19947 clock_gettime(CLOCK_REALTIME, &tp);
19948
19949 ;
19950 return 0;
19951 }
19952 _ACEOF
19953 if ac_fn_cxx_try_link "$LINENO"; then :
19954 ac_has_clock_realtime=yes
19955 else
19956 ac_has_clock_realtime=no
19957 fi
19958 rm -f core conftest.err conftest.$ac_objext \
19959 conftest$ac_exeext conftest.$ac_ext
19960
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19962 $as_echo "$ac_has_clock_realtime" >&6; }
19963
19964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19965 $as_echo_n "checking for nanosleep... " >&6; }
19966 if test x$gcc_no_link = xyes; then
19967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19968 fi
19969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19970 /* end confdefs.h. */
19971 #include <unistd.h>
19972 #include <time.h>
19973
19974 int
19975 main ()
19976 {
19977 #if _POSIX_TIMERS > 0
19978 timespec tp;
19979 #endif
19980 nanosleep(&tp, 0);
19981
19982 ;
19983 return 0;
19984 }
19985 _ACEOF
19986 if ac_fn_cxx_try_link "$LINENO"; then :
19987 ac_has_nanosleep=yes
19988 else
19989 ac_has_nanosleep=no
19990 fi
19991 rm -f core conftest.err conftest.$ac_objext \
19992 conftest$ac_exeext conftest.$ac_ext
19993
19994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19995 $as_echo "$ac_has_nanosleep" >&6; }
19996 fi
19997 fi
19998
19999 if test x"$ac_has_clock_monotonic" != x"yes"; then
20000 case ${target_os} in
20001 linux*)
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20003 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20005 /* end confdefs.h. */
20006 #include <unistd.h>
20007 #include <time.h>
20008 #include <sys/syscall.h>
20009
20010 int
20011 main ()
20012 {
20013 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20014 timespec tp;
20015 #endif
20016 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20017 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20018
20019 ;
20020 return 0;
20021 }
20022 _ACEOF
20023 if ac_fn_cxx_try_compile "$LINENO"; then :
20024 ac_has_clock_monotonic_syscall=yes
20025 else
20026 ac_has_clock_monotonic_syscall=no
20027 fi
20028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20030 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20031 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20032
20033 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20034
20035 ac_has_clock_monotonic=yes
20036 ac_has_clock_realtime=yes
20037 fi;;
20038 esac
20039 fi
20040
20041 if test x"$ac_has_clock_monotonic" = x"yes"; then
20042
20043 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20044
20045 fi
20046
20047 if test x"$ac_has_clock_realtime" = x"yes"; then
20048
20049 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20050
20051 fi
20052
20053 if test x"$ac_has_sched_yield" = x"yes"; then
20054
20055 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20056
20057 fi
20058
20059 if test x"$ac_has_nanosleep" = x"yes"; then
20060
20061 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20062
20063 else
20064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20065 $as_echo_n "checking for sleep... " >&6; }
20066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20067 /* end confdefs.h. */
20068 #include <unistd.h>
20069 int
20070 main ()
20071 {
20072 sleep(1)
20073 ;
20074 return 0;
20075 }
20076 _ACEOF
20077 if ac_fn_cxx_try_compile "$LINENO"; then :
20078 ac_has_sleep=yes
20079 else
20080 ac_has_sleep=no
20081 fi
20082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20083 if test x"$ac_has_sleep" = x"yes"; then
20084
20085 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20086
20087 fi
20088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20089 $as_echo "$ac_has_sleep" >&6; }
20090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20091 $as_echo_n "checking for usleep... " >&6; }
20092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20093 /* end confdefs.h. */
20094 #include <unistd.h>
20095 int
20096 main ()
20097 {
20098 sleep(1);
20099 usleep(100);
20100 ;
20101 return 0;
20102 }
20103 _ACEOF
20104 if ac_fn_cxx_try_compile "$LINENO"; then :
20105 ac_has_usleep=yes
20106 else
20107 ac_has_usleep=no
20108 fi
20109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20110 if test x"$ac_has_usleep" = x"yes"; then
20111
20112 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20113
20114 fi
20115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20116 $as_echo "$ac_has_usleep" >&6; }
20117 fi
20118
20119 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20121 $as_echo_n "checking for Sleep... " >&6; }
20122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20123 /* end confdefs.h. */
20124 #include <windows.h>
20125 int
20126 main ()
20127 {
20128 Sleep(1)
20129 ;
20130 return 0;
20131 }
20132 _ACEOF
20133 if ac_fn_cxx_try_compile "$LINENO"; then :
20134 ac_has_win32_sleep=yes
20135 else
20136 ac_has_win32_sleep=no
20137 fi
20138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20139 if test x"$ac_has_win32_sleep" = x"yes"; then
20140
20141 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20142
20143 fi
20144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20145 $as_echo "$ac_has_win32_sleep" >&6; }
20146 fi
20147
20148
20149
20150 CXXFLAGS="$ac_save_CXXFLAGS"
20151 LIBS="$ac_save_LIBS"
20152 ac_ext=c
20153 ac_cpp='$CPP $CPPFLAGS'
20154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20157
20158
20159
20160 # Check for tmpnam which is obsolescent in POSIX.1-2008
20161
20162 ac_ext=cpp
20163 ac_cpp='$CXXCPP $CPPFLAGS'
20164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20167
20168 ac_save_CXXFLAGS="$CXXFLAGS"
20169 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20171 $as_echo_n "checking for tmpnam... " >&6; }
20172 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20173 $as_echo_n "(cached) " >&6
20174 else
20175 if test x$gcc_no_link = xyes; then
20176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20177 /* end confdefs.h. */
20178 #include <stdio.h>
20179 int
20180 main ()
20181 {
20182 char *tmp = tmpnam(NULL);
20183 ;
20184 return 0;
20185 }
20186 _ACEOF
20187 if ac_fn_cxx_try_compile "$LINENO"; then :
20188 glibcxx_cv_TMPNAM=yes
20189 else
20190 glibcxx_cv_TMPNAM=no
20191 fi
20192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20193 else
20194 if test x$gcc_no_link = xyes; then
20195 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20196 fi
20197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20198 /* end confdefs.h. */
20199 #include <stdio.h>
20200 int
20201 main ()
20202 {
20203 char *tmp = tmpnam(NULL);
20204 ;
20205 return 0;
20206 }
20207 _ACEOF
20208 if ac_fn_cxx_try_link "$LINENO"; then :
20209 glibcxx_cv_TMPNAM=yes
20210 else
20211 glibcxx_cv_TMPNAM=no
20212 fi
20213 rm -f core conftest.err conftest.$ac_objext \
20214 conftest$ac_exeext conftest.$ac_ext
20215 fi
20216
20217 fi
20218
20219 if test $glibcxx_cv_TMPNAM = yes; then
20220
20221 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20222
20223 fi
20224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20225 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20226 CXXFLAGS="$ac_save_CXXFLAGS"
20227 ac_ext=c
20228 ac_cpp='$CPP $CPPFLAGS'
20229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20232
20233
20234
20235
20236 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20237 if test "x$ac_cv_header_locale_h" = x""yes; then :
20238
20239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20240 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20241 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20242 $as_echo_n "(cached) " >&6
20243 else
20244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20245 /* end confdefs.h. */
20246 #include <locale.h>
20247 int
20248 main ()
20249 {
20250 return LC_MESSAGES
20251 ;
20252 return 0;
20253 }
20254 _ACEOF
20255 if ac_fn_c_try_compile "$LINENO"; then :
20256 ac_cv_val_LC_MESSAGES=yes
20257 else
20258 ac_cv_val_LC_MESSAGES=no
20259 fi
20260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20261 fi
20262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20263 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20264 if test $ac_cv_val_LC_MESSAGES = yes; then
20265
20266 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20267
20268 fi
20269
20270 fi
20271
20272
20273
20274
20275 # For hardware_concurrency
20276 for ac_header in sys/sysinfo.h
20277 do :
20278 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20279 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20280 cat >>confdefs.h <<_ACEOF
20281 #define HAVE_SYS_SYSINFO_H 1
20282 _ACEOF
20283
20284 fi
20285
20286 done
20287
20288
20289
20290
20291 ac_ext=cpp
20292 ac_cpp='$CXXCPP $CPPFLAGS'
20293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20296
20297 ac_save_CXXFLAGS="$CXXFLAGS"
20298 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20299
20300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20301 $as_echo_n "checking for get_nprocs... " >&6; }
20302 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20303 $as_echo_n "(cached) " >&6
20304 else
20305
20306 if test x$gcc_no_link = xyes; then
20307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20308 /* end confdefs.h. */
20309 #include <sys/sysinfo.h>
20310 int
20311 main ()
20312 {
20313 int n = get_nprocs();
20314 ;
20315 return 0;
20316 }
20317 _ACEOF
20318 if ac_fn_cxx_try_compile "$LINENO"; then :
20319 glibcxx_cv_GET_NPROCS=yes
20320 else
20321 glibcxx_cv_GET_NPROCS=no
20322 fi
20323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20324 else
20325 if test x$gcc_no_link = xyes; then
20326 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20327 fi
20328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20329 /* end confdefs.h. */
20330 #include <sys/sysinfo.h>
20331 int
20332 main ()
20333 {
20334 int n = get_nprocs();
20335 ;
20336 return 0;
20337 }
20338 _ACEOF
20339 if ac_fn_cxx_try_link "$LINENO"; then :
20340 glibcxx_cv_GET_NPROCS=yes
20341 else
20342 glibcxx_cv_GET_NPROCS=no
20343 fi
20344 rm -f core conftest.err conftest.$ac_objext \
20345 conftest$ac_exeext conftest.$ac_ext
20346 fi
20347
20348 fi
20349
20350 if test $glibcxx_cv_GET_NPROCS = yes; then
20351
20352 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20353
20354 fi
20355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20356 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20357
20358 CXXFLAGS="$ac_save_CXXFLAGS"
20359 ac_ext=c
20360 ac_cpp='$CPP $CPPFLAGS'
20361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20364
20365
20366 for ac_header in unistd.h
20367 do :
20368 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20369 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20370 cat >>confdefs.h <<_ACEOF
20371 #define HAVE_UNISTD_H 1
20372 _ACEOF
20373
20374 fi
20375
20376 done
20377
20378
20379
20380
20381 ac_ext=cpp
20382 ac_cpp='$CXXCPP $CPPFLAGS'
20383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20386
20387 ac_save_CXXFLAGS="$CXXFLAGS"
20388 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20389
20390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20391 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20392 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20393 $as_echo_n "(cached) " >&6
20394 else
20395
20396 if test x$gcc_no_link = xyes; then
20397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20398 /* end confdefs.h. */
20399 #include <unistd.h>
20400 int
20401 main ()
20402 {
20403 int n = sysconf(_SC_NPROCESSORS_ONLN);
20404 ;
20405 return 0;
20406 }
20407 _ACEOF
20408 if ac_fn_cxx_try_compile "$LINENO"; then :
20409 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20410 else
20411 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20412 fi
20413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20414 else
20415 if test x$gcc_no_link = xyes; then
20416 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20417 fi
20418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20419 /* end confdefs.h. */
20420 #include <unistd.h>
20421 int
20422 main ()
20423 {
20424 int n = sysconf(_SC_NPROCESSORS_ONLN);
20425 ;
20426 return 0;
20427 }
20428 _ACEOF
20429 if ac_fn_cxx_try_link "$LINENO"; then :
20430 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20431 else
20432 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20433 fi
20434 rm -f core conftest.err conftest.$ac_objext \
20435 conftest$ac_exeext conftest.$ac_ext
20436 fi
20437
20438 fi
20439
20440 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20441
20442 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20443
20444 fi
20445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20446 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20447
20448 CXXFLAGS="$ac_save_CXXFLAGS"
20449 ac_ext=c
20450 ac_cpp='$CPP $CPPFLAGS'
20451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20454
20455
20456
20457
20458
20459 ac_ext=cpp
20460 ac_cpp='$CXXCPP $CPPFLAGS'
20461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20464
20465 ac_save_CXXFLAGS="$CXXFLAGS"
20466 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20467
20468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20469 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20470 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20471 $as_echo_n "(cached) " >&6
20472 else
20473
20474 if test x$gcc_no_link = xyes; then
20475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20476 /* end confdefs.h. */
20477 #include <unistd.h>
20478 int
20479 main ()
20480 {
20481 int n = sysconf(_SC_NPROC_ONLN);
20482 ;
20483 return 0;
20484 }
20485 _ACEOF
20486 if ac_fn_cxx_try_compile "$LINENO"; then :
20487 glibcxx_cv_SC_NPROC_ONLN=yes
20488 else
20489 glibcxx_cv_SC_NPROC_ONLN=no
20490 fi
20491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20492 else
20493 if test x$gcc_no_link = xyes; then
20494 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20495 fi
20496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20497 /* end confdefs.h. */
20498 #include <unistd.h>
20499 int
20500 main ()
20501 {
20502 int n = sysconf(_SC_NPROC_ONLN);
20503 ;
20504 return 0;
20505 }
20506 _ACEOF
20507 if ac_fn_cxx_try_link "$LINENO"; then :
20508 glibcxx_cv_SC_NPROC_ONLN=yes
20509 else
20510 glibcxx_cv_SC_NPROC_ONLN=no
20511 fi
20512 rm -f core conftest.err conftest.$ac_objext \
20513 conftest$ac_exeext conftest.$ac_ext
20514 fi
20515
20516 fi
20517
20518 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20519
20520 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20521
20522 fi
20523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20524 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20525
20526 CXXFLAGS="$ac_save_CXXFLAGS"
20527 ac_ext=c
20528 ac_cpp='$CPP $CPPFLAGS'
20529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20532
20533
20534
20535
20536
20537 ac_ext=cpp
20538 ac_cpp='$CXXCPP $CPPFLAGS'
20539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20542
20543 ac_save_CXXFLAGS="$CXXFLAGS"
20544 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20545
20546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20547 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20548 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20549 $as_echo_n "(cached) " >&6
20550 else
20551
20552 if test x$gcc_no_link = xyes; then
20553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20554 /* end confdefs.h. */
20555 #include <pthread.h>
20556 int
20557 main ()
20558 {
20559 int n = pthread_num_processors_np();
20560 ;
20561 return 0;
20562 }
20563 _ACEOF
20564 if ac_fn_cxx_try_compile "$LINENO"; then :
20565 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20566 else
20567 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20568 fi
20569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20570 else
20571 if test x$gcc_no_link = xyes; then
20572 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20573 fi
20574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20575 /* end confdefs.h. */
20576 #include <pthread.h>
20577 int
20578 main ()
20579 {
20580 int n = pthread_num_processors_np();
20581 ;
20582 return 0;
20583 }
20584 _ACEOF
20585 if ac_fn_cxx_try_link "$LINENO"; then :
20586 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20587 else
20588 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20589 fi
20590 rm -f core conftest.err conftest.$ac_objext \
20591 conftest$ac_exeext conftest.$ac_ext
20592 fi
20593
20594 fi
20595
20596 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20597
20598 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20599
20600 fi
20601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20602 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20603
20604 CXXFLAGS="$ac_save_CXXFLAGS"
20605 ac_ext=c
20606 ac_cpp='$CPP $CPPFLAGS'
20607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20610
20611
20612
20613
20614
20615 ac_ext=cpp
20616 ac_cpp='$CXXCPP $CPPFLAGS'
20617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20620
20621 ac_save_CXXFLAGS="$CXXFLAGS"
20622 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20623
20624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20625 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20626 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20627 $as_echo_n "(cached) " >&6
20628 else
20629
20630 if test x$gcc_no_link = xyes; then
20631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20632 /* end confdefs.h. */
20633
20634 #include <stddef.h>
20635 #include <sys/sysctl.h>
20636
20637 int
20638 main ()
20639 {
20640
20641 int count;
20642 size_t size = sizeof(count);
20643 int mib[] = { CTL_HW, HW_NCPU };
20644 sysctl(mib, 2, &count, &size, NULL, 0);
20645
20646 ;
20647 return 0;
20648 }
20649 _ACEOF
20650 if ac_fn_cxx_try_compile "$LINENO"; then :
20651 glibcxx_cv_SYSCTL_HW_NCPU=yes
20652 else
20653 glibcxx_cv_SYSCTL_HW_NCPU=no
20654 fi
20655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20656 else
20657 if test x$gcc_no_link = xyes; then
20658 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20659 fi
20660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20661 /* end confdefs.h. */
20662
20663 #include <stddef.h>
20664 #include <sys/sysctl.h>
20665
20666 int
20667 main ()
20668 {
20669
20670 int count;
20671 size_t size = sizeof(count);
20672 int mib[] = { CTL_HW, HW_NCPU };
20673 sysctl(mib, 2, &count, &size, NULL, 0);
20674
20675 ;
20676 return 0;
20677 }
20678 _ACEOF
20679 if ac_fn_cxx_try_link "$LINENO"; then :
20680 glibcxx_cv_SYSCTL_HW_NCPU=yes
20681 else
20682 glibcxx_cv_SYSCTL_HW_NCPU=no
20683 fi
20684 rm -f core conftest.err conftest.$ac_objext \
20685 conftest$ac_exeext conftest.$ac_ext
20686 fi
20687
20688 fi
20689
20690 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20691
20692 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20693
20694 fi
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20696 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20697
20698 CXXFLAGS="$ac_save_CXXFLAGS"
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
20706
20707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20708 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20709 # Note that this test has to be run with the C language.
20710 # Otherwise, sdt.h will try to include some headers from
20711 # libstdc++ itself.
20712
20713 ac_ext=c
20714 ac_cpp='$CPP $CPPFLAGS'
20715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20718
20719 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20720 $as_echo_n "(cached) " >&6
20721 else
20722
20723 # Because we have to run the test in C, we use grep rather
20724 # than the compiler to check for the bug. The bug is that
20725 # were strings without trailing whitespace, causing g++
20726 # to look for operator"". The pattern searches for the fixed
20727 # output.
20728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20729 /* end confdefs.h. */
20730
20731 #include <sys/sdt.h>
20732 int f() { STAP_PROBE(hi, bob); }
20733
20734 _ACEOF
20735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20736 $EGREP " \",\" " >/dev/null 2>&1; then :
20737 glibcxx_cv_sys_sdt_h=yes
20738 else
20739 glibcxx_cv_sys_sdt_h=no
20740 fi
20741 rm -f conftest*
20742
20743
20744 fi
20745
20746 ac_ext=c
20747 ac_cpp='$CPP $CPPFLAGS'
20748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20751
20752 if test $glibcxx_cv_sys_sdt_h = yes; then
20753
20754 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20755
20756 fi
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20758 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20759
20760
20761 # Check for available headers.
20762 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20763 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20764 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20765 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20766 wchar.h wctype.h
20767 do :
20768 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20769 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20770 eval as_val=\$$as_ac_Header
20771 if test "x$as_val" = x""yes; then :
20772 cat >>confdefs.h <<_ACEOF
20773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20774 _ACEOF
20775
20776 fi
20777
20778 done
20779
20780
20781 # Only do link tests if native. Else, hardcode.
20782 if $GLIBCXX_IS_NATIVE; then
20783
20784 # We can do more elaborate tests that assume a working linker.
20785 CANADIAN=no
20786
20787
20788
20789 # Check whether --with-gnu-ld was given.
20790 if test "${with_gnu_ld+set}" = set; then :
20791 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20792 else
20793 with_gnu_ld=no
20794 fi
20795
20796 ac_prog=ld
20797 if test "$GCC" = yes; then
20798 # Check if gcc -print-prog-name=ld gives a path.
20799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20800 $as_echo_n "checking for ld used by $CC... " >&6; }
20801 case $host in
20802 *-*-mingw*)
20803 # gcc leaves a trailing carriage return which upsets mingw
20804 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20805 *)
20806 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20807 esac
20808 case $ac_prog in
20809 # Accept absolute paths.
20810 [\\/]* | ?:[\\/]*)
20811 re_direlt='/[^/][^/]*/\.\./'
20812 # Canonicalize the pathname of ld
20813 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20814 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20815 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20816 done
20817 test -z "$LD" && LD="$ac_prog"
20818 ;;
20819 "")
20820 # If it fails, then pretend we aren't using GCC.
20821 ac_prog=ld
20822 ;;
20823 *)
20824 # If it is relative, then search for the first ld in PATH.
20825 with_gnu_ld=unknown
20826 ;;
20827 esac
20828 elif test "$with_gnu_ld" = yes; then
20829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20830 $as_echo_n "checking for GNU ld... " >&6; }
20831 else
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20833 $as_echo_n "checking for non-GNU ld... " >&6; }
20834 fi
20835 if test "${lt_cv_path_LD+set}" = set; then :
20836 $as_echo_n "(cached) " >&6
20837 else
20838 if test -z "$LD"; then
20839 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20840 for ac_dir in $PATH; do
20841 IFS="$lt_save_ifs"
20842 test -z "$ac_dir" && ac_dir=.
20843 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20844 lt_cv_path_LD="$ac_dir/$ac_prog"
20845 # Check to see if the program is GNU ld. I'd rather use --version,
20846 # but apparently some variants of GNU ld only accept -v.
20847 # Break only if it was the GNU/non-GNU ld that we prefer.
20848 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20849 *GNU* | *'with BFD'*)
20850 test "$with_gnu_ld" != no && break
20851 ;;
20852 *)
20853 test "$with_gnu_ld" != yes && break
20854 ;;
20855 esac
20856 fi
20857 done
20858 IFS="$lt_save_ifs"
20859 else
20860 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20861 fi
20862 fi
20863
20864 LD="$lt_cv_path_LD"
20865 if test -n "$LD"; then
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20867 $as_echo "$LD" >&6; }
20868 else
20869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20870 $as_echo "no" >&6; }
20871 fi
20872 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20874 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20875 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20876 $as_echo_n "(cached) " >&6
20877 else
20878 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20879 case `$LD -v 2>&1 </dev/null` in
20880 *GNU* | *'with BFD'*)
20881 lt_cv_prog_gnu_ld=yes
20882 ;;
20883 *)
20884 lt_cv_prog_gnu_ld=no
20885 ;;
20886 esac
20887 fi
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20889 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20890 with_gnu_ld=$lt_cv_prog_gnu_ld
20891
20892
20893
20894
20895
20896
20897
20898 # If we're not using GNU ld, then there's no point in even trying these
20899 # tests. Check for that first. We should have already tested for gld
20900 # by now (in libtool), but require it now just to be safe...
20901 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20902 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20903
20904
20905
20906 # The name set by libtool depends on the version of libtool. Shame on us
20907 # for depending on an impl detail, but c'est la vie. Older versions used
20908 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20909 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20910 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20911 # set (hence we're using an older libtool), then set it.
20912 if test x${with_gnu_ld+set} != xset; then
20913 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20914 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20915 with_gnu_ld=no
20916 else
20917 with_gnu_ld=$ac_cv_prog_gnu_ld
20918 fi
20919 fi
20920
20921 # Start by getting the version number. I think the libtool test already
20922 # does some of this, but throws away the result.
20923 glibcxx_ld_is_gold=no
20924 if test x"$with_gnu_ld" = x"yes"; then
20925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20926 $as_echo_n "checking for ld version... " >&6; }
20927
20928 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20929 glibcxx_ld_is_gold=yes
20930 fi
20931 ldver=`$LD --version 2>/dev/null |
20932 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'`
20933
20934 glibcxx_gnu_ld_version=`echo $ldver | \
20935 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20937 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20938 fi
20939
20940 # Set --gc-sections.
20941 glibcxx_have_gc_sections=no
20942 if test "$glibcxx_ld_is_gold" = "yes"; then
20943 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20944 glibcxx_have_gc_sections=yes
20945 fi
20946 else
20947 glibcxx_gcsections_min_ld=21602
20948 if test x"$with_gnu_ld" = x"yes" &&
20949 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20950 glibcxx_have_gc_sections=yes
20951 fi
20952 fi
20953 if test "$glibcxx_have_gc_sections" = "yes"; then
20954 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20955 # NB: This flag only works reliably after 2.16.1. Configure tests
20956 # for this are difficult, so hard wire a value that should work.
20957
20958 ac_test_CFLAGS="${CFLAGS+set}"
20959 ac_save_CFLAGS="$CFLAGS"
20960 CFLAGS='-Wl,--gc-sections'
20961
20962 # Check for -Wl,--gc-sections
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20964 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20965 if test x$gcc_no_link = xyes; then
20966 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20967 fi
20968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20969 /* end confdefs.h. */
20970 int one(void) { return 1; }
20971 int two(void) { return 2; }
20972
20973 int
20974 main ()
20975 {
20976 two();
20977 ;
20978 return 0;
20979 }
20980 _ACEOF
20981 if ac_fn_c_try_link "$LINENO"; then :
20982 ac_gcsections=yes
20983 else
20984 ac_gcsections=no
20985 fi
20986 rm -f core conftest.err conftest.$ac_objext \
20987 conftest$ac_exeext conftest.$ac_ext
20988 if test "$ac_gcsections" = "yes"; then
20989 rm -f conftest.c
20990 touch conftest.c
20991 if $CC -c conftest.c; then
20992 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20993 grep "Warning: gc-sections option ignored" > /dev/null; then
20994 ac_gcsections=no
20995 fi
20996 fi
20997 rm -f conftest.c conftest.o conftest
20998 fi
20999 if test "$ac_gcsections" = "yes"; then
21000 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21001 fi
21002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21003 $as_echo "$ac_gcsections" >&6; }
21004
21005 if test "$ac_test_CFLAGS" = set; then
21006 CFLAGS="$ac_save_CFLAGS"
21007 else
21008 # this is the suspicious part
21009 CFLAGS=''
21010 fi
21011 fi
21012
21013 # Set -z,relro.
21014 # Note this is only for shared objects.
21015 ac_ld_relro=no
21016 if test x"$with_gnu_ld" = x"yes"; then
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21018 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21019 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21020 if test -n "$cxx_z_relo"; then
21021 OPT_LDFLAGS="-Wl,-z,relro"
21022 ac_ld_relro=yes
21023 fi
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21025 $as_echo "$ac_ld_relro" >&6; }
21026 fi
21027
21028 # Set linker optimization flags.
21029 if test x"$with_gnu_ld" = x"yes"; then
21030 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21031 fi
21032
21033
21034
21035
21036
21037 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21038 ac_save_CXXFLAGS="$CXXFLAGS"
21039 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21040
21041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21042 $as_echo_n "checking for sin in -lm... " >&6; }
21043 if test "${ac_cv_lib_m_sin+set}" = set; then :
21044 $as_echo_n "(cached) " >&6
21045 else
21046 ac_check_lib_save_LIBS=$LIBS
21047 LIBS="-lm $LIBS"
21048 if test x$gcc_no_link = xyes; then
21049 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21050 fi
21051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21052 /* end confdefs.h. */
21053
21054 /* Override any GCC internal prototype to avoid an error.
21055 Use char because int might match the return type of a GCC
21056 builtin and then its argument prototype would still apply. */
21057 #ifdef __cplusplus
21058 extern "C"
21059 #endif
21060 char sin ();
21061 int
21062 main ()
21063 {
21064 return sin ();
21065 ;
21066 return 0;
21067 }
21068 _ACEOF
21069 if ac_fn_c_try_link "$LINENO"; then :
21070 ac_cv_lib_m_sin=yes
21071 else
21072 ac_cv_lib_m_sin=no
21073 fi
21074 rm -f core conftest.err conftest.$ac_objext \
21075 conftest$ac_exeext conftest.$ac_ext
21076 LIBS=$ac_check_lib_save_LIBS
21077 fi
21078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21079 $as_echo "$ac_cv_lib_m_sin" >&6; }
21080 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21081 libm="-lm"
21082 fi
21083
21084 ac_save_LIBS="$LIBS"
21085 LIBS="$LIBS $libm"
21086
21087
21088
21089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21090 $as_echo_n "checking for isinf declaration... " >&6; }
21091 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21092 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21093 $as_echo_n "(cached) " >&6
21094 else
21095
21096
21097 ac_ext=cpp
21098 ac_cpp='$CXXCPP $CPPFLAGS'
21099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21102
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 #include <math.h>
21106 #ifdef HAVE_IEEEFP_H
21107 #include <ieeefp.h>
21108 #endif
21109
21110 int
21111 main ()
21112 {
21113 isinf(0);
21114 ;
21115 return 0;
21116 }
21117 _ACEOF
21118 if ac_fn_cxx_try_compile "$LINENO"; then :
21119 glibcxx_cv_func_isinf_use=yes
21120 else
21121 glibcxx_cv_func_isinf_use=no
21122 fi
21123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21124 ac_ext=c
21125 ac_cpp='$CPP $CPPFLAGS'
21126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21129
21130
21131 fi
21132
21133 fi
21134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21135 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21136
21137 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21138 for ac_func in isinf
21139 do :
21140 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21141 if test "x$ac_cv_func_isinf" = x""yes; then :
21142 cat >>confdefs.h <<_ACEOF
21143 #define HAVE_ISINF 1
21144 _ACEOF
21145
21146 fi
21147 done
21148
21149 else
21150
21151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21152 $as_echo_n "checking for _isinf declaration... " >&6; }
21153 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21154 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21155 $as_echo_n "(cached) " >&6
21156 else
21157
21158
21159 ac_ext=cpp
21160 ac_cpp='$CXXCPP $CPPFLAGS'
21161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21164
21165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21166 /* end confdefs.h. */
21167 #include <math.h>
21168 #ifdef HAVE_IEEEFP_H
21169 #include <ieeefp.h>
21170 #endif
21171
21172 int
21173 main ()
21174 {
21175 _isinf(0);
21176 ;
21177 return 0;
21178 }
21179 _ACEOF
21180 if ac_fn_cxx_try_compile "$LINENO"; then :
21181 glibcxx_cv_func__isinf_use=yes
21182 else
21183 glibcxx_cv_func__isinf_use=no
21184 fi
21185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21186 ac_ext=c
21187 ac_cpp='$CPP $CPPFLAGS'
21188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21191
21192
21193 fi
21194
21195 fi
21196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21197 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21198
21199 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21200 for ac_func in _isinf
21201 do :
21202 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21203 if test "x$ac_cv_func__isinf" = x""yes; then :
21204 cat >>confdefs.h <<_ACEOF
21205 #define HAVE__ISINF 1
21206 _ACEOF
21207
21208 fi
21209 done
21210
21211 fi
21212 fi
21213
21214
21215
21216
21217
21218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21219 $as_echo_n "checking for isnan declaration... " >&6; }
21220 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21221 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21222 $as_echo_n "(cached) " >&6
21223 else
21224
21225
21226 ac_ext=cpp
21227 ac_cpp='$CXXCPP $CPPFLAGS'
21228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21231
21232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21233 /* end confdefs.h. */
21234 #include <math.h>
21235 #ifdef HAVE_IEEEFP_H
21236 #include <ieeefp.h>
21237 #endif
21238
21239 int
21240 main ()
21241 {
21242 isnan(0);
21243 ;
21244 return 0;
21245 }
21246 _ACEOF
21247 if ac_fn_cxx_try_compile "$LINENO"; then :
21248 glibcxx_cv_func_isnan_use=yes
21249 else
21250 glibcxx_cv_func_isnan_use=no
21251 fi
21252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21253 ac_ext=c
21254 ac_cpp='$CPP $CPPFLAGS'
21255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21258
21259
21260 fi
21261
21262 fi
21263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21264 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21265
21266 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21267 for ac_func in isnan
21268 do :
21269 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21270 if test "x$ac_cv_func_isnan" = x""yes; then :
21271 cat >>confdefs.h <<_ACEOF
21272 #define HAVE_ISNAN 1
21273 _ACEOF
21274
21275 fi
21276 done
21277
21278 else
21279
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21281 $as_echo_n "checking for _isnan declaration... " >&6; }
21282 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21283 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21284 $as_echo_n "(cached) " >&6
21285 else
21286
21287
21288 ac_ext=cpp
21289 ac_cpp='$CXXCPP $CPPFLAGS'
21290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21293
21294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21295 /* end confdefs.h. */
21296 #include <math.h>
21297 #ifdef HAVE_IEEEFP_H
21298 #include <ieeefp.h>
21299 #endif
21300
21301 int
21302 main ()
21303 {
21304 _isnan(0);
21305 ;
21306 return 0;
21307 }
21308 _ACEOF
21309 if ac_fn_cxx_try_compile "$LINENO"; then :
21310 glibcxx_cv_func__isnan_use=yes
21311 else
21312 glibcxx_cv_func__isnan_use=no
21313 fi
21314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21315 ac_ext=c
21316 ac_cpp='$CPP $CPPFLAGS'
21317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21320
21321
21322 fi
21323
21324 fi
21325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21326 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21327
21328 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21329 for ac_func in _isnan
21330 do :
21331 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21332 if test "x$ac_cv_func__isnan" = x""yes; then :
21333 cat >>confdefs.h <<_ACEOF
21334 #define HAVE__ISNAN 1
21335 _ACEOF
21336
21337 fi
21338 done
21339
21340 fi
21341 fi
21342
21343
21344
21345
21346
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21348 $as_echo_n "checking for finite declaration... " >&6; }
21349 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21350 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21351 $as_echo_n "(cached) " >&6
21352 else
21353
21354
21355 ac_ext=cpp
21356 ac_cpp='$CXXCPP $CPPFLAGS'
21357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21360
21361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21362 /* end confdefs.h. */
21363 #include <math.h>
21364 #ifdef HAVE_IEEEFP_H
21365 #include <ieeefp.h>
21366 #endif
21367
21368 int
21369 main ()
21370 {
21371 finite(0);
21372 ;
21373 return 0;
21374 }
21375 _ACEOF
21376 if ac_fn_cxx_try_compile "$LINENO"; then :
21377 glibcxx_cv_func_finite_use=yes
21378 else
21379 glibcxx_cv_func_finite_use=no
21380 fi
21381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21382 ac_ext=c
21383 ac_cpp='$CPP $CPPFLAGS'
21384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21387
21388
21389 fi
21390
21391 fi
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21393 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21394
21395 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21396 for ac_func in finite
21397 do :
21398 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21399 if test "x$ac_cv_func_finite" = x""yes; then :
21400 cat >>confdefs.h <<_ACEOF
21401 #define HAVE_FINITE 1
21402 _ACEOF
21403
21404 fi
21405 done
21406
21407 else
21408
21409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21410 $as_echo_n "checking for _finite declaration... " >&6; }
21411 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21412 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21413 $as_echo_n "(cached) " >&6
21414 else
21415
21416
21417 ac_ext=cpp
21418 ac_cpp='$CXXCPP $CPPFLAGS'
21419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21422
21423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21424 /* end confdefs.h. */
21425 #include <math.h>
21426 #ifdef HAVE_IEEEFP_H
21427 #include <ieeefp.h>
21428 #endif
21429
21430 int
21431 main ()
21432 {
21433 _finite(0);
21434 ;
21435 return 0;
21436 }
21437 _ACEOF
21438 if ac_fn_cxx_try_compile "$LINENO"; then :
21439 glibcxx_cv_func__finite_use=yes
21440 else
21441 glibcxx_cv_func__finite_use=no
21442 fi
21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21444 ac_ext=c
21445 ac_cpp='$CPP $CPPFLAGS'
21446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21449
21450
21451 fi
21452
21453 fi
21454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21455 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21456
21457 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21458 for ac_func in _finite
21459 do :
21460 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21461 if test "x$ac_cv_func__finite" = x""yes; then :
21462 cat >>confdefs.h <<_ACEOF
21463 #define HAVE__FINITE 1
21464 _ACEOF
21465
21466 fi
21467 done
21468
21469 fi
21470 fi
21471
21472
21473
21474
21475
21476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21477 $as_echo_n "checking for sincos declaration... " >&6; }
21478 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21479 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21480 $as_echo_n "(cached) " >&6
21481 else
21482
21483
21484 ac_ext=cpp
21485 ac_cpp='$CXXCPP $CPPFLAGS'
21486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21489
21490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21491 /* end confdefs.h. */
21492 #include <math.h>
21493 int
21494 main ()
21495 {
21496 sincos(0, 0, 0);
21497 ;
21498 return 0;
21499 }
21500 _ACEOF
21501 if ac_fn_cxx_try_compile "$LINENO"; then :
21502 glibcxx_cv_func_sincos_use=yes
21503 else
21504 glibcxx_cv_func_sincos_use=no
21505 fi
21506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21507 ac_ext=c
21508 ac_cpp='$CPP $CPPFLAGS'
21509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21512
21513
21514 fi
21515
21516 fi
21517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21518 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21519
21520 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21521 for ac_func in sincos
21522 do :
21523 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21524 if test "x$ac_cv_func_sincos" = x""yes; then :
21525 cat >>confdefs.h <<_ACEOF
21526 #define HAVE_SINCOS 1
21527 _ACEOF
21528
21529 fi
21530 done
21531
21532 else
21533
21534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21535 $as_echo_n "checking for _sincos declaration... " >&6; }
21536 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21537 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21538 $as_echo_n "(cached) " >&6
21539 else
21540
21541
21542 ac_ext=cpp
21543 ac_cpp='$CXXCPP $CPPFLAGS'
21544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21547
21548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21549 /* end confdefs.h. */
21550 #include <math.h>
21551 int
21552 main ()
21553 {
21554 _sincos(0, 0, 0);
21555 ;
21556 return 0;
21557 }
21558 _ACEOF
21559 if ac_fn_cxx_try_compile "$LINENO"; then :
21560 glibcxx_cv_func__sincos_use=yes
21561 else
21562 glibcxx_cv_func__sincos_use=no
21563 fi
21564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21565 ac_ext=c
21566 ac_cpp='$CPP $CPPFLAGS'
21567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21570
21571
21572 fi
21573
21574 fi
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21576 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21577
21578 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21579 for ac_func in _sincos
21580 do :
21581 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21582 if test "x$ac_cv_func__sincos" = x""yes; then :
21583 cat >>confdefs.h <<_ACEOF
21584 #define HAVE__SINCOS 1
21585 _ACEOF
21586
21587 fi
21588 done
21589
21590 fi
21591 fi
21592
21593
21594
21595
21596
21597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21598 $as_echo_n "checking for fpclass declaration... " >&6; }
21599 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21600 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21601 $as_echo_n "(cached) " >&6
21602 else
21603
21604
21605 ac_ext=cpp
21606 ac_cpp='$CXXCPP $CPPFLAGS'
21607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21610
21611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21612 /* end confdefs.h. */
21613 #include <math.h>
21614 #ifdef HAVE_IEEEFP_H
21615 #include <ieeefp.h>
21616 #endif
21617
21618 int
21619 main ()
21620 {
21621 fpclass(0);
21622 ;
21623 return 0;
21624 }
21625 _ACEOF
21626 if ac_fn_cxx_try_compile "$LINENO"; then :
21627 glibcxx_cv_func_fpclass_use=yes
21628 else
21629 glibcxx_cv_func_fpclass_use=no
21630 fi
21631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21632 ac_ext=c
21633 ac_cpp='$CPP $CPPFLAGS'
21634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21637
21638
21639 fi
21640
21641 fi
21642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21643 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21644
21645 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21646 for ac_func in fpclass
21647 do :
21648 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21649 if test "x$ac_cv_func_fpclass" = x""yes; then :
21650 cat >>confdefs.h <<_ACEOF
21651 #define HAVE_FPCLASS 1
21652 _ACEOF
21653
21654 fi
21655 done
21656
21657 else
21658
21659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21660 $as_echo_n "checking for _fpclass declaration... " >&6; }
21661 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21662 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21663 $as_echo_n "(cached) " >&6
21664 else
21665
21666
21667 ac_ext=cpp
21668 ac_cpp='$CXXCPP $CPPFLAGS'
21669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21672
21673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21674 /* end confdefs.h. */
21675 #include <math.h>
21676 #ifdef HAVE_IEEEFP_H
21677 #include <ieeefp.h>
21678 #endif
21679
21680 int
21681 main ()
21682 {
21683 _fpclass(0);
21684 ;
21685 return 0;
21686 }
21687 _ACEOF
21688 if ac_fn_cxx_try_compile "$LINENO"; then :
21689 glibcxx_cv_func__fpclass_use=yes
21690 else
21691 glibcxx_cv_func__fpclass_use=no
21692 fi
21693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21694 ac_ext=c
21695 ac_cpp='$CPP $CPPFLAGS'
21696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21699
21700
21701 fi
21702
21703 fi
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21705 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21706
21707 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21708 for ac_func in _fpclass
21709 do :
21710 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21711 if test "x$ac_cv_func__fpclass" = x""yes; then :
21712 cat >>confdefs.h <<_ACEOF
21713 #define HAVE__FPCLASS 1
21714 _ACEOF
21715
21716 fi
21717 done
21718
21719 fi
21720 fi
21721
21722
21723
21724
21725
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21727 $as_echo_n "checking for qfpclass declaration... " >&6; }
21728 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21729 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21730 $as_echo_n "(cached) " >&6
21731 else
21732
21733
21734 ac_ext=cpp
21735 ac_cpp='$CXXCPP $CPPFLAGS'
21736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21739
21740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21741 /* end confdefs.h. */
21742 #include <math.h>
21743 #ifdef HAVE_IEEEFP_H
21744 #include <ieeefp.h>
21745 #endif
21746
21747 int
21748 main ()
21749 {
21750 qfpclass(0);
21751 ;
21752 return 0;
21753 }
21754 _ACEOF
21755 if ac_fn_cxx_try_compile "$LINENO"; then :
21756 glibcxx_cv_func_qfpclass_use=yes
21757 else
21758 glibcxx_cv_func_qfpclass_use=no
21759 fi
21760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21761 ac_ext=c
21762 ac_cpp='$CPP $CPPFLAGS'
21763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21766
21767
21768 fi
21769
21770 fi
21771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21772 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21773
21774 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21775 for ac_func in qfpclass
21776 do :
21777 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21778 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21779 cat >>confdefs.h <<_ACEOF
21780 #define HAVE_QFPCLASS 1
21781 _ACEOF
21782
21783 fi
21784 done
21785
21786 else
21787
21788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21789 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21790 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21791 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21792 $as_echo_n "(cached) " >&6
21793 else
21794
21795
21796 ac_ext=cpp
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21801
21802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h. */
21804 #include <math.h>
21805 #ifdef HAVE_IEEEFP_H
21806 #include <ieeefp.h>
21807 #endif
21808
21809 int
21810 main ()
21811 {
21812 _qfpclass(0);
21813 ;
21814 return 0;
21815 }
21816 _ACEOF
21817 if ac_fn_cxx_try_compile "$LINENO"; then :
21818 glibcxx_cv_func__qfpclass_use=yes
21819 else
21820 glibcxx_cv_func__qfpclass_use=no
21821 fi
21822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21823 ac_ext=c
21824 ac_cpp='$CPP $CPPFLAGS'
21825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21828
21829
21830 fi
21831
21832 fi
21833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21834 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21835
21836 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21837 for ac_func in _qfpclass
21838 do :
21839 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21840 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21841 cat >>confdefs.h <<_ACEOF
21842 #define HAVE__QFPCLASS 1
21843 _ACEOF
21844
21845 fi
21846 done
21847
21848 fi
21849 fi
21850
21851
21852
21853
21854
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21856 $as_echo_n "checking for hypot declaration... " >&6; }
21857 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21858 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21859 $as_echo_n "(cached) " >&6
21860 else
21861
21862
21863 ac_ext=cpp
21864 ac_cpp='$CXXCPP $CPPFLAGS'
21865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21868
21869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21870 /* end confdefs.h. */
21871 #include <math.h>
21872 int
21873 main ()
21874 {
21875 hypot(0, 0);
21876 ;
21877 return 0;
21878 }
21879 _ACEOF
21880 if ac_fn_cxx_try_compile "$LINENO"; then :
21881 glibcxx_cv_func_hypot_use=yes
21882 else
21883 glibcxx_cv_func_hypot_use=no
21884 fi
21885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21886 ac_ext=c
21887 ac_cpp='$CPP $CPPFLAGS'
21888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21891
21892
21893 fi
21894
21895 fi
21896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21897 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21898
21899 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21900 for ac_func in hypot
21901 do :
21902 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21903 if test "x$ac_cv_func_hypot" = x""yes; then :
21904 cat >>confdefs.h <<_ACEOF
21905 #define HAVE_HYPOT 1
21906 _ACEOF
21907
21908 fi
21909 done
21910
21911 else
21912
21913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21914 $as_echo_n "checking for _hypot declaration... " >&6; }
21915 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21916 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21917 $as_echo_n "(cached) " >&6
21918 else
21919
21920
21921 ac_ext=cpp
21922 ac_cpp='$CXXCPP $CPPFLAGS'
21923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21926
21927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21928 /* end confdefs.h. */
21929 #include <math.h>
21930 int
21931 main ()
21932 {
21933 _hypot(0, 0);
21934 ;
21935 return 0;
21936 }
21937 _ACEOF
21938 if ac_fn_cxx_try_compile "$LINENO"; then :
21939 glibcxx_cv_func__hypot_use=yes
21940 else
21941 glibcxx_cv_func__hypot_use=no
21942 fi
21943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21944 ac_ext=c
21945 ac_cpp='$CPP $CPPFLAGS'
21946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21949
21950
21951 fi
21952
21953 fi
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21955 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21956
21957 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21958 for ac_func in _hypot
21959 do :
21960 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21961 if test "x$ac_cv_func__hypot" = x""yes; then :
21962 cat >>confdefs.h <<_ACEOF
21963 #define HAVE__HYPOT 1
21964 _ACEOF
21965
21966 fi
21967 done
21968
21969 fi
21970 fi
21971
21972
21973
21974
21975
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21977 $as_echo_n "checking for float trig functions... " >&6; }
21978 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21979 $as_echo_n "(cached) " >&6
21980 else
21981
21982
21983 ac_ext=cpp
21984 ac_cpp='$CXXCPP $CPPFLAGS'
21985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21988
21989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21990 /* end confdefs.h. */
21991 #include <math.h>
21992 int
21993 main ()
21994 {
21995 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21996 ;
21997 return 0;
21998 }
21999 _ACEOF
22000 if ac_fn_cxx_try_compile "$LINENO"; then :
22001 glibcxx_cv_func_float_trig_use=yes
22002 else
22003 glibcxx_cv_func_float_trig_use=no
22004 fi
22005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22006 ac_ext=c
22007 ac_cpp='$CPP $CPPFLAGS'
22008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22011
22012 fi
22013
22014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22015 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22016 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22017 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22018 do :
22019 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22020 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22021 eval as_val=\$$as_ac_var
22022 if test "x$as_val" = x""yes; then :
22023 cat >>confdefs.h <<_ACEOF
22024 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22025 _ACEOF
22026
22027 fi
22028 done
22029
22030 else
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22032 $as_echo_n "checking for _float trig functions... " >&6; }
22033 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22034 $as_echo_n "(cached) " >&6
22035 else
22036
22037
22038 ac_ext=cpp
22039 ac_cpp='$CXXCPP $CPPFLAGS'
22040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22043
22044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22045 /* end confdefs.h. */
22046 #include <math.h>
22047 int
22048 main ()
22049 {
22050 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22051 ;
22052 return 0;
22053 }
22054 _ACEOF
22055 if ac_fn_cxx_try_compile "$LINENO"; then :
22056 glibcxx_cv_func__float_trig_use=yes
22057 else
22058 glibcxx_cv_func__float_trig_use=no
22059 fi
22060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22061 ac_ext=c
22062 ac_cpp='$CPP $CPPFLAGS'
22063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22066
22067 fi
22068
22069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22070 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22071 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22072 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22073 do :
22074 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22075 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22076 eval as_val=\$$as_ac_var
22077 if test "x$as_val" = x""yes; then :
22078 cat >>confdefs.h <<_ACEOF
22079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22080 _ACEOF
22081
22082 fi
22083 done
22084
22085 fi
22086 fi
22087
22088
22089
22090
22091
22092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22093 $as_echo_n "checking for float round functions... " >&6; }
22094 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22095 $as_echo_n "(cached) " >&6
22096 else
22097
22098
22099 ac_ext=cpp
22100 ac_cpp='$CXXCPP $CPPFLAGS'
22101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22104
22105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22106 /* end confdefs.h. */
22107 #include <math.h>
22108 int
22109 main ()
22110 {
22111 ceilf (0); floorf (0);
22112 ;
22113 return 0;
22114 }
22115 _ACEOF
22116 if ac_fn_cxx_try_compile "$LINENO"; then :
22117 glibcxx_cv_func_float_round_use=yes
22118 else
22119 glibcxx_cv_func_float_round_use=no
22120 fi
22121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22122 ac_ext=c
22123 ac_cpp='$CPP $CPPFLAGS'
22124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22127
22128 fi
22129
22130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22131 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22132 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22133 for ac_func in ceilf floorf
22134 do :
22135 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22136 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22137 eval as_val=\$$as_ac_var
22138 if test "x$as_val" = x""yes; then :
22139 cat >>confdefs.h <<_ACEOF
22140 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22141 _ACEOF
22142
22143 fi
22144 done
22145
22146 else
22147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22148 $as_echo_n "checking for _float round functions... " >&6; }
22149 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22150 $as_echo_n "(cached) " >&6
22151 else
22152
22153
22154 ac_ext=cpp
22155 ac_cpp='$CXXCPP $CPPFLAGS'
22156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22159
22160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22161 /* end confdefs.h. */
22162 #include <math.h>
22163 int
22164 main ()
22165 {
22166 _ceilf (0); _floorf (0);
22167 ;
22168 return 0;
22169 }
22170 _ACEOF
22171 if ac_fn_cxx_try_compile "$LINENO"; then :
22172 glibcxx_cv_func__float_round_use=yes
22173 else
22174 glibcxx_cv_func__float_round_use=no
22175 fi
22176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22177 ac_ext=c
22178 ac_cpp='$CPP $CPPFLAGS'
22179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22182
22183 fi
22184
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22186 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22187 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22188 for ac_func in _ceilf _floorf
22189 do :
22190 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22191 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22192 eval as_val=\$$as_ac_var
22193 if test "x$as_val" = x""yes; then :
22194 cat >>confdefs.h <<_ACEOF
22195 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22196 _ACEOF
22197
22198 fi
22199 done
22200
22201 fi
22202 fi
22203
22204
22205
22206
22207
22208
22209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22210 $as_echo_n "checking for expf declaration... " >&6; }
22211 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22212 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22213 $as_echo_n "(cached) " >&6
22214 else
22215
22216
22217 ac_ext=cpp
22218 ac_cpp='$CXXCPP $CPPFLAGS'
22219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22222
22223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22224 /* end confdefs.h. */
22225 #include <math.h>
22226 #ifdef HAVE_IEEEFP_H
22227 #include <ieeefp.h>
22228 #endif
22229
22230 int
22231 main ()
22232 {
22233 expf(0);
22234 ;
22235 return 0;
22236 }
22237 _ACEOF
22238 if ac_fn_cxx_try_compile "$LINENO"; then :
22239 glibcxx_cv_func_expf_use=yes
22240 else
22241 glibcxx_cv_func_expf_use=no
22242 fi
22243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22244 ac_ext=c
22245 ac_cpp='$CPP $CPPFLAGS'
22246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22249
22250
22251 fi
22252
22253 fi
22254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22255 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22256
22257 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22258 for ac_func in expf
22259 do :
22260 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22261 if test "x$ac_cv_func_expf" = x""yes; then :
22262 cat >>confdefs.h <<_ACEOF
22263 #define HAVE_EXPF 1
22264 _ACEOF
22265
22266 fi
22267 done
22268
22269 else
22270
22271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22272 $as_echo_n "checking for _expf declaration... " >&6; }
22273 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22274 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22275 $as_echo_n "(cached) " >&6
22276 else
22277
22278
22279 ac_ext=cpp
22280 ac_cpp='$CXXCPP $CPPFLAGS'
22281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22284
22285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22286 /* end confdefs.h. */
22287 #include <math.h>
22288 #ifdef HAVE_IEEEFP_H
22289 #include <ieeefp.h>
22290 #endif
22291
22292 int
22293 main ()
22294 {
22295 _expf(0);
22296 ;
22297 return 0;
22298 }
22299 _ACEOF
22300 if ac_fn_cxx_try_compile "$LINENO"; then :
22301 glibcxx_cv_func__expf_use=yes
22302 else
22303 glibcxx_cv_func__expf_use=no
22304 fi
22305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22306 ac_ext=c
22307 ac_cpp='$CPP $CPPFLAGS'
22308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22311
22312
22313 fi
22314
22315 fi
22316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22317 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22318
22319 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22320 for ac_func in _expf
22321 do :
22322 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22323 if test "x$ac_cv_func__expf" = x""yes; then :
22324 cat >>confdefs.h <<_ACEOF
22325 #define HAVE__EXPF 1
22326 _ACEOF
22327
22328 fi
22329 done
22330
22331 fi
22332 fi
22333
22334
22335
22336
22337
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22339 $as_echo_n "checking for isnanf declaration... " >&6; }
22340 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22341 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22342 $as_echo_n "(cached) " >&6
22343 else
22344
22345
22346 ac_ext=cpp
22347 ac_cpp='$CXXCPP $CPPFLAGS'
22348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22351
22352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22353 /* end confdefs.h. */
22354 #include <math.h>
22355 #ifdef HAVE_IEEEFP_H
22356 #include <ieeefp.h>
22357 #endif
22358
22359 int
22360 main ()
22361 {
22362 isnanf(0);
22363 ;
22364 return 0;
22365 }
22366 _ACEOF
22367 if ac_fn_cxx_try_compile "$LINENO"; then :
22368 glibcxx_cv_func_isnanf_use=yes
22369 else
22370 glibcxx_cv_func_isnanf_use=no
22371 fi
22372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22373 ac_ext=c
22374 ac_cpp='$CPP $CPPFLAGS'
22375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22378
22379
22380 fi
22381
22382 fi
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22384 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22385
22386 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22387 for ac_func in isnanf
22388 do :
22389 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22390 if test "x$ac_cv_func_isnanf" = x""yes; then :
22391 cat >>confdefs.h <<_ACEOF
22392 #define HAVE_ISNANF 1
22393 _ACEOF
22394
22395 fi
22396 done
22397
22398 else
22399
22400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22401 $as_echo_n "checking for _isnanf declaration... " >&6; }
22402 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22403 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22404 $as_echo_n "(cached) " >&6
22405 else
22406
22407
22408 ac_ext=cpp
22409 ac_cpp='$CXXCPP $CPPFLAGS'
22410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22413
22414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22415 /* end confdefs.h. */
22416 #include <math.h>
22417 #ifdef HAVE_IEEEFP_H
22418 #include <ieeefp.h>
22419 #endif
22420
22421 int
22422 main ()
22423 {
22424 _isnanf(0);
22425 ;
22426 return 0;
22427 }
22428 _ACEOF
22429 if ac_fn_cxx_try_compile "$LINENO"; then :
22430 glibcxx_cv_func__isnanf_use=yes
22431 else
22432 glibcxx_cv_func__isnanf_use=no
22433 fi
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435 ac_ext=c
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22440
22441
22442 fi
22443
22444 fi
22445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22446 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22447
22448 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22449 for ac_func in _isnanf
22450 do :
22451 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22452 if test "x$ac_cv_func__isnanf" = x""yes; then :
22453 cat >>confdefs.h <<_ACEOF
22454 #define HAVE__ISNANF 1
22455 _ACEOF
22456
22457 fi
22458 done
22459
22460 fi
22461 fi
22462
22463
22464
22465
22466
22467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22468 $as_echo_n "checking for isinff declaration... " >&6; }
22469 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22470 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22471 $as_echo_n "(cached) " >&6
22472 else
22473
22474
22475 ac_ext=cpp
22476 ac_cpp='$CXXCPP $CPPFLAGS'
22477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22480
22481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22482 /* end confdefs.h. */
22483 #include <math.h>
22484 #ifdef HAVE_IEEEFP_H
22485 #include <ieeefp.h>
22486 #endif
22487
22488 int
22489 main ()
22490 {
22491 isinff(0);
22492 ;
22493 return 0;
22494 }
22495 _ACEOF
22496 if ac_fn_cxx_try_compile "$LINENO"; then :
22497 glibcxx_cv_func_isinff_use=yes
22498 else
22499 glibcxx_cv_func_isinff_use=no
22500 fi
22501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22502 ac_ext=c
22503 ac_cpp='$CPP $CPPFLAGS'
22504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22507
22508
22509 fi
22510
22511 fi
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22513 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22514
22515 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22516 for ac_func in isinff
22517 do :
22518 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22519 if test "x$ac_cv_func_isinff" = x""yes; then :
22520 cat >>confdefs.h <<_ACEOF
22521 #define HAVE_ISINFF 1
22522 _ACEOF
22523
22524 fi
22525 done
22526
22527 else
22528
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22530 $as_echo_n "checking for _isinff declaration... " >&6; }
22531 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22532 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22533 $as_echo_n "(cached) " >&6
22534 else
22535
22536
22537 ac_ext=cpp
22538 ac_cpp='$CXXCPP $CPPFLAGS'
22539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22542
22543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22544 /* end confdefs.h. */
22545 #include <math.h>
22546 #ifdef HAVE_IEEEFP_H
22547 #include <ieeefp.h>
22548 #endif
22549
22550 int
22551 main ()
22552 {
22553 _isinff(0);
22554 ;
22555 return 0;
22556 }
22557 _ACEOF
22558 if ac_fn_cxx_try_compile "$LINENO"; then :
22559 glibcxx_cv_func__isinff_use=yes
22560 else
22561 glibcxx_cv_func__isinff_use=no
22562 fi
22563 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22564 ac_ext=c
22565 ac_cpp='$CPP $CPPFLAGS'
22566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22569
22570
22571 fi
22572
22573 fi
22574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22575 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22576
22577 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22578 for ac_func in _isinff
22579 do :
22580 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22581 if test "x$ac_cv_func__isinff" = x""yes; then :
22582 cat >>confdefs.h <<_ACEOF
22583 #define HAVE__ISINFF 1
22584 _ACEOF
22585
22586 fi
22587 done
22588
22589 fi
22590 fi
22591
22592
22593
22594
22595
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22597 $as_echo_n "checking for atan2f declaration... " >&6; }
22598 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22599 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22600 $as_echo_n "(cached) " >&6
22601 else
22602
22603
22604 ac_ext=cpp
22605 ac_cpp='$CXXCPP $CPPFLAGS'
22606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22609
22610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22611 /* end confdefs.h. */
22612 #include <math.h>
22613 int
22614 main ()
22615 {
22616 atan2f(0, 0);
22617 ;
22618 return 0;
22619 }
22620 _ACEOF
22621 if ac_fn_cxx_try_compile "$LINENO"; then :
22622 glibcxx_cv_func_atan2f_use=yes
22623 else
22624 glibcxx_cv_func_atan2f_use=no
22625 fi
22626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22627 ac_ext=c
22628 ac_cpp='$CPP $CPPFLAGS'
22629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22632
22633
22634 fi
22635
22636 fi
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22638 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22639
22640 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22641 for ac_func in atan2f
22642 do :
22643 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22644 if test "x$ac_cv_func_atan2f" = x""yes; then :
22645 cat >>confdefs.h <<_ACEOF
22646 #define HAVE_ATAN2F 1
22647 _ACEOF
22648
22649 fi
22650 done
22651
22652 else
22653
22654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22655 $as_echo_n "checking for _atan2f declaration... " >&6; }
22656 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22657 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22658 $as_echo_n "(cached) " >&6
22659 else
22660
22661
22662 ac_ext=cpp
22663 ac_cpp='$CXXCPP $CPPFLAGS'
22664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22667
22668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22669 /* end confdefs.h. */
22670 #include <math.h>
22671 int
22672 main ()
22673 {
22674 _atan2f(0, 0);
22675 ;
22676 return 0;
22677 }
22678 _ACEOF
22679 if ac_fn_cxx_try_compile "$LINENO"; then :
22680 glibcxx_cv_func__atan2f_use=yes
22681 else
22682 glibcxx_cv_func__atan2f_use=no
22683 fi
22684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22685 ac_ext=c
22686 ac_cpp='$CPP $CPPFLAGS'
22687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22690
22691
22692 fi
22693
22694 fi
22695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22696 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22697
22698 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22699 for ac_func in _atan2f
22700 do :
22701 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22702 if test "x$ac_cv_func__atan2f" = x""yes; then :
22703 cat >>confdefs.h <<_ACEOF
22704 #define HAVE__ATAN2F 1
22705 _ACEOF
22706
22707 fi
22708 done
22709
22710 fi
22711 fi
22712
22713
22714
22715
22716
22717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22718 $as_echo_n "checking for fabsf declaration... " >&6; }
22719 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22720 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22721 $as_echo_n "(cached) " >&6
22722 else
22723
22724
22725 ac_ext=cpp
22726 ac_cpp='$CXXCPP $CPPFLAGS'
22727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22730
22731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22732 /* end confdefs.h. */
22733 #include <math.h>
22734 #ifdef HAVE_IEEEFP_H
22735 #include <ieeefp.h>
22736 #endif
22737
22738 int
22739 main ()
22740 {
22741 fabsf(0);
22742 ;
22743 return 0;
22744 }
22745 _ACEOF
22746 if ac_fn_cxx_try_compile "$LINENO"; then :
22747 glibcxx_cv_func_fabsf_use=yes
22748 else
22749 glibcxx_cv_func_fabsf_use=no
22750 fi
22751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22752 ac_ext=c
22753 ac_cpp='$CPP $CPPFLAGS'
22754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22757
22758
22759 fi
22760
22761 fi
22762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22763 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22764
22765 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22766 for ac_func in fabsf
22767 do :
22768 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22769 if test "x$ac_cv_func_fabsf" = x""yes; then :
22770 cat >>confdefs.h <<_ACEOF
22771 #define HAVE_FABSF 1
22772 _ACEOF
22773
22774 fi
22775 done
22776
22777 else
22778
22779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22780 $as_echo_n "checking for _fabsf declaration... " >&6; }
22781 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22782 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22783 $as_echo_n "(cached) " >&6
22784 else
22785
22786
22787 ac_ext=cpp
22788 ac_cpp='$CXXCPP $CPPFLAGS'
22789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22792
22793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22794 /* end confdefs.h. */
22795 #include <math.h>
22796 #ifdef HAVE_IEEEFP_H
22797 #include <ieeefp.h>
22798 #endif
22799
22800 int
22801 main ()
22802 {
22803 _fabsf(0);
22804 ;
22805 return 0;
22806 }
22807 _ACEOF
22808 if ac_fn_cxx_try_compile "$LINENO"; then :
22809 glibcxx_cv_func__fabsf_use=yes
22810 else
22811 glibcxx_cv_func__fabsf_use=no
22812 fi
22813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22814 ac_ext=c
22815 ac_cpp='$CPP $CPPFLAGS'
22816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22819
22820
22821 fi
22822
22823 fi
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22825 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22826
22827 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22828 for ac_func in _fabsf
22829 do :
22830 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22831 if test "x$ac_cv_func__fabsf" = x""yes; then :
22832 cat >>confdefs.h <<_ACEOF
22833 #define HAVE__FABSF 1
22834 _ACEOF
22835
22836 fi
22837 done
22838
22839 fi
22840 fi
22841
22842
22843
22844
22845
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22847 $as_echo_n "checking for fmodf declaration... " >&6; }
22848 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22849 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22850 $as_echo_n "(cached) " >&6
22851 else
22852
22853
22854 ac_ext=cpp
22855 ac_cpp='$CXXCPP $CPPFLAGS'
22856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22859
22860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22861 /* end confdefs.h. */
22862 #include <math.h>
22863 int
22864 main ()
22865 {
22866 fmodf(0, 0);
22867 ;
22868 return 0;
22869 }
22870 _ACEOF
22871 if ac_fn_cxx_try_compile "$LINENO"; then :
22872 glibcxx_cv_func_fmodf_use=yes
22873 else
22874 glibcxx_cv_func_fmodf_use=no
22875 fi
22876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22877 ac_ext=c
22878 ac_cpp='$CPP $CPPFLAGS'
22879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22882
22883
22884 fi
22885
22886 fi
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22888 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22889
22890 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22891 for ac_func in fmodf
22892 do :
22893 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22894 if test "x$ac_cv_func_fmodf" = x""yes; then :
22895 cat >>confdefs.h <<_ACEOF
22896 #define HAVE_FMODF 1
22897 _ACEOF
22898
22899 fi
22900 done
22901
22902 else
22903
22904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22905 $as_echo_n "checking for _fmodf declaration... " >&6; }
22906 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22907 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22908 $as_echo_n "(cached) " >&6
22909 else
22910
22911
22912 ac_ext=cpp
22913 ac_cpp='$CXXCPP $CPPFLAGS'
22914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22917
22918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22919 /* end confdefs.h. */
22920 #include <math.h>
22921 int
22922 main ()
22923 {
22924 _fmodf(0, 0);
22925 ;
22926 return 0;
22927 }
22928 _ACEOF
22929 if ac_fn_cxx_try_compile "$LINENO"; then :
22930 glibcxx_cv_func__fmodf_use=yes
22931 else
22932 glibcxx_cv_func__fmodf_use=no
22933 fi
22934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22935 ac_ext=c
22936 ac_cpp='$CPP $CPPFLAGS'
22937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22940
22941
22942 fi
22943
22944 fi
22945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22946 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22947
22948 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22949 for ac_func in _fmodf
22950 do :
22951 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22952 if test "x$ac_cv_func__fmodf" = x""yes; then :
22953 cat >>confdefs.h <<_ACEOF
22954 #define HAVE__FMODF 1
22955 _ACEOF
22956
22957 fi
22958 done
22959
22960 fi
22961 fi
22962
22963
22964
22965
22966
22967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22968 $as_echo_n "checking for frexpf declaration... " >&6; }
22969 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22970 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22971 $as_echo_n "(cached) " >&6
22972 else
22973
22974
22975 ac_ext=cpp
22976 ac_cpp='$CXXCPP $CPPFLAGS'
22977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22980
22981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22982 /* end confdefs.h. */
22983 #include <math.h>
22984 int
22985 main ()
22986 {
22987 frexpf(0, 0);
22988 ;
22989 return 0;
22990 }
22991 _ACEOF
22992 if ac_fn_cxx_try_compile "$LINENO"; then :
22993 glibcxx_cv_func_frexpf_use=yes
22994 else
22995 glibcxx_cv_func_frexpf_use=no
22996 fi
22997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22998 ac_ext=c
22999 ac_cpp='$CPP $CPPFLAGS'
23000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23003
23004
23005 fi
23006
23007 fi
23008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23009 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23010
23011 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23012 for ac_func in frexpf
23013 do :
23014 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23015 if test "x$ac_cv_func_frexpf" = x""yes; then :
23016 cat >>confdefs.h <<_ACEOF
23017 #define HAVE_FREXPF 1
23018 _ACEOF
23019
23020 fi
23021 done
23022
23023 else
23024
23025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23026 $as_echo_n "checking for _frexpf declaration... " >&6; }
23027 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23028 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23029 $as_echo_n "(cached) " >&6
23030 else
23031
23032
23033 ac_ext=cpp
23034 ac_cpp='$CXXCPP $CPPFLAGS'
23035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23038
23039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23040 /* end confdefs.h. */
23041 #include <math.h>
23042 int
23043 main ()
23044 {
23045 _frexpf(0, 0);
23046 ;
23047 return 0;
23048 }
23049 _ACEOF
23050 if ac_fn_cxx_try_compile "$LINENO"; then :
23051 glibcxx_cv_func__frexpf_use=yes
23052 else
23053 glibcxx_cv_func__frexpf_use=no
23054 fi
23055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23056 ac_ext=c
23057 ac_cpp='$CPP $CPPFLAGS'
23058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23061
23062
23063 fi
23064
23065 fi
23066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23067 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23068
23069 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23070 for ac_func in _frexpf
23071 do :
23072 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23073 if test "x$ac_cv_func__frexpf" = x""yes; then :
23074 cat >>confdefs.h <<_ACEOF
23075 #define HAVE__FREXPF 1
23076 _ACEOF
23077
23078 fi
23079 done
23080
23081 fi
23082 fi
23083
23084
23085
23086
23087
23088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23089 $as_echo_n "checking for hypotf declaration... " >&6; }
23090 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23091 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23092 $as_echo_n "(cached) " >&6
23093 else
23094
23095
23096 ac_ext=cpp
23097 ac_cpp='$CXXCPP $CPPFLAGS'
23098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23101
23102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23103 /* end confdefs.h. */
23104 #include <math.h>
23105 int
23106 main ()
23107 {
23108 hypotf(0, 0);
23109 ;
23110 return 0;
23111 }
23112 _ACEOF
23113 if ac_fn_cxx_try_compile "$LINENO"; then :
23114 glibcxx_cv_func_hypotf_use=yes
23115 else
23116 glibcxx_cv_func_hypotf_use=no
23117 fi
23118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23119 ac_ext=c
23120 ac_cpp='$CPP $CPPFLAGS'
23121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23124
23125
23126 fi
23127
23128 fi
23129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23130 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23131
23132 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23133 for ac_func in hypotf
23134 do :
23135 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23136 if test "x$ac_cv_func_hypotf" = x""yes; then :
23137 cat >>confdefs.h <<_ACEOF
23138 #define HAVE_HYPOTF 1
23139 _ACEOF
23140
23141 fi
23142 done
23143
23144 else
23145
23146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23147 $as_echo_n "checking for _hypotf declaration... " >&6; }
23148 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23149 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23150 $as_echo_n "(cached) " >&6
23151 else
23152
23153
23154 ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159
23160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161 /* end confdefs.h. */
23162 #include <math.h>
23163 int
23164 main ()
23165 {
23166 _hypotf(0, 0);
23167 ;
23168 return 0;
23169 }
23170 _ACEOF
23171 if ac_fn_cxx_try_compile "$LINENO"; then :
23172 glibcxx_cv_func__hypotf_use=yes
23173 else
23174 glibcxx_cv_func__hypotf_use=no
23175 fi
23176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23177 ac_ext=c
23178 ac_cpp='$CPP $CPPFLAGS'
23179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23182
23183
23184 fi
23185
23186 fi
23187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23188 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23189
23190 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23191 for ac_func in _hypotf
23192 do :
23193 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23194 if test "x$ac_cv_func__hypotf" = x""yes; then :
23195 cat >>confdefs.h <<_ACEOF
23196 #define HAVE__HYPOTF 1
23197 _ACEOF
23198
23199 fi
23200 done
23201
23202 fi
23203 fi
23204
23205
23206
23207
23208
23209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23210 $as_echo_n "checking for ldexpf declaration... " >&6; }
23211 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23212 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23213 $as_echo_n "(cached) " >&6
23214 else
23215
23216
23217 ac_ext=cpp
23218 ac_cpp='$CXXCPP $CPPFLAGS'
23219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23222
23223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23224 /* end confdefs.h. */
23225 #include <math.h>
23226 int
23227 main ()
23228 {
23229 ldexpf(0, 0);
23230 ;
23231 return 0;
23232 }
23233 _ACEOF
23234 if ac_fn_cxx_try_compile "$LINENO"; then :
23235 glibcxx_cv_func_ldexpf_use=yes
23236 else
23237 glibcxx_cv_func_ldexpf_use=no
23238 fi
23239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23240 ac_ext=c
23241 ac_cpp='$CPP $CPPFLAGS'
23242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23245
23246
23247 fi
23248
23249 fi
23250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23251 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23252
23253 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23254 for ac_func in ldexpf
23255 do :
23256 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23257 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23258 cat >>confdefs.h <<_ACEOF
23259 #define HAVE_LDEXPF 1
23260 _ACEOF
23261
23262 fi
23263 done
23264
23265 else
23266
23267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23268 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23269 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23270 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23271 $as_echo_n "(cached) " >&6
23272 else
23273
23274
23275 ac_ext=cpp
23276 ac_cpp='$CXXCPP $CPPFLAGS'
23277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23280
23281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23282 /* end confdefs.h. */
23283 #include <math.h>
23284 int
23285 main ()
23286 {
23287 _ldexpf(0, 0);
23288 ;
23289 return 0;
23290 }
23291 _ACEOF
23292 if ac_fn_cxx_try_compile "$LINENO"; then :
23293 glibcxx_cv_func__ldexpf_use=yes
23294 else
23295 glibcxx_cv_func__ldexpf_use=no
23296 fi
23297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23298 ac_ext=c
23299 ac_cpp='$CPP $CPPFLAGS'
23300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23303
23304
23305 fi
23306
23307 fi
23308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23309 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23310
23311 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23312 for ac_func in _ldexpf
23313 do :
23314 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23315 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23316 cat >>confdefs.h <<_ACEOF
23317 #define HAVE__LDEXPF 1
23318 _ACEOF
23319
23320 fi
23321 done
23322
23323 fi
23324 fi
23325
23326
23327
23328
23329
23330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23331 $as_echo_n "checking for logf declaration... " >&6; }
23332 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23333 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23334 $as_echo_n "(cached) " >&6
23335 else
23336
23337
23338 ac_ext=cpp
23339 ac_cpp='$CXXCPP $CPPFLAGS'
23340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23343
23344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23345 /* end confdefs.h. */
23346 #include <math.h>
23347 #ifdef HAVE_IEEEFP_H
23348 #include <ieeefp.h>
23349 #endif
23350
23351 int
23352 main ()
23353 {
23354 logf(0);
23355 ;
23356 return 0;
23357 }
23358 _ACEOF
23359 if ac_fn_cxx_try_compile "$LINENO"; then :
23360 glibcxx_cv_func_logf_use=yes
23361 else
23362 glibcxx_cv_func_logf_use=no
23363 fi
23364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23365 ac_ext=c
23366 ac_cpp='$CPP $CPPFLAGS'
23367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23370
23371
23372 fi
23373
23374 fi
23375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23376 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23377
23378 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23379 for ac_func in logf
23380 do :
23381 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23382 if test "x$ac_cv_func_logf" = x""yes; then :
23383 cat >>confdefs.h <<_ACEOF
23384 #define HAVE_LOGF 1
23385 _ACEOF
23386
23387 fi
23388 done
23389
23390 else
23391
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23393 $as_echo_n "checking for _logf declaration... " >&6; }
23394 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23395 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23396 $as_echo_n "(cached) " >&6
23397 else
23398
23399
23400 ac_ext=cpp
23401 ac_cpp='$CXXCPP $CPPFLAGS'
23402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23405
23406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23407 /* end confdefs.h. */
23408 #include <math.h>
23409 #ifdef HAVE_IEEEFP_H
23410 #include <ieeefp.h>
23411 #endif
23412
23413 int
23414 main ()
23415 {
23416 _logf(0);
23417 ;
23418 return 0;
23419 }
23420 _ACEOF
23421 if ac_fn_cxx_try_compile "$LINENO"; then :
23422 glibcxx_cv_func__logf_use=yes
23423 else
23424 glibcxx_cv_func__logf_use=no
23425 fi
23426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23427 ac_ext=c
23428 ac_cpp='$CPP $CPPFLAGS'
23429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23432
23433
23434 fi
23435
23436 fi
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23438 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23439
23440 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23441 for ac_func in _logf
23442 do :
23443 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23444 if test "x$ac_cv_func__logf" = x""yes; then :
23445 cat >>confdefs.h <<_ACEOF
23446 #define HAVE__LOGF 1
23447 _ACEOF
23448
23449 fi
23450 done
23451
23452 fi
23453 fi
23454
23455
23456
23457
23458
23459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23460 $as_echo_n "checking for log10f declaration... " >&6; }
23461 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23462 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23463 $as_echo_n "(cached) " >&6
23464 else
23465
23466
23467 ac_ext=cpp
23468 ac_cpp='$CXXCPP $CPPFLAGS'
23469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23472
23473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23474 /* end confdefs.h. */
23475 #include <math.h>
23476 #ifdef HAVE_IEEEFP_H
23477 #include <ieeefp.h>
23478 #endif
23479
23480 int
23481 main ()
23482 {
23483 log10f(0);
23484 ;
23485 return 0;
23486 }
23487 _ACEOF
23488 if ac_fn_cxx_try_compile "$LINENO"; then :
23489 glibcxx_cv_func_log10f_use=yes
23490 else
23491 glibcxx_cv_func_log10f_use=no
23492 fi
23493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23494 ac_ext=c
23495 ac_cpp='$CPP $CPPFLAGS'
23496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23499
23500
23501 fi
23502
23503 fi
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23505 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23506
23507 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23508 for ac_func in log10f
23509 do :
23510 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23511 if test "x$ac_cv_func_log10f" = x""yes; then :
23512 cat >>confdefs.h <<_ACEOF
23513 #define HAVE_LOG10F 1
23514 _ACEOF
23515
23516 fi
23517 done
23518
23519 else
23520
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23522 $as_echo_n "checking for _log10f declaration... " >&6; }
23523 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23524 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23525 $as_echo_n "(cached) " >&6
23526 else
23527
23528
23529 ac_ext=cpp
23530 ac_cpp='$CXXCPP $CPPFLAGS'
23531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23534
23535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23536 /* end confdefs.h. */
23537 #include <math.h>
23538 #ifdef HAVE_IEEEFP_H
23539 #include <ieeefp.h>
23540 #endif
23541
23542 int
23543 main ()
23544 {
23545 _log10f(0);
23546 ;
23547 return 0;
23548 }
23549 _ACEOF
23550 if ac_fn_cxx_try_compile "$LINENO"; then :
23551 glibcxx_cv_func__log10f_use=yes
23552 else
23553 glibcxx_cv_func__log10f_use=no
23554 fi
23555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23556 ac_ext=c
23557 ac_cpp='$CPP $CPPFLAGS'
23558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23561
23562
23563 fi
23564
23565 fi
23566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23567 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23568
23569 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23570 for ac_func in _log10f
23571 do :
23572 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23573 if test "x$ac_cv_func__log10f" = x""yes; then :
23574 cat >>confdefs.h <<_ACEOF
23575 #define HAVE__LOG10F 1
23576 _ACEOF
23577
23578 fi
23579 done
23580
23581 fi
23582 fi
23583
23584
23585
23586
23587
23588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23589 $as_echo_n "checking for modff declaration... " >&6; }
23590 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23591 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23592 $as_echo_n "(cached) " >&6
23593 else
23594
23595
23596 ac_ext=cpp
23597 ac_cpp='$CXXCPP $CPPFLAGS'
23598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23601
23602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23603 /* end confdefs.h. */
23604 #include <math.h>
23605 int
23606 main ()
23607 {
23608 modff(0, 0);
23609 ;
23610 return 0;
23611 }
23612 _ACEOF
23613 if ac_fn_cxx_try_compile "$LINENO"; then :
23614 glibcxx_cv_func_modff_use=yes
23615 else
23616 glibcxx_cv_func_modff_use=no
23617 fi
23618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23619 ac_ext=c
23620 ac_cpp='$CPP $CPPFLAGS'
23621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23624
23625
23626 fi
23627
23628 fi
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23630 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23631
23632 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23633 for ac_func in modff
23634 do :
23635 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23636 if test "x$ac_cv_func_modff" = x""yes; then :
23637 cat >>confdefs.h <<_ACEOF
23638 #define HAVE_MODFF 1
23639 _ACEOF
23640
23641 fi
23642 done
23643
23644 else
23645
23646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23647 $as_echo_n "checking for _modff declaration... " >&6; }
23648 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23649 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23650 $as_echo_n "(cached) " >&6
23651 else
23652
23653
23654 ac_ext=cpp
23655 ac_cpp='$CXXCPP $CPPFLAGS'
23656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23659
23660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23661 /* end confdefs.h. */
23662 #include <math.h>
23663 int
23664 main ()
23665 {
23666 _modff(0, 0);
23667 ;
23668 return 0;
23669 }
23670 _ACEOF
23671 if ac_fn_cxx_try_compile "$LINENO"; then :
23672 glibcxx_cv_func__modff_use=yes
23673 else
23674 glibcxx_cv_func__modff_use=no
23675 fi
23676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23677 ac_ext=c
23678 ac_cpp='$CPP $CPPFLAGS'
23679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23682
23683
23684 fi
23685
23686 fi
23687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23688 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23689
23690 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23691 for ac_func in _modff
23692 do :
23693 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23694 if test "x$ac_cv_func__modff" = x""yes; then :
23695 cat >>confdefs.h <<_ACEOF
23696 #define HAVE__MODFF 1
23697 _ACEOF
23698
23699 fi
23700 done
23701
23702 fi
23703 fi
23704
23705
23706
23707
23708
23709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23710 $as_echo_n "checking for modf declaration... " >&6; }
23711 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23712 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23713 $as_echo_n "(cached) " >&6
23714 else
23715
23716
23717 ac_ext=cpp
23718 ac_cpp='$CXXCPP $CPPFLAGS'
23719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23722
23723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23724 /* end confdefs.h. */
23725 #include <math.h>
23726 int
23727 main ()
23728 {
23729 modf(0, 0);
23730 ;
23731 return 0;
23732 }
23733 _ACEOF
23734 if ac_fn_cxx_try_compile "$LINENO"; then :
23735 glibcxx_cv_func_modf_use=yes
23736 else
23737 glibcxx_cv_func_modf_use=no
23738 fi
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740 ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23745
23746
23747 fi
23748
23749 fi
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23751 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23752
23753 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23754 for ac_func in modf
23755 do :
23756 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23757 if test "x$ac_cv_func_modf" = x""yes; then :
23758 cat >>confdefs.h <<_ACEOF
23759 #define HAVE_MODF 1
23760 _ACEOF
23761
23762 fi
23763 done
23764
23765 else
23766
23767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23768 $as_echo_n "checking for _modf declaration... " >&6; }
23769 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23770 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23771 $as_echo_n "(cached) " >&6
23772 else
23773
23774
23775 ac_ext=cpp
23776 ac_cpp='$CXXCPP $CPPFLAGS'
23777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23780
23781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23782 /* end confdefs.h. */
23783 #include <math.h>
23784 int
23785 main ()
23786 {
23787 _modf(0, 0);
23788 ;
23789 return 0;
23790 }
23791 _ACEOF
23792 if ac_fn_cxx_try_compile "$LINENO"; then :
23793 glibcxx_cv_func__modf_use=yes
23794 else
23795 glibcxx_cv_func__modf_use=no
23796 fi
23797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23798 ac_ext=c
23799 ac_cpp='$CPP $CPPFLAGS'
23800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23803
23804
23805 fi
23806
23807 fi
23808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23809 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23810
23811 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23812 for ac_func in _modf
23813 do :
23814 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23815 if test "x$ac_cv_func__modf" = x""yes; then :
23816 cat >>confdefs.h <<_ACEOF
23817 #define HAVE__MODF 1
23818 _ACEOF
23819
23820 fi
23821 done
23822
23823 fi
23824 fi
23825
23826
23827
23828
23829
23830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23831 $as_echo_n "checking for powf declaration... " >&6; }
23832 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23833 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23834 $as_echo_n "(cached) " >&6
23835 else
23836
23837
23838 ac_ext=cpp
23839 ac_cpp='$CXXCPP $CPPFLAGS'
23840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23843
23844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23845 /* end confdefs.h. */
23846 #include <math.h>
23847 int
23848 main ()
23849 {
23850 powf(0, 0);
23851 ;
23852 return 0;
23853 }
23854 _ACEOF
23855 if ac_fn_cxx_try_compile "$LINENO"; then :
23856 glibcxx_cv_func_powf_use=yes
23857 else
23858 glibcxx_cv_func_powf_use=no
23859 fi
23860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23861 ac_ext=c
23862 ac_cpp='$CPP $CPPFLAGS'
23863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23866
23867
23868 fi
23869
23870 fi
23871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23872 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23873
23874 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23875 for ac_func in powf
23876 do :
23877 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23878 if test "x$ac_cv_func_powf" = x""yes; then :
23879 cat >>confdefs.h <<_ACEOF
23880 #define HAVE_POWF 1
23881 _ACEOF
23882
23883 fi
23884 done
23885
23886 else
23887
23888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23889 $as_echo_n "checking for _powf declaration... " >&6; }
23890 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23891 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23892 $as_echo_n "(cached) " >&6
23893 else
23894
23895
23896 ac_ext=cpp
23897 ac_cpp='$CXXCPP $CPPFLAGS'
23898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23901
23902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23903 /* end confdefs.h. */
23904 #include <math.h>
23905 int
23906 main ()
23907 {
23908 _powf(0, 0);
23909 ;
23910 return 0;
23911 }
23912 _ACEOF
23913 if ac_fn_cxx_try_compile "$LINENO"; then :
23914 glibcxx_cv_func__powf_use=yes
23915 else
23916 glibcxx_cv_func__powf_use=no
23917 fi
23918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23919 ac_ext=c
23920 ac_cpp='$CPP $CPPFLAGS'
23921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23924
23925
23926 fi
23927
23928 fi
23929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23930 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23931
23932 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23933 for ac_func in _powf
23934 do :
23935 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23936 if test "x$ac_cv_func__powf" = x""yes; then :
23937 cat >>confdefs.h <<_ACEOF
23938 #define HAVE__POWF 1
23939 _ACEOF
23940
23941 fi
23942 done
23943
23944 fi
23945 fi
23946
23947
23948
23949
23950
23951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23952 $as_echo_n "checking for sqrtf declaration... " >&6; }
23953 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23954 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23955 $as_echo_n "(cached) " >&6
23956 else
23957
23958
23959 ac_ext=cpp
23960 ac_cpp='$CXXCPP $CPPFLAGS'
23961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23964
23965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23966 /* end confdefs.h. */
23967 #include <math.h>
23968 #ifdef HAVE_IEEEFP_H
23969 #include <ieeefp.h>
23970 #endif
23971
23972 int
23973 main ()
23974 {
23975 sqrtf(0);
23976 ;
23977 return 0;
23978 }
23979 _ACEOF
23980 if ac_fn_cxx_try_compile "$LINENO"; then :
23981 glibcxx_cv_func_sqrtf_use=yes
23982 else
23983 glibcxx_cv_func_sqrtf_use=no
23984 fi
23985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23986 ac_ext=c
23987 ac_cpp='$CPP $CPPFLAGS'
23988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23991
23992
23993 fi
23994
23995 fi
23996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23997 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23998
23999 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24000 for ac_func in sqrtf
24001 do :
24002 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24003 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24004 cat >>confdefs.h <<_ACEOF
24005 #define HAVE_SQRTF 1
24006 _ACEOF
24007
24008 fi
24009 done
24010
24011 else
24012
24013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24014 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24015 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24016 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24017 $as_echo_n "(cached) " >&6
24018 else
24019
24020
24021 ac_ext=cpp
24022 ac_cpp='$CXXCPP $CPPFLAGS'
24023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24026
24027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24028 /* end confdefs.h. */
24029 #include <math.h>
24030 #ifdef HAVE_IEEEFP_H
24031 #include <ieeefp.h>
24032 #endif
24033
24034 int
24035 main ()
24036 {
24037 _sqrtf(0);
24038 ;
24039 return 0;
24040 }
24041 _ACEOF
24042 if ac_fn_cxx_try_compile "$LINENO"; then :
24043 glibcxx_cv_func__sqrtf_use=yes
24044 else
24045 glibcxx_cv_func__sqrtf_use=no
24046 fi
24047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24048 ac_ext=c
24049 ac_cpp='$CPP $CPPFLAGS'
24050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24053
24054
24055 fi
24056
24057 fi
24058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24059 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24060
24061 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24062 for ac_func in _sqrtf
24063 do :
24064 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24065 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24066 cat >>confdefs.h <<_ACEOF
24067 #define HAVE__SQRTF 1
24068 _ACEOF
24069
24070 fi
24071 done
24072
24073 fi
24074 fi
24075
24076
24077
24078
24079
24080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24081 $as_echo_n "checking for sincosf declaration... " >&6; }
24082 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24083 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24084 $as_echo_n "(cached) " >&6
24085 else
24086
24087
24088 ac_ext=cpp
24089 ac_cpp='$CXXCPP $CPPFLAGS'
24090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24093
24094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24095 /* end confdefs.h. */
24096 #include <math.h>
24097 int
24098 main ()
24099 {
24100 sincosf(0, 0, 0);
24101 ;
24102 return 0;
24103 }
24104 _ACEOF
24105 if ac_fn_cxx_try_compile "$LINENO"; then :
24106 glibcxx_cv_func_sincosf_use=yes
24107 else
24108 glibcxx_cv_func_sincosf_use=no
24109 fi
24110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24111 ac_ext=c
24112 ac_cpp='$CPP $CPPFLAGS'
24113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24116
24117
24118 fi
24119
24120 fi
24121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24122 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24123
24124 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24125 for ac_func in sincosf
24126 do :
24127 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24128 if test "x$ac_cv_func_sincosf" = x""yes; then :
24129 cat >>confdefs.h <<_ACEOF
24130 #define HAVE_SINCOSF 1
24131 _ACEOF
24132
24133 fi
24134 done
24135
24136 else
24137
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24139 $as_echo_n "checking for _sincosf declaration... " >&6; }
24140 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24141 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24142 $as_echo_n "(cached) " >&6
24143 else
24144
24145
24146 ac_ext=cpp
24147 ac_cpp='$CXXCPP $CPPFLAGS'
24148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24151
24152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24153 /* end confdefs.h. */
24154 #include <math.h>
24155 int
24156 main ()
24157 {
24158 _sincosf(0, 0, 0);
24159 ;
24160 return 0;
24161 }
24162 _ACEOF
24163 if ac_fn_cxx_try_compile "$LINENO"; then :
24164 glibcxx_cv_func__sincosf_use=yes
24165 else
24166 glibcxx_cv_func__sincosf_use=no
24167 fi
24168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24169 ac_ext=c
24170 ac_cpp='$CPP $CPPFLAGS'
24171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24174
24175
24176 fi
24177
24178 fi
24179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24180 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24181
24182 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24183 for ac_func in _sincosf
24184 do :
24185 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24186 if test "x$ac_cv_func__sincosf" = x""yes; then :
24187 cat >>confdefs.h <<_ACEOF
24188 #define HAVE__SINCOSF 1
24189 _ACEOF
24190
24191 fi
24192 done
24193
24194 fi
24195 fi
24196
24197
24198
24199
24200
24201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24202 $as_echo_n "checking for finitef declaration... " >&6; }
24203 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24204 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24205 $as_echo_n "(cached) " >&6
24206 else
24207
24208
24209 ac_ext=cpp
24210 ac_cpp='$CXXCPP $CPPFLAGS'
24211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24214
24215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24216 /* end confdefs.h. */
24217 #include <math.h>
24218 #ifdef HAVE_IEEEFP_H
24219 #include <ieeefp.h>
24220 #endif
24221
24222 int
24223 main ()
24224 {
24225 finitef(0);
24226 ;
24227 return 0;
24228 }
24229 _ACEOF
24230 if ac_fn_cxx_try_compile "$LINENO"; then :
24231 glibcxx_cv_func_finitef_use=yes
24232 else
24233 glibcxx_cv_func_finitef_use=no
24234 fi
24235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24236 ac_ext=c
24237 ac_cpp='$CPP $CPPFLAGS'
24238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24241
24242
24243 fi
24244
24245 fi
24246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24247 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24248
24249 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24250 for ac_func in finitef
24251 do :
24252 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24253 if test "x$ac_cv_func_finitef" = x""yes; then :
24254 cat >>confdefs.h <<_ACEOF
24255 #define HAVE_FINITEF 1
24256 _ACEOF
24257
24258 fi
24259 done
24260
24261 else
24262
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24264 $as_echo_n "checking for _finitef declaration... " >&6; }
24265 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24266 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24267 $as_echo_n "(cached) " >&6
24268 else
24269
24270
24271 ac_ext=cpp
24272 ac_cpp='$CXXCPP $CPPFLAGS'
24273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24276
24277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24278 /* end confdefs.h. */
24279 #include <math.h>
24280 #ifdef HAVE_IEEEFP_H
24281 #include <ieeefp.h>
24282 #endif
24283
24284 int
24285 main ()
24286 {
24287 _finitef(0);
24288 ;
24289 return 0;
24290 }
24291 _ACEOF
24292 if ac_fn_cxx_try_compile "$LINENO"; then :
24293 glibcxx_cv_func__finitef_use=yes
24294 else
24295 glibcxx_cv_func__finitef_use=no
24296 fi
24297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24298 ac_ext=c
24299 ac_cpp='$CPP $CPPFLAGS'
24300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24303
24304
24305 fi
24306
24307 fi
24308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24309 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24310
24311 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24312 for ac_func in _finitef
24313 do :
24314 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24315 if test "x$ac_cv_func__finitef" = x""yes; then :
24316 cat >>confdefs.h <<_ACEOF
24317 #define HAVE__FINITEF 1
24318 _ACEOF
24319
24320 fi
24321 done
24322
24323 fi
24324 fi
24325
24326
24327
24328
24329
24330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24331 $as_echo_n "checking for long double trig functions... " >&6; }
24332 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24333 $as_echo_n "(cached) " >&6
24334 else
24335
24336
24337 ac_ext=cpp
24338 ac_cpp='$CXXCPP $CPPFLAGS'
24339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24342
24343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24344 /* end confdefs.h. */
24345 #include <math.h>
24346 int
24347 main ()
24348 {
24349 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24350 ;
24351 return 0;
24352 }
24353 _ACEOF
24354 if ac_fn_cxx_try_compile "$LINENO"; then :
24355 glibcxx_cv_func_long_double_trig_use=yes
24356 else
24357 glibcxx_cv_func_long_double_trig_use=no
24358 fi
24359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24360 ac_ext=c
24361 ac_cpp='$CPP $CPPFLAGS'
24362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24365
24366 fi
24367
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24369 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24370 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24371 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24372 do :
24373 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24374 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24375 eval as_val=\$$as_ac_var
24376 if test "x$as_val" = x""yes; then :
24377 cat >>confdefs.h <<_ACEOF
24378 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24379 _ACEOF
24380
24381 fi
24382 done
24383
24384 else
24385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24386 $as_echo_n "checking for _long double trig functions... " >&6; }
24387 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24388 $as_echo_n "(cached) " >&6
24389 else
24390
24391
24392 ac_ext=cpp
24393 ac_cpp='$CXXCPP $CPPFLAGS'
24394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24397
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24400 #include <math.h>
24401 int
24402 main ()
24403 {
24404 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24405 ;
24406 return 0;
24407 }
24408 _ACEOF
24409 if ac_fn_cxx_try_compile "$LINENO"; then :
24410 glibcxx_cv_func__long_double_trig_use=yes
24411 else
24412 glibcxx_cv_func__long_double_trig_use=no
24413 fi
24414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24415 ac_ext=c
24416 ac_cpp='$CPP $CPPFLAGS'
24417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24420
24421 fi
24422
24423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24424 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24425 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24426 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24427 do :
24428 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24429 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24430 eval as_val=\$$as_ac_var
24431 if test "x$as_val" = x""yes; then :
24432 cat >>confdefs.h <<_ACEOF
24433 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24434 _ACEOF
24435
24436 fi
24437 done
24438
24439 fi
24440 fi
24441
24442
24443
24444
24445
24446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24447 $as_echo_n "checking for long double round functions... " >&6; }
24448 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24449 $as_echo_n "(cached) " >&6
24450 else
24451
24452
24453 ac_ext=cpp
24454 ac_cpp='$CXXCPP $CPPFLAGS'
24455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24458
24459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24460 /* end confdefs.h. */
24461 #include <math.h>
24462 int
24463 main ()
24464 {
24465 ceill (0); floorl (0);
24466 ;
24467 return 0;
24468 }
24469 _ACEOF
24470 if ac_fn_cxx_try_compile "$LINENO"; then :
24471 glibcxx_cv_func_long_double_round_use=yes
24472 else
24473 glibcxx_cv_func_long_double_round_use=no
24474 fi
24475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24476 ac_ext=c
24477 ac_cpp='$CPP $CPPFLAGS'
24478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24481
24482 fi
24483
24484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24485 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24486 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24487 for ac_func in ceill floorl
24488 do :
24489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24491 eval as_val=\$$as_ac_var
24492 if test "x$as_val" = x""yes; then :
24493 cat >>confdefs.h <<_ACEOF
24494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24495 _ACEOF
24496
24497 fi
24498 done
24499
24500 else
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24502 $as_echo_n "checking for _long double round functions... " >&6; }
24503 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24504 $as_echo_n "(cached) " >&6
24505 else
24506
24507
24508 ac_ext=cpp
24509 ac_cpp='$CXXCPP $CPPFLAGS'
24510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24513
24514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24515 /* end confdefs.h. */
24516 #include <math.h>
24517 int
24518 main ()
24519 {
24520 _ceill (0); _floorl (0);
24521 ;
24522 return 0;
24523 }
24524 _ACEOF
24525 if ac_fn_cxx_try_compile "$LINENO"; then :
24526 glibcxx_cv_func__long_double_round_use=yes
24527 else
24528 glibcxx_cv_func__long_double_round_use=no
24529 fi
24530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24531 ac_ext=c
24532 ac_cpp='$CPP $CPPFLAGS'
24533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24536
24537 fi
24538
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24540 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24541 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24542 for ac_func in _ceill _floorl
24543 do :
24544 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24545 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24546 eval as_val=\$$as_ac_var
24547 if test "x$as_val" = x""yes; then :
24548 cat >>confdefs.h <<_ACEOF
24549 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24550 _ACEOF
24551
24552 fi
24553 done
24554
24555 fi
24556 fi
24557
24558
24559
24560
24561
24562
24563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24564 $as_echo_n "checking for isnanl declaration... " >&6; }
24565 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24566 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24567 $as_echo_n "(cached) " >&6
24568 else
24569
24570
24571 ac_ext=cpp
24572 ac_cpp='$CXXCPP $CPPFLAGS'
24573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24576
24577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24578 /* end confdefs.h. */
24579 #include <math.h>
24580 #ifdef HAVE_IEEEFP_H
24581 #include <ieeefp.h>
24582 #endif
24583
24584 int
24585 main ()
24586 {
24587 isnanl(0);
24588 ;
24589 return 0;
24590 }
24591 _ACEOF
24592 if ac_fn_cxx_try_compile "$LINENO"; then :
24593 glibcxx_cv_func_isnanl_use=yes
24594 else
24595 glibcxx_cv_func_isnanl_use=no
24596 fi
24597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24598 ac_ext=c
24599 ac_cpp='$CPP $CPPFLAGS'
24600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24603
24604
24605 fi
24606
24607 fi
24608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24609 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24610
24611 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24612 for ac_func in isnanl
24613 do :
24614 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24615 if test "x$ac_cv_func_isnanl" = x""yes; then :
24616 cat >>confdefs.h <<_ACEOF
24617 #define HAVE_ISNANL 1
24618 _ACEOF
24619
24620 fi
24621 done
24622
24623 else
24624
24625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24626 $as_echo_n "checking for _isnanl declaration... " >&6; }
24627 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24628 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24629 $as_echo_n "(cached) " >&6
24630 else
24631
24632
24633 ac_ext=cpp
24634 ac_cpp='$CXXCPP $CPPFLAGS'
24635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24638
24639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24640 /* end confdefs.h. */
24641 #include <math.h>
24642 #ifdef HAVE_IEEEFP_H
24643 #include <ieeefp.h>
24644 #endif
24645
24646 int
24647 main ()
24648 {
24649 _isnanl(0);
24650 ;
24651 return 0;
24652 }
24653 _ACEOF
24654 if ac_fn_cxx_try_compile "$LINENO"; then :
24655 glibcxx_cv_func__isnanl_use=yes
24656 else
24657 glibcxx_cv_func__isnanl_use=no
24658 fi
24659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24660 ac_ext=c
24661 ac_cpp='$CPP $CPPFLAGS'
24662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24665
24666
24667 fi
24668
24669 fi
24670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24671 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24672
24673 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24674 for ac_func in _isnanl
24675 do :
24676 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24677 if test "x$ac_cv_func__isnanl" = x""yes; then :
24678 cat >>confdefs.h <<_ACEOF
24679 #define HAVE__ISNANL 1
24680 _ACEOF
24681
24682 fi
24683 done
24684
24685 fi
24686 fi
24687
24688
24689
24690
24691
24692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24693 $as_echo_n "checking for isinfl declaration... " >&6; }
24694 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24695 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24696 $as_echo_n "(cached) " >&6
24697 else
24698
24699
24700 ac_ext=cpp
24701 ac_cpp='$CXXCPP $CPPFLAGS'
24702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24705
24706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24707 /* end confdefs.h. */
24708 #include <math.h>
24709 #ifdef HAVE_IEEEFP_H
24710 #include <ieeefp.h>
24711 #endif
24712
24713 int
24714 main ()
24715 {
24716 isinfl(0);
24717 ;
24718 return 0;
24719 }
24720 _ACEOF
24721 if ac_fn_cxx_try_compile "$LINENO"; then :
24722 glibcxx_cv_func_isinfl_use=yes
24723 else
24724 glibcxx_cv_func_isinfl_use=no
24725 fi
24726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24727 ac_ext=c
24728 ac_cpp='$CPP $CPPFLAGS'
24729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24732
24733
24734 fi
24735
24736 fi
24737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24738 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24739
24740 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24741 for ac_func in isinfl
24742 do :
24743 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24744 if test "x$ac_cv_func_isinfl" = x""yes; then :
24745 cat >>confdefs.h <<_ACEOF
24746 #define HAVE_ISINFL 1
24747 _ACEOF
24748
24749 fi
24750 done
24751
24752 else
24753
24754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24755 $as_echo_n "checking for _isinfl declaration... " >&6; }
24756 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24757 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24758 $as_echo_n "(cached) " >&6
24759 else
24760
24761
24762 ac_ext=cpp
24763 ac_cpp='$CXXCPP $CPPFLAGS'
24764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24767
24768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24769 /* end confdefs.h. */
24770 #include <math.h>
24771 #ifdef HAVE_IEEEFP_H
24772 #include <ieeefp.h>
24773 #endif
24774
24775 int
24776 main ()
24777 {
24778 _isinfl(0);
24779 ;
24780 return 0;
24781 }
24782 _ACEOF
24783 if ac_fn_cxx_try_compile "$LINENO"; then :
24784 glibcxx_cv_func__isinfl_use=yes
24785 else
24786 glibcxx_cv_func__isinfl_use=no
24787 fi
24788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24789 ac_ext=c
24790 ac_cpp='$CPP $CPPFLAGS'
24791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24794
24795
24796 fi
24797
24798 fi
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24800 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24801
24802 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24803 for ac_func in _isinfl
24804 do :
24805 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24806 if test "x$ac_cv_func__isinfl" = x""yes; then :
24807 cat >>confdefs.h <<_ACEOF
24808 #define HAVE__ISINFL 1
24809 _ACEOF
24810
24811 fi
24812 done
24813
24814 fi
24815 fi
24816
24817
24818
24819
24820
24821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24822 $as_echo_n "checking for atan2l declaration... " >&6; }
24823 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24824 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24825 $as_echo_n "(cached) " >&6
24826 else
24827
24828
24829 ac_ext=cpp
24830 ac_cpp='$CXXCPP $CPPFLAGS'
24831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24834
24835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24836 /* end confdefs.h. */
24837 #include <math.h>
24838 int
24839 main ()
24840 {
24841 atan2l(0, 0);
24842 ;
24843 return 0;
24844 }
24845 _ACEOF
24846 if ac_fn_cxx_try_compile "$LINENO"; then :
24847 glibcxx_cv_func_atan2l_use=yes
24848 else
24849 glibcxx_cv_func_atan2l_use=no
24850 fi
24851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24852 ac_ext=c
24853 ac_cpp='$CPP $CPPFLAGS'
24854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24857
24858
24859 fi
24860
24861 fi
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24863 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24864
24865 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24866 for ac_func in atan2l
24867 do :
24868 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24869 if test "x$ac_cv_func_atan2l" = x""yes; then :
24870 cat >>confdefs.h <<_ACEOF
24871 #define HAVE_ATAN2L 1
24872 _ACEOF
24873
24874 fi
24875 done
24876
24877 else
24878
24879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24880 $as_echo_n "checking for _atan2l declaration... " >&6; }
24881 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24882 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24883 $as_echo_n "(cached) " >&6
24884 else
24885
24886
24887 ac_ext=cpp
24888 ac_cpp='$CXXCPP $CPPFLAGS'
24889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24892
24893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24894 /* end confdefs.h. */
24895 #include <math.h>
24896 int
24897 main ()
24898 {
24899 _atan2l(0, 0);
24900 ;
24901 return 0;
24902 }
24903 _ACEOF
24904 if ac_fn_cxx_try_compile "$LINENO"; then :
24905 glibcxx_cv_func__atan2l_use=yes
24906 else
24907 glibcxx_cv_func__atan2l_use=no
24908 fi
24909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24910 ac_ext=c
24911 ac_cpp='$CPP $CPPFLAGS'
24912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24915
24916
24917 fi
24918
24919 fi
24920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24921 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24922
24923 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24924 for ac_func in _atan2l
24925 do :
24926 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24927 if test "x$ac_cv_func__atan2l" = x""yes; then :
24928 cat >>confdefs.h <<_ACEOF
24929 #define HAVE__ATAN2L 1
24930 _ACEOF
24931
24932 fi
24933 done
24934
24935 fi
24936 fi
24937
24938
24939
24940
24941
24942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24943 $as_echo_n "checking for expl declaration... " >&6; }
24944 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24945 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24946 $as_echo_n "(cached) " >&6
24947 else
24948
24949
24950 ac_ext=cpp
24951 ac_cpp='$CXXCPP $CPPFLAGS'
24952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24955
24956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24957 /* end confdefs.h. */
24958 #include <math.h>
24959 #ifdef HAVE_IEEEFP_H
24960 #include <ieeefp.h>
24961 #endif
24962
24963 int
24964 main ()
24965 {
24966 expl(0);
24967 ;
24968 return 0;
24969 }
24970 _ACEOF
24971 if ac_fn_cxx_try_compile "$LINENO"; then :
24972 glibcxx_cv_func_expl_use=yes
24973 else
24974 glibcxx_cv_func_expl_use=no
24975 fi
24976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24977 ac_ext=c
24978 ac_cpp='$CPP $CPPFLAGS'
24979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24982
24983
24984 fi
24985
24986 fi
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24988 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24989
24990 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24991 for ac_func in expl
24992 do :
24993 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24994 if test "x$ac_cv_func_expl" = x""yes; then :
24995 cat >>confdefs.h <<_ACEOF
24996 #define HAVE_EXPL 1
24997 _ACEOF
24998
24999 fi
25000 done
25001
25002 else
25003
25004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25005 $as_echo_n "checking for _expl declaration... " >&6; }
25006 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25007 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25008 $as_echo_n "(cached) " >&6
25009 else
25010
25011
25012 ac_ext=cpp
25013 ac_cpp='$CXXCPP $CPPFLAGS'
25014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25017
25018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25019 /* end confdefs.h. */
25020 #include <math.h>
25021 #ifdef HAVE_IEEEFP_H
25022 #include <ieeefp.h>
25023 #endif
25024
25025 int
25026 main ()
25027 {
25028 _expl(0);
25029 ;
25030 return 0;
25031 }
25032 _ACEOF
25033 if ac_fn_cxx_try_compile "$LINENO"; then :
25034 glibcxx_cv_func__expl_use=yes
25035 else
25036 glibcxx_cv_func__expl_use=no
25037 fi
25038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25039 ac_ext=c
25040 ac_cpp='$CPP $CPPFLAGS'
25041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25044
25045
25046 fi
25047
25048 fi
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25050 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25051
25052 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25053 for ac_func in _expl
25054 do :
25055 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25056 if test "x$ac_cv_func__expl" = x""yes; then :
25057 cat >>confdefs.h <<_ACEOF
25058 #define HAVE__EXPL 1
25059 _ACEOF
25060
25061 fi
25062 done
25063
25064 fi
25065 fi
25066
25067
25068
25069
25070
25071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25072 $as_echo_n "checking for fabsl declaration... " >&6; }
25073 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25074 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25075 $as_echo_n "(cached) " >&6
25076 else
25077
25078
25079 ac_ext=cpp
25080 ac_cpp='$CXXCPP $CPPFLAGS'
25081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25084
25085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25086 /* end confdefs.h. */
25087 #include <math.h>
25088 #ifdef HAVE_IEEEFP_H
25089 #include <ieeefp.h>
25090 #endif
25091
25092 int
25093 main ()
25094 {
25095 fabsl(0);
25096 ;
25097 return 0;
25098 }
25099 _ACEOF
25100 if ac_fn_cxx_try_compile "$LINENO"; then :
25101 glibcxx_cv_func_fabsl_use=yes
25102 else
25103 glibcxx_cv_func_fabsl_use=no
25104 fi
25105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25106 ac_ext=c
25107 ac_cpp='$CPP $CPPFLAGS'
25108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25111
25112
25113 fi
25114
25115 fi
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25117 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25118
25119 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25120 for ac_func in fabsl
25121 do :
25122 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25123 if test "x$ac_cv_func_fabsl" = x""yes; then :
25124 cat >>confdefs.h <<_ACEOF
25125 #define HAVE_FABSL 1
25126 _ACEOF
25127
25128 fi
25129 done
25130
25131 else
25132
25133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25134 $as_echo_n "checking for _fabsl declaration... " >&6; }
25135 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25136 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25137 $as_echo_n "(cached) " >&6
25138 else
25139
25140
25141 ac_ext=cpp
25142 ac_cpp='$CXXCPP $CPPFLAGS'
25143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25146
25147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25148 /* end confdefs.h. */
25149 #include <math.h>
25150 #ifdef HAVE_IEEEFP_H
25151 #include <ieeefp.h>
25152 #endif
25153
25154 int
25155 main ()
25156 {
25157 _fabsl(0);
25158 ;
25159 return 0;
25160 }
25161 _ACEOF
25162 if ac_fn_cxx_try_compile "$LINENO"; then :
25163 glibcxx_cv_func__fabsl_use=yes
25164 else
25165 glibcxx_cv_func__fabsl_use=no
25166 fi
25167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25168 ac_ext=c
25169 ac_cpp='$CPP $CPPFLAGS'
25170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25173
25174
25175 fi
25176
25177 fi
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25179 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25180
25181 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25182 for ac_func in _fabsl
25183 do :
25184 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25185 if test "x$ac_cv_func__fabsl" = x""yes; then :
25186 cat >>confdefs.h <<_ACEOF
25187 #define HAVE__FABSL 1
25188 _ACEOF
25189
25190 fi
25191 done
25192
25193 fi
25194 fi
25195
25196
25197
25198
25199
25200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25201 $as_echo_n "checking for fmodl declaration... " >&6; }
25202 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25203 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25204 $as_echo_n "(cached) " >&6
25205 else
25206
25207
25208 ac_ext=cpp
25209 ac_cpp='$CXXCPP $CPPFLAGS'
25210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25213
25214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25215 /* end confdefs.h. */
25216 #include <math.h>
25217 int
25218 main ()
25219 {
25220 fmodl(0, 0);
25221 ;
25222 return 0;
25223 }
25224 _ACEOF
25225 if ac_fn_cxx_try_compile "$LINENO"; then :
25226 glibcxx_cv_func_fmodl_use=yes
25227 else
25228 glibcxx_cv_func_fmodl_use=no
25229 fi
25230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25231 ac_ext=c
25232 ac_cpp='$CPP $CPPFLAGS'
25233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25236
25237
25238 fi
25239
25240 fi
25241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25242 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25243
25244 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25245 for ac_func in fmodl
25246 do :
25247 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25248 if test "x$ac_cv_func_fmodl" = x""yes; then :
25249 cat >>confdefs.h <<_ACEOF
25250 #define HAVE_FMODL 1
25251 _ACEOF
25252
25253 fi
25254 done
25255
25256 else
25257
25258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25259 $as_echo_n "checking for _fmodl declaration... " >&6; }
25260 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25261 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25262 $as_echo_n "(cached) " >&6
25263 else
25264
25265
25266 ac_ext=cpp
25267 ac_cpp='$CXXCPP $CPPFLAGS'
25268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25271
25272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25273 /* end confdefs.h. */
25274 #include <math.h>
25275 int
25276 main ()
25277 {
25278 _fmodl(0, 0);
25279 ;
25280 return 0;
25281 }
25282 _ACEOF
25283 if ac_fn_cxx_try_compile "$LINENO"; then :
25284 glibcxx_cv_func__fmodl_use=yes
25285 else
25286 glibcxx_cv_func__fmodl_use=no
25287 fi
25288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25289 ac_ext=c
25290 ac_cpp='$CPP $CPPFLAGS'
25291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25294
25295
25296 fi
25297
25298 fi
25299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25300 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25301
25302 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25303 for ac_func in _fmodl
25304 do :
25305 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25306 if test "x$ac_cv_func__fmodl" = x""yes; then :
25307 cat >>confdefs.h <<_ACEOF
25308 #define HAVE__FMODL 1
25309 _ACEOF
25310
25311 fi
25312 done
25313
25314 fi
25315 fi
25316
25317
25318
25319
25320
25321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25322 $as_echo_n "checking for frexpl declaration... " >&6; }
25323 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25324 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25325 $as_echo_n "(cached) " >&6
25326 else
25327
25328
25329 ac_ext=cpp
25330 ac_cpp='$CXXCPP $CPPFLAGS'
25331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25334
25335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25336 /* end confdefs.h. */
25337 #include <math.h>
25338 int
25339 main ()
25340 {
25341 frexpl(0, 0);
25342 ;
25343 return 0;
25344 }
25345 _ACEOF
25346 if ac_fn_cxx_try_compile "$LINENO"; then :
25347 glibcxx_cv_func_frexpl_use=yes
25348 else
25349 glibcxx_cv_func_frexpl_use=no
25350 fi
25351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25352 ac_ext=c
25353 ac_cpp='$CPP $CPPFLAGS'
25354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25357
25358
25359 fi
25360
25361 fi
25362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25363 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25364
25365 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25366 for ac_func in frexpl
25367 do :
25368 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25369 if test "x$ac_cv_func_frexpl" = x""yes; then :
25370 cat >>confdefs.h <<_ACEOF
25371 #define HAVE_FREXPL 1
25372 _ACEOF
25373
25374 fi
25375 done
25376
25377 else
25378
25379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25380 $as_echo_n "checking for _frexpl declaration... " >&6; }
25381 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25382 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25383 $as_echo_n "(cached) " >&6
25384 else
25385
25386
25387 ac_ext=cpp
25388 ac_cpp='$CXXCPP $CPPFLAGS'
25389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25392
25393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25394 /* end confdefs.h. */
25395 #include <math.h>
25396 int
25397 main ()
25398 {
25399 _frexpl(0, 0);
25400 ;
25401 return 0;
25402 }
25403 _ACEOF
25404 if ac_fn_cxx_try_compile "$LINENO"; then :
25405 glibcxx_cv_func__frexpl_use=yes
25406 else
25407 glibcxx_cv_func__frexpl_use=no
25408 fi
25409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25410 ac_ext=c
25411 ac_cpp='$CPP $CPPFLAGS'
25412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25415
25416
25417 fi
25418
25419 fi
25420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25421 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25422
25423 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25424 for ac_func in _frexpl
25425 do :
25426 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25427 if test "x$ac_cv_func__frexpl" = x""yes; then :
25428 cat >>confdefs.h <<_ACEOF
25429 #define HAVE__FREXPL 1
25430 _ACEOF
25431
25432 fi
25433 done
25434
25435 fi
25436 fi
25437
25438
25439
25440
25441
25442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25443 $as_echo_n "checking for hypotl declaration... " >&6; }
25444 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25445 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25446 $as_echo_n "(cached) " >&6
25447 else
25448
25449
25450 ac_ext=cpp
25451 ac_cpp='$CXXCPP $CPPFLAGS'
25452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25455
25456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25457 /* end confdefs.h. */
25458 #include <math.h>
25459 int
25460 main ()
25461 {
25462 hypotl(0, 0);
25463 ;
25464 return 0;
25465 }
25466 _ACEOF
25467 if ac_fn_cxx_try_compile "$LINENO"; then :
25468 glibcxx_cv_func_hypotl_use=yes
25469 else
25470 glibcxx_cv_func_hypotl_use=no
25471 fi
25472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25473 ac_ext=c
25474 ac_cpp='$CPP $CPPFLAGS'
25475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25478
25479
25480 fi
25481
25482 fi
25483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25484 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25485
25486 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25487 for ac_func in hypotl
25488 do :
25489 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25490 if test "x$ac_cv_func_hypotl" = x""yes; then :
25491 cat >>confdefs.h <<_ACEOF
25492 #define HAVE_HYPOTL 1
25493 _ACEOF
25494
25495 fi
25496 done
25497
25498 else
25499
25500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25501 $as_echo_n "checking for _hypotl declaration... " >&6; }
25502 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25503 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25504 $as_echo_n "(cached) " >&6
25505 else
25506
25507
25508 ac_ext=cpp
25509 ac_cpp='$CXXCPP $CPPFLAGS'
25510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25513
25514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25515 /* end confdefs.h. */
25516 #include <math.h>
25517 int
25518 main ()
25519 {
25520 _hypotl(0, 0);
25521 ;
25522 return 0;
25523 }
25524 _ACEOF
25525 if ac_fn_cxx_try_compile "$LINENO"; then :
25526 glibcxx_cv_func__hypotl_use=yes
25527 else
25528 glibcxx_cv_func__hypotl_use=no
25529 fi
25530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25531 ac_ext=c
25532 ac_cpp='$CPP $CPPFLAGS'
25533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25536
25537
25538 fi
25539
25540 fi
25541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25542 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25543
25544 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25545 for ac_func in _hypotl
25546 do :
25547 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25548 if test "x$ac_cv_func__hypotl" = x""yes; then :
25549 cat >>confdefs.h <<_ACEOF
25550 #define HAVE__HYPOTL 1
25551 _ACEOF
25552
25553 fi
25554 done
25555
25556 fi
25557 fi
25558
25559
25560
25561
25562
25563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25564 $as_echo_n "checking for ldexpl declaration... " >&6; }
25565 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25566 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25567 $as_echo_n "(cached) " >&6
25568 else
25569
25570
25571 ac_ext=cpp
25572 ac_cpp='$CXXCPP $CPPFLAGS'
25573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25576
25577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25578 /* end confdefs.h. */
25579 #include <math.h>
25580 int
25581 main ()
25582 {
25583 ldexpl(0, 0);
25584 ;
25585 return 0;
25586 }
25587 _ACEOF
25588 if ac_fn_cxx_try_compile "$LINENO"; then :
25589 glibcxx_cv_func_ldexpl_use=yes
25590 else
25591 glibcxx_cv_func_ldexpl_use=no
25592 fi
25593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25594 ac_ext=c
25595 ac_cpp='$CPP $CPPFLAGS'
25596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25599
25600
25601 fi
25602
25603 fi
25604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25605 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25606
25607 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25608 for ac_func in ldexpl
25609 do :
25610 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25611 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25612 cat >>confdefs.h <<_ACEOF
25613 #define HAVE_LDEXPL 1
25614 _ACEOF
25615
25616 fi
25617 done
25618
25619 else
25620
25621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25622 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25623 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25624 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25625 $as_echo_n "(cached) " >&6
25626 else
25627
25628
25629 ac_ext=cpp
25630 ac_cpp='$CXXCPP $CPPFLAGS'
25631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25634
25635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25636 /* end confdefs.h. */
25637 #include <math.h>
25638 int
25639 main ()
25640 {
25641 _ldexpl(0, 0);
25642 ;
25643 return 0;
25644 }
25645 _ACEOF
25646 if ac_fn_cxx_try_compile "$LINENO"; then :
25647 glibcxx_cv_func__ldexpl_use=yes
25648 else
25649 glibcxx_cv_func__ldexpl_use=no
25650 fi
25651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25652 ac_ext=c
25653 ac_cpp='$CPP $CPPFLAGS'
25654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25657
25658
25659 fi
25660
25661 fi
25662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25663 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25664
25665 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25666 for ac_func in _ldexpl
25667 do :
25668 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25669 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25670 cat >>confdefs.h <<_ACEOF
25671 #define HAVE__LDEXPL 1
25672 _ACEOF
25673
25674 fi
25675 done
25676
25677 fi
25678 fi
25679
25680
25681
25682
25683
25684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25685 $as_echo_n "checking for logl declaration... " >&6; }
25686 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25687 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25688 $as_echo_n "(cached) " >&6
25689 else
25690
25691
25692 ac_ext=cpp
25693 ac_cpp='$CXXCPP $CPPFLAGS'
25694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25697
25698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25699 /* end confdefs.h. */
25700 #include <math.h>
25701 #ifdef HAVE_IEEEFP_H
25702 #include <ieeefp.h>
25703 #endif
25704
25705 int
25706 main ()
25707 {
25708 logl(0);
25709 ;
25710 return 0;
25711 }
25712 _ACEOF
25713 if ac_fn_cxx_try_compile "$LINENO"; then :
25714 glibcxx_cv_func_logl_use=yes
25715 else
25716 glibcxx_cv_func_logl_use=no
25717 fi
25718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25719 ac_ext=c
25720 ac_cpp='$CPP $CPPFLAGS'
25721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25724
25725
25726 fi
25727
25728 fi
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25730 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25731
25732 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25733 for ac_func in logl
25734 do :
25735 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25736 if test "x$ac_cv_func_logl" = x""yes; then :
25737 cat >>confdefs.h <<_ACEOF
25738 #define HAVE_LOGL 1
25739 _ACEOF
25740
25741 fi
25742 done
25743
25744 else
25745
25746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25747 $as_echo_n "checking for _logl declaration... " >&6; }
25748 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25749 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25750 $as_echo_n "(cached) " >&6
25751 else
25752
25753
25754 ac_ext=cpp
25755 ac_cpp='$CXXCPP $CPPFLAGS'
25756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25759
25760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25761 /* end confdefs.h. */
25762 #include <math.h>
25763 #ifdef HAVE_IEEEFP_H
25764 #include <ieeefp.h>
25765 #endif
25766
25767 int
25768 main ()
25769 {
25770 _logl(0);
25771 ;
25772 return 0;
25773 }
25774 _ACEOF
25775 if ac_fn_cxx_try_compile "$LINENO"; then :
25776 glibcxx_cv_func__logl_use=yes
25777 else
25778 glibcxx_cv_func__logl_use=no
25779 fi
25780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25781 ac_ext=c
25782 ac_cpp='$CPP $CPPFLAGS'
25783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25786
25787
25788 fi
25789
25790 fi
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25792 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25793
25794 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25795 for ac_func in _logl
25796 do :
25797 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25798 if test "x$ac_cv_func__logl" = x""yes; then :
25799 cat >>confdefs.h <<_ACEOF
25800 #define HAVE__LOGL 1
25801 _ACEOF
25802
25803 fi
25804 done
25805
25806 fi
25807 fi
25808
25809
25810
25811
25812
25813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25814 $as_echo_n "checking for log10l declaration... " >&6; }
25815 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25816 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25817 $as_echo_n "(cached) " >&6
25818 else
25819
25820
25821 ac_ext=cpp
25822 ac_cpp='$CXXCPP $CPPFLAGS'
25823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25826
25827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25828 /* end confdefs.h. */
25829 #include <math.h>
25830 #ifdef HAVE_IEEEFP_H
25831 #include <ieeefp.h>
25832 #endif
25833
25834 int
25835 main ()
25836 {
25837 log10l(0);
25838 ;
25839 return 0;
25840 }
25841 _ACEOF
25842 if ac_fn_cxx_try_compile "$LINENO"; then :
25843 glibcxx_cv_func_log10l_use=yes
25844 else
25845 glibcxx_cv_func_log10l_use=no
25846 fi
25847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25848 ac_ext=c
25849 ac_cpp='$CPP $CPPFLAGS'
25850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25853
25854
25855 fi
25856
25857 fi
25858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25859 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25860
25861 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25862 for ac_func in log10l
25863 do :
25864 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25865 if test "x$ac_cv_func_log10l" = x""yes; then :
25866 cat >>confdefs.h <<_ACEOF
25867 #define HAVE_LOG10L 1
25868 _ACEOF
25869
25870 fi
25871 done
25872
25873 else
25874
25875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25876 $as_echo_n "checking for _log10l declaration... " >&6; }
25877 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25878 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25879 $as_echo_n "(cached) " >&6
25880 else
25881
25882
25883 ac_ext=cpp
25884 ac_cpp='$CXXCPP $CPPFLAGS'
25885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25888
25889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25890 /* end confdefs.h. */
25891 #include <math.h>
25892 #ifdef HAVE_IEEEFP_H
25893 #include <ieeefp.h>
25894 #endif
25895
25896 int
25897 main ()
25898 {
25899 _log10l(0);
25900 ;
25901 return 0;
25902 }
25903 _ACEOF
25904 if ac_fn_cxx_try_compile "$LINENO"; then :
25905 glibcxx_cv_func__log10l_use=yes
25906 else
25907 glibcxx_cv_func__log10l_use=no
25908 fi
25909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25910 ac_ext=c
25911 ac_cpp='$CPP $CPPFLAGS'
25912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25915
25916
25917 fi
25918
25919 fi
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25921 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25922
25923 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25924 for ac_func in _log10l
25925 do :
25926 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25927 if test "x$ac_cv_func__log10l" = x""yes; then :
25928 cat >>confdefs.h <<_ACEOF
25929 #define HAVE__LOG10L 1
25930 _ACEOF
25931
25932 fi
25933 done
25934
25935 fi
25936 fi
25937
25938
25939
25940
25941
25942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25943 $as_echo_n "checking for modfl declaration... " >&6; }
25944 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25945 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25946 $as_echo_n "(cached) " >&6
25947 else
25948
25949
25950 ac_ext=cpp
25951 ac_cpp='$CXXCPP $CPPFLAGS'
25952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25955
25956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25957 /* end confdefs.h. */
25958 #include <math.h>
25959 int
25960 main ()
25961 {
25962 modfl(0, 0);
25963 ;
25964 return 0;
25965 }
25966 _ACEOF
25967 if ac_fn_cxx_try_compile "$LINENO"; then :
25968 glibcxx_cv_func_modfl_use=yes
25969 else
25970 glibcxx_cv_func_modfl_use=no
25971 fi
25972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25973 ac_ext=c
25974 ac_cpp='$CPP $CPPFLAGS'
25975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25978
25979
25980 fi
25981
25982 fi
25983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25984 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25985
25986 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25987 for ac_func in modfl
25988 do :
25989 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25990 if test "x$ac_cv_func_modfl" = x""yes; then :
25991 cat >>confdefs.h <<_ACEOF
25992 #define HAVE_MODFL 1
25993 _ACEOF
25994
25995 fi
25996 done
25997
25998 else
25999
26000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26001 $as_echo_n "checking for _modfl declaration... " >&6; }
26002 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26003 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26004 $as_echo_n "(cached) " >&6
26005 else
26006
26007
26008 ac_ext=cpp
26009 ac_cpp='$CXXCPP $CPPFLAGS'
26010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26013
26014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26015 /* end confdefs.h. */
26016 #include <math.h>
26017 int
26018 main ()
26019 {
26020 _modfl(0, 0);
26021 ;
26022 return 0;
26023 }
26024 _ACEOF
26025 if ac_fn_cxx_try_compile "$LINENO"; then :
26026 glibcxx_cv_func__modfl_use=yes
26027 else
26028 glibcxx_cv_func__modfl_use=no
26029 fi
26030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26031 ac_ext=c
26032 ac_cpp='$CPP $CPPFLAGS'
26033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26036
26037
26038 fi
26039
26040 fi
26041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26042 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26043
26044 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26045 for ac_func in _modfl
26046 do :
26047 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26048 if test "x$ac_cv_func__modfl" = x""yes; then :
26049 cat >>confdefs.h <<_ACEOF
26050 #define HAVE__MODFL 1
26051 _ACEOF
26052
26053 fi
26054 done
26055
26056 fi
26057 fi
26058
26059
26060
26061
26062
26063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26064 $as_echo_n "checking for powl declaration... " >&6; }
26065 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26066 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26067 $as_echo_n "(cached) " >&6
26068 else
26069
26070
26071 ac_ext=cpp
26072 ac_cpp='$CXXCPP $CPPFLAGS'
26073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26076
26077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26078 /* end confdefs.h. */
26079 #include <math.h>
26080 int
26081 main ()
26082 {
26083 powl(0, 0);
26084 ;
26085 return 0;
26086 }
26087 _ACEOF
26088 if ac_fn_cxx_try_compile "$LINENO"; then :
26089 glibcxx_cv_func_powl_use=yes
26090 else
26091 glibcxx_cv_func_powl_use=no
26092 fi
26093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26094 ac_ext=c
26095 ac_cpp='$CPP $CPPFLAGS'
26096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26099
26100
26101 fi
26102
26103 fi
26104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26105 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26106
26107 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26108 for ac_func in powl
26109 do :
26110 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26111 if test "x$ac_cv_func_powl" = x""yes; then :
26112 cat >>confdefs.h <<_ACEOF
26113 #define HAVE_POWL 1
26114 _ACEOF
26115
26116 fi
26117 done
26118
26119 else
26120
26121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26122 $as_echo_n "checking for _powl declaration... " >&6; }
26123 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26124 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26125 $as_echo_n "(cached) " >&6
26126 else
26127
26128
26129 ac_ext=cpp
26130 ac_cpp='$CXXCPP $CPPFLAGS'
26131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26134
26135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26136 /* end confdefs.h. */
26137 #include <math.h>
26138 int
26139 main ()
26140 {
26141 _powl(0, 0);
26142 ;
26143 return 0;
26144 }
26145 _ACEOF
26146 if ac_fn_cxx_try_compile "$LINENO"; then :
26147 glibcxx_cv_func__powl_use=yes
26148 else
26149 glibcxx_cv_func__powl_use=no
26150 fi
26151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26152 ac_ext=c
26153 ac_cpp='$CPP $CPPFLAGS'
26154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26157
26158
26159 fi
26160
26161 fi
26162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26163 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26164
26165 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26166 for ac_func in _powl
26167 do :
26168 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26169 if test "x$ac_cv_func__powl" = x""yes; then :
26170 cat >>confdefs.h <<_ACEOF
26171 #define HAVE__POWL 1
26172 _ACEOF
26173
26174 fi
26175 done
26176
26177 fi
26178 fi
26179
26180
26181
26182
26183
26184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26185 $as_echo_n "checking for sqrtl declaration... " >&6; }
26186 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26187 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26188 $as_echo_n "(cached) " >&6
26189 else
26190
26191
26192 ac_ext=cpp
26193 ac_cpp='$CXXCPP $CPPFLAGS'
26194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26197
26198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26199 /* end confdefs.h. */
26200 #include <math.h>
26201 #ifdef HAVE_IEEEFP_H
26202 #include <ieeefp.h>
26203 #endif
26204
26205 int
26206 main ()
26207 {
26208 sqrtl(0);
26209 ;
26210 return 0;
26211 }
26212 _ACEOF
26213 if ac_fn_cxx_try_compile "$LINENO"; then :
26214 glibcxx_cv_func_sqrtl_use=yes
26215 else
26216 glibcxx_cv_func_sqrtl_use=no
26217 fi
26218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26219 ac_ext=c
26220 ac_cpp='$CPP $CPPFLAGS'
26221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26224
26225
26226 fi
26227
26228 fi
26229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26230 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26231
26232 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26233 for ac_func in sqrtl
26234 do :
26235 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26236 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26237 cat >>confdefs.h <<_ACEOF
26238 #define HAVE_SQRTL 1
26239 _ACEOF
26240
26241 fi
26242 done
26243
26244 else
26245
26246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26247 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26248 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26249 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26250 $as_echo_n "(cached) " >&6
26251 else
26252
26253
26254 ac_ext=cpp
26255 ac_cpp='$CXXCPP $CPPFLAGS'
26256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26259
26260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26261 /* end confdefs.h. */
26262 #include <math.h>
26263 #ifdef HAVE_IEEEFP_H
26264 #include <ieeefp.h>
26265 #endif
26266
26267 int
26268 main ()
26269 {
26270 _sqrtl(0);
26271 ;
26272 return 0;
26273 }
26274 _ACEOF
26275 if ac_fn_cxx_try_compile "$LINENO"; then :
26276 glibcxx_cv_func__sqrtl_use=yes
26277 else
26278 glibcxx_cv_func__sqrtl_use=no
26279 fi
26280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26281 ac_ext=c
26282 ac_cpp='$CPP $CPPFLAGS'
26283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26286
26287
26288 fi
26289
26290 fi
26291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26292 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26293
26294 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26295 for ac_func in _sqrtl
26296 do :
26297 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26298 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26299 cat >>confdefs.h <<_ACEOF
26300 #define HAVE__SQRTL 1
26301 _ACEOF
26302
26303 fi
26304 done
26305
26306 fi
26307 fi
26308
26309
26310
26311
26312
26313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26314 $as_echo_n "checking for sincosl declaration... " >&6; }
26315 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26316 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26317 $as_echo_n "(cached) " >&6
26318 else
26319
26320
26321 ac_ext=cpp
26322 ac_cpp='$CXXCPP $CPPFLAGS'
26323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26326
26327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26328 /* end confdefs.h. */
26329 #include <math.h>
26330 int
26331 main ()
26332 {
26333 sincosl(0, 0, 0);
26334 ;
26335 return 0;
26336 }
26337 _ACEOF
26338 if ac_fn_cxx_try_compile "$LINENO"; then :
26339 glibcxx_cv_func_sincosl_use=yes
26340 else
26341 glibcxx_cv_func_sincosl_use=no
26342 fi
26343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26344 ac_ext=c
26345 ac_cpp='$CPP $CPPFLAGS'
26346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26349
26350
26351 fi
26352
26353 fi
26354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26355 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26356
26357 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26358 for ac_func in sincosl
26359 do :
26360 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26361 if test "x$ac_cv_func_sincosl" = x""yes; then :
26362 cat >>confdefs.h <<_ACEOF
26363 #define HAVE_SINCOSL 1
26364 _ACEOF
26365
26366 fi
26367 done
26368
26369 else
26370
26371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26372 $as_echo_n "checking for _sincosl declaration... " >&6; }
26373 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26374 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26375 $as_echo_n "(cached) " >&6
26376 else
26377
26378
26379 ac_ext=cpp
26380 ac_cpp='$CXXCPP $CPPFLAGS'
26381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26384
26385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26386 /* end confdefs.h. */
26387 #include <math.h>
26388 int
26389 main ()
26390 {
26391 _sincosl(0, 0, 0);
26392 ;
26393 return 0;
26394 }
26395 _ACEOF
26396 if ac_fn_cxx_try_compile "$LINENO"; then :
26397 glibcxx_cv_func__sincosl_use=yes
26398 else
26399 glibcxx_cv_func__sincosl_use=no
26400 fi
26401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26402 ac_ext=c
26403 ac_cpp='$CPP $CPPFLAGS'
26404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26407
26408
26409 fi
26410
26411 fi
26412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26413 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26414
26415 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26416 for ac_func in _sincosl
26417 do :
26418 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26419 if test "x$ac_cv_func__sincosl" = x""yes; then :
26420 cat >>confdefs.h <<_ACEOF
26421 #define HAVE__SINCOSL 1
26422 _ACEOF
26423
26424 fi
26425 done
26426
26427 fi
26428 fi
26429
26430
26431
26432
26433
26434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26435 $as_echo_n "checking for finitel declaration... " >&6; }
26436 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26437 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26438 $as_echo_n "(cached) " >&6
26439 else
26440
26441
26442 ac_ext=cpp
26443 ac_cpp='$CXXCPP $CPPFLAGS'
26444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26447
26448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26449 /* end confdefs.h. */
26450 #include <math.h>
26451 #ifdef HAVE_IEEEFP_H
26452 #include <ieeefp.h>
26453 #endif
26454
26455 int
26456 main ()
26457 {
26458 finitel(0);
26459 ;
26460 return 0;
26461 }
26462 _ACEOF
26463 if ac_fn_cxx_try_compile "$LINENO"; then :
26464 glibcxx_cv_func_finitel_use=yes
26465 else
26466 glibcxx_cv_func_finitel_use=no
26467 fi
26468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26469 ac_ext=c
26470 ac_cpp='$CPP $CPPFLAGS'
26471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26474
26475
26476 fi
26477
26478 fi
26479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26480 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26481
26482 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26483 for ac_func in finitel
26484 do :
26485 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26486 if test "x$ac_cv_func_finitel" = x""yes; then :
26487 cat >>confdefs.h <<_ACEOF
26488 #define HAVE_FINITEL 1
26489 _ACEOF
26490
26491 fi
26492 done
26493
26494 else
26495
26496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26497 $as_echo_n "checking for _finitel declaration... " >&6; }
26498 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26499 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26500 $as_echo_n "(cached) " >&6
26501 else
26502
26503
26504 ac_ext=cpp
26505 ac_cpp='$CXXCPP $CPPFLAGS'
26506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26509
26510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26511 /* end confdefs.h. */
26512 #include <math.h>
26513 #ifdef HAVE_IEEEFP_H
26514 #include <ieeefp.h>
26515 #endif
26516
26517 int
26518 main ()
26519 {
26520 _finitel(0);
26521 ;
26522 return 0;
26523 }
26524 _ACEOF
26525 if ac_fn_cxx_try_compile "$LINENO"; then :
26526 glibcxx_cv_func__finitel_use=yes
26527 else
26528 glibcxx_cv_func__finitel_use=no
26529 fi
26530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26531 ac_ext=c
26532 ac_cpp='$CPP $CPPFLAGS'
26533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26536
26537
26538 fi
26539
26540 fi
26541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26542 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26543
26544 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26545 for ac_func in _finitel
26546 do :
26547 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26548 if test "x$ac_cv_func__finitel" = x""yes; then :
26549 cat >>confdefs.h <<_ACEOF
26550 #define HAVE__FINITEL 1
26551 _ACEOF
26552
26553 fi
26554 done
26555
26556 fi
26557 fi
26558
26559
26560
26561
26562 LIBS="$ac_save_LIBS"
26563 CXXFLAGS="$ac_save_CXXFLAGS"
26564
26565
26566 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26567 ac_save_CXXFLAGS="$CXXFLAGS"
26568 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26569
26570
26571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26572 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26573 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26574 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26575 $as_echo_n "(cached) " >&6
26576 else
26577
26578
26579 ac_ext=cpp
26580 ac_cpp='$CXXCPP $CPPFLAGS'
26581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26584
26585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26586 /* end confdefs.h. */
26587 #include <stdlib.h>
26588 int
26589 main ()
26590 {
26591 at_quick_exit(0);
26592 ;
26593 return 0;
26594 }
26595 _ACEOF
26596 if ac_fn_cxx_try_compile "$LINENO"; then :
26597 glibcxx_cv_func_at_quick_exit_use=yes
26598 else
26599 glibcxx_cv_func_at_quick_exit_use=no
26600 fi
26601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26602 ac_ext=c
26603 ac_cpp='$CPP $CPPFLAGS'
26604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26607
26608
26609 fi
26610
26611 fi
26612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26613 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26614 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26615 for ac_func in at_quick_exit
26616 do :
26617 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26618 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26619 cat >>confdefs.h <<_ACEOF
26620 #define HAVE_AT_QUICK_EXIT 1
26621 _ACEOF
26622
26623 fi
26624 done
26625
26626 fi
26627
26628
26629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26630 $as_echo_n "checking for quick_exit declaration... " >&6; }
26631 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26632 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26633 $as_echo_n "(cached) " >&6
26634 else
26635
26636
26637 ac_ext=cpp
26638 ac_cpp='$CXXCPP $CPPFLAGS'
26639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26642
26643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26644 /* end confdefs.h. */
26645 #include <stdlib.h>
26646 int
26647 main ()
26648 {
26649 quick_exit(0);
26650 ;
26651 return 0;
26652 }
26653 _ACEOF
26654 if ac_fn_cxx_try_compile "$LINENO"; then :
26655 glibcxx_cv_func_quick_exit_use=yes
26656 else
26657 glibcxx_cv_func_quick_exit_use=no
26658 fi
26659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26660 ac_ext=c
26661 ac_cpp='$CPP $CPPFLAGS'
26662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26665
26666
26667 fi
26668
26669 fi
26670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26671 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26672 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26673 for ac_func in quick_exit
26674 do :
26675 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26676 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26677 cat >>confdefs.h <<_ACEOF
26678 #define HAVE_QUICK_EXIT 1
26679 _ACEOF
26680
26681 fi
26682 done
26683
26684 fi
26685
26686
26687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26688 $as_echo_n "checking for strtold declaration... " >&6; }
26689 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26690 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26691 $as_echo_n "(cached) " >&6
26692 else
26693
26694
26695 ac_ext=cpp
26696 ac_cpp='$CXXCPP $CPPFLAGS'
26697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26700
26701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26702 /* end confdefs.h. */
26703 #include <stdlib.h>
26704 int
26705 main ()
26706 {
26707 strtold(0, 0);
26708 ;
26709 return 0;
26710 }
26711 _ACEOF
26712 if ac_fn_cxx_try_compile "$LINENO"; then :
26713 glibcxx_cv_func_strtold_use=yes
26714 else
26715 glibcxx_cv_func_strtold_use=no
26716 fi
26717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26718 ac_ext=c
26719 ac_cpp='$CPP $CPPFLAGS'
26720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26723
26724
26725 fi
26726
26727 fi
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26729 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26730 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26731 for ac_func in strtold
26732 do :
26733 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26734 if test "x$ac_cv_func_strtold" = x""yes; then :
26735 cat >>confdefs.h <<_ACEOF
26736 #define HAVE_STRTOLD 1
26737 _ACEOF
26738
26739 fi
26740 done
26741
26742 fi
26743
26744
26745
26746
26747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26748 $as_echo_n "checking for strtof declaration... " >&6; }
26749 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26750 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26751 $as_echo_n "(cached) " >&6
26752 else
26753
26754
26755 ac_ext=cpp
26756 ac_cpp='$CXXCPP $CPPFLAGS'
26757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26760
26761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26762 /* end confdefs.h. */
26763 #include <stdlib.h>
26764 int
26765 main ()
26766 {
26767 strtof(0, 0);
26768 ;
26769 return 0;
26770 }
26771 _ACEOF
26772 if ac_fn_cxx_try_compile "$LINENO"; then :
26773 glibcxx_cv_func_strtof_use=yes
26774 else
26775 glibcxx_cv_func_strtof_use=no
26776 fi
26777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26778 ac_ext=c
26779 ac_cpp='$CPP $CPPFLAGS'
26780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26783
26784
26785 fi
26786
26787 fi
26788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26789 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26790 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26791 for ac_func in strtof
26792 do :
26793 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26794 if test "x$ac_cv_func_strtof" = x""yes; then :
26795 cat >>confdefs.h <<_ACEOF
26796 #define HAVE_STRTOF 1
26797 _ACEOF
26798
26799 fi
26800 done
26801
26802 fi
26803
26804
26805
26806
26807 CXXFLAGS="$ac_save_CXXFLAGS"
26808
26809
26810 # For /dev/random and /dev/urandom for TR1.
26811
26812
26813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26814 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26815 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26816 $as_echo_n "(cached) " >&6
26817 else
26818
26819 if test -r /dev/random && test -r /dev/urandom; then
26820 ## For MSys environment the test above is detect as false-positive
26821 ## on mingw-targets. So disable it explicit for them.
26822 case ${target_os} in
26823 *mingw*) glibcxx_cv_random_tr1=no ;;
26824 *) glibcxx_cv_random_tr1=yes ;;
26825 esac
26826 else
26827 glibcxx_cv_random_tr1=no;
26828 fi
26829
26830 fi
26831
26832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26833 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26834
26835 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26836
26837 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26838
26839 fi
26840
26841
26842
26843 # For TLS support.
26844
26845
26846 # Check whether --enable-tls was given.
26847 if test "${enable_tls+set}" = set; then :
26848 enableval=$enable_tls;
26849 case "$enableval" in
26850 yes|no) ;;
26851 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26852 esac
26853
26854 else
26855 enable_tls=yes
26856 fi
26857
26858
26859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26860 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26861 if test "${gcc_cv_have_tls+set}" = set; then :
26862 $as_echo_n "(cached) " >&6
26863 else
26864
26865 if test "$cross_compiling" = yes; then :
26866 if test x$gcc_no_link = xyes; then
26867 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26868 fi
26869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26870 /* end confdefs.h. */
26871 __thread int a; int b; int main() { return a = b; }
26872 _ACEOF
26873 if ac_fn_c_try_link "$LINENO"; then :
26874 chktls_save_LDFLAGS="$LDFLAGS"
26875 case $host in
26876 *-*-linux*)
26877 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26878 ;;
26879 esac
26880 chktls_save_CFLAGS="$CFLAGS"
26881 CFLAGS="-fPIC $CFLAGS"
26882 if test x$gcc_no_link = xyes; then
26883 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26884 fi
26885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26886 /* end confdefs.h. */
26887 int f() { return 0; }
26888 _ACEOF
26889 if ac_fn_c_try_link "$LINENO"; then :
26890 if test x$gcc_no_link = xyes; then
26891 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26892 fi
26893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26894 /* end confdefs.h. */
26895 __thread int a; int b; int f() { return a = b; }
26896 _ACEOF
26897 if ac_fn_c_try_link "$LINENO"; then :
26898 gcc_cv_have_tls=yes
26899 else
26900 gcc_cv_have_tls=no
26901 fi
26902 rm -f core conftest.err conftest.$ac_objext \
26903 conftest$ac_exeext conftest.$ac_ext
26904 else
26905 gcc_cv_have_tls=yes
26906 fi
26907 rm -f core conftest.err conftest.$ac_objext \
26908 conftest$ac_exeext conftest.$ac_ext
26909 CFLAGS="$chktls_save_CFLAGS"
26910 LDFLAGS="$chktls_save_LDFLAGS"
26911 else
26912 gcc_cv_have_tls=no
26913 fi
26914 rm -f core conftest.err conftest.$ac_objext \
26915 conftest$ac_exeext conftest.$ac_ext
26916
26917
26918 else
26919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26920 /* end confdefs.h. */
26921 __thread int a; int b; int main() { return a = b; }
26922 _ACEOF
26923 if ac_fn_c_try_run "$LINENO"; then :
26924 chktls_save_LDFLAGS="$LDFLAGS"
26925 LDFLAGS="-static $LDFLAGS"
26926 if test x$gcc_no_link = xyes; then
26927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26928 fi
26929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26930 /* end confdefs.h. */
26931 int main() { return 0; }
26932 _ACEOF
26933 if ac_fn_c_try_link "$LINENO"; then :
26934 if test "$cross_compiling" = yes; then :
26935 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26936 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26937 as_fn_error "cannot run test program while cross compiling
26938 See \`config.log' for more details." "$LINENO" 5; }
26939 else
26940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26941 /* end confdefs.h. */
26942 __thread int a; int b; int main() { return a = b; }
26943 _ACEOF
26944 if ac_fn_c_try_run "$LINENO"; then :
26945 gcc_cv_have_tls=yes
26946 else
26947 gcc_cv_have_tls=no
26948 fi
26949 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26950 conftest.$ac_objext conftest.beam conftest.$ac_ext
26951 fi
26952
26953 else
26954 gcc_cv_have_tls=yes
26955 fi
26956 rm -f core conftest.err conftest.$ac_objext \
26957 conftest$ac_exeext conftest.$ac_ext
26958 LDFLAGS="$chktls_save_LDFLAGS"
26959 if test $gcc_cv_have_tls = yes; then
26960 chktls_save_CFLAGS="$CFLAGS"
26961 thread_CFLAGS=failed
26962 for flag in '' '-pthread' '-lpthread'; do
26963 CFLAGS="$flag $chktls_save_CFLAGS"
26964 if test x$gcc_no_link = xyes; then
26965 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26966 fi
26967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26968 /* end confdefs.h. */
26969 #include <pthread.h>
26970 void *g(void *d) { return NULL; }
26971 int
26972 main ()
26973 {
26974 pthread_t t; pthread_create(&t,NULL,g,NULL);
26975 ;
26976 return 0;
26977 }
26978 _ACEOF
26979 if ac_fn_c_try_link "$LINENO"; then :
26980 thread_CFLAGS="$flag"
26981 fi
26982 rm -f core conftest.err conftest.$ac_objext \
26983 conftest$ac_exeext conftest.$ac_ext
26984 if test "X$thread_CFLAGS" != Xfailed; then
26985 break
26986 fi
26987 done
26988 CFLAGS="$chktls_save_CFLAGS"
26989 if test "X$thread_CFLAGS" != Xfailed; then
26990 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26991 if test "$cross_compiling" = yes; then :
26992 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26993 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26994 as_fn_error "cannot run test program while cross compiling
26995 See \`config.log' for more details." "$LINENO" 5; }
26996 else
26997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26998 /* end confdefs.h. */
26999 #include <pthread.h>
27000 __thread int a;
27001 static int *volatile a_in_other_thread;
27002 static void *
27003 thread_func (void *arg)
27004 {
27005 a_in_other_thread = &a;
27006 return (void *)0;
27007 }
27008 int
27009 main ()
27010 {
27011 pthread_t thread;
27012 void *thread_retval;
27013 int *volatile a_in_main_thread;
27014 a_in_main_thread = &a;
27015 if (pthread_create (&thread, (pthread_attr_t *)0,
27016 thread_func, (void *)0))
27017 return 0;
27018 if (pthread_join (thread, &thread_retval))
27019 return 0;
27020 return (a_in_other_thread == a_in_main_thread);
27021 ;
27022 return 0;
27023 }
27024 _ACEOF
27025 if ac_fn_c_try_run "$LINENO"; then :
27026 gcc_cv_have_tls=yes
27027 else
27028 gcc_cv_have_tls=no
27029 fi
27030 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27031 conftest.$ac_objext conftest.beam conftest.$ac_ext
27032 fi
27033
27034 CFLAGS="$chktls_save_CFLAGS"
27035 fi
27036 fi
27037 else
27038 gcc_cv_have_tls=no
27039 fi
27040 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27041 conftest.$ac_objext conftest.beam conftest.$ac_ext
27042 fi
27043
27044 fi
27045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27046 $as_echo "$gcc_cv_have_tls" >&6; }
27047 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27048
27049 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27050
27051 fi
27052
27053 for ac_func in __cxa_thread_atexit_impl
27054 do :
27055 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27056 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27057 cat >>confdefs.h <<_ACEOF
27058 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27059 _ACEOF
27060
27061 fi
27062 done
27063
27064
27065 # For iconv support.
27066
27067 if test "X$prefix" = "XNONE"; then
27068 acl_final_prefix="$ac_default_prefix"
27069 else
27070 acl_final_prefix="$prefix"
27071 fi
27072 if test "X$exec_prefix" = "XNONE"; then
27073 acl_final_exec_prefix='${prefix}'
27074 else
27075 acl_final_exec_prefix="$exec_prefix"
27076 fi
27077 acl_save_prefix="$prefix"
27078 prefix="$acl_final_prefix"
27079 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27080 prefix="$acl_save_prefix"
27081
27082
27083 # Check whether --with-gnu-ld was given.
27084 if test "${with_gnu_ld+set}" = set; then :
27085 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27086 else
27087 with_gnu_ld=no
27088 fi
27089
27090 # Prepare PATH_SEPARATOR.
27091 # The user is always right.
27092 if test "${PATH_SEPARATOR+set}" != set; then
27093 echo "#! /bin/sh" >conf$$.sh
27094 echo "exit 0" >>conf$$.sh
27095 chmod +x conf$$.sh
27096 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27097 PATH_SEPARATOR=';'
27098 else
27099 PATH_SEPARATOR=:
27100 fi
27101 rm -f conf$$.sh
27102 fi
27103 ac_prog=ld
27104 if test "$GCC" = yes; then
27105 # Check if gcc -print-prog-name=ld gives a path.
27106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27107 $as_echo_n "checking for ld used by GCC... " >&6; }
27108 case $host in
27109 *-*-mingw*)
27110 # gcc leaves a trailing carriage return which upsets mingw
27111 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27112 *)
27113 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27114 esac
27115 case $ac_prog in
27116 # Accept absolute paths.
27117 [\\/]* | [A-Za-z]:[\\/]*)
27118 re_direlt='/[^/][^/]*/\.\./'
27119 # Canonicalize the path of ld
27120 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27121 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27122 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27123 done
27124 test -z "$LD" && LD="$ac_prog"
27125 ;;
27126 "")
27127 # If it fails, then pretend we aren't using GCC.
27128 ac_prog=ld
27129 ;;
27130 *)
27131 # If it is relative, then search for the first ld in PATH.
27132 with_gnu_ld=unknown
27133 ;;
27134 esac
27135 elif test "$with_gnu_ld" = yes; then
27136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27137 $as_echo_n "checking for GNU ld... " >&6; }
27138 else
27139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27140 $as_echo_n "checking for non-GNU ld... " >&6; }
27141 fi
27142 if test "${acl_cv_path_LD+set}" = set; then :
27143 $as_echo_n "(cached) " >&6
27144 else
27145 if test -z "$LD"; then
27146 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27147 for ac_dir in $PATH; do
27148 test -z "$ac_dir" && ac_dir=.
27149 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27150 acl_cv_path_LD="$ac_dir/$ac_prog"
27151 # Check to see if the program is GNU ld. I'd rather use --version,
27152 # but apparently some GNU ld's only accept -v.
27153 # Break only if it was the GNU/non-GNU ld that we prefer.
27154 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27155 test "$with_gnu_ld" != no && break
27156 else
27157 test "$with_gnu_ld" != yes && break
27158 fi
27159 fi
27160 done
27161 IFS="$ac_save_ifs"
27162 else
27163 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27164 fi
27165 fi
27166
27167 LD="$acl_cv_path_LD"
27168 if test -n "$LD"; then
27169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27170 $as_echo "$LD" >&6; }
27171 else
27172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27173 $as_echo "no" >&6; }
27174 fi
27175 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27177 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27178 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27179 $as_echo_n "(cached) " >&6
27180 else
27181 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27182 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27183 acl_cv_prog_gnu_ld=yes
27184 else
27185 acl_cv_prog_gnu_ld=no
27186 fi
27187 fi
27188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27189 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27190 with_gnu_ld=$acl_cv_prog_gnu_ld
27191
27192
27193
27194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27195 $as_echo_n "checking for shared library run path origin... " >&6; }
27196 if test "${acl_cv_rpath+set}" = set; then :
27197 $as_echo_n "(cached) " >&6
27198 else
27199
27200 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27201 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27202 . ./conftest.sh
27203 rm -f ./conftest.sh
27204 acl_cv_rpath=done
27205
27206 fi
27207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27208 $as_echo "$acl_cv_rpath" >&6; }
27209 wl="$acl_cv_wl"
27210 libext="$acl_cv_libext"
27211 shlibext="$acl_cv_shlibext"
27212 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27213 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27214 hardcode_direct="$acl_cv_hardcode_direct"
27215 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27216 # Check whether --enable-rpath was given.
27217 if test "${enable_rpath+set}" = set; then :
27218 enableval=$enable_rpath; :
27219 else
27220 enable_rpath=yes
27221 fi
27222
27223
27224
27225
27226
27227
27228
27229
27230 use_additional=yes
27231
27232 acl_save_prefix="$prefix"
27233 prefix="$acl_final_prefix"
27234 acl_save_exec_prefix="$exec_prefix"
27235 exec_prefix="$acl_final_exec_prefix"
27236
27237 eval additional_includedir=\"$includedir\"
27238 eval additional_libdir=\"$libdir\"
27239
27240 exec_prefix="$acl_save_exec_prefix"
27241 prefix="$acl_save_prefix"
27242
27243
27244 # Check whether --with-libiconv-prefix was given.
27245 if test "${with_libiconv_prefix+set}" = set; then :
27246 withval=$with_libiconv_prefix;
27247 if test "X$withval" = "Xno"; then
27248 use_additional=no
27249 else
27250 if test "X$withval" = "X"; then
27251
27252 acl_save_prefix="$prefix"
27253 prefix="$acl_final_prefix"
27254 acl_save_exec_prefix="$exec_prefix"
27255 exec_prefix="$acl_final_exec_prefix"
27256
27257 eval additional_includedir=\"$includedir\"
27258 eval additional_libdir=\"$libdir\"
27259
27260 exec_prefix="$acl_save_exec_prefix"
27261 prefix="$acl_save_prefix"
27262
27263 else
27264 additional_includedir="$withval/include"
27265 additional_libdir="$withval/lib"
27266 fi
27267 fi
27268
27269 fi
27270
27271 LIBICONV=
27272 LTLIBICONV=
27273 INCICONV=
27274 rpathdirs=
27275 ltrpathdirs=
27276 names_already_handled=
27277 names_next_round='iconv '
27278 while test -n "$names_next_round"; do
27279 names_this_round="$names_next_round"
27280 names_next_round=
27281 for name in $names_this_round; do
27282 already_handled=
27283 for n in $names_already_handled; do
27284 if test "$n" = "$name"; then
27285 already_handled=yes
27286 break
27287 fi
27288 done
27289 if test -z "$already_handled"; then
27290 names_already_handled="$names_already_handled $name"
27291 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27292 eval value=\"\$HAVE_LIB$uppername\"
27293 if test -n "$value"; then
27294 if test "$value" = yes; then
27295 eval value=\"\$LIB$uppername\"
27296 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27297 eval value=\"\$LTLIB$uppername\"
27298 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27299 else
27300 :
27301 fi
27302 else
27303 found_dir=
27304 found_la=
27305 found_so=
27306 found_a=
27307 if test $use_additional = yes; then
27308 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27309 found_dir="$additional_libdir"
27310 found_so="$additional_libdir/lib$name.$shlibext"
27311 if test -f "$additional_libdir/lib$name.la"; then
27312 found_la="$additional_libdir/lib$name.la"
27313 fi
27314 else
27315 if test -f "$additional_libdir/lib$name.$libext"; then
27316 found_dir="$additional_libdir"
27317 found_a="$additional_libdir/lib$name.$libext"
27318 if test -f "$additional_libdir/lib$name.la"; then
27319 found_la="$additional_libdir/lib$name.la"
27320 fi
27321 fi
27322 fi
27323 fi
27324 if test "X$found_dir" = "X"; then
27325 for x in $LDFLAGS $LTLIBICONV; do
27326
27327 acl_save_prefix="$prefix"
27328 prefix="$acl_final_prefix"
27329 acl_save_exec_prefix="$exec_prefix"
27330 exec_prefix="$acl_final_exec_prefix"
27331 eval x=\"$x\"
27332 exec_prefix="$acl_save_exec_prefix"
27333 prefix="$acl_save_prefix"
27334
27335 case "$x" in
27336 -L*)
27337 dir=`echo "X$x" | sed -e 's/^X-L//'`
27338 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27339 found_dir="$dir"
27340 found_so="$dir/lib$name.$shlibext"
27341 if test -f "$dir/lib$name.la"; then
27342 found_la="$dir/lib$name.la"
27343 fi
27344 else
27345 if test -f "$dir/lib$name.$libext"; then
27346 found_dir="$dir"
27347 found_a="$dir/lib$name.$libext"
27348 if test -f "$dir/lib$name.la"; then
27349 found_la="$dir/lib$name.la"
27350 fi
27351 fi
27352 fi
27353 ;;
27354 esac
27355 if test "X$found_dir" != "X"; then
27356 break
27357 fi
27358 done
27359 fi
27360 if test "X$found_dir" != "X"; then
27361 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27362 if test "X$found_so" != "X"; then
27363 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27364 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27365 else
27366 haveit=
27367 for x in $ltrpathdirs; do
27368 if test "X$x" = "X$found_dir"; then
27369 haveit=yes
27370 break
27371 fi
27372 done
27373 if test -z "$haveit"; then
27374 ltrpathdirs="$ltrpathdirs $found_dir"
27375 fi
27376 if test "$hardcode_direct" = yes; then
27377 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27378 else
27379 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27380 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27381 haveit=
27382 for x in $rpathdirs; do
27383 if test "X$x" = "X$found_dir"; then
27384 haveit=yes
27385 break
27386 fi
27387 done
27388 if test -z "$haveit"; then
27389 rpathdirs="$rpathdirs $found_dir"
27390 fi
27391 else
27392 haveit=
27393 for x in $LDFLAGS $LIBICONV; do
27394
27395 acl_save_prefix="$prefix"
27396 prefix="$acl_final_prefix"
27397 acl_save_exec_prefix="$exec_prefix"
27398 exec_prefix="$acl_final_exec_prefix"
27399 eval x=\"$x\"
27400 exec_prefix="$acl_save_exec_prefix"
27401 prefix="$acl_save_prefix"
27402
27403 if test "X$x" = "X-L$found_dir"; then
27404 haveit=yes
27405 break
27406 fi
27407 done
27408 if test -z "$haveit"; then
27409 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27410 fi
27411 if test "$hardcode_minus_L" != no; then
27412 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27413 else
27414 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27415 fi
27416 fi
27417 fi
27418 fi
27419 else
27420 if test "X$found_a" != "X"; then
27421 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27422 else
27423 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27424 fi
27425 fi
27426 additional_includedir=
27427 case "$found_dir" in
27428 */lib | */lib/)
27429 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27430 additional_includedir="$basedir/include"
27431 ;;
27432 esac
27433 if test "X$additional_includedir" != "X"; then
27434 if test "X$additional_includedir" != "X/usr/include"; then
27435 haveit=
27436 if test "X$additional_includedir" = "X/usr/local/include"; then
27437 if test -n "$GCC"; then
27438 case $host_os in
27439 linux*) haveit=yes;;
27440 esac
27441 fi
27442 fi
27443 if test -z "$haveit"; then
27444 for x in $CPPFLAGS $INCICONV; do
27445
27446 acl_save_prefix="$prefix"
27447 prefix="$acl_final_prefix"
27448 acl_save_exec_prefix="$exec_prefix"
27449 exec_prefix="$acl_final_exec_prefix"
27450 eval x=\"$x\"
27451 exec_prefix="$acl_save_exec_prefix"
27452 prefix="$acl_save_prefix"
27453
27454 if test "X$x" = "X-I$additional_includedir"; then
27455 haveit=yes
27456 break
27457 fi
27458 done
27459 if test -z "$haveit"; then
27460 if test -d "$additional_includedir"; then
27461 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27462 fi
27463 fi
27464 fi
27465 fi
27466 fi
27467 if test -n "$found_la"; then
27468 save_libdir="$libdir"
27469 case "$found_la" in
27470 */* | *\\*) . "$found_la" ;;
27471 *) . "./$found_la" ;;
27472 esac
27473 libdir="$save_libdir"
27474 for dep in $dependency_libs; do
27475 case "$dep" in
27476 -L*)
27477 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27478 if test "X$additional_libdir" != "X/usr/lib"; then
27479 haveit=
27480 if test "X$additional_libdir" = "X/usr/local/lib"; then
27481 if test -n "$GCC"; then
27482 case $host_os in
27483 linux*) haveit=yes;;
27484 esac
27485 fi
27486 fi
27487 if test -z "$haveit"; then
27488 haveit=
27489 for x in $LDFLAGS $LIBICONV; do
27490
27491 acl_save_prefix="$prefix"
27492 prefix="$acl_final_prefix"
27493 acl_save_exec_prefix="$exec_prefix"
27494 exec_prefix="$acl_final_exec_prefix"
27495 eval x=\"$x\"
27496 exec_prefix="$acl_save_exec_prefix"
27497 prefix="$acl_save_prefix"
27498
27499 if test "X$x" = "X-L$additional_libdir"; then
27500 haveit=yes
27501 break
27502 fi
27503 done
27504 if test -z "$haveit"; then
27505 if test -d "$additional_libdir"; then
27506 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27507 fi
27508 fi
27509 haveit=
27510 for x in $LDFLAGS $LTLIBICONV; do
27511
27512 acl_save_prefix="$prefix"
27513 prefix="$acl_final_prefix"
27514 acl_save_exec_prefix="$exec_prefix"
27515 exec_prefix="$acl_final_exec_prefix"
27516 eval x=\"$x\"
27517 exec_prefix="$acl_save_exec_prefix"
27518 prefix="$acl_save_prefix"
27519
27520 if test "X$x" = "X-L$additional_libdir"; then
27521 haveit=yes
27522 break
27523 fi
27524 done
27525 if test -z "$haveit"; then
27526 if test -d "$additional_libdir"; then
27527 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27528 fi
27529 fi
27530 fi
27531 fi
27532 ;;
27533 -R*)
27534 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27535 if test "$enable_rpath" != no; then
27536 haveit=
27537 for x in $rpathdirs; do
27538 if test "X$x" = "X$dir"; then
27539 haveit=yes
27540 break
27541 fi
27542 done
27543 if test -z "$haveit"; then
27544 rpathdirs="$rpathdirs $dir"
27545 fi
27546 haveit=
27547 for x in $ltrpathdirs; do
27548 if test "X$x" = "X$dir"; then
27549 haveit=yes
27550 break
27551 fi
27552 done
27553 if test -z "$haveit"; then
27554 ltrpathdirs="$ltrpathdirs $dir"
27555 fi
27556 fi
27557 ;;
27558 -l*)
27559 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27560 ;;
27561 *.la)
27562 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27563 ;;
27564 *)
27565 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27566 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27567 ;;
27568 esac
27569 done
27570 fi
27571 else
27572 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27573 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27574 fi
27575 fi
27576 fi
27577 done
27578 done
27579 if test "X$rpathdirs" != "X"; then
27580 if test -n "$hardcode_libdir_separator"; then
27581 alldirs=
27582 for found_dir in $rpathdirs; do
27583 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27584 done
27585 acl_save_libdir="$libdir"
27586 libdir="$alldirs"
27587 eval flag=\"$hardcode_libdir_flag_spec\"
27588 libdir="$acl_save_libdir"
27589 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27590 else
27591 for found_dir in $rpathdirs; do
27592 acl_save_libdir="$libdir"
27593 libdir="$found_dir"
27594 eval flag=\"$hardcode_libdir_flag_spec\"
27595 libdir="$acl_save_libdir"
27596 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27597 done
27598 fi
27599 fi
27600 if test "X$ltrpathdirs" != "X"; then
27601 for found_dir in $ltrpathdirs; do
27602 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27603 done
27604 fi
27605
27606
27607
27608
27609
27610
27611
27612 am_save_CPPFLAGS="$CPPFLAGS"
27613
27614 for element in $INCICONV; do
27615 haveit=
27616 for x in $CPPFLAGS; do
27617
27618 acl_save_prefix="$prefix"
27619 prefix="$acl_final_prefix"
27620 acl_save_exec_prefix="$exec_prefix"
27621 exec_prefix="$acl_final_exec_prefix"
27622 eval x=\"$x\"
27623 exec_prefix="$acl_save_exec_prefix"
27624 prefix="$acl_save_prefix"
27625
27626 if test "X$x" = "X$element"; then
27627 haveit=yes
27628 break
27629 fi
27630 done
27631 if test -z "$haveit"; then
27632 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27633 fi
27634 done
27635
27636
27637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27638 $as_echo_n "checking for iconv... " >&6; }
27639 if test "${am_cv_func_iconv+set}" = set; then :
27640 $as_echo_n "(cached) " >&6
27641 else
27642
27643 am_cv_func_iconv="no, consider installing GNU libiconv"
27644 am_cv_lib_iconv=no
27645 if test x$gcc_no_link = xyes; then
27646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27647 fi
27648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27649 /* end confdefs.h. */
27650 #include <stdlib.h>
27651 #include <iconv.h>
27652 int
27653 main ()
27654 {
27655 iconv_t cd = iconv_open("","");
27656 iconv(cd,NULL,NULL,NULL,NULL);
27657 iconv_close(cd);
27658 ;
27659 return 0;
27660 }
27661 _ACEOF
27662 if ac_fn_c_try_link "$LINENO"; then :
27663 am_cv_func_iconv=yes
27664 fi
27665 rm -f core conftest.err conftest.$ac_objext \
27666 conftest$ac_exeext conftest.$ac_ext
27667 if test "$am_cv_func_iconv" != yes; then
27668 am_save_LIBS="$LIBS"
27669 LIBS="$LIBS $LIBICONV"
27670 if test x$gcc_no_link = xyes; then
27671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27672 fi
27673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27674 /* end confdefs.h. */
27675 #include <stdlib.h>
27676 #include <iconv.h>
27677 int
27678 main ()
27679 {
27680 iconv_t cd = iconv_open("","");
27681 iconv(cd,NULL,NULL,NULL,NULL);
27682 iconv_close(cd);
27683 ;
27684 return 0;
27685 }
27686 _ACEOF
27687 if ac_fn_c_try_link "$LINENO"; then :
27688 am_cv_lib_iconv=yes
27689 am_cv_func_iconv=yes
27690 fi
27691 rm -f core conftest.err conftest.$ac_objext \
27692 conftest$ac_exeext conftest.$ac_ext
27693 LIBS="$am_save_LIBS"
27694 fi
27695
27696 fi
27697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27698 $as_echo "$am_cv_func_iconv" >&6; }
27699 if test "$am_cv_func_iconv" = yes; then
27700
27701 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27702
27703 fi
27704 if test "$am_cv_lib_iconv" = yes; then
27705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27706 $as_echo_n "checking how to link with libiconv... " >&6; }
27707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27708 $as_echo "$LIBICONV" >&6; }
27709 else
27710 CPPFLAGS="$am_save_CPPFLAGS"
27711 LIBICONV=
27712 LTLIBICONV=
27713 fi
27714
27715
27716
27717 if test "$am_cv_func_iconv" = yes; then
27718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27719 $as_echo_n "checking for iconv declaration... " >&6; }
27720 if test "${am_cv_proto_iconv+set}" = set; then :
27721 $as_echo_n "(cached) " >&6
27722 else
27723
27724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27725 /* end confdefs.h. */
27726
27727 #include <stdlib.h>
27728 #include <iconv.h>
27729 extern
27730 #ifdef __cplusplus
27731 "C"
27732 #endif
27733 #if defined(__STDC__) || defined(__cplusplus)
27734 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27735 #else
27736 size_t iconv();
27737 #endif
27738
27739 int
27740 main ()
27741 {
27742
27743 ;
27744 return 0;
27745 }
27746 _ACEOF
27747 if ac_fn_c_try_compile "$LINENO"; then :
27748 am_cv_proto_iconv_arg1=""
27749 else
27750 am_cv_proto_iconv_arg1="const"
27751 fi
27752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27753 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);"
27754 fi
27755
27756 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27758 }$am_cv_proto_iconv" >&5
27759 $as_echo "${ac_t:-
27760 }$am_cv_proto_iconv" >&6; }
27761
27762 cat >>confdefs.h <<_ACEOF
27763 #define ICONV_CONST $am_cv_proto_iconv_arg1
27764 _ACEOF
27765
27766 fi
27767
27768
27769 else
27770
27771 # This lets us hard-code the functionality we know we'll have in the cross
27772 # target environment. "Let" is a sugar-coated word placed on an especially
27773 # dull and tedious hack, actually.
27774 #
27775 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27776 # that involve linking, can't be used:
27777 # "cannot open sim-crt0.o"
27778 # "cannot open crt0.o"
27779 # etc. All this is because there currently exists no unified, consistent
27780 # way for top level CC information to be passed down to target directories:
27781 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27782 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27783 # crosses can be removed.
27784
27785 # If Canadian cross, then don't pick up tools from the build directory.
27786 # Used only in GLIBCXX_EXPORT_INCLUDES.
27787 if test -n "$with_cross_host" &&
27788 test x"$build_alias" != x"$with_cross_host" &&
27789 test x"$build" != x"$target";
27790 then
27791 CANADIAN=yes
27792 else
27793 CANADIAN=no
27794 fi
27795
27796 # Construct crosses by hand, eliminating bits that need ld...
27797 # GLIBCXX_CHECK_MATH_SUPPORT
27798
27799 # First, test for "known" system libraries. We may be using newlib even
27800 # on a hosted environment.
27801 if test "x${with_newlib}" = "xyes"; then
27802 os_include_dir="os/newlib"
27803 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27804
27805
27806 # GLIBCXX_CHECK_STDLIB_SUPPORT
27807 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27808
27809
27810 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27811
27812 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27813
27814 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27815
27816 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27817
27818 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27819
27820 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27821
27822 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27823
27824 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27825
27826 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27827
27828 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27829
27830 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27831
27832 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27833
27834 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27835
27836 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27837
27838 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27839
27840 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27841
27842 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27843
27844 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27845
27846 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27847
27848 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27849
27850 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27851
27852 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27853
27854
27855 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27856
27857 else
27858
27859 # Base decisions on target environment.
27860 case "${host}" in
27861 arm*-*-symbianelf*)
27862 # This is a freestanding configuration; there is nothing to do here.
27863 ;;
27864
27865 mips*-sde-elf*)
27866 # These definitions are for the SDE C library rather than newlib.
27867 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27868
27869
27870 # All these tests are for C++; save the language and the compiler flags.
27871 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27872 # found in GLIBCXX_CONFIGURE.
27873
27874 ac_ext=cpp
27875 ac_cpp='$CXXCPP $CPPFLAGS'
27876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27879
27880 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27881 ac_save_CXXFLAGS="$CXXFLAGS"
27882
27883 # Check for maintainer-mode bits.
27884 if test x"$USE_MAINTAINER_MODE" = xno; then
27885 WERROR=''
27886 else
27887 WERROR='-Werror'
27888 fi
27889
27890 # Check for -ffunction-sections -fdata-sections
27891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27892 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27893 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27895 /* end confdefs.h. */
27896 int foo; void bar() { };
27897 int
27898 main ()
27899 {
27900
27901 ;
27902 return 0;
27903 }
27904 _ACEOF
27905 if ac_fn_cxx_try_compile "$LINENO"; then :
27906 ac_fdsections=yes
27907 else
27908 ac_fdsections=no
27909 fi
27910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27911 if test "$ac_test_CXXFLAGS" = set; then
27912 CXXFLAGS="$ac_save_CXXFLAGS"
27913 else
27914 # this is the suspicious part
27915 CXXFLAGS=''
27916 fi
27917 if test x"$ac_fdsections" = x"yes"; then
27918 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27919 fi
27920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27921 $as_echo "$ac_fdsections" >&6; }
27922
27923 ac_ext=c
27924 ac_cpp='$CPP $CPPFLAGS'
27925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27928
27929
27930
27931
27932
27933 # If we're not using GNU ld, then there's no point in even trying these
27934 # tests. Check for that first. We should have already tested for gld
27935 # by now (in libtool), but require it now just to be safe...
27936 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27937 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27938
27939
27940
27941 # The name set by libtool depends on the version of libtool. Shame on us
27942 # for depending on an impl detail, but c'est la vie. Older versions used
27943 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27944 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27945 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27946 # set (hence we're using an older libtool), then set it.
27947 if test x${with_gnu_ld+set} != xset; then
27948 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27949 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27950 with_gnu_ld=no
27951 else
27952 with_gnu_ld=$ac_cv_prog_gnu_ld
27953 fi
27954 fi
27955
27956 # Start by getting the version number. I think the libtool test already
27957 # does some of this, but throws away the result.
27958 glibcxx_ld_is_gold=no
27959 if test x"$with_gnu_ld" = x"yes"; then
27960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27961 $as_echo_n "checking for ld version... " >&6; }
27962
27963 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27964 glibcxx_ld_is_gold=yes
27965 fi
27966 ldver=`$LD --version 2>/dev/null |
27967 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'`
27968
27969 glibcxx_gnu_ld_version=`echo $ldver | \
27970 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27972 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27973 fi
27974
27975 # Set --gc-sections.
27976 glibcxx_have_gc_sections=no
27977 if test "$glibcxx_ld_is_gold" = "yes"; then
27978 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27979 glibcxx_have_gc_sections=yes
27980 fi
27981 else
27982 glibcxx_gcsections_min_ld=21602
27983 if test x"$with_gnu_ld" = x"yes" &&
27984 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27985 glibcxx_have_gc_sections=yes
27986 fi
27987 fi
27988 if test "$glibcxx_have_gc_sections" = "yes"; then
27989 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27990 # NB: This flag only works reliably after 2.16.1. Configure tests
27991 # for this are difficult, so hard wire a value that should work.
27992
27993 ac_test_CFLAGS="${CFLAGS+set}"
27994 ac_save_CFLAGS="$CFLAGS"
27995 CFLAGS='-Wl,--gc-sections'
27996
27997 # Check for -Wl,--gc-sections
27998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27999 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28000 if test x$gcc_no_link = xyes; then
28001 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28002 fi
28003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28004 /* end confdefs.h. */
28005 int one(void) { return 1; }
28006 int two(void) { return 2; }
28007
28008 int
28009 main ()
28010 {
28011 two();
28012 ;
28013 return 0;
28014 }
28015 _ACEOF
28016 if ac_fn_c_try_link "$LINENO"; then :
28017 ac_gcsections=yes
28018 else
28019 ac_gcsections=no
28020 fi
28021 rm -f core conftest.err conftest.$ac_objext \
28022 conftest$ac_exeext conftest.$ac_ext
28023 if test "$ac_gcsections" = "yes"; then
28024 rm -f conftest.c
28025 touch conftest.c
28026 if $CC -c conftest.c; then
28027 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28028 grep "Warning: gc-sections option ignored" > /dev/null; then
28029 ac_gcsections=no
28030 fi
28031 fi
28032 rm -f conftest.c conftest.o conftest
28033 fi
28034 if test "$ac_gcsections" = "yes"; then
28035 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28036 fi
28037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28038 $as_echo "$ac_gcsections" >&6; }
28039
28040 if test "$ac_test_CFLAGS" = set; then
28041 CFLAGS="$ac_save_CFLAGS"
28042 else
28043 # this is the suspicious part
28044 CFLAGS=''
28045 fi
28046 fi
28047
28048 # Set -z,relro.
28049 # Note this is only for shared objects.
28050 ac_ld_relro=no
28051 if test x"$with_gnu_ld" = x"yes"; then
28052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28053 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28054 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28055 if test -n "$cxx_z_relo"; then
28056 OPT_LDFLAGS="-Wl,-z,relro"
28057 ac_ld_relro=yes
28058 fi
28059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28060 $as_echo "$ac_ld_relro" >&6; }
28061 fi
28062
28063 # Set linker optimization flags.
28064 if test x"$with_gnu_ld" = x"yes"; then
28065 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28066 fi
28067
28068
28069
28070
28071
28072 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28073 ac_save_CXXFLAGS="$CXXFLAGS"
28074 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28075
28076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28077 $as_echo_n "checking for sin in -lm... " >&6; }
28078 if test "${ac_cv_lib_m_sin+set}" = set; then :
28079 $as_echo_n "(cached) " >&6
28080 else
28081 ac_check_lib_save_LIBS=$LIBS
28082 LIBS="-lm $LIBS"
28083 if test x$gcc_no_link = xyes; then
28084 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28085 fi
28086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28087 /* end confdefs.h. */
28088
28089 /* Override any GCC internal prototype to avoid an error.
28090 Use char because int might match the return type of a GCC
28091 builtin and then its argument prototype would still apply. */
28092 #ifdef __cplusplus
28093 extern "C"
28094 #endif
28095 char sin ();
28096 int
28097 main ()
28098 {
28099 return sin ();
28100 ;
28101 return 0;
28102 }
28103 _ACEOF
28104 if ac_fn_c_try_link "$LINENO"; then :
28105 ac_cv_lib_m_sin=yes
28106 else
28107 ac_cv_lib_m_sin=no
28108 fi
28109 rm -f core conftest.err conftest.$ac_objext \
28110 conftest$ac_exeext conftest.$ac_ext
28111 LIBS=$ac_check_lib_save_LIBS
28112 fi
28113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28114 $as_echo "$ac_cv_lib_m_sin" >&6; }
28115 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28116 libm="-lm"
28117 fi
28118
28119 ac_save_LIBS="$LIBS"
28120 LIBS="$LIBS $libm"
28121
28122
28123
28124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28125 $as_echo_n "checking for isinf declaration... " >&6; }
28126 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28127 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28128 $as_echo_n "(cached) " >&6
28129 else
28130
28131
28132 ac_ext=cpp
28133 ac_cpp='$CXXCPP $CPPFLAGS'
28134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28137
28138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28139 /* end confdefs.h. */
28140 #include <math.h>
28141 #ifdef HAVE_IEEEFP_H
28142 #include <ieeefp.h>
28143 #endif
28144
28145 int
28146 main ()
28147 {
28148 isinf(0);
28149 ;
28150 return 0;
28151 }
28152 _ACEOF
28153 if ac_fn_cxx_try_compile "$LINENO"; then :
28154 glibcxx_cv_func_isinf_use=yes
28155 else
28156 glibcxx_cv_func_isinf_use=no
28157 fi
28158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28159 ac_ext=c
28160 ac_cpp='$CPP $CPPFLAGS'
28161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28164
28165
28166 fi
28167
28168 fi
28169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28170 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28171
28172 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28173 for ac_func in isinf
28174 do :
28175 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28176 if test "x$ac_cv_func_isinf" = x""yes; then :
28177 cat >>confdefs.h <<_ACEOF
28178 #define HAVE_ISINF 1
28179 _ACEOF
28180
28181 fi
28182 done
28183
28184 else
28185
28186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28187 $as_echo_n "checking for _isinf declaration... " >&6; }
28188 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28189 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28190 $as_echo_n "(cached) " >&6
28191 else
28192
28193
28194 ac_ext=cpp
28195 ac_cpp='$CXXCPP $CPPFLAGS'
28196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28199
28200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28201 /* end confdefs.h. */
28202 #include <math.h>
28203 #ifdef HAVE_IEEEFP_H
28204 #include <ieeefp.h>
28205 #endif
28206
28207 int
28208 main ()
28209 {
28210 _isinf(0);
28211 ;
28212 return 0;
28213 }
28214 _ACEOF
28215 if ac_fn_cxx_try_compile "$LINENO"; then :
28216 glibcxx_cv_func__isinf_use=yes
28217 else
28218 glibcxx_cv_func__isinf_use=no
28219 fi
28220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28221 ac_ext=c
28222 ac_cpp='$CPP $CPPFLAGS'
28223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28226
28227
28228 fi
28229
28230 fi
28231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28232 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28233
28234 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28235 for ac_func in _isinf
28236 do :
28237 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28238 if test "x$ac_cv_func__isinf" = x""yes; then :
28239 cat >>confdefs.h <<_ACEOF
28240 #define HAVE__ISINF 1
28241 _ACEOF
28242
28243 fi
28244 done
28245
28246 fi
28247 fi
28248
28249
28250
28251
28252
28253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28254 $as_echo_n "checking for isnan declaration... " >&6; }
28255 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28256 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28257 $as_echo_n "(cached) " >&6
28258 else
28259
28260
28261 ac_ext=cpp
28262 ac_cpp='$CXXCPP $CPPFLAGS'
28263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28266
28267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28268 /* end confdefs.h. */
28269 #include <math.h>
28270 #ifdef HAVE_IEEEFP_H
28271 #include <ieeefp.h>
28272 #endif
28273
28274 int
28275 main ()
28276 {
28277 isnan(0);
28278 ;
28279 return 0;
28280 }
28281 _ACEOF
28282 if ac_fn_cxx_try_compile "$LINENO"; then :
28283 glibcxx_cv_func_isnan_use=yes
28284 else
28285 glibcxx_cv_func_isnan_use=no
28286 fi
28287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28288 ac_ext=c
28289 ac_cpp='$CPP $CPPFLAGS'
28290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28293
28294
28295 fi
28296
28297 fi
28298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28299 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28300
28301 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28302 for ac_func in isnan
28303 do :
28304 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28305 if test "x$ac_cv_func_isnan" = x""yes; then :
28306 cat >>confdefs.h <<_ACEOF
28307 #define HAVE_ISNAN 1
28308 _ACEOF
28309
28310 fi
28311 done
28312
28313 else
28314
28315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28316 $as_echo_n "checking for _isnan declaration... " >&6; }
28317 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28318 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28319 $as_echo_n "(cached) " >&6
28320 else
28321
28322
28323 ac_ext=cpp
28324 ac_cpp='$CXXCPP $CPPFLAGS'
28325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28328
28329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28330 /* end confdefs.h. */
28331 #include <math.h>
28332 #ifdef HAVE_IEEEFP_H
28333 #include <ieeefp.h>
28334 #endif
28335
28336 int
28337 main ()
28338 {
28339 _isnan(0);
28340 ;
28341 return 0;
28342 }
28343 _ACEOF
28344 if ac_fn_cxx_try_compile "$LINENO"; then :
28345 glibcxx_cv_func__isnan_use=yes
28346 else
28347 glibcxx_cv_func__isnan_use=no
28348 fi
28349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28350 ac_ext=c
28351 ac_cpp='$CPP $CPPFLAGS'
28352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28355
28356
28357 fi
28358
28359 fi
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28361 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28362
28363 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28364 for ac_func in _isnan
28365 do :
28366 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28367 if test "x$ac_cv_func__isnan" = x""yes; then :
28368 cat >>confdefs.h <<_ACEOF
28369 #define HAVE__ISNAN 1
28370 _ACEOF
28371
28372 fi
28373 done
28374
28375 fi
28376 fi
28377
28378
28379
28380
28381
28382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28383 $as_echo_n "checking for finite declaration... " >&6; }
28384 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28385 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28386 $as_echo_n "(cached) " >&6
28387 else
28388
28389
28390 ac_ext=cpp
28391 ac_cpp='$CXXCPP $CPPFLAGS'
28392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28395
28396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28397 /* end confdefs.h. */
28398 #include <math.h>
28399 #ifdef HAVE_IEEEFP_H
28400 #include <ieeefp.h>
28401 #endif
28402
28403 int
28404 main ()
28405 {
28406 finite(0);
28407 ;
28408 return 0;
28409 }
28410 _ACEOF
28411 if ac_fn_cxx_try_compile "$LINENO"; then :
28412 glibcxx_cv_func_finite_use=yes
28413 else
28414 glibcxx_cv_func_finite_use=no
28415 fi
28416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28417 ac_ext=c
28418 ac_cpp='$CPP $CPPFLAGS'
28419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28422
28423
28424 fi
28425
28426 fi
28427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28428 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28429
28430 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28431 for ac_func in finite
28432 do :
28433 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28434 if test "x$ac_cv_func_finite" = x""yes; then :
28435 cat >>confdefs.h <<_ACEOF
28436 #define HAVE_FINITE 1
28437 _ACEOF
28438
28439 fi
28440 done
28441
28442 else
28443
28444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28445 $as_echo_n "checking for _finite declaration... " >&6; }
28446 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28447 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28448 $as_echo_n "(cached) " >&6
28449 else
28450
28451
28452 ac_ext=cpp
28453 ac_cpp='$CXXCPP $CPPFLAGS'
28454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28457
28458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28459 /* end confdefs.h. */
28460 #include <math.h>
28461 #ifdef HAVE_IEEEFP_H
28462 #include <ieeefp.h>
28463 #endif
28464
28465 int
28466 main ()
28467 {
28468 _finite(0);
28469 ;
28470 return 0;
28471 }
28472 _ACEOF
28473 if ac_fn_cxx_try_compile "$LINENO"; then :
28474 glibcxx_cv_func__finite_use=yes
28475 else
28476 glibcxx_cv_func__finite_use=no
28477 fi
28478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28479 ac_ext=c
28480 ac_cpp='$CPP $CPPFLAGS'
28481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28484
28485
28486 fi
28487
28488 fi
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28490 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28491
28492 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28493 for ac_func in _finite
28494 do :
28495 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28496 if test "x$ac_cv_func__finite" = x""yes; then :
28497 cat >>confdefs.h <<_ACEOF
28498 #define HAVE__FINITE 1
28499 _ACEOF
28500
28501 fi
28502 done
28503
28504 fi
28505 fi
28506
28507
28508
28509
28510
28511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28512 $as_echo_n "checking for sincos declaration... " >&6; }
28513 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28514 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28515 $as_echo_n "(cached) " >&6
28516 else
28517
28518
28519 ac_ext=cpp
28520 ac_cpp='$CXXCPP $CPPFLAGS'
28521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28524
28525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28526 /* end confdefs.h. */
28527 #include <math.h>
28528 int
28529 main ()
28530 {
28531 sincos(0, 0, 0);
28532 ;
28533 return 0;
28534 }
28535 _ACEOF
28536 if ac_fn_cxx_try_compile "$LINENO"; then :
28537 glibcxx_cv_func_sincos_use=yes
28538 else
28539 glibcxx_cv_func_sincos_use=no
28540 fi
28541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28542 ac_ext=c
28543 ac_cpp='$CPP $CPPFLAGS'
28544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28547
28548
28549 fi
28550
28551 fi
28552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28553 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28554
28555 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28556 for ac_func in sincos
28557 do :
28558 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28559 if test "x$ac_cv_func_sincos" = x""yes; then :
28560 cat >>confdefs.h <<_ACEOF
28561 #define HAVE_SINCOS 1
28562 _ACEOF
28563
28564 fi
28565 done
28566
28567 else
28568
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28570 $as_echo_n "checking for _sincos declaration... " >&6; }
28571 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28572 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28573 $as_echo_n "(cached) " >&6
28574 else
28575
28576
28577 ac_ext=cpp
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28582
28583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28584 /* end confdefs.h. */
28585 #include <math.h>
28586 int
28587 main ()
28588 {
28589 _sincos(0, 0, 0);
28590 ;
28591 return 0;
28592 }
28593 _ACEOF
28594 if ac_fn_cxx_try_compile "$LINENO"; then :
28595 glibcxx_cv_func__sincos_use=yes
28596 else
28597 glibcxx_cv_func__sincos_use=no
28598 fi
28599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28600 ac_ext=c
28601 ac_cpp='$CPP $CPPFLAGS'
28602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28605
28606
28607 fi
28608
28609 fi
28610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28611 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28612
28613 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28614 for ac_func in _sincos
28615 do :
28616 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28617 if test "x$ac_cv_func__sincos" = x""yes; then :
28618 cat >>confdefs.h <<_ACEOF
28619 #define HAVE__SINCOS 1
28620 _ACEOF
28621
28622 fi
28623 done
28624
28625 fi
28626 fi
28627
28628
28629
28630
28631
28632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28633 $as_echo_n "checking for fpclass declaration... " >&6; }
28634 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28635 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28636 $as_echo_n "(cached) " >&6
28637 else
28638
28639
28640 ac_ext=cpp
28641 ac_cpp='$CXXCPP $CPPFLAGS'
28642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28645
28646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28647 /* end confdefs.h. */
28648 #include <math.h>
28649 #ifdef HAVE_IEEEFP_H
28650 #include <ieeefp.h>
28651 #endif
28652
28653 int
28654 main ()
28655 {
28656 fpclass(0);
28657 ;
28658 return 0;
28659 }
28660 _ACEOF
28661 if ac_fn_cxx_try_compile "$LINENO"; then :
28662 glibcxx_cv_func_fpclass_use=yes
28663 else
28664 glibcxx_cv_func_fpclass_use=no
28665 fi
28666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28667 ac_ext=c
28668 ac_cpp='$CPP $CPPFLAGS'
28669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28672
28673
28674 fi
28675
28676 fi
28677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28678 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28679
28680 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28681 for ac_func in fpclass
28682 do :
28683 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28684 if test "x$ac_cv_func_fpclass" = x""yes; then :
28685 cat >>confdefs.h <<_ACEOF
28686 #define HAVE_FPCLASS 1
28687 _ACEOF
28688
28689 fi
28690 done
28691
28692 else
28693
28694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28695 $as_echo_n "checking for _fpclass declaration... " >&6; }
28696 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28697 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28698 $as_echo_n "(cached) " >&6
28699 else
28700
28701
28702 ac_ext=cpp
28703 ac_cpp='$CXXCPP $CPPFLAGS'
28704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28707
28708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28709 /* end confdefs.h. */
28710 #include <math.h>
28711 #ifdef HAVE_IEEEFP_H
28712 #include <ieeefp.h>
28713 #endif
28714
28715 int
28716 main ()
28717 {
28718 _fpclass(0);
28719 ;
28720 return 0;
28721 }
28722 _ACEOF
28723 if ac_fn_cxx_try_compile "$LINENO"; then :
28724 glibcxx_cv_func__fpclass_use=yes
28725 else
28726 glibcxx_cv_func__fpclass_use=no
28727 fi
28728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28729 ac_ext=c
28730 ac_cpp='$CPP $CPPFLAGS'
28731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28734
28735
28736 fi
28737
28738 fi
28739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28740 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28741
28742 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28743 for ac_func in _fpclass
28744 do :
28745 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28746 if test "x$ac_cv_func__fpclass" = x""yes; then :
28747 cat >>confdefs.h <<_ACEOF
28748 #define HAVE__FPCLASS 1
28749 _ACEOF
28750
28751 fi
28752 done
28753
28754 fi
28755 fi
28756
28757
28758
28759
28760
28761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28762 $as_echo_n "checking for qfpclass declaration... " >&6; }
28763 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28764 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28765 $as_echo_n "(cached) " >&6
28766 else
28767
28768
28769 ac_ext=cpp
28770 ac_cpp='$CXXCPP $CPPFLAGS'
28771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28774
28775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28776 /* end confdefs.h. */
28777 #include <math.h>
28778 #ifdef HAVE_IEEEFP_H
28779 #include <ieeefp.h>
28780 #endif
28781
28782 int
28783 main ()
28784 {
28785 qfpclass(0);
28786 ;
28787 return 0;
28788 }
28789 _ACEOF
28790 if ac_fn_cxx_try_compile "$LINENO"; then :
28791 glibcxx_cv_func_qfpclass_use=yes
28792 else
28793 glibcxx_cv_func_qfpclass_use=no
28794 fi
28795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28796 ac_ext=c
28797 ac_cpp='$CPP $CPPFLAGS'
28798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28801
28802
28803 fi
28804
28805 fi
28806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28807 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28808
28809 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28810 for ac_func in qfpclass
28811 do :
28812 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28813 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28814 cat >>confdefs.h <<_ACEOF
28815 #define HAVE_QFPCLASS 1
28816 _ACEOF
28817
28818 fi
28819 done
28820
28821 else
28822
28823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28824 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28825 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28826 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28827 $as_echo_n "(cached) " >&6
28828 else
28829
28830
28831 ac_ext=cpp
28832 ac_cpp='$CXXCPP $CPPFLAGS'
28833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28836
28837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28838 /* end confdefs.h. */
28839 #include <math.h>
28840 #ifdef HAVE_IEEEFP_H
28841 #include <ieeefp.h>
28842 #endif
28843
28844 int
28845 main ()
28846 {
28847 _qfpclass(0);
28848 ;
28849 return 0;
28850 }
28851 _ACEOF
28852 if ac_fn_cxx_try_compile "$LINENO"; then :
28853 glibcxx_cv_func__qfpclass_use=yes
28854 else
28855 glibcxx_cv_func__qfpclass_use=no
28856 fi
28857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28858 ac_ext=c
28859 ac_cpp='$CPP $CPPFLAGS'
28860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28863
28864
28865 fi
28866
28867 fi
28868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28869 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28870
28871 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28872 for ac_func in _qfpclass
28873 do :
28874 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28875 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28876 cat >>confdefs.h <<_ACEOF
28877 #define HAVE__QFPCLASS 1
28878 _ACEOF
28879
28880 fi
28881 done
28882
28883 fi
28884 fi
28885
28886
28887
28888
28889
28890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28891 $as_echo_n "checking for hypot declaration... " >&6; }
28892 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28893 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28894 $as_echo_n "(cached) " >&6
28895 else
28896
28897
28898 ac_ext=cpp
28899 ac_cpp='$CXXCPP $CPPFLAGS'
28900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28903
28904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28905 /* end confdefs.h. */
28906 #include <math.h>
28907 int
28908 main ()
28909 {
28910 hypot(0, 0);
28911 ;
28912 return 0;
28913 }
28914 _ACEOF
28915 if ac_fn_cxx_try_compile "$LINENO"; then :
28916 glibcxx_cv_func_hypot_use=yes
28917 else
28918 glibcxx_cv_func_hypot_use=no
28919 fi
28920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28921 ac_ext=c
28922 ac_cpp='$CPP $CPPFLAGS'
28923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28926
28927
28928 fi
28929
28930 fi
28931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28932 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28933
28934 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28935 for ac_func in hypot
28936 do :
28937 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28938 if test "x$ac_cv_func_hypot" = x""yes; then :
28939 cat >>confdefs.h <<_ACEOF
28940 #define HAVE_HYPOT 1
28941 _ACEOF
28942
28943 fi
28944 done
28945
28946 else
28947
28948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28949 $as_echo_n "checking for _hypot declaration... " >&6; }
28950 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28951 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28952 $as_echo_n "(cached) " >&6
28953 else
28954
28955
28956 ac_ext=cpp
28957 ac_cpp='$CXXCPP $CPPFLAGS'
28958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28961
28962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28963 /* end confdefs.h. */
28964 #include <math.h>
28965 int
28966 main ()
28967 {
28968 _hypot(0, 0);
28969 ;
28970 return 0;
28971 }
28972 _ACEOF
28973 if ac_fn_cxx_try_compile "$LINENO"; then :
28974 glibcxx_cv_func__hypot_use=yes
28975 else
28976 glibcxx_cv_func__hypot_use=no
28977 fi
28978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28979 ac_ext=c
28980 ac_cpp='$CPP $CPPFLAGS'
28981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28984
28985
28986 fi
28987
28988 fi
28989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28990 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28991
28992 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28993 for ac_func in _hypot
28994 do :
28995 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28996 if test "x$ac_cv_func__hypot" = x""yes; then :
28997 cat >>confdefs.h <<_ACEOF
28998 #define HAVE__HYPOT 1
28999 _ACEOF
29000
29001 fi
29002 done
29003
29004 fi
29005 fi
29006
29007
29008
29009
29010
29011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29012 $as_echo_n "checking for float trig functions... " >&6; }
29013 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29014 $as_echo_n "(cached) " >&6
29015 else
29016
29017
29018 ac_ext=cpp
29019 ac_cpp='$CXXCPP $CPPFLAGS'
29020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29023
29024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29025 /* end confdefs.h. */
29026 #include <math.h>
29027 int
29028 main ()
29029 {
29030 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29031 ;
29032 return 0;
29033 }
29034 _ACEOF
29035 if ac_fn_cxx_try_compile "$LINENO"; then :
29036 glibcxx_cv_func_float_trig_use=yes
29037 else
29038 glibcxx_cv_func_float_trig_use=no
29039 fi
29040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29041 ac_ext=c
29042 ac_cpp='$CPP $CPPFLAGS'
29043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29046
29047 fi
29048
29049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29050 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29051 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29052 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29053 do :
29054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29056 eval as_val=\$$as_ac_var
29057 if test "x$as_val" = x""yes; then :
29058 cat >>confdefs.h <<_ACEOF
29059 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29060 _ACEOF
29061
29062 fi
29063 done
29064
29065 else
29066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29067 $as_echo_n "checking for _float trig functions... " >&6; }
29068 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29069 $as_echo_n "(cached) " >&6
29070 else
29071
29072
29073 ac_ext=cpp
29074 ac_cpp='$CXXCPP $CPPFLAGS'
29075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29078
29079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29080 /* end confdefs.h. */
29081 #include <math.h>
29082 int
29083 main ()
29084 {
29085 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29086 ;
29087 return 0;
29088 }
29089 _ACEOF
29090 if ac_fn_cxx_try_compile "$LINENO"; then :
29091 glibcxx_cv_func__float_trig_use=yes
29092 else
29093 glibcxx_cv_func__float_trig_use=no
29094 fi
29095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29096 ac_ext=c
29097 ac_cpp='$CPP $CPPFLAGS'
29098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29101
29102 fi
29103
29104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29105 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29106 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29107 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29108 do :
29109 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29110 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29111 eval as_val=\$$as_ac_var
29112 if test "x$as_val" = x""yes; then :
29113 cat >>confdefs.h <<_ACEOF
29114 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29115 _ACEOF
29116
29117 fi
29118 done
29119
29120 fi
29121 fi
29122
29123
29124
29125
29126
29127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29128 $as_echo_n "checking for float round functions... " >&6; }
29129 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29130 $as_echo_n "(cached) " >&6
29131 else
29132
29133
29134 ac_ext=cpp
29135 ac_cpp='$CXXCPP $CPPFLAGS'
29136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29139
29140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29141 /* end confdefs.h. */
29142 #include <math.h>
29143 int
29144 main ()
29145 {
29146 ceilf (0); floorf (0);
29147 ;
29148 return 0;
29149 }
29150 _ACEOF
29151 if ac_fn_cxx_try_compile "$LINENO"; then :
29152 glibcxx_cv_func_float_round_use=yes
29153 else
29154 glibcxx_cv_func_float_round_use=no
29155 fi
29156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29157 ac_ext=c
29158 ac_cpp='$CPP $CPPFLAGS'
29159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29162
29163 fi
29164
29165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29166 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29167 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29168 for ac_func in ceilf floorf
29169 do :
29170 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29171 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29172 eval as_val=\$$as_ac_var
29173 if test "x$as_val" = x""yes; then :
29174 cat >>confdefs.h <<_ACEOF
29175 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29176 _ACEOF
29177
29178 fi
29179 done
29180
29181 else
29182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29183 $as_echo_n "checking for _float round functions... " >&6; }
29184 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29185 $as_echo_n "(cached) " >&6
29186 else
29187
29188
29189 ac_ext=cpp
29190 ac_cpp='$CXXCPP $CPPFLAGS'
29191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29194
29195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29196 /* end confdefs.h. */
29197 #include <math.h>
29198 int
29199 main ()
29200 {
29201 _ceilf (0); _floorf (0);
29202 ;
29203 return 0;
29204 }
29205 _ACEOF
29206 if ac_fn_cxx_try_compile "$LINENO"; then :
29207 glibcxx_cv_func__float_round_use=yes
29208 else
29209 glibcxx_cv_func__float_round_use=no
29210 fi
29211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29212 ac_ext=c
29213 ac_cpp='$CPP $CPPFLAGS'
29214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29217
29218 fi
29219
29220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29221 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29222 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29223 for ac_func in _ceilf _floorf
29224 do :
29225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29227 eval as_val=\$$as_ac_var
29228 if test "x$as_val" = x""yes; then :
29229 cat >>confdefs.h <<_ACEOF
29230 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29231 _ACEOF
29232
29233 fi
29234 done
29235
29236 fi
29237 fi
29238
29239
29240
29241
29242
29243
29244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29245 $as_echo_n "checking for expf declaration... " >&6; }
29246 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29247 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29248 $as_echo_n "(cached) " >&6
29249 else
29250
29251
29252 ac_ext=cpp
29253 ac_cpp='$CXXCPP $CPPFLAGS'
29254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29257
29258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29259 /* end confdefs.h. */
29260 #include <math.h>
29261 #ifdef HAVE_IEEEFP_H
29262 #include <ieeefp.h>
29263 #endif
29264
29265 int
29266 main ()
29267 {
29268 expf(0);
29269 ;
29270 return 0;
29271 }
29272 _ACEOF
29273 if ac_fn_cxx_try_compile "$LINENO"; then :
29274 glibcxx_cv_func_expf_use=yes
29275 else
29276 glibcxx_cv_func_expf_use=no
29277 fi
29278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29279 ac_ext=c
29280 ac_cpp='$CPP $CPPFLAGS'
29281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29284
29285
29286 fi
29287
29288 fi
29289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29290 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29291
29292 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29293 for ac_func in expf
29294 do :
29295 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29296 if test "x$ac_cv_func_expf" = x""yes; then :
29297 cat >>confdefs.h <<_ACEOF
29298 #define HAVE_EXPF 1
29299 _ACEOF
29300
29301 fi
29302 done
29303
29304 else
29305
29306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29307 $as_echo_n "checking for _expf declaration... " >&6; }
29308 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29309 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29310 $as_echo_n "(cached) " >&6
29311 else
29312
29313
29314 ac_ext=cpp
29315 ac_cpp='$CXXCPP $CPPFLAGS'
29316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29319
29320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29321 /* end confdefs.h. */
29322 #include <math.h>
29323 #ifdef HAVE_IEEEFP_H
29324 #include <ieeefp.h>
29325 #endif
29326
29327 int
29328 main ()
29329 {
29330 _expf(0);
29331 ;
29332 return 0;
29333 }
29334 _ACEOF
29335 if ac_fn_cxx_try_compile "$LINENO"; then :
29336 glibcxx_cv_func__expf_use=yes
29337 else
29338 glibcxx_cv_func__expf_use=no
29339 fi
29340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29341 ac_ext=c
29342 ac_cpp='$CPP $CPPFLAGS'
29343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29346
29347
29348 fi
29349
29350 fi
29351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29352 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29353
29354 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29355 for ac_func in _expf
29356 do :
29357 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29358 if test "x$ac_cv_func__expf" = x""yes; then :
29359 cat >>confdefs.h <<_ACEOF
29360 #define HAVE__EXPF 1
29361 _ACEOF
29362
29363 fi
29364 done
29365
29366 fi
29367 fi
29368
29369
29370
29371
29372
29373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29374 $as_echo_n "checking for isnanf declaration... " >&6; }
29375 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29376 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29377 $as_echo_n "(cached) " >&6
29378 else
29379
29380
29381 ac_ext=cpp
29382 ac_cpp='$CXXCPP $CPPFLAGS'
29383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29386
29387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29388 /* end confdefs.h. */
29389 #include <math.h>
29390 #ifdef HAVE_IEEEFP_H
29391 #include <ieeefp.h>
29392 #endif
29393
29394 int
29395 main ()
29396 {
29397 isnanf(0);
29398 ;
29399 return 0;
29400 }
29401 _ACEOF
29402 if ac_fn_cxx_try_compile "$LINENO"; then :
29403 glibcxx_cv_func_isnanf_use=yes
29404 else
29405 glibcxx_cv_func_isnanf_use=no
29406 fi
29407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29408 ac_ext=c
29409 ac_cpp='$CPP $CPPFLAGS'
29410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29413
29414
29415 fi
29416
29417 fi
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29419 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29420
29421 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29422 for ac_func in isnanf
29423 do :
29424 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29425 if test "x$ac_cv_func_isnanf" = x""yes; then :
29426 cat >>confdefs.h <<_ACEOF
29427 #define HAVE_ISNANF 1
29428 _ACEOF
29429
29430 fi
29431 done
29432
29433 else
29434
29435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29436 $as_echo_n "checking for _isnanf declaration... " >&6; }
29437 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29438 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29439 $as_echo_n "(cached) " >&6
29440 else
29441
29442
29443 ac_ext=cpp
29444 ac_cpp='$CXXCPP $CPPFLAGS'
29445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29448
29449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29450 /* end confdefs.h. */
29451 #include <math.h>
29452 #ifdef HAVE_IEEEFP_H
29453 #include <ieeefp.h>
29454 #endif
29455
29456 int
29457 main ()
29458 {
29459 _isnanf(0);
29460 ;
29461 return 0;
29462 }
29463 _ACEOF
29464 if ac_fn_cxx_try_compile "$LINENO"; then :
29465 glibcxx_cv_func__isnanf_use=yes
29466 else
29467 glibcxx_cv_func__isnanf_use=no
29468 fi
29469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29470 ac_ext=c
29471 ac_cpp='$CPP $CPPFLAGS'
29472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29475
29476
29477 fi
29478
29479 fi
29480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29481 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29482
29483 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29484 for ac_func in _isnanf
29485 do :
29486 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29487 if test "x$ac_cv_func__isnanf" = x""yes; then :
29488 cat >>confdefs.h <<_ACEOF
29489 #define HAVE__ISNANF 1
29490 _ACEOF
29491
29492 fi
29493 done
29494
29495 fi
29496 fi
29497
29498
29499
29500
29501
29502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29503 $as_echo_n "checking for isinff declaration... " >&6; }
29504 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29505 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29506 $as_echo_n "(cached) " >&6
29507 else
29508
29509
29510 ac_ext=cpp
29511 ac_cpp='$CXXCPP $CPPFLAGS'
29512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29515
29516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29517 /* end confdefs.h. */
29518 #include <math.h>
29519 #ifdef HAVE_IEEEFP_H
29520 #include <ieeefp.h>
29521 #endif
29522
29523 int
29524 main ()
29525 {
29526 isinff(0);
29527 ;
29528 return 0;
29529 }
29530 _ACEOF
29531 if ac_fn_cxx_try_compile "$LINENO"; then :
29532 glibcxx_cv_func_isinff_use=yes
29533 else
29534 glibcxx_cv_func_isinff_use=no
29535 fi
29536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29537 ac_ext=c
29538 ac_cpp='$CPP $CPPFLAGS'
29539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29542
29543
29544 fi
29545
29546 fi
29547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29548 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29549
29550 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29551 for ac_func in isinff
29552 do :
29553 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29554 if test "x$ac_cv_func_isinff" = x""yes; then :
29555 cat >>confdefs.h <<_ACEOF
29556 #define HAVE_ISINFF 1
29557 _ACEOF
29558
29559 fi
29560 done
29561
29562 else
29563
29564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29565 $as_echo_n "checking for _isinff declaration... " >&6; }
29566 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29567 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29568 $as_echo_n "(cached) " >&6
29569 else
29570
29571
29572 ac_ext=cpp
29573 ac_cpp='$CXXCPP $CPPFLAGS'
29574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29577
29578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29579 /* end confdefs.h. */
29580 #include <math.h>
29581 #ifdef HAVE_IEEEFP_H
29582 #include <ieeefp.h>
29583 #endif
29584
29585 int
29586 main ()
29587 {
29588 _isinff(0);
29589 ;
29590 return 0;
29591 }
29592 _ACEOF
29593 if ac_fn_cxx_try_compile "$LINENO"; then :
29594 glibcxx_cv_func__isinff_use=yes
29595 else
29596 glibcxx_cv_func__isinff_use=no
29597 fi
29598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29599 ac_ext=c
29600 ac_cpp='$CPP $CPPFLAGS'
29601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29604
29605
29606 fi
29607
29608 fi
29609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29610 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29611
29612 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29613 for ac_func in _isinff
29614 do :
29615 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29616 if test "x$ac_cv_func__isinff" = x""yes; then :
29617 cat >>confdefs.h <<_ACEOF
29618 #define HAVE__ISINFF 1
29619 _ACEOF
29620
29621 fi
29622 done
29623
29624 fi
29625 fi
29626
29627
29628
29629
29630
29631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29632 $as_echo_n "checking for atan2f declaration... " >&6; }
29633 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29634 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29635 $as_echo_n "(cached) " >&6
29636 else
29637
29638
29639 ac_ext=cpp
29640 ac_cpp='$CXXCPP $CPPFLAGS'
29641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29644
29645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29646 /* end confdefs.h. */
29647 #include <math.h>
29648 int
29649 main ()
29650 {
29651 atan2f(0, 0);
29652 ;
29653 return 0;
29654 }
29655 _ACEOF
29656 if ac_fn_cxx_try_compile "$LINENO"; then :
29657 glibcxx_cv_func_atan2f_use=yes
29658 else
29659 glibcxx_cv_func_atan2f_use=no
29660 fi
29661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29662 ac_ext=c
29663 ac_cpp='$CPP $CPPFLAGS'
29664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29667
29668
29669 fi
29670
29671 fi
29672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29673 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29674
29675 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29676 for ac_func in atan2f
29677 do :
29678 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29679 if test "x$ac_cv_func_atan2f" = x""yes; then :
29680 cat >>confdefs.h <<_ACEOF
29681 #define HAVE_ATAN2F 1
29682 _ACEOF
29683
29684 fi
29685 done
29686
29687 else
29688
29689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29690 $as_echo_n "checking for _atan2f declaration... " >&6; }
29691 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29692 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29693 $as_echo_n "(cached) " >&6
29694 else
29695
29696
29697 ac_ext=cpp
29698 ac_cpp='$CXXCPP $CPPFLAGS'
29699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29702
29703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29704 /* end confdefs.h. */
29705 #include <math.h>
29706 int
29707 main ()
29708 {
29709 _atan2f(0, 0);
29710 ;
29711 return 0;
29712 }
29713 _ACEOF
29714 if ac_fn_cxx_try_compile "$LINENO"; then :
29715 glibcxx_cv_func__atan2f_use=yes
29716 else
29717 glibcxx_cv_func__atan2f_use=no
29718 fi
29719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29720 ac_ext=c
29721 ac_cpp='$CPP $CPPFLAGS'
29722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29725
29726
29727 fi
29728
29729 fi
29730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29731 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29732
29733 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29734 for ac_func in _atan2f
29735 do :
29736 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29737 if test "x$ac_cv_func__atan2f" = x""yes; then :
29738 cat >>confdefs.h <<_ACEOF
29739 #define HAVE__ATAN2F 1
29740 _ACEOF
29741
29742 fi
29743 done
29744
29745 fi
29746 fi
29747
29748
29749
29750
29751
29752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29753 $as_echo_n "checking for fabsf declaration... " >&6; }
29754 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29755 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29756 $as_echo_n "(cached) " >&6
29757 else
29758
29759
29760 ac_ext=cpp
29761 ac_cpp='$CXXCPP $CPPFLAGS'
29762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29765
29766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29767 /* end confdefs.h. */
29768 #include <math.h>
29769 #ifdef HAVE_IEEEFP_H
29770 #include <ieeefp.h>
29771 #endif
29772
29773 int
29774 main ()
29775 {
29776 fabsf(0);
29777 ;
29778 return 0;
29779 }
29780 _ACEOF
29781 if ac_fn_cxx_try_compile "$LINENO"; then :
29782 glibcxx_cv_func_fabsf_use=yes
29783 else
29784 glibcxx_cv_func_fabsf_use=no
29785 fi
29786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29787 ac_ext=c
29788 ac_cpp='$CPP $CPPFLAGS'
29789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29792
29793
29794 fi
29795
29796 fi
29797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29798 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29799
29800 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29801 for ac_func in fabsf
29802 do :
29803 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29804 if test "x$ac_cv_func_fabsf" = x""yes; then :
29805 cat >>confdefs.h <<_ACEOF
29806 #define HAVE_FABSF 1
29807 _ACEOF
29808
29809 fi
29810 done
29811
29812 else
29813
29814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29815 $as_echo_n "checking for _fabsf declaration... " >&6; }
29816 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29817 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29818 $as_echo_n "(cached) " >&6
29819 else
29820
29821
29822 ac_ext=cpp
29823 ac_cpp='$CXXCPP $CPPFLAGS'
29824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29827
29828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29829 /* end confdefs.h. */
29830 #include <math.h>
29831 #ifdef HAVE_IEEEFP_H
29832 #include <ieeefp.h>
29833 #endif
29834
29835 int
29836 main ()
29837 {
29838 _fabsf(0);
29839 ;
29840 return 0;
29841 }
29842 _ACEOF
29843 if ac_fn_cxx_try_compile "$LINENO"; then :
29844 glibcxx_cv_func__fabsf_use=yes
29845 else
29846 glibcxx_cv_func__fabsf_use=no
29847 fi
29848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29849 ac_ext=c
29850 ac_cpp='$CPP $CPPFLAGS'
29851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29854
29855
29856 fi
29857
29858 fi
29859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29860 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29861
29862 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29863 for ac_func in _fabsf
29864 do :
29865 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29866 if test "x$ac_cv_func__fabsf" = x""yes; then :
29867 cat >>confdefs.h <<_ACEOF
29868 #define HAVE__FABSF 1
29869 _ACEOF
29870
29871 fi
29872 done
29873
29874 fi
29875 fi
29876
29877
29878
29879
29880
29881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29882 $as_echo_n "checking for fmodf declaration... " >&6; }
29883 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29884 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29885 $as_echo_n "(cached) " >&6
29886 else
29887
29888
29889 ac_ext=cpp
29890 ac_cpp='$CXXCPP $CPPFLAGS'
29891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29894
29895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29896 /* end confdefs.h. */
29897 #include <math.h>
29898 int
29899 main ()
29900 {
29901 fmodf(0, 0);
29902 ;
29903 return 0;
29904 }
29905 _ACEOF
29906 if ac_fn_cxx_try_compile "$LINENO"; then :
29907 glibcxx_cv_func_fmodf_use=yes
29908 else
29909 glibcxx_cv_func_fmodf_use=no
29910 fi
29911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29912 ac_ext=c
29913 ac_cpp='$CPP $CPPFLAGS'
29914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29917
29918
29919 fi
29920
29921 fi
29922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29923 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29924
29925 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29926 for ac_func in fmodf
29927 do :
29928 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29929 if test "x$ac_cv_func_fmodf" = x""yes; then :
29930 cat >>confdefs.h <<_ACEOF
29931 #define HAVE_FMODF 1
29932 _ACEOF
29933
29934 fi
29935 done
29936
29937 else
29938
29939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29940 $as_echo_n "checking for _fmodf declaration... " >&6; }
29941 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29942 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29943 $as_echo_n "(cached) " >&6
29944 else
29945
29946
29947 ac_ext=cpp
29948 ac_cpp='$CXXCPP $CPPFLAGS'
29949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29952
29953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29954 /* end confdefs.h. */
29955 #include <math.h>
29956 int
29957 main ()
29958 {
29959 _fmodf(0, 0);
29960 ;
29961 return 0;
29962 }
29963 _ACEOF
29964 if ac_fn_cxx_try_compile "$LINENO"; then :
29965 glibcxx_cv_func__fmodf_use=yes
29966 else
29967 glibcxx_cv_func__fmodf_use=no
29968 fi
29969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29970 ac_ext=c
29971 ac_cpp='$CPP $CPPFLAGS'
29972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29975
29976
29977 fi
29978
29979 fi
29980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29981 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29982
29983 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29984 for ac_func in _fmodf
29985 do :
29986 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29987 if test "x$ac_cv_func__fmodf" = x""yes; then :
29988 cat >>confdefs.h <<_ACEOF
29989 #define HAVE__FMODF 1
29990 _ACEOF
29991
29992 fi
29993 done
29994
29995 fi
29996 fi
29997
29998
29999
30000
30001
30002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30003 $as_echo_n "checking for frexpf declaration... " >&6; }
30004 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30005 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
30006 $as_echo_n "(cached) " >&6
30007 else
30008
30009
30010 ac_ext=cpp
30011 ac_cpp='$CXXCPP $CPPFLAGS'
30012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30015
30016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30017 /* end confdefs.h. */
30018 #include <math.h>
30019 int
30020 main ()
30021 {
30022 frexpf(0, 0);
30023 ;
30024 return 0;
30025 }
30026 _ACEOF
30027 if ac_fn_cxx_try_compile "$LINENO"; then :
30028 glibcxx_cv_func_frexpf_use=yes
30029 else
30030 glibcxx_cv_func_frexpf_use=no
30031 fi
30032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30033 ac_ext=c
30034 ac_cpp='$CPP $CPPFLAGS'
30035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30038
30039
30040 fi
30041
30042 fi
30043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30044 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30045
30046 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30047 for ac_func in frexpf
30048 do :
30049 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30050 if test "x$ac_cv_func_frexpf" = x""yes; then :
30051 cat >>confdefs.h <<_ACEOF
30052 #define HAVE_FREXPF 1
30053 _ACEOF
30054
30055 fi
30056 done
30057
30058 else
30059
30060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30061 $as_echo_n "checking for _frexpf declaration... " >&6; }
30062 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30063 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30064 $as_echo_n "(cached) " >&6
30065 else
30066
30067
30068 ac_ext=cpp
30069 ac_cpp='$CXXCPP $CPPFLAGS'
30070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30073
30074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30075 /* end confdefs.h. */
30076 #include <math.h>
30077 int
30078 main ()
30079 {
30080 _frexpf(0, 0);
30081 ;
30082 return 0;
30083 }
30084 _ACEOF
30085 if ac_fn_cxx_try_compile "$LINENO"; then :
30086 glibcxx_cv_func__frexpf_use=yes
30087 else
30088 glibcxx_cv_func__frexpf_use=no
30089 fi
30090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30091 ac_ext=c
30092 ac_cpp='$CPP $CPPFLAGS'
30093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30096
30097
30098 fi
30099
30100 fi
30101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30102 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30103
30104 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30105 for ac_func in _frexpf
30106 do :
30107 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30108 if test "x$ac_cv_func__frexpf" = x""yes; then :
30109 cat >>confdefs.h <<_ACEOF
30110 #define HAVE__FREXPF 1
30111 _ACEOF
30112
30113 fi
30114 done
30115
30116 fi
30117 fi
30118
30119
30120
30121
30122
30123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30124 $as_echo_n "checking for hypotf declaration... " >&6; }
30125 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30126 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30127 $as_echo_n "(cached) " >&6
30128 else
30129
30130
30131 ac_ext=cpp
30132 ac_cpp='$CXXCPP $CPPFLAGS'
30133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30136
30137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30138 /* end confdefs.h. */
30139 #include <math.h>
30140 int
30141 main ()
30142 {
30143 hypotf(0, 0);
30144 ;
30145 return 0;
30146 }
30147 _ACEOF
30148 if ac_fn_cxx_try_compile "$LINENO"; then :
30149 glibcxx_cv_func_hypotf_use=yes
30150 else
30151 glibcxx_cv_func_hypotf_use=no
30152 fi
30153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30154 ac_ext=c
30155 ac_cpp='$CPP $CPPFLAGS'
30156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30159
30160
30161 fi
30162
30163 fi
30164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30165 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30166
30167 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30168 for ac_func in hypotf
30169 do :
30170 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30171 if test "x$ac_cv_func_hypotf" = x""yes; then :
30172 cat >>confdefs.h <<_ACEOF
30173 #define HAVE_HYPOTF 1
30174 _ACEOF
30175
30176 fi
30177 done
30178
30179 else
30180
30181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30182 $as_echo_n "checking for _hypotf declaration... " >&6; }
30183 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30184 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30185 $as_echo_n "(cached) " >&6
30186 else
30187
30188
30189 ac_ext=cpp
30190 ac_cpp='$CXXCPP $CPPFLAGS'
30191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30194
30195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30196 /* end confdefs.h. */
30197 #include <math.h>
30198 int
30199 main ()
30200 {
30201 _hypotf(0, 0);
30202 ;
30203 return 0;
30204 }
30205 _ACEOF
30206 if ac_fn_cxx_try_compile "$LINENO"; then :
30207 glibcxx_cv_func__hypotf_use=yes
30208 else
30209 glibcxx_cv_func__hypotf_use=no
30210 fi
30211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30212 ac_ext=c
30213 ac_cpp='$CPP $CPPFLAGS'
30214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30217
30218
30219 fi
30220
30221 fi
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30223 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30224
30225 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30226 for ac_func in _hypotf
30227 do :
30228 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30229 if test "x$ac_cv_func__hypotf" = x""yes; then :
30230 cat >>confdefs.h <<_ACEOF
30231 #define HAVE__HYPOTF 1
30232 _ACEOF
30233
30234 fi
30235 done
30236
30237 fi
30238 fi
30239
30240
30241
30242
30243
30244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30245 $as_echo_n "checking for ldexpf declaration... " >&6; }
30246 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30247 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30248 $as_echo_n "(cached) " >&6
30249 else
30250
30251
30252 ac_ext=cpp
30253 ac_cpp='$CXXCPP $CPPFLAGS'
30254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30257
30258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30259 /* end confdefs.h. */
30260 #include <math.h>
30261 int
30262 main ()
30263 {
30264 ldexpf(0, 0);
30265 ;
30266 return 0;
30267 }
30268 _ACEOF
30269 if ac_fn_cxx_try_compile "$LINENO"; then :
30270 glibcxx_cv_func_ldexpf_use=yes
30271 else
30272 glibcxx_cv_func_ldexpf_use=no
30273 fi
30274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30275 ac_ext=c
30276 ac_cpp='$CPP $CPPFLAGS'
30277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30280
30281
30282 fi
30283
30284 fi
30285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30286 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30287
30288 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30289 for ac_func in ldexpf
30290 do :
30291 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30292 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30293 cat >>confdefs.h <<_ACEOF
30294 #define HAVE_LDEXPF 1
30295 _ACEOF
30296
30297 fi
30298 done
30299
30300 else
30301
30302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30303 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30304 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30305 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30306 $as_echo_n "(cached) " >&6
30307 else
30308
30309
30310 ac_ext=cpp
30311 ac_cpp='$CXXCPP $CPPFLAGS'
30312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30315
30316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30317 /* end confdefs.h. */
30318 #include <math.h>
30319 int
30320 main ()
30321 {
30322 _ldexpf(0, 0);
30323 ;
30324 return 0;
30325 }
30326 _ACEOF
30327 if ac_fn_cxx_try_compile "$LINENO"; then :
30328 glibcxx_cv_func__ldexpf_use=yes
30329 else
30330 glibcxx_cv_func__ldexpf_use=no
30331 fi
30332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30333 ac_ext=c
30334 ac_cpp='$CPP $CPPFLAGS'
30335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30338
30339
30340 fi
30341
30342 fi
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30344 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30345
30346 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30347 for ac_func in _ldexpf
30348 do :
30349 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30350 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30351 cat >>confdefs.h <<_ACEOF
30352 #define HAVE__LDEXPF 1
30353 _ACEOF
30354
30355 fi
30356 done
30357
30358 fi
30359 fi
30360
30361
30362
30363
30364
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30366 $as_echo_n "checking for logf declaration... " >&6; }
30367 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30368 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30369 $as_echo_n "(cached) " >&6
30370 else
30371
30372
30373 ac_ext=cpp
30374 ac_cpp='$CXXCPP $CPPFLAGS'
30375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30378
30379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30380 /* end confdefs.h. */
30381 #include <math.h>
30382 #ifdef HAVE_IEEEFP_H
30383 #include <ieeefp.h>
30384 #endif
30385
30386 int
30387 main ()
30388 {
30389 logf(0);
30390 ;
30391 return 0;
30392 }
30393 _ACEOF
30394 if ac_fn_cxx_try_compile "$LINENO"; then :
30395 glibcxx_cv_func_logf_use=yes
30396 else
30397 glibcxx_cv_func_logf_use=no
30398 fi
30399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30400 ac_ext=c
30401 ac_cpp='$CPP $CPPFLAGS'
30402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30405
30406
30407 fi
30408
30409 fi
30410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30411 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30412
30413 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30414 for ac_func in logf
30415 do :
30416 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30417 if test "x$ac_cv_func_logf" = x""yes; then :
30418 cat >>confdefs.h <<_ACEOF
30419 #define HAVE_LOGF 1
30420 _ACEOF
30421
30422 fi
30423 done
30424
30425 else
30426
30427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30428 $as_echo_n "checking for _logf declaration... " >&6; }
30429 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30430 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30431 $as_echo_n "(cached) " >&6
30432 else
30433
30434
30435 ac_ext=cpp
30436 ac_cpp='$CXXCPP $CPPFLAGS'
30437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30440
30441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30442 /* end confdefs.h. */
30443 #include <math.h>
30444 #ifdef HAVE_IEEEFP_H
30445 #include <ieeefp.h>
30446 #endif
30447
30448 int
30449 main ()
30450 {
30451 _logf(0);
30452 ;
30453 return 0;
30454 }
30455 _ACEOF
30456 if ac_fn_cxx_try_compile "$LINENO"; then :
30457 glibcxx_cv_func__logf_use=yes
30458 else
30459 glibcxx_cv_func__logf_use=no
30460 fi
30461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30462 ac_ext=c
30463 ac_cpp='$CPP $CPPFLAGS'
30464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30467
30468
30469 fi
30470
30471 fi
30472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30473 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30474
30475 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30476 for ac_func in _logf
30477 do :
30478 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30479 if test "x$ac_cv_func__logf" = x""yes; then :
30480 cat >>confdefs.h <<_ACEOF
30481 #define HAVE__LOGF 1
30482 _ACEOF
30483
30484 fi
30485 done
30486
30487 fi
30488 fi
30489
30490
30491
30492
30493
30494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30495 $as_echo_n "checking for log10f declaration... " >&6; }
30496 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30497 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30498 $as_echo_n "(cached) " >&6
30499 else
30500
30501
30502 ac_ext=cpp
30503 ac_cpp='$CXXCPP $CPPFLAGS'
30504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30507
30508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30509 /* end confdefs.h. */
30510 #include <math.h>
30511 #ifdef HAVE_IEEEFP_H
30512 #include <ieeefp.h>
30513 #endif
30514
30515 int
30516 main ()
30517 {
30518 log10f(0);
30519 ;
30520 return 0;
30521 }
30522 _ACEOF
30523 if ac_fn_cxx_try_compile "$LINENO"; then :
30524 glibcxx_cv_func_log10f_use=yes
30525 else
30526 glibcxx_cv_func_log10f_use=no
30527 fi
30528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30529 ac_ext=c
30530 ac_cpp='$CPP $CPPFLAGS'
30531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30534
30535
30536 fi
30537
30538 fi
30539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30540 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30541
30542 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30543 for ac_func in log10f
30544 do :
30545 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30546 if test "x$ac_cv_func_log10f" = x""yes; then :
30547 cat >>confdefs.h <<_ACEOF
30548 #define HAVE_LOG10F 1
30549 _ACEOF
30550
30551 fi
30552 done
30553
30554 else
30555
30556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30557 $as_echo_n "checking for _log10f declaration... " >&6; }
30558 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30559 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30560 $as_echo_n "(cached) " >&6
30561 else
30562
30563
30564 ac_ext=cpp
30565 ac_cpp='$CXXCPP $CPPFLAGS'
30566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30569
30570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30571 /* end confdefs.h. */
30572 #include <math.h>
30573 #ifdef HAVE_IEEEFP_H
30574 #include <ieeefp.h>
30575 #endif
30576
30577 int
30578 main ()
30579 {
30580 _log10f(0);
30581 ;
30582 return 0;
30583 }
30584 _ACEOF
30585 if ac_fn_cxx_try_compile "$LINENO"; then :
30586 glibcxx_cv_func__log10f_use=yes
30587 else
30588 glibcxx_cv_func__log10f_use=no
30589 fi
30590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30591 ac_ext=c
30592 ac_cpp='$CPP $CPPFLAGS'
30593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30596
30597
30598 fi
30599
30600 fi
30601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30602 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30603
30604 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30605 for ac_func in _log10f
30606 do :
30607 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30608 if test "x$ac_cv_func__log10f" = x""yes; then :
30609 cat >>confdefs.h <<_ACEOF
30610 #define HAVE__LOG10F 1
30611 _ACEOF
30612
30613 fi
30614 done
30615
30616 fi
30617 fi
30618
30619
30620
30621
30622
30623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30624 $as_echo_n "checking for modff declaration... " >&6; }
30625 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30626 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30627 $as_echo_n "(cached) " >&6
30628 else
30629
30630
30631 ac_ext=cpp
30632 ac_cpp='$CXXCPP $CPPFLAGS'
30633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30636
30637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30638 /* end confdefs.h. */
30639 #include <math.h>
30640 int
30641 main ()
30642 {
30643 modff(0, 0);
30644 ;
30645 return 0;
30646 }
30647 _ACEOF
30648 if ac_fn_cxx_try_compile "$LINENO"; then :
30649 glibcxx_cv_func_modff_use=yes
30650 else
30651 glibcxx_cv_func_modff_use=no
30652 fi
30653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30654 ac_ext=c
30655 ac_cpp='$CPP $CPPFLAGS'
30656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30659
30660
30661 fi
30662
30663 fi
30664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30665 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30666
30667 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30668 for ac_func in modff
30669 do :
30670 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30671 if test "x$ac_cv_func_modff" = x""yes; then :
30672 cat >>confdefs.h <<_ACEOF
30673 #define HAVE_MODFF 1
30674 _ACEOF
30675
30676 fi
30677 done
30678
30679 else
30680
30681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30682 $as_echo_n "checking for _modff declaration... " >&6; }
30683 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30684 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30685 $as_echo_n "(cached) " >&6
30686 else
30687
30688
30689 ac_ext=cpp
30690 ac_cpp='$CXXCPP $CPPFLAGS'
30691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30694
30695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30696 /* end confdefs.h. */
30697 #include <math.h>
30698 int
30699 main ()
30700 {
30701 _modff(0, 0);
30702 ;
30703 return 0;
30704 }
30705 _ACEOF
30706 if ac_fn_cxx_try_compile "$LINENO"; then :
30707 glibcxx_cv_func__modff_use=yes
30708 else
30709 glibcxx_cv_func__modff_use=no
30710 fi
30711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30712 ac_ext=c
30713 ac_cpp='$CPP $CPPFLAGS'
30714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30717
30718
30719 fi
30720
30721 fi
30722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30723 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30724
30725 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30726 for ac_func in _modff
30727 do :
30728 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30729 if test "x$ac_cv_func__modff" = x""yes; then :
30730 cat >>confdefs.h <<_ACEOF
30731 #define HAVE__MODFF 1
30732 _ACEOF
30733
30734 fi
30735 done
30736
30737 fi
30738 fi
30739
30740
30741
30742
30743
30744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30745 $as_echo_n "checking for modf declaration... " >&6; }
30746 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30747 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30748 $as_echo_n "(cached) " >&6
30749 else
30750
30751
30752 ac_ext=cpp
30753 ac_cpp='$CXXCPP $CPPFLAGS'
30754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30757
30758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30759 /* end confdefs.h. */
30760 #include <math.h>
30761 int
30762 main ()
30763 {
30764 modf(0, 0);
30765 ;
30766 return 0;
30767 }
30768 _ACEOF
30769 if ac_fn_cxx_try_compile "$LINENO"; then :
30770 glibcxx_cv_func_modf_use=yes
30771 else
30772 glibcxx_cv_func_modf_use=no
30773 fi
30774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30775 ac_ext=c
30776 ac_cpp='$CPP $CPPFLAGS'
30777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30780
30781
30782 fi
30783
30784 fi
30785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30786 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30787
30788 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30789 for ac_func in modf
30790 do :
30791 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30792 if test "x$ac_cv_func_modf" = x""yes; then :
30793 cat >>confdefs.h <<_ACEOF
30794 #define HAVE_MODF 1
30795 _ACEOF
30796
30797 fi
30798 done
30799
30800 else
30801
30802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30803 $as_echo_n "checking for _modf declaration... " >&6; }
30804 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30805 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30806 $as_echo_n "(cached) " >&6
30807 else
30808
30809
30810 ac_ext=cpp
30811 ac_cpp='$CXXCPP $CPPFLAGS'
30812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30815
30816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30817 /* end confdefs.h. */
30818 #include <math.h>
30819 int
30820 main ()
30821 {
30822 _modf(0, 0);
30823 ;
30824 return 0;
30825 }
30826 _ACEOF
30827 if ac_fn_cxx_try_compile "$LINENO"; then :
30828 glibcxx_cv_func__modf_use=yes
30829 else
30830 glibcxx_cv_func__modf_use=no
30831 fi
30832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30833 ac_ext=c
30834 ac_cpp='$CPP $CPPFLAGS'
30835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30838
30839
30840 fi
30841
30842 fi
30843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30844 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30845
30846 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30847 for ac_func in _modf
30848 do :
30849 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30850 if test "x$ac_cv_func__modf" = x""yes; then :
30851 cat >>confdefs.h <<_ACEOF
30852 #define HAVE__MODF 1
30853 _ACEOF
30854
30855 fi
30856 done
30857
30858 fi
30859 fi
30860
30861
30862
30863
30864
30865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30866 $as_echo_n "checking for powf declaration... " >&6; }
30867 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30868 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30869 $as_echo_n "(cached) " >&6
30870 else
30871
30872
30873 ac_ext=cpp
30874 ac_cpp='$CXXCPP $CPPFLAGS'
30875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30878
30879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30880 /* end confdefs.h. */
30881 #include <math.h>
30882 int
30883 main ()
30884 {
30885 powf(0, 0);
30886 ;
30887 return 0;
30888 }
30889 _ACEOF
30890 if ac_fn_cxx_try_compile "$LINENO"; then :
30891 glibcxx_cv_func_powf_use=yes
30892 else
30893 glibcxx_cv_func_powf_use=no
30894 fi
30895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30896 ac_ext=c
30897 ac_cpp='$CPP $CPPFLAGS'
30898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30901
30902
30903 fi
30904
30905 fi
30906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30907 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30908
30909 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30910 for ac_func in powf
30911 do :
30912 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30913 if test "x$ac_cv_func_powf" = x""yes; then :
30914 cat >>confdefs.h <<_ACEOF
30915 #define HAVE_POWF 1
30916 _ACEOF
30917
30918 fi
30919 done
30920
30921 else
30922
30923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30924 $as_echo_n "checking for _powf declaration... " >&6; }
30925 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30926 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30927 $as_echo_n "(cached) " >&6
30928 else
30929
30930
30931 ac_ext=cpp
30932 ac_cpp='$CXXCPP $CPPFLAGS'
30933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30936
30937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30938 /* end confdefs.h. */
30939 #include <math.h>
30940 int
30941 main ()
30942 {
30943 _powf(0, 0);
30944 ;
30945 return 0;
30946 }
30947 _ACEOF
30948 if ac_fn_cxx_try_compile "$LINENO"; then :
30949 glibcxx_cv_func__powf_use=yes
30950 else
30951 glibcxx_cv_func__powf_use=no
30952 fi
30953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30954 ac_ext=c
30955 ac_cpp='$CPP $CPPFLAGS'
30956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30959
30960
30961 fi
30962
30963 fi
30964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30965 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30966
30967 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30968 for ac_func in _powf
30969 do :
30970 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30971 if test "x$ac_cv_func__powf" = x""yes; then :
30972 cat >>confdefs.h <<_ACEOF
30973 #define HAVE__POWF 1
30974 _ACEOF
30975
30976 fi
30977 done
30978
30979 fi
30980 fi
30981
30982
30983
30984
30985
30986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30987 $as_echo_n "checking for sqrtf declaration... " >&6; }
30988 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30989 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30990 $as_echo_n "(cached) " >&6
30991 else
30992
30993
30994 ac_ext=cpp
30995 ac_cpp='$CXXCPP $CPPFLAGS'
30996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30999
31000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31001 /* end confdefs.h. */
31002 #include <math.h>
31003 #ifdef HAVE_IEEEFP_H
31004 #include <ieeefp.h>
31005 #endif
31006
31007 int
31008 main ()
31009 {
31010 sqrtf(0);
31011 ;
31012 return 0;
31013 }
31014 _ACEOF
31015 if ac_fn_cxx_try_compile "$LINENO"; then :
31016 glibcxx_cv_func_sqrtf_use=yes
31017 else
31018 glibcxx_cv_func_sqrtf_use=no
31019 fi
31020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31021 ac_ext=c
31022 ac_cpp='$CPP $CPPFLAGS'
31023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31026
31027
31028 fi
31029
31030 fi
31031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31032 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31033
31034 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31035 for ac_func in sqrtf
31036 do :
31037 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31038 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31039 cat >>confdefs.h <<_ACEOF
31040 #define HAVE_SQRTF 1
31041 _ACEOF
31042
31043 fi
31044 done
31045
31046 else
31047
31048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31049 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31050 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31051 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31052 $as_echo_n "(cached) " >&6
31053 else
31054
31055
31056 ac_ext=cpp
31057 ac_cpp='$CXXCPP $CPPFLAGS'
31058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31061
31062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31063 /* end confdefs.h. */
31064 #include <math.h>
31065 #ifdef HAVE_IEEEFP_H
31066 #include <ieeefp.h>
31067 #endif
31068
31069 int
31070 main ()
31071 {
31072 _sqrtf(0);
31073 ;
31074 return 0;
31075 }
31076 _ACEOF
31077 if ac_fn_cxx_try_compile "$LINENO"; then :
31078 glibcxx_cv_func__sqrtf_use=yes
31079 else
31080 glibcxx_cv_func__sqrtf_use=no
31081 fi
31082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31083 ac_ext=c
31084 ac_cpp='$CPP $CPPFLAGS'
31085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31088
31089
31090 fi
31091
31092 fi
31093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31094 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31095
31096 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31097 for ac_func in _sqrtf
31098 do :
31099 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31100 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31101 cat >>confdefs.h <<_ACEOF
31102 #define HAVE__SQRTF 1
31103 _ACEOF
31104
31105 fi
31106 done
31107
31108 fi
31109 fi
31110
31111
31112
31113
31114
31115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31116 $as_echo_n "checking for sincosf declaration... " >&6; }
31117 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31118 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31119 $as_echo_n "(cached) " >&6
31120 else
31121
31122
31123 ac_ext=cpp
31124 ac_cpp='$CXXCPP $CPPFLAGS'
31125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31128
31129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31130 /* end confdefs.h. */
31131 #include <math.h>
31132 int
31133 main ()
31134 {
31135 sincosf(0, 0, 0);
31136 ;
31137 return 0;
31138 }
31139 _ACEOF
31140 if ac_fn_cxx_try_compile "$LINENO"; then :
31141 glibcxx_cv_func_sincosf_use=yes
31142 else
31143 glibcxx_cv_func_sincosf_use=no
31144 fi
31145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31146 ac_ext=c
31147 ac_cpp='$CPP $CPPFLAGS'
31148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31151
31152
31153 fi
31154
31155 fi
31156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31157 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31158
31159 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31160 for ac_func in sincosf
31161 do :
31162 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31163 if test "x$ac_cv_func_sincosf" = x""yes; then :
31164 cat >>confdefs.h <<_ACEOF
31165 #define HAVE_SINCOSF 1
31166 _ACEOF
31167
31168 fi
31169 done
31170
31171 else
31172
31173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31174 $as_echo_n "checking for _sincosf declaration... " >&6; }
31175 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31176 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31177 $as_echo_n "(cached) " >&6
31178 else
31179
31180
31181 ac_ext=cpp
31182 ac_cpp='$CXXCPP $CPPFLAGS'
31183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31186
31187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31188 /* end confdefs.h. */
31189 #include <math.h>
31190 int
31191 main ()
31192 {
31193 _sincosf(0, 0, 0);
31194 ;
31195 return 0;
31196 }
31197 _ACEOF
31198 if ac_fn_cxx_try_compile "$LINENO"; then :
31199 glibcxx_cv_func__sincosf_use=yes
31200 else
31201 glibcxx_cv_func__sincosf_use=no
31202 fi
31203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31204 ac_ext=c
31205 ac_cpp='$CPP $CPPFLAGS'
31206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31209
31210
31211 fi
31212
31213 fi
31214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31215 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31216
31217 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31218 for ac_func in _sincosf
31219 do :
31220 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31221 if test "x$ac_cv_func__sincosf" = x""yes; then :
31222 cat >>confdefs.h <<_ACEOF
31223 #define HAVE__SINCOSF 1
31224 _ACEOF
31225
31226 fi
31227 done
31228
31229 fi
31230 fi
31231
31232
31233
31234
31235
31236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31237 $as_echo_n "checking for finitef declaration... " >&6; }
31238 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31239 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31240 $as_echo_n "(cached) " >&6
31241 else
31242
31243
31244 ac_ext=cpp
31245 ac_cpp='$CXXCPP $CPPFLAGS'
31246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31249
31250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31251 /* end confdefs.h. */
31252 #include <math.h>
31253 #ifdef HAVE_IEEEFP_H
31254 #include <ieeefp.h>
31255 #endif
31256
31257 int
31258 main ()
31259 {
31260 finitef(0);
31261 ;
31262 return 0;
31263 }
31264 _ACEOF
31265 if ac_fn_cxx_try_compile "$LINENO"; then :
31266 glibcxx_cv_func_finitef_use=yes
31267 else
31268 glibcxx_cv_func_finitef_use=no
31269 fi
31270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31271 ac_ext=c
31272 ac_cpp='$CPP $CPPFLAGS'
31273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31276
31277
31278 fi
31279
31280 fi
31281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31282 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31283
31284 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31285 for ac_func in finitef
31286 do :
31287 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31288 if test "x$ac_cv_func_finitef" = x""yes; then :
31289 cat >>confdefs.h <<_ACEOF
31290 #define HAVE_FINITEF 1
31291 _ACEOF
31292
31293 fi
31294 done
31295
31296 else
31297
31298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31299 $as_echo_n "checking for _finitef declaration... " >&6; }
31300 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31301 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31302 $as_echo_n "(cached) " >&6
31303 else
31304
31305
31306 ac_ext=cpp
31307 ac_cpp='$CXXCPP $CPPFLAGS'
31308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31311
31312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31313 /* end confdefs.h. */
31314 #include <math.h>
31315 #ifdef HAVE_IEEEFP_H
31316 #include <ieeefp.h>
31317 #endif
31318
31319 int
31320 main ()
31321 {
31322 _finitef(0);
31323 ;
31324 return 0;
31325 }
31326 _ACEOF
31327 if ac_fn_cxx_try_compile "$LINENO"; then :
31328 glibcxx_cv_func__finitef_use=yes
31329 else
31330 glibcxx_cv_func__finitef_use=no
31331 fi
31332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31333 ac_ext=c
31334 ac_cpp='$CPP $CPPFLAGS'
31335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31338
31339
31340 fi
31341
31342 fi
31343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31344 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31345
31346 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31347 for ac_func in _finitef
31348 do :
31349 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31350 if test "x$ac_cv_func__finitef" = x""yes; then :
31351 cat >>confdefs.h <<_ACEOF
31352 #define HAVE__FINITEF 1
31353 _ACEOF
31354
31355 fi
31356 done
31357
31358 fi
31359 fi
31360
31361
31362
31363
31364
31365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31366 $as_echo_n "checking for long double trig functions... " >&6; }
31367 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31368 $as_echo_n "(cached) " >&6
31369 else
31370
31371
31372 ac_ext=cpp
31373 ac_cpp='$CXXCPP $CPPFLAGS'
31374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31377
31378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31379 /* end confdefs.h. */
31380 #include <math.h>
31381 int
31382 main ()
31383 {
31384 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31385 ;
31386 return 0;
31387 }
31388 _ACEOF
31389 if ac_fn_cxx_try_compile "$LINENO"; then :
31390 glibcxx_cv_func_long_double_trig_use=yes
31391 else
31392 glibcxx_cv_func_long_double_trig_use=no
31393 fi
31394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31395 ac_ext=c
31396 ac_cpp='$CPP $CPPFLAGS'
31397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31400
31401 fi
31402
31403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31404 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31405 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31406 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31407 do :
31408 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31409 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31410 eval as_val=\$$as_ac_var
31411 if test "x$as_val" = x""yes; then :
31412 cat >>confdefs.h <<_ACEOF
31413 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31414 _ACEOF
31415
31416 fi
31417 done
31418
31419 else
31420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31421 $as_echo_n "checking for _long double trig functions... " >&6; }
31422 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31423 $as_echo_n "(cached) " >&6
31424 else
31425
31426
31427 ac_ext=cpp
31428 ac_cpp='$CXXCPP $CPPFLAGS'
31429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31432
31433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31434 /* end confdefs.h. */
31435 #include <math.h>
31436 int
31437 main ()
31438 {
31439 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31440 ;
31441 return 0;
31442 }
31443 _ACEOF
31444 if ac_fn_cxx_try_compile "$LINENO"; then :
31445 glibcxx_cv_func__long_double_trig_use=yes
31446 else
31447 glibcxx_cv_func__long_double_trig_use=no
31448 fi
31449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31450 ac_ext=c
31451 ac_cpp='$CPP $CPPFLAGS'
31452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31455
31456 fi
31457
31458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31459 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31460 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31461 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31462 do :
31463 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31464 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31465 eval as_val=\$$as_ac_var
31466 if test "x$as_val" = x""yes; then :
31467 cat >>confdefs.h <<_ACEOF
31468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31469 _ACEOF
31470
31471 fi
31472 done
31473
31474 fi
31475 fi
31476
31477
31478
31479
31480
31481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31482 $as_echo_n "checking for long double round functions... " >&6; }
31483 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31484 $as_echo_n "(cached) " >&6
31485 else
31486
31487
31488 ac_ext=cpp
31489 ac_cpp='$CXXCPP $CPPFLAGS'
31490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31493
31494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31495 /* end confdefs.h. */
31496 #include <math.h>
31497 int
31498 main ()
31499 {
31500 ceill (0); floorl (0);
31501 ;
31502 return 0;
31503 }
31504 _ACEOF
31505 if ac_fn_cxx_try_compile "$LINENO"; then :
31506 glibcxx_cv_func_long_double_round_use=yes
31507 else
31508 glibcxx_cv_func_long_double_round_use=no
31509 fi
31510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31511 ac_ext=c
31512 ac_cpp='$CPP $CPPFLAGS'
31513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31516
31517 fi
31518
31519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31520 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31521 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31522 for ac_func in ceill floorl
31523 do :
31524 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31525 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31526 eval as_val=\$$as_ac_var
31527 if test "x$as_val" = x""yes; then :
31528 cat >>confdefs.h <<_ACEOF
31529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31530 _ACEOF
31531
31532 fi
31533 done
31534
31535 else
31536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31537 $as_echo_n "checking for _long double round functions... " >&6; }
31538 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31539 $as_echo_n "(cached) " >&6
31540 else
31541
31542
31543 ac_ext=cpp
31544 ac_cpp='$CXXCPP $CPPFLAGS'
31545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31548
31549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31550 /* end confdefs.h. */
31551 #include <math.h>
31552 int
31553 main ()
31554 {
31555 _ceill (0); _floorl (0);
31556 ;
31557 return 0;
31558 }
31559 _ACEOF
31560 if ac_fn_cxx_try_compile "$LINENO"; then :
31561 glibcxx_cv_func__long_double_round_use=yes
31562 else
31563 glibcxx_cv_func__long_double_round_use=no
31564 fi
31565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31566 ac_ext=c
31567 ac_cpp='$CPP $CPPFLAGS'
31568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31571
31572 fi
31573
31574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31575 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31576 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31577 for ac_func in _ceill _floorl
31578 do :
31579 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31580 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31581 eval as_val=\$$as_ac_var
31582 if test "x$as_val" = x""yes; then :
31583 cat >>confdefs.h <<_ACEOF
31584 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31585 _ACEOF
31586
31587 fi
31588 done
31589
31590 fi
31591 fi
31592
31593
31594
31595
31596
31597
31598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31599 $as_echo_n "checking for isnanl declaration... " >&6; }
31600 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31601 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31602 $as_echo_n "(cached) " >&6
31603 else
31604
31605
31606 ac_ext=cpp
31607 ac_cpp='$CXXCPP $CPPFLAGS'
31608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31611
31612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31613 /* end confdefs.h. */
31614 #include <math.h>
31615 #ifdef HAVE_IEEEFP_H
31616 #include <ieeefp.h>
31617 #endif
31618
31619 int
31620 main ()
31621 {
31622 isnanl(0);
31623 ;
31624 return 0;
31625 }
31626 _ACEOF
31627 if ac_fn_cxx_try_compile "$LINENO"; then :
31628 glibcxx_cv_func_isnanl_use=yes
31629 else
31630 glibcxx_cv_func_isnanl_use=no
31631 fi
31632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31633 ac_ext=c
31634 ac_cpp='$CPP $CPPFLAGS'
31635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31638
31639
31640 fi
31641
31642 fi
31643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31644 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31645
31646 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31647 for ac_func in isnanl
31648 do :
31649 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31650 if test "x$ac_cv_func_isnanl" = x""yes; then :
31651 cat >>confdefs.h <<_ACEOF
31652 #define HAVE_ISNANL 1
31653 _ACEOF
31654
31655 fi
31656 done
31657
31658 else
31659
31660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31661 $as_echo_n "checking for _isnanl declaration... " >&6; }
31662 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31663 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31664 $as_echo_n "(cached) " >&6
31665 else
31666
31667
31668 ac_ext=cpp
31669 ac_cpp='$CXXCPP $CPPFLAGS'
31670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31673
31674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31675 /* end confdefs.h. */
31676 #include <math.h>
31677 #ifdef HAVE_IEEEFP_H
31678 #include <ieeefp.h>
31679 #endif
31680
31681 int
31682 main ()
31683 {
31684 _isnanl(0);
31685 ;
31686 return 0;
31687 }
31688 _ACEOF
31689 if ac_fn_cxx_try_compile "$LINENO"; then :
31690 glibcxx_cv_func__isnanl_use=yes
31691 else
31692 glibcxx_cv_func__isnanl_use=no
31693 fi
31694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31695 ac_ext=c
31696 ac_cpp='$CPP $CPPFLAGS'
31697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31700
31701
31702 fi
31703
31704 fi
31705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31706 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31707
31708 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31709 for ac_func in _isnanl
31710 do :
31711 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31712 if test "x$ac_cv_func__isnanl" = x""yes; then :
31713 cat >>confdefs.h <<_ACEOF
31714 #define HAVE__ISNANL 1
31715 _ACEOF
31716
31717 fi
31718 done
31719
31720 fi
31721 fi
31722
31723
31724
31725
31726
31727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31728 $as_echo_n "checking for isinfl declaration... " >&6; }
31729 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31730 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31731 $as_echo_n "(cached) " >&6
31732 else
31733
31734
31735 ac_ext=cpp
31736 ac_cpp='$CXXCPP $CPPFLAGS'
31737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31740
31741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31742 /* end confdefs.h. */
31743 #include <math.h>
31744 #ifdef HAVE_IEEEFP_H
31745 #include <ieeefp.h>
31746 #endif
31747
31748 int
31749 main ()
31750 {
31751 isinfl(0);
31752 ;
31753 return 0;
31754 }
31755 _ACEOF
31756 if ac_fn_cxx_try_compile "$LINENO"; then :
31757 glibcxx_cv_func_isinfl_use=yes
31758 else
31759 glibcxx_cv_func_isinfl_use=no
31760 fi
31761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31762 ac_ext=c
31763 ac_cpp='$CPP $CPPFLAGS'
31764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31767
31768
31769 fi
31770
31771 fi
31772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31773 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31774
31775 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31776 for ac_func in isinfl
31777 do :
31778 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31779 if test "x$ac_cv_func_isinfl" = x""yes; then :
31780 cat >>confdefs.h <<_ACEOF
31781 #define HAVE_ISINFL 1
31782 _ACEOF
31783
31784 fi
31785 done
31786
31787 else
31788
31789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31790 $as_echo_n "checking for _isinfl declaration... " >&6; }
31791 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31792 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31793 $as_echo_n "(cached) " >&6
31794 else
31795
31796
31797 ac_ext=cpp
31798 ac_cpp='$CXXCPP $CPPFLAGS'
31799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31802
31803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31804 /* end confdefs.h. */
31805 #include <math.h>
31806 #ifdef HAVE_IEEEFP_H
31807 #include <ieeefp.h>
31808 #endif
31809
31810 int
31811 main ()
31812 {
31813 _isinfl(0);
31814 ;
31815 return 0;
31816 }
31817 _ACEOF
31818 if ac_fn_cxx_try_compile "$LINENO"; then :
31819 glibcxx_cv_func__isinfl_use=yes
31820 else
31821 glibcxx_cv_func__isinfl_use=no
31822 fi
31823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31824 ac_ext=c
31825 ac_cpp='$CPP $CPPFLAGS'
31826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31829
31830
31831 fi
31832
31833 fi
31834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31835 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31836
31837 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31838 for ac_func in _isinfl
31839 do :
31840 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31841 if test "x$ac_cv_func__isinfl" = x""yes; then :
31842 cat >>confdefs.h <<_ACEOF
31843 #define HAVE__ISINFL 1
31844 _ACEOF
31845
31846 fi
31847 done
31848
31849 fi
31850 fi
31851
31852
31853
31854
31855
31856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31857 $as_echo_n "checking for atan2l declaration... " >&6; }
31858 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31859 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31860 $as_echo_n "(cached) " >&6
31861 else
31862
31863
31864 ac_ext=cpp
31865 ac_cpp='$CXXCPP $CPPFLAGS'
31866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31869
31870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31871 /* end confdefs.h. */
31872 #include <math.h>
31873 int
31874 main ()
31875 {
31876 atan2l(0, 0);
31877 ;
31878 return 0;
31879 }
31880 _ACEOF
31881 if ac_fn_cxx_try_compile "$LINENO"; then :
31882 glibcxx_cv_func_atan2l_use=yes
31883 else
31884 glibcxx_cv_func_atan2l_use=no
31885 fi
31886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31887 ac_ext=c
31888 ac_cpp='$CPP $CPPFLAGS'
31889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31892
31893
31894 fi
31895
31896 fi
31897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31898 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31899
31900 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31901 for ac_func in atan2l
31902 do :
31903 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31904 if test "x$ac_cv_func_atan2l" = x""yes; then :
31905 cat >>confdefs.h <<_ACEOF
31906 #define HAVE_ATAN2L 1
31907 _ACEOF
31908
31909 fi
31910 done
31911
31912 else
31913
31914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31915 $as_echo_n "checking for _atan2l declaration... " >&6; }
31916 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31917 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31918 $as_echo_n "(cached) " >&6
31919 else
31920
31921
31922 ac_ext=cpp
31923 ac_cpp='$CXXCPP $CPPFLAGS'
31924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31927
31928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31929 /* end confdefs.h. */
31930 #include <math.h>
31931 int
31932 main ()
31933 {
31934 _atan2l(0, 0);
31935 ;
31936 return 0;
31937 }
31938 _ACEOF
31939 if ac_fn_cxx_try_compile "$LINENO"; then :
31940 glibcxx_cv_func__atan2l_use=yes
31941 else
31942 glibcxx_cv_func__atan2l_use=no
31943 fi
31944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31945 ac_ext=c
31946 ac_cpp='$CPP $CPPFLAGS'
31947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31950
31951
31952 fi
31953
31954 fi
31955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31956 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31957
31958 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31959 for ac_func in _atan2l
31960 do :
31961 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31962 if test "x$ac_cv_func__atan2l" = x""yes; then :
31963 cat >>confdefs.h <<_ACEOF
31964 #define HAVE__ATAN2L 1
31965 _ACEOF
31966
31967 fi
31968 done
31969
31970 fi
31971 fi
31972
31973
31974
31975
31976
31977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31978 $as_echo_n "checking for expl declaration... " >&6; }
31979 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31980 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31981 $as_echo_n "(cached) " >&6
31982 else
31983
31984
31985 ac_ext=cpp
31986 ac_cpp='$CXXCPP $CPPFLAGS'
31987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31990
31991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31992 /* end confdefs.h. */
31993 #include <math.h>
31994 #ifdef HAVE_IEEEFP_H
31995 #include <ieeefp.h>
31996 #endif
31997
31998 int
31999 main ()
32000 {
32001 expl(0);
32002 ;
32003 return 0;
32004 }
32005 _ACEOF
32006 if ac_fn_cxx_try_compile "$LINENO"; then :
32007 glibcxx_cv_func_expl_use=yes
32008 else
32009 glibcxx_cv_func_expl_use=no
32010 fi
32011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32012 ac_ext=c
32013 ac_cpp='$CPP $CPPFLAGS'
32014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32017
32018
32019 fi
32020
32021 fi
32022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32023 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32024
32025 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32026 for ac_func in expl
32027 do :
32028 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32029 if test "x$ac_cv_func_expl" = x""yes; then :
32030 cat >>confdefs.h <<_ACEOF
32031 #define HAVE_EXPL 1
32032 _ACEOF
32033
32034 fi
32035 done
32036
32037 else
32038
32039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32040 $as_echo_n "checking for _expl declaration... " >&6; }
32041 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32042 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32043 $as_echo_n "(cached) " >&6
32044 else
32045
32046
32047 ac_ext=cpp
32048 ac_cpp='$CXXCPP $CPPFLAGS'
32049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32052
32053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32054 /* end confdefs.h. */
32055 #include <math.h>
32056 #ifdef HAVE_IEEEFP_H
32057 #include <ieeefp.h>
32058 #endif
32059
32060 int
32061 main ()
32062 {
32063 _expl(0);
32064 ;
32065 return 0;
32066 }
32067 _ACEOF
32068 if ac_fn_cxx_try_compile "$LINENO"; then :
32069 glibcxx_cv_func__expl_use=yes
32070 else
32071 glibcxx_cv_func__expl_use=no
32072 fi
32073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32074 ac_ext=c
32075 ac_cpp='$CPP $CPPFLAGS'
32076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32079
32080
32081 fi
32082
32083 fi
32084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32085 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32086
32087 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32088 for ac_func in _expl
32089 do :
32090 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32091 if test "x$ac_cv_func__expl" = x""yes; then :
32092 cat >>confdefs.h <<_ACEOF
32093 #define HAVE__EXPL 1
32094 _ACEOF
32095
32096 fi
32097 done
32098
32099 fi
32100 fi
32101
32102
32103
32104
32105
32106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32107 $as_echo_n "checking for fabsl declaration... " >&6; }
32108 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32109 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32110 $as_echo_n "(cached) " >&6
32111 else
32112
32113
32114 ac_ext=cpp
32115 ac_cpp='$CXXCPP $CPPFLAGS'
32116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32119
32120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32121 /* end confdefs.h. */
32122 #include <math.h>
32123 #ifdef HAVE_IEEEFP_H
32124 #include <ieeefp.h>
32125 #endif
32126
32127 int
32128 main ()
32129 {
32130 fabsl(0);
32131 ;
32132 return 0;
32133 }
32134 _ACEOF
32135 if ac_fn_cxx_try_compile "$LINENO"; then :
32136 glibcxx_cv_func_fabsl_use=yes
32137 else
32138 glibcxx_cv_func_fabsl_use=no
32139 fi
32140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32141 ac_ext=c
32142 ac_cpp='$CPP $CPPFLAGS'
32143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32146
32147
32148 fi
32149
32150 fi
32151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32152 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32153
32154 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32155 for ac_func in fabsl
32156 do :
32157 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32158 if test "x$ac_cv_func_fabsl" = x""yes; then :
32159 cat >>confdefs.h <<_ACEOF
32160 #define HAVE_FABSL 1
32161 _ACEOF
32162
32163 fi
32164 done
32165
32166 else
32167
32168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32169 $as_echo_n "checking for _fabsl declaration... " >&6; }
32170 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32171 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32172 $as_echo_n "(cached) " >&6
32173 else
32174
32175
32176 ac_ext=cpp
32177 ac_cpp='$CXXCPP $CPPFLAGS'
32178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32181
32182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32183 /* end confdefs.h. */
32184 #include <math.h>
32185 #ifdef HAVE_IEEEFP_H
32186 #include <ieeefp.h>
32187 #endif
32188
32189 int
32190 main ()
32191 {
32192 _fabsl(0);
32193 ;
32194 return 0;
32195 }
32196 _ACEOF
32197 if ac_fn_cxx_try_compile "$LINENO"; then :
32198 glibcxx_cv_func__fabsl_use=yes
32199 else
32200 glibcxx_cv_func__fabsl_use=no
32201 fi
32202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32203 ac_ext=c
32204 ac_cpp='$CPP $CPPFLAGS'
32205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32208
32209
32210 fi
32211
32212 fi
32213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32214 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32215
32216 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32217 for ac_func in _fabsl
32218 do :
32219 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32220 if test "x$ac_cv_func__fabsl" = x""yes; then :
32221 cat >>confdefs.h <<_ACEOF
32222 #define HAVE__FABSL 1
32223 _ACEOF
32224
32225 fi
32226 done
32227
32228 fi
32229 fi
32230
32231
32232
32233
32234
32235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32236 $as_echo_n "checking for fmodl declaration... " >&6; }
32237 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32238 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32239 $as_echo_n "(cached) " >&6
32240 else
32241
32242
32243 ac_ext=cpp
32244 ac_cpp='$CXXCPP $CPPFLAGS'
32245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32248
32249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32250 /* end confdefs.h. */
32251 #include <math.h>
32252 int
32253 main ()
32254 {
32255 fmodl(0, 0);
32256 ;
32257 return 0;
32258 }
32259 _ACEOF
32260 if ac_fn_cxx_try_compile "$LINENO"; then :
32261 glibcxx_cv_func_fmodl_use=yes
32262 else
32263 glibcxx_cv_func_fmodl_use=no
32264 fi
32265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32266 ac_ext=c
32267 ac_cpp='$CPP $CPPFLAGS'
32268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32271
32272
32273 fi
32274
32275 fi
32276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32277 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32278
32279 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32280 for ac_func in fmodl
32281 do :
32282 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32283 if test "x$ac_cv_func_fmodl" = x""yes; then :
32284 cat >>confdefs.h <<_ACEOF
32285 #define HAVE_FMODL 1
32286 _ACEOF
32287
32288 fi
32289 done
32290
32291 else
32292
32293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32294 $as_echo_n "checking for _fmodl declaration... " >&6; }
32295 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32296 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32297 $as_echo_n "(cached) " >&6
32298 else
32299
32300
32301 ac_ext=cpp
32302 ac_cpp='$CXXCPP $CPPFLAGS'
32303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32306
32307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32308 /* end confdefs.h. */
32309 #include <math.h>
32310 int
32311 main ()
32312 {
32313 _fmodl(0, 0);
32314 ;
32315 return 0;
32316 }
32317 _ACEOF
32318 if ac_fn_cxx_try_compile "$LINENO"; then :
32319 glibcxx_cv_func__fmodl_use=yes
32320 else
32321 glibcxx_cv_func__fmodl_use=no
32322 fi
32323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32324 ac_ext=c
32325 ac_cpp='$CPP $CPPFLAGS'
32326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32329
32330
32331 fi
32332
32333 fi
32334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32335 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32336
32337 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32338 for ac_func in _fmodl
32339 do :
32340 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32341 if test "x$ac_cv_func__fmodl" = x""yes; then :
32342 cat >>confdefs.h <<_ACEOF
32343 #define HAVE__FMODL 1
32344 _ACEOF
32345
32346 fi
32347 done
32348
32349 fi
32350 fi
32351
32352
32353
32354
32355
32356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32357 $as_echo_n "checking for frexpl declaration... " >&6; }
32358 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32359 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32360 $as_echo_n "(cached) " >&6
32361 else
32362
32363
32364 ac_ext=cpp
32365 ac_cpp='$CXXCPP $CPPFLAGS'
32366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32369
32370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32371 /* end confdefs.h. */
32372 #include <math.h>
32373 int
32374 main ()
32375 {
32376 frexpl(0, 0);
32377 ;
32378 return 0;
32379 }
32380 _ACEOF
32381 if ac_fn_cxx_try_compile "$LINENO"; then :
32382 glibcxx_cv_func_frexpl_use=yes
32383 else
32384 glibcxx_cv_func_frexpl_use=no
32385 fi
32386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32387 ac_ext=c
32388 ac_cpp='$CPP $CPPFLAGS'
32389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32392
32393
32394 fi
32395
32396 fi
32397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32398 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32399
32400 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32401 for ac_func in frexpl
32402 do :
32403 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32404 if test "x$ac_cv_func_frexpl" = x""yes; then :
32405 cat >>confdefs.h <<_ACEOF
32406 #define HAVE_FREXPL 1
32407 _ACEOF
32408
32409 fi
32410 done
32411
32412 else
32413
32414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32415 $as_echo_n "checking for _frexpl declaration... " >&6; }
32416 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32417 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32418 $as_echo_n "(cached) " >&6
32419 else
32420
32421
32422 ac_ext=cpp
32423 ac_cpp='$CXXCPP $CPPFLAGS'
32424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32427
32428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32429 /* end confdefs.h. */
32430 #include <math.h>
32431 int
32432 main ()
32433 {
32434 _frexpl(0, 0);
32435 ;
32436 return 0;
32437 }
32438 _ACEOF
32439 if ac_fn_cxx_try_compile "$LINENO"; then :
32440 glibcxx_cv_func__frexpl_use=yes
32441 else
32442 glibcxx_cv_func__frexpl_use=no
32443 fi
32444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32445 ac_ext=c
32446 ac_cpp='$CPP $CPPFLAGS'
32447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32450
32451
32452 fi
32453
32454 fi
32455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32456 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32457
32458 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32459 for ac_func in _frexpl
32460 do :
32461 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32462 if test "x$ac_cv_func__frexpl" = x""yes; then :
32463 cat >>confdefs.h <<_ACEOF
32464 #define HAVE__FREXPL 1
32465 _ACEOF
32466
32467 fi
32468 done
32469
32470 fi
32471 fi
32472
32473
32474
32475
32476
32477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32478 $as_echo_n "checking for hypotl declaration... " >&6; }
32479 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32480 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32481 $as_echo_n "(cached) " >&6
32482 else
32483
32484
32485 ac_ext=cpp
32486 ac_cpp='$CXXCPP $CPPFLAGS'
32487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32490
32491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32492 /* end confdefs.h. */
32493 #include <math.h>
32494 int
32495 main ()
32496 {
32497 hypotl(0, 0);
32498 ;
32499 return 0;
32500 }
32501 _ACEOF
32502 if ac_fn_cxx_try_compile "$LINENO"; then :
32503 glibcxx_cv_func_hypotl_use=yes
32504 else
32505 glibcxx_cv_func_hypotl_use=no
32506 fi
32507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32508 ac_ext=c
32509 ac_cpp='$CPP $CPPFLAGS'
32510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32513
32514
32515 fi
32516
32517 fi
32518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32519 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32520
32521 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32522 for ac_func in hypotl
32523 do :
32524 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32525 if test "x$ac_cv_func_hypotl" = x""yes; then :
32526 cat >>confdefs.h <<_ACEOF
32527 #define HAVE_HYPOTL 1
32528 _ACEOF
32529
32530 fi
32531 done
32532
32533 else
32534
32535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32536 $as_echo_n "checking for _hypotl declaration... " >&6; }
32537 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32538 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32539 $as_echo_n "(cached) " >&6
32540 else
32541
32542
32543 ac_ext=cpp
32544 ac_cpp='$CXXCPP $CPPFLAGS'
32545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32548
32549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32550 /* end confdefs.h. */
32551 #include <math.h>
32552 int
32553 main ()
32554 {
32555 _hypotl(0, 0);
32556 ;
32557 return 0;
32558 }
32559 _ACEOF
32560 if ac_fn_cxx_try_compile "$LINENO"; then :
32561 glibcxx_cv_func__hypotl_use=yes
32562 else
32563 glibcxx_cv_func__hypotl_use=no
32564 fi
32565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32566 ac_ext=c
32567 ac_cpp='$CPP $CPPFLAGS'
32568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32571
32572
32573 fi
32574
32575 fi
32576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32577 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32578
32579 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32580 for ac_func in _hypotl
32581 do :
32582 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32583 if test "x$ac_cv_func__hypotl" = x""yes; then :
32584 cat >>confdefs.h <<_ACEOF
32585 #define HAVE__HYPOTL 1
32586 _ACEOF
32587
32588 fi
32589 done
32590
32591 fi
32592 fi
32593
32594
32595
32596
32597
32598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32599 $as_echo_n "checking for ldexpl declaration... " >&6; }
32600 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32601 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32602 $as_echo_n "(cached) " >&6
32603 else
32604
32605
32606 ac_ext=cpp
32607 ac_cpp='$CXXCPP $CPPFLAGS'
32608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32611
32612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32613 /* end confdefs.h. */
32614 #include <math.h>
32615 int
32616 main ()
32617 {
32618 ldexpl(0, 0);
32619 ;
32620 return 0;
32621 }
32622 _ACEOF
32623 if ac_fn_cxx_try_compile "$LINENO"; then :
32624 glibcxx_cv_func_ldexpl_use=yes
32625 else
32626 glibcxx_cv_func_ldexpl_use=no
32627 fi
32628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32629 ac_ext=c
32630 ac_cpp='$CPP $CPPFLAGS'
32631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32634
32635
32636 fi
32637
32638 fi
32639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32640 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32641
32642 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32643 for ac_func in ldexpl
32644 do :
32645 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32646 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32647 cat >>confdefs.h <<_ACEOF
32648 #define HAVE_LDEXPL 1
32649 _ACEOF
32650
32651 fi
32652 done
32653
32654 else
32655
32656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32657 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32658 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32659 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32660 $as_echo_n "(cached) " >&6
32661 else
32662
32663
32664 ac_ext=cpp
32665 ac_cpp='$CXXCPP $CPPFLAGS'
32666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32669
32670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32671 /* end confdefs.h. */
32672 #include <math.h>
32673 int
32674 main ()
32675 {
32676 _ldexpl(0, 0);
32677 ;
32678 return 0;
32679 }
32680 _ACEOF
32681 if ac_fn_cxx_try_compile "$LINENO"; then :
32682 glibcxx_cv_func__ldexpl_use=yes
32683 else
32684 glibcxx_cv_func__ldexpl_use=no
32685 fi
32686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32687 ac_ext=c
32688 ac_cpp='$CPP $CPPFLAGS'
32689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32692
32693
32694 fi
32695
32696 fi
32697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32698 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32699
32700 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32701 for ac_func in _ldexpl
32702 do :
32703 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32704 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32705 cat >>confdefs.h <<_ACEOF
32706 #define HAVE__LDEXPL 1
32707 _ACEOF
32708
32709 fi
32710 done
32711
32712 fi
32713 fi
32714
32715
32716
32717
32718
32719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32720 $as_echo_n "checking for logl declaration... " >&6; }
32721 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32722 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32723 $as_echo_n "(cached) " >&6
32724 else
32725
32726
32727 ac_ext=cpp
32728 ac_cpp='$CXXCPP $CPPFLAGS'
32729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32732
32733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32734 /* end confdefs.h. */
32735 #include <math.h>
32736 #ifdef HAVE_IEEEFP_H
32737 #include <ieeefp.h>
32738 #endif
32739
32740 int
32741 main ()
32742 {
32743 logl(0);
32744 ;
32745 return 0;
32746 }
32747 _ACEOF
32748 if ac_fn_cxx_try_compile "$LINENO"; then :
32749 glibcxx_cv_func_logl_use=yes
32750 else
32751 glibcxx_cv_func_logl_use=no
32752 fi
32753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32754 ac_ext=c
32755 ac_cpp='$CPP $CPPFLAGS'
32756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32759
32760
32761 fi
32762
32763 fi
32764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32765 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32766
32767 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32768 for ac_func in logl
32769 do :
32770 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32771 if test "x$ac_cv_func_logl" = x""yes; then :
32772 cat >>confdefs.h <<_ACEOF
32773 #define HAVE_LOGL 1
32774 _ACEOF
32775
32776 fi
32777 done
32778
32779 else
32780
32781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32782 $as_echo_n "checking for _logl declaration... " >&6; }
32783 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32784 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32785 $as_echo_n "(cached) " >&6
32786 else
32787
32788
32789 ac_ext=cpp
32790 ac_cpp='$CXXCPP $CPPFLAGS'
32791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32794
32795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32796 /* end confdefs.h. */
32797 #include <math.h>
32798 #ifdef HAVE_IEEEFP_H
32799 #include <ieeefp.h>
32800 #endif
32801
32802 int
32803 main ()
32804 {
32805 _logl(0);
32806 ;
32807 return 0;
32808 }
32809 _ACEOF
32810 if ac_fn_cxx_try_compile "$LINENO"; then :
32811 glibcxx_cv_func__logl_use=yes
32812 else
32813 glibcxx_cv_func__logl_use=no
32814 fi
32815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32816 ac_ext=c
32817 ac_cpp='$CPP $CPPFLAGS'
32818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32821
32822
32823 fi
32824
32825 fi
32826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32827 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32828
32829 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32830 for ac_func in _logl
32831 do :
32832 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32833 if test "x$ac_cv_func__logl" = x""yes; then :
32834 cat >>confdefs.h <<_ACEOF
32835 #define HAVE__LOGL 1
32836 _ACEOF
32837
32838 fi
32839 done
32840
32841 fi
32842 fi
32843
32844
32845
32846
32847
32848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32849 $as_echo_n "checking for log10l declaration... " >&6; }
32850 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32851 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32852 $as_echo_n "(cached) " >&6
32853 else
32854
32855
32856 ac_ext=cpp
32857 ac_cpp='$CXXCPP $CPPFLAGS'
32858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32861
32862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32863 /* end confdefs.h. */
32864 #include <math.h>
32865 #ifdef HAVE_IEEEFP_H
32866 #include <ieeefp.h>
32867 #endif
32868
32869 int
32870 main ()
32871 {
32872 log10l(0);
32873 ;
32874 return 0;
32875 }
32876 _ACEOF
32877 if ac_fn_cxx_try_compile "$LINENO"; then :
32878 glibcxx_cv_func_log10l_use=yes
32879 else
32880 glibcxx_cv_func_log10l_use=no
32881 fi
32882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32883 ac_ext=c
32884 ac_cpp='$CPP $CPPFLAGS'
32885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32888
32889
32890 fi
32891
32892 fi
32893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32894 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32895
32896 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32897 for ac_func in log10l
32898 do :
32899 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32900 if test "x$ac_cv_func_log10l" = x""yes; then :
32901 cat >>confdefs.h <<_ACEOF
32902 #define HAVE_LOG10L 1
32903 _ACEOF
32904
32905 fi
32906 done
32907
32908 else
32909
32910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32911 $as_echo_n "checking for _log10l declaration... " >&6; }
32912 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32913 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32914 $as_echo_n "(cached) " >&6
32915 else
32916
32917
32918 ac_ext=cpp
32919 ac_cpp='$CXXCPP $CPPFLAGS'
32920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32923
32924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32925 /* end confdefs.h. */
32926 #include <math.h>
32927 #ifdef HAVE_IEEEFP_H
32928 #include <ieeefp.h>
32929 #endif
32930
32931 int
32932 main ()
32933 {
32934 _log10l(0);
32935 ;
32936 return 0;
32937 }
32938 _ACEOF
32939 if ac_fn_cxx_try_compile "$LINENO"; then :
32940 glibcxx_cv_func__log10l_use=yes
32941 else
32942 glibcxx_cv_func__log10l_use=no
32943 fi
32944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32945 ac_ext=c
32946 ac_cpp='$CPP $CPPFLAGS'
32947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32950
32951
32952 fi
32953
32954 fi
32955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32956 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32957
32958 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32959 for ac_func in _log10l
32960 do :
32961 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32962 if test "x$ac_cv_func__log10l" = x""yes; then :
32963 cat >>confdefs.h <<_ACEOF
32964 #define HAVE__LOG10L 1
32965 _ACEOF
32966
32967 fi
32968 done
32969
32970 fi
32971 fi
32972
32973
32974
32975
32976
32977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32978 $as_echo_n "checking for modfl declaration... " >&6; }
32979 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32980 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32981 $as_echo_n "(cached) " >&6
32982 else
32983
32984
32985 ac_ext=cpp
32986 ac_cpp='$CXXCPP $CPPFLAGS'
32987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32990
32991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32992 /* end confdefs.h. */
32993 #include <math.h>
32994 int
32995 main ()
32996 {
32997 modfl(0, 0);
32998 ;
32999 return 0;
33000 }
33001 _ACEOF
33002 if ac_fn_cxx_try_compile "$LINENO"; then :
33003 glibcxx_cv_func_modfl_use=yes
33004 else
33005 glibcxx_cv_func_modfl_use=no
33006 fi
33007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33008 ac_ext=c
33009 ac_cpp='$CPP $CPPFLAGS'
33010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33013
33014
33015 fi
33016
33017 fi
33018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33019 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33020
33021 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33022 for ac_func in modfl
33023 do :
33024 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33025 if test "x$ac_cv_func_modfl" = x""yes; then :
33026 cat >>confdefs.h <<_ACEOF
33027 #define HAVE_MODFL 1
33028 _ACEOF
33029
33030 fi
33031 done
33032
33033 else
33034
33035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33036 $as_echo_n "checking for _modfl declaration... " >&6; }
33037 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33038 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33039 $as_echo_n "(cached) " >&6
33040 else
33041
33042
33043 ac_ext=cpp
33044 ac_cpp='$CXXCPP $CPPFLAGS'
33045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33048
33049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33050 /* end confdefs.h. */
33051 #include <math.h>
33052 int
33053 main ()
33054 {
33055 _modfl(0, 0);
33056 ;
33057 return 0;
33058 }
33059 _ACEOF
33060 if ac_fn_cxx_try_compile "$LINENO"; then :
33061 glibcxx_cv_func__modfl_use=yes
33062 else
33063 glibcxx_cv_func__modfl_use=no
33064 fi
33065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33066 ac_ext=c
33067 ac_cpp='$CPP $CPPFLAGS'
33068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33071
33072
33073 fi
33074
33075 fi
33076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33077 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33078
33079 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33080 for ac_func in _modfl
33081 do :
33082 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33083 if test "x$ac_cv_func__modfl" = x""yes; then :
33084 cat >>confdefs.h <<_ACEOF
33085 #define HAVE__MODFL 1
33086 _ACEOF
33087
33088 fi
33089 done
33090
33091 fi
33092 fi
33093
33094
33095
33096
33097
33098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33099 $as_echo_n "checking for powl declaration... " >&6; }
33100 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33101 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33102 $as_echo_n "(cached) " >&6
33103 else
33104
33105
33106 ac_ext=cpp
33107 ac_cpp='$CXXCPP $CPPFLAGS'
33108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33111
33112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33113 /* end confdefs.h. */
33114 #include <math.h>
33115 int
33116 main ()
33117 {
33118 powl(0, 0);
33119 ;
33120 return 0;
33121 }
33122 _ACEOF
33123 if ac_fn_cxx_try_compile "$LINENO"; then :
33124 glibcxx_cv_func_powl_use=yes
33125 else
33126 glibcxx_cv_func_powl_use=no
33127 fi
33128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33129 ac_ext=c
33130 ac_cpp='$CPP $CPPFLAGS'
33131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33134
33135
33136 fi
33137
33138 fi
33139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33140 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33141
33142 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33143 for ac_func in powl
33144 do :
33145 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33146 if test "x$ac_cv_func_powl" = x""yes; then :
33147 cat >>confdefs.h <<_ACEOF
33148 #define HAVE_POWL 1
33149 _ACEOF
33150
33151 fi
33152 done
33153
33154 else
33155
33156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33157 $as_echo_n "checking for _powl declaration... " >&6; }
33158 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33159 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33160 $as_echo_n "(cached) " >&6
33161 else
33162
33163
33164 ac_ext=cpp
33165 ac_cpp='$CXXCPP $CPPFLAGS'
33166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33169
33170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33171 /* end confdefs.h. */
33172 #include <math.h>
33173 int
33174 main ()
33175 {
33176 _powl(0, 0);
33177 ;
33178 return 0;
33179 }
33180 _ACEOF
33181 if ac_fn_cxx_try_compile "$LINENO"; then :
33182 glibcxx_cv_func__powl_use=yes
33183 else
33184 glibcxx_cv_func__powl_use=no
33185 fi
33186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33187 ac_ext=c
33188 ac_cpp='$CPP $CPPFLAGS'
33189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33192
33193
33194 fi
33195
33196 fi
33197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33198 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33199
33200 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33201 for ac_func in _powl
33202 do :
33203 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33204 if test "x$ac_cv_func__powl" = x""yes; then :
33205 cat >>confdefs.h <<_ACEOF
33206 #define HAVE__POWL 1
33207 _ACEOF
33208
33209 fi
33210 done
33211
33212 fi
33213 fi
33214
33215
33216
33217
33218
33219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33220 $as_echo_n "checking for sqrtl declaration... " >&6; }
33221 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33222 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33223 $as_echo_n "(cached) " >&6
33224 else
33225
33226
33227 ac_ext=cpp
33228 ac_cpp='$CXXCPP $CPPFLAGS'
33229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33232
33233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33234 /* end confdefs.h. */
33235 #include <math.h>
33236 #ifdef HAVE_IEEEFP_H
33237 #include <ieeefp.h>
33238 #endif
33239
33240 int
33241 main ()
33242 {
33243 sqrtl(0);
33244 ;
33245 return 0;
33246 }
33247 _ACEOF
33248 if ac_fn_cxx_try_compile "$LINENO"; then :
33249 glibcxx_cv_func_sqrtl_use=yes
33250 else
33251 glibcxx_cv_func_sqrtl_use=no
33252 fi
33253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33254 ac_ext=c
33255 ac_cpp='$CPP $CPPFLAGS'
33256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33259
33260
33261 fi
33262
33263 fi
33264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33265 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33266
33267 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33268 for ac_func in sqrtl
33269 do :
33270 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33271 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33272 cat >>confdefs.h <<_ACEOF
33273 #define HAVE_SQRTL 1
33274 _ACEOF
33275
33276 fi
33277 done
33278
33279 else
33280
33281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33282 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33283 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33284 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33285 $as_echo_n "(cached) " >&6
33286 else
33287
33288
33289 ac_ext=cpp
33290 ac_cpp='$CXXCPP $CPPFLAGS'
33291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33294
33295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33296 /* end confdefs.h. */
33297 #include <math.h>
33298 #ifdef HAVE_IEEEFP_H
33299 #include <ieeefp.h>
33300 #endif
33301
33302 int
33303 main ()
33304 {
33305 _sqrtl(0);
33306 ;
33307 return 0;
33308 }
33309 _ACEOF
33310 if ac_fn_cxx_try_compile "$LINENO"; then :
33311 glibcxx_cv_func__sqrtl_use=yes
33312 else
33313 glibcxx_cv_func__sqrtl_use=no
33314 fi
33315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33316 ac_ext=c
33317 ac_cpp='$CPP $CPPFLAGS'
33318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33321
33322
33323 fi
33324
33325 fi
33326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33327 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33328
33329 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33330 for ac_func in _sqrtl
33331 do :
33332 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33333 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33334 cat >>confdefs.h <<_ACEOF
33335 #define HAVE__SQRTL 1
33336 _ACEOF
33337
33338 fi
33339 done
33340
33341 fi
33342 fi
33343
33344
33345
33346
33347
33348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33349 $as_echo_n "checking for sincosl declaration... " >&6; }
33350 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33351 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33352 $as_echo_n "(cached) " >&6
33353 else
33354
33355
33356 ac_ext=cpp
33357 ac_cpp='$CXXCPP $CPPFLAGS'
33358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33361
33362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33363 /* end confdefs.h. */
33364 #include <math.h>
33365 int
33366 main ()
33367 {
33368 sincosl(0, 0, 0);
33369 ;
33370 return 0;
33371 }
33372 _ACEOF
33373 if ac_fn_cxx_try_compile "$LINENO"; then :
33374 glibcxx_cv_func_sincosl_use=yes
33375 else
33376 glibcxx_cv_func_sincosl_use=no
33377 fi
33378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33379 ac_ext=c
33380 ac_cpp='$CPP $CPPFLAGS'
33381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33384
33385
33386 fi
33387
33388 fi
33389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33390 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33391
33392 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33393 for ac_func in sincosl
33394 do :
33395 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33396 if test "x$ac_cv_func_sincosl" = x""yes; then :
33397 cat >>confdefs.h <<_ACEOF
33398 #define HAVE_SINCOSL 1
33399 _ACEOF
33400
33401 fi
33402 done
33403
33404 else
33405
33406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33407 $as_echo_n "checking for _sincosl declaration... " >&6; }
33408 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33409 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33410 $as_echo_n "(cached) " >&6
33411 else
33412
33413
33414 ac_ext=cpp
33415 ac_cpp='$CXXCPP $CPPFLAGS'
33416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33419
33420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33421 /* end confdefs.h. */
33422 #include <math.h>
33423 int
33424 main ()
33425 {
33426 _sincosl(0, 0, 0);
33427 ;
33428 return 0;
33429 }
33430 _ACEOF
33431 if ac_fn_cxx_try_compile "$LINENO"; then :
33432 glibcxx_cv_func__sincosl_use=yes
33433 else
33434 glibcxx_cv_func__sincosl_use=no
33435 fi
33436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33437 ac_ext=c
33438 ac_cpp='$CPP $CPPFLAGS'
33439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33442
33443
33444 fi
33445
33446 fi
33447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33448 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33449
33450 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33451 for ac_func in _sincosl
33452 do :
33453 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33454 if test "x$ac_cv_func__sincosl" = x""yes; then :
33455 cat >>confdefs.h <<_ACEOF
33456 #define HAVE__SINCOSL 1
33457 _ACEOF
33458
33459 fi
33460 done
33461
33462 fi
33463 fi
33464
33465
33466
33467
33468
33469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33470 $as_echo_n "checking for finitel declaration... " >&6; }
33471 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33472 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33473 $as_echo_n "(cached) " >&6
33474 else
33475
33476
33477 ac_ext=cpp
33478 ac_cpp='$CXXCPP $CPPFLAGS'
33479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33482
33483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33484 /* end confdefs.h. */
33485 #include <math.h>
33486 #ifdef HAVE_IEEEFP_H
33487 #include <ieeefp.h>
33488 #endif
33489
33490 int
33491 main ()
33492 {
33493 finitel(0);
33494 ;
33495 return 0;
33496 }
33497 _ACEOF
33498 if ac_fn_cxx_try_compile "$LINENO"; then :
33499 glibcxx_cv_func_finitel_use=yes
33500 else
33501 glibcxx_cv_func_finitel_use=no
33502 fi
33503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33504 ac_ext=c
33505 ac_cpp='$CPP $CPPFLAGS'
33506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33509
33510
33511 fi
33512
33513 fi
33514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33515 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33516
33517 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33518 for ac_func in finitel
33519 do :
33520 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33521 if test "x$ac_cv_func_finitel" = x""yes; then :
33522 cat >>confdefs.h <<_ACEOF
33523 #define HAVE_FINITEL 1
33524 _ACEOF
33525
33526 fi
33527 done
33528
33529 else
33530
33531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33532 $as_echo_n "checking for _finitel declaration... " >&6; }
33533 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33534 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33535 $as_echo_n "(cached) " >&6
33536 else
33537
33538
33539 ac_ext=cpp
33540 ac_cpp='$CXXCPP $CPPFLAGS'
33541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33544
33545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33546 /* end confdefs.h. */
33547 #include <math.h>
33548 #ifdef HAVE_IEEEFP_H
33549 #include <ieeefp.h>
33550 #endif
33551
33552 int
33553 main ()
33554 {
33555 _finitel(0);
33556 ;
33557 return 0;
33558 }
33559 _ACEOF
33560 if ac_fn_cxx_try_compile "$LINENO"; then :
33561 glibcxx_cv_func__finitel_use=yes
33562 else
33563 glibcxx_cv_func__finitel_use=no
33564 fi
33565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33566 ac_ext=c
33567 ac_cpp='$CPP $CPPFLAGS'
33568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33571
33572
33573 fi
33574
33575 fi
33576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33577 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33578
33579 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33580 for ac_func in _finitel
33581 do :
33582 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33583 if test "x$ac_cv_func__finitel" = x""yes; then :
33584 cat >>confdefs.h <<_ACEOF
33585 #define HAVE__FINITEL 1
33586 _ACEOF
33587
33588 fi
33589 done
33590
33591 fi
33592 fi
33593
33594
33595
33596
33597 LIBS="$ac_save_LIBS"
33598 CXXFLAGS="$ac_save_CXXFLAGS"
33599
33600
33601 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33602 ac_save_CXXFLAGS="$CXXFLAGS"
33603 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33604
33605
33606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33607 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33608 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33609 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33610 $as_echo_n "(cached) " >&6
33611 else
33612
33613
33614 ac_ext=cpp
33615 ac_cpp='$CXXCPP $CPPFLAGS'
33616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33619
33620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33621 /* end confdefs.h. */
33622 #include <stdlib.h>
33623 int
33624 main ()
33625 {
33626 at_quick_exit(0);
33627 ;
33628 return 0;
33629 }
33630 _ACEOF
33631 if ac_fn_cxx_try_compile "$LINENO"; then :
33632 glibcxx_cv_func_at_quick_exit_use=yes
33633 else
33634 glibcxx_cv_func_at_quick_exit_use=no
33635 fi
33636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33637 ac_ext=c
33638 ac_cpp='$CPP $CPPFLAGS'
33639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33642
33643
33644 fi
33645
33646 fi
33647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33648 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33649 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33650 for ac_func in at_quick_exit
33651 do :
33652 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33653 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33654 cat >>confdefs.h <<_ACEOF
33655 #define HAVE_AT_QUICK_EXIT 1
33656 _ACEOF
33657
33658 fi
33659 done
33660
33661 fi
33662
33663
33664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33665 $as_echo_n "checking for quick_exit declaration... " >&6; }
33666 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33667 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33668 $as_echo_n "(cached) " >&6
33669 else
33670
33671
33672 ac_ext=cpp
33673 ac_cpp='$CXXCPP $CPPFLAGS'
33674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33677
33678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33679 /* end confdefs.h. */
33680 #include <stdlib.h>
33681 int
33682 main ()
33683 {
33684 quick_exit(0);
33685 ;
33686 return 0;
33687 }
33688 _ACEOF
33689 if ac_fn_cxx_try_compile "$LINENO"; then :
33690 glibcxx_cv_func_quick_exit_use=yes
33691 else
33692 glibcxx_cv_func_quick_exit_use=no
33693 fi
33694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33695 ac_ext=c
33696 ac_cpp='$CPP $CPPFLAGS'
33697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33700
33701
33702 fi
33703
33704 fi
33705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33706 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33707 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33708 for ac_func in quick_exit
33709 do :
33710 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33711 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33712 cat >>confdefs.h <<_ACEOF
33713 #define HAVE_QUICK_EXIT 1
33714 _ACEOF
33715
33716 fi
33717 done
33718
33719 fi
33720
33721
33722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33723 $as_echo_n "checking for strtold declaration... " >&6; }
33724 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33725 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33726 $as_echo_n "(cached) " >&6
33727 else
33728
33729
33730 ac_ext=cpp
33731 ac_cpp='$CXXCPP $CPPFLAGS'
33732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33735
33736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33737 /* end confdefs.h. */
33738 #include <stdlib.h>
33739 int
33740 main ()
33741 {
33742 strtold(0, 0);
33743 ;
33744 return 0;
33745 }
33746 _ACEOF
33747 if ac_fn_cxx_try_compile "$LINENO"; then :
33748 glibcxx_cv_func_strtold_use=yes
33749 else
33750 glibcxx_cv_func_strtold_use=no
33751 fi
33752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33753 ac_ext=c
33754 ac_cpp='$CPP $CPPFLAGS'
33755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33758
33759
33760 fi
33761
33762 fi
33763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33764 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33765 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33766 for ac_func in strtold
33767 do :
33768 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33769 if test "x$ac_cv_func_strtold" = x""yes; then :
33770 cat >>confdefs.h <<_ACEOF
33771 #define HAVE_STRTOLD 1
33772 _ACEOF
33773
33774 fi
33775 done
33776
33777 fi
33778
33779
33780
33781
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33783 $as_echo_n "checking for strtof declaration... " >&6; }
33784 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33785 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33786 $as_echo_n "(cached) " >&6
33787 else
33788
33789
33790 ac_ext=cpp
33791 ac_cpp='$CXXCPP $CPPFLAGS'
33792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33795
33796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33797 /* end confdefs.h. */
33798 #include <stdlib.h>
33799 int
33800 main ()
33801 {
33802 strtof(0, 0);
33803 ;
33804 return 0;
33805 }
33806 _ACEOF
33807 if ac_fn_cxx_try_compile "$LINENO"; then :
33808 glibcxx_cv_func_strtof_use=yes
33809 else
33810 glibcxx_cv_func_strtof_use=no
33811 fi
33812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33813 ac_ext=c
33814 ac_cpp='$CPP $CPPFLAGS'
33815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33818
33819
33820 fi
33821
33822 fi
33823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33824 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33825 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33826 for ac_func in strtof
33827 do :
33828 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33829 if test "x$ac_cv_func_strtof" = x""yes; then :
33830 cat >>confdefs.h <<_ACEOF
33831 #define HAVE_STRTOF 1
33832 _ACEOF
33833
33834 fi
33835 done
33836
33837 fi
33838
33839
33840
33841
33842 CXXFLAGS="$ac_save_CXXFLAGS"
33843
33844
33845 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33846
33847 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33848
33849 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33850
33851 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33852
33853
33854 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33855
33856 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33857
33858 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33859
33860 ;;
33861
33862 spu-*-elf*)
33863
33864 # All these tests are for C++; save the language and the compiler flags.
33865 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33866 # found in GLIBCXX_CONFIGURE.
33867
33868 ac_ext=cpp
33869 ac_cpp='$CXXCPP $CPPFLAGS'
33870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33873
33874 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33875 ac_save_CXXFLAGS="$CXXFLAGS"
33876
33877 # Check for maintainer-mode bits.
33878 if test x"$USE_MAINTAINER_MODE" = xno; then
33879 WERROR=''
33880 else
33881 WERROR='-Werror'
33882 fi
33883
33884 # Check for -ffunction-sections -fdata-sections
33885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33886 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33887 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33889 /* end confdefs.h. */
33890 int foo; void bar() { };
33891 int
33892 main ()
33893 {
33894
33895 ;
33896 return 0;
33897 }
33898 _ACEOF
33899 if ac_fn_cxx_try_compile "$LINENO"; then :
33900 ac_fdsections=yes
33901 else
33902 ac_fdsections=no
33903 fi
33904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33905 if test "$ac_test_CXXFLAGS" = set; then
33906 CXXFLAGS="$ac_save_CXXFLAGS"
33907 else
33908 # this is the suspicious part
33909 CXXFLAGS=''
33910 fi
33911 if test x"$ac_fdsections" = x"yes"; then
33912 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33913 fi
33914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33915 $as_echo "$ac_fdsections" >&6; }
33916
33917 ac_ext=c
33918 ac_cpp='$CPP $CPPFLAGS'
33919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33922
33923
33924
33925
33926
33927 # If we're not using GNU ld, then there's no point in even trying these
33928 # tests. Check for that first. We should have already tested for gld
33929 # by now (in libtool), but require it now just to be safe...
33930 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33931 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33932
33933
33934
33935 # The name set by libtool depends on the version of libtool. Shame on us
33936 # for depending on an impl detail, but c'est la vie. Older versions used
33937 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33938 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33939 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33940 # set (hence we're using an older libtool), then set it.
33941 if test x${with_gnu_ld+set} != xset; then
33942 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33943 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33944 with_gnu_ld=no
33945 else
33946 with_gnu_ld=$ac_cv_prog_gnu_ld
33947 fi
33948 fi
33949
33950 # Start by getting the version number. I think the libtool test already
33951 # does some of this, but throws away the result.
33952 glibcxx_ld_is_gold=no
33953 if test x"$with_gnu_ld" = x"yes"; then
33954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33955 $as_echo_n "checking for ld version... " >&6; }
33956
33957 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33958 glibcxx_ld_is_gold=yes
33959 fi
33960 ldver=`$LD --version 2>/dev/null |
33961 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'`
33962
33963 glibcxx_gnu_ld_version=`echo $ldver | \
33964 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33966 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33967 fi
33968
33969 # Set --gc-sections.
33970 glibcxx_have_gc_sections=no
33971 if test "$glibcxx_ld_is_gold" = "yes"; then
33972 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33973 glibcxx_have_gc_sections=yes
33974 fi
33975 else
33976 glibcxx_gcsections_min_ld=21602
33977 if test x"$with_gnu_ld" = x"yes" &&
33978 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33979 glibcxx_have_gc_sections=yes
33980 fi
33981 fi
33982 if test "$glibcxx_have_gc_sections" = "yes"; then
33983 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33984 # NB: This flag only works reliably after 2.16.1. Configure tests
33985 # for this are difficult, so hard wire a value that should work.
33986
33987 ac_test_CFLAGS="${CFLAGS+set}"
33988 ac_save_CFLAGS="$CFLAGS"
33989 CFLAGS='-Wl,--gc-sections'
33990
33991 # Check for -Wl,--gc-sections
33992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33993 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33994 if test x$gcc_no_link = xyes; then
33995 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33996 fi
33997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33998 /* end confdefs.h. */
33999 int one(void) { return 1; }
34000 int two(void) { return 2; }
34001
34002 int
34003 main ()
34004 {
34005 two();
34006 ;
34007 return 0;
34008 }
34009 _ACEOF
34010 if ac_fn_c_try_link "$LINENO"; then :
34011 ac_gcsections=yes
34012 else
34013 ac_gcsections=no
34014 fi
34015 rm -f core conftest.err conftest.$ac_objext \
34016 conftest$ac_exeext conftest.$ac_ext
34017 if test "$ac_gcsections" = "yes"; then
34018 rm -f conftest.c
34019 touch conftest.c
34020 if $CC -c conftest.c; then
34021 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34022 grep "Warning: gc-sections option ignored" > /dev/null; then
34023 ac_gcsections=no
34024 fi
34025 fi
34026 rm -f conftest.c conftest.o conftest
34027 fi
34028 if test "$ac_gcsections" = "yes"; then
34029 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34030 fi
34031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34032 $as_echo "$ac_gcsections" >&6; }
34033
34034 if test "$ac_test_CFLAGS" = set; then
34035 CFLAGS="$ac_save_CFLAGS"
34036 else
34037 # this is the suspicious part
34038 CFLAGS=''
34039 fi
34040 fi
34041
34042 # Set -z,relro.
34043 # Note this is only for shared objects.
34044 ac_ld_relro=no
34045 if test x"$with_gnu_ld" = x"yes"; then
34046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34047 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34048 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34049 if test -n "$cxx_z_relo"; then
34050 OPT_LDFLAGS="-Wl,-z,relro"
34051 ac_ld_relro=yes
34052 fi
34053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34054 $as_echo "$ac_ld_relro" >&6; }
34055 fi
34056
34057 # Set linker optimization flags.
34058 if test x"$with_gnu_ld" = x"yes"; then
34059 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34060 fi
34061
34062
34063
34064
34065
34066 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34067 ac_save_CXXFLAGS="$CXXFLAGS"
34068 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34069
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34071 $as_echo_n "checking for sin in -lm... " >&6; }
34072 if test "${ac_cv_lib_m_sin+set}" = set; then :
34073 $as_echo_n "(cached) " >&6
34074 else
34075 ac_check_lib_save_LIBS=$LIBS
34076 LIBS="-lm $LIBS"
34077 if test x$gcc_no_link = xyes; then
34078 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34079 fi
34080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34081 /* end confdefs.h. */
34082
34083 /* Override any GCC internal prototype to avoid an error.
34084 Use char because int might match the return type of a GCC
34085 builtin and then its argument prototype would still apply. */
34086 #ifdef __cplusplus
34087 extern "C"
34088 #endif
34089 char sin ();
34090 int
34091 main ()
34092 {
34093 return sin ();
34094 ;
34095 return 0;
34096 }
34097 _ACEOF
34098 if ac_fn_c_try_link "$LINENO"; then :
34099 ac_cv_lib_m_sin=yes
34100 else
34101 ac_cv_lib_m_sin=no
34102 fi
34103 rm -f core conftest.err conftest.$ac_objext \
34104 conftest$ac_exeext conftest.$ac_ext
34105 LIBS=$ac_check_lib_save_LIBS
34106 fi
34107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34108 $as_echo "$ac_cv_lib_m_sin" >&6; }
34109 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34110 libm="-lm"
34111 fi
34112
34113 ac_save_LIBS="$LIBS"
34114 LIBS="$LIBS $libm"
34115
34116
34117
34118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34119 $as_echo_n "checking for isinf declaration... " >&6; }
34120 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34121 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34122 $as_echo_n "(cached) " >&6
34123 else
34124
34125
34126 ac_ext=cpp
34127 ac_cpp='$CXXCPP $CPPFLAGS'
34128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34131
34132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34133 /* end confdefs.h. */
34134 #include <math.h>
34135 #ifdef HAVE_IEEEFP_H
34136 #include <ieeefp.h>
34137 #endif
34138
34139 int
34140 main ()
34141 {
34142 isinf(0);
34143 ;
34144 return 0;
34145 }
34146 _ACEOF
34147 if ac_fn_cxx_try_compile "$LINENO"; then :
34148 glibcxx_cv_func_isinf_use=yes
34149 else
34150 glibcxx_cv_func_isinf_use=no
34151 fi
34152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34153 ac_ext=c
34154 ac_cpp='$CPP $CPPFLAGS'
34155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34158
34159
34160 fi
34161
34162 fi
34163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34164 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34165
34166 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34167 for ac_func in isinf
34168 do :
34169 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34170 if test "x$ac_cv_func_isinf" = x""yes; then :
34171 cat >>confdefs.h <<_ACEOF
34172 #define HAVE_ISINF 1
34173 _ACEOF
34174
34175 fi
34176 done
34177
34178 else
34179
34180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34181 $as_echo_n "checking for _isinf declaration... " >&6; }
34182 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34183 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34184 $as_echo_n "(cached) " >&6
34185 else
34186
34187
34188 ac_ext=cpp
34189 ac_cpp='$CXXCPP $CPPFLAGS'
34190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34193
34194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34195 /* end confdefs.h. */
34196 #include <math.h>
34197 #ifdef HAVE_IEEEFP_H
34198 #include <ieeefp.h>
34199 #endif
34200
34201 int
34202 main ()
34203 {
34204 _isinf(0);
34205 ;
34206 return 0;
34207 }
34208 _ACEOF
34209 if ac_fn_cxx_try_compile "$LINENO"; then :
34210 glibcxx_cv_func__isinf_use=yes
34211 else
34212 glibcxx_cv_func__isinf_use=no
34213 fi
34214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34215 ac_ext=c
34216 ac_cpp='$CPP $CPPFLAGS'
34217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34220
34221
34222 fi
34223
34224 fi
34225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34226 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34227
34228 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34229 for ac_func in _isinf
34230 do :
34231 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34232 if test "x$ac_cv_func__isinf" = x""yes; then :
34233 cat >>confdefs.h <<_ACEOF
34234 #define HAVE__ISINF 1
34235 _ACEOF
34236
34237 fi
34238 done
34239
34240 fi
34241 fi
34242
34243
34244
34245
34246
34247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34248 $as_echo_n "checking for isnan declaration... " >&6; }
34249 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34250 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34251 $as_echo_n "(cached) " >&6
34252 else
34253
34254
34255 ac_ext=cpp
34256 ac_cpp='$CXXCPP $CPPFLAGS'
34257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34260
34261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34262 /* end confdefs.h. */
34263 #include <math.h>
34264 #ifdef HAVE_IEEEFP_H
34265 #include <ieeefp.h>
34266 #endif
34267
34268 int
34269 main ()
34270 {
34271 isnan(0);
34272 ;
34273 return 0;
34274 }
34275 _ACEOF
34276 if ac_fn_cxx_try_compile "$LINENO"; then :
34277 glibcxx_cv_func_isnan_use=yes
34278 else
34279 glibcxx_cv_func_isnan_use=no
34280 fi
34281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34282 ac_ext=c
34283 ac_cpp='$CPP $CPPFLAGS'
34284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34287
34288
34289 fi
34290
34291 fi
34292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34293 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34294
34295 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34296 for ac_func in isnan
34297 do :
34298 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34299 if test "x$ac_cv_func_isnan" = x""yes; then :
34300 cat >>confdefs.h <<_ACEOF
34301 #define HAVE_ISNAN 1
34302 _ACEOF
34303
34304 fi
34305 done
34306
34307 else
34308
34309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34310 $as_echo_n "checking for _isnan declaration... " >&6; }
34311 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34312 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34313 $as_echo_n "(cached) " >&6
34314 else
34315
34316
34317 ac_ext=cpp
34318 ac_cpp='$CXXCPP $CPPFLAGS'
34319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34322
34323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34324 /* end confdefs.h. */
34325 #include <math.h>
34326 #ifdef HAVE_IEEEFP_H
34327 #include <ieeefp.h>
34328 #endif
34329
34330 int
34331 main ()
34332 {
34333 _isnan(0);
34334 ;
34335 return 0;
34336 }
34337 _ACEOF
34338 if ac_fn_cxx_try_compile "$LINENO"; then :
34339 glibcxx_cv_func__isnan_use=yes
34340 else
34341 glibcxx_cv_func__isnan_use=no
34342 fi
34343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34344 ac_ext=c
34345 ac_cpp='$CPP $CPPFLAGS'
34346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34349
34350
34351 fi
34352
34353 fi
34354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34355 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34356
34357 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34358 for ac_func in _isnan
34359 do :
34360 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34361 if test "x$ac_cv_func__isnan" = x""yes; then :
34362 cat >>confdefs.h <<_ACEOF
34363 #define HAVE__ISNAN 1
34364 _ACEOF
34365
34366 fi
34367 done
34368
34369 fi
34370 fi
34371
34372
34373
34374
34375
34376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34377 $as_echo_n "checking for finite declaration... " >&6; }
34378 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34379 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34380 $as_echo_n "(cached) " >&6
34381 else
34382
34383
34384 ac_ext=cpp
34385 ac_cpp='$CXXCPP $CPPFLAGS'
34386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34389
34390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34391 /* end confdefs.h. */
34392 #include <math.h>
34393 #ifdef HAVE_IEEEFP_H
34394 #include <ieeefp.h>
34395 #endif
34396
34397 int
34398 main ()
34399 {
34400 finite(0);
34401 ;
34402 return 0;
34403 }
34404 _ACEOF
34405 if ac_fn_cxx_try_compile "$LINENO"; then :
34406 glibcxx_cv_func_finite_use=yes
34407 else
34408 glibcxx_cv_func_finite_use=no
34409 fi
34410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34411 ac_ext=c
34412 ac_cpp='$CPP $CPPFLAGS'
34413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34416
34417
34418 fi
34419
34420 fi
34421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34422 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34423
34424 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34425 for ac_func in finite
34426 do :
34427 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34428 if test "x$ac_cv_func_finite" = x""yes; then :
34429 cat >>confdefs.h <<_ACEOF
34430 #define HAVE_FINITE 1
34431 _ACEOF
34432
34433 fi
34434 done
34435
34436 else
34437
34438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34439 $as_echo_n "checking for _finite declaration... " >&6; }
34440 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34441 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34442 $as_echo_n "(cached) " >&6
34443 else
34444
34445
34446 ac_ext=cpp
34447 ac_cpp='$CXXCPP $CPPFLAGS'
34448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34451
34452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34453 /* end confdefs.h. */
34454 #include <math.h>
34455 #ifdef HAVE_IEEEFP_H
34456 #include <ieeefp.h>
34457 #endif
34458
34459 int
34460 main ()
34461 {
34462 _finite(0);
34463 ;
34464 return 0;
34465 }
34466 _ACEOF
34467 if ac_fn_cxx_try_compile "$LINENO"; then :
34468 glibcxx_cv_func__finite_use=yes
34469 else
34470 glibcxx_cv_func__finite_use=no
34471 fi
34472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34473 ac_ext=c
34474 ac_cpp='$CPP $CPPFLAGS'
34475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34478
34479
34480 fi
34481
34482 fi
34483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34484 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34485
34486 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34487 for ac_func in _finite
34488 do :
34489 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34490 if test "x$ac_cv_func__finite" = x""yes; then :
34491 cat >>confdefs.h <<_ACEOF
34492 #define HAVE__FINITE 1
34493 _ACEOF
34494
34495 fi
34496 done
34497
34498 fi
34499 fi
34500
34501
34502
34503
34504
34505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34506 $as_echo_n "checking for sincos declaration... " >&6; }
34507 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34508 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34509 $as_echo_n "(cached) " >&6
34510 else
34511
34512
34513 ac_ext=cpp
34514 ac_cpp='$CXXCPP $CPPFLAGS'
34515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34518
34519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34520 /* end confdefs.h. */
34521 #include <math.h>
34522 int
34523 main ()
34524 {
34525 sincos(0, 0, 0);
34526 ;
34527 return 0;
34528 }
34529 _ACEOF
34530 if ac_fn_cxx_try_compile "$LINENO"; then :
34531 glibcxx_cv_func_sincos_use=yes
34532 else
34533 glibcxx_cv_func_sincos_use=no
34534 fi
34535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34536 ac_ext=c
34537 ac_cpp='$CPP $CPPFLAGS'
34538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34541
34542
34543 fi
34544
34545 fi
34546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34547 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34548
34549 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34550 for ac_func in sincos
34551 do :
34552 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34553 if test "x$ac_cv_func_sincos" = x""yes; then :
34554 cat >>confdefs.h <<_ACEOF
34555 #define HAVE_SINCOS 1
34556 _ACEOF
34557
34558 fi
34559 done
34560
34561 else
34562
34563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34564 $as_echo_n "checking for _sincos declaration... " >&6; }
34565 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34566 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34567 $as_echo_n "(cached) " >&6
34568 else
34569
34570
34571 ac_ext=cpp
34572 ac_cpp='$CXXCPP $CPPFLAGS'
34573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34576
34577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34578 /* end confdefs.h. */
34579 #include <math.h>
34580 int
34581 main ()
34582 {
34583 _sincos(0, 0, 0);
34584 ;
34585 return 0;
34586 }
34587 _ACEOF
34588 if ac_fn_cxx_try_compile "$LINENO"; then :
34589 glibcxx_cv_func__sincos_use=yes
34590 else
34591 glibcxx_cv_func__sincos_use=no
34592 fi
34593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34594 ac_ext=c
34595 ac_cpp='$CPP $CPPFLAGS'
34596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34599
34600
34601 fi
34602
34603 fi
34604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34605 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34606
34607 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34608 for ac_func in _sincos
34609 do :
34610 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34611 if test "x$ac_cv_func__sincos" = x""yes; then :
34612 cat >>confdefs.h <<_ACEOF
34613 #define HAVE__SINCOS 1
34614 _ACEOF
34615
34616 fi
34617 done
34618
34619 fi
34620 fi
34621
34622
34623
34624
34625
34626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34627 $as_echo_n "checking for fpclass declaration... " >&6; }
34628 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34629 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34630 $as_echo_n "(cached) " >&6
34631 else
34632
34633
34634 ac_ext=cpp
34635 ac_cpp='$CXXCPP $CPPFLAGS'
34636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34639
34640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34641 /* end confdefs.h. */
34642 #include <math.h>
34643 #ifdef HAVE_IEEEFP_H
34644 #include <ieeefp.h>
34645 #endif
34646
34647 int
34648 main ()
34649 {
34650 fpclass(0);
34651 ;
34652 return 0;
34653 }
34654 _ACEOF
34655 if ac_fn_cxx_try_compile "$LINENO"; then :
34656 glibcxx_cv_func_fpclass_use=yes
34657 else
34658 glibcxx_cv_func_fpclass_use=no
34659 fi
34660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34661 ac_ext=c
34662 ac_cpp='$CPP $CPPFLAGS'
34663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34666
34667
34668 fi
34669
34670 fi
34671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34672 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34673
34674 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34675 for ac_func in fpclass
34676 do :
34677 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34678 if test "x$ac_cv_func_fpclass" = x""yes; then :
34679 cat >>confdefs.h <<_ACEOF
34680 #define HAVE_FPCLASS 1
34681 _ACEOF
34682
34683 fi
34684 done
34685
34686 else
34687
34688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34689 $as_echo_n "checking for _fpclass declaration... " >&6; }
34690 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34691 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34692 $as_echo_n "(cached) " >&6
34693 else
34694
34695
34696 ac_ext=cpp
34697 ac_cpp='$CXXCPP $CPPFLAGS'
34698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34701
34702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34703 /* end confdefs.h. */
34704 #include <math.h>
34705 #ifdef HAVE_IEEEFP_H
34706 #include <ieeefp.h>
34707 #endif
34708
34709 int
34710 main ()
34711 {
34712 _fpclass(0);
34713 ;
34714 return 0;
34715 }
34716 _ACEOF
34717 if ac_fn_cxx_try_compile "$LINENO"; then :
34718 glibcxx_cv_func__fpclass_use=yes
34719 else
34720 glibcxx_cv_func__fpclass_use=no
34721 fi
34722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34723 ac_ext=c
34724 ac_cpp='$CPP $CPPFLAGS'
34725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34728
34729
34730 fi
34731
34732 fi
34733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34734 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34735
34736 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34737 for ac_func in _fpclass
34738 do :
34739 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34740 if test "x$ac_cv_func__fpclass" = x""yes; then :
34741 cat >>confdefs.h <<_ACEOF
34742 #define HAVE__FPCLASS 1
34743 _ACEOF
34744
34745 fi
34746 done
34747
34748 fi
34749 fi
34750
34751
34752
34753
34754
34755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34756 $as_echo_n "checking for qfpclass declaration... " >&6; }
34757 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34758 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34759 $as_echo_n "(cached) " >&6
34760 else
34761
34762
34763 ac_ext=cpp
34764 ac_cpp='$CXXCPP $CPPFLAGS'
34765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34768
34769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34770 /* end confdefs.h. */
34771 #include <math.h>
34772 #ifdef HAVE_IEEEFP_H
34773 #include <ieeefp.h>
34774 #endif
34775
34776 int
34777 main ()
34778 {
34779 qfpclass(0);
34780 ;
34781 return 0;
34782 }
34783 _ACEOF
34784 if ac_fn_cxx_try_compile "$LINENO"; then :
34785 glibcxx_cv_func_qfpclass_use=yes
34786 else
34787 glibcxx_cv_func_qfpclass_use=no
34788 fi
34789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34790 ac_ext=c
34791 ac_cpp='$CPP $CPPFLAGS'
34792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34795
34796
34797 fi
34798
34799 fi
34800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34801 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34802
34803 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34804 for ac_func in qfpclass
34805 do :
34806 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34807 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34808 cat >>confdefs.h <<_ACEOF
34809 #define HAVE_QFPCLASS 1
34810 _ACEOF
34811
34812 fi
34813 done
34814
34815 else
34816
34817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34818 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34819 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34820 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34821 $as_echo_n "(cached) " >&6
34822 else
34823
34824
34825 ac_ext=cpp
34826 ac_cpp='$CXXCPP $CPPFLAGS'
34827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34830
34831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34832 /* end confdefs.h. */
34833 #include <math.h>
34834 #ifdef HAVE_IEEEFP_H
34835 #include <ieeefp.h>
34836 #endif
34837
34838 int
34839 main ()
34840 {
34841 _qfpclass(0);
34842 ;
34843 return 0;
34844 }
34845 _ACEOF
34846 if ac_fn_cxx_try_compile "$LINENO"; then :
34847 glibcxx_cv_func__qfpclass_use=yes
34848 else
34849 glibcxx_cv_func__qfpclass_use=no
34850 fi
34851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34852 ac_ext=c
34853 ac_cpp='$CPP $CPPFLAGS'
34854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34857
34858
34859 fi
34860
34861 fi
34862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34863 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34864
34865 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34866 for ac_func in _qfpclass
34867 do :
34868 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34869 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34870 cat >>confdefs.h <<_ACEOF
34871 #define HAVE__QFPCLASS 1
34872 _ACEOF
34873
34874 fi
34875 done
34876
34877 fi
34878 fi
34879
34880
34881
34882
34883
34884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34885 $as_echo_n "checking for hypot declaration... " >&6; }
34886 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34887 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34888 $as_echo_n "(cached) " >&6
34889 else
34890
34891
34892 ac_ext=cpp
34893 ac_cpp='$CXXCPP $CPPFLAGS'
34894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34897
34898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34899 /* end confdefs.h. */
34900 #include <math.h>
34901 int
34902 main ()
34903 {
34904 hypot(0, 0);
34905 ;
34906 return 0;
34907 }
34908 _ACEOF
34909 if ac_fn_cxx_try_compile "$LINENO"; then :
34910 glibcxx_cv_func_hypot_use=yes
34911 else
34912 glibcxx_cv_func_hypot_use=no
34913 fi
34914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34915 ac_ext=c
34916 ac_cpp='$CPP $CPPFLAGS'
34917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34920
34921
34922 fi
34923
34924 fi
34925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34926 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34927
34928 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34929 for ac_func in hypot
34930 do :
34931 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34932 if test "x$ac_cv_func_hypot" = x""yes; then :
34933 cat >>confdefs.h <<_ACEOF
34934 #define HAVE_HYPOT 1
34935 _ACEOF
34936
34937 fi
34938 done
34939
34940 else
34941
34942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34943 $as_echo_n "checking for _hypot declaration... " >&6; }
34944 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34945 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34946 $as_echo_n "(cached) " >&6
34947 else
34948
34949
34950 ac_ext=cpp
34951 ac_cpp='$CXXCPP $CPPFLAGS'
34952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34955
34956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34957 /* end confdefs.h. */
34958 #include <math.h>
34959 int
34960 main ()
34961 {
34962 _hypot(0, 0);
34963 ;
34964 return 0;
34965 }
34966 _ACEOF
34967 if ac_fn_cxx_try_compile "$LINENO"; then :
34968 glibcxx_cv_func__hypot_use=yes
34969 else
34970 glibcxx_cv_func__hypot_use=no
34971 fi
34972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34973 ac_ext=c
34974 ac_cpp='$CPP $CPPFLAGS'
34975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34978
34979
34980 fi
34981
34982 fi
34983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34984 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34985
34986 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34987 for ac_func in _hypot
34988 do :
34989 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34990 if test "x$ac_cv_func__hypot" = x""yes; then :
34991 cat >>confdefs.h <<_ACEOF
34992 #define HAVE__HYPOT 1
34993 _ACEOF
34994
34995 fi
34996 done
34997
34998 fi
34999 fi
35000
35001
35002
35003
35004
35005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35006 $as_echo_n "checking for float trig functions... " >&6; }
35007 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35008 $as_echo_n "(cached) " >&6
35009 else
35010
35011
35012 ac_ext=cpp
35013 ac_cpp='$CXXCPP $CPPFLAGS'
35014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35017
35018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35019 /* end confdefs.h. */
35020 #include <math.h>
35021 int
35022 main ()
35023 {
35024 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35025 ;
35026 return 0;
35027 }
35028 _ACEOF
35029 if ac_fn_cxx_try_compile "$LINENO"; then :
35030 glibcxx_cv_func_float_trig_use=yes
35031 else
35032 glibcxx_cv_func_float_trig_use=no
35033 fi
35034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35035 ac_ext=c
35036 ac_cpp='$CPP $CPPFLAGS'
35037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35040
35041 fi
35042
35043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35044 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35045 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35046 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35047 do :
35048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35050 eval as_val=\$$as_ac_var
35051 if test "x$as_val" = x""yes; then :
35052 cat >>confdefs.h <<_ACEOF
35053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35054 _ACEOF
35055
35056 fi
35057 done
35058
35059 else
35060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35061 $as_echo_n "checking for _float trig functions... " >&6; }
35062 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35063 $as_echo_n "(cached) " >&6
35064 else
35065
35066
35067 ac_ext=cpp
35068 ac_cpp='$CXXCPP $CPPFLAGS'
35069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35072
35073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35074 /* end confdefs.h. */
35075 #include <math.h>
35076 int
35077 main ()
35078 {
35079 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35080 ;
35081 return 0;
35082 }
35083 _ACEOF
35084 if ac_fn_cxx_try_compile "$LINENO"; then :
35085 glibcxx_cv_func__float_trig_use=yes
35086 else
35087 glibcxx_cv_func__float_trig_use=no
35088 fi
35089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35090 ac_ext=c
35091 ac_cpp='$CPP $CPPFLAGS'
35092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35095
35096 fi
35097
35098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35099 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35100 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35101 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35102 do :
35103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35105 eval as_val=\$$as_ac_var
35106 if test "x$as_val" = x""yes; then :
35107 cat >>confdefs.h <<_ACEOF
35108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35109 _ACEOF
35110
35111 fi
35112 done
35113
35114 fi
35115 fi
35116
35117
35118
35119
35120
35121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35122 $as_echo_n "checking for float round functions... " >&6; }
35123 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35124 $as_echo_n "(cached) " >&6
35125 else
35126
35127
35128 ac_ext=cpp
35129 ac_cpp='$CXXCPP $CPPFLAGS'
35130 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35131 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35132 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35133
35134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35135 /* end confdefs.h. */
35136 #include <math.h>
35137 int
35138 main ()
35139 {
35140 ceilf (0); floorf (0);
35141 ;
35142 return 0;
35143 }
35144 _ACEOF
35145 if ac_fn_cxx_try_compile "$LINENO"; then :
35146 glibcxx_cv_func_float_round_use=yes
35147 else
35148 glibcxx_cv_func_float_round_use=no
35149 fi
35150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35151 ac_ext=c
35152 ac_cpp='$CPP $CPPFLAGS'
35153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35156
35157 fi
35158
35159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35160 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35161 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35162 for ac_func in ceilf floorf
35163 do :
35164 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35165 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35166 eval as_val=\$$as_ac_var
35167 if test "x$as_val" = x""yes; then :
35168 cat >>confdefs.h <<_ACEOF
35169 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35170 _ACEOF
35171
35172 fi
35173 done
35174
35175 else
35176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35177 $as_echo_n "checking for _float round functions... " >&6; }
35178 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35179 $as_echo_n "(cached) " >&6
35180 else
35181
35182
35183 ac_ext=cpp
35184 ac_cpp='$CXXCPP $CPPFLAGS'
35185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35188
35189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35190 /* end confdefs.h. */
35191 #include <math.h>
35192 int
35193 main ()
35194 {
35195 _ceilf (0); _floorf (0);
35196 ;
35197 return 0;
35198 }
35199 _ACEOF
35200 if ac_fn_cxx_try_compile "$LINENO"; then :
35201 glibcxx_cv_func__float_round_use=yes
35202 else
35203 glibcxx_cv_func__float_round_use=no
35204 fi
35205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35206 ac_ext=c
35207 ac_cpp='$CPP $CPPFLAGS'
35208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35211
35212 fi
35213
35214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35215 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35216 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35217 for ac_func in _ceilf _floorf
35218 do :
35219 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35220 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35221 eval as_val=\$$as_ac_var
35222 if test "x$as_val" = x""yes; then :
35223 cat >>confdefs.h <<_ACEOF
35224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35225 _ACEOF
35226
35227 fi
35228 done
35229
35230 fi
35231 fi
35232
35233
35234
35235
35236
35237
35238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35239 $as_echo_n "checking for expf declaration... " >&6; }
35240 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35241 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35242 $as_echo_n "(cached) " >&6
35243 else
35244
35245
35246 ac_ext=cpp
35247 ac_cpp='$CXXCPP $CPPFLAGS'
35248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35251
35252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35253 /* end confdefs.h. */
35254 #include <math.h>
35255 #ifdef HAVE_IEEEFP_H
35256 #include <ieeefp.h>
35257 #endif
35258
35259 int
35260 main ()
35261 {
35262 expf(0);
35263 ;
35264 return 0;
35265 }
35266 _ACEOF
35267 if ac_fn_cxx_try_compile "$LINENO"; then :
35268 glibcxx_cv_func_expf_use=yes
35269 else
35270 glibcxx_cv_func_expf_use=no
35271 fi
35272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35273 ac_ext=c
35274 ac_cpp='$CPP $CPPFLAGS'
35275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35278
35279
35280 fi
35281
35282 fi
35283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35284 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35285
35286 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35287 for ac_func in expf
35288 do :
35289 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35290 if test "x$ac_cv_func_expf" = x""yes; then :
35291 cat >>confdefs.h <<_ACEOF
35292 #define HAVE_EXPF 1
35293 _ACEOF
35294
35295 fi
35296 done
35297
35298 else
35299
35300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35301 $as_echo_n "checking for _expf declaration... " >&6; }
35302 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35303 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35304 $as_echo_n "(cached) " >&6
35305 else
35306
35307
35308 ac_ext=cpp
35309 ac_cpp='$CXXCPP $CPPFLAGS'
35310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35313
35314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35315 /* end confdefs.h. */
35316 #include <math.h>
35317 #ifdef HAVE_IEEEFP_H
35318 #include <ieeefp.h>
35319 #endif
35320
35321 int
35322 main ()
35323 {
35324 _expf(0);
35325 ;
35326 return 0;
35327 }
35328 _ACEOF
35329 if ac_fn_cxx_try_compile "$LINENO"; then :
35330 glibcxx_cv_func__expf_use=yes
35331 else
35332 glibcxx_cv_func__expf_use=no
35333 fi
35334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35335 ac_ext=c
35336 ac_cpp='$CPP $CPPFLAGS'
35337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35340
35341
35342 fi
35343
35344 fi
35345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35346 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35347
35348 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35349 for ac_func in _expf
35350 do :
35351 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35352 if test "x$ac_cv_func__expf" = x""yes; then :
35353 cat >>confdefs.h <<_ACEOF
35354 #define HAVE__EXPF 1
35355 _ACEOF
35356
35357 fi
35358 done
35359
35360 fi
35361 fi
35362
35363
35364
35365
35366
35367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35368 $as_echo_n "checking for isnanf declaration... " >&6; }
35369 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35370 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35371 $as_echo_n "(cached) " >&6
35372 else
35373
35374
35375 ac_ext=cpp
35376 ac_cpp='$CXXCPP $CPPFLAGS'
35377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35380
35381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35382 /* end confdefs.h. */
35383 #include <math.h>
35384 #ifdef HAVE_IEEEFP_H
35385 #include <ieeefp.h>
35386 #endif
35387
35388 int
35389 main ()
35390 {
35391 isnanf(0);
35392 ;
35393 return 0;
35394 }
35395 _ACEOF
35396 if ac_fn_cxx_try_compile "$LINENO"; then :
35397 glibcxx_cv_func_isnanf_use=yes
35398 else
35399 glibcxx_cv_func_isnanf_use=no
35400 fi
35401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35402 ac_ext=c
35403 ac_cpp='$CPP $CPPFLAGS'
35404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35407
35408
35409 fi
35410
35411 fi
35412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35413 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35414
35415 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35416 for ac_func in isnanf
35417 do :
35418 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35419 if test "x$ac_cv_func_isnanf" = x""yes; then :
35420 cat >>confdefs.h <<_ACEOF
35421 #define HAVE_ISNANF 1
35422 _ACEOF
35423
35424 fi
35425 done
35426
35427 else
35428
35429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35430 $as_echo_n "checking for _isnanf declaration... " >&6; }
35431 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35432 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35433 $as_echo_n "(cached) " >&6
35434 else
35435
35436
35437 ac_ext=cpp
35438 ac_cpp='$CXXCPP $CPPFLAGS'
35439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35442
35443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35444 /* end confdefs.h. */
35445 #include <math.h>
35446 #ifdef HAVE_IEEEFP_H
35447 #include <ieeefp.h>
35448 #endif
35449
35450 int
35451 main ()
35452 {
35453 _isnanf(0);
35454 ;
35455 return 0;
35456 }
35457 _ACEOF
35458 if ac_fn_cxx_try_compile "$LINENO"; then :
35459 glibcxx_cv_func__isnanf_use=yes
35460 else
35461 glibcxx_cv_func__isnanf_use=no
35462 fi
35463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35464 ac_ext=c
35465 ac_cpp='$CPP $CPPFLAGS'
35466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35469
35470
35471 fi
35472
35473 fi
35474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35475 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35476
35477 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35478 for ac_func in _isnanf
35479 do :
35480 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35481 if test "x$ac_cv_func__isnanf" = x""yes; then :
35482 cat >>confdefs.h <<_ACEOF
35483 #define HAVE__ISNANF 1
35484 _ACEOF
35485
35486 fi
35487 done
35488
35489 fi
35490 fi
35491
35492
35493
35494
35495
35496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35497 $as_echo_n "checking for isinff declaration... " >&6; }
35498 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35499 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35500 $as_echo_n "(cached) " >&6
35501 else
35502
35503
35504 ac_ext=cpp
35505 ac_cpp='$CXXCPP $CPPFLAGS'
35506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35509
35510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35511 /* end confdefs.h. */
35512 #include <math.h>
35513 #ifdef HAVE_IEEEFP_H
35514 #include <ieeefp.h>
35515 #endif
35516
35517 int
35518 main ()
35519 {
35520 isinff(0);
35521 ;
35522 return 0;
35523 }
35524 _ACEOF
35525 if ac_fn_cxx_try_compile "$LINENO"; then :
35526 glibcxx_cv_func_isinff_use=yes
35527 else
35528 glibcxx_cv_func_isinff_use=no
35529 fi
35530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35531 ac_ext=c
35532 ac_cpp='$CPP $CPPFLAGS'
35533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35536
35537
35538 fi
35539
35540 fi
35541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35542 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35543
35544 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35545 for ac_func in isinff
35546 do :
35547 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35548 if test "x$ac_cv_func_isinff" = x""yes; then :
35549 cat >>confdefs.h <<_ACEOF
35550 #define HAVE_ISINFF 1
35551 _ACEOF
35552
35553 fi
35554 done
35555
35556 else
35557
35558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35559 $as_echo_n "checking for _isinff declaration... " >&6; }
35560 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35561 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35562 $as_echo_n "(cached) " >&6
35563 else
35564
35565
35566 ac_ext=cpp
35567 ac_cpp='$CXXCPP $CPPFLAGS'
35568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35571
35572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35573 /* end confdefs.h. */
35574 #include <math.h>
35575 #ifdef HAVE_IEEEFP_H
35576 #include <ieeefp.h>
35577 #endif
35578
35579 int
35580 main ()
35581 {
35582 _isinff(0);
35583 ;
35584 return 0;
35585 }
35586 _ACEOF
35587 if ac_fn_cxx_try_compile "$LINENO"; then :
35588 glibcxx_cv_func__isinff_use=yes
35589 else
35590 glibcxx_cv_func__isinff_use=no
35591 fi
35592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35593 ac_ext=c
35594 ac_cpp='$CPP $CPPFLAGS'
35595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35598
35599
35600 fi
35601
35602 fi
35603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35604 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35605
35606 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35607 for ac_func in _isinff
35608 do :
35609 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35610 if test "x$ac_cv_func__isinff" = x""yes; then :
35611 cat >>confdefs.h <<_ACEOF
35612 #define HAVE__ISINFF 1
35613 _ACEOF
35614
35615 fi
35616 done
35617
35618 fi
35619 fi
35620
35621
35622
35623
35624
35625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35626 $as_echo_n "checking for atan2f declaration... " >&6; }
35627 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35628 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35629 $as_echo_n "(cached) " >&6
35630 else
35631
35632
35633 ac_ext=cpp
35634 ac_cpp='$CXXCPP $CPPFLAGS'
35635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35638
35639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35640 /* end confdefs.h. */
35641 #include <math.h>
35642 int
35643 main ()
35644 {
35645 atan2f(0, 0);
35646 ;
35647 return 0;
35648 }
35649 _ACEOF
35650 if ac_fn_cxx_try_compile "$LINENO"; then :
35651 glibcxx_cv_func_atan2f_use=yes
35652 else
35653 glibcxx_cv_func_atan2f_use=no
35654 fi
35655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35656 ac_ext=c
35657 ac_cpp='$CPP $CPPFLAGS'
35658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35661
35662
35663 fi
35664
35665 fi
35666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35667 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35668
35669 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35670 for ac_func in atan2f
35671 do :
35672 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35673 if test "x$ac_cv_func_atan2f" = x""yes; then :
35674 cat >>confdefs.h <<_ACEOF
35675 #define HAVE_ATAN2F 1
35676 _ACEOF
35677
35678 fi
35679 done
35680
35681 else
35682
35683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35684 $as_echo_n "checking for _atan2f declaration... " >&6; }
35685 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35686 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35687 $as_echo_n "(cached) " >&6
35688 else
35689
35690
35691 ac_ext=cpp
35692 ac_cpp='$CXXCPP $CPPFLAGS'
35693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35696
35697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35698 /* end confdefs.h. */
35699 #include <math.h>
35700 int
35701 main ()
35702 {
35703 _atan2f(0, 0);
35704 ;
35705 return 0;
35706 }
35707 _ACEOF
35708 if ac_fn_cxx_try_compile "$LINENO"; then :
35709 glibcxx_cv_func__atan2f_use=yes
35710 else
35711 glibcxx_cv_func__atan2f_use=no
35712 fi
35713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35714 ac_ext=c
35715 ac_cpp='$CPP $CPPFLAGS'
35716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35719
35720
35721 fi
35722
35723 fi
35724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35725 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35726
35727 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35728 for ac_func in _atan2f
35729 do :
35730 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35731 if test "x$ac_cv_func__atan2f" = x""yes; then :
35732 cat >>confdefs.h <<_ACEOF
35733 #define HAVE__ATAN2F 1
35734 _ACEOF
35735
35736 fi
35737 done
35738
35739 fi
35740 fi
35741
35742
35743
35744
35745
35746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35747 $as_echo_n "checking for fabsf declaration... " >&6; }
35748 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35749 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35750 $as_echo_n "(cached) " >&6
35751 else
35752
35753
35754 ac_ext=cpp
35755 ac_cpp='$CXXCPP $CPPFLAGS'
35756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35759
35760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35761 /* end confdefs.h. */
35762 #include <math.h>
35763 #ifdef HAVE_IEEEFP_H
35764 #include <ieeefp.h>
35765 #endif
35766
35767 int
35768 main ()
35769 {
35770 fabsf(0);
35771 ;
35772 return 0;
35773 }
35774 _ACEOF
35775 if ac_fn_cxx_try_compile "$LINENO"; then :
35776 glibcxx_cv_func_fabsf_use=yes
35777 else
35778 glibcxx_cv_func_fabsf_use=no
35779 fi
35780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35781 ac_ext=c
35782 ac_cpp='$CPP $CPPFLAGS'
35783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35786
35787
35788 fi
35789
35790 fi
35791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35792 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35793
35794 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35795 for ac_func in fabsf
35796 do :
35797 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35798 if test "x$ac_cv_func_fabsf" = x""yes; then :
35799 cat >>confdefs.h <<_ACEOF
35800 #define HAVE_FABSF 1
35801 _ACEOF
35802
35803 fi
35804 done
35805
35806 else
35807
35808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35809 $as_echo_n "checking for _fabsf declaration... " >&6; }
35810 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35811 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35812 $as_echo_n "(cached) " >&6
35813 else
35814
35815
35816 ac_ext=cpp
35817 ac_cpp='$CXXCPP $CPPFLAGS'
35818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35821
35822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35823 /* end confdefs.h. */
35824 #include <math.h>
35825 #ifdef HAVE_IEEEFP_H
35826 #include <ieeefp.h>
35827 #endif
35828
35829 int
35830 main ()
35831 {
35832 _fabsf(0);
35833 ;
35834 return 0;
35835 }
35836 _ACEOF
35837 if ac_fn_cxx_try_compile "$LINENO"; then :
35838 glibcxx_cv_func__fabsf_use=yes
35839 else
35840 glibcxx_cv_func__fabsf_use=no
35841 fi
35842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35843 ac_ext=c
35844 ac_cpp='$CPP $CPPFLAGS'
35845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35848
35849
35850 fi
35851
35852 fi
35853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35854 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35855
35856 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35857 for ac_func in _fabsf
35858 do :
35859 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35860 if test "x$ac_cv_func__fabsf" = x""yes; then :
35861 cat >>confdefs.h <<_ACEOF
35862 #define HAVE__FABSF 1
35863 _ACEOF
35864
35865 fi
35866 done
35867
35868 fi
35869 fi
35870
35871
35872
35873
35874
35875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35876 $as_echo_n "checking for fmodf declaration... " >&6; }
35877 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35878 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35879 $as_echo_n "(cached) " >&6
35880 else
35881
35882
35883 ac_ext=cpp
35884 ac_cpp='$CXXCPP $CPPFLAGS'
35885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35888
35889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35890 /* end confdefs.h. */
35891 #include <math.h>
35892 int
35893 main ()
35894 {
35895 fmodf(0, 0);
35896 ;
35897 return 0;
35898 }
35899 _ACEOF
35900 if ac_fn_cxx_try_compile "$LINENO"; then :
35901 glibcxx_cv_func_fmodf_use=yes
35902 else
35903 glibcxx_cv_func_fmodf_use=no
35904 fi
35905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35906 ac_ext=c
35907 ac_cpp='$CPP $CPPFLAGS'
35908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35911
35912
35913 fi
35914
35915 fi
35916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35917 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35918
35919 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35920 for ac_func in fmodf
35921 do :
35922 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35923 if test "x$ac_cv_func_fmodf" = x""yes; then :
35924 cat >>confdefs.h <<_ACEOF
35925 #define HAVE_FMODF 1
35926 _ACEOF
35927
35928 fi
35929 done
35930
35931 else
35932
35933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35934 $as_echo_n "checking for _fmodf declaration... " >&6; }
35935 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35936 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35937 $as_echo_n "(cached) " >&6
35938 else
35939
35940
35941 ac_ext=cpp
35942 ac_cpp='$CXXCPP $CPPFLAGS'
35943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35946
35947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35948 /* end confdefs.h. */
35949 #include <math.h>
35950 int
35951 main ()
35952 {
35953 _fmodf(0, 0);
35954 ;
35955 return 0;
35956 }
35957 _ACEOF
35958 if ac_fn_cxx_try_compile "$LINENO"; then :
35959 glibcxx_cv_func__fmodf_use=yes
35960 else
35961 glibcxx_cv_func__fmodf_use=no
35962 fi
35963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35964 ac_ext=c
35965 ac_cpp='$CPP $CPPFLAGS'
35966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35969
35970
35971 fi
35972
35973 fi
35974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35975 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35976
35977 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35978 for ac_func in _fmodf
35979 do :
35980 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35981 if test "x$ac_cv_func__fmodf" = x""yes; then :
35982 cat >>confdefs.h <<_ACEOF
35983 #define HAVE__FMODF 1
35984 _ACEOF
35985
35986 fi
35987 done
35988
35989 fi
35990 fi
35991
35992
35993
35994
35995
35996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35997 $as_echo_n "checking for frexpf declaration... " >&6; }
35998 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35999 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
36000 $as_echo_n "(cached) " >&6
36001 else
36002
36003
36004 ac_ext=cpp
36005 ac_cpp='$CXXCPP $CPPFLAGS'
36006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36009
36010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36011 /* end confdefs.h. */
36012 #include <math.h>
36013 int
36014 main ()
36015 {
36016 frexpf(0, 0);
36017 ;
36018 return 0;
36019 }
36020 _ACEOF
36021 if ac_fn_cxx_try_compile "$LINENO"; then :
36022 glibcxx_cv_func_frexpf_use=yes
36023 else
36024 glibcxx_cv_func_frexpf_use=no
36025 fi
36026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36027 ac_ext=c
36028 ac_cpp='$CPP $CPPFLAGS'
36029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36032
36033
36034 fi
36035
36036 fi
36037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36038 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36039
36040 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36041 for ac_func in frexpf
36042 do :
36043 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36044 if test "x$ac_cv_func_frexpf" = x""yes; then :
36045 cat >>confdefs.h <<_ACEOF
36046 #define HAVE_FREXPF 1
36047 _ACEOF
36048
36049 fi
36050 done
36051
36052 else
36053
36054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36055 $as_echo_n "checking for _frexpf declaration... " >&6; }
36056 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36057 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36058 $as_echo_n "(cached) " >&6
36059 else
36060
36061
36062 ac_ext=cpp
36063 ac_cpp='$CXXCPP $CPPFLAGS'
36064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36067
36068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36069 /* end confdefs.h. */
36070 #include <math.h>
36071 int
36072 main ()
36073 {
36074 _frexpf(0, 0);
36075 ;
36076 return 0;
36077 }
36078 _ACEOF
36079 if ac_fn_cxx_try_compile "$LINENO"; then :
36080 glibcxx_cv_func__frexpf_use=yes
36081 else
36082 glibcxx_cv_func__frexpf_use=no
36083 fi
36084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36085 ac_ext=c
36086 ac_cpp='$CPP $CPPFLAGS'
36087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36090
36091
36092 fi
36093
36094 fi
36095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36096 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36097
36098 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36099 for ac_func in _frexpf
36100 do :
36101 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36102 if test "x$ac_cv_func__frexpf" = x""yes; then :
36103 cat >>confdefs.h <<_ACEOF
36104 #define HAVE__FREXPF 1
36105 _ACEOF
36106
36107 fi
36108 done
36109
36110 fi
36111 fi
36112
36113
36114
36115
36116
36117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36118 $as_echo_n "checking for hypotf declaration... " >&6; }
36119 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36120 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36121 $as_echo_n "(cached) " >&6
36122 else
36123
36124
36125 ac_ext=cpp
36126 ac_cpp='$CXXCPP $CPPFLAGS'
36127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36130
36131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36132 /* end confdefs.h. */
36133 #include <math.h>
36134 int
36135 main ()
36136 {
36137 hypotf(0, 0);
36138 ;
36139 return 0;
36140 }
36141 _ACEOF
36142 if ac_fn_cxx_try_compile "$LINENO"; then :
36143 glibcxx_cv_func_hypotf_use=yes
36144 else
36145 glibcxx_cv_func_hypotf_use=no
36146 fi
36147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36148 ac_ext=c
36149 ac_cpp='$CPP $CPPFLAGS'
36150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36153
36154
36155 fi
36156
36157 fi
36158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36159 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36160
36161 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36162 for ac_func in hypotf
36163 do :
36164 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36165 if test "x$ac_cv_func_hypotf" = x""yes; then :
36166 cat >>confdefs.h <<_ACEOF
36167 #define HAVE_HYPOTF 1
36168 _ACEOF
36169
36170 fi
36171 done
36172
36173 else
36174
36175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36176 $as_echo_n "checking for _hypotf declaration... " >&6; }
36177 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36178 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36179 $as_echo_n "(cached) " >&6
36180 else
36181
36182
36183 ac_ext=cpp
36184 ac_cpp='$CXXCPP $CPPFLAGS'
36185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36188
36189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36190 /* end confdefs.h. */
36191 #include <math.h>
36192 int
36193 main ()
36194 {
36195 _hypotf(0, 0);
36196 ;
36197 return 0;
36198 }
36199 _ACEOF
36200 if ac_fn_cxx_try_compile "$LINENO"; then :
36201 glibcxx_cv_func__hypotf_use=yes
36202 else
36203 glibcxx_cv_func__hypotf_use=no
36204 fi
36205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36206 ac_ext=c
36207 ac_cpp='$CPP $CPPFLAGS'
36208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36211
36212
36213 fi
36214
36215 fi
36216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36217 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36218
36219 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36220 for ac_func in _hypotf
36221 do :
36222 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36223 if test "x$ac_cv_func__hypotf" = x""yes; then :
36224 cat >>confdefs.h <<_ACEOF
36225 #define HAVE__HYPOTF 1
36226 _ACEOF
36227
36228 fi
36229 done
36230
36231 fi
36232 fi
36233
36234
36235
36236
36237
36238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36239 $as_echo_n "checking for ldexpf declaration... " >&6; }
36240 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36241 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36242 $as_echo_n "(cached) " >&6
36243 else
36244
36245
36246 ac_ext=cpp
36247 ac_cpp='$CXXCPP $CPPFLAGS'
36248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36251
36252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36253 /* end confdefs.h. */
36254 #include <math.h>
36255 int
36256 main ()
36257 {
36258 ldexpf(0, 0);
36259 ;
36260 return 0;
36261 }
36262 _ACEOF
36263 if ac_fn_cxx_try_compile "$LINENO"; then :
36264 glibcxx_cv_func_ldexpf_use=yes
36265 else
36266 glibcxx_cv_func_ldexpf_use=no
36267 fi
36268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36269 ac_ext=c
36270 ac_cpp='$CPP $CPPFLAGS'
36271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36274
36275
36276 fi
36277
36278 fi
36279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36280 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36281
36282 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36283 for ac_func in ldexpf
36284 do :
36285 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36286 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36287 cat >>confdefs.h <<_ACEOF
36288 #define HAVE_LDEXPF 1
36289 _ACEOF
36290
36291 fi
36292 done
36293
36294 else
36295
36296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36297 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36298 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36299 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36300 $as_echo_n "(cached) " >&6
36301 else
36302
36303
36304 ac_ext=cpp
36305 ac_cpp='$CXXCPP $CPPFLAGS'
36306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36309
36310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36311 /* end confdefs.h. */
36312 #include <math.h>
36313 int
36314 main ()
36315 {
36316 _ldexpf(0, 0);
36317 ;
36318 return 0;
36319 }
36320 _ACEOF
36321 if ac_fn_cxx_try_compile "$LINENO"; then :
36322 glibcxx_cv_func__ldexpf_use=yes
36323 else
36324 glibcxx_cv_func__ldexpf_use=no
36325 fi
36326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36327 ac_ext=c
36328 ac_cpp='$CPP $CPPFLAGS'
36329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36332
36333
36334 fi
36335
36336 fi
36337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36338 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36339
36340 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36341 for ac_func in _ldexpf
36342 do :
36343 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36344 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36345 cat >>confdefs.h <<_ACEOF
36346 #define HAVE__LDEXPF 1
36347 _ACEOF
36348
36349 fi
36350 done
36351
36352 fi
36353 fi
36354
36355
36356
36357
36358
36359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36360 $as_echo_n "checking for logf declaration... " >&6; }
36361 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36362 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36363 $as_echo_n "(cached) " >&6
36364 else
36365
36366
36367 ac_ext=cpp
36368 ac_cpp='$CXXCPP $CPPFLAGS'
36369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36372
36373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36374 /* end confdefs.h. */
36375 #include <math.h>
36376 #ifdef HAVE_IEEEFP_H
36377 #include <ieeefp.h>
36378 #endif
36379
36380 int
36381 main ()
36382 {
36383 logf(0);
36384 ;
36385 return 0;
36386 }
36387 _ACEOF
36388 if ac_fn_cxx_try_compile "$LINENO"; then :
36389 glibcxx_cv_func_logf_use=yes
36390 else
36391 glibcxx_cv_func_logf_use=no
36392 fi
36393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36394 ac_ext=c
36395 ac_cpp='$CPP $CPPFLAGS'
36396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36399
36400
36401 fi
36402
36403 fi
36404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36405 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36406
36407 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36408 for ac_func in logf
36409 do :
36410 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36411 if test "x$ac_cv_func_logf" = x""yes; then :
36412 cat >>confdefs.h <<_ACEOF
36413 #define HAVE_LOGF 1
36414 _ACEOF
36415
36416 fi
36417 done
36418
36419 else
36420
36421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36422 $as_echo_n "checking for _logf declaration... " >&6; }
36423 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36424 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36425 $as_echo_n "(cached) " >&6
36426 else
36427
36428
36429 ac_ext=cpp
36430 ac_cpp='$CXXCPP $CPPFLAGS'
36431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36434
36435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36436 /* end confdefs.h. */
36437 #include <math.h>
36438 #ifdef HAVE_IEEEFP_H
36439 #include <ieeefp.h>
36440 #endif
36441
36442 int
36443 main ()
36444 {
36445 _logf(0);
36446 ;
36447 return 0;
36448 }
36449 _ACEOF
36450 if ac_fn_cxx_try_compile "$LINENO"; then :
36451 glibcxx_cv_func__logf_use=yes
36452 else
36453 glibcxx_cv_func__logf_use=no
36454 fi
36455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36456 ac_ext=c
36457 ac_cpp='$CPP $CPPFLAGS'
36458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36461
36462
36463 fi
36464
36465 fi
36466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36467 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36468
36469 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36470 for ac_func in _logf
36471 do :
36472 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36473 if test "x$ac_cv_func__logf" = x""yes; then :
36474 cat >>confdefs.h <<_ACEOF
36475 #define HAVE__LOGF 1
36476 _ACEOF
36477
36478 fi
36479 done
36480
36481 fi
36482 fi
36483
36484
36485
36486
36487
36488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36489 $as_echo_n "checking for log10f declaration... " >&6; }
36490 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36491 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36492 $as_echo_n "(cached) " >&6
36493 else
36494
36495
36496 ac_ext=cpp
36497 ac_cpp='$CXXCPP $CPPFLAGS'
36498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36501
36502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36503 /* end confdefs.h. */
36504 #include <math.h>
36505 #ifdef HAVE_IEEEFP_H
36506 #include <ieeefp.h>
36507 #endif
36508
36509 int
36510 main ()
36511 {
36512 log10f(0);
36513 ;
36514 return 0;
36515 }
36516 _ACEOF
36517 if ac_fn_cxx_try_compile "$LINENO"; then :
36518 glibcxx_cv_func_log10f_use=yes
36519 else
36520 glibcxx_cv_func_log10f_use=no
36521 fi
36522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36523 ac_ext=c
36524 ac_cpp='$CPP $CPPFLAGS'
36525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36528
36529
36530 fi
36531
36532 fi
36533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36534 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36535
36536 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36537 for ac_func in log10f
36538 do :
36539 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36540 if test "x$ac_cv_func_log10f" = x""yes; then :
36541 cat >>confdefs.h <<_ACEOF
36542 #define HAVE_LOG10F 1
36543 _ACEOF
36544
36545 fi
36546 done
36547
36548 else
36549
36550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36551 $as_echo_n "checking for _log10f declaration... " >&6; }
36552 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36553 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36554 $as_echo_n "(cached) " >&6
36555 else
36556
36557
36558 ac_ext=cpp
36559 ac_cpp='$CXXCPP $CPPFLAGS'
36560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36563
36564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36565 /* end confdefs.h. */
36566 #include <math.h>
36567 #ifdef HAVE_IEEEFP_H
36568 #include <ieeefp.h>
36569 #endif
36570
36571 int
36572 main ()
36573 {
36574 _log10f(0);
36575 ;
36576 return 0;
36577 }
36578 _ACEOF
36579 if ac_fn_cxx_try_compile "$LINENO"; then :
36580 glibcxx_cv_func__log10f_use=yes
36581 else
36582 glibcxx_cv_func__log10f_use=no
36583 fi
36584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36585 ac_ext=c
36586 ac_cpp='$CPP $CPPFLAGS'
36587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36590
36591
36592 fi
36593
36594 fi
36595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36596 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36597
36598 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36599 for ac_func in _log10f
36600 do :
36601 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36602 if test "x$ac_cv_func__log10f" = x""yes; then :
36603 cat >>confdefs.h <<_ACEOF
36604 #define HAVE__LOG10F 1
36605 _ACEOF
36606
36607 fi
36608 done
36609
36610 fi
36611 fi
36612
36613
36614
36615
36616
36617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36618 $as_echo_n "checking for modff declaration... " >&6; }
36619 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36620 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36621 $as_echo_n "(cached) " >&6
36622 else
36623
36624
36625 ac_ext=cpp
36626 ac_cpp='$CXXCPP $CPPFLAGS'
36627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36630
36631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36632 /* end confdefs.h. */
36633 #include <math.h>
36634 int
36635 main ()
36636 {
36637 modff(0, 0);
36638 ;
36639 return 0;
36640 }
36641 _ACEOF
36642 if ac_fn_cxx_try_compile "$LINENO"; then :
36643 glibcxx_cv_func_modff_use=yes
36644 else
36645 glibcxx_cv_func_modff_use=no
36646 fi
36647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36648 ac_ext=c
36649 ac_cpp='$CPP $CPPFLAGS'
36650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36653
36654
36655 fi
36656
36657 fi
36658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36659 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36660
36661 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36662 for ac_func in modff
36663 do :
36664 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36665 if test "x$ac_cv_func_modff" = x""yes; then :
36666 cat >>confdefs.h <<_ACEOF
36667 #define HAVE_MODFF 1
36668 _ACEOF
36669
36670 fi
36671 done
36672
36673 else
36674
36675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36676 $as_echo_n "checking for _modff declaration... " >&6; }
36677 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36678 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36679 $as_echo_n "(cached) " >&6
36680 else
36681
36682
36683 ac_ext=cpp
36684 ac_cpp='$CXXCPP $CPPFLAGS'
36685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36688
36689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36690 /* end confdefs.h. */
36691 #include <math.h>
36692 int
36693 main ()
36694 {
36695 _modff(0, 0);
36696 ;
36697 return 0;
36698 }
36699 _ACEOF
36700 if ac_fn_cxx_try_compile "$LINENO"; then :
36701 glibcxx_cv_func__modff_use=yes
36702 else
36703 glibcxx_cv_func__modff_use=no
36704 fi
36705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36706 ac_ext=c
36707 ac_cpp='$CPP $CPPFLAGS'
36708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36711
36712
36713 fi
36714
36715 fi
36716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36717 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36718
36719 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36720 for ac_func in _modff
36721 do :
36722 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36723 if test "x$ac_cv_func__modff" = x""yes; then :
36724 cat >>confdefs.h <<_ACEOF
36725 #define HAVE__MODFF 1
36726 _ACEOF
36727
36728 fi
36729 done
36730
36731 fi
36732 fi
36733
36734
36735
36736
36737
36738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36739 $as_echo_n "checking for modf declaration... " >&6; }
36740 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36741 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36742 $as_echo_n "(cached) " >&6
36743 else
36744
36745
36746 ac_ext=cpp
36747 ac_cpp='$CXXCPP $CPPFLAGS'
36748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36751
36752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36753 /* end confdefs.h. */
36754 #include <math.h>
36755 int
36756 main ()
36757 {
36758 modf(0, 0);
36759 ;
36760 return 0;
36761 }
36762 _ACEOF
36763 if ac_fn_cxx_try_compile "$LINENO"; then :
36764 glibcxx_cv_func_modf_use=yes
36765 else
36766 glibcxx_cv_func_modf_use=no
36767 fi
36768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36769 ac_ext=c
36770 ac_cpp='$CPP $CPPFLAGS'
36771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36774
36775
36776 fi
36777
36778 fi
36779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36780 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36781
36782 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36783 for ac_func in modf
36784 do :
36785 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36786 if test "x$ac_cv_func_modf" = x""yes; then :
36787 cat >>confdefs.h <<_ACEOF
36788 #define HAVE_MODF 1
36789 _ACEOF
36790
36791 fi
36792 done
36793
36794 else
36795
36796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36797 $as_echo_n "checking for _modf declaration... " >&6; }
36798 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36799 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36800 $as_echo_n "(cached) " >&6
36801 else
36802
36803
36804 ac_ext=cpp
36805 ac_cpp='$CXXCPP $CPPFLAGS'
36806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36809
36810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36811 /* end confdefs.h. */
36812 #include <math.h>
36813 int
36814 main ()
36815 {
36816 _modf(0, 0);
36817 ;
36818 return 0;
36819 }
36820 _ACEOF
36821 if ac_fn_cxx_try_compile "$LINENO"; then :
36822 glibcxx_cv_func__modf_use=yes
36823 else
36824 glibcxx_cv_func__modf_use=no
36825 fi
36826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36827 ac_ext=c
36828 ac_cpp='$CPP $CPPFLAGS'
36829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36832
36833
36834 fi
36835
36836 fi
36837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36838 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36839
36840 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36841 for ac_func in _modf
36842 do :
36843 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36844 if test "x$ac_cv_func__modf" = x""yes; then :
36845 cat >>confdefs.h <<_ACEOF
36846 #define HAVE__MODF 1
36847 _ACEOF
36848
36849 fi
36850 done
36851
36852 fi
36853 fi
36854
36855
36856
36857
36858
36859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36860 $as_echo_n "checking for powf declaration... " >&6; }
36861 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36862 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36863 $as_echo_n "(cached) " >&6
36864 else
36865
36866
36867 ac_ext=cpp
36868 ac_cpp='$CXXCPP $CPPFLAGS'
36869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36872
36873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36874 /* end confdefs.h. */
36875 #include <math.h>
36876 int
36877 main ()
36878 {
36879 powf(0, 0);
36880 ;
36881 return 0;
36882 }
36883 _ACEOF
36884 if ac_fn_cxx_try_compile "$LINENO"; then :
36885 glibcxx_cv_func_powf_use=yes
36886 else
36887 glibcxx_cv_func_powf_use=no
36888 fi
36889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36890 ac_ext=c
36891 ac_cpp='$CPP $CPPFLAGS'
36892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36895
36896
36897 fi
36898
36899 fi
36900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36901 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36902
36903 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36904 for ac_func in powf
36905 do :
36906 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36907 if test "x$ac_cv_func_powf" = x""yes; then :
36908 cat >>confdefs.h <<_ACEOF
36909 #define HAVE_POWF 1
36910 _ACEOF
36911
36912 fi
36913 done
36914
36915 else
36916
36917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36918 $as_echo_n "checking for _powf declaration... " >&6; }
36919 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36920 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36921 $as_echo_n "(cached) " >&6
36922 else
36923
36924
36925 ac_ext=cpp
36926 ac_cpp='$CXXCPP $CPPFLAGS'
36927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36930
36931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36932 /* end confdefs.h. */
36933 #include <math.h>
36934 int
36935 main ()
36936 {
36937 _powf(0, 0);
36938 ;
36939 return 0;
36940 }
36941 _ACEOF
36942 if ac_fn_cxx_try_compile "$LINENO"; then :
36943 glibcxx_cv_func__powf_use=yes
36944 else
36945 glibcxx_cv_func__powf_use=no
36946 fi
36947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36948 ac_ext=c
36949 ac_cpp='$CPP $CPPFLAGS'
36950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36953
36954
36955 fi
36956
36957 fi
36958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36959 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36960
36961 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36962 for ac_func in _powf
36963 do :
36964 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36965 if test "x$ac_cv_func__powf" = x""yes; then :
36966 cat >>confdefs.h <<_ACEOF
36967 #define HAVE__POWF 1
36968 _ACEOF
36969
36970 fi
36971 done
36972
36973 fi
36974 fi
36975
36976
36977
36978
36979
36980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36981 $as_echo_n "checking for sqrtf declaration... " >&6; }
36982 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36983 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36984 $as_echo_n "(cached) " >&6
36985 else
36986
36987
36988 ac_ext=cpp
36989 ac_cpp='$CXXCPP $CPPFLAGS'
36990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36993
36994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36995 /* end confdefs.h. */
36996 #include <math.h>
36997 #ifdef HAVE_IEEEFP_H
36998 #include <ieeefp.h>
36999 #endif
37000
37001 int
37002 main ()
37003 {
37004 sqrtf(0);
37005 ;
37006 return 0;
37007 }
37008 _ACEOF
37009 if ac_fn_cxx_try_compile "$LINENO"; then :
37010 glibcxx_cv_func_sqrtf_use=yes
37011 else
37012 glibcxx_cv_func_sqrtf_use=no
37013 fi
37014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37015 ac_ext=c
37016 ac_cpp='$CPP $CPPFLAGS'
37017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37020
37021
37022 fi
37023
37024 fi
37025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37026 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37027
37028 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37029 for ac_func in sqrtf
37030 do :
37031 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37032 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37033 cat >>confdefs.h <<_ACEOF
37034 #define HAVE_SQRTF 1
37035 _ACEOF
37036
37037 fi
37038 done
37039
37040 else
37041
37042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37043 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37044 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37045 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37046 $as_echo_n "(cached) " >&6
37047 else
37048
37049
37050 ac_ext=cpp
37051 ac_cpp='$CXXCPP $CPPFLAGS'
37052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37055
37056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37057 /* end confdefs.h. */
37058 #include <math.h>
37059 #ifdef HAVE_IEEEFP_H
37060 #include <ieeefp.h>
37061 #endif
37062
37063 int
37064 main ()
37065 {
37066 _sqrtf(0);
37067 ;
37068 return 0;
37069 }
37070 _ACEOF
37071 if ac_fn_cxx_try_compile "$LINENO"; then :
37072 glibcxx_cv_func__sqrtf_use=yes
37073 else
37074 glibcxx_cv_func__sqrtf_use=no
37075 fi
37076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37077 ac_ext=c
37078 ac_cpp='$CPP $CPPFLAGS'
37079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37082
37083
37084 fi
37085
37086 fi
37087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37088 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37089
37090 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37091 for ac_func in _sqrtf
37092 do :
37093 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37094 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37095 cat >>confdefs.h <<_ACEOF
37096 #define HAVE__SQRTF 1
37097 _ACEOF
37098
37099 fi
37100 done
37101
37102 fi
37103 fi
37104
37105
37106
37107
37108
37109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37110 $as_echo_n "checking for sincosf declaration... " >&6; }
37111 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37112 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37113 $as_echo_n "(cached) " >&6
37114 else
37115
37116
37117 ac_ext=cpp
37118 ac_cpp='$CXXCPP $CPPFLAGS'
37119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37122
37123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37124 /* end confdefs.h. */
37125 #include <math.h>
37126 int
37127 main ()
37128 {
37129 sincosf(0, 0, 0);
37130 ;
37131 return 0;
37132 }
37133 _ACEOF
37134 if ac_fn_cxx_try_compile "$LINENO"; then :
37135 glibcxx_cv_func_sincosf_use=yes
37136 else
37137 glibcxx_cv_func_sincosf_use=no
37138 fi
37139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37140 ac_ext=c
37141 ac_cpp='$CPP $CPPFLAGS'
37142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37145
37146
37147 fi
37148
37149 fi
37150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37151 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37152
37153 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37154 for ac_func in sincosf
37155 do :
37156 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37157 if test "x$ac_cv_func_sincosf" = x""yes; then :
37158 cat >>confdefs.h <<_ACEOF
37159 #define HAVE_SINCOSF 1
37160 _ACEOF
37161
37162 fi
37163 done
37164
37165 else
37166
37167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37168 $as_echo_n "checking for _sincosf declaration... " >&6; }
37169 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37170 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37171 $as_echo_n "(cached) " >&6
37172 else
37173
37174
37175 ac_ext=cpp
37176 ac_cpp='$CXXCPP $CPPFLAGS'
37177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37180
37181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37182 /* end confdefs.h. */
37183 #include <math.h>
37184 int
37185 main ()
37186 {
37187 _sincosf(0, 0, 0);
37188 ;
37189 return 0;
37190 }
37191 _ACEOF
37192 if ac_fn_cxx_try_compile "$LINENO"; then :
37193 glibcxx_cv_func__sincosf_use=yes
37194 else
37195 glibcxx_cv_func__sincosf_use=no
37196 fi
37197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37198 ac_ext=c
37199 ac_cpp='$CPP $CPPFLAGS'
37200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37203
37204
37205 fi
37206
37207 fi
37208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37209 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37210
37211 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37212 for ac_func in _sincosf
37213 do :
37214 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37215 if test "x$ac_cv_func__sincosf" = x""yes; then :
37216 cat >>confdefs.h <<_ACEOF
37217 #define HAVE__SINCOSF 1
37218 _ACEOF
37219
37220 fi
37221 done
37222
37223 fi
37224 fi
37225
37226
37227
37228
37229
37230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37231 $as_echo_n "checking for finitef declaration... " >&6; }
37232 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37233 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37234 $as_echo_n "(cached) " >&6
37235 else
37236
37237
37238 ac_ext=cpp
37239 ac_cpp='$CXXCPP $CPPFLAGS'
37240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37243
37244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37245 /* end confdefs.h. */
37246 #include <math.h>
37247 #ifdef HAVE_IEEEFP_H
37248 #include <ieeefp.h>
37249 #endif
37250
37251 int
37252 main ()
37253 {
37254 finitef(0);
37255 ;
37256 return 0;
37257 }
37258 _ACEOF
37259 if ac_fn_cxx_try_compile "$LINENO"; then :
37260 glibcxx_cv_func_finitef_use=yes
37261 else
37262 glibcxx_cv_func_finitef_use=no
37263 fi
37264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37265 ac_ext=c
37266 ac_cpp='$CPP $CPPFLAGS'
37267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37270
37271
37272 fi
37273
37274 fi
37275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37276 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37277
37278 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37279 for ac_func in finitef
37280 do :
37281 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37282 if test "x$ac_cv_func_finitef" = x""yes; then :
37283 cat >>confdefs.h <<_ACEOF
37284 #define HAVE_FINITEF 1
37285 _ACEOF
37286
37287 fi
37288 done
37289
37290 else
37291
37292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37293 $as_echo_n "checking for _finitef declaration... " >&6; }
37294 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37295 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37296 $as_echo_n "(cached) " >&6
37297 else
37298
37299
37300 ac_ext=cpp
37301 ac_cpp='$CXXCPP $CPPFLAGS'
37302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37305
37306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37307 /* end confdefs.h. */
37308 #include <math.h>
37309 #ifdef HAVE_IEEEFP_H
37310 #include <ieeefp.h>
37311 #endif
37312
37313 int
37314 main ()
37315 {
37316 _finitef(0);
37317 ;
37318 return 0;
37319 }
37320 _ACEOF
37321 if ac_fn_cxx_try_compile "$LINENO"; then :
37322 glibcxx_cv_func__finitef_use=yes
37323 else
37324 glibcxx_cv_func__finitef_use=no
37325 fi
37326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37327 ac_ext=c
37328 ac_cpp='$CPP $CPPFLAGS'
37329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37332
37333
37334 fi
37335
37336 fi
37337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37338 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37339
37340 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37341 for ac_func in _finitef
37342 do :
37343 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37344 if test "x$ac_cv_func__finitef" = x""yes; then :
37345 cat >>confdefs.h <<_ACEOF
37346 #define HAVE__FINITEF 1
37347 _ACEOF
37348
37349 fi
37350 done
37351
37352 fi
37353 fi
37354
37355
37356
37357
37358
37359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37360 $as_echo_n "checking for long double trig functions... " >&6; }
37361 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37362 $as_echo_n "(cached) " >&6
37363 else
37364
37365
37366 ac_ext=cpp
37367 ac_cpp='$CXXCPP $CPPFLAGS'
37368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37371
37372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37373 /* end confdefs.h. */
37374 #include <math.h>
37375 int
37376 main ()
37377 {
37378 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37379 ;
37380 return 0;
37381 }
37382 _ACEOF
37383 if ac_fn_cxx_try_compile "$LINENO"; then :
37384 glibcxx_cv_func_long_double_trig_use=yes
37385 else
37386 glibcxx_cv_func_long_double_trig_use=no
37387 fi
37388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37389 ac_ext=c
37390 ac_cpp='$CPP $CPPFLAGS'
37391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37394
37395 fi
37396
37397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37398 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37399 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37400 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37401 do :
37402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37404 eval as_val=\$$as_ac_var
37405 if test "x$as_val" = x""yes; then :
37406 cat >>confdefs.h <<_ACEOF
37407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37408 _ACEOF
37409
37410 fi
37411 done
37412
37413 else
37414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37415 $as_echo_n "checking for _long double trig functions... " >&6; }
37416 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37417 $as_echo_n "(cached) " >&6
37418 else
37419
37420
37421 ac_ext=cpp
37422 ac_cpp='$CXXCPP $CPPFLAGS'
37423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37426
37427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37428 /* end confdefs.h. */
37429 #include <math.h>
37430 int
37431 main ()
37432 {
37433 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37434 ;
37435 return 0;
37436 }
37437 _ACEOF
37438 if ac_fn_cxx_try_compile "$LINENO"; then :
37439 glibcxx_cv_func__long_double_trig_use=yes
37440 else
37441 glibcxx_cv_func__long_double_trig_use=no
37442 fi
37443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37444 ac_ext=c
37445 ac_cpp='$CPP $CPPFLAGS'
37446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37449
37450 fi
37451
37452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37453 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37454 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37455 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37456 do :
37457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37459 eval as_val=\$$as_ac_var
37460 if test "x$as_val" = x""yes; then :
37461 cat >>confdefs.h <<_ACEOF
37462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37463 _ACEOF
37464
37465 fi
37466 done
37467
37468 fi
37469 fi
37470
37471
37472
37473
37474
37475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37476 $as_echo_n "checking for long double round functions... " >&6; }
37477 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37478 $as_echo_n "(cached) " >&6
37479 else
37480
37481
37482 ac_ext=cpp
37483 ac_cpp='$CXXCPP $CPPFLAGS'
37484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37487
37488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37489 /* end confdefs.h. */
37490 #include <math.h>
37491 int
37492 main ()
37493 {
37494 ceill (0); floorl (0);
37495 ;
37496 return 0;
37497 }
37498 _ACEOF
37499 if ac_fn_cxx_try_compile "$LINENO"; then :
37500 glibcxx_cv_func_long_double_round_use=yes
37501 else
37502 glibcxx_cv_func_long_double_round_use=no
37503 fi
37504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37505 ac_ext=c
37506 ac_cpp='$CPP $CPPFLAGS'
37507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37510
37511 fi
37512
37513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37514 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37515 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37516 for ac_func in ceill floorl
37517 do :
37518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37520 eval as_val=\$$as_ac_var
37521 if test "x$as_val" = x""yes; then :
37522 cat >>confdefs.h <<_ACEOF
37523 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37524 _ACEOF
37525
37526 fi
37527 done
37528
37529 else
37530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37531 $as_echo_n "checking for _long double round functions... " >&6; }
37532 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37533 $as_echo_n "(cached) " >&6
37534 else
37535
37536
37537 ac_ext=cpp
37538 ac_cpp='$CXXCPP $CPPFLAGS'
37539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37542
37543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37544 /* end confdefs.h. */
37545 #include <math.h>
37546 int
37547 main ()
37548 {
37549 _ceill (0); _floorl (0);
37550 ;
37551 return 0;
37552 }
37553 _ACEOF
37554 if ac_fn_cxx_try_compile "$LINENO"; then :
37555 glibcxx_cv_func__long_double_round_use=yes
37556 else
37557 glibcxx_cv_func__long_double_round_use=no
37558 fi
37559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37560 ac_ext=c
37561 ac_cpp='$CPP $CPPFLAGS'
37562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37565
37566 fi
37567
37568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37569 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37570 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37571 for ac_func in _ceill _floorl
37572 do :
37573 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37574 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37575 eval as_val=\$$as_ac_var
37576 if test "x$as_val" = x""yes; then :
37577 cat >>confdefs.h <<_ACEOF
37578 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37579 _ACEOF
37580
37581 fi
37582 done
37583
37584 fi
37585 fi
37586
37587
37588
37589
37590
37591
37592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37593 $as_echo_n "checking for isnanl declaration... " >&6; }
37594 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37595 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37596 $as_echo_n "(cached) " >&6
37597 else
37598
37599
37600 ac_ext=cpp
37601 ac_cpp='$CXXCPP $CPPFLAGS'
37602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37605
37606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37607 /* end confdefs.h. */
37608 #include <math.h>
37609 #ifdef HAVE_IEEEFP_H
37610 #include <ieeefp.h>
37611 #endif
37612
37613 int
37614 main ()
37615 {
37616 isnanl(0);
37617 ;
37618 return 0;
37619 }
37620 _ACEOF
37621 if ac_fn_cxx_try_compile "$LINENO"; then :
37622 glibcxx_cv_func_isnanl_use=yes
37623 else
37624 glibcxx_cv_func_isnanl_use=no
37625 fi
37626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37627 ac_ext=c
37628 ac_cpp='$CPP $CPPFLAGS'
37629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37632
37633
37634 fi
37635
37636 fi
37637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37638 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37639
37640 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37641 for ac_func in isnanl
37642 do :
37643 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37644 if test "x$ac_cv_func_isnanl" = x""yes; then :
37645 cat >>confdefs.h <<_ACEOF
37646 #define HAVE_ISNANL 1
37647 _ACEOF
37648
37649 fi
37650 done
37651
37652 else
37653
37654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37655 $as_echo_n "checking for _isnanl declaration... " >&6; }
37656 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37657 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37658 $as_echo_n "(cached) " >&6
37659 else
37660
37661
37662 ac_ext=cpp
37663 ac_cpp='$CXXCPP $CPPFLAGS'
37664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37667
37668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37669 /* end confdefs.h. */
37670 #include <math.h>
37671 #ifdef HAVE_IEEEFP_H
37672 #include <ieeefp.h>
37673 #endif
37674
37675 int
37676 main ()
37677 {
37678 _isnanl(0);
37679 ;
37680 return 0;
37681 }
37682 _ACEOF
37683 if ac_fn_cxx_try_compile "$LINENO"; then :
37684 glibcxx_cv_func__isnanl_use=yes
37685 else
37686 glibcxx_cv_func__isnanl_use=no
37687 fi
37688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37689 ac_ext=c
37690 ac_cpp='$CPP $CPPFLAGS'
37691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37694
37695
37696 fi
37697
37698 fi
37699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37700 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37701
37702 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37703 for ac_func in _isnanl
37704 do :
37705 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37706 if test "x$ac_cv_func__isnanl" = x""yes; then :
37707 cat >>confdefs.h <<_ACEOF
37708 #define HAVE__ISNANL 1
37709 _ACEOF
37710
37711 fi
37712 done
37713
37714 fi
37715 fi
37716
37717
37718
37719
37720
37721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37722 $as_echo_n "checking for isinfl declaration... " >&6; }
37723 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37724 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37725 $as_echo_n "(cached) " >&6
37726 else
37727
37728
37729 ac_ext=cpp
37730 ac_cpp='$CXXCPP $CPPFLAGS'
37731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37734
37735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37736 /* end confdefs.h. */
37737 #include <math.h>
37738 #ifdef HAVE_IEEEFP_H
37739 #include <ieeefp.h>
37740 #endif
37741
37742 int
37743 main ()
37744 {
37745 isinfl(0);
37746 ;
37747 return 0;
37748 }
37749 _ACEOF
37750 if ac_fn_cxx_try_compile "$LINENO"; then :
37751 glibcxx_cv_func_isinfl_use=yes
37752 else
37753 glibcxx_cv_func_isinfl_use=no
37754 fi
37755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37756 ac_ext=c
37757 ac_cpp='$CPP $CPPFLAGS'
37758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37761
37762
37763 fi
37764
37765 fi
37766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37767 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37768
37769 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37770 for ac_func in isinfl
37771 do :
37772 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37773 if test "x$ac_cv_func_isinfl" = x""yes; then :
37774 cat >>confdefs.h <<_ACEOF
37775 #define HAVE_ISINFL 1
37776 _ACEOF
37777
37778 fi
37779 done
37780
37781 else
37782
37783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37784 $as_echo_n "checking for _isinfl declaration... " >&6; }
37785 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37786 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37787 $as_echo_n "(cached) " >&6
37788 else
37789
37790
37791 ac_ext=cpp
37792 ac_cpp='$CXXCPP $CPPFLAGS'
37793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37796
37797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37798 /* end confdefs.h. */
37799 #include <math.h>
37800 #ifdef HAVE_IEEEFP_H
37801 #include <ieeefp.h>
37802 #endif
37803
37804 int
37805 main ()
37806 {
37807 _isinfl(0);
37808 ;
37809 return 0;
37810 }
37811 _ACEOF
37812 if ac_fn_cxx_try_compile "$LINENO"; then :
37813 glibcxx_cv_func__isinfl_use=yes
37814 else
37815 glibcxx_cv_func__isinfl_use=no
37816 fi
37817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37818 ac_ext=c
37819 ac_cpp='$CPP $CPPFLAGS'
37820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37823
37824
37825 fi
37826
37827 fi
37828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37829 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37830
37831 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37832 for ac_func in _isinfl
37833 do :
37834 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37835 if test "x$ac_cv_func__isinfl" = x""yes; then :
37836 cat >>confdefs.h <<_ACEOF
37837 #define HAVE__ISINFL 1
37838 _ACEOF
37839
37840 fi
37841 done
37842
37843 fi
37844 fi
37845
37846
37847
37848
37849
37850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37851 $as_echo_n "checking for atan2l declaration... " >&6; }
37852 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37853 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37854 $as_echo_n "(cached) " >&6
37855 else
37856
37857
37858 ac_ext=cpp
37859 ac_cpp='$CXXCPP $CPPFLAGS'
37860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37863
37864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37865 /* end confdefs.h. */
37866 #include <math.h>
37867 int
37868 main ()
37869 {
37870 atan2l(0, 0);
37871 ;
37872 return 0;
37873 }
37874 _ACEOF
37875 if ac_fn_cxx_try_compile "$LINENO"; then :
37876 glibcxx_cv_func_atan2l_use=yes
37877 else
37878 glibcxx_cv_func_atan2l_use=no
37879 fi
37880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37881 ac_ext=c
37882 ac_cpp='$CPP $CPPFLAGS'
37883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37886
37887
37888 fi
37889
37890 fi
37891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37892 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37893
37894 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37895 for ac_func in atan2l
37896 do :
37897 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37898 if test "x$ac_cv_func_atan2l" = x""yes; then :
37899 cat >>confdefs.h <<_ACEOF
37900 #define HAVE_ATAN2L 1
37901 _ACEOF
37902
37903 fi
37904 done
37905
37906 else
37907
37908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37909 $as_echo_n "checking for _atan2l declaration... " >&6; }
37910 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37911 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37912 $as_echo_n "(cached) " >&6
37913 else
37914
37915
37916 ac_ext=cpp
37917 ac_cpp='$CXXCPP $CPPFLAGS'
37918 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37919 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37920 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37921
37922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37923 /* end confdefs.h. */
37924 #include <math.h>
37925 int
37926 main ()
37927 {
37928 _atan2l(0, 0);
37929 ;
37930 return 0;
37931 }
37932 _ACEOF
37933 if ac_fn_cxx_try_compile "$LINENO"; then :
37934 glibcxx_cv_func__atan2l_use=yes
37935 else
37936 glibcxx_cv_func__atan2l_use=no
37937 fi
37938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37939 ac_ext=c
37940 ac_cpp='$CPP $CPPFLAGS'
37941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37944
37945
37946 fi
37947
37948 fi
37949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37950 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37951
37952 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37953 for ac_func in _atan2l
37954 do :
37955 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37956 if test "x$ac_cv_func__atan2l" = x""yes; then :
37957 cat >>confdefs.h <<_ACEOF
37958 #define HAVE__ATAN2L 1
37959 _ACEOF
37960
37961 fi
37962 done
37963
37964 fi
37965 fi
37966
37967
37968
37969
37970
37971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37972 $as_echo_n "checking for expl declaration... " >&6; }
37973 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37974 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37975 $as_echo_n "(cached) " >&6
37976 else
37977
37978
37979 ac_ext=cpp
37980 ac_cpp='$CXXCPP $CPPFLAGS'
37981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37984
37985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37986 /* end confdefs.h. */
37987 #include <math.h>
37988 #ifdef HAVE_IEEEFP_H
37989 #include <ieeefp.h>
37990 #endif
37991
37992 int
37993 main ()
37994 {
37995 expl(0);
37996 ;
37997 return 0;
37998 }
37999 _ACEOF
38000 if ac_fn_cxx_try_compile "$LINENO"; then :
38001 glibcxx_cv_func_expl_use=yes
38002 else
38003 glibcxx_cv_func_expl_use=no
38004 fi
38005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38006 ac_ext=c
38007 ac_cpp='$CPP $CPPFLAGS'
38008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38011
38012
38013 fi
38014
38015 fi
38016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38017 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38018
38019 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38020 for ac_func in expl
38021 do :
38022 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38023 if test "x$ac_cv_func_expl" = x""yes; then :
38024 cat >>confdefs.h <<_ACEOF
38025 #define HAVE_EXPL 1
38026 _ACEOF
38027
38028 fi
38029 done
38030
38031 else
38032
38033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38034 $as_echo_n "checking for _expl declaration... " >&6; }
38035 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38036 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38037 $as_echo_n "(cached) " >&6
38038 else
38039
38040
38041 ac_ext=cpp
38042 ac_cpp='$CXXCPP $CPPFLAGS'
38043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38046
38047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38048 /* end confdefs.h. */
38049 #include <math.h>
38050 #ifdef HAVE_IEEEFP_H
38051 #include <ieeefp.h>
38052 #endif
38053
38054 int
38055 main ()
38056 {
38057 _expl(0);
38058 ;
38059 return 0;
38060 }
38061 _ACEOF
38062 if ac_fn_cxx_try_compile "$LINENO"; then :
38063 glibcxx_cv_func__expl_use=yes
38064 else
38065 glibcxx_cv_func__expl_use=no
38066 fi
38067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38068 ac_ext=c
38069 ac_cpp='$CPP $CPPFLAGS'
38070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38073
38074
38075 fi
38076
38077 fi
38078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38079 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38080
38081 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38082 for ac_func in _expl
38083 do :
38084 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38085 if test "x$ac_cv_func__expl" = x""yes; then :
38086 cat >>confdefs.h <<_ACEOF
38087 #define HAVE__EXPL 1
38088 _ACEOF
38089
38090 fi
38091 done
38092
38093 fi
38094 fi
38095
38096
38097
38098
38099
38100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38101 $as_echo_n "checking for fabsl declaration... " >&6; }
38102 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38103 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38104 $as_echo_n "(cached) " >&6
38105 else
38106
38107
38108 ac_ext=cpp
38109 ac_cpp='$CXXCPP $CPPFLAGS'
38110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38113
38114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38115 /* end confdefs.h. */
38116 #include <math.h>
38117 #ifdef HAVE_IEEEFP_H
38118 #include <ieeefp.h>
38119 #endif
38120
38121 int
38122 main ()
38123 {
38124 fabsl(0);
38125 ;
38126 return 0;
38127 }
38128 _ACEOF
38129 if ac_fn_cxx_try_compile "$LINENO"; then :
38130 glibcxx_cv_func_fabsl_use=yes
38131 else
38132 glibcxx_cv_func_fabsl_use=no
38133 fi
38134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38135 ac_ext=c
38136 ac_cpp='$CPP $CPPFLAGS'
38137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38140
38141
38142 fi
38143
38144 fi
38145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38146 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38147
38148 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38149 for ac_func in fabsl
38150 do :
38151 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38152 if test "x$ac_cv_func_fabsl" = x""yes; then :
38153 cat >>confdefs.h <<_ACEOF
38154 #define HAVE_FABSL 1
38155 _ACEOF
38156
38157 fi
38158 done
38159
38160 else
38161
38162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38163 $as_echo_n "checking for _fabsl declaration... " >&6; }
38164 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38165 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38166 $as_echo_n "(cached) " >&6
38167 else
38168
38169
38170 ac_ext=cpp
38171 ac_cpp='$CXXCPP $CPPFLAGS'
38172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38175
38176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38177 /* end confdefs.h. */
38178 #include <math.h>
38179 #ifdef HAVE_IEEEFP_H
38180 #include <ieeefp.h>
38181 #endif
38182
38183 int
38184 main ()
38185 {
38186 _fabsl(0);
38187 ;
38188 return 0;
38189 }
38190 _ACEOF
38191 if ac_fn_cxx_try_compile "$LINENO"; then :
38192 glibcxx_cv_func__fabsl_use=yes
38193 else
38194 glibcxx_cv_func__fabsl_use=no
38195 fi
38196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38197 ac_ext=c
38198 ac_cpp='$CPP $CPPFLAGS'
38199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38202
38203
38204 fi
38205
38206 fi
38207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38208 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38209
38210 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38211 for ac_func in _fabsl
38212 do :
38213 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38214 if test "x$ac_cv_func__fabsl" = x""yes; then :
38215 cat >>confdefs.h <<_ACEOF
38216 #define HAVE__FABSL 1
38217 _ACEOF
38218
38219 fi
38220 done
38221
38222 fi
38223 fi
38224
38225
38226
38227
38228
38229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38230 $as_echo_n "checking for fmodl declaration... " >&6; }
38231 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38232 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38233 $as_echo_n "(cached) " >&6
38234 else
38235
38236
38237 ac_ext=cpp
38238 ac_cpp='$CXXCPP $CPPFLAGS'
38239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38242
38243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38244 /* end confdefs.h. */
38245 #include <math.h>
38246 int
38247 main ()
38248 {
38249 fmodl(0, 0);
38250 ;
38251 return 0;
38252 }
38253 _ACEOF
38254 if ac_fn_cxx_try_compile "$LINENO"; then :
38255 glibcxx_cv_func_fmodl_use=yes
38256 else
38257 glibcxx_cv_func_fmodl_use=no
38258 fi
38259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38260 ac_ext=c
38261 ac_cpp='$CPP $CPPFLAGS'
38262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38265
38266
38267 fi
38268
38269 fi
38270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38271 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38272
38273 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38274 for ac_func in fmodl
38275 do :
38276 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38277 if test "x$ac_cv_func_fmodl" = x""yes; then :
38278 cat >>confdefs.h <<_ACEOF
38279 #define HAVE_FMODL 1
38280 _ACEOF
38281
38282 fi
38283 done
38284
38285 else
38286
38287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38288 $as_echo_n "checking for _fmodl declaration... " >&6; }
38289 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38290 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38291 $as_echo_n "(cached) " >&6
38292 else
38293
38294
38295 ac_ext=cpp
38296 ac_cpp='$CXXCPP $CPPFLAGS'
38297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38300
38301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38302 /* end confdefs.h. */
38303 #include <math.h>
38304 int
38305 main ()
38306 {
38307 _fmodl(0, 0);
38308 ;
38309 return 0;
38310 }
38311 _ACEOF
38312 if ac_fn_cxx_try_compile "$LINENO"; then :
38313 glibcxx_cv_func__fmodl_use=yes
38314 else
38315 glibcxx_cv_func__fmodl_use=no
38316 fi
38317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38318 ac_ext=c
38319 ac_cpp='$CPP $CPPFLAGS'
38320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38323
38324
38325 fi
38326
38327 fi
38328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38329 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38330
38331 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38332 for ac_func in _fmodl
38333 do :
38334 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38335 if test "x$ac_cv_func__fmodl" = x""yes; then :
38336 cat >>confdefs.h <<_ACEOF
38337 #define HAVE__FMODL 1
38338 _ACEOF
38339
38340 fi
38341 done
38342
38343 fi
38344 fi
38345
38346
38347
38348
38349
38350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38351 $as_echo_n "checking for frexpl declaration... " >&6; }
38352 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38353 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38354 $as_echo_n "(cached) " >&6
38355 else
38356
38357
38358 ac_ext=cpp
38359 ac_cpp='$CXXCPP $CPPFLAGS'
38360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38363
38364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38365 /* end confdefs.h. */
38366 #include <math.h>
38367 int
38368 main ()
38369 {
38370 frexpl(0, 0);
38371 ;
38372 return 0;
38373 }
38374 _ACEOF
38375 if ac_fn_cxx_try_compile "$LINENO"; then :
38376 glibcxx_cv_func_frexpl_use=yes
38377 else
38378 glibcxx_cv_func_frexpl_use=no
38379 fi
38380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38381 ac_ext=c
38382 ac_cpp='$CPP $CPPFLAGS'
38383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38386
38387
38388 fi
38389
38390 fi
38391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38392 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38393
38394 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38395 for ac_func in frexpl
38396 do :
38397 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38398 if test "x$ac_cv_func_frexpl" = x""yes; then :
38399 cat >>confdefs.h <<_ACEOF
38400 #define HAVE_FREXPL 1
38401 _ACEOF
38402
38403 fi
38404 done
38405
38406 else
38407
38408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38409 $as_echo_n "checking for _frexpl declaration... " >&6; }
38410 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38411 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38412 $as_echo_n "(cached) " >&6
38413 else
38414
38415
38416 ac_ext=cpp
38417 ac_cpp='$CXXCPP $CPPFLAGS'
38418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38421
38422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38423 /* end confdefs.h. */
38424 #include <math.h>
38425 int
38426 main ()
38427 {
38428 _frexpl(0, 0);
38429 ;
38430 return 0;
38431 }
38432 _ACEOF
38433 if ac_fn_cxx_try_compile "$LINENO"; then :
38434 glibcxx_cv_func__frexpl_use=yes
38435 else
38436 glibcxx_cv_func__frexpl_use=no
38437 fi
38438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38439 ac_ext=c
38440 ac_cpp='$CPP $CPPFLAGS'
38441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38444
38445
38446 fi
38447
38448 fi
38449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38450 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38451
38452 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38453 for ac_func in _frexpl
38454 do :
38455 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38456 if test "x$ac_cv_func__frexpl" = x""yes; then :
38457 cat >>confdefs.h <<_ACEOF
38458 #define HAVE__FREXPL 1
38459 _ACEOF
38460
38461 fi
38462 done
38463
38464 fi
38465 fi
38466
38467
38468
38469
38470
38471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38472 $as_echo_n "checking for hypotl declaration... " >&6; }
38473 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38474 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38475 $as_echo_n "(cached) " >&6
38476 else
38477
38478
38479 ac_ext=cpp
38480 ac_cpp='$CXXCPP $CPPFLAGS'
38481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38484
38485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38486 /* end confdefs.h. */
38487 #include <math.h>
38488 int
38489 main ()
38490 {
38491 hypotl(0, 0);
38492 ;
38493 return 0;
38494 }
38495 _ACEOF
38496 if ac_fn_cxx_try_compile "$LINENO"; then :
38497 glibcxx_cv_func_hypotl_use=yes
38498 else
38499 glibcxx_cv_func_hypotl_use=no
38500 fi
38501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38502 ac_ext=c
38503 ac_cpp='$CPP $CPPFLAGS'
38504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38507
38508
38509 fi
38510
38511 fi
38512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38513 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38514
38515 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38516 for ac_func in hypotl
38517 do :
38518 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38519 if test "x$ac_cv_func_hypotl" = x""yes; then :
38520 cat >>confdefs.h <<_ACEOF
38521 #define HAVE_HYPOTL 1
38522 _ACEOF
38523
38524 fi
38525 done
38526
38527 else
38528
38529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38530 $as_echo_n "checking for _hypotl declaration... " >&6; }
38531 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38532 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38533 $as_echo_n "(cached) " >&6
38534 else
38535
38536
38537 ac_ext=cpp
38538 ac_cpp='$CXXCPP $CPPFLAGS'
38539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38542
38543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38544 /* end confdefs.h. */
38545 #include <math.h>
38546 int
38547 main ()
38548 {
38549 _hypotl(0, 0);
38550 ;
38551 return 0;
38552 }
38553 _ACEOF
38554 if ac_fn_cxx_try_compile "$LINENO"; then :
38555 glibcxx_cv_func__hypotl_use=yes
38556 else
38557 glibcxx_cv_func__hypotl_use=no
38558 fi
38559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38560 ac_ext=c
38561 ac_cpp='$CPP $CPPFLAGS'
38562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38565
38566
38567 fi
38568
38569 fi
38570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38571 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38572
38573 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38574 for ac_func in _hypotl
38575 do :
38576 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38577 if test "x$ac_cv_func__hypotl" = x""yes; then :
38578 cat >>confdefs.h <<_ACEOF
38579 #define HAVE__HYPOTL 1
38580 _ACEOF
38581
38582 fi
38583 done
38584
38585 fi
38586 fi
38587
38588
38589
38590
38591
38592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38593 $as_echo_n "checking for ldexpl declaration... " >&6; }
38594 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38595 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38596 $as_echo_n "(cached) " >&6
38597 else
38598
38599
38600 ac_ext=cpp
38601 ac_cpp='$CXXCPP $CPPFLAGS'
38602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38605
38606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38607 /* end confdefs.h. */
38608 #include <math.h>
38609 int
38610 main ()
38611 {
38612 ldexpl(0, 0);
38613 ;
38614 return 0;
38615 }
38616 _ACEOF
38617 if ac_fn_cxx_try_compile "$LINENO"; then :
38618 glibcxx_cv_func_ldexpl_use=yes
38619 else
38620 glibcxx_cv_func_ldexpl_use=no
38621 fi
38622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38623 ac_ext=c
38624 ac_cpp='$CPP $CPPFLAGS'
38625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38628
38629
38630 fi
38631
38632 fi
38633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38634 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38635
38636 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38637 for ac_func in ldexpl
38638 do :
38639 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38640 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38641 cat >>confdefs.h <<_ACEOF
38642 #define HAVE_LDEXPL 1
38643 _ACEOF
38644
38645 fi
38646 done
38647
38648 else
38649
38650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38651 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38652 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38653 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38654 $as_echo_n "(cached) " >&6
38655 else
38656
38657
38658 ac_ext=cpp
38659 ac_cpp='$CXXCPP $CPPFLAGS'
38660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38663
38664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38665 /* end confdefs.h. */
38666 #include <math.h>
38667 int
38668 main ()
38669 {
38670 _ldexpl(0, 0);
38671 ;
38672 return 0;
38673 }
38674 _ACEOF
38675 if ac_fn_cxx_try_compile "$LINENO"; then :
38676 glibcxx_cv_func__ldexpl_use=yes
38677 else
38678 glibcxx_cv_func__ldexpl_use=no
38679 fi
38680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38681 ac_ext=c
38682 ac_cpp='$CPP $CPPFLAGS'
38683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38686
38687
38688 fi
38689
38690 fi
38691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38692 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38693
38694 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38695 for ac_func in _ldexpl
38696 do :
38697 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38698 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38699 cat >>confdefs.h <<_ACEOF
38700 #define HAVE__LDEXPL 1
38701 _ACEOF
38702
38703 fi
38704 done
38705
38706 fi
38707 fi
38708
38709
38710
38711
38712
38713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38714 $as_echo_n "checking for logl declaration... " >&6; }
38715 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38716 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38717 $as_echo_n "(cached) " >&6
38718 else
38719
38720
38721 ac_ext=cpp
38722 ac_cpp='$CXXCPP $CPPFLAGS'
38723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38726
38727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38728 /* end confdefs.h. */
38729 #include <math.h>
38730 #ifdef HAVE_IEEEFP_H
38731 #include <ieeefp.h>
38732 #endif
38733
38734 int
38735 main ()
38736 {
38737 logl(0);
38738 ;
38739 return 0;
38740 }
38741 _ACEOF
38742 if ac_fn_cxx_try_compile "$LINENO"; then :
38743 glibcxx_cv_func_logl_use=yes
38744 else
38745 glibcxx_cv_func_logl_use=no
38746 fi
38747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38748 ac_ext=c
38749 ac_cpp='$CPP $CPPFLAGS'
38750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38753
38754
38755 fi
38756
38757 fi
38758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38759 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38760
38761 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38762 for ac_func in logl
38763 do :
38764 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38765 if test "x$ac_cv_func_logl" = x""yes; then :
38766 cat >>confdefs.h <<_ACEOF
38767 #define HAVE_LOGL 1
38768 _ACEOF
38769
38770 fi
38771 done
38772
38773 else
38774
38775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38776 $as_echo_n "checking for _logl declaration... " >&6; }
38777 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38778 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38779 $as_echo_n "(cached) " >&6
38780 else
38781
38782
38783 ac_ext=cpp
38784 ac_cpp='$CXXCPP $CPPFLAGS'
38785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38788
38789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38790 /* end confdefs.h. */
38791 #include <math.h>
38792 #ifdef HAVE_IEEEFP_H
38793 #include <ieeefp.h>
38794 #endif
38795
38796 int
38797 main ()
38798 {
38799 _logl(0);
38800 ;
38801 return 0;
38802 }
38803 _ACEOF
38804 if ac_fn_cxx_try_compile "$LINENO"; then :
38805 glibcxx_cv_func__logl_use=yes
38806 else
38807 glibcxx_cv_func__logl_use=no
38808 fi
38809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38810 ac_ext=c
38811 ac_cpp='$CPP $CPPFLAGS'
38812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38815
38816
38817 fi
38818
38819 fi
38820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38821 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38822
38823 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38824 for ac_func in _logl
38825 do :
38826 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38827 if test "x$ac_cv_func__logl" = x""yes; then :
38828 cat >>confdefs.h <<_ACEOF
38829 #define HAVE__LOGL 1
38830 _ACEOF
38831
38832 fi
38833 done
38834
38835 fi
38836 fi
38837
38838
38839
38840
38841
38842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38843 $as_echo_n "checking for log10l declaration... " >&6; }
38844 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38845 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38846 $as_echo_n "(cached) " >&6
38847 else
38848
38849
38850 ac_ext=cpp
38851 ac_cpp='$CXXCPP $CPPFLAGS'
38852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38855
38856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38857 /* end confdefs.h. */
38858 #include <math.h>
38859 #ifdef HAVE_IEEEFP_H
38860 #include <ieeefp.h>
38861 #endif
38862
38863 int
38864 main ()
38865 {
38866 log10l(0);
38867 ;
38868 return 0;
38869 }
38870 _ACEOF
38871 if ac_fn_cxx_try_compile "$LINENO"; then :
38872 glibcxx_cv_func_log10l_use=yes
38873 else
38874 glibcxx_cv_func_log10l_use=no
38875 fi
38876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38877 ac_ext=c
38878 ac_cpp='$CPP $CPPFLAGS'
38879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38882
38883
38884 fi
38885
38886 fi
38887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38888 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38889
38890 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38891 for ac_func in log10l
38892 do :
38893 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38894 if test "x$ac_cv_func_log10l" = x""yes; then :
38895 cat >>confdefs.h <<_ACEOF
38896 #define HAVE_LOG10L 1
38897 _ACEOF
38898
38899 fi
38900 done
38901
38902 else
38903
38904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38905 $as_echo_n "checking for _log10l declaration... " >&6; }
38906 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38907 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38908 $as_echo_n "(cached) " >&6
38909 else
38910
38911
38912 ac_ext=cpp
38913 ac_cpp='$CXXCPP $CPPFLAGS'
38914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38917
38918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38919 /* end confdefs.h. */
38920 #include <math.h>
38921 #ifdef HAVE_IEEEFP_H
38922 #include <ieeefp.h>
38923 #endif
38924
38925 int
38926 main ()
38927 {
38928 _log10l(0);
38929 ;
38930 return 0;
38931 }
38932 _ACEOF
38933 if ac_fn_cxx_try_compile "$LINENO"; then :
38934 glibcxx_cv_func__log10l_use=yes
38935 else
38936 glibcxx_cv_func__log10l_use=no
38937 fi
38938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38939 ac_ext=c
38940 ac_cpp='$CPP $CPPFLAGS'
38941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38944
38945
38946 fi
38947
38948 fi
38949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38950 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38951
38952 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38953 for ac_func in _log10l
38954 do :
38955 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38956 if test "x$ac_cv_func__log10l" = x""yes; then :
38957 cat >>confdefs.h <<_ACEOF
38958 #define HAVE__LOG10L 1
38959 _ACEOF
38960
38961 fi
38962 done
38963
38964 fi
38965 fi
38966
38967
38968
38969
38970
38971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38972 $as_echo_n "checking for modfl declaration... " >&6; }
38973 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38974 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38975 $as_echo_n "(cached) " >&6
38976 else
38977
38978
38979 ac_ext=cpp
38980 ac_cpp='$CXXCPP $CPPFLAGS'
38981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38984
38985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38986 /* end confdefs.h. */
38987 #include <math.h>
38988 int
38989 main ()
38990 {
38991 modfl(0, 0);
38992 ;
38993 return 0;
38994 }
38995 _ACEOF
38996 if ac_fn_cxx_try_compile "$LINENO"; then :
38997 glibcxx_cv_func_modfl_use=yes
38998 else
38999 glibcxx_cv_func_modfl_use=no
39000 fi
39001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39002 ac_ext=c
39003 ac_cpp='$CPP $CPPFLAGS'
39004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39007
39008
39009 fi
39010
39011 fi
39012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39013 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39014
39015 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39016 for ac_func in modfl
39017 do :
39018 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39019 if test "x$ac_cv_func_modfl" = x""yes; then :
39020 cat >>confdefs.h <<_ACEOF
39021 #define HAVE_MODFL 1
39022 _ACEOF
39023
39024 fi
39025 done
39026
39027 else
39028
39029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39030 $as_echo_n "checking for _modfl declaration... " >&6; }
39031 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39032 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39033 $as_echo_n "(cached) " >&6
39034 else
39035
39036
39037 ac_ext=cpp
39038 ac_cpp='$CXXCPP $CPPFLAGS'
39039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39042
39043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39044 /* end confdefs.h. */
39045 #include <math.h>
39046 int
39047 main ()
39048 {
39049 _modfl(0, 0);
39050 ;
39051 return 0;
39052 }
39053 _ACEOF
39054 if ac_fn_cxx_try_compile "$LINENO"; then :
39055 glibcxx_cv_func__modfl_use=yes
39056 else
39057 glibcxx_cv_func__modfl_use=no
39058 fi
39059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39060 ac_ext=c
39061 ac_cpp='$CPP $CPPFLAGS'
39062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39065
39066
39067 fi
39068
39069 fi
39070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39071 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39072
39073 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39074 for ac_func in _modfl
39075 do :
39076 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39077 if test "x$ac_cv_func__modfl" = x""yes; then :
39078 cat >>confdefs.h <<_ACEOF
39079 #define HAVE__MODFL 1
39080 _ACEOF
39081
39082 fi
39083 done
39084
39085 fi
39086 fi
39087
39088
39089
39090
39091
39092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39093 $as_echo_n "checking for powl declaration... " >&6; }
39094 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39095 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39096 $as_echo_n "(cached) " >&6
39097 else
39098
39099
39100 ac_ext=cpp
39101 ac_cpp='$CXXCPP $CPPFLAGS'
39102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39105
39106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39107 /* end confdefs.h. */
39108 #include <math.h>
39109 int
39110 main ()
39111 {
39112 powl(0, 0);
39113 ;
39114 return 0;
39115 }
39116 _ACEOF
39117 if ac_fn_cxx_try_compile "$LINENO"; then :
39118 glibcxx_cv_func_powl_use=yes
39119 else
39120 glibcxx_cv_func_powl_use=no
39121 fi
39122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39123 ac_ext=c
39124 ac_cpp='$CPP $CPPFLAGS'
39125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39128
39129
39130 fi
39131
39132 fi
39133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39134 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39135
39136 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39137 for ac_func in powl
39138 do :
39139 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39140 if test "x$ac_cv_func_powl" = x""yes; then :
39141 cat >>confdefs.h <<_ACEOF
39142 #define HAVE_POWL 1
39143 _ACEOF
39144
39145 fi
39146 done
39147
39148 else
39149
39150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39151 $as_echo_n "checking for _powl declaration... " >&6; }
39152 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39153 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39154 $as_echo_n "(cached) " >&6
39155 else
39156
39157
39158 ac_ext=cpp
39159 ac_cpp='$CXXCPP $CPPFLAGS'
39160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39163
39164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39165 /* end confdefs.h. */
39166 #include <math.h>
39167 int
39168 main ()
39169 {
39170 _powl(0, 0);
39171 ;
39172 return 0;
39173 }
39174 _ACEOF
39175 if ac_fn_cxx_try_compile "$LINENO"; then :
39176 glibcxx_cv_func__powl_use=yes
39177 else
39178 glibcxx_cv_func__powl_use=no
39179 fi
39180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39181 ac_ext=c
39182 ac_cpp='$CPP $CPPFLAGS'
39183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39186
39187
39188 fi
39189
39190 fi
39191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39192 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39193
39194 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39195 for ac_func in _powl
39196 do :
39197 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39198 if test "x$ac_cv_func__powl" = x""yes; then :
39199 cat >>confdefs.h <<_ACEOF
39200 #define HAVE__POWL 1
39201 _ACEOF
39202
39203 fi
39204 done
39205
39206 fi
39207 fi
39208
39209
39210
39211
39212
39213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39214 $as_echo_n "checking for sqrtl declaration... " >&6; }
39215 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39216 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39217 $as_echo_n "(cached) " >&6
39218 else
39219
39220
39221 ac_ext=cpp
39222 ac_cpp='$CXXCPP $CPPFLAGS'
39223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39226
39227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39228 /* end confdefs.h. */
39229 #include <math.h>
39230 #ifdef HAVE_IEEEFP_H
39231 #include <ieeefp.h>
39232 #endif
39233
39234 int
39235 main ()
39236 {
39237 sqrtl(0);
39238 ;
39239 return 0;
39240 }
39241 _ACEOF
39242 if ac_fn_cxx_try_compile "$LINENO"; then :
39243 glibcxx_cv_func_sqrtl_use=yes
39244 else
39245 glibcxx_cv_func_sqrtl_use=no
39246 fi
39247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39248 ac_ext=c
39249 ac_cpp='$CPP $CPPFLAGS'
39250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39253
39254
39255 fi
39256
39257 fi
39258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39259 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39260
39261 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39262 for ac_func in sqrtl
39263 do :
39264 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39265 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39266 cat >>confdefs.h <<_ACEOF
39267 #define HAVE_SQRTL 1
39268 _ACEOF
39269
39270 fi
39271 done
39272
39273 else
39274
39275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39276 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39277 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39278 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39279 $as_echo_n "(cached) " >&6
39280 else
39281
39282
39283 ac_ext=cpp
39284 ac_cpp='$CXXCPP $CPPFLAGS'
39285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39288
39289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39290 /* end confdefs.h. */
39291 #include <math.h>
39292 #ifdef HAVE_IEEEFP_H
39293 #include <ieeefp.h>
39294 #endif
39295
39296 int
39297 main ()
39298 {
39299 _sqrtl(0);
39300 ;
39301 return 0;
39302 }
39303 _ACEOF
39304 if ac_fn_cxx_try_compile "$LINENO"; then :
39305 glibcxx_cv_func__sqrtl_use=yes
39306 else
39307 glibcxx_cv_func__sqrtl_use=no
39308 fi
39309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39310 ac_ext=c
39311 ac_cpp='$CPP $CPPFLAGS'
39312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39315
39316
39317 fi
39318
39319 fi
39320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39321 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39322
39323 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39324 for ac_func in _sqrtl
39325 do :
39326 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39327 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39328 cat >>confdefs.h <<_ACEOF
39329 #define HAVE__SQRTL 1
39330 _ACEOF
39331
39332 fi
39333 done
39334
39335 fi
39336 fi
39337
39338
39339
39340
39341
39342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39343 $as_echo_n "checking for sincosl declaration... " >&6; }
39344 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39345 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39346 $as_echo_n "(cached) " >&6
39347 else
39348
39349
39350 ac_ext=cpp
39351 ac_cpp='$CXXCPP $CPPFLAGS'
39352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39355
39356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39357 /* end confdefs.h. */
39358 #include <math.h>
39359 int
39360 main ()
39361 {
39362 sincosl(0, 0, 0);
39363 ;
39364 return 0;
39365 }
39366 _ACEOF
39367 if ac_fn_cxx_try_compile "$LINENO"; then :
39368 glibcxx_cv_func_sincosl_use=yes
39369 else
39370 glibcxx_cv_func_sincosl_use=no
39371 fi
39372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39373 ac_ext=c
39374 ac_cpp='$CPP $CPPFLAGS'
39375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39378
39379
39380 fi
39381
39382 fi
39383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39384 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39385
39386 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39387 for ac_func in sincosl
39388 do :
39389 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39390 if test "x$ac_cv_func_sincosl" = x""yes; then :
39391 cat >>confdefs.h <<_ACEOF
39392 #define HAVE_SINCOSL 1
39393 _ACEOF
39394
39395 fi
39396 done
39397
39398 else
39399
39400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39401 $as_echo_n "checking for _sincosl declaration... " >&6; }
39402 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39403 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39404 $as_echo_n "(cached) " >&6
39405 else
39406
39407
39408 ac_ext=cpp
39409 ac_cpp='$CXXCPP $CPPFLAGS'
39410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39413
39414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39415 /* end confdefs.h. */
39416 #include <math.h>
39417 int
39418 main ()
39419 {
39420 _sincosl(0, 0, 0);
39421 ;
39422 return 0;
39423 }
39424 _ACEOF
39425 if ac_fn_cxx_try_compile "$LINENO"; then :
39426 glibcxx_cv_func__sincosl_use=yes
39427 else
39428 glibcxx_cv_func__sincosl_use=no
39429 fi
39430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39431 ac_ext=c
39432 ac_cpp='$CPP $CPPFLAGS'
39433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39436
39437
39438 fi
39439
39440 fi
39441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39442 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39443
39444 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39445 for ac_func in _sincosl
39446 do :
39447 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39448 if test "x$ac_cv_func__sincosl" = x""yes; then :
39449 cat >>confdefs.h <<_ACEOF
39450 #define HAVE__SINCOSL 1
39451 _ACEOF
39452
39453 fi
39454 done
39455
39456 fi
39457 fi
39458
39459
39460
39461
39462
39463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39464 $as_echo_n "checking for finitel declaration... " >&6; }
39465 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39466 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39467 $as_echo_n "(cached) " >&6
39468 else
39469
39470
39471 ac_ext=cpp
39472 ac_cpp='$CXXCPP $CPPFLAGS'
39473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39476
39477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39478 /* end confdefs.h. */
39479 #include <math.h>
39480 #ifdef HAVE_IEEEFP_H
39481 #include <ieeefp.h>
39482 #endif
39483
39484 int
39485 main ()
39486 {
39487 finitel(0);
39488 ;
39489 return 0;
39490 }
39491 _ACEOF
39492 if ac_fn_cxx_try_compile "$LINENO"; then :
39493 glibcxx_cv_func_finitel_use=yes
39494 else
39495 glibcxx_cv_func_finitel_use=no
39496 fi
39497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39498 ac_ext=c
39499 ac_cpp='$CPP $CPPFLAGS'
39500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39503
39504
39505 fi
39506
39507 fi
39508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39509 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39510
39511 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39512 for ac_func in finitel
39513 do :
39514 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39515 if test "x$ac_cv_func_finitel" = x""yes; then :
39516 cat >>confdefs.h <<_ACEOF
39517 #define HAVE_FINITEL 1
39518 _ACEOF
39519
39520 fi
39521 done
39522
39523 else
39524
39525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39526 $as_echo_n "checking for _finitel declaration... " >&6; }
39527 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39528 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39529 $as_echo_n "(cached) " >&6
39530 else
39531
39532
39533 ac_ext=cpp
39534 ac_cpp='$CXXCPP $CPPFLAGS'
39535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39538
39539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39540 /* end confdefs.h. */
39541 #include <math.h>
39542 #ifdef HAVE_IEEEFP_H
39543 #include <ieeefp.h>
39544 #endif
39545
39546 int
39547 main ()
39548 {
39549 _finitel(0);
39550 ;
39551 return 0;
39552 }
39553 _ACEOF
39554 if ac_fn_cxx_try_compile "$LINENO"; then :
39555 glibcxx_cv_func__finitel_use=yes
39556 else
39557 glibcxx_cv_func__finitel_use=no
39558 fi
39559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39560 ac_ext=c
39561 ac_cpp='$CPP $CPPFLAGS'
39562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39565
39566
39567 fi
39568
39569 fi
39570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39571 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39572
39573 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39574 for ac_func in _finitel
39575 do :
39576 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39577 if test "x$ac_cv_func__finitel" = x""yes; then :
39578 cat >>confdefs.h <<_ACEOF
39579 #define HAVE__FINITEL 1
39580 _ACEOF
39581
39582 fi
39583 done
39584
39585 fi
39586 fi
39587
39588
39589
39590
39591 LIBS="$ac_save_LIBS"
39592 CXXFLAGS="$ac_save_CXXFLAGS"
39593
39594
39595 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39596 ac_save_CXXFLAGS="$CXXFLAGS"
39597 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39598
39599
39600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39601 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39602 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39603 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39604 $as_echo_n "(cached) " >&6
39605 else
39606
39607
39608 ac_ext=cpp
39609 ac_cpp='$CXXCPP $CPPFLAGS'
39610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39613
39614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39615 /* end confdefs.h. */
39616 #include <stdlib.h>
39617 int
39618 main ()
39619 {
39620 at_quick_exit(0);
39621 ;
39622 return 0;
39623 }
39624 _ACEOF
39625 if ac_fn_cxx_try_compile "$LINENO"; then :
39626 glibcxx_cv_func_at_quick_exit_use=yes
39627 else
39628 glibcxx_cv_func_at_quick_exit_use=no
39629 fi
39630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39631 ac_ext=c
39632 ac_cpp='$CPP $CPPFLAGS'
39633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39636
39637
39638 fi
39639
39640 fi
39641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39642 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39643 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39644 for ac_func in at_quick_exit
39645 do :
39646 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39647 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39648 cat >>confdefs.h <<_ACEOF
39649 #define HAVE_AT_QUICK_EXIT 1
39650 _ACEOF
39651
39652 fi
39653 done
39654
39655 fi
39656
39657
39658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39659 $as_echo_n "checking for quick_exit declaration... " >&6; }
39660 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39661 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39662 $as_echo_n "(cached) " >&6
39663 else
39664
39665
39666 ac_ext=cpp
39667 ac_cpp='$CXXCPP $CPPFLAGS'
39668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39671
39672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39673 /* end confdefs.h. */
39674 #include <stdlib.h>
39675 int
39676 main ()
39677 {
39678 quick_exit(0);
39679 ;
39680 return 0;
39681 }
39682 _ACEOF
39683 if ac_fn_cxx_try_compile "$LINENO"; then :
39684 glibcxx_cv_func_quick_exit_use=yes
39685 else
39686 glibcxx_cv_func_quick_exit_use=no
39687 fi
39688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39689 ac_ext=c
39690 ac_cpp='$CPP $CPPFLAGS'
39691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39694
39695
39696 fi
39697
39698 fi
39699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39700 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39701 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39702 for ac_func in quick_exit
39703 do :
39704 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39705 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39706 cat >>confdefs.h <<_ACEOF
39707 #define HAVE_QUICK_EXIT 1
39708 _ACEOF
39709
39710 fi
39711 done
39712
39713 fi
39714
39715
39716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39717 $as_echo_n "checking for strtold declaration... " >&6; }
39718 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39719 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39720 $as_echo_n "(cached) " >&6
39721 else
39722
39723
39724 ac_ext=cpp
39725 ac_cpp='$CXXCPP $CPPFLAGS'
39726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39729
39730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39731 /* end confdefs.h. */
39732 #include <stdlib.h>
39733 int
39734 main ()
39735 {
39736 strtold(0, 0);
39737 ;
39738 return 0;
39739 }
39740 _ACEOF
39741 if ac_fn_cxx_try_compile "$LINENO"; then :
39742 glibcxx_cv_func_strtold_use=yes
39743 else
39744 glibcxx_cv_func_strtold_use=no
39745 fi
39746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39747 ac_ext=c
39748 ac_cpp='$CPP $CPPFLAGS'
39749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39752
39753
39754 fi
39755
39756 fi
39757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39758 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39759 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39760 for ac_func in strtold
39761 do :
39762 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39763 if test "x$ac_cv_func_strtold" = x""yes; then :
39764 cat >>confdefs.h <<_ACEOF
39765 #define HAVE_STRTOLD 1
39766 _ACEOF
39767
39768 fi
39769 done
39770
39771 fi
39772
39773
39774
39775
39776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39777 $as_echo_n "checking for strtof declaration... " >&6; }
39778 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39779 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39780 $as_echo_n "(cached) " >&6
39781 else
39782
39783
39784 ac_ext=cpp
39785 ac_cpp='$CXXCPP $CPPFLAGS'
39786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39789
39790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39791 /* end confdefs.h. */
39792 #include <stdlib.h>
39793 int
39794 main ()
39795 {
39796 strtof(0, 0);
39797 ;
39798 return 0;
39799 }
39800 _ACEOF
39801 if ac_fn_cxx_try_compile "$LINENO"; then :
39802 glibcxx_cv_func_strtof_use=yes
39803 else
39804 glibcxx_cv_func_strtof_use=no
39805 fi
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39807 ac_ext=c
39808 ac_cpp='$CPP $CPPFLAGS'
39809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39812
39813
39814 fi
39815
39816 fi
39817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39818 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39819 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39820 for ac_func in strtof
39821 do :
39822 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39823 if test "x$ac_cv_func_strtof" = x""yes; then :
39824 cat >>confdefs.h <<_ACEOF
39825 #define HAVE_STRTOF 1
39826 _ACEOF
39827
39828 fi
39829 done
39830
39831 fi
39832
39833
39834
39835
39836 CXXFLAGS="$ac_save_CXXFLAGS"
39837
39838
39839
39840
39841
39842
39843 am_save_CPPFLAGS="$CPPFLAGS"
39844
39845 for element in $INCICONV; do
39846 haveit=
39847 for x in $CPPFLAGS; do
39848
39849 acl_save_prefix="$prefix"
39850 prefix="$acl_final_prefix"
39851 acl_save_exec_prefix="$exec_prefix"
39852 exec_prefix="$acl_final_exec_prefix"
39853 eval x=\"$x\"
39854 exec_prefix="$acl_save_exec_prefix"
39855 prefix="$acl_save_prefix"
39856
39857 if test "X$x" = "X$element"; then
39858 haveit=yes
39859 break
39860 fi
39861 done
39862 if test -z "$haveit"; then
39863 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39864 fi
39865 done
39866
39867
39868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39869 $as_echo_n "checking for iconv... " >&6; }
39870 if test "${am_cv_func_iconv+set}" = set; then :
39871 $as_echo_n "(cached) " >&6
39872 else
39873
39874 am_cv_func_iconv="no, consider installing GNU libiconv"
39875 am_cv_lib_iconv=no
39876 if test x$gcc_no_link = xyes; then
39877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39878 fi
39879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39880 /* end confdefs.h. */
39881 #include <stdlib.h>
39882 #include <iconv.h>
39883 int
39884 main ()
39885 {
39886 iconv_t cd = iconv_open("","");
39887 iconv(cd,NULL,NULL,NULL,NULL);
39888 iconv_close(cd);
39889 ;
39890 return 0;
39891 }
39892 _ACEOF
39893 if ac_fn_c_try_link "$LINENO"; then :
39894 am_cv_func_iconv=yes
39895 fi
39896 rm -f core conftest.err conftest.$ac_objext \
39897 conftest$ac_exeext conftest.$ac_ext
39898 if test "$am_cv_func_iconv" != yes; then
39899 am_save_LIBS="$LIBS"
39900 LIBS="$LIBS $LIBICONV"
39901 if test x$gcc_no_link = xyes; then
39902 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39903 fi
39904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39905 /* end confdefs.h. */
39906 #include <stdlib.h>
39907 #include <iconv.h>
39908 int
39909 main ()
39910 {
39911 iconv_t cd = iconv_open("","");
39912 iconv(cd,NULL,NULL,NULL,NULL);
39913 iconv_close(cd);
39914 ;
39915 return 0;
39916 }
39917 _ACEOF
39918 if ac_fn_c_try_link "$LINENO"; then :
39919 am_cv_lib_iconv=yes
39920 am_cv_func_iconv=yes
39921 fi
39922 rm -f core conftest.err conftest.$ac_objext \
39923 conftest$ac_exeext conftest.$ac_ext
39924 LIBS="$am_save_LIBS"
39925 fi
39926
39927 fi
39928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39929 $as_echo "$am_cv_func_iconv" >&6; }
39930 if test "$am_cv_func_iconv" = yes; then
39931
39932 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39933
39934 fi
39935 if test "$am_cv_lib_iconv" = yes; then
39936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39937 $as_echo_n "checking how to link with libiconv... " >&6; }
39938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39939 $as_echo "$LIBICONV" >&6; }
39940 else
39941 CPPFLAGS="$am_save_CPPFLAGS"
39942 LIBICONV=
39943 LTLIBICONV=
39944 fi
39945
39946
39947
39948 if test "$am_cv_func_iconv" = yes; then
39949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39950 $as_echo_n "checking for iconv declaration... " >&6; }
39951 if test "${am_cv_proto_iconv+set}" = set; then :
39952 $as_echo_n "(cached) " >&6
39953 else
39954
39955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39956 /* end confdefs.h. */
39957
39958 #include <stdlib.h>
39959 #include <iconv.h>
39960 extern
39961 #ifdef __cplusplus
39962 "C"
39963 #endif
39964 #if defined(__STDC__) || defined(__cplusplus)
39965 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39966 #else
39967 size_t iconv();
39968 #endif
39969
39970 int
39971 main ()
39972 {
39973
39974 ;
39975 return 0;
39976 }
39977 _ACEOF
39978 if ac_fn_c_try_compile "$LINENO"; then :
39979 am_cv_proto_iconv_arg1=""
39980 else
39981 am_cv_proto_iconv_arg1="const"
39982 fi
39983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39984 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);"
39985 fi
39986
39987 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39989 }$am_cv_proto_iconv" >&5
39990 $as_echo "${ac_t:-
39991 }$am_cv_proto_iconv" >&6; }
39992
39993 cat >>confdefs.h <<_ACEOF
39994 #define ICONV_CONST $am_cv_proto_iconv_arg1
39995 _ACEOF
39996
39997 fi
39998
39999 ;;
40000
40001 *-aix*)
40002
40003 # If we're not using GNU ld, then there's no point in even trying these
40004 # tests. Check for that first. We should have already tested for gld
40005 # by now (in libtool), but require it now just to be safe...
40006 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
40007 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
40008
40009
40010
40011 # The name set by libtool depends on the version of libtool. Shame on us
40012 # for depending on an impl detail, but c'est la vie. Older versions used
40013 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40014 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40015 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40016 # set (hence we're using an older libtool), then set it.
40017 if test x${with_gnu_ld+set} != xset; then
40018 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40019 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40020 with_gnu_ld=no
40021 else
40022 with_gnu_ld=$ac_cv_prog_gnu_ld
40023 fi
40024 fi
40025
40026 # Start by getting the version number. I think the libtool test already
40027 # does some of this, but throws away the result.
40028 glibcxx_ld_is_gold=no
40029 if test x"$with_gnu_ld" = x"yes"; then
40030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40031 $as_echo_n "checking for ld version... " >&6; }
40032
40033 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40034 glibcxx_ld_is_gold=yes
40035 fi
40036 ldver=`$LD --version 2>/dev/null |
40037 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'`
40038
40039 glibcxx_gnu_ld_version=`echo $ldver | \
40040 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40042 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40043 fi
40044
40045 # Set --gc-sections.
40046 glibcxx_have_gc_sections=no
40047 if test "$glibcxx_ld_is_gold" = "yes"; then
40048 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40049 glibcxx_have_gc_sections=yes
40050 fi
40051 else
40052 glibcxx_gcsections_min_ld=21602
40053 if test x"$with_gnu_ld" = x"yes" &&
40054 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40055 glibcxx_have_gc_sections=yes
40056 fi
40057 fi
40058 if test "$glibcxx_have_gc_sections" = "yes"; then
40059 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40060 # NB: This flag only works reliably after 2.16.1. Configure tests
40061 # for this are difficult, so hard wire a value that should work.
40062
40063 ac_test_CFLAGS="${CFLAGS+set}"
40064 ac_save_CFLAGS="$CFLAGS"
40065 CFLAGS='-Wl,--gc-sections'
40066
40067 # Check for -Wl,--gc-sections
40068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40069 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40070 if test x$gcc_no_link = xyes; then
40071 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40072 fi
40073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40074 /* end confdefs.h. */
40075 int one(void) { return 1; }
40076 int two(void) { return 2; }
40077
40078 int
40079 main ()
40080 {
40081 two();
40082 ;
40083 return 0;
40084 }
40085 _ACEOF
40086 if ac_fn_c_try_link "$LINENO"; then :
40087 ac_gcsections=yes
40088 else
40089 ac_gcsections=no
40090 fi
40091 rm -f core conftest.err conftest.$ac_objext \
40092 conftest$ac_exeext conftest.$ac_ext
40093 if test "$ac_gcsections" = "yes"; then
40094 rm -f conftest.c
40095 touch conftest.c
40096 if $CC -c conftest.c; then
40097 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40098 grep "Warning: gc-sections option ignored" > /dev/null; then
40099 ac_gcsections=no
40100 fi
40101 fi
40102 rm -f conftest.c conftest.o conftest
40103 fi
40104 if test "$ac_gcsections" = "yes"; then
40105 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40106 fi
40107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40108 $as_echo "$ac_gcsections" >&6; }
40109
40110 if test "$ac_test_CFLAGS" = set; then
40111 CFLAGS="$ac_save_CFLAGS"
40112 else
40113 # this is the suspicious part
40114 CFLAGS=''
40115 fi
40116 fi
40117
40118 # Set -z,relro.
40119 # Note this is only for shared objects.
40120 ac_ld_relro=no
40121 if test x"$with_gnu_ld" = x"yes"; then
40122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40123 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40124 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40125 if test -n "$cxx_z_relo"; then
40126 OPT_LDFLAGS="-Wl,-z,relro"
40127 ac_ld_relro=yes
40128 fi
40129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40130 $as_echo "$ac_ld_relro" >&6; }
40131 fi
40132
40133 # Set linker optimization flags.
40134 if test x"$with_gnu_ld" = x"yes"; then
40135 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40136 fi
40137
40138
40139
40140
40141
40142 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40143 ac_save_CXXFLAGS="$CXXFLAGS"
40144 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40145
40146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40147 $as_echo_n "checking for sin in -lm... " >&6; }
40148 if test "${ac_cv_lib_m_sin+set}" = set; then :
40149 $as_echo_n "(cached) " >&6
40150 else
40151 ac_check_lib_save_LIBS=$LIBS
40152 LIBS="-lm $LIBS"
40153 if test x$gcc_no_link = xyes; then
40154 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40155 fi
40156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40157 /* end confdefs.h. */
40158
40159 /* Override any GCC internal prototype to avoid an error.
40160 Use char because int might match the return type of a GCC
40161 builtin and then its argument prototype would still apply. */
40162 #ifdef __cplusplus
40163 extern "C"
40164 #endif
40165 char sin ();
40166 int
40167 main ()
40168 {
40169 return sin ();
40170 ;
40171 return 0;
40172 }
40173 _ACEOF
40174 if ac_fn_c_try_link "$LINENO"; then :
40175 ac_cv_lib_m_sin=yes
40176 else
40177 ac_cv_lib_m_sin=no
40178 fi
40179 rm -f core conftest.err conftest.$ac_objext \
40180 conftest$ac_exeext conftest.$ac_ext
40181 LIBS=$ac_check_lib_save_LIBS
40182 fi
40183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40184 $as_echo "$ac_cv_lib_m_sin" >&6; }
40185 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40186 libm="-lm"
40187 fi
40188
40189 ac_save_LIBS="$LIBS"
40190 LIBS="$LIBS $libm"
40191
40192
40193
40194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40195 $as_echo_n "checking for isinf declaration... " >&6; }
40196 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40197 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40198 $as_echo_n "(cached) " >&6
40199 else
40200
40201
40202 ac_ext=cpp
40203 ac_cpp='$CXXCPP $CPPFLAGS'
40204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40207
40208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40209 /* end confdefs.h. */
40210 #include <math.h>
40211 #ifdef HAVE_IEEEFP_H
40212 #include <ieeefp.h>
40213 #endif
40214
40215 int
40216 main ()
40217 {
40218 isinf(0);
40219 ;
40220 return 0;
40221 }
40222 _ACEOF
40223 if ac_fn_cxx_try_compile "$LINENO"; then :
40224 glibcxx_cv_func_isinf_use=yes
40225 else
40226 glibcxx_cv_func_isinf_use=no
40227 fi
40228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40229 ac_ext=c
40230 ac_cpp='$CPP $CPPFLAGS'
40231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40234
40235
40236 fi
40237
40238 fi
40239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40240 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40241
40242 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40243 for ac_func in isinf
40244 do :
40245 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40246 if test "x$ac_cv_func_isinf" = x""yes; then :
40247 cat >>confdefs.h <<_ACEOF
40248 #define HAVE_ISINF 1
40249 _ACEOF
40250
40251 fi
40252 done
40253
40254 else
40255
40256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40257 $as_echo_n "checking for _isinf declaration... " >&6; }
40258 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40259 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40260 $as_echo_n "(cached) " >&6
40261 else
40262
40263
40264 ac_ext=cpp
40265 ac_cpp='$CXXCPP $CPPFLAGS'
40266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40269
40270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40271 /* end confdefs.h. */
40272 #include <math.h>
40273 #ifdef HAVE_IEEEFP_H
40274 #include <ieeefp.h>
40275 #endif
40276
40277 int
40278 main ()
40279 {
40280 _isinf(0);
40281 ;
40282 return 0;
40283 }
40284 _ACEOF
40285 if ac_fn_cxx_try_compile "$LINENO"; then :
40286 glibcxx_cv_func__isinf_use=yes
40287 else
40288 glibcxx_cv_func__isinf_use=no
40289 fi
40290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40291 ac_ext=c
40292 ac_cpp='$CPP $CPPFLAGS'
40293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40296
40297
40298 fi
40299
40300 fi
40301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40302 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40303
40304 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40305 for ac_func in _isinf
40306 do :
40307 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40308 if test "x$ac_cv_func__isinf" = x""yes; then :
40309 cat >>confdefs.h <<_ACEOF
40310 #define HAVE__ISINF 1
40311 _ACEOF
40312
40313 fi
40314 done
40315
40316 fi
40317 fi
40318
40319
40320
40321
40322
40323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40324 $as_echo_n "checking for isnan declaration... " >&6; }
40325 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40326 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40327 $as_echo_n "(cached) " >&6
40328 else
40329
40330
40331 ac_ext=cpp
40332 ac_cpp='$CXXCPP $CPPFLAGS'
40333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40336
40337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40338 /* end confdefs.h. */
40339 #include <math.h>
40340 #ifdef HAVE_IEEEFP_H
40341 #include <ieeefp.h>
40342 #endif
40343
40344 int
40345 main ()
40346 {
40347 isnan(0);
40348 ;
40349 return 0;
40350 }
40351 _ACEOF
40352 if ac_fn_cxx_try_compile "$LINENO"; then :
40353 glibcxx_cv_func_isnan_use=yes
40354 else
40355 glibcxx_cv_func_isnan_use=no
40356 fi
40357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40358 ac_ext=c
40359 ac_cpp='$CPP $CPPFLAGS'
40360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40363
40364
40365 fi
40366
40367 fi
40368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40369 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40370
40371 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40372 for ac_func in isnan
40373 do :
40374 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40375 if test "x$ac_cv_func_isnan" = x""yes; then :
40376 cat >>confdefs.h <<_ACEOF
40377 #define HAVE_ISNAN 1
40378 _ACEOF
40379
40380 fi
40381 done
40382
40383 else
40384
40385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40386 $as_echo_n "checking for _isnan declaration... " >&6; }
40387 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40388 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40389 $as_echo_n "(cached) " >&6
40390 else
40391
40392
40393 ac_ext=cpp
40394 ac_cpp='$CXXCPP $CPPFLAGS'
40395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40398
40399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40400 /* end confdefs.h. */
40401 #include <math.h>
40402 #ifdef HAVE_IEEEFP_H
40403 #include <ieeefp.h>
40404 #endif
40405
40406 int
40407 main ()
40408 {
40409 _isnan(0);
40410 ;
40411 return 0;
40412 }
40413 _ACEOF
40414 if ac_fn_cxx_try_compile "$LINENO"; then :
40415 glibcxx_cv_func__isnan_use=yes
40416 else
40417 glibcxx_cv_func__isnan_use=no
40418 fi
40419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40420 ac_ext=c
40421 ac_cpp='$CPP $CPPFLAGS'
40422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40425
40426
40427 fi
40428
40429 fi
40430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40431 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40432
40433 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40434 for ac_func in _isnan
40435 do :
40436 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40437 if test "x$ac_cv_func__isnan" = x""yes; then :
40438 cat >>confdefs.h <<_ACEOF
40439 #define HAVE__ISNAN 1
40440 _ACEOF
40441
40442 fi
40443 done
40444
40445 fi
40446 fi
40447
40448
40449
40450
40451
40452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40453 $as_echo_n "checking for finite declaration... " >&6; }
40454 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40455 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40456 $as_echo_n "(cached) " >&6
40457 else
40458
40459
40460 ac_ext=cpp
40461 ac_cpp='$CXXCPP $CPPFLAGS'
40462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40465
40466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40467 /* end confdefs.h. */
40468 #include <math.h>
40469 #ifdef HAVE_IEEEFP_H
40470 #include <ieeefp.h>
40471 #endif
40472
40473 int
40474 main ()
40475 {
40476 finite(0);
40477 ;
40478 return 0;
40479 }
40480 _ACEOF
40481 if ac_fn_cxx_try_compile "$LINENO"; then :
40482 glibcxx_cv_func_finite_use=yes
40483 else
40484 glibcxx_cv_func_finite_use=no
40485 fi
40486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40487 ac_ext=c
40488 ac_cpp='$CPP $CPPFLAGS'
40489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40492
40493
40494 fi
40495
40496 fi
40497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40498 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40499
40500 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40501 for ac_func in finite
40502 do :
40503 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40504 if test "x$ac_cv_func_finite" = x""yes; then :
40505 cat >>confdefs.h <<_ACEOF
40506 #define HAVE_FINITE 1
40507 _ACEOF
40508
40509 fi
40510 done
40511
40512 else
40513
40514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40515 $as_echo_n "checking for _finite declaration... " >&6; }
40516 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40517 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40518 $as_echo_n "(cached) " >&6
40519 else
40520
40521
40522 ac_ext=cpp
40523 ac_cpp='$CXXCPP $CPPFLAGS'
40524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40527
40528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40529 /* end confdefs.h. */
40530 #include <math.h>
40531 #ifdef HAVE_IEEEFP_H
40532 #include <ieeefp.h>
40533 #endif
40534
40535 int
40536 main ()
40537 {
40538 _finite(0);
40539 ;
40540 return 0;
40541 }
40542 _ACEOF
40543 if ac_fn_cxx_try_compile "$LINENO"; then :
40544 glibcxx_cv_func__finite_use=yes
40545 else
40546 glibcxx_cv_func__finite_use=no
40547 fi
40548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40549 ac_ext=c
40550 ac_cpp='$CPP $CPPFLAGS'
40551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40554
40555
40556 fi
40557
40558 fi
40559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40560 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40561
40562 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40563 for ac_func in _finite
40564 do :
40565 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40566 if test "x$ac_cv_func__finite" = x""yes; then :
40567 cat >>confdefs.h <<_ACEOF
40568 #define HAVE__FINITE 1
40569 _ACEOF
40570
40571 fi
40572 done
40573
40574 fi
40575 fi
40576
40577
40578
40579
40580
40581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40582 $as_echo_n "checking for sincos declaration... " >&6; }
40583 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40584 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40585 $as_echo_n "(cached) " >&6
40586 else
40587
40588
40589 ac_ext=cpp
40590 ac_cpp='$CXXCPP $CPPFLAGS'
40591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40594
40595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40596 /* end confdefs.h. */
40597 #include <math.h>
40598 int
40599 main ()
40600 {
40601 sincos(0, 0, 0);
40602 ;
40603 return 0;
40604 }
40605 _ACEOF
40606 if ac_fn_cxx_try_compile "$LINENO"; then :
40607 glibcxx_cv_func_sincos_use=yes
40608 else
40609 glibcxx_cv_func_sincos_use=no
40610 fi
40611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40612 ac_ext=c
40613 ac_cpp='$CPP $CPPFLAGS'
40614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40617
40618
40619 fi
40620
40621 fi
40622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40623 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40624
40625 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40626 for ac_func in sincos
40627 do :
40628 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40629 if test "x$ac_cv_func_sincos" = x""yes; then :
40630 cat >>confdefs.h <<_ACEOF
40631 #define HAVE_SINCOS 1
40632 _ACEOF
40633
40634 fi
40635 done
40636
40637 else
40638
40639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40640 $as_echo_n "checking for _sincos declaration... " >&6; }
40641 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40642 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40643 $as_echo_n "(cached) " >&6
40644 else
40645
40646
40647 ac_ext=cpp
40648 ac_cpp='$CXXCPP $CPPFLAGS'
40649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40652
40653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40654 /* end confdefs.h. */
40655 #include <math.h>
40656 int
40657 main ()
40658 {
40659 _sincos(0, 0, 0);
40660 ;
40661 return 0;
40662 }
40663 _ACEOF
40664 if ac_fn_cxx_try_compile "$LINENO"; then :
40665 glibcxx_cv_func__sincos_use=yes
40666 else
40667 glibcxx_cv_func__sincos_use=no
40668 fi
40669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40670 ac_ext=c
40671 ac_cpp='$CPP $CPPFLAGS'
40672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40675
40676
40677 fi
40678
40679 fi
40680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40681 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40682
40683 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40684 for ac_func in _sincos
40685 do :
40686 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40687 if test "x$ac_cv_func__sincos" = x""yes; then :
40688 cat >>confdefs.h <<_ACEOF
40689 #define HAVE__SINCOS 1
40690 _ACEOF
40691
40692 fi
40693 done
40694
40695 fi
40696 fi
40697
40698
40699
40700
40701
40702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40703 $as_echo_n "checking for fpclass declaration... " >&6; }
40704 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40705 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40706 $as_echo_n "(cached) " >&6
40707 else
40708
40709
40710 ac_ext=cpp
40711 ac_cpp='$CXXCPP $CPPFLAGS'
40712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40715
40716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40717 /* end confdefs.h. */
40718 #include <math.h>
40719 #ifdef HAVE_IEEEFP_H
40720 #include <ieeefp.h>
40721 #endif
40722
40723 int
40724 main ()
40725 {
40726 fpclass(0);
40727 ;
40728 return 0;
40729 }
40730 _ACEOF
40731 if ac_fn_cxx_try_compile "$LINENO"; then :
40732 glibcxx_cv_func_fpclass_use=yes
40733 else
40734 glibcxx_cv_func_fpclass_use=no
40735 fi
40736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40737 ac_ext=c
40738 ac_cpp='$CPP $CPPFLAGS'
40739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40742
40743
40744 fi
40745
40746 fi
40747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40748 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40749
40750 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40751 for ac_func in fpclass
40752 do :
40753 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40754 if test "x$ac_cv_func_fpclass" = x""yes; then :
40755 cat >>confdefs.h <<_ACEOF
40756 #define HAVE_FPCLASS 1
40757 _ACEOF
40758
40759 fi
40760 done
40761
40762 else
40763
40764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40765 $as_echo_n "checking for _fpclass declaration... " >&6; }
40766 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40767 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40768 $as_echo_n "(cached) " >&6
40769 else
40770
40771
40772 ac_ext=cpp
40773 ac_cpp='$CXXCPP $CPPFLAGS'
40774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40777
40778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40779 /* end confdefs.h. */
40780 #include <math.h>
40781 #ifdef HAVE_IEEEFP_H
40782 #include <ieeefp.h>
40783 #endif
40784
40785 int
40786 main ()
40787 {
40788 _fpclass(0);
40789 ;
40790 return 0;
40791 }
40792 _ACEOF
40793 if ac_fn_cxx_try_compile "$LINENO"; then :
40794 glibcxx_cv_func__fpclass_use=yes
40795 else
40796 glibcxx_cv_func__fpclass_use=no
40797 fi
40798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40799 ac_ext=c
40800 ac_cpp='$CPP $CPPFLAGS'
40801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40804
40805
40806 fi
40807
40808 fi
40809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40810 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40811
40812 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40813 for ac_func in _fpclass
40814 do :
40815 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40816 if test "x$ac_cv_func__fpclass" = x""yes; then :
40817 cat >>confdefs.h <<_ACEOF
40818 #define HAVE__FPCLASS 1
40819 _ACEOF
40820
40821 fi
40822 done
40823
40824 fi
40825 fi
40826
40827
40828
40829
40830
40831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40832 $as_echo_n "checking for qfpclass declaration... " >&6; }
40833 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40834 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40835 $as_echo_n "(cached) " >&6
40836 else
40837
40838
40839 ac_ext=cpp
40840 ac_cpp='$CXXCPP $CPPFLAGS'
40841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40844
40845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40846 /* end confdefs.h. */
40847 #include <math.h>
40848 #ifdef HAVE_IEEEFP_H
40849 #include <ieeefp.h>
40850 #endif
40851
40852 int
40853 main ()
40854 {
40855 qfpclass(0);
40856 ;
40857 return 0;
40858 }
40859 _ACEOF
40860 if ac_fn_cxx_try_compile "$LINENO"; then :
40861 glibcxx_cv_func_qfpclass_use=yes
40862 else
40863 glibcxx_cv_func_qfpclass_use=no
40864 fi
40865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40866 ac_ext=c
40867 ac_cpp='$CPP $CPPFLAGS'
40868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40871
40872
40873 fi
40874
40875 fi
40876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40877 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40878
40879 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40880 for ac_func in qfpclass
40881 do :
40882 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40883 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40884 cat >>confdefs.h <<_ACEOF
40885 #define HAVE_QFPCLASS 1
40886 _ACEOF
40887
40888 fi
40889 done
40890
40891 else
40892
40893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40894 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40895 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40896 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40897 $as_echo_n "(cached) " >&6
40898 else
40899
40900
40901 ac_ext=cpp
40902 ac_cpp='$CXXCPP $CPPFLAGS'
40903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40906
40907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40908 /* end confdefs.h. */
40909 #include <math.h>
40910 #ifdef HAVE_IEEEFP_H
40911 #include <ieeefp.h>
40912 #endif
40913
40914 int
40915 main ()
40916 {
40917 _qfpclass(0);
40918 ;
40919 return 0;
40920 }
40921 _ACEOF
40922 if ac_fn_cxx_try_compile "$LINENO"; then :
40923 glibcxx_cv_func__qfpclass_use=yes
40924 else
40925 glibcxx_cv_func__qfpclass_use=no
40926 fi
40927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40928 ac_ext=c
40929 ac_cpp='$CPP $CPPFLAGS'
40930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40933
40934
40935 fi
40936
40937 fi
40938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40939 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40940
40941 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40942 for ac_func in _qfpclass
40943 do :
40944 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40945 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40946 cat >>confdefs.h <<_ACEOF
40947 #define HAVE__QFPCLASS 1
40948 _ACEOF
40949
40950 fi
40951 done
40952
40953 fi
40954 fi
40955
40956
40957
40958
40959
40960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40961 $as_echo_n "checking for hypot declaration... " >&6; }
40962 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40963 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40964 $as_echo_n "(cached) " >&6
40965 else
40966
40967
40968 ac_ext=cpp
40969 ac_cpp='$CXXCPP $CPPFLAGS'
40970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40973
40974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40975 /* end confdefs.h. */
40976 #include <math.h>
40977 int
40978 main ()
40979 {
40980 hypot(0, 0);
40981 ;
40982 return 0;
40983 }
40984 _ACEOF
40985 if ac_fn_cxx_try_compile "$LINENO"; then :
40986 glibcxx_cv_func_hypot_use=yes
40987 else
40988 glibcxx_cv_func_hypot_use=no
40989 fi
40990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40991 ac_ext=c
40992 ac_cpp='$CPP $CPPFLAGS'
40993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40996
40997
40998 fi
40999
41000 fi
41001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
41002 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
41003
41004 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
41005 for ac_func in hypot
41006 do :
41007 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
41008 if test "x$ac_cv_func_hypot" = x""yes; then :
41009 cat >>confdefs.h <<_ACEOF
41010 #define HAVE_HYPOT 1
41011 _ACEOF
41012
41013 fi
41014 done
41015
41016 else
41017
41018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41019 $as_echo_n "checking for _hypot declaration... " >&6; }
41020 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41021 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41022 $as_echo_n "(cached) " >&6
41023 else
41024
41025
41026 ac_ext=cpp
41027 ac_cpp='$CXXCPP $CPPFLAGS'
41028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41031
41032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41033 /* end confdefs.h. */
41034 #include <math.h>
41035 int
41036 main ()
41037 {
41038 _hypot(0, 0);
41039 ;
41040 return 0;
41041 }
41042 _ACEOF
41043 if ac_fn_cxx_try_compile "$LINENO"; then :
41044 glibcxx_cv_func__hypot_use=yes
41045 else
41046 glibcxx_cv_func__hypot_use=no
41047 fi
41048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41049 ac_ext=c
41050 ac_cpp='$CPP $CPPFLAGS'
41051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41054
41055
41056 fi
41057
41058 fi
41059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41060 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41061
41062 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41063 for ac_func in _hypot
41064 do :
41065 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41066 if test "x$ac_cv_func__hypot" = x""yes; then :
41067 cat >>confdefs.h <<_ACEOF
41068 #define HAVE__HYPOT 1
41069 _ACEOF
41070
41071 fi
41072 done
41073
41074 fi
41075 fi
41076
41077
41078
41079
41080
41081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41082 $as_echo_n "checking for float trig functions... " >&6; }
41083 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41084 $as_echo_n "(cached) " >&6
41085 else
41086
41087
41088 ac_ext=cpp
41089 ac_cpp='$CXXCPP $CPPFLAGS'
41090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41093
41094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41095 /* end confdefs.h. */
41096 #include <math.h>
41097 int
41098 main ()
41099 {
41100 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41101 ;
41102 return 0;
41103 }
41104 _ACEOF
41105 if ac_fn_cxx_try_compile "$LINENO"; then :
41106 glibcxx_cv_func_float_trig_use=yes
41107 else
41108 glibcxx_cv_func_float_trig_use=no
41109 fi
41110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41111 ac_ext=c
41112 ac_cpp='$CPP $CPPFLAGS'
41113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41116
41117 fi
41118
41119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41120 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41121 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41122 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41123 do :
41124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41126 eval as_val=\$$as_ac_var
41127 if test "x$as_val" = x""yes; then :
41128 cat >>confdefs.h <<_ACEOF
41129 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41130 _ACEOF
41131
41132 fi
41133 done
41134
41135 else
41136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41137 $as_echo_n "checking for _float trig functions... " >&6; }
41138 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41139 $as_echo_n "(cached) " >&6
41140 else
41141
41142
41143 ac_ext=cpp
41144 ac_cpp='$CXXCPP $CPPFLAGS'
41145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41148
41149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41150 /* end confdefs.h. */
41151 #include <math.h>
41152 int
41153 main ()
41154 {
41155 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41156 ;
41157 return 0;
41158 }
41159 _ACEOF
41160 if ac_fn_cxx_try_compile "$LINENO"; then :
41161 glibcxx_cv_func__float_trig_use=yes
41162 else
41163 glibcxx_cv_func__float_trig_use=no
41164 fi
41165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41166 ac_ext=c
41167 ac_cpp='$CPP $CPPFLAGS'
41168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41171
41172 fi
41173
41174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41175 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41176 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41177 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41178 do :
41179 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41180 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41181 eval as_val=\$$as_ac_var
41182 if test "x$as_val" = x""yes; then :
41183 cat >>confdefs.h <<_ACEOF
41184 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41185 _ACEOF
41186
41187 fi
41188 done
41189
41190 fi
41191 fi
41192
41193
41194
41195
41196
41197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41198 $as_echo_n "checking for float round functions... " >&6; }
41199 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41200 $as_echo_n "(cached) " >&6
41201 else
41202
41203
41204 ac_ext=cpp
41205 ac_cpp='$CXXCPP $CPPFLAGS'
41206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41209
41210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41211 /* end confdefs.h. */
41212 #include <math.h>
41213 int
41214 main ()
41215 {
41216 ceilf (0); floorf (0);
41217 ;
41218 return 0;
41219 }
41220 _ACEOF
41221 if ac_fn_cxx_try_compile "$LINENO"; then :
41222 glibcxx_cv_func_float_round_use=yes
41223 else
41224 glibcxx_cv_func_float_round_use=no
41225 fi
41226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41227 ac_ext=c
41228 ac_cpp='$CPP $CPPFLAGS'
41229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41232
41233 fi
41234
41235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41236 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41237 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41238 for ac_func in ceilf floorf
41239 do :
41240 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41241 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41242 eval as_val=\$$as_ac_var
41243 if test "x$as_val" = x""yes; then :
41244 cat >>confdefs.h <<_ACEOF
41245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41246 _ACEOF
41247
41248 fi
41249 done
41250
41251 else
41252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41253 $as_echo_n "checking for _float round functions... " >&6; }
41254 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41255 $as_echo_n "(cached) " >&6
41256 else
41257
41258
41259 ac_ext=cpp
41260 ac_cpp='$CXXCPP $CPPFLAGS'
41261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41264
41265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41266 /* end confdefs.h. */
41267 #include <math.h>
41268 int
41269 main ()
41270 {
41271 _ceilf (0); _floorf (0);
41272 ;
41273 return 0;
41274 }
41275 _ACEOF
41276 if ac_fn_cxx_try_compile "$LINENO"; then :
41277 glibcxx_cv_func__float_round_use=yes
41278 else
41279 glibcxx_cv_func__float_round_use=no
41280 fi
41281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41282 ac_ext=c
41283 ac_cpp='$CPP $CPPFLAGS'
41284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41287
41288 fi
41289
41290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41291 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41292 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41293 for ac_func in _ceilf _floorf
41294 do :
41295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41297 eval as_val=\$$as_ac_var
41298 if test "x$as_val" = x""yes; then :
41299 cat >>confdefs.h <<_ACEOF
41300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41301 _ACEOF
41302
41303 fi
41304 done
41305
41306 fi
41307 fi
41308
41309
41310
41311
41312
41313
41314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41315 $as_echo_n "checking for expf declaration... " >&6; }
41316 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41317 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41318 $as_echo_n "(cached) " >&6
41319 else
41320
41321
41322 ac_ext=cpp
41323 ac_cpp='$CXXCPP $CPPFLAGS'
41324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41327
41328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41329 /* end confdefs.h. */
41330 #include <math.h>
41331 #ifdef HAVE_IEEEFP_H
41332 #include <ieeefp.h>
41333 #endif
41334
41335 int
41336 main ()
41337 {
41338 expf(0);
41339 ;
41340 return 0;
41341 }
41342 _ACEOF
41343 if ac_fn_cxx_try_compile "$LINENO"; then :
41344 glibcxx_cv_func_expf_use=yes
41345 else
41346 glibcxx_cv_func_expf_use=no
41347 fi
41348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41349 ac_ext=c
41350 ac_cpp='$CPP $CPPFLAGS'
41351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41354
41355
41356 fi
41357
41358 fi
41359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41360 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41361
41362 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41363 for ac_func in expf
41364 do :
41365 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41366 if test "x$ac_cv_func_expf" = x""yes; then :
41367 cat >>confdefs.h <<_ACEOF
41368 #define HAVE_EXPF 1
41369 _ACEOF
41370
41371 fi
41372 done
41373
41374 else
41375
41376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41377 $as_echo_n "checking for _expf declaration... " >&6; }
41378 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41379 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41380 $as_echo_n "(cached) " >&6
41381 else
41382
41383
41384 ac_ext=cpp
41385 ac_cpp='$CXXCPP $CPPFLAGS'
41386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41389
41390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41391 /* end confdefs.h. */
41392 #include <math.h>
41393 #ifdef HAVE_IEEEFP_H
41394 #include <ieeefp.h>
41395 #endif
41396
41397 int
41398 main ()
41399 {
41400 _expf(0);
41401 ;
41402 return 0;
41403 }
41404 _ACEOF
41405 if ac_fn_cxx_try_compile "$LINENO"; then :
41406 glibcxx_cv_func__expf_use=yes
41407 else
41408 glibcxx_cv_func__expf_use=no
41409 fi
41410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41411 ac_ext=c
41412 ac_cpp='$CPP $CPPFLAGS'
41413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41416
41417
41418 fi
41419
41420 fi
41421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41422 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41423
41424 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41425 for ac_func in _expf
41426 do :
41427 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41428 if test "x$ac_cv_func__expf" = x""yes; then :
41429 cat >>confdefs.h <<_ACEOF
41430 #define HAVE__EXPF 1
41431 _ACEOF
41432
41433 fi
41434 done
41435
41436 fi
41437 fi
41438
41439
41440
41441
41442
41443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41444 $as_echo_n "checking for isnanf declaration... " >&6; }
41445 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41446 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41447 $as_echo_n "(cached) " >&6
41448 else
41449
41450
41451 ac_ext=cpp
41452 ac_cpp='$CXXCPP $CPPFLAGS'
41453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41456
41457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41458 /* end confdefs.h. */
41459 #include <math.h>
41460 #ifdef HAVE_IEEEFP_H
41461 #include <ieeefp.h>
41462 #endif
41463
41464 int
41465 main ()
41466 {
41467 isnanf(0);
41468 ;
41469 return 0;
41470 }
41471 _ACEOF
41472 if ac_fn_cxx_try_compile "$LINENO"; then :
41473 glibcxx_cv_func_isnanf_use=yes
41474 else
41475 glibcxx_cv_func_isnanf_use=no
41476 fi
41477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41478 ac_ext=c
41479 ac_cpp='$CPP $CPPFLAGS'
41480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41483
41484
41485 fi
41486
41487 fi
41488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41489 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41490
41491 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41492 for ac_func in isnanf
41493 do :
41494 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41495 if test "x$ac_cv_func_isnanf" = x""yes; then :
41496 cat >>confdefs.h <<_ACEOF
41497 #define HAVE_ISNANF 1
41498 _ACEOF
41499
41500 fi
41501 done
41502
41503 else
41504
41505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41506 $as_echo_n "checking for _isnanf declaration... " >&6; }
41507 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41508 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41509 $as_echo_n "(cached) " >&6
41510 else
41511
41512
41513 ac_ext=cpp
41514 ac_cpp='$CXXCPP $CPPFLAGS'
41515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41518
41519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41520 /* end confdefs.h. */
41521 #include <math.h>
41522 #ifdef HAVE_IEEEFP_H
41523 #include <ieeefp.h>
41524 #endif
41525
41526 int
41527 main ()
41528 {
41529 _isnanf(0);
41530 ;
41531 return 0;
41532 }
41533 _ACEOF
41534 if ac_fn_cxx_try_compile "$LINENO"; then :
41535 glibcxx_cv_func__isnanf_use=yes
41536 else
41537 glibcxx_cv_func__isnanf_use=no
41538 fi
41539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41540 ac_ext=c
41541 ac_cpp='$CPP $CPPFLAGS'
41542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41545
41546
41547 fi
41548
41549 fi
41550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41551 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41552
41553 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41554 for ac_func in _isnanf
41555 do :
41556 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41557 if test "x$ac_cv_func__isnanf" = x""yes; then :
41558 cat >>confdefs.h <<_ACEOF
41559 #define HAVE__ISNANF 1
41560 _ACEOF
41561
41562 fi
41563 done
41564
41565 fi
41566 fi
41567
41568
41569
41570
41571
41572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41573 $as_echo_n "checking for isinff declaration... " >&6; }
41574 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41575 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41576 $as_echo_n "(cached) " >&6
41577 else
41578
41579
41580 ac_ext=cpp
41581 ac_cpp='$CXXCPP $CPPFLAGS'
41582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41585
41586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41587 /* end confdefs.h. */
41588 #include <math.h>
41589 #ifdef HAVE_IEEEFP_H
41590 #include <ieeefp.h>
41591 #endif
41592
41593 int
41594 main ()
41595 {
41596 isinff(0);
41597 ;
41598 return 0;
41599 }
41600 _ACEOF
41601 if ac_fn_cxx_try_compile "$LINENO"; then :
41602 glibcxx_cv_func_isinff_use=yes
41603 else
41604 glibcxx_cv_func_isinff_use=no
41605 fi
41606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41607 ac_ext=c
41608 ac_cpp='$CPP $CPPFLAGS'
41609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41612
41613
41614 fi
41615
41616 fi
41617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41618 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41619
41620 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41621 for ac_func in isinff
41622 do :
41623 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41624 if test "x$ac_cv_func_isinff" = x""yes; then :
41625 cat >>confdefs.h <<_ACEOF
41626 #define HAVE_ISINFF 1
41627 _ACEOF
41628
41629 fi
41630 done
41631
41632 else
41633
41634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41635 $as_echo_n "checking for _isinff declaration... " >&6; }
41636 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41637 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41638 $as_echo_n "(cached) " >&6
41639 else
41640
41641
41642 ac_ext=cpp
41643 ac_cpp='$CXXCPP $CPPFLAGS'
41644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41647
41648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41649 /* end confdefs.h. */
41650 #include <math.h>
41651 #ifdef HAVE_IEEEFP_H
41652 #include <ieeefp.h>
41653 #endif
41654
41655 int
41656 main ()
41657 {
41658 _isinff(0);
41659 ;
41660 return 0;
41661 }
41662 _ACEOF
41663 if ac_fn_cxx_try_compile "$LINENO"; then :
41664 glibcxx_cv_func__isinff_use=yes
41665 else
41666 glibcxx_cv_func__isinff_use=no
41667 fi
41668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41669 ac_ext=c
41670 ac_cpp='$CPP $CPPFLAGS'
41671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41674
41675
41676 fi
41677
41678 fi
41679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41680 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41681
41682 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41683 for ac_func in _isinff
41684 do :
41685 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41686 if test "x$ac_cv_func__isinff" = x""yes; then :
41687 cat >>confdefs.h <<_ACEOF
41688 #define HAVE__ISINFF 1
41689 _ACEOF
41690
41691 fi
41692 done
41693
41694 fi
41695 fi
41696
41697
41698
41699
41700
41701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41702 $as_echo_n "checking for atan2f declaration... " >&6; }
41703 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41704 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41705 $as_echo_n "(cached) " >&6
41706 else
41707
41708
41709 ac_ext=cpp
41710 ac_cpp='$CXXCPP $CPPFLAGS'
41711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41714
41715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41716 /* end confdefs.h. */
41717 #include <math.h>
41718 int
41719 main ()
41720 {
41721 atan2f(0, 0);
41722 ;
41723 return 0;
41724 }
41725 _ACEOF
41726 if ac_fn_cxx_try_compile "$LINENO"; then :
41727 glibcxx_cv_func_atan2f_use=yes
41728 else
41729 glibcxx_cv_func_atan2f_use=no
41730 fi
41731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41732 ac_ext=c
41733 ac_cpp='$CPP $CPPFLAGS'
41734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41737
41738
41739 fi
41740
41741 fi
41742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41743 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41744
41745 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41746 for ac_func in atan2f
41747 do :
41748 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41749 if test "x$ac_cv_func_atan2f" = x""yes; then :
41750 cat >>confdefs.h <<_ACEOF
41751 #define HAVE_ATAN2F 1
41752 _ACEOF
41753
41754 fi
41755 done
41756
41757 else
41758
41759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41760 $as_echo_n "checking for _atan2f declaration... " >&6; }
41761 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41762 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41763 $as_echo_n "(cached) " >&6
41764 else
41765
41766
41767 ac_ext=cpp
41768 ac_cpp='$CXXCPP $CPPFLAGS'
41769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41772
41773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41774 /* end confdefs.h. */
41775 #include <math.h>
41776 int
41777 main ()
41778 {
41779 _atan2f(0, 0);
41780 ;
41781 return 0;
41782 }
41783 _ACEOF
41784 if ac_fn_cxx_try_compile "$LINENO"; then :
41785 glibcxx_cv_func__atan2f_use=yes
41786 else
41787 glibcxx_cv_func__atan2f_use=no
41788 fi
41789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41790 ac_ext=c
41791 ac_cpp='$CPP $CPPFLAGS'
41792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41795
41796
41797 fi
41798
41799 fi
41800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41801 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41802
41803 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41804 for ac_func in _atan2f
41805 do :
41806 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41807 if test "x$ac_cv_func__atan2f" = x""yes; then :
41808 cat >>confdefs.h <<_ACEOF
41809 #define HAVE__ATAN2F 1
41810 _ACEOF
41811
41812 fi
41813 done
41814
41815 fi
41816 fi
41817
41818
41819
41820
41821
41822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41823 $as_echo_n "checking for fabsf declaration... " >&6; }
41824 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41825 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41826 $as_echo_n "(cached) " >&6
41827 else
41828
41829
41830 ac_ext=cpp
41831 ac_cpp='$CXXCPP $CPPFLAGS'
41832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41835
41836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41837 /* end confdefs.h. */
41838 #include <math.h>
41839 #ifdef HAVE_IEEEFP_H
41840 #include <ieeefp.h>
41841 #endif
41842
41843 int
41844 main ()
41845 {
41846 fabsf(0);
41847 ;
41848 return 0;
41849 }
41850 _ACEOF
41851 if ac_fn_cxx_try_compile "$LINENO"; then :
41852 glibcxx_cv_func_fabsf_use=yes
41853 else
41854 glibcxx_cv_func_fabsf_use=no
41855 fi
41856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41857 ac_ext=c
41858 ac_cpp='$CPP $CPPFLAGS'
41859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41862
41863
41864 fi
41865
41866 fi
41867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41868 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41869
41870 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41871 for ac_func in fabsf
41872 do :
41873 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41874 if test "x$ac_cv_func_fabsf" = x""yes; then :
41875 cat >>confdefs.h <<_ACEOF
41876 #define HAVE_FABSF 1
41877 _ACEOF
41878
41879 fi
41880 done
41881
41882 else
41883
41884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41885 $as_echo_n "checking for _fabsf declaration... " >&6; }
41886 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41887 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41888 $as_echo_n "(cached) " >&6
41889 else
41890
41891
41892 ac_ext=cpp
41893 ac_cpp='$CXXCPP $CPPFLAGS'
41894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41897
41898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41899 /* end confdefs.h. */
41900 #include <math.h>
41901 #ifdef HAVE_IEEEFP_H
41902 #include <ieeefp.h>
41903 #endif
41904
41905 int
41906 main ()
41907 {
41908 _fabsf(0);
41909 ;
41910 return 0;
41911 }
41912 _ACEOF
41913 if ac_fn_cxx_try_compile "$LINENO"; then :
41914 glibcxx_cv_func__fabsf_use=yes
41915 else
41916 glibcxx_cv_func__fabsf_use=no
41917 fi
41918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41919 ac_ext=c
41920 ac_cpp='$CPP $CPPFLAGS'
41921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41924
41925
41926 fi
41927
41928 fi
41929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41930 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41931
41932 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41933 for ac_func in _fabsf
41934 do :
41935 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41936 if test "x$ac_cv_func__fabsf" = x""yes; then :
41937 cat >>confdefs.h <<_ACEOF
41938 #define HAVE__FABSF 1
41939 _ACEOF
41940
41941 fi
41942 done
41943
41944 fi
41945 fi
41946
41947
41948
41949
41950
41951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41952 $as_echo_n "checking for fmodf declaration... " >&6; }
41953 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41954 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41955 $as_echo_n "(cached) " >&6
41956 else
41957
41958
41959 ac_ext=cpp
41960 ac_cpp='$CXXCPP $CPPFLAGS'
41961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41964
41965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41966 /* end confdefs.h. */
41967 #include <math.h>
41968 int
41969 main ()
41970 {
41971 fmodf(0, 0);
41972 ;
41973 return 0;
41974 }
41975 _ACEOF
41976 if ac_fn_cxx_try_compile "$LINENO"; then :
41977 glibcxx_cv_func_fmodf_use=yes
41978 else
41979 glibcxx_cv_func_fmodf_use=no
41980 fi
41981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41982 ac_ext=c
41983 ac_cpp='$CPP $CPPFLAGS'
41984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41987
41988
41989 fi
41990
41991 fi
41992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41993 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41994
41995 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41996 for ac_func in fmodf
41997 do :
41998 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41999 if test "x$ac_cv_func_fmodf" = x""yes; then :
42000 cat >>confdefs.h <<_ACEOF
42001 #define HAVE_FMODF 1
42002 _ACEOF
42003
42004 fi
42005 done
42006
42007 else
42008
42009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
42010 $as_echo_n "checking for _fmodf declaration... " >&6; }
42011 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42012 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42013 $as_echo_n "(cached) " >&6
42014 else
42015
42016
42017 ac_ext=cpp
42018 ac_cpp='$CXXCPP $CPPFLAGS'
42019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42022
42023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42024 /* end confdefs.h. */
42025 #include <math.h>
42026 int
42027 main ()
42028 {
42029 _fmodf(0, 0);
42030 ;
42031 return 0;
42032 }
42033 _ACEOF
42034 if ac_fn_cxx_try_compile "$LINENO"; then :
42035 glibcxx_cv_func__fmodf_use=yes
42036 else
42037 glibcxx_cv_func__fmodf_use=no
42038 fi
42039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42040 ac_ext=c
42041 ac_cpp='$CPP $CPPFLAGS'
42042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42045
42046
42047 fi
42048
42049 fi
42050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42051 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42052
42053 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42054 for ac_func in _fmodf
42055 do :
42056 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42057 if test "x$ac_cv_func__fmodf" = x""yes; then :
42058 cat >>confdefs.h <<_ACEOF
42059 #define HAVE__FMODF 1
42060 _ACEOF
42061
42062 fi
42063 done
42064
42065 fi
42066 fi
42067
42068
42069
42070
42071
42072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42073 $as_echo_n "checking for frexpf declaration... " >&6; }
42074 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42075 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42076 $as_echo_n "(cached) " >&6
42077 else
42078
42079
42080 ac_ext=cpp
42081 ac_cpp='$CXXCPP $CPPFLAGS'
42082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42085
42086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42087 /* end confdefs.h. */
42088 #include <math.h>
42089 int
42090 main ()
42091 {
42092 frexpf(0, 0);
42093 ;
42094 return 0;
42095 }
42096 _ACEOF
42097 if ac_fn_cxx_try_compile "$LINENO"; then :
42098 glibcxx_cv_func_frexpf_use=yes
42099 else
42100 glibcxx_cv_func_frexpf_use=no
42101 fi
42102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42103 ac_ext=c
42104 ac_cpp='$CPP $CPPFLAGS'
42105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42108
42109
42110 fi
42111
42112 fi
42113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42114 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42115
42116 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42117 for ac_func in frexpf
42118 do :
42119 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42120 if test "x$ac_cv_func_frexpf" = x""yes; then :
42121 cat >>confdefs.h <<_ACEOF
42122 #define HAVE_FREXPF 1
42123 _ACEOF
42124
42125 fi
42126 done
42127
42128 else
42129
42130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42131 $as_echo_n "checking for _frexpf declaration... " >&6; }
42132 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42133 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42134 $as_echo_n "(cached) " >&6
42135 else
42136
42137
42138 ac_ext=cpp
42139 ac_cpp='$CXXCPP $CPPFLAGS'
42140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42143
42144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42145 /* end confdefs.h. */
42146 #include <math.h>
42147 int
42148 main ()
42149 {
42150 _frexpf(0, 0);
42151 ;
42152 return 0;
42153 }
42154 _ACEOF
42155 if ac_fn_cxx_try_compile "$LINENO"; then :
42156 glibcxx_cv_func__frexpf_use=yes
42157 else
42158 glibcxx_cv_func__frexpf_use=no
42159 fi
42160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42161 ac_ext=c
42162 ac_cpp='$CPP $CPPFLAGS'
42163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42166
42167
42168 fi
42169
42170 fi
42171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42172 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42173
42174 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42175 for ac_func in _frexpf
42176 do :
42177 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42178 if test "x$ac_cv_func__frexpf" = x""yes; then :
42179 cat >>confdefs.h <<_ACEOF
42180 #define HAVE__FREXPF 1
42181 _ACEOF
42182
42183 fi
42184 done
42185
42186 fi
42187 fi
42188
42189
42190
42191
42192
42193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42194 $as_echo_n "checking for hypotf declaration... " >&6; }
42195 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42196 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42197 $as_echo_n "(cached) " >&6
42198 else
42199
42200
42201 ac_ext=cpp
42202 ac_cpp='$CXXCPP $CPPFLAGS'
42203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42206
42207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42208 /* end confdefs.h. */
42209 #include <math.h>
42210 int
42211 main ()
42212 {
42213 hypotf(0, 0);
42214 ;
42215 return 0;
42216 }
42217 _ACEOF
42218 if ac_fn_cxx_try_compile "$LINENO"; then :
42219 glibcxx_cv_func_hypotf_use=yes
42220 else
42221 glibcxx_cv_func_hypotf_use=no
42222 fi
42223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42224 ac_ext=c
42225 ac_cpp='$CPP $CPPFLAGS'
42226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42229
42230
42231 fi
42232
42233 fi
42234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42235 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42236
42237 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42238 for ac_func in hypotf
42239 do :
42240 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42241 if test "x$ac_cv_func_hypotf" = x""yes; then :
42242 cat >>confdefs.h <<_ACEOF
42243 #define HAVE_HYPOTF 1
42244 _ACEOF
42245
42246 fi
42247 done
42248
42249 else
42250
42251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42252 $as_echo_n "checking for _hypotf declaration... " >&6; }
42253 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42254 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42255 $as_echo_n "(cached) " >&6
42256 else
42257
42258
42259 ac_ext=cpp
42260 ac_cpp='$CXXCPP $CPPFLAGS'
42261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42264
42265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42266 /* end confdefs.h. */
42267 #include <math.h>
42268 int
42269 main ()
42270 {
42271 _hypotf(0, 0);
42272 ;
42273 return 0;
42274 }
42275 _ACEOF
42276 if ac_fn_cxx_try_compile "$LINENO"; then :
42277 glibcxx_cv_func__hypotf_use=yes
42278 else
42279 glibcxx_cv_func__hypotf_use=no
42280 fi
42281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42282 ac_ext=c
42283 ac_cpp='$CPP $CPPFLAGS'
42284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42287
42288
42289 fi
42290
42291 fi
42292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42293 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42294
42295 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42296 for ac_func in _hypotf
42297 do :
42298 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42299 if test "x$ac_cv_func__hypotf" = x""yes; then :
42300 cat >>confdefs.h <<_ACEOF
42301 #define HAVE__HYPOTF 1
42302 _ACEOF
42303
42304 fi
42305 done
42306
42307 fi
42308 fi
42309
42310
42311
42312
42313
42314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42315 $as_echo_n "checking for ldexpf declaration... " >&6; }
42316 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42317 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42318 $as_echo_n "(cached) " >&6
42319 else
42320
42321
42322 ac_ext=cpp
42323 ac_cpp='$CXXCPP $CPPFLAGS'
42324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42327
42328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42329 /* end confdefs.h. */
42330 #include <math.h>
42331 int
42332 main ()
42333 {
42334 ldexpf(0, 0);
42335 ;
42336 return 0;
42337 }
42338 _ACEOF
42339 if ac_fn_cxx_try_compile "$LINENO"; then :
42340 glibcxx_cv_func_ldexpf_use=yes
42341 else
42342 glibcxx_cv_func_ldexpf_use=no
42343 fi
42344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42345 ac_ext=c
42346 ac_cpp='$CPP $CPPFLAGS'
42347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42350
42351
42352 fi
42353
42354 fi
42355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42356 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42357
42358 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42359 for ac_func in ldexpf
42360 do :
42361 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42362 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42363 cat >>confdefs.h <<_ACEOF
42364 #define HAVE_LDEXPF 1
42365 _ACEOF
42366
42367 fi
42368 done
42369
42370 else
42371
42372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42373 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42374 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42375 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42376 $as_echo_n "(cached) " >&6
42377 else
42378
42379
42380 ac_ext=cpp
42381 ac_cpp='$CXXCPP $CPPFLAGS'
42382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42385
42386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42387 /* end confdefs.h. */
42388 #include <math.h>
42389 int
42390 main ()
42391 {
42392 _ldexpf(0, 0);
42393 ;
42394 return 0;
42395 }
42396 _ACEOF
42397 if ac_fn_cxx_try_compile "$LINENO"; then :
42398 glibcxx_cv_func__ldexpf_use=yes
42399 else
42400 glibcxx_cv_func__ldexpf_use=no
42401 fi
42402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42403 ac_ext=c
42404 ac_cpp='$CPP $CPPFLAGS'
42405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42408
42409
42410 fi
42411
42412 fi
42413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42414 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42415
42416 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42417 for ac_func in _ldexpf
42418 do :
42419 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42420 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42421 cat >>confdefs.h <<_ACEOF
42422 #define HAVE__LDEXPF 1
42423 _ACEOF
42424
42425 fi
42426 done
42427
42428 fi
42429 fi
42430
42431
42432
42433
42434
42435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42436 $as_echo_n "checking for logf declaration... " >&6; }
42437 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42438 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42439 $as_echo_n "(cached) " >&6
42440 else
42441
42442
42443 ac_ext=cpp
42444 ac_cpp='$CXXCPP $CPPFLAGS'
42445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42448
42449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42450 /* end confdefs.h. */
42451 #include <math.h>
42452 #ifdef HAVE_IEEEFP_H
42453 #include <ieeefp.h>
42454 #endif
42455
42456 int
42457 main ()
42458 {
42459 logf(0);
42460 ;
42461 return 0;
42462 }
42463 _ACEOF
42464 if ac_fn_cxx_try_compile "$LINENO"; then :
42465 glibcxx_cv_func_logf_use=yes
42466 else
42467 glibcxx_cv_func_logf_use=no
42468 fi
42469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42470 ac_ext=c
42471 ac_cpp='$CPP $CPPFLAGS'
42472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42475
42476
42477 fi
42478
42479 fi
42480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42481 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42482
42483 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42484 for ac_func in logf
42485 do :
42486 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42487 if test "x$ac_cv_func_logf" = x""yes; then :
42488 cat >>confdefs.h <<_ACEOF
42489 #define HAVE_LOGF 1
42490 _ACEOF
42491
42492 fi
42493 done
42494
42495 else
42496
42497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42498 $as_echo_n "checking for _logf declaration... " >&6; }
42499 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42500 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42501 $as_echo_n "(cached) " >&6
42502 else
42503
42504
42505 ac_ext=cpp
42506 ac_cpp='$CXXCPP $CPPFLAGS'
42507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42510
42511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42512 /* end confdefs.h. */
42513 #include <math.h>
42514 #ifdef HAVE_IEEEFP_H
42515 #include <ieeefp.h>
42516 #endif
42517
42518 int
42519 main ()
42520 {
42521 _logf(0);
42522 ;
42523 return 0;
42524 }
42525 _ACEOF
42526 if ac_fn_cxx_try_compile "$LINENO"; then :
42527 glibcxx_cv_func__logf_use=yes
42528 else
42529 glibcxx_cv_func__logf_use=no
42530 fi
42531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42532 ac_ext=c
42533 ac_cpp='$CPP $CPPFLAGS'
42534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42537
42538
42539 fi
42540
42541 fi
42542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42543 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42544
42545 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42546 for ac_func in _logf
42547 do :
42548 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42549 if test "x$ac_cv_func__logf" = x""yes; then :
42550 cat >>confdefs.h <<_ACEOF
42551 #define HAVE__LOGF 1
42552 _ACEOF
42553
42554 fi
42555 done
42556
42557 fi
42558 fi
42559
42560
42561
42562
42563
42564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42565 $as_echo_n "checking for log10f declaration... " >&6; }
42566 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42567 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42568 $as_echo_n "(cached) " >&6
42569 else
42570
42571
42572 ac_ext=cpp
42573 ac_cpp='$CXXCPP $CPPFLAGS'
42574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42577
42578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42579 /* end confdefs.h. */
42580 #include <math.h>
42581 #ifdef HAVE_IEEEFP_H
42582 #include <ieeefp.h>
42583 #endif
42584
42585 int
42586 main ()
42587 {
42588 log10f(0);
42589 ;
42590 return 0;
42591 }
42592 _ACEOF
42593 if ac_fn_cxx_try_compile "$LINENO"; then :
42594 glibcxx_cv_func_log10f_use=yes
42595 else
42596 glibcxx_cv_func_log10f_use=no
42597 fi
42598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42599 ac_ext=c
42600 ac_cpp='$CPP $CPPFLAGS'
42601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42604
42605
42606 fi
42607
42608 fi
42609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42610 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42611
42612 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42613 for ac_func in log10f
42614 do :
42615 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42616 if test "x$ac_cv_func_log10f" = x""yes; then :
42617 cat >>confdefs.h <<_ACEOF
42618 #define HAVE_LOG10F 1
42619 _ACEOF
42620
42621 fi
42622 done
42623
42624 else
42625
42626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42627 $as_echo_n "checking for _log10f declaration... " >&6; }
42628 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42629 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42630 $as_echo_n "(cached) " >&6
42631 else
42632
42633
42634 ac_ext=cpp
42635 ac_cpp='$CXXCPP $CPPFLAGS'
42636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42639
42640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42641 /* end confdefs.h. */
42642 #include <math.h>
42643 #ifdef HAVE_IEEEFP_H
42644 #include <ieeefp.h>
42645 #endif
42646
42647 int
42648 main ()
42649 {
42650 _log10f(0);
42651 ;
42652 return 0;
42653 }
42654 _ACEOF
42655 if ac_fn_cxx_try_compile "$LINENO"; then :
42656 glibcxx_cv_func__log10f_use=yes
42657 else
42658 glibcxx_cv_func__log10f_use=no
42659 fi
42660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42661 ac_ext=c
42662 ac_cpp='$CPP $CPPFLAGS'
42663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42666
42667
42668 fi
42669
42670 fi
42671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42672 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42673
42674 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42675 for ac_func in _log10f
42676 do :
42677 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42678 if test "x$ac_cv_func__log10f" = x""yes; then :
42679 cat >>confdefs.h <<_ACEOF
42680 #define HAVE__LOG10F 1
42681 _ACEOF
42682
42683 fi
42684 done
42685
42686 fi
42687 fi
42688
42689
42690
42691
42692
42693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42694 $as_echo_n "checking for modff declaration... " >&6; }
42695 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42696 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42697 $as_echo_n "(cached) " >&6
42698 else
42699
42700
42701 ac_ext=cpp
42702 ac_cpp='$CXXCPP $CPPFLAGS'
42703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42706
42707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42708 /* end confdefs.h. */
42709 #include <math.h>
42710 int
42711 main ()
42712 {
42713 modff(0, 0);
42714 ;
42715 return 0;
42716 }
42717 _ACEOF
42718 if ac_fn_cxx_try_compile "$LINENO"; then :
42719 glibcxx_cv_func_modff_use=yes
42720 else
42721 glibcxx_cv_func_modff_use=no
42722 fi
42723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42724 ac_ext=c
42725 ac_cpp='$CPP $CPPFLAGS'
42726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42729
42730
42731 fi
42732
42733 fi
42734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42735 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42736
42737 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42738 for ac_func in modff
42739 do :
42740 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42741 if test "x$ac_cv_func_modff" = x""yes; then :
42742 cat >>confdefs.h <<_ACEOF
42743 #define HAVE_MODFF 1
42744 _ACEOF
42745
42746 fi
42747 done
42748
42749 else
42750
42751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42752 $as_echo_n "checking for _modff declaration... " >&6; }
42753 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42754 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42755 $as_echo_n "(cached) " >&6
42756 else
42757
42758
42759 ac_ext=cpp
42760 ac_cpp='$CXXCPP $CPPFLAGS'
42761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42764
42765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42766 /* end confdefs.h. */
42767 #include <math.h>
42768 int
42769 main ()
42770 {
42771 _modff(0, 0);
42772 ;
42773 return 0;
42774 }
42775 _ACEOF
42776 if ac_fn_cxx_try_compile "$LINENO"; then :
42777 glibcxx_cv_func__modff_use=yes
42778 else
42779 glibcxx_cv_func__modff_use=no
42780 fi
42781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42782 ac_ext=c
42783 ac_cpp='$CPP $CPPFLAGS'
42784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42787
42788
42789 fi
42790
42791 fi
42792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42793 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42794
42795 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42796 for ac_func in _modff
42797 do :
42798 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42799 if test "x$ac_cv_func__modff" = x""yes; then :
42800 cat >>confdefs.h <<_ACEOF
42801 #define HAVE__MODFF 1
42802 _ACEOF
42803
42804 fi
42805 done
42806
42807 fi
42808 fi
42809
42810
42811
42812
42813
42814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42815 $as_echo_n "checking for modf declaration... " >&6; }
42816 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42817 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42818 $as_echo_n "(cached) " >&6
42819 else
42820
42821
42822 ac_ext=cpp
42823 ac_cpp='$CXXCPP $CPPFLAGS'
42824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42827
42828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42829 /* end confdefs.h. */
42830 #include <math.h>
42831 int
42832 main ()
42833 {
42834 modf(0, 0);
42835 ;
42836 return 0;
42837 }
42838 _ACEOF
42839 if ac_fn_cxx_try_compile "$LINENO"; then :
42840 glibcxx_cv_func_modf_use=yes
42841 else
42842 glibcxx_cv_func_modf_use=no
42843 fi
42844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42845 ac_ext=c
42846 ac_cpp='$CPP $CPPFLAGS'
42847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42850
42851
42852 fi
42853
42854 fi
42855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42856 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42857
42858 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42859 for ac_func in modf
42860 do :
42861 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42862 if test "x$ac_cv_func_modf" = x""yes; then :
42863 cat >>confdefs.h <<_ACEOF
42864 #define HAVE_MODF 1
42865 _ACEOF
42866
42867 fi
42868 done
42869
42870 else
42871
42872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42873 $as_echo_n "checking for _modf declaration... " >&6; }
42874 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42875 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42876 $as_echo_n "(cached) " >&6
42877 else
42878
42879
42880 ac_ext=cpp
42881 ac_cpp='$CXXCPP $CPPFLAGS'
42882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42885
42886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42887 /* end confdefs.h. */
42888 #include <math.h>
42889 int
42890 main ()
42891 {
42892 _modf(0, 0);
42893 ;
42894 return 0;
42895 }
42896 _ACEOF
42897 if ac_fn_cxx_try_compile "$LINENO"; then :
42898 glibcxx_cv_func__modf_use=yes
42899 else
42900 glibcxx_cv_func__modf_use=no
42901 fi
42902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42903 ac_ext=c
42904 ac_cpp='$CPP $CPPFLAGS'
42905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42908
42909
42910 fi
42911
42912 fi
42913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42914 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42915
42916 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42917 for ac_func in _modf
42918 do :
42919 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42920 if test "x$ac_cv_func__modf" = x""yes; then :
42921 cat >>confdefs.h <<_ACEOF
42922 #define HAVE__MODF 1
42923 _ACEOF
42924
42925 fi
42926 done
42927
42928 fi
42929 fi
42930
42931
42932
42933
42934
42935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42936 $as_echo_n "checking for powf declaration... " >&6; }
42937 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42938 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42939 $as_echo_n "(cached) " >&6
42940 else
42941
42942
42943 ac_ext=cpp
42944 ac_cpp='$CXXCPP $CPPFLAGS'
42945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42948
42949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42950 /* end confdefs.h. */
42951 #include <math.h>
42952 int
42953 main ()
42954 {
42955 powf(0, 0);
42956 ;
42957 return 0;
42958 }
42959 _ACEOF
42960 if ac_fn_cxx_try_compile "$LINENO"; then :
42961 glibcxx_cv_func_powf_use=yes
42962 else
42963 glibcxx_cv_func_powf_use=no
42964 fi
42965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42966 ac_ext=c
42967 ac_cpp='$CPP $CPPFLAGS'
42968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42971
42972
42973 fi
42974
42975 fi
42976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42977 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42978
42979 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42980 for ac_func in powf
42981 do :
42982 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42983 if test "x$ac_cv_func_powf" = x""yes; then :
42984 cat >>confdefs.h <<_ACEOF
42985 #define HAVE_POWF 1
42986 _ACEOF
42987
42988 fi
42989 done
42990
42991 else
42992
42993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42994 $as_echo_n "checking for _powf declaration... " >&6; }
42995 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42996 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42997 $as_echo_n "(cached) " >&6
42998 else
42999
43000
43001 ac_ext=cpp
43002 ac_cpp='$CXXCPP $CPPFLAGS'
43003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43006
43007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43008 /* end confdefs.h. */
43009 #include <math.h>
43010 int
43011 main ()
43012 {
43013 _powf(0, 0);
43014 ;
43015 return 0;
43016 }
43017 _ACEOF
43018 if ac_fn_cxx_try_compile "$LINENO"; then :
43019 glibcxx_cv_func__powf_use=yes
43020 else
43021 glibcxx_cv_func__powf_use=no
43022 fi
43023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43024 ac_ext=c
43025 ac_cpp='$CPP $CPPFLAGS'
43026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43029
43030
43031 fi
43032
43033 fi
43034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43035 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43036
43037 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43038 for ac_func in _powf
43039 do :
43040 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43041 if test "x$ac_cv_func__powf" = x""yes; then :
43042 cat >>confdefs.h <<_ACEOF
43043 #define HAVE__POWF 1
43044 _ACEOF
43045
43046 fi
43047 done
43048
43049 fi
43050 fi
43051
43052
43053
43054
43055
43056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43057 $as_echo_n "checking for sqrtf declaration... " >&6; }
43058 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43059 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43060 $as_echo_n "(cached) " >&6
43061 else
43062
43063
43064 ac_ext=cpp
43065 ac_cpp='$CXXCPP $CPPFLAGS'
43066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43069
43070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43071 /* end confdefs.h. */
43072 #include <math.h>
43073 #ifdef HAVE_IEEEFP_H
43074 #include <ieeefp.h>
43075 #endif
43076
43077 int
43078 main ()
43079 {
43080 sqrtf(0);
43081 ;
43082 return 0;
43083 }
43084 _ACEOF
43085 if ac_fn_cxx_try_compile "$LINENO"; then :
43086 glibcxx_cv_func_sqrtf_use=yes
43087 else
43088 glibcxx_cv_func_sqrtf_use=no
43089 fi
43090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43091 ac_ext=c
43092 ac_cpp='$CPP $CPPFLAGS'
43093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43096
43097
43098 fi
43099
43100 fi
43101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43102 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43103
43104 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43105 for ac_func in sqrtf
43106 do :
43107 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43108 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43109 cat >>confdefs.h <<_ACEOF
43110 #define HAVE_SQRTF 1
43111 _ACEOF
43112
43113 fi
43114 done
43115
43116 else
43117
43118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43119 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43120 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43121 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43122 $as_echo_n "(cached) " >&6
43123 else
43124
43125
43126 ac_ext=cpp
43127 ac_cpp='$CXXCPP $CPPFLAGS'
43128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43131
43132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43133 /* end confdefs.h. */
43134 #include <math.h>
43135 #ifdef HAVE_IEEEFP_H
43136 #include <ieeefp.h>
43137 #endif
43138
43139 int
43140 main ()
43141 {
43142 _sqrtf(0);
43143 ;
43144 return 0;
43145 }
43146 _ACEOF
43147 if ac_fn_cxx_try_compile "$LINENO"; then :
43148 glibcxx_cv_func__sqrtf_use=yes
43149 else
43150 glibcxx_cv_func__sqrtf_use=no
43151 fi
43152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43153 ac_ext=c
43154 ac_cpp='$CPP $CPPFLAGS'
43155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43158
43159
43160 fi
43161
43162 fi
43163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43164 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43165
43166 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43167 for ac_func in _sqrtf
43168 do :
43169 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43170 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43171 cat >>confdefs.h <<_ACEOF
43172 #define HAVE__SQRTF 1
43173 _ACEOF
43174
43175 fi
43176 done
43177
43178 fi
43179 fi
43180
43181
43182
43183
43184
43185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43186 $as_echo_n "checking for sincosf declaration... " >&6; }
43187 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43188 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43189 $as_echo_n "(cached) " >&6
43190 else
43191
43192
43193 ac_ext=cpp
43194 ac_cpp='$CXXCPP $CPPFLAGS'
43195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43198
43199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43200 /* end confdefs.h. */
43201 #include <math.h>
43202 int
43203 main ()
43204 {
43205 sincosf(0, 0, 0);
43206 ;
43207 return 0;
43208 }
43209 _ACEOF
43210 if ac_fn_cxx_try_compile "$LINENO"; then :
43211 glibcxx_cv_func_sincosf_use=yes
43212 else
43213 glibcxx_cv_func_sincosf_use=no
43214 fi
43215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43216 ac_ext=c
43217 ac_cpp='$CPP $CPPFLAGS'
43218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43221
43222
43223 fi
43224
43225 fi
43226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43227 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43228
43229 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43230 for ac_func in sincosf
43231 do :
43232 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43233 if test "x$ac_cv_func_sincosf" = x""yes; then :
43234 cat >>confdefs.h <<_ACEOF
43235 #define HAVE_SINCOSF 1
43236 _ACEOF
43237
43238 fi
43239 done
43240
43241 else
43242
43243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43244 $as_echo_n "checking for _sincosf declaration... " >&6; }
43245 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43246 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43247 $as_echo_n "(cached) " >&6
43248 else
43249
43250
43251 ac_ext=cpp
43252 ac_cpp='$CXXCPP $CPPFLAGS'
43253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43256
43257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43258 /* end confdefs.h. */
43259 #include <math.h>
43260 int
43261 main ()
43262 {
43263 _sincosf(0, 0, 0);
43264 ;
43265 return 0;
43266 }
43267 _ACEOF
43268 if ac_fn_cxx_try_compile "$LINENO"; then :
43269 glibcxx_cv_func__sincosf_use=yes
43270 else
43271 glibcxx_cv_func__sincosf_use=no
43272 fi
43273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43274 ac_ext=c
43275 ac_cpp='$CPP $CPPFLAGS'
43276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43279
43280
43281 fi
43282
43283 fi
43284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43285 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43286
43287 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43288 for ac_func in _sincosf
43289 do :
43290 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43291 if test "x$ac_cv_func__sincosf" = x""yes; then :
43292 cat >>confdefs.h <<_ACEOF
43293 #define HAVE__SINCOSF 1
43294 _ACEOF
43295
43296 fi
43297 done
43298
43299 fi
43300 fi
43301
43302
43303
43304
43305
43306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43307 $as_echo_n "checking for finitef declaration... " >&6; }
43308 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43309 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43310 $as_echo_n "(cached) " >&6
43311 else
43312
43313
43314 ac_ext=cpp
43315 ac_cpp='$CXXCPP $CPPFLAGS'
43316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43319
43320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43321 /* end confdefs.h. */
43322 #include <math.h>
43323 #ifdef HAVE_IEEEFP_H
43324 #include <ieeefp.h>
43325 #endif
43326
43327 int
43328 main ()
43329 {
43330 finitef(0);
43331 ;
43332 return 0;
43333 }
43334 _ACEOF
43335 if ac_fn_cxx_try_compile "$LINENO"; then :
43336 glibcxx_cv_func_finitef_use=yes
43337 else
43338 glibcxx_cv_func_finitef_use=no
43339 fi
43340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43341 ac_ext=c
43342 ac_cpp='$CPP $CPPFLAGS'
43343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43346
43347
43348 fi
43349
43350 fi
43351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43352 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43353
43354 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43355 for ac_func in finitef
43356 do :
43357 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43358 if test "x$ac_cv_func_finitef" = x""yes; then :
43359 cat >>confdefs.h <<_ACEOF
43360 #define HAVE_FINITEF 1
43361 _ACEOF
43362
43363 fi
43364 done
43365
43366 else
43367
43368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43369 $as_echo_n "checking for _finitef declaration... " >&6; }
43370 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43371 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43372 $as_echo_n "(cached) " >&6
43373 else
43374
43375
43376 ac_ext=cpp
43377 ac_cpp='$CXXCPP $CPPFLAGS'
43378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43381
43382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43383 /* end confdefs.h. */
43384 #include <math.h>
43385 #ifdef HAVE_IEEEFP_H
43386 #include <ieeefp.h>
43387 #endif
43388
43389 int
43390 main ()
43391 {
43392 _finitef(0);
43393 ;
43394 return 0;
43395 }
43396 _ACEOF
43397 if ac_fn_cxx_try_compile "$LINENO"; then :
43398 glibcxx_cv_func__finitef_use=yes
43399 else
43400 glibcxx_cv_func__finitef_use=no
43401 fi
43402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43403 ac_ext=c
43404 ac_cpp='$CPP $CPPFLAGS'
43405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43408
43409
43410 fi
43411
43412 fi
43413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43414 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43415
43416 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43417 for ac_func in _finitef
43418 do :
43419 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43420 if test "x$ac_cv_func__finitef" = x""yes; then :
43421 cat >>confdefs.h <<_ACEOF
43422 #define HAVE__FINITEF 1
43423 _ACEOF
43424
43425 fi
43426 done
43427
43428 fi
43429 fi
43430
43431
43432
43433
43434
43435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43436 $as_echo_n "checking for long double trig functions... " >&6; }
43437 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43438 $as_echo_n "(cached) " >&6
43439 else
43440
43441
43442 ac_ext=cpp
43443 ac_cpp='$CXXCPP $CPPFLAGS'
43444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43447
43448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43449 /* end confdefs.h. */
43450 #include <math.h>
43451 int
43452 main ()
43453 {
43454 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43455 ;
43456 return 0;
43457 }
43458 _ACEOF
43459 if ac_fn_cxx_try_compile "$LINENO"; then :
43460 glibcxx_cv_func_long_double_trig_use=yes
43461 else
43462 glibcxx_cv_func_long_double_trig_use=no
43463 fi
43464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43465 ac_ext=c
43466 ac_cpp='$CPP $CPPFLAGS'
43467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43470
43471 fi
43472
43473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43474 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43475 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43476 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43477 do :
43478 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43479 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43480 eval as_val=\$$as_ac_var
43481 if test "x$as_val" = x""yes; then :
43482 cat >>confdefs.h <<_ACEOF
43483 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43484 _ACEOF
43485
43486 fi
43487 done
43488
43489 else
43490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43491 $as_echo_n "checking for _long double trig functions... " >&6; }
43492 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43493 $as_echo_n "(cached) " >&6
43494 else
43495
43496
43497 ac_ext=cpp
43498 ac_cpp='$CXXCPP $CPPFLAGS'
43499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43502
43503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43504 /* end confdefs.h. */
43505 #include <math.h>
43506 int
43507 main ()
43508 {
43509 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43510 ;
43511 return 0;
43512 }
43513 _ACEOF
43514 if ac_fn_cxx_try_compile "$LINENO"; then :
43515 glibcxx_cv_func__long_double_trig_use=yes
43516 else
43517 glibcxx_cv_func__long_double_trig_use=no
43518 fi
43519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43520 ac_ext=c
43521 ac_cpp='$CPP $CPPFLAGS'
43522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43525
43526 fi
43527
43528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43529 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43530 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43531 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43532 do :
43533 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43534 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43535 eval as_val=\$$as_ac_var
43536 if test "x$as_val" = x""yes; then :
43537 cat >>confdefs.h <<_ACEOF
43538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43539 _ACEOF
43540
43541 fi
43542 done
43543
43544 fi
43545 fi
43546
43547
43548
43549
43550
43551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43552 $as_echo_n "checking for long double round functions... " >&6; }
43553 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43554 $as_echo_n "(cached) " >&6
43555 else
43556
43557
43558 ac_ext=cpp
43559 ac_cpp='$CXXCPP $CPPFLAGS'
43560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43563
43564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43565 /* end confdefs.h. */
43566 #include <math.h>
43567 int
43568 main ()
43569 {
43570 ceill (0); floorl (0);
43571 ;
43572 return 0;
43573 }
43574 _ACEOF
43575 if ac_fn_cxx_try_compile "$LINENO"; then :
43576 glibcxx_cv_func_long_double_round_use=yes
43577 else
43578 glibcxx_cv_func_long_double_round_use=no
43579 fi
43580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43581 ac_ext=c
43582 ac_cpp='$CPP $CPPFLAGS'
43583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43586
43587 fi
43588
43589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43590 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43591 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43592 for ac_func in ceill floorl
43593 do :
43594 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43595 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43596 eval as_val=\$$as_ac_var
43597 if test "x$as_val" = x""yes; then :
43598 cat >>confdefs.h <<_ACEOF
43599 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43600 _ACEOF
43601
43602 fi
43603 done
43604
43605 else
43606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43607 $as_echo_n "checking for _long double round functions... " >&6; }
43608 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43609 $as_echo_n "(cached) " >&6
43610 else
43611
43612
43613 ac_ext=cpp
43614 ac_cpp='$CXXCPP $CPPFLAGS'
43615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43618
43619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43620 /* end confdefs.h. */
43621 #include <math.h>
43622 int
43623 main ()
43624 {
43625 _ceill (0); _floorl (0);
43626 ;
43627 return 0;
43628 }
43629 _ACEOF
43630 if ac_fn_cxx_try_compile "$LINENO"; then :
43631 glibcxx_cv_func__long_double_round_use=yes
43632 else
43633 glibcxx_cv_func__long_double_round_use=no
43634 fi
43635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43636 ac_ext=c
43637 ac_cpp='$CPP $CPPFLAGS'
43638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43641
43642 fi
43643
43644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43645 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43646 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43647 for ac_func in _ceill _floorl
43648 do :
43649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43651 eval as_val=\$$as_ac_var
43652 if test "x$as_val" = x""yes; then :
43653 cat >>confdefs.h <<_ACEOF
43654 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43655 _ACEOF
43656
43657 fi
43658 done
43659
43660 fi
43661 fi
43662
43663
43664
43665
43666
43667
43668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43669 $as_echo_n "checking for isnanl declaration... " >&6; }
43670 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43671 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43672 $as_echo_n "(cached) " >&6
43673 else
43674
43675
43676 ac_ext=cpp
43677 ac_cpp='$CXXCPP $CPPFLAGS'
43678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43681
43682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43683 /* end confdefs.h. */
43684 #include <math.h>
43685 #ifdef HAVE_IEEEFP_H
43686 #include <ieeefp.h>
43687 #endif
43688
43689 int
43690 main ()
43691 {
43692 isnanl(0);
43693 ;
43694 return 0;
43695 }
43696 _ACEOF
43697 if ac_fn_cxx_try_compile "$LINENO"; then :
43698 glibcxx_cv_func_isnanl_use=yes
43699 else
43700 glibcxx_cv_func_isnanl_use=no
43701 fi
43702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43703 ac_ext=c
43704 ac_cpp='$CPP $CPPFLAGS'
43705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43708
43709
43710 fi
43711
43712 fi
43713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43714 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43715
43716 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43717 for ac_func in isnanl
43718 do :
43719 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43720 if test "x$ac_cv_func_isnanl" = x""yes; then :
43721 cat >>confdefs.h <<_ACEOF
43722 #define HAVE_ISNANL 1
43723 _ACEOF
43724
43725 fi
43726 done
43727
43728 else
43729
43730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43731 $as_echo_n "checking for _isnanl declaration... " >&6; }
43732 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43733 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43734 $as_echo_n "(cached) " >&6
43735 else
43736
43737
43738 ac_ext=cpp
43739 ac_cpp='$CXXCPP $CPPFLAGS'
43740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43743
43744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43745 /* end confdefs.h. */
43746 #include <math.h>
43747 #ifdef HAVE_IEEEFP_H
43748 #include <ieeefp.h>
43749 #endif
43750
43751 int
43752 main ()
43753 {
43754 _isnanl(0);
43755 ;
43756 return 0;
43757 }
43758 _ACEOF
43759 if ac_fn_cxx_try_compile "$LINENO"; then :
43760 glibcxx_cv_func__isnanl_use=yes
43761 else
43762 glibcxx_cv_func__isnanl_use=no
43763 fi
43764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43765 ac_ext=c
43766 ac_cpp='$CPP $CPPFLAGS'
43767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43770
43771
43772 fi
43773
43774 fi
43775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43776 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43777
43778 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43779 for ac_func in _isnanl
43780 do :
43781 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43782 if test "x$ac_cv_func__isnanl" = x""yes; then :
43783 cat >>confdefs.h <<_ACEOF
43784 #define HAVE__ISNANL 1
43785 _ACEOF
43786
43787 fi
43788 done
43789
43790 fi
43791 fi
43792
43793
43794
43795
43796
43797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43798 $as_echo_n "checking for isinfl declaration... " >&6; }
43799 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43800 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43801 $as_echo_n "(cached) " >&6
43802 else
43803
43804
43805 ac_ext=cpp
43806 ac_cpp='$CXXCPP $CPPFLAGS'
43807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43810
43811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43812 /* end confdefs.h. */
43813 #include <math.h>
43814 #ifdef HAVE_IEEEFP_H
43815 #include <ieeefp.h>
43816 #endif
43817
43818 int
43819 main ()
43820 {
43821 isinfl(0);
43822 ;
43823 return 0;
43824 }
43825 _ACEOF
43826 if ac_fn_cxx_try_compile "$LINENO"; then :
43827 glibcxx_cv_func_isinfl_use=yes
43828 else
43829 glibcxx_cv_func_isinfl_use=no
43830 fi
43831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43832 ac_ext=c
43833 ac_cpp='$CPP $CPPFLAGS'
43834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43837
43838
43839 fi
43840
43841 fi
43842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43843 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43844
43845 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43846 for ac_func in isinfl
43847 do :
43848 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43849 if test "x$ac_cv_func_isinfl" = x""yes; then :
43850 cat >>confdefs.h <<_ACEOF
43851 #define HAVE_ISINFL 1
43852 _ACEOF
43853
43854 fi
43855 done
43856
43857 else
43858
43859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43860 $as_echo_n "checking for _isinfl declaration... " >&6; }
43861 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43862 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43863 $as_echo_n "(cached) " >&6
43864 else
43865
43866
43867 ac_ext=cpp
43868 ac_cpp='$CXXCPP $CPPFLAGS'
43869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43872
43873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43874 /* end confdefs.h. */
43875 #include <math.h>
43876 #ifdef HAVE_IEEEFP_H
43877 #include <ieeefp.h>
43878 #endif
43879
43880 int
43881 main ()
43882 {
43883 _isinfl(0);
43884 ;
43885 return 0;
43886 }
43887 _ACEOF
43888 if ac_fn_cxx_try_compile "$LINENO"; then :
43889 glibcxx_cv_func__isinfl_use=yes
43890 else
43891 glibcxx_cv_func__isinfl_use=no
43892 fi
43893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43894 ac_ext=c
43895 ac_cpp='$CPP $CPPFLAGS'
43896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43899
43900
43901 fi
43902
43903 fi
43904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43905 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43906
43907 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43908 for ac_func in _isinfl
43909 do :
43910 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43911 if test "x$ac_cv_func__isinfl" = x""yes; then :
43912 cat >>confdefs.h <<_ACEOF
43913 #define HAVE__ISINFL 1
43914 _ACEOF
43915
43916 fi
43917 done
43918
43919 fi
43920 fi
43921
43922
43923
43924
43925
43926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43927 $as_echo_n "checking for atan2l declaration... " >&6; }
43928 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43929 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43930 $as_echo_n "(cached) " >&6
43931 else
43932
43933
43934 ac_ext=cpp
43935 ac_cpp='$CXXCPP $CPPFLAGS'
43936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43939
43940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43941 /* end confdefs.h. */
43942 #include <math.h>
43943 int
43944 main ()
43945 {
43946 atan2l(0, 0);
43947 ;
43948 return 0;
43949 }
43950 _ACEOF
43951 if ac_fn_cxx_try_compile "$LINENO"; then :
43952 glibcxx_cv_func_atan2l_use=yes
43953 else
43954 glibcxx_cv_func_atan2l_use=no
43955 fi
43956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43957 ac_ext=c
43958 ac_cpp='$CPP $CPPFLAGS'
43959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43962
43963
43964 fi
43965
43966 fi
43967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43968 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43969
43970 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43971 for ac_func in atan2l
43972 do :
43973 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43974 if test "x$ac_cv_func_atan2l" = x""yes; then :
43975 cat >>confdefs.h <<_ACEOF
43976 #define HAVE_ATAN2L 1
43977 _ACEOF
43978
43979 fi
43980 done
43981
43982 else
43983
43984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43985 $as_echo_n "checking for _atan2l declaration... " >&6; }
43986 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43987 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43988 $as_echo_n "(cached) " >&6
43989 else
43990
43991
43992 ac_ext=cpp
43993 ac_cpp='$CXXCPP $CPPFLAGS'
43994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43997
43998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43999 /* end confdefs.h. */
44000 #include <math.h>
44001 int
44002 main ()
44003 {
44004 _atan2l(0, 0);
44005 ;
44006 return 0;
44007 }
44008 _ACEOF
44009 if ac_fn_cxx_try_compile "$LINENO"; then :
44010 glibcxx_cv_func__atan2l_use=yes
44011 else
44012 glibcxx_cv_func__atan2l_use=no
44013 fi
44014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44015 ac_ext=c
44016 ac_cpp='$CPP $CPPFLAGS'
44017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44020
44021
44022 fi
44023
44024 fi
44025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44026 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44027
44028 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44029 for ac_func in _atan2l
44030 do :
44031 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44032 if test "x$ac_cv_func__atan2l" = x""yes; then :
44033 cat >>confdefs.h <<_ACEOF
44034 #define HAVE__ATAN2L 1
44035 _ACEOF
44036
44037 fi
44038 done
44039
44040 fi
44041 fi
44042
44043
44044
44045
44046
44047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44048 $as_echo_n "checking for expl declaration... " >&6; }
44049 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44050 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44051 $as_echo_n "(cached) " >&6
44052 else
44053
44054
44055 ac_ext=cpp
44056 ac_cpp='$CXXCPP $CPPFLAGS'
44057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44060
44061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44062 /* end confdefs.h. */
44063 #include <math.h>
44064 #ifdef HAVE_IEEEFP_H
44065 #include <ieeefp.h>
44066 #endif
44067
44068 int
44069 main ()
44070 {
44071 expl(0);
44072 ;
44073 return 0;
44074 }
44075 _ACEOF
44076 if ac_fn_cxx_try_compile "$LINENO"; then :
44077 glibcxx_cv_func_expl_use=yes
44078 else
44079 glibcxx_cv_func_expl_use=no
44080 fi
44081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44082 ac_ext=c
44083 ac_cpp='$CPP $CPPFLAGS'
44084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44087
44088
44089 fi
44090
44091 fi
44092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44093 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44094
44095 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44096 for ac_func in expl
44097 do :
44098 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44099 if test "x$ac_cv_func_expl" = x""yes; then :
44100 cat >>confdefs.h <<_ACEOF
44101 #define HAVE_EXPL 1
44102 _ACEOF
44103
44104 fi
44105 done
44106
44107 else
44108
44109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44110 $as_echo_n "checking for _expl declaration... " >&6; }
44111 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44112 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44113 $as_echo_n "(cached) " >&6
44114 else
44115
44116
44117 ac_ext=cpp
44118 ac_cpp='$CXXCPP $CPPFLAGS'
44119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44122
44123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44124 /* end confdefs.h. */
44125 #include <math.h>
44126 #ifdef HAVE_IEEEFP_H
44127 #include <ieeefp.h>
44128 #endif
44129
44130 int
44131 main ()
44132 {
44133 _expl(0);
44134 ;
44135 return 0;
44136 }
44137 _ACEOF
44138 if ac_fn_cxx_try_compile "$LINENO"; then :
44139 glibcxx_cv_func__expl_use=yes
44140 else
44141 glibcxx_cv_func__expl_use=no
44142 fi
44143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44144 ac_ext=c
44145 ac_cpp='$CPP $CPPFLAGS'
44146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44149
44150
44151 fi
44152
44153 fi
44154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44155 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44156
44157 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44158 for ac_func in _expl
44159 do :
44160 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44161 if test "x$ac_cv_func__expl" = x""yes; then :
44162 cat >>confdefs.h <<_ACEOF
44163 #define HAVE__EXPL 1
44164 _ACEOF
44165
44166 fi
44167 done
44168
44169 fi
44170 fi
44171
44172
44173
44174
44175
44176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44177 $as_echo_n "checking for fabsl declaration... " >&6; }
44178 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44179 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44180 $as_echo_n "(cached) " >&6
44181 else
44182
44183
44184 ac_ext=cpp
44185 ac_cpp='$CXXCPP $CPPFLAGS'
44186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44189
44190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44191 /* end confdefs.h. */
44192 #include <math.h>
44193 #ifdef HAVE_IEEEFP_H
44194 #include <ieeefp.h>
44195 #endif
44196
44197 int
44198 main ()
44199 {
44200 fabsl(0);
44201 ;
44202 return 0;
44203 }
44204 _ACEOF
44205 if ac_fn_cxx_try_compile "$LINENO"; then :
44206 glibcxx_cv_func_fabsl_use=yes
44207 else
44208 glibcxx_cv_func_fabsl_use=no
44209 fi
44210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44211 ac_ext=c
44212 ac_cpp='$CPP $CPPFLAGS'
44213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44216
44217
44218 fi
44219
44220 fi
44221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44222 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44223
44224 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44225 for ac_func in fabsl
44226 do :
44227 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44228 if test "x$ac_cv_func_fabsl" = x""yes; then :
44229 cat >>confdefs.h <<_ACEOF
44230 #define HAVE_FABSL 1
44231 _ACEOF
44232
44233 fi
44234 done
44235
44236 else
44237
44238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44239 $as_echo_n "checking for _fabsl declaration... " >&6; }
44240 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44241 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44242 $as_echo_n "(cached) " >&6
44243 else
44244
44245
44246 ac_ext=cpp
44247 ac_cpp='$CXXCPP $CPPFLAGS'
44248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44251
44252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44253 /* end confdefs.h. */
44254 #include <math.h>
44255 #ifdef HAVE_IEEEFP_H
44256 #include <ieeefp.h>
44257 #endif
44258
44259 int
44260 main ()
44261 {
44262 _fabsl(0);
44263 ;
44264 return 0;
44265 }
44266 _ACEOF
44267 if ac_fn_cxx_try_compile "$LINENO"; then :
44268 glibcxx_cv_func__fabsl_use=yes
44269 else
44270 glibcxx_cv_func__fabsl_use=no
44271 fi
44272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44273 ac_ext=c
44274 ac_cpp='$CPP $CPPFLAGS'
44275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44278
44279
44280 fi
44281
44282 fi
44283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44284 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44285
44286 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44287 for ac_func in _fabsl
44288 do :
44289 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44290 if test "x$ac_cv_func__fabsl" = x""yes; then :
44291 cat >>confdefs.h <<_ACEOF
44292 #define HAVE__FABSL 1
44293 _ACEOF
44294
44295 fi
44296 done
44297
44298 fi
44299 fi
44300
44301
44302
44303
44304
44305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44306 $as_echo_n "checking for fmodl declaration... " >&6; }
44307 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44308 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44309 $as_echo_n "(cached) " >&6
44310 else
44311
44312
44313 ac_ext=cpp
44314 ac_cpp='$CXXCPP $CPPFLAGS'
44315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44318
44319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44320 /* end confdefs.h. */
44321 #include <math.h>
44322 int
44323 main ()
44324 {
44325 fmodl(0, 0);
44326 ;
44327 return 0;
44328 }
44329 _ACEOF
44330 if ac_fn_cxx_try_compile "$LINENO"; then :
44331 glibcxx_cv_func_fmodl_use=yes
44332 else
44333 glibcxx_cv_func_fmodl_use=no
44334 fi
44335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44336 ac_ext=c
44337 ac_cpp='$CPP $CPPFLAGS'
44338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44341
44342
44343 fi
44344
44345 fi
44346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44347 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44348
44349 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44350 for ac_func in fmodl
44351 do :
44352 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44353 if test "x$ac_cv_func_fmodl" = x""yes; then :
44354 cat >>confdefs.h <<_ACEOF
44355 #define HAVE_FMODL 1
44356 _ACEOF
44357
44358 fi
44359 done
44360
44361 else
44362
44363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44364 $as_echo_n "checking for _fmodl declaration... " >&6; }
44365 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44366 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44367 $as_echo_n "(cached) " >&6
44368 else
44369
44370
44371 ac_ext=cpp
44372 ac_cpp='$CXXCPP $CPPFLAGS'
44373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44376
44377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44378 /* end confdefs.h. */
44379 #include <math.h>
44380 int
44381 main ()
44382 {
44383 _fmodl(0, 0);
44384 ;
44385 return 0;
44386 }
44387 _ACEOF
44388 if ac_fn_cxx_try_compile "$LINENO"; then :
44389 glibcxx_cv_func__fmodl_use=yes
44390 else
44391 glibcxx_cv_func__fmodl_use=no
44392 fi
44393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44394 ac_ext=c
44395 ac_cpp='$CPP $CPPFLAGS'
44396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44399
44400
44401 fi
44402
44403 fi
44404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44405 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44406
44407 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44408 for ac_func in _fmodl
44409 do :
44410 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44411 if test "x$ac_cv_func__fmodl" = x""yes; then :
44412 cat >>confdefs.h <<_ACEOF
44413 #define HAVE__FMODL 1
44414 _ACEOF
44415
44416 fi
44417 done
44418
44419 fi
44420 fi
44421
44422
44423
44424
44425
44426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44427 $as_echo_n "checking for frexpl declaration... " >&6; }
44428 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44429 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44430 $as_echo_n "(cached) " >&6
44431 else
44432
44433
44434 ac_ext=cpp
44435 ac_cpp='$CXXCPP $CPPFLAGS'
44436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44439
44440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44441 /* end confdefs.h. */
44442 #include <math.h>
44443 int
44444 main ()
44445 {
44446 frexpl(0, 0);
44447 ;
44448 return 0;
44449 }
44450 _ACEOF
44451 if ac_fn_cxx_try_compile "$LINENO"; then :
44452 glibcxx_cv_func_frexpl_use=yes
44453 else
44454 glibcxx_cv_func_frexpl_use=no
44455 fi
44456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44457 ac_ext=c
44458 ac_cpp='$CPP $CPPFLAGS'
44459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44462
44463
44464 fi
44465
44466 fi
44467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44468 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44469
44470 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44471 for ac_func in frexpl
44472 do :
44473 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44474 if test "x$ac_cv_func_frexpl" = x""yes; then :
44475 cat >>confdefs.h <<_ACEOF
44476 #define HAVE_FREXPL 1
44477 _ACEOF
44478
44479 fi
44480 done
44481
44482 else
44483
44484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44485 $as_echo_n "checking for _frexpl declaration... " >&6; }
44486 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44487 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44488 $as_echo_n "(cached) " >&6
44489 else
44490
44491
44492 ac_ext=cpp
44493 ac_cpp='$CXXCPP $CPPFLAGS'
44494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44497
44498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44499 /* end confdefs.h. */
44500 #include <math.h>
44501 int
44502 main ()
44503 {
44504 _frexpl(0, 0);
44505 ;
44506 return 0;
44507 }
44508 _ACEOF
44509 if ac_fn_cxx_try_compile "$LINENO"; then :
44510 glibcxx_cv_func__frexpl_use=yes
44511 else
44512 glibcxx_cv_func__frexpl_use=no
44513 fi
44514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44515 ac_ext=c
44516 ac_cpp='$CPP $CPPFLAGS'
44517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44520
44521
44522 fi
44523
44524 fi
44525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44526 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44527
44528 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44529 for ac_func in _frexpl
44530 do :
44531 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44532 if test "x$ac_cv_func__frexpl" = x""yes; then :
44533 cat >>confdefs.h <<_ACEOF
44534 #define HAVE__FREXPL 1
44535 _ACEOF
44536
44537 fi
44538 done
44539
44540 fi
44541 fi
44542
44543
44544
44545
44546
44547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44548 $as_echo_n "checking for hypotl declaration... " >&6; }
44549 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44550 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44551 $as_echo_n "(cached) " >&6
44552 else
44553
44554
44555 ac_ext=cpp
44556 ac_cpp='$CXXCPP $CPPFLAGS'
44557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44560
44561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44562 /* end confdefs.h. */
44563 #include <math.h>
44564 int
44565 main ()
44566 {
44567 hypotl(0, 0);
44568 ;
44569 return 0;
44570 }
44571 _ACEOF
44572 if ac_fn_cxx_try_compile "$LINENO"; then :
44573 glibcxx_cv_func_hypotl_use=yes
44574 else
44575 glibcxx_cv_func_hypotl_use=no
44576 fi
44577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44578 ac_ext=c
44579 ac_cpp='$CPP $CPPFLAGS'
44580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44583
44584
44585 fi
44586
44587 fi
44588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44589 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44590
44591 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44592 for ac_func in hypotl
44593 do :
44594 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44595 if test "x$ac_cv_func_hypotl" = x""yes; then :
44596 cat >>confdefs.h <<_ACEOF
44597 #define HAVE_HYPOTL 1
44598 _ACEOF
44599
44600 fi
44601 done
44602
44603 else
44604
44605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44606 $as_echo_n "checking for _hypotl declaration... " >&6; }
44607 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44608 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44609 $as_echo_n "(cached) " >&6
44610 else
44611
44612
44613 ac_ext=cpp
44614 ac_cpp='$CXXCPP $CPPFLAGS'
44615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44618
44619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44620 /* end confdefs.h. */
44621 #include <math.h>
44622 int
44623 main ()
44624 {
44625 _hypotl(0, 0);
44626 ;
44627 return 0;
44628 }
44629 _ACEOF
44630 if ac_fn_cxx_try_compile "$LINENO"; then :
44631 glibcxx_cv_func__hypotl_use=yes
44632 else
44633 glibcxx_cv_func__hypotl_use=no
44634 fi
44635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44636 ac_ext=c
44637 ac_cpp='$CPP $CPPFLAGS'
44638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44641
44642
44643 fi
44644
44645 fi
44646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44647 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44648
44649 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44650 for ac_func in _hypotl
44651 do :
44652 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44653 if test "x$ac_cv_func__hypotl" = x""yes; then :
44654 cat >>confdefs.h <<_ACEOF
44655 #define HAVE__HYPOTL 1
44656 _ACEOF
44657
44658 fi
44659 done
44660
44661 fi
44662 fi
44663
44664
44665
44666
44667
44668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44669 $as_echo_n "checking for ldexpl declaration... " >&6; }
44670 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44671 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44672 $as_echo_n "(cached) " >&6
44673 else
44674
44675
44676 ac_ext=cpp
44677 ac_cpp='$CXXCPP $CPPFLAGS'
44678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44681
44682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44683 /* end confdefs.h. */
44684 #include <math.h>
44685 int
44686 main ()
44687 {
44688 ldexpl(0, 0);
44689 ;
44690 return 0;
44691 }
44692 _ACEOF
44693 if ac_fn_cxx_try_compile "$LINENO"; then :
44694 glibcxx_cv_func_ldexpl_use=yes
44695 else
44696 glibcxx_cv_func_ldexpl_use=no
44697 fi
44698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44699 ac_ext=c
44700 ac_cpp='$CPP $CPPFLAGS'
44701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44704
44705
44706 fi
44707
44708 fi
44709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44710 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44711
44712 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44713 for ac_func in ldexpl
44714 do :
44715 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44716 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44717 cat >>confdefs.h <<_ACEOF
44718 #define HAVE_LDEXPL 1
44719 _ACEOF
44720
44721 fi
44722 done
44723
44724 else
44725
44726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44727 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44728 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44729 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44730 $as_echo_n "(cached) " >&6
44731 else
44732
44733
44734 ac_ext=cpp
44735 ac_cpp='$CXXCPP $CPPFLAGS'
44736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44739
44740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44741 /* end confdefs.h. */
44742 #include <math.h>
44743 int
44744 main ()
44745 {
44746 _ldexpl(0, 0);
44747 ;
44748 return 0;
44749 }
44750 _ACEOF
44751 if ac_fn_cxx_try_compile "$LINENO"; then :
44752 glibcxx_cv_func__ldexpl_use=yes
44753 else
44754 glibcxx_cv_func__ldexpl_use=no
44755 fi
44756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44757 ac_ext=c
44758 ac_cpp='$CPP $CPPFLAGS'
44759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44762
44763
44764 fi
44765
44766 fi
44767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44768 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44769
44770 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44771 for ac_func in _ldexpl
44772 do :
44773 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44774 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44775 cat >>confdefs.h <<_ACEOF
44776 #define HAVE__LDEXPL 1
44777 _ACEOF
44778
44779 fi
44780 done
44781
44782 fi
44783 fi
44784
44785
44786
44787
44788
44789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44790 $as_echo_n "checking for logl declaration... " >&6; }
44791 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44792 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44793 $as_echo_n "(cached) " >&6
44794 else
44795
44796
44797 ac_ext=cpp
44798 ac_cpp='$CXXCPP $CPPFLAGS'
44799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44802
44803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44804 /* end confdefs.h. */
44805 #include <math.h>
44806 #ifdef HAVE_IEEEFP_H
44807 #include <ieeefp.h>
44808 #endif
44809
44810 int
44811 main ()
44812 {
44813 logl(0);
44814 ;
44815 return 0;
44816 }
44817 _ACEOF
44818 if ac_fn_cxx_try_compile "$LINENO"; then :
44819 glibcxx_cv_func_logl_use=yes
44820 else
44821 glibcxx_cv_func_logl_use=no
44822 fi
44823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44824 ac_ext=c
44825 ac_cpp='$CPP $CPPFLAGS'
44826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44829
44830
44831 fi
44832
44833 fi
44834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44835 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44836
44837 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44838 for ac_func in logl
44839 do :
44840 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44841 if test "x$ac_cv_func_logl" = x""yes; then :
44842 cat >>confdefs.h <<_ACEOF
44843 #define HAVE_LOGL 1
44844 _ACEOF
44845
44846 fi
44847 done
44848
44849 else
44850
44851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44852 $as_echo_n "checking for _logl declaration... " >&6; }
44853 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44854 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44855 $as_echo_n "(cached) " >&6
44856 else
44857
44858
44859 ac_ext=cpp
44860 ac_cpp='$CXXCPP $CPPFLAGS'
44861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44864
44865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44866 /* end confdefs.h. */
44867 #include <math.h>
44868 #ifdef HAVE_IEEEFP_H
44869 #include <ieeefp.h>
44870 #endif
44871
44872 int
44873 main ()
44874 {
44875 _logl(0);
44876 ;
44877 return 0;
44878 }
44879 _ACEOF
44880 if ac_fn_cxx_try_compile "$LINENO"; then :
44881 glibcxx_cv_func__logl_use=yes
44882 else
44883 glibcxx_cv_func__logl_use=no
44884 fi
44885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44886 ac_ext=c
44887 ac_cpp='$CPP $CPPFLAGS'
44888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44891
44892
44893 fi
44894
44895 fi
44896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44897 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44898
44899 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44900 for ac_func in _logl
44901 do :
44902 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44903 if test "x$ac_cv_func__logl" = x""yes; then :
44904 cat >>confdefs.h <<_ACEOF
44905 #define HAVE__LOGL 1
44906 _ACEOF
44907
44908 fi
44909 done
44910
44911 fi
44912 fi
44913
44914
44915
44916
44917
44918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44919 $as_echo_n "checking for log10l declaration... " >&6; }
44920 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44921 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44922 $as_echo_n "(cached) " >&6
44923 else
44924
44925
44926 ac_ext=cpp
44927 ac_cpp='$CXXCPP $CPPFLAGS'
44928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44931
44932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44933 /* end confdefs.h. */
44934 #include <math.h>
44935 #ifdef HAVE_IEEEFP_H
44936 #include <ieeefp.h>
44937 #endif
44938
44939 int
44940 main ()
44941 {
44942 log10l(0);
44943 ;
44944 return 0;
44945 }
44946 _ACEOF
44947 if ac_fn_cxx_try_compile "$LINENO"; then :
44948 glibcxx_cv_func_log10l_use=yes
44949 else
44950 glibcxx_cv_func_log10l_use=no
44951 fi
44952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44953 ac_ext=c
44954 ac_cpp='$CPP $CPPFLAGS'
44955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44958
44959
44960 fi
44961
44962 fi
44963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44964 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44965
44966 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44967 for ac_func in log10l
44968 do :
44969 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44970 if test "x$ac_cv_func_log10l" = x""yes; then :
44971 cat >>confdefs.h <<_ACEOF
44972 #define HAVE_LOG10L 1
44973 _ACEOF
44974
44975 fi
44976 done
44977
44978 else
44979
44980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44981 $as_echo_n "checking for _log10l declaration... " >&6; }
44982 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44983 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44984 $as_echo_n "(cached) " >&6
44985 else
44986
44987
44988 ac_ext=cpp
44989 ac_cpp='$CXXCPP $CPPFLAGS'
44990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44993
44994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44995 /* end confdefs.h. */
44996 #include <math.h>
44997 #ifdef HAVE_IEEEFP_H
44998 #include <ieeefp.h>
44999 #endif
45000
45001 int
45002 main ()
45003 {
45004 _log10l(0);
45005 ;
45006 return 0;
45007 }
45008 _ACEOF
45009 if ac_fn_cxx_try_compile "$LINENO"; then :
45010 glibcxx_cv_func__log10l_use=yes
45011 else
45012 glibcxx_cv_func__log10l_use=no
45013 fi
45014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45015 ac_ext=c
45016 ac_cpp='$CPP $CPPFLAGS'
45017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45020
45021
45022 fi
45023
45024 fi
45025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45026 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45027
45028 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45029 for ac_func in _log10l
45030 do :
45031 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45032 if test "x$ac_cv_func__log10l" = x""yes; then :
45033 cat >>confdefs.h <<_ACEOF
45034 #define HAVE__LOG10L 1
45035 _ACEOF
45036
45037 fi
45038 done
45039
45040 fi
45041 fi
45042
45043
45044
45045
45046
45047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45048 $as_echo_n "checking for modfl declaration... " >&6; }
45049 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45050 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45051 $as_echo_n "(cached) " >&6
45052 else
45053
45054
45055 ac_ext=cpp
45056 ac_cpp='$CXXCPP $CPPFLAGS'
45057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45060
45061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45062 /* end confdefs.h. */
45063 #include <math.h>
45064 int
45065 main ()
45066 {
45067 modfl(0, 0);
45068 ;
45069 return 0;
45070 }
45071 _ACEOF
45072 if ac_fn_cxx_try_compile "$LINENO"; then :
45073 glibcxx_cv_func_modfl_use=yes
45074 else
45075 glibcxx_cv_func_modfl_use=no
45076 fi
45077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45078 ac_ext=c
45079 ac_cpp='$CPP $CPPFLAGS'
45080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45083
45084
45085 fi
45086
45087 fi
45088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45089 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45090
45091 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45092 for ac_func in modfl
45093 do :
45094 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45095 if test "x$ac_cv_func_modfl" = x""yes; then :
45096 cat >>confdefs.h <<_ACEOF
45097 #define HAVE_MODFL 1
45098 _ACEOF
45099
45100 fi
45101 done
45102
45103 else
45104
45105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45106 $as_echo_n "checking for _modfl declaration... " >&6; }
45107 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45108 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45109 $as_echo_n "(cached) " >&6
45110 else
45111
45112
45113 ac_ext=cpp
45114 ac_cpp='$CXXCPP $CPPFLAGS'
45115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45118
45119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45120 /* end confdefs.h. */
45121 #include <math.h>
45122 int
45123 main ()
45124 {
45125 _modfl(0, 0);
45126 ;
45127 return 0;
45128 }
45129 _ACEOF
45130 if ac_fn_cxx_try_compile "$LINENO"; then :
45131 glibcxx_cv_func__modfl_use=yes
45132 else
45133 glibcxx_cv_func__modfl_use=no
45134 fi
45135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45136 ac_ext=c
45137 ac_cpp='$CPP $CPPFLAGS'
45138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45141
45142
45143 fi
45144
45145 fi
45146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45147 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45148
45149 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45150 for ac_func in _modfl
45151 do :
45152 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45153 if test "x$ac_cv_func__modfl" = x""yes; then :
45154 cat >>confdefs.h <<_ACEOF
45155 #define HAVE__MODFL 1
45156 _ACEOF
45157
45158 fi
45159 done
45160
45161 fi
45162 fi
45163
45164
45165
45166
45167
45168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45169 $as_echo_n "checking for powl declaration... " >&6; }
45170 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45171 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45172 $as_echo_n "(cached) " >&6
45173 else
45174
45175
45176 ac_ext=cpp
45177 ac_cpp='$CXXCPP $CPPFLAGS'
45178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45181
45182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45183 /* end confdefs.h. */
45184 #include <math.h>
45185 int
45186 main ()
45187 {
45188 powl(0, 0);
45189 ;
45190 return 0;
45191 }
45192 _ACEOF
45193 if ac_fn_cxx_try_compile "$LINENO"; then :
45194 glibcxx_cv_func_powl_use=yes
45195 else
45196 glibcxx_cv_func_powl_use=no
45197 fi
45198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45199 ac_ext=c
45200 ac_cpp='$CPP $CPPFLAGS'
45201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45204
45205
45206 fi
45207
45208 fi
45209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45210 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45211
45212 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45213 for ac_func in powl
45214 do :
45215 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45216 if test "x$ac_cv_func_powl" = x""yes; then :
45217 cat >>confdefs.h <<_ACEOF
45218 #define HAVE_POWL 1
45219 _ACEOF
45220
45221 fi
45222 done
45223
45224 else
45225
45226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45227 $as_echo_n "checking for _powl declaration... " >&6; }
45228 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45229 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45230 $as_echo_n "(cached) " >&6
45231 else
45232
45233
45234 ac_ext=cpp
45235 ac_cpp='$CXXCPP $CPPFLAGS'
45236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45239
45240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45241 /* end confdefs.h. */
45242 #include <math.h>
45243 int
45244 main ()
45245 {
45246 _powl(0, 0);
45247 ;
45248 return 0;
45249 }
45250 _ACEOF
45251 if ac_fn_cxx_try_compile "$LINENO"; then :
45252 glibcxx_cv_func__powl_use=yes
45253 else
45254 glibcxx_cv_func__powl_use=no
45255 fi
45256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45257 ac_ext=c
45258 ac_cpp='$CPP $CPPFLAGS'
45259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45262
45263
45264 fi
45265
45266 fi
45267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45268 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45269
45270 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45271 for ac_func in _powl
45272 do :
45273 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45274 if test "x$ac_cv_func__powl" = x""yes; then :
45275 cat >>confdefs.h <<_ACEOF
45276 #define HAVE__POWL 1
45277 _ACEOF
45278
45279 fi
45280 done
45281
45282 fi
45283 fi
45284
45285
45286
45287
45288
45289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45290 $as_echo_n "checking for sqrtl declaration... " >&6; }
45291 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45292 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45293 $as_echo_n "(cached) " >&6
45294 else
45295
45296
45297 ac_ext=cpp
45298 ac_cpp='$CXXCPP $CPPFLAGS'
45299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45302
45303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45304 /* end confdefs.h. */
45305 #include <math.h>
45306 #ifdef HAVE_IEEEFP_H
45307 #include <ieeefp.h>
45308 #endif
45309
45310 int
45311 main ()
45312 {
45313 sqrtl(0);
45314 ;
45315 return 0;
45316 }
45317 _ACEOF
45318 if ac_fn_cxx_try_compile "$LINENO"; then :
45319 glibcxx_cv_func_sqrtl_use=yes
45320 else
45321 glibcxx_cv_func_sqrtl_use=no
45322 fi
45323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45324 ac_ext=c
45325 ac_cpp='$CPP $CPPFLAGS'
45326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45329
45330
45331 fi
45332
45333 fi
45334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45335 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45336
45337 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45338 for ac_func in sqrtl
45339 do :
45340 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45341 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45342 cat >>confdefs.h <<_ACEOF
45343 #define HAVE_SQRTL 1
45344 _ACEOF
45345
45346 fi
45347 done
45348
45349 else
45350
45351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45352 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45353 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45354 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45355 $as_echo_n "(cached) " >&6
45356 else
45357
45358
45359 ac_ext=cpp
45360 ac_cpp='$CXXCPP $CPPFLAGS'
45361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45364
45365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45366 /* end confdefs.h. */
45367 #include <math.h>
45368 #ifdef HAVE_IEEEFP_H
45369 #include <ieeefp.h>
45370 #endif
45371
45372 int
45373 main ()
45374 {
45375 _sqrtl(0);
45376 ;
45377 return 0;
45378 }
45379 _ACEOF
45380 if ac_fn_cxx_try_compile "$LINENO"; then :
45381 glibcxx_cv_func__sqrtl_use=yes
45382 else
45383 glibcxx_cv_func__sqrtl_use=no
45384 fi
45385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45386 ac_ext=c
45387 ac_cpp='$CPP $CPPFLAGS'
45388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45391
45392
45393 fi
45394
45395 fi
45396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45397 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45398
45399 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45400 for ac_func in _sqrtl
45401 do :
45402 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45403 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45404 cat >>confdefs.h <<_ACEOF
45405 #define HAVE__SQRTL 1
45406 _ACEOF
45407
45408 fi
45409 done
45410
45411 fi
45412 fi
45413
45414
45415
45416
45417
45418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45419 $as_echo_n "checking for sincosl declaration... " >&6; }
45420 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45421 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45422 $as_echo_n "(cached) " >&6
45423 else
45424
45425
45426 ac_ext=cpp
45427 ac_cpp='$CXXCPP $CPPFLAGS'
45428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45431
45432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45433 /* end confdefs.h. */
45434 #include <math.h>
45435 int
45436 main ()
45437 {
45438 sincosl(0, 0, 0);
45439 ;
45440 return 0;
45441 }
45442 _ACEOF
45443 if ac_fn_cxx_try_compile "$LINENO"; then :
45444 glibcxx_cv_func_sincosl_use=yes
45445 else
45446 glibcxx_cv_func_sincosl_use=no
45447 fi
45448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45449 ac_ext=c
45450 ac_cpp='$CPP $CPPFLAGS'
45451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45454
45455
45456 fi
45457
45458 fi
45459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45460 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45461
45462 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45463 for ac_func in sincosl
45464 do :
45465 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45466 if test "x$ac_cv_func_sincosl" = x""yes; then :
45467 cat >>confdefs.h <<_ACEOF
45468 #define HAVE_SINCOSL 1
45469 _ACEOF
45470
45471 fi
45472 done
45473
45474 else
45475
45476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45477 $as_echo_n "checking for _sincosl declaration... " >&6; }
45478 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45479 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45480 $as_echo_n "(cached) " >&6
45481 else
45482
45483
45484 ac_ext=cpp
45485 ac_cpp='$CXXCPP $CPPFLAGS'
45486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45489
45490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45491 /* end confdefs.h. */
45492 #include <math.h>
45493 int
45494 main ()
45495 {
45496 _sincosl(0, 0, 0);
45497 ;
45498 return 0;
45499 }
45500 _ACEOF
45501 if ac_fn_cxx_try_compile "$LINENO"; then :
45502 glibcxx_cv_func__sincosl_use=yes
45503 else
45504 glibcxx_cv_func__sincosl_use=no
45505 fi
45506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45507 ac_ext=c
45508 ac_cpp='$CPP $CPPFLAGS'
45509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45512
45513
45514 fi
45515
45516 fi
45517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45518 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45519
45520 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45521 for ac_func in _sincosl
45522 do :
45523 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45524 if test "x$ac_cv_func__sincosl" = x""yes; then :
45525 cat >>confdefs.h <<_ACEOF
45526 #define HAVE__SINCOSL 1
45527 _ACEOF
45528
45529 fi
45530 done
45531
45532 fi
45533 fi
45534
45535
45536
45537
45538
45539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45540 $as_echo_n "checking for finitel declaration... " >&6; }
45541 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45542 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45543 $as_echo_n "(cached) " >&6
45544 else
45545
45546
45547 ac_ext=cpp
45548 ac_cpp='$CXXCPP $CPPFLAGS'
45549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45552
45553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45554 /* end confdefs.h. */
45555 #include <math.h>
45556 #ifdef HAVE_IEEEFP_H
45557 #include <ieeefp.h>
45558 #endif
45559
45560 int
45561 main ()
45562 {
45563 finitel(0);
45564 ;
45565 return 0;
45566 }
45567 _ACEOF
45568 if ac_fn_cxx_try_compile "$LINENO"; then :
45569 glibcxx_cv_func_finitel_use=yes
45570 else
45571 glibcxx_cv_func_finitel_use=no
45572 fi
45573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45574 ac_ext=c
45575 ac_cpp='$CPP $CPPFLAGS'
45576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45579
45580
45581 fi
45582
45583 fi
45584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45585 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45586
45587 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45588 for ac_func in finitel
45589 do :
45590 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45591 if test "x$ac_cv_func_finitel" = x""yes; then :
45592 cat >>confdefs.h <<_ACEOF
45593 #define HAVE_FINITEL 1
45594 _ACEOF
45595
45596 fi
45597 done
45598
45599 else
45600
45601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45602 $as_echo_n "checking for _finitel declaration... " >&6; }
45603 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45604 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45605 $as_echo_n "(cached) " >&6
45606 else
45607
45608
45609 ac_ext=cpp
45610 ac_cpp='$CXXCPP $CPPFLAGS'
45611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45614
45615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45616 /* end confdefs.h. */
45617 #include <math.h>
45618 #ifdef HAVE_IEEEFP_H
45619 #include <ieeefp.h>
45620 #endif
45621
45622 int
45623 main ()
45624 {
45625 _finitel(0);
45626 ;
45627 return 0;
45628 }
45629 _ACEOF
45630 if ac_fn_cxx_try_compile "$LINENO"; then :
45631 glibcxx_cv_func__finitel_use=yes
45632 else
45633 glibcxx_cv_func__finitel_use=no
45634 fi
45635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45636 ac_ext=c
45637 ac_cpp='$CPP $CPPFLAGS'
45638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45641
45642
45643 fi
45644
45645 fi
45646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45647 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45648
45649 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45650 for ac_func in _finitel
45651 do :
45652 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45653 if test "x$ac_cv_func__finitel" = x""yes; then :
45654 cat >>confdefs.h <<_ACEOF
45655 #define HAVE__FINITEL 1
45656 _ACEOF
45657
45658 fi
45659 done
45660
45661 fi
45662 fi
45663
45664
45665
45666
45667 LIBS="$ac_save_LIBS"
45668 CXXFLAGS="$ac_save_CXXFLAGS"
45669
45670
45671 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45672 ac_save_CXXFLAGS="$CXXFLAGS"
45673 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45674
45675
45676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45677 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45678 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45679 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45680 $as_echo_n "(cached) " >&6
45681 else
45682
45683
45684 ac_ext=cpp
45685 ac_cpp='$CXXCPP $CPPFLAGS'
45686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45689
45690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45691 /* end confdefs.h. */
45692 #include <stdlib.h>
45693 int
45694 main ()
45695 {
45696 at_quick_exit(0);
45697 ;
45698 return 0;
45699 }
45700 _ACEOF
45701 if ac_fn_cxx_try_compile "$LINENO"; then :
45702 glibcxx_cv_func_at_quick_exit_use=yes
45703 else
45704 glibcxx_cv_func_at_quick_exit_use=no
45705 fi
45706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45707 ac_ext=c
45708 ac_cpp='$CPP $CPPFLAGS'
45709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45712
45713
45714 fi
45715
45716 fi
45717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45718 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45719 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45720 for ac_func in at_quick_exit
45721 do :
45722 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45723 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45724 cat >>confdefs.h <<_ACEOF
45725 #define HAVE_AT_QUICK_EXIT 1
45726 _ACEOF
45727
45728 fi
45729 done
45730
45731 fi
45732
45733
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45735 $as_echo_n "checking for quick_exit declaration... " >&6; }
45736 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45737 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45738 $as_echo_n "(cached) " >&6
45739 else
45740
45741
45742 ac_ext=cpp
45743 ac_cpp='$CXXCPP $CPPFLAGS'
45744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45747
45748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45749 /* end confdefs.h. */
45750 #include <stdlib.h>
45751 int
45752 main ()
45753 {
45754 quick_exit(0);
45755 ;
45756 return 0;
45757 }
45758 _ACEOF
45759 if ac_fn_cxx_try_compile "$LINENO"; then :
45760 glibcxx_cv_func_quick_exit_use=yes
45761 else
45762 glibcxx_cv_func_quick_exit_use=no
45763 fi
45764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45765 ac_ext=c
45766 ac_cpp='$CPP $CPPFLAGS'
45767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45770
45771
45772 fi
45773
45774 fi
45775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45776 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45777 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45778 for ac_func in quick_exit
45779 do :
45780 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45781 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45782 cat >>confdefs.h <<_ACEOF
45783 #define HAVE_QUICK_EXIT 1
45784 _ACEOF
45785
45786 fi
45787 done
45788
45789 fi
45790
45791
45792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45793 $as_echo_n "checking for strtold declaration... " >&6; }
45794 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45795 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45796 $as_echo_n "(cached) " >&6
45797 else
45798
45799
45800 ac_ext=cpp
45801 ac_cpp='$CXXCPP $CPPFLAGS'
45802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45805
45806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45807 /* end confdefs.h. */
45808 #include <stdlib.h>
45809 int
45810 main ()
45811 {
45812 strtold(0, 0);
45813 ;
45814 return 0;
45815 }
45816 _ACEOF
45817 if ac_fn_cxx_try_compile "$LINENO"; then :
45818 glibcxx_cv_func_strtold_use=yes
45819 else
45820 glibcxx_cv_func_strtold_use=no
45821 fi
45822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45823 ac_ext=c
45824 ac_cpp='$CPP $CPPFLAGS'
45825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45828
45829
45830 fi
45831
45832 fi
45833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45834 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45835 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45836 for ac_func in strtold
45837 do :
45838 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45839 if test "x$ac_cv_func_strtold" = x""yes; then :
45840 cat >>confdefs.h <<_ACEOF
45841 #define HAVE_STRTOLD 1
45842 _ACEOF
45843
45844 fi
45845 done
45846
45847 fi
45848
45849
45850
45851
45852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45853 $as_echo_n "checking for strtof declaration... " >&6; }
45854 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45855 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45856 $as_echo_n "(cached) " >&6
45857 else
45858
45859
45860 ac_ext=cpp
45861 ac_cpp='$CXXCPP $CPPFLAGS'
45862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45865
45866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45867 /* end confdefs.h. */
45868 #include <stdlib.h>
45869 int
45870 main ()
45871 {
45872 strtof(0, 0);
45873 ;
45874 return 0;
45875 }
45876 _ACEOF
45877 if ac_fn_cxx_try_compile "$LINENO"; then :
45878 glibcxx_cv_func_strtof_use=yes
45879 else
45880 glibcxx_cv_func_strtof_use=no
45881 fi
45882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45883 ac_ext=c
45884 ac_cpp='$CPP $CPPFLAGS'
45885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45888
45889
45890 fi
45891
45892 fi
45893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45894 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45895 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45896 for ac_func in strtof
45897 do :
45898 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45899 if test "x$ac_cv_func_strtof" = x""yes; then :
45900 cat >>confdefs.h <<_ACEOF
45901 #define HAVE_STRTOF 1
45902 _ACEOF
45903
45904 fi
45905 done
45906
45907 fi
45908
45909
45910
45911
45912 CXXFLAGS="$ac_save_CXXFLAGS"
45913
45914 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45915
45916 # We don't yet support AIX's TLS ABI.
45917 #GCC_CHECK_TLS
45918
45919
45920
45921
45922
45923 am_save_CPPFLAGS="$CPPFLAGS"
45924
45925 for element in $INCICONV; do
45926 haveit=
45927 for x in $CPPFLAGS; do
45928
45929 acl_save_prefix="$prefix"
45930 prefix="$acl_final_prefix"
45931 acl_save_exec_prefix="$exec_prefix"
45932 exec_prefix="$acl_final_exec_prefix"
45933 eval x=\"$x\"
45934 exec_prefix="$acl_save_exec_prefix"
45935 prefix="$acl_save_prefix"
45936
45937 if test "X$x" = "X$element"; then
45938 haveit=yes
45939 break
45940 fi
45941 done
45942 if test -z "$haveit"; then
45943 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45944 fi
45945 done
45946
45947
45948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45949 $as_echo_n "checking for iconv... " >&6; }
45950 if test "${am_cv_func_iconv+set}" = set; then :
45951 $as_echo_n "(cached) " >&6
45952 else
45953
45954 am_cv_func_iconv="no, consider installing GNU libiconv"
45955 am_cv_lib_iconv=no
45956 if test x$gcc_no_link = xyes; then
45957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45958 fi
45959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45960 /* end confdefs.h. */
45961 #include <stdlib.h>
45962 #include <iconv.h>
45963 int
45964 main ()
45965 {
45966 iconv_t cd = iconv_open("","");
45967 iconv(cd,NULL,NULL,NULL,NULL);
45968 iconv_close(cd);
45969 ;
45970 return 0;
45971 }
45972 _ACEOF
45973 if ac_fn_c_try_link "$LINENO"; then :
45974 am_cv_func_iconv=yes
45975 fi
45976 rm -f core conftest.err conftest.$ac_objext \
45977 conftest$ac_exeext conftest.$ac_ext
45978 if test "$am_cv_func_iconv" != yes; then
45979 am_save_LIBS="$LIBS"
45980 LIBS="$LIBS $LIBICONV"
45981 if test x$gcc_no_link = xyes; then
45982 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45983 fi
45984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45985 /* end confdefs.h. */
45986 #include <stdlib.h>
45987 #include <iconv.h>
45988 int
45989 main ()
45990 {
45991 iconv_t cd = iconv_open("","");
45992 iconv(cd,NULL,NULL,NULL,NULL);
45993 iconv_close(cd);
45994 ;
45995 return 0;
45996 }
45997 _ACEOF
45998 if ac_fn_c_try_link "$LINENO"; then :
45999 am_cv_lib_iconv=yes
46000 am_cv_func_iconv=yes
46001 fi
46002 rm -f core conftest.err conftest.$ac_objext \
46003 conftest$ac_exeext conftest.$ac_ext
46004 LIBS="$am_save_LIBS"
46005 fi
46006
46007 fi
46008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
46009 $as_echo "$am_cv_func_iconv" >&6; }
46010 if test "$am_cv_func_iconv" = yes; then
46011
46012 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46013
46014 fi
46015 if test "$am_cv_lib_iconv" = yes; then
46016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46017 $as_echo_n "checking how to link with libiconv... " >&6; }
46018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46019 $as_echo "$LIBICONV" >&6; }
46020 else
46021 CPPFLAGS="$am_save_CPPFLAGS"
46022 LIBICONV=
46023 LTLIBICONV=
46024 fi
46025
46026
46027
46028 if test "$am_cv_func_iconv" = yes; then
46029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46030 $as_echo_n "checking for iconv declaration... " >&6; }
46031 if test "${am_cv_proto_iconv+set}" = set; then :
46032 $as_echo_n "(cached) " >&6
46033 else
46034
46035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46036 /* end confdefs.h. */
46037
46038 #include <stdlib.h>
46039 #include <iconv.h>
46040 extern
46041 #ifdef __cplusplus
46042 "C"
46043 #endif
46044 #if defined(__STDC__) || defined(__cplusplus)
46045 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46046 #else
46047 size_t iconv();
46048 #endif
46049
46050 int
46051 main ()
46052 {
46053
46054 ;
46055 return 0;
46056 }
46057 _ACEOF
46058 if ac_fn_c_try_compile "$LINENO"; then :
46059 am_cv_proto_iconv_arg1=""
46060 else
46061 am_cv_proto_iconv_arg1="const"
46062 fi
46063 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46064 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);"
46065 fi
46066
46067 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46069 }$am_cv_proto_iconv" >&5
46070 $as_echo "${ac_t:-
46071 }$am_cv_proto_iconv" >&6; }
46072
46073 cat >>confdefs.h <<_ACEOF
46074 #define ICONV_CONST $am_cv_proto_iconv_arg1
46075 _ACEOF
46076
46077 fi
46078
46079 ;;
46080
46081 *-darwin*)
46082 # Darwin versions vary, but the linker should work in a cross environment,
46083 # so we just check for all the features here.
46084 # Check for available headers.
46085
46086 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46087
46088 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46089 ac_save_CXXFLAGS="$CXXFLAGS"
46090 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46091
46092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46093 $as_echo_n "checking for sin in -lm... " >&6; }
46094 if test "${ac_cv_lib_m_sin+set}" = set; then :
46095 $as_echo_n "(cached) " >&6
46096 else
46097 ac_check_lib_save_LIBS=$LIBS
46098 LIBS="-lm $LIBS"
46099 if test x$gcc_no_link = xyes; then
46100 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46101 fi
46102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46103 /* end confdefs.h. */
46104
46105 /* Override any GCC internal prototype to avoid an error.
46106 Use char because int might match the return type of a GCC
46107 builtin and then its argument prototype would still apply. */
46108 #ifdef __cplusplus
46109 extern "C"
46110 #endif
46111 char sin ();
46112 int
46113 main ()
46114 {
46115 return sin ();
46116 ;
46117 return 0;
46118 }
46119 _ACEOF
46120 if ac_fn_c_try_link "$LINENO"; then :
46121 ac_cv_lib_m_sin=yes
46122 else
46123 ac_cv_lib_m_sin=no
46124 fi
46125 rm -f core conftest.err conftest.$ac_objext \
46126 conftest$ac_exeext conftest.$ac_ext
46127 LIBS=$ac_check_lib_save_LIBS
46128 fi
46129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46130 $as_echo "$ac_cv_lib_m_sin" >&6; }
46131 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46132 libm="-lm"
46133 fi
46134
46135 ac_save_LIBS="$LIBS"
46136 LIBS="$LIBS $libm"
46137
46138
46139
46140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46141 $as_echo_n "checking for isinf declaration... " >&6; }
46142 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46143 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46144 $as_echo_n "(cached) " >&6
46145 else
46146
46147
46148 ac_ext=cpp
46149 ac_cpp='$CXXCPP $CPPFLAGS'
46150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46153
46154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46155 /* end confdefs.h. */
46156 #include <math.h>
46157 #ifdef HAVE_IEEEFP_H
46158 #include <ieeefp.h>
46159 #endif
46160
46161 int
46162 main ()
46163 {
46164 isinf(0);
46165 ;
46166 return 0;
46167 }
46168 _ACEOF
46169 if ac_fn_cxx_try_compile "$LINENO"; then :
46170 glibcxx_cv_func_isinf_use=yes
46171 else
46172 glibcxx_cv_func_isinf_use=no
46173 fi
46174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46175 ac_ext=c
46176 ac_cpp='$CPP $CPPFLAGS'
46177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46180
46181
46182 fi
46183
46184 fi
46185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46186 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46187
46188 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46189 for ac_func in isinf
46190 do :
46191 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46192 if test "x$ac_cv_func_isinf" = x""yes; then :
46193 cat >>confdefs.h <<_ACEOF
46194 #define HAVE_ISINF 1
46195 _ACEOF
46196
46197 fi
46198 done
46199
46200 else
46201
46202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46203 $as_echo_n "checking for _isinf declaration... " >&6; }
46204 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46205 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46206 $as_echo_n "(cached) " >&6
46207 else
46208
46209
46210 ac_ext=cpp
46211 ac_cpp='$CXXCPP $CPPFLAGS'
46212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46215
46216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46217 /* end confdefs.h. */
46218 #include <math.h>
46219 #ifdef HAVE_IEEEFP_H
46220 #include <ieeefp.h>
46221 #endif
46222
46223 int
46224 main ()
46225 {
46226 _isinf(0);
46227 ;
46228 return 0;
46229 }
46230 _ACEOF
46231 if ac_fn_cxx_try_compile "$LINENO"; then :
46232 glibcxx_cv_func__isinf_use=yes
46233 else
46234 glibcxx_cv_func__isinf_use=no
46235 fi
46236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46237 ac_ext=c
46238 ac_cpp='$CPP $CPPFLAGS'
46239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46242
46243
46244 fi
46245
46246 fi
46247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46248 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46249
46250 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46251 for ac_func in _isinf
46252 do :
46253 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46254 if test "x$ac_cv_func__isinf" = x""yes; then :
46255 cat >>confdefs.h <<_ACEOF
46256 #define HAVE__ISINF 1
46257 _ACEOF
46258
46259 fi
46260 done
46261
46262 fi
46263 fi
46264
46265
46266
46267
46268
46269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46270 $as_echo_n "checking for isnan declaration... " >&6; }
46271 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46272 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46273 $as_echo_n "(cached) " >&6
46274 else
46275
46276
46277 ac_ext=cpp
46278 ac_cpp='$CXXCPP $CPPFLAGS'
46279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46282
46283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46284 /* end confdefs.h. */
46285 #include <math.h>
46286 #ifdef HAVE_IEEEFP_H
46287 #include <ieeefp.h>
46288 #endif
46289
46290 int
46291 main ()
46292 {
46293 isnan(0);
46294 ;
46295 return 0;
46296 }
46297 _ACEOF
46298 if ac_fn_cxx_try_compile "$LINENO"; then :
46299 glibcxx_cv_func_isnan_use=yes
46300 else
46301 glibcxx_cv_func_isnan_use=no
46302 fi
46303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46304 ac_ext=c
46305 ac_cpp='$CPP $CPPFLAGS'
46306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46309
46310
46311 fi
46312
46313 fi
46314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46315 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46316
46317 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46318 for ac_func in isnan
46319 do :
46320 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46321 if test "x$ac_cv_func_isnan" = x""yes; then :
46322 cat >>confdefs.h <<_ACEOF
46323 #define HAVE_ISNAN 1
46324 _ACEOF
46325
46326 fi
46327 done
46328
46329 else
46330
46331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46332 $as_echo_n "checking for _isnan declaration... " >&6; }
46333 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46334 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46335 $as_echo_n "(cached) " >&6
46336 else
46337
46338
46339 ac_ext=cpp
46340 ac_cpp='$CXXCPP $CPPFLAGS'
46341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46344
46345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46346 /* end confdefs.h. */
46347 #include <math.h>
46348 #ifdef HAVE_IEEEFP_H
46349 #include <ieeefp.h>
46350 #endif
46351
46352 int
46353 main ()
46354 {
46355 _isnan(0);
46356 ;
46357 return 0;
46358 }
46359 _ACEOF
46360 if ac_fn_cxx_try_compile "$LINENO"; then :
46361 glibcxx_cv_func__isnan_use=yes
46362 else
46363 glibcxx_cv_func__isnan_use=no
46364 fi
46365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46366 ac_ext=c
46367 ac_cpp='$CPP $CPPFLAGS'
46368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46371
46372
46373 fi
46374
46375 fi
46376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46377 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46378
46379 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46380 for ac_func in _isnan
46381 do :
46382 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46383 if test "x$ac_cv_func__isnan" = x""yes; then :
46384 cat >>confdefs.h <<_ACEOF
46385 #define HAVE__ISNAN 1
46386 _ACEOF
46387
46388 fi
46389 done
46390
46391 fi
46392 fi
46393
46394
46395
46396
46397
46398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46399 $as_echo_n "checking for finite declaration... " >&6; }
46400 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46401 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46402 $as_echo_n "(cached) " >&6
46403 else
46404
46405
46406 ac_ext=cpp
46407 ac_cpp='$CXXCPP $CPPFLAGS'
46408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46411
46412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46413 /* end confdefs.h. */
46414 #include <math.h>
46415 #ifdef HAVE_IEEEFP_H
46416 #include <ieeefp.h>
46417 #endif
46418
46419 int
46420 main ()
46421 {
46422 finite(0);
46423 ;
46424 return 0;
46425 }
46426 _ACEOF
46427 if ac_fn_cxx_try_compile "$LINENO"; then :
46428 glibcxx_cv_func_finite_use=yes
46429 else
46430 glibcxx_cv_func_finite_use=no
46431 fi
46432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46433 ac_ext=c
46434 ac_cpp='$CPP $CPPFLAGS'
46435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46438
46439
46440 fi
46441
46442 fi
46443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46444 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46445
46446 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46447 for ac_func in finite
46448 do :
46449 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46450 if test "x$ac_cv_func_finite" = x""yes; then :
46451 cat >>confdefs.h <<_ACEOF
46452 #define HAVE_FINITE 1
46453 _ACEOF
46454
46455 fi
46456 done
46457
46458 else
46459
46460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46461 $as_echo_n "checking for _finite declaration... " >&6; }
46462 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46463 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46464 $as_echo_n "(cached) " >&6
46465 else
46466
46467
46468 ac_ext=cpp
46469 ac_cpp='$CXXCPP $CPPFLAGS'
46470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46473
46474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46475 /* end confdefs.h. */
46476 #include <math.h>
46477 #ifdef HAVE_IEEEFP_H
46478 #include <ieeefp.h>
46479 #endif
46480
46481 int
46482 main ()
46483 {
46484 _finite(0);
46485 ;
46486 return 0;
46487 }
46488 _ACEOF
46489 if ac_fn_cxx_try_compile "$LINENO"; then :
46490 glibcxx_cv_func__finite_use=yes
46491 else
46492 glibcxx_cv_func__finite_use=no
46493 fi
46494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46495 ac_ext=c
46496 ac_cpp='$CPP $CPPFLAGS'
46497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46500
46501
46502 fi
46503
46504 fi
46505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46506 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46507
46508 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46509 for ac_func in _finite
46510 do :
46511 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46512 if test "x$ac_cv_func__finite" = x""yes; then :
46513 cat >>confdefs.h <<_ACEOF
46514 #define HAVE__FINITE 1
46515 _ACEOF
46516
46517 fi
46518 done
46519
46520 fi
46521 fi
46522
46523
46524
46525
46526
46527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46528 $as_echo_n "checking for sincos declaration... " >&6; }
46529 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46530 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46531 $as_echo_n "(cached) " >&6
46532 else
46533
46534
46535 ac_ext=cpp
46536 ac_cpp='$CXXCPP $CPPFLAGS'
46537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46540
46541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46542 /* end confdefs.h. */
46543 #include <math.h>
46544 int
46545 main ()
46546 {
46547 sincos(0, 0, 0);
46548 ;
46549 return 0;
46550 }
46551 _ACEOF
46552 if ac_fn_cxx_try_compile "$LINENO"; then :
46553 glibcxx_cv_func_sincos_use=yes
46554 else
46555 glibcxx_cv_func_sincos_use=no
46556 fi
46557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46558 ac_ext=c
46559 ac_cpp='$CPP $CPPFLAGS'
46560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46563
46564
46565 fi
46566
46567 fi
46568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46569 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46570
46571 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46572 for ac_func in sincos
46573 do :
46574 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46575 if test "x$ac_cv_func_sincos" = x""yes; then :
46576 cat >>confdefs.h <<_ACEOF
46577 #define HAVE_SINCOS 1
46578 _ACEOF
46579
46580 fi
46581 done
46582
46583 else
46584
46585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46586 $as_echo_n "checking for _sincos declaration... " >&6; }
46587 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46588 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46589 $as_echo_n "(cached) " >&6
46590 else
46591
46592
46593 ac_ext=cpp
46594 ac_cpp='$CXXCPP $CPPFLAGS'
46595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46598
46599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46600 /* end confdefs.h. */
46601 #include <math.h>
46602 int
46603 main ()
46604 {
46605 _sincos(0, 0, 0);
46606 ;
46607 return 0;
46608 }
46609 _ACEOF
46610 if ac_fn_cxx_try_compile "$LINENO"; then :
46611 glibcxx_cv_func__sincos_use=yes
46612 else
46613 glibcxx_cv_func__sincos_use=no
46614 fi
46615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46616 ac_ext=c
46617 ac_cpp='$CPP $CPPFLAGS'
46618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46621
46622
46623 fi
46624
46625 fi
46626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46627 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46628
46629 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46630 for ac_func in _sincos
46631 do :
46632 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46633 if test "x$ac_cv_func__sincos" = x""yes; then :
46634 cat >>confdefs.h <<_ACEOF
46635 #define HAVE__SINCOS 1
46636 _ACEOF
46637
46638 fi
46639 done
46640
46641 fi
46642 fi
46643
46644
46645
46646
46647
46648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46649 $as_echo_n "checking for fpclass declaration... " >&6; }
46650 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46651 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46652 $as_echo_n "(cached) " >&6
46653 else
46654
46655
46656 ac_ext=cpp
46657 ac_cpp='$CXXCPP $CPPFLAGS'
46658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46661
46662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46663 /* end confdefs.h. */
46664 #include <math.h>
46665 #ifdef HAVE_IEEEFP_H
46666 #include <ieeefp.h>
46667 #endif
46668
46669 int
46670 main ()
46671 {
46672 fpclass(0);
46673 ;
46674 return 0;
46675 }
46676 _ACEOF
46677 if ac_fn_cxx_try_compile "$LINENO"; then :
46678 glibcxx_cv_func_fpclass_use=yes
46679 else
46680 glibcxx_cv_func_fpclass_use=no
46681 fi
46682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46683 ac_ext=c
46684 ac_cpp='$CPP $CPPFLAGS'
46685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46688
46689
46690 fi
46691
46692 fi
46693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46694 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46695
46696 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46697 for ac_func in fpclass
46698 do :
46699 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46700 if test "x$ac_cv_func_fpclass" = x""yes; then :
46701 cat >>confdefs.h <<_ACEOF
46702 #define HAVE_FPCLASS 1
46703 _ACEOF
46704
46705 fi
46706 done
46707
46708 else
46709
46710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46711 $as_echo_n "checking for _fpclass declaration... " >&6; }
46712 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46713 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46714 $as_echo_n "(cached) " >&6
46715 else
46716
46717
46718 ac_ext=cpp
46719 ac_cpp='$CXXCPP $CPPFLAGS'
46720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46723
46724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46725 /* end confdefs.h. */
46726 #include <math.h>
46727 #ifdef HAVE_IEEEFP_H
46728 #include <ieeefp.h>
46729 #endif
46730
46731 int
46732 main ()
46733 {
46734 _fpclass(0);
46735 ;
46736 return 0;
46737 }
46738 _ACEOF
46739 if ac_fn_cxx_try_compile "$LINENO"; then :
46740 glibcxx_cv_func__fpclass_use=yes
46741 else
46742 glibcxx_cv_func__fpclass_use=no
46743 fi
46744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46745 ac_ext=c
46746 ac_cpp='$CPP $CPPFLAGS'
46747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46750
46751
46752 fi
46753
46754 fi
46755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46756 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46757
46758 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46759 for ac_func in _fpclass
46760 do :
46761 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46762 if test "x$ac_cv_func__fpclass" = x""yes; then :
46763 cat >>confdefs.h <<_ACEOF
46764 #define HAVE__FPCLASS 1
46765 _ACEOF
46766
46767 fi
46768 done
46769
46770 fi
46771 fi
46772
46773
46774
46775
46776
46777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46778 $as_echo_n "checking for qfpclass declaration... " >&6; }
46779 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46780 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46781 $as_echo_n "(cached) " >&6
46782 else
46783
46784
46785 ac_ext=cpp
46786 ac_cpp='$CXXCPP $CPPFLAGS'
46787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46790
46791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46792 /* end confdefs.h. */
46793 #include <math.h>
46794 #ifdef HAVE_IEEEFP_H
46795 #include <ieeefp.h>
46796 #endif
46797
46798 int
46799 main ()
46800 {
46801 qfpclass(0);
46802 ;
46803 return 0;
46804 }
46805 _ACEOF
46806 if ac_fn_cxx_try_compile "$LINENO"; then :
46807 glibcxx_cv_func_qfpclass_use=yes
46808 else
46809 glibcxx_cv_func_qfpclass_use=no
46810 fi
46811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46812 ac_ext=c
46813 ac_cpp='$CPP $CPPFLAGS'
46814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46817
46818
46819 fi
46820
46821 fi
46822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46823 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46824
46825 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46826 for ac_func in qfpclass
46827 do :
46828 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46829 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46830 cat >>confdefs.h <<_ACEOF
46831 #define HAVE_QFPCLASS 1
46832 _ACEOF
46833
46834 fi
46835 done
46836
46837 else
46838
46839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46840 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46841 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46842 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46843 $as_echo_n "(cached) " >&6
46844 else
46845
46846
46847 ac_ext=cpp
46848 ac_cpp='$CXXCPP $CPPFLAGS'
46849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46852
46853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46854 /* end confdefs.h. */
46855 #include <math.h>
46856 #ifdef HAVE_IEEEFP_H
46857 #include <ieeefp.h>
46858 #endif
46859
46860 int
46861 main ()
46862 {
46863 _qfpclass(0);
46864 ;
46865 return 0;
46866 }
46867 _ACEOF
46868 if ac_fn_cxx_try_compile "$LINENO"; then :
46869 glibcxx_cv_func__qfpclass_use=yes
46870 else
46871 glibcxx_cv_func__qfpclass_use=no
46872 fi
46873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46874 ac_ext=c
46875 ac_cpp='$CPP $CPPFLAGS'
46876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46879
46880
46881 fi
46882
46883 fi
46884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46885 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46886
46887 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46888 for ac_func in _qfpclass
46889 do :
46890 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46891 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46892 cat >>confdefs.h <<_ACEOF
46893 #define HAVE__QFPCLASS 1
46894 _ACEOF
46895
46896 fi
46897 done
46898
46899 fi
46900 fi
46901
46902
46903
46904
46905
46906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46907 $as_echo_n "checking for hypot declaration... " >&6; }
46908 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46909 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46910 $as_echo_n "(cached) " >&6
46911 else
46912
46913
46914 ac_ext=cpp
46915 ac_cpp='$CXXCPP $CPPFLAGS'
46916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46919
46920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46921 /* end confdefs.h. */
46922 #include <math.h>
46923 int
46924 main ()
46925 {
46926 hypot(0, 0);
46927 ;
46928 return 0;
46929 }
46930 _ACEOF
46931 if ac_fn_cxx_try_compile "$LINENO"; then :
46932 glibcxx_cv_func_hypot_use=yes
46933 else
46934 glibcxx_cv_func_hypot_use=no
46935 fi
46936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46937 ac_ext=c
46938 ac_cpp='$CPP $CPPFLAGS'
46939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46942
46943
46944 fi
46945
46946 fi
46947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46948 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46949
46950 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46951 for ac_func in hypot
46952 do :
46953 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46954 if test "x$ac_cv_func_hypot" = x""yes; then :
46955 cat >>confdefs.h <<_ACEOF
46956 #define HAVE_HYPOT 1
46957 _ACEOF
46958
46959 fi
46960 done
46961
46962 else
46963
46964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46965 $as_echo_n "checking for _hypot declaration... " >&6; }
46966 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46967 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46968 $as_echo_n "(cached) " >&6
46969 else
46970
46971
46972 ac_ext=cpp
46973 ac_cpp='$CXXCPP $CPPFLAGS'
46974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46977
46978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46979 /* end confdefs.h. */
46980 #include <math.h>
46981 int
46982 main ()
46983 {
46984 _hypot(0, 0);
46985 ;
46986 return 0;
46987 }
46988 _ACEOF
46989 if ac_fn_cxx_try_compile "$LINENO"; then :
46990 glibcxx_cv_func__hypot_use=yes
46991 else
46992 glibcxx_cv_func__hypot_use=no
46993 fi
46994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46995 ac_ext=c
46996 ac_cpp='$CPP $CPPFLAGS'
46997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47000
47001
47002 fi
47003
47004 fi
47005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
47006 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
47007
47008 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47009 for ac_func in _hypot
47010 do :
47011 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47012 if test "x$ac_cv_func__hypot" = x""yes; then :
47013 cat >>confdefs.h <<_ACEOF
47014 #define HAVE__HYPOT 1
47015 _ACEOF
47016
47017 fi
47018 done
47019
47020 fi
47021 fi
47022
47023
47024
47025
47026
47027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47028 $as_echo_n "checking for float trig functions... " >&6; }
47029 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47030 $as_echo_n "(cached) " >&6
47031 else
47032
47033
47034 ac_ext=cpp
47035 ac_cpp='$CXXCPP $CPPFLAGS'
47036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47039
47040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47041 /* end confdefs.h. */
47042 #include <math.h>
47043 int
47044 main ()
47045 {
47046 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47047 ;
47048 return 0;
47049 }
47050 _ACEOF
47051 if ac_fn_cxx_try_compile "$LINENO"; then :
47052 glibcxx_cv_func_float_trig_use=yes
47053 else
47054 glibcxx_cv_func_float_trig_use=no
47055 fi
47056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47057 ac_ext=c
47058 ac_cpp='$CPP $CPPFLAGS'
47059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47062
47063 fi
47064
47065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47066 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47067 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47068 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47069 do :
47070 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47071 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47072 eval as_val=\$$as_ac_var
47073 if test "x$as_val" = x""yes; then :
47074 cat >>confdefs.h <<_ACEOF
47075 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47076 _ACEOF
47077
47078 fi
47079 done
47080
47081 else
47082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47083 $as_echo_n "checking for _float trig functions... " >&6; }
47084 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47085 $as_echo_n "(cached) " >&6
47086 else
47087
47088
47089 ac_ext=cpp
47090 ac_cpp='$CXXCPP $CPPFLAGS'
47091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47094
47095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47096 /* end confdefs.h. */
47097 #include <math.h>
47098 int
47099 main ()
47100 {
47101 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47102 ;
47103 return 0;
47104 }
47105 _ACEOF
47106 if ac_fn_cxx_try_compile "$LINENO"; then :
47107 glibcxx_cv_func__float_trig_use=yes
47108 else
47109 glibcxx_cv_func__float_trig_use=no
47110 fi
47111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47112 ac_ext=c
47113 ac_cpp='$CPP $CPPFLAGS'
47114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47117
47118 fi
47119
47120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47121 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47122 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47123 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47124 do :
47125 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47126 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47127 eval as_val=\$$as_ac_var
47128 if test "x$as_val" = x""yes; then :
47129 cat >>confdefs.h <<_ACEOF
47130 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47131 _ACEOF
47132
47133 fi
47134 done
47135
47136 fi
47137 fi
47138
47139
47140
47141
47142
47143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47144 $as_echo_n "checking for float round functions... " >&6; }
47145 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47146 $as_echo_n "(cached) " >&6
47147 else
47148
47149
47150 ac_ext=cpp
47151 ac_cpp='$CXXCPP $CPPFLAGS'
47152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47155
47156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47157 /* end confdefs.h. */
47158 #include <math.h>
47159 int
47160 main ()
47161 {
47162 ceilf (0); floorf (0);
47163 ;
47164 return 0;
47165 }
47166 _ACEOF
47167 if ac_fn_cxx_try_compile "$LINENO"; then :
47168 glibcxx_cv_func_float_round_use=yes
47169 else
47170 glibcxx_cv_func_float_round_use=no
47171 fi
47172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47173 ac_ext=c
47174 ac_cpp='$CPP $CPPFLAGS'
47175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47178
47179 fi
47180
47181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47182 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47183 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47184 for ac_func in ceilf floorf
47185 do :
47186 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47187 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47188 eval as_val=\$$as_ac_var
47189 if test "x$as_val" = x""yes; then :
47190 cat >>confdefs.h <<_ACEOF
47191 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47192 _ACEOF
47193
47194 fi
47195 done
47196
47197 else
47198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47199 $as_echo_n "checking for _float round functions... " >&6; }
47200 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47201 $as_echo_n "(cached) " >&6
47202 else
47203
47204
47205 ac_ext=cpp
47206 ac_cpp='$CXXCPP $CPPFLAGS'
47207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47210
47211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47212 /* end confdefs.h. */
47213 #include <math.h>
47214 int
47215 main ()
47216 {
47217 _ceilf (0); _floorf (0);
47218 ;
47219 return 0;
47220 }
47221 _ACEOF
47222 if ac_fn_cxx_try_compile "$LINENO"; then :
47223 glibcxx_cv_func__float_round_use=yes
47224 else
47225 glibcxx_cv_func__float_round_use=no
47226 fi
47227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47228 ac_ext=c
47229 ac_cpp='$CPP $CPPFLAGS'
47230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47233
47234 fi
47235
47236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47237 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47238 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47239 for ac_func in _ceilf _floorf
47240 do :
47241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47243 eval as_val=\$$as_ac_var
47244 if test "x$as_val" = x""yes; then :
47245 cat >>confdefs.h <<_ACEOF
47246 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47247 _ACEOF
47248
47249 fi
47250 done
47251
47252 fi
47253 fi
47254
47255
47256
47257
47258
47259
47260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47261 $as_echo_n "checking for expf declaration... " >&6; }
47262 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47263 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47264 $as_echo_n "(cached) " >&6
47265 else
47266
47267
47268 ac_ext=cpp
47269 ac_cpp='$CXXCPP $CPPFLAGS'
47270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47273
47274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47275 /* end confdefs.h. */
47276 #include <math.h>
47277 #ifdef HAVE_IEEEFP_H
47278 #include <ieeefp.h>
47279 #endif
47280
47281 int
47282 main ()
47283 {
47284 expf(0);
47285 ;
47286 return 0;
47287 }
47288 _ACEOF
47289 if ac_fn_cxx_try_compile "$LINENO"; then :
47290 glibcxx_cv_func_expf_use=yes
47291 else
47292 glibcxx_cv_func_expf_use=no
47293 fi
47294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47295 ac_ext=c
47296 ac_cpp='$CPP $CPPFLAGS'
47297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47300
47301
47302 fi
47303
47304 fi
47305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47306 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47307
47308 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47309 for ac_func in expf
47310 do :
47311 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47312 if test "x$ac_cv_func_expf" = x""yes; then :
47313 cat >>confdefs.h <<_ACEOF
47314 #define HAVE_EXPF 1
47315 _ACEOF
47316
47317 fi
47318 done
47319
47320 else
47321
47322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47323 $as_echo_n "checking for _expf declaration... " >&6; }
47324 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47325 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47326 $as_echo_n "(cached) " >&6
47327 else
47328
47329
47330 ac_ext=cpp
47331 ac_cpp='$CXXCPP $CPPFLAGS'
47332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47335
47336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47337 /* end confdefs.h. */
47338 #include <math.h>
47339 #ifdef HAVE_IEEEFP_H
47340 #include <ieeefp.h>
47341 #endif
47342
47343 int
47344 main ()
47345 {
47346 _expf(0);
47347 ;
47348 return 0;
47349 }
47350 _ACEOF
47351 if ac_fn_cxx_try_compile "$LINENO"; then :
47352 glibcxx_cv_func__expf_use=yes
47353 else
47354 glibcxx_cv_func__expf_use=no
47355 fi
47356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47357 ac_ext=c
47358 ac_cpp='$CPP $CPPFLAGS'
47359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47362
47363
47364 fi
47365
47366 fi
47367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47368 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47369
47370 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47371 for ac_func in _expf
47372 do :
47373 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47374 if test "x$ac_cv_func__expf" = x""yes; then :
47375 cat >>confdefs.h <<_ACEOF
47376 #define HAVE__EXPF 1
47377 _ACEOF
47378
47379 fi
47380 done
47381
47382 fi
47383 fi
47384
47385
47386
47387
47388
47389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47390 $as_echo_n "checking for isnanf declaration... " >&6; }
47391 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47392 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47393 $as_echo_n "(cached) " >&6
47394 else
47395
47396
47397 ac_ext=cpp
47398 ac_cpp='$CXXCPP $CPPFLAGS'
47399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47402
47403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47404 /* end confdefs.h. */
47405 #include <math.h>
47406 #ifdef HAVE_IEEEFP_H
47407 #include <ieeefp.h>
47408 #endif
47409
47410 int
47411 main ()
47412 {
47413 isnanf(0);
47414 ;
47415 return 0;
47416 }
47417 _ACEOF
47418 if ac_fn_cxx_try_compile "$LINENO"; then :
47419 glibcxx_cv_func_isnanf_use=yes
47420 else
47421 glibcxx_cv_func_isnanf_use=no
47422 fi
47423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47424 ac_ext=c
47425 ac_cpp='$CPP $CPPFLAGS'
47426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47429
47430
47431 fi
47432
47433 fi
47434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47435 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47436
47437 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47438 for ac_func in isnanf
47439 do :
47440 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47441 if test "x$ac_cv_func_isnanf" = x""yes; then :
47442 cat >>confdefs.h <<_ACEOF
47443 #define HAVE_ISNANF 1
47444 _ACEOF
47445
47446 fi
47447 done
47448
47449 else
47450
47451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47452 $as_echo_n "checking for _isnanf declaration... " >&6; }
47453 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47454 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47455 $as_echo_n "(cached) " >&6
47456 else
47457
47458
47459 ac_ext=cpp
47460 ac_cpp='$CXXCPP $CPPFLAGS'
47461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47464
47465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47466 /* end confdefs.h. */
47467 #include <math.h>
47468 #ifdef HAVE_IEEEFP_H
47469 #include <ieeefp.h>
47470 #endif
47471
47472 int
47473 main ()
47474 {
47475 _isnanf(0);
47476 ;
47477 return 0;
47478 }
47479 _ACEOF
47480 if ac_fn_cxx_try_compile "$LINENO"; then :
47481 glibcxx_cv_func__isnanf_use=yes
47482 else
47483 glibcxx_cv_func__isnanf_use=no
47484 fi
47485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47486 ac_ext=c
47487 ac_cpp='$CPP $CPPFLAGS'
47488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47491
47492
47493 fi
47494
47495 fi
47496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47497 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47498
47499 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47500 for ac_func in _isnanf
47501 do :
47502 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47503 if test "x$ac_cv_func__isnanf" = x""yes; then :
47504 cat >>confdefs.h <<_ACEOF
47505 #define HAVE__ISNANF 1
47506 _ACEOF
47507
47508 fi
47509 done
47510
47511 fi
47512 fi
47513
47514
47515
47516
47517
47518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47519 $as_echo_n "checking for isinff declaration... " >&6; }
47520 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47521 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47522 $as_echo_n "(cached) " >&6
47523 else
47524
47525
47526 ac_ext=cpp
47527 ac_cpp='$CXXCPP $CPPFLAGS'
47528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47531
47532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47533 /* end confdefs.h. */
47534 #include <math.h>
47535 #ifdef HAVE_IEEEFP_H
47536 #include <ieeefp.h>
47537 #endif
47538
47539 int
47540 main ()
47541 {
47542 isinff(0);
47543 ;
47544 return 0;
47545 }
47546 _ACEOF
47547 if ac_fn_cxx_try_compile "$LINENO"; then :
47548 glibcxx_cv_func_isinff_use=yes
47549 else
47550 glibcxx_cv_func_isinff_use=no
47551 fi
47552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47553 ac_ext=c
47554 ac_cpp='$CPP $CPPFLAGS'
47555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47558
47559
47560 fi
47561
47562 fi
47563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47564 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47565
47566 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47567 for ac_func in isinff
47568 do :
47569 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47570 if test "x$ac_cv_func_isinff" = x""yes; then :
47571 cat >>confdefs.h <<_ACEOF
47572 #define HAVE_ISINFF 1
47573 _ACEOF
47574
47575 fi
47576 done
47577
47578 else
47579
47580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47581 $as_echo_n "checking for _isinff declaration... " >&6; }
47582 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47583 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47584 $as_echo_n "(cached) " >&6
47585 else
47586
47587
47588 ac_ext=cpp
47589 ac_cpp='$CXXCPP $CPPFLAGS'
47590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47593
47594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47595 /* end confdefs.h. */
47596 #include <math.h>
47597 #ifdef HAVE_IEEEFP_H
47598 #include <ieeefp.h>
47599 #endif
47600
47601 int
47602 main ()
47603 {
47604 _isinff(0);
47605 ;
47606 return 0;
47607 }
47608 _ACEOF
47609 if ac_fn_cxx_try_compile "$LINENO"; then :
47610 glibcxx_cv_func__isinff_use=yes
47611 else
47612 glibcxx_cv_func__isinff_use=no
47613 fi
47614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47615 ac_ext=c
47616 ac_cpp='$CPP $CPPFLAGS'
47617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47620
47621
47622 fi
47623
47624 fi
47625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47626 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47627
47628 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47629 for ac_func in _isinff
47630 do :
47631 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47632 if test "x$ac_cv_func__isinff" = x""yes; then :
47633 cat >>confdefs.h <<_ACEOF
47634 #define HAVE__ISINFF 1
47635 _ACEOF
47636
47637 fi
47638 done
47639
47640 fi
47641 fi
47642
47643
47644
47645
47646
47647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47648 $as_echo_n "checking for atan2f declaration... " >&6; }
47649 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47650 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47651 $as_echo_n "(cached) " >&6
47652 else
47653
47654
47655 ac_ext=cpp
47656 ac_cpp='$CXXCPP $CPPFLAGS'
47657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47660
47661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47662 /* end confdefs.h. */
47663 #include <math.h>
47664 int
47665 main ()
47666 {
47667 atan2f(0, 0);
47668 ;
47669 return 0;
47670 }
47671 _ACEOF
47672 if ac_fn_cxx_try_compile "$LINENO"; then :
47673 glibcxx_cv_func_atan2f_use=yes
47674 else
47675 glibcxx_cv_func_atan2f_use=no
47676 fi
47677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47678 ac_ext=c
47679 ac_cpp='$CPP $CPPFLAGS'
47680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47683
47684
47685 fi
47686
47687 fi
47688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47689 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47690
47691 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47692 for ac_func in atan2f
47693 do :
47694 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47695 if test "x$ac_cv_func_atan2f" = x""yes; then :
47696 cat >>confdefs.h <<_ACEOF
47697 #define HAVE_ATAN2F 1
47698 _ACEOF
47699
47700 fi
47701 done
47702
47703 else
47704
47705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47706 $as_echo_n "checking for _atan2f declaration... " >&6; }
47707 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47708 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47709 $as_echo_n "(cached) " >&6
47710 else
47711
47712
47713 ac_ext=cpp
47714 ac_cpp='$CXXCPP $CPPFLAGS'
47715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47718
47719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47720 /* end confdefs.h. */
47721 #include <math.h>
47722 int
47723 main ()
47724 {
47725 _atan2f(0, 0);
47726 ;
47727 return 0;
47728 }
47729 _ACEOF
47730 if ac_fn_cxx_try_compile "$LINENO"; then :
47731 glibcxx_cv_func__atan2f_use=yes
47732 else
47733 glibcxx_cv_func__atan2f_use=no
47734 fi
47735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47736 ac_ext=c
47737 ac_cpp='$CPP $CPPFLAGS'
47738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47741
47742
47743 fi
47744
47745 fi
47746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47747 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47748
47749 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47750 for ac_func in _atan2f
47751 do :
47752 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47753 if test "x$ac_cv_func__atan2f" = x""yes; then :
47754 cat >>confdefs.h <<_ACEOF
47755 #define HAVE__ATAN2F 1
47756 _ACEOF
47757
47758 fi
47759 done
47760
47761 fi
47762 fi
47763
47764
47765
47766
47767
47768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47769 $as_echo_n "checking for fabsf declaration... " >&6; }
47770 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47771 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47772 $as_echo_n "(cached) " >&6
47773 else
47774
47775
47776 ac_ext=cpp
47777 ac_cpp='$CXXCPP $CPPFLAGS'
47778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47781
47782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47783 /* end confdefs.h. */
47784 #include <math.h>
47785 #ifdef HAVE_IEEEFP_H
47786 #include <ieeefp.h>
47787 #endif
47788
47789 int
47790 main ()
47791 {
47792 fabsf(0);
47793 ;
47794 return 0;
47795 }
47796 _ACEOF
47797 if ac_fn_cxx_try_compile "$LINENO"; then :
47798 glibcxx_cv_func_fabsf_use=yes
47799 else
47800 glibcxx_cv_func_fabsf_use=no
47801 fi
47802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47803 ac_ext=c
47804 ac_cpp='$CPP $CPPFLAGS'
47805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47808
47809
47810 fi
47811
47812 fi
47813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47814 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47815
47816 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47817 for ac_func in fabsf
47818 do :
47819 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47820 if test "x$ac_cv_func_fabsf" = x""yes; then :
47821 cat >>confdefs.h <<_ACEOF
47822 #define HAVE_FABSF 1
47823 _ACEOF
47824
47825 fi
47826 done
47827
47828 else
47829
47830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47831 $as_echo_n "checking for _fabsf declaration... " >&6; }
47832 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47833 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47834 $as_echo_n "(cached) " >&6
47835 else
47836
47837
47838 ac_ext=cpp
47839 ac_cpp='$CXXCPP $CPPFLAGS'
47840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47843
47844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47845 /* end confdefs.h. */
47846 #include <math.h>
47847 #ifdef HAVE_IEEEFP_H
47848 #include <ieeefp.h>
47849 #endif
47850
47851 int
47852 main ()
47853 {
47854 _fabsf(0);
47855 ;
47856 return 0;
47857 }
47858 _ACEOF
47859 if ac_fn_cxx_try_compile "$LINENO"; then :
47860 glibcxx_cv_func__fabsf_use=yes
47861 else
47862 glibcxx_cv_func__fabsf_use=no
47863 fi
47864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47865 ac_ext=c
47866 ac_cpp='$CPP $CPPFLAGS'
47867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47870
47871
47872 fi
47873
47874 fi
47875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47876 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47877
47878 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47879 for ac_func in _fabsf
47880 do :
47881 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47882 if test "x$ac_cv_func__fabsf" = x""yes; then :
47883 cat >>confdefs.h <<_ACEOF
47884 #define HAVE__FABSF 1
47885 _ACEOF
47886
47887 fi
47888 done
47889
47890 fi
47891 fi
47892
47893
47894
47895
47896
47897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47898 $as_echo_n "checking for fmodf declaration... " >&6; }
47899 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47900 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47901 $as_echo_n "(cached) " >&6
47902 else
47903
47904
47905 ac_ext=cpp
47906 ac_cpp='$CXXCPP $CPPFLAGS'
47907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47910
47911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47912 /* end confdefs.h. */
47913 #include <math.h>
47914 int
47915 main ()
47916 {
47917 fmodf(0, 0);
47918 ;
47919 return 0;
47920 }
47921 _ACEOF
47922 if ac_fn_cxx_try_compile "$LINENO"; then :
47923 glibcxx_cv_func_fmodf_use=yes
47924 else
47925 glibcxx_cv_func_fmodf_use=no
47926 fi
47927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47928 ac_ext=c
47929 ac_cpp='$CPP $CPPFLAGS'
47930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47933
47934
47935 fi
47936
47937 fi
47938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47939 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47940
47941 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47942 for ac_func in fmodf
47943 do :
47944 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47945 if test "x$ac_cv_func_fmodf" = x""yes; then :
47946 cat >>confdefs.h <<_ACEOF
47947 #define HAVE_FMODF 1
47948 _ACEOF
47949
47950 fi
47951 done
47952
47953 else
47954
47955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47956 $as_echo_n "checking for _fmodf declaration... " >&6; }
47957 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47958 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47959 $as_echo_n "(cached) " >&6
47960 else
47961
47962
47963 ac_ext=cpp
47964 ac_cpp='$CXXCPP $CPPFLAGS'
47965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47968
47969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47970 /* end confdefs.h. */
47971 #include <math.h>
47972 int
47973 main ()
47974 {
47975 _fmodf(0, 0);
47976 ;
47977 return 0;
47978 }
47979 _ACEOF
47980 if ac_fn_cxx_try_compile "$LINENO"; then :
47981 glibcxx_cv_func__fmodf_use=yes
47982 else
47983 glibcxx_cv_func__fmodf_use=no
47984 fi
47985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47986 ac_ext=c
47987 ac_cpp='$CPP $CPPFLAGS'
47988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47991
47992
47993 fi
47994
47995 fi
47996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47997 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47998
47999 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48000 for ac_func in _fmodf
48001 do :
48002 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
48003 if test "x$ac_cv_func__fmodf" = x""yes; then :
48004 cat >>confdefs.h <<_ACEOF
48005 #define HAVE__FMODF 1
48006 _ACEOF
48007
48008 fi
48009 done
48010
48011 fi
48012 fi
48013
48014
48015
48016
48017
48018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48019 $as_echo_n "checking for frexpf declaration... " >&6; }
48020 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48021 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48022 $as_echo_n "(cached) " >&6
48023 else
48024
48025
48026 ac_ext=cpp
48027 ac_cpp='$CXXCPP $CPPFLAGS'
48028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48031
48032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48033 /* end confdefs.h. */
48034 #include <math.h>
48035 int
48036 main ()
48037 {
48038 frexpf(0, 0);
48039 ;
48040 return 0;
48041 }
48042 _ACEOF
48043 if ac_fn_cxx_try_compile "$LINENO"; then :
48044 glibcxx_cv_func_frexpf_use=yes
48045 else
48046 glibcxx_cv_func_frexpf_use=no
48047 fi
48048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48049 ac_ext=c
48050 ac_cpp='$CPP $CPPFLAGS'
48051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48054
48055
48056 fi
48057
48058 fi
48059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48060 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48061
48062 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48063 for ac_func in frexpf
48064 do :
48065 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48066 if test "x$ac_cv_func_frexpf" = x""yes; then :
48067 cat >>confdefs.h <<_ACEOF
48068 #define HAVE_FREXPF 1
48069 _ACEOF
48070
48071 fi
48072 done
48073
48074 else
48075
48076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48077 $as_echo_n "checking for _frexpf declaration... " >&6; }
48078 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48079 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48080 $as_echo_n "(cached) " >&6
48081 else
48082
48083
48084 ac_ext=cpp
48085 ac_cpp='$CXXCPP $CPPFLAGS'
48086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48089
48090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48091 /* end confdefs.h. */
48092 #include <math.h>
48093 int
48094 main ()
48095 {
48096 _frexpf(0, 0);
48097 ;
48098 return 0;
48099 }
48100 _ACEOF
48101 if ac_fn_cxx_try_compile "$LINENO"; then :
48102 glibcxx_cv_func__frexpf_use=yes
48103 else
48104 glibcxx_cv_func__frexpf_use=no
48105 fi
48106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48107 ac_ext=c
48108 ac_cpp='$CPP $CPPFLAGS'
48109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48112
48113
48114 fi
48115
48116 fi
48117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48118 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48119
48120 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48121 for ac_func in _frexpf
48122 do :
48123 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48124 if test "x$ac_cv_func__frexpf" = x""yes; then :
48125 cat >>confdefs.h <<_ACEOF
48126 #define HAVE__FREXPF 1
48127 _ACEOF
48128
48129 fi
48130 done
48131
48132 fi
48133 fi
48134
48135
48136
48137
48138
48139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48140 $as_echo_n "checking for hypotf declaration... " >&6; }
48141 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48142 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48143 $as_echo_n "(cached) " >&6
48144 else
48145
48146
48147 ac_ext=cpp
48148 ac_cpp='$CXXCPP $CPPFLAGS'
48149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48152
48153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48154 /* end confdefs.h. */
48155 #include <math.h>
48156 int
48157 main ()
48158 {
48159 hypotf(0, 0);
48160 ;
48161 return 0;
48162 }
48163 _ACEOF
48164 if ac_fn_cxx_try_compile "$LINENO"; then :
48165 glibcxx_cv_func_hypotf_use=yes
48166 else
48167 glibcxx_cv_func_hypotf_use=no
48168 fi
48169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48170 ac_ext=c
48171 ac_cpp='$CPP $CPPFLAGS'
48172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48175
48176
48177 fi
48178
48179 fi
48180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48181 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48182
48183 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48184 for ac_func in hypotf
48185 do :
48186 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48187 if test "x$ac_cv_func_hypotf" = x""yes; then :
48188 cat >>confdefs.h <<_ACEOF
48189 #define HAVE_HYPOTF 1
48190 _ACEOF
48191
48192 fi
48193 done
48194
48195 else
48196
48197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48198 $as_echo_n "checking for _hypotf declaration... " >&6; }
48199 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48200 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48201 $as_echo_n "(cached) " >&6
48202 else
48203
48204
48205 ac_ext=cpp
48206 ac_cpp='$CXXCPP $CPPFLAGS'
48207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48210
48211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48212 /* end confdefs.h. */
48213 #include <math.h>
48214 int
48215 main ()
48216 {
48217 _hypotf(0, 0);
48218 ;
48219 return 0;
48220 }
48221 _ACEOF
48222 if ac_fn_cxx_try_compile "$LINENO"; then :
48223 glibcxx_cv_func__hypotf_use=yes
48224 else
48225 glibcxx_cv_func__hypotf_use=no
48226 fi
48227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48228 ac_ext=c
48229 ac_cpp='$CPP $CPPFLAGS'
48230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48233
48234
48235 fi
48236
48237 fi
48238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48239 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48240
48241 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48242 for ac_func in _hypotf
48243 do :
48244 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48245 if test "x$ac_cv_func__hypotf" = x""yes; then :
48246 cat >>confdefs.h <<_ACEOF
48247 #define HAVE__HYPOTF 1
48248 _ACEOF
48249
48250 fi
48251 done
48252
48253 fi
48254 fi
48255
48256
48257
48258
48259
48260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48261 $as_echo_n "checking for ldexpf declaration... " >&6; }
48262 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48263 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48264 $as_echo_n "(cached) " >&6
48265 else
48266
48267
48268 ac_ext=cpp
48269 ac_cpp='$CXXCPP $CPPFLAGS'
48270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48273
48274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48275 /* end confdefs.h. */
48276 #include <math.h>
48277 int
48278 main ()
48279 {
48280 ldexpf(0, 0);
48281 ;
48282 return 0;
48283 }
48284 _ACEOF
48285 if ac_fn_cxx_try_compile "$LINENO"; then :
48286 glibcxx_cv_func_ldexpf_use=yes
48287 else
48288 glibcxx_cv_func_ldexpf_use=no
48289 fi
48290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48291 ac_ext=c
48292 ac_cpp='$CPP $CPPFLAGS'
48293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48296
48297
48298 fi
48299
48300 fi
48301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48302 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48303
48304 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48305 for ac_func in ldexpf
48306 do :
48307 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48308 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48309 cat >>confdefs.h <<_ACEOF
48310 #define HAVE_LDEXPF 1
48311 _ACEOF
48312
48313 fi
48314 done
48315
48316 else
48317
48318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48319 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48320 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48321 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48322 $as_echo_n "(cached) " >&6
48323 else
48324
48325
48326 ac_ext=cpp
48327 ac_cpp='$CXXCPP $CPPFLAGS'
48328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48331
48332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48333 /* end confdefs.h. */
48334 #include <math.h>
48335 int
48336 main ()
48337 {
48338 _ldexpf(0, 0);
48339 ;
48340 return 0;
48341 }
48342 _ACEOF
48343 if ac_fn_cxx_try_compile "$LINENO"; then :
48344 glibcxx_cv_func__ldexpf_use=yes
48345 else
48346 glibcxx_cv_func__ldexpf_use=no
48347 fi
48348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48349 ac_ext=c
48350 ac_cpp='$CPP $CPPFLAGS'
48351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48354
48355
48356 fi
48357
48358 fi
48359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48360 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48361
48362 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48363 for ac_func in _ldexpf
48364 do :
48365 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48366 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48367 cat >>confdefs.h <<_ACEOF
48368 #define HAVE__LDEXPF 1
48369 _ACEOF
48370
48371 fi
48372 done
48373
48374 fi
48375 fi
48376
48377
48378
48379
48380
48381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48382 $as_echo_n "checking for logf declaration... " >&6; }
48383 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48384 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48385 $as_echo_n "(cached) " >&6
48386 else
48387
48388
48389 ac_ext=cpp
48390 ac_cpp='$CXXCPP $CPPFLAGS'
48391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48394
48395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48396 /* end confdefs.h. */
48397 #include <math.h>
48398 #ifdef HAVE_IEEEFP_H
48399 #include <ieeefp.h>
48400 #endif
48401
48402 int
48403 main ()
48404 {
48405 logf(0);
48406 ;
48407 return 0;
48408 }
48409 _ACEOF
48410 if ac_fn_cxx_try_compile "$LINENO"; then :
48411 glibcxx_cv_func_logf_use=yes
48412 else
48413 glibcxx_cv_func_logf_use=no
48414 fi
48415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48416 ac_ext=c
48417 ac_cpp='$CPP $CPPFLAGS'
48418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48421
48422
48423 fi
48424
48425 fi
48426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48427 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48428
48429 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48430 for ac_func in logf
48431 do :
48432 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48433 if test "x$ac_cv_func_logf" = x""yes; then :
48434 cat >>confdefs.h <<_ACEOF
48435 #define HAVE_LOGF 1
48436 _ACEOF
48437
48438 fi
48439 done
48440
48441 else
48442
48443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48444 $as_echo_n "checking for _logf declaration... " >&6; }
48445 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48446 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48447 $as_echo_n "(cached) " >&6
48448 else
48449
48450
48451 ac_ext=cpp
48452 ac_cpp='$CXXCPP $CPPFLAGS'
48453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48456
48457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48458 /* end confdefs.h. */
48459 #include <math.h>
48460 #ifdef HAVE_IEEEFP_H
48461 #include <ieeefp.h>
48462 #endif
48463
48464 int
48465 main ()
48466 {
48467 _logf(0);
48468 ;
48469 return 0;
48470 }
48471 _ACEOF
48472 if ac_fn_cxx_try_compile "$LINENO"; then :
48473 glibcxx_cv_func__logf_use=yes
48474 else
48475 glibcxx_cv_func__logf_use=no
48476 fi
48477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48478 ac_ext=c
48479 ac_cpp='$CPP $CPPFLAGS'
48480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48483
48484
48485 fi
48486
48487 fi
48488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48489 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48490
48491 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48492 for ac_func in _logf
48493 do :
48494 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48495 if test "x$ac_cv_func__logf" = x""yes; then :
48496 cat >>confdefs.h <<_ACEOF
48497 #define HAVE__LOGF 1
48498 _ACEOF
48499
48500 fi
48501 done
48502
48503 fi
48504 fi
48505
48506
48507
48508
48509
48510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48511 $as_echo_n "checking for log10f declaration... " >&6; }
48512 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48513 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48514 $as_echo_n "(cached) " >&6
48515 else
48516
48517
48518 ac_ext=cpp
48519 ac_cpp='$CXXCPP $CPPFLAGS'
48520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48523
48524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48525 /* end confdefs.h. */
48526 #include <math.h>
48527 #ifdef HAVE_IEEEFP_H
48528 #include <ieeefp.h>
48529 #endif
48530
48531 int
48532 main ()
48533 {
48534 log10f(0);
48535 ;
48536 return 0;
48537 }
48538 _ACEOF
48539 if ac_fn_cxx_try_compile "$LINENO"; then :
48540 glibcxx_cv_func_log10f_use=yes
48541 else
48542 glibcxx_cv_func_log10f_use=no
48543 fi
48544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48545 ac_ext=c
48546 ac_cpp='$CPP $CPPFLAGS'
48547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48550
48551
48552 fi
48553
48554 fi
48555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48556 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48557
48558 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48559 for ac_func in log10f
48560 do :
48561 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48562 if test "x$ac_cv_func_log10f" = x""yes; then :
48563 cat >>confdefs.h <<_ACEOF
48564 #define HAVE_LOG10F 1
48565 _ACEOF
48566
48567 fi
48568 done
48569
48570 else
48571
48572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48573 $as_echo_n "checking for _log10f declaration... " >&6; }
48574 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48575 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48576 $as_echo_n "(cached) " >&6
48577 else
48578
48579
48580 ac_ext=cpp
48581 ac_cpp='$CXXCPP $CPPFLAGS'
48582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48585
48586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48587 /* end confdefs.h. */
48588 #include <math.h>
48589 #ifdef HAVE_IEEEFP_H
48590 #include <ieeefp.h>
48591 #endif
48592
48593 int
48594 main ()
48595 {
48596 _log10f(0);
48597 ;
48598 return 0;
48599 }
48600 _ACEOF
48601 if ac_fn_cxx_try_compile "$LINENO"; then :
48602 glibcxx_cv_func__log10f_use=yes
48603 else
48604 glibcxx_cv_func__log10f_use=no
48605 fi
48606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48607 ac_ext=c
48608 ac_cpp='$CPP $CPPFLAGS'
48609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48612
48613
48614 fi
48615
48616 fi
48617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48618 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48619
48620 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48621 for ac_func in _log10f
48622 do :
48623 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48624 if test "x$ac_cv_func__log10f" = x""yes; then :
48625 cat >>confdefs.h <<_ACEOF
48626 #define HAVE__LOG10F 1
48627 _ACEOF
48628
48629 fi
48630 done
48631
48632 fi
48633 fi
48634
48635
48636
48637
48638
48639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48640 $as_echo_n "checking for modff declaration... " >&6; }
48641 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48642 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48643 $as_echo_n "(cached) " >&6
48644 else
48645
48646
48647 ac_ext=cpp
48648 ac_cpp='$CXXCPP $CPPFLAGS'
48649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48652
48653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48654 /* end confdefs.h. */
48655 #include <math.h>
48656 int
48657 main ()
48658 {
48659 modff(0, 0);
48660 ;
48661 return 0;
48662 }
48663 _ACEOF
48664 if ac_fn_cxx_try_compile "$LINENO"; then :
48665 glibcxx_cv_func_modff_use=yes
48666 else
48667 glibcxx_cv_func_modff_use=no
48668 fi
48669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48670 ac_ext=c
48671 ac_cpp='$CPP $CPPFLAGS'
48672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48675
48676
48677 fi
48678
48679 fi
48680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48681 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48682
48683 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48684 for ac_func in modff
48685 do :
48686 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48687 if test "x$ac_cv_func_modff" = x""yes; then :
48688 cat >>confdefs.h <<_ACEOF
48689 #define HAVE_MODFF 1
48690 _ACEOF
48691
48692 fi
48693 done
48694
48695 else
48696
48697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48698 $as_echo_n "checking for _modff declaration... " >&6; }
48699 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48700 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48701 $as_echo_n "(cached) " >&6
48702 else
48703
48704
48705 ac_ext=cpp
48706 ac_cpp='$CXXCPP $CPPFLAGS'
48707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48710
48711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48712 /* end confdefs.h. */
48713 #include <math.h>
48714 int
48715 main ()
48716 {
48717 _modff(0, 0);
48718 ;
48719 return 0;
48720 }
48721 _ACEOF
48722 if ac_fn_cxx_try_compile "$LINENO"; then :
48723 glibcxx_cv_func__modff_use=yes
48724 else
48725 glibcxx_cv_func__modff_use=no
48726 fi
48727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48728 ac_ext=c
48729 ac_cpp='$CPP $CPPFLAGS'
48730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48733
48734
48735 fi
48736
48737 fi
48738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48739 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48740
48741 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48742 for ac_func in _modff
48743 do :
48744 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48745 if test "x$ac_cv_func__modff" = x""yes; then :
48746 cat >>confdefs.h <<_ACEOF
48747 #define HAVE__MODFF 1
48748 _ACEOF
48749
48750 fi
48751 done
48752
48753 fi
48754 fi
48755
48756
48757
48758
48759
48760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48761 $as_echo_n "checking for modf declaration... " >&6; }
48762 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48763 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48764 $as_echo_n "(cached) " >&6
48765 else
48766
48767
48768 ac_ext=cpp
48769 ac_cpp='$CXXCPP $CPPFLAGS'
48770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48773
48774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48775 /* end confdefs.h. */
48776 #include <math.h>
48777 int
48778 main ()
48779 {
48780 modf(0, 0);
48781 ;
48782 return 0;
48783 }
48784 _ACEOF
48785 if ac_fn_cxx_try_compile "$LINENO"; then :
48786 glibcxx_cv_func_modf_use=yes
48787 else
48788 glibcxx_cv_func_modf_use=no
48789 fi
48790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48791 ac_ext=c
48792 ac_cpp='$CPP $CPPFLAGS'
48793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48796
48797
48798 fi
48799
48800 fi
48801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48802 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48803
48804 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48805 for ac_func in modf
48806 do :
48807 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48808 if test "x$ac_cv_func_modf" = x""yes; then :
48809 cat >>confdefs.h <<_ACEOF
48810 #define HAVE_MODF 1
48811 _ACEOF
48812
48813 fi
48814 done
48815
48816 else
48817
48818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48819 $as_echo_n "checking for _modf declaration... " >&6; }
48820 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48821 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48822 $as_echo_n "(cached) " >&6
48823 else
48824
48825
48826 ac_ext=cpp
48827 ac_cpp='$CXXCPP $CPPFLAGS'
48828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48831
48832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48833 /* end confdefs.h. */
48834 #include <math.h>
48835 int
48836 main ()
48837 {
48838 _modf(0, 0);
48839 ;
48840 return 0;
48841 }
48842 _ACEOF
48843 if ac_fn_cxx_try_compile "$LINENO"; then :
48844 glibcxx_cv_func__modf_use=yes
48845 else
48846 glibcxx_cv_func__modf_use=no
48847 fi
48848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48849 ac_ext=c
48850 ac_cpp='$CPP $CPPFLAGS'
48851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48854
48855
48856 fi
48857
48858 fi
48859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48860 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48861
48862 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48863 for ac_func in _modf
48864 do :
48865 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48866 if test "x$ac_cv_func__modf" = x""yes; then :
48867 cat >>confdefs.h <<_ACEOF
48868 #define HAVE__MODF 1
48869 _ACEOF
48870
48871 fi
48872 done
48873
48874 fi
48875 fi
48876
48877
48878
48879
48880
48881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48882 $as_echo_n "checking for powf declaration... " >&6; }
48883 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48884 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48885 $as_echo_n "(cached) " >&6
48886 else
48887
48888
48889 ac_ext=cpp
48890 ac_cpp='$CXXCPP $CPPFLAGS'
48891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48894
48895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48896 /* end confdefs.h. */
48897 #include <math.h>
48898 int
48899 main ()
48900 {
48901 powf(0, 0);
48902 ;
48903 return 0;
48904 }
48905 _ACEOF
48906 if ac_fn_cxx_try_compile "$LINENO"; then :
48907 glibcxx_cv_func_powf_use=yes
48908 else
48909 glibcxx_cv_func_powf_use=no
48910 fi
48911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48912 ac_ext=c
48913 ac_cpp='$CPP $CPPFLAGS'
48914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48917
48918
48919 fi
48920
48921 fi
48922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48923 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48924
48925 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48926 for ac_func in powf
48927 do :
48928 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48929 if test "x$ac_cv_func_powf" = x""yes; then :
48930 cat >>confdefs.h <<_ACEOF
48931 #define HAVE_POWF 1
48932 _ACEOF
48933
48934 fi
48935 done
48936
48937 else
48938
48939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48940 $as_echo_n "checking for _powf declaration... " >&6; }
48941 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48942 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48943 $as_echo_n "(cached) " >&6
48944 else
48945
48946
48947 ac_ext=cpp
48948 ac_cpp='$CXXCPP $CPPFLAGS'
48949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48952
48953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48954 /* end confdefs.h. */
48955 #include <math.h>
48956 int
48957 main ()
48958 {
48959 _powf(0, 0);
48960 ;
48961 return 0;
48962 }
48963 _ACEOF
48964 if ac_fn_cxx_try_compile "$LINENO"; then :
48965 glibcxx_cv_func__powf_use=yes
48966 else
48967 glibcxx_cv_func__powf_use=no
48968 fi
48969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48970 ac_ext=c
48971 ac_cpp='$CPP $CPPFLAGS'
48972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48975
48976
48977 fi
48978
48979 fi
48980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48981 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48982
48983 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48984 for ac_func in _powf
48985 do :
48986 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48987 if test "x$ac_cv_func__powf" = x""yes; then :
48988 cat >>confdefs.h <<_ACEOF
48989 #define HAVE__POWF 1
48990 _ACEOF
48991
48992 fi
48993 done
48994
48995 fi
48996 fi
48997
48998
48999
49000
49001
49002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
49003 $as_echo_n "checking for sqrtf declaration... " >&6; }
49004 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
49005 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
49006 $as_echo_n "(cached) " >&6
49007 else
49008
49009
49010 ac_ext=cpp
49011 ac_cpp='$CXXCPP $CPPFLAGS'
49012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49015
49016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49017 /* end confdefs.h. */
49018 #include <math.h>
49019 #ifdef HAVE_IEEEFP_H
49020 #include <ieeefp.h>
49021 #endif
49022
49023 int
49024 main ()
49025 {
49026 sqrtf(0);
49027 ;
49028 return 0;
49029 }
49030 _ACEOF
49031 if ac_fn_cxx_try_compile "$LINENO"; then :
49032 glibcxx_cv_func_sqrtf_use=yes
49033 else
49034 glibcxx_cv_func_sqrtf_use=no
49035 fi
49036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49037 ac_ext=c
49038 ac_cpp='$CPP $CPPFLAGS'
49039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49042
49043
49044 fi
49045
49046 fi
49047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49048 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49049
49050 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49051 for ac_func in sqrtf
49052 do :
49053 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49054 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49055 cat >>confdefs.h <<_ACEOF
49056 #define HAVE_SQRTF 1
49057 _ACEOF
49058
49059 fi
49060 done
49061
49062 else
49063
49064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49065 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49066 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49067 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49068 $as_echo_n "(cached) " >&6
49069 else
49070
49071
49072 ac_ext=cpp
49073 ac_cpp='$CXXCPP $CPPFLAGS'
49074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49077
49078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49079 /* end confdefs.h. */
49080 #include <math.h>
49081 #ifdef HAVE_IEEEFP_H
49082 #include <ieeefp.h>
49083 #endif
49084
49085 int
49086 main ()
49087 {
49088 _sqrtf(0);
49089 ;
49090 return 0;
49091 }
49092 _ACEOF
49093 if ac_fn_cxx_try_compile "$LINENO"; then :
49094 glibcxx_cv_func__sqrtf_use=yes
49095 else
49096 glibcxx_cv_func__sqrtf_use=no
49097 fi
49098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49099 ac_ext=c
49100 ac_cpp='$CPP $CPPFLAGS'
49101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49104
49105
49106 fi
49107
49108 fi
49109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49110 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49111
49112 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49113 for ac_func in _sqrtf
49114 do :
49115 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49116 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49117 cat >>confdefs.h <<_ACEOF
49118 #define HAVE__SQRTF 1
49119 _ACEOF
49120
49121 fi
49122 done
49123
49124 fi
49125 fi
49126
49127
49128
49129
49130
49131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49132 $as_echo_n "checking for sincosf declaration... " >&6; }
49133 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49134 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49135 $as_echo_n "(cached) " >&6
49136 else
49137
49138
49139 ac_ext=cpp
49140 ac_cpp='$CXXCPP $CPPFLAGS'
49141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49144
49145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49146 /* end confdefs.h. */
49147 #include <math.h>
49148 int
49149 main ()
49150 {
49151 sincosf(0, 0, 0);
49152 ;
49153 return 0;
49154 }
49155 _ACEOF
49156 if ac_fn_cxx_try_compile "$LINENO"; then :
49157 glibcxx_cv_func_sincosf_use=yes
49158 else
49159 glibcxx_cv_func_sincosf_use=no
49160 fi
49161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49162 ac_ext=c
49163 ac_cpp='$CPP $CPPFLAGS'
49164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49167
49168
49169 fi
49170
49171 fi
49172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49173 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49174
49175 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49176 for ac_func in sincosf
49177 do :
49178 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49179 if test "x$ac_cv_func_sincosf" = x""yes; then :
49180 cat >>confdefs.h <<_ACEOF
49181 #define HAVE_SINCOSF 1
49182 _ACEOF
49183
49184 fi
49185 done
49186
49187 else
49188
49189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49190 $as_echo_n "checking for _sincosf declaration... " >&6; }
49191 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49192 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49193 $as_echo_n "(cached) " >&6
49194 else
49195
49196
49197 ac_ext=cpp
49198 ac_cpp='$CXXCPP $CPPFLAGS'
49199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49202
49203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49204 /* end confdefs.h. */
49205 #include <math.h>
49206 int
49207 main ()
49208 {
49209 _sincosf(0, 0, 0);
49210 ;
49211 return 0;
49212 }
49213 _ACEOF
49214 if ac_fn_cxx_try_compile "$LINENO"; then :
49215 glibcxx_cv_func__sincosf_use=yes
49216 else
49217 glibcxx_cv_func__sincosf_use=no
49218 fi
49219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49220 ac_ext=c
49221 ac_cpp='$CPP $CPPFLAGS'
49222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49225
49226
49227 fi
49228
49229 fi
49230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49231 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49232
49233 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49234 for ac_func in _sincosf
49235 do :
49236 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49237 if test "x$ac_cv_func__sincosf" = x""yes; then :
49238 cat >>confdefs.h <<_ACEOF
49239 #define HAVE__SINCOSF 1
49240 _ACEOF
49241
49242 fi
49243 done
49244
49245 fi
49246 fi
49247
49248
49249
49250
49251
49252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49253 $as_echo_n "checking for finitef declaration... " >&6; }
49254 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49255 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49256 $as_echo_n "(cached) " >&6
49257 else
49258
49259
49260 ac_ext=cpp
49261 ac_cpp='$CXXCPP $CPPFLAGS'
49262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49265
49266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49267 /* end confdefs.h. */
49268 #include <math.h>
49269 #ifdef HAVE_IEEEFP_H
49270 #include <ieeefp.h>
49271 #endif
49272
49273 int
49274 main ()
49275 {
49276 finitef(0);
49277 ;
49278 return 0;
49279 }
49280 _ACEOF
49281 if ac_fn_cxx_try_compile "$LINENO"; then :
49282 glibcxx_cv_func_finitef_use=yes
49283 else
49284 glibcxx_cv_func_finitef_use=no
49285 fi
49286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49287 ac_ext=c
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49292
49293
49294 fi
49295
49296 fi
49297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49298 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49299
49300 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49301 for ac_func in finitef
49302 do :
49303 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49304 if test "x$ac_cv_func_finitef" = x""yes; then :
49305 cat >>confdefs.h <<_ACEOF
49306 #define HAVE_FINITEF 1
49307 _ACEOF
49308
49309 fi
49310 done
49311
49312 else
49313
49314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49315 $as_echo_n "checking for _finitef declaration... " >&6; }
49316 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49317 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49318 $as_echo_n "(cached) " >&6
49319 else
49320
49321
49322 ac_ext=cpp
49323 ac_cpp='$CXXCPP $CPPFLAGS'
49324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49327
49328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49329 /* end confdefs.h. */
49330 #include <math.h>
49331 #ifdef HAVE_IEEEFP_H
49332 #include <ieeefp.h>
49333 #endif
49334
49335 int
49336 main ()
49337 {
49338 _finitef(0);
49339 ;
49340 return 0;
49341 }
49342 _ACEOF
49343 if ac_fn_cxx_try_compile "$LINENO"; then :
49344 glibcxx_cv_func__finitef_use=yes
49345 else
49346 glibcxx_cv_func__finitef_use=no
49347 fi
49348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49349 ac_ext=c
49350 ac_cpp='$CPP $CPPFLAGS'
49351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49354
49355
49356 fi
49357
49358 fi
49359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49360 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49361
49362 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49363 for ac_func in _finitef
49364 do :
49365 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49366 if test "x$ac_cv_func__finitef" = x""yes; then :
49367 cat >>confdefs.h <<_ACEOF
49368 #define HAVE__FINITEF 1
49369 _ACEOF
49370
49371 fi
49372 done
49373
49374 fi
49375 fi
49376
49377
49378
49379
49380
49381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49382 $as_echo_n "checking for long double trig functions... " >&6; }
49383 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49384 $as_echo_n "(cached) " >&6
49385 else
49386
49387
49388 ac_ext=cpp
49389 ac_cpp='$CXXCPP $CPPFLAGS'
49390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49393
49394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49395 /* end confdefs.h. */
49396 #include <math.h>
49397 int
49398 main ()
49399 {
49400 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49401 ;
49402 return 0;
49403 }
49404 _ACEOF
49405 if ac_fn_cxx_try_compile "$LINENO"; then :
49406 glibcxx_cv_func_long_double_trig_use=yes
49407 else
49408 glibcxx_cv_func_long_double_trig_use=no
49409 fi
49410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49411 ac_ext=c
49412 ac_cpp='$CPP $CPPFLAGS'
49413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49416
49417 fi
49418
49419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49420 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49421 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49422 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49423 do :
49424 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49425 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49426 eval as_val=\$$as_ac_var
49427 if test "x$as_val" = x""yes; then :
49428 cat >>confdefs.h <<_ACEOF
49429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49430 _ACEOF
49431
49432 fi
49433 done
49434
49435 else
49436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49437 $as_echo_n "checking for _long double trig functions... " >&6; }
49438 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49439 $as_echo_n "(cached) " >&6
49440 else
49441
49442
49443 ac_ext=cpp
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49448
49449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49450 /* end confdefs.h. */
49451 #include <math.h>
49452 int
49453 main ()
49454 {
49455 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49456 ;
49457 return 0;
49458 }
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func__long_double_trig_use=yes
49462 else
49463 glibcxx_cv_func__long_double_trig_use=no
49464 fi
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466 ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49471
49472 fi
49473
49474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49475 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49476 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49477 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49478 do :
49479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49481 eval as_val=\$$as_ac_var
49482 if test "x$as_val" = x""yes; then :
49483 cat >>confdefs.h <<_ACEOF
49484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49485 _ACEOF
49486
49487 fi
49488 done
49489
49490 fi
49491 fi
49492
49493
49494
49495
49496
49497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49498 $as_echo_n "checking for long double round functions... " >&6; }
49499 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49500 $as_echo_n "(cached) " >&6
49501 else
49502
49503
49504 ac_ext=cpp
49505 ac_cpp='$CXXCPP $CPPFLAGS'
49506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49509
49510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49511 /* end confdefs.h. */
49512 #include <math.h>
49513 int
49514 main ()
49515 {
49516 ceill (0); floorl (0);
49517 ;
49518 return 0;
49519 }
49520 _ACEOF
49521 if ac_fn_cxx_try_compile "$LINENO"; then :
49522 glibcxx_cv_func_long_double_round_use=yes
49523 else
49524 glibcxx_cv_func_long_double_round_use=no
49525 fi
49526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49527 ac_ext=c
49528 ac_cpp='$CPP $CPPFLAGS'
49529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49532
49533 fi
49534
49535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49536 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49537 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49538 for ac_func in ceill floorl
49539 do :
49540 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49541 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49542 eval as_val=\$$as_ac_var
49543 if test "x$as_val" = x""yes; then :
49544 cat >>confdefs.h <<_ACEOF
49545 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49546 _ACEOF
49547
49548 fi
49549 done
49550
49551 else
49552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49553 $as_echo_n "checking for _long double round functions... " >&6; }
49554 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49555 $as_echo_n "(cached) " >&6
49556 else
49557
49558
49559 ac_ext=cpp
49560 ac_cpp='$CXXCPP $CPPFLAGS'
49561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49564
49565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49566 /* end confdefs.h. */
49567 #include <math.h>
49568 int
49569 main ()
49570 {
49571 _ceill (0); _floorl (0);
49572 ;
49573 return 0;
49574 }
49575 _ACEOF
49576 if ac_fn_cxx_try_compile "$LINENO"; then :
49577 glibcxx_cv_func__long_double_round_use=yes
49578 else
49579 glibcxx_cv_func__long_double_round_use=no
49580 fi
49581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49582 ac_ext=c
49583 ac_cpp='$CPP $CPPFLAGS'
49584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49587
49588 fi
49589
49590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49591 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49592 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49593 for ac_func in _ceill _floorl
49594 do :
49595 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49596 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49597 eval as_val=\$$as_ac_var
49598 if test "x$as_val" = x""yes; then :
49599 cat >>confdefs.h <<_ACEOF
49600 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49601 _ACEOF
49602
49603 fi
49604 done
49605
49606 fi
49607 fi
49608
49609
49610
49611
49612
49613
49614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49615 $as_echo_n "checking for isnanl declaration... " >&6; }
49616 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49617 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49618 $as_echo_n "(cached) " >&6
49619 else
49620
49621
49622 ac_ext=cpp
49623 ac_cpp='$CXXCPP $CPPFLAGS'
49624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49627
49628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49629 /* end confdefs.h. */
49630 #include <math.h>
49631 #ifdef HAVE_IEEEFP_H
49632 #include <ieeefp.h>
49633 #endif
49634
49635 int
49636 main ()
49637 {
49638 isnanl(0);
49639 ;
49640 return 0;
49641 }
49642 _ACEOF
49643 if ac_fn_cxx_try_compile "$LINENO"; then :
49644 glibcxx_cv_func_isnanl_use=yes
49645 else
49646 glibcxx_cv_func_isnanl_use=no
49647 fi
49648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49649 ac_ext=c
49650 ac_cpp='$CPP $CPPFLAGS'
49651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49654
49655
49656 fi
49657
49658 fi
49659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49660 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49661
49662 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49663 for ac_func in isnanl
49664 do :
49665 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49666 if test "x$ac_cv_func_isnanl" = x""yes; then :
49667 cat >>confdefs.h <<_ACEOF
49668 #define HAVE_ISNANL 1
49669 _ACEOF
49670
49671 fi
49672 done
49673
49674 else
49675
49676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49677 $as_echo_n "checking for _isnanl declaration... " >&6; }
49678 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49679 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49680 $as_echo_n "(cached) " >&6
49681 else
49682
49683
49684 ac_ext=cpp
49685 ac_cpp='$CXXCPP $CPPFLAGS'
49686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49689
49690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49691 /* end confdefs.h. */
49692 #include <math.h>
49693 #ifdef HAVE_IEEEFP_H
49694 #include <ieeefp.h>
49695 #endif
49696
49697 int
49698 main ()
49699 {
49700 _isnanl(0);
49701 ;
49702 return 0;
49703 }
49704 _ACEOF
49705 if ac_fn_cxx_try_compile "$LINENO"; then :
49706 glibcxx_cv_func__isnanl_use=yes
49707 else
49708 glibcxx_cv_func__isnanl_use=no
49709 fi
49710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49711 ac_ext=c
49712 ac_cpp='$CPP $CPPFLAGS'
49713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49716
49717
49718 fi
49719
49720 fi
49721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49722 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49723
49724 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49725 for ac_func in _isnanl
49726 do :
49727 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49728 if test "x$ac_cv_func__isnanl" = x""yes; then :
49729 cat >>confdefs.h <<_ACEOF
49730 #define HAVE__ISNANL 1
49731 _ACEOF
49732
49733 fi
49734 done
49735
49736 fi
49737 fi
49738
49739
49740
49741
49742
49743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49744 $as_echo_n "checking for isinfl declaration... " >&6; }
49745 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49746 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49747 $as_echo_n "(cached) " >&6
49748 else
49749
49750
49751 ac_ext=cpp
49752 ac_cpp='$CXXCPP $CPPFLAGS'
49753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49756
49757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49758 /* end confdefs.h. */
49759 #include <math.h>
49760 #ifdef HAVE_IEEEFP_H
49761 #include <ieeefp.h>
49762 #endif
49763
49764 int
49765 main ()
49766 {
49767 isinfl(0);
49768 ;
49769 return 0;
49770 }
49771 _ACEOF
49772 if ac_fn_cxx_try_compile "$LINENO"; then :
49773 glibcxx_cv_func_isinfl_use=yes
49774 else
49775 glibcxx_cv_func_isinfl_use=no
49776 fi
49777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49778 ac_ext=c
49779 ac_cpp='$CPP $CPPFLAGS'
49780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49783
49784
49785 fi
49786
49787 fi
49788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49789 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49790
49791 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49792 for ac_func in isinfl
49793 do :
49794 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49795 if test "x$ac_cv_func_isinfl" = x""yes; then :
49796 cat >>confdefs.h <<_ACEOF
49797 #define HAVE_ISINFL 1
49798 _ACEOF
49799
49800 fi
49801 done
49802
49803 else
49804
49805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49806 $as_echo_n "checking for _isinfl declaration... " >&6; }
49807 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49808 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49809 $as_echo_n "(cached) " >&6
49810 else
49811
49812
49813 ac_ext=cpp
49814 ac_cpp='$CXXCPP $CPPFLAGS'
49815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49818
49819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49820 /* end confdefs.h. */
49821 #include <math.h>
49822 #ifdef HAVE_IEEEFP_H
49823 #include <ieeefp.h>
49824 #endif
49825
49826 int
49827 main ()
49828 {
49829 _isinfl(0);
49830 ;
49831 return 0;
49832 }
49833 _ACEOF
49834 if ac_fn_cxx_try_compile "$LINENO"; then :
49835 glibcxx_cv_func__isinfl_use=yes
49836 else
49837 glibcxx_cv_func__isinfl_use=no
49838 fi
49839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49840 ac_ext=c
49841 ac_cpp='$CPP $CPPFLAGS'
49842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49845
49846
49847 fi
49848
49849 fi
49850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49851 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49852
49853 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49854 for ac_func in _isinfl
49855 do :
49856 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49857 if test "x$ac_cv_func__isinfl" = x""yes; then :
49858 cat >>confdefs.h <<_ACEOF
49859 #define HAVE__ISINFL 1
49860 _ACEOF
49861
49862 fi
49863 done
49864
49865 fi
49866 fi
49867
49868
49869
49870
49871
49872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49873 $as_echo_n "checking for atan2l declaration... " >&6; }
49874 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49875 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49876 $as_echo_n "(cached) " >&6
49877 else
49878
49879
49880 ac_ext=cpp
49881 ac_cpp='$CXXCPP $CPPFLAGS'
49882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49885
49886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49887 /* end confdefs.h. */
49888 #include <math.h>
49889 int
49890 main ()
49891 {
49892 atan2l(0, 0);
49893 ;
49894 return 0;
49895 }
49896 _ACEOF
49897 if ac_fn_cxx_try_compile "$LINENO"; then :
49898 glibcxx_cv_func_atan2l_use=yes
49899 else
49900 glibcxx_cv_func_atan2l_use=no
49901 fi
49902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49903 ac_ext=c
49904 ac_cpp='$CPP $CPPFLAGS'
49905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49908
49909
49910 fi
49911
49912 fi
49913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49914 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49915
49916 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49917 for ac_func in atan2l
49918 do :
49919 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49920 if test "x$ac_cv_func_atan2l" = x""yes; then :
49921 cat >>confdefs.h <<_ACEOF
49922 #define HAVE_ATAN2L 1
49923 _ACEOF
49924
49925 fi
49926 done
49927
49928 else
49929
49930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49931 $as_echo_n "checking for _atan2l declaration... " >&6; }
49932 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49933 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49934 $as_echo_n "(cached) " >&6
49935 else
49936
49937
49938 ac_ext=cpp
49939 ac_cpp='$CXXCPP $CPPFLAGS'
49940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49943
49944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49945 /* end confdefs.h. */
49946 #include <math.h>
49947 int
49948 main ()
49949 {
49950 _atan2l(0, 0);
49951 ;
49952 return 0;
49953 }
49954 _ACEOF
49955 if ac_fn_cxx_try_compile "$LINENO"; then :
49956 glibcxx_cv_func__atan2l_use=yes
49957 else
49958 glibcxx_cv_func__atan2l_use=no
49959 fi
49960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49961 ac_ext=c
49962 ac_cpp='$CPP $CPPFLAGS'
49963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49966
49967
49968 fi
49969
49970 fi
49971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49972 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49973
49974 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49975 for ac_func in _atan2l
49976 do :
49977 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49978 if test "x$ac_cv_func__atan2l" = x""yes; then :
49979 cat >>confdefs.h <<_ACEOF
49980 #define HAVE__ATAN2L 1
49981 _ACEOF
49982
49983 fi
49984 done
49985
49986 fi
49987 fi
49988
49989
49990
49991
49992
49993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49994 $as_echo_n "checking for expl declaration... " >&6; }
49995 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49996 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49997 $as_echo_n "(cached) " >&6
49998 else
49999
50000
50001 ac_ext=cpp
50002 ac_cpp='$CXXCPP $CPPFLAGS'
50003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50006
50007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50008 /* end confdefs.h. */
50009 #include <math.h>
50010 #ifdef HAVE_IEEEFP_H
50011 #include <ieeefp.h>
50012 #endif
50013
50014 int
50015 main ()
50016 {
50017 expl(0);
50018 ;
50019 return 0;
50020 }
50021 _ACEOF
50022 if ac_fn_cxx_try_compile "$LINENO"; then :
50023 glibcxx_cv_func_expl_use=yes
50024 else
50025 glibcxx_cv_func_expl_use=no
50026 fi
50027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50028 ac_ext=c
50029 ac_cpp='$CPP $CPPFLAGS'
50030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50033
50034
50035 fi
50036
50037 fi
50038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50039 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50040
50041 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50042 for ac_func in expl
50043 do :
50044 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50045 if test "x$ac_cv_func_expl" = x""yes; then :
50046 cat >>confdefs.h <<_ACEOF
50047 #define HAVE_EXPL 1
50048 _ACEOF
50049
50050 fi
50051 done
50052
50053 else
50054
50055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50056 $as_echo_n "checking for _expl declaration... " >&6; }
50057 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50058 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50059 $as_echo_n "(cached) " >&6
50060 else
50061
50062
50063 ac_ext=cpp
50064 ac_cpp='$CXXCPP $CPPFLAGS'
50065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50068
50069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50070 /* end confdefs.h. */
50071 #include <math.h>
50072 #ifdef HAVE_IEEEFP_H
50073 #include <ieeefp.h>
50074 #endif
50075
50076 int
50077 main ()
50078 {
50079 _expl(0);
50080 ;
50081 return 0;
50082 }
50083 _ACEOF
50084 if ac_fn_cxx_try_compile "$LINENO"; then :
50085 glibcxx_cv_func__expl_use=yes
50086 else
50087 glibcxx_cv_func__expl_use=no
50088 fi
50089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50090 ac_ext=c
50091 ac_cpp='$CPP $CPPFLAGS'
50092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50095
50096
50097 fi
50098
50099 fi
50100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50101 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50102
50103 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50104 for ac_func in _expl
50105 do :
50106 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50107 if test "x$ac_cv_func__expl" = x""yes; then :
50108 cat >>confdefs.h <<_ACEOF
50109 #define HAVE__EXPL 1
50110 _ACEOF
50111
50112 fi
50113 done
50114
50115 fi
50116 fi
50117
50118
50119
50120
50121
50122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50123 $as_echo_n "checking for fabsl declaration... " >&6; }
50124 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50125 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50126 $as_echo_n "(cached) " >&6
50127 else
50128
50129
50130 ac_ext=cpp
50131 ac_cpp='$CXXCPP $CPPFLAGS'
50132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50135
50136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50137 /* end confdefs.h. */
50138 #include <math.h>
50139 #ifdef HAVE_IEEEFP_H
50140 #include <ieeefp.h>
50141 #endif
50142
50143 int
50144 main ()
50145 {
50146 fabsl(0);
50147 ;
50148 return 0;
50149 }
50150 _ACEOF
50151 if ac_fn_cxx_try_compile "$LINENO"; then :
50152 glibcxx_cv_func_fabsl_use=yes
50153 else
50154 glibcxx_cv_func_fabsl_use=no
50155 fi
50156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50157 ac_ext=c
50158 ac_cpp='$CPP $CPPFLAGS'
50159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50162
50163
50164 fi
50165
50166 fi
50167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50168 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50169
50170 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50171 for ac_func in fabsl
50172 do :
50173 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50174 if test "x$ac_cv_func_fabsl" = x""yes; then :
50175 cat >>confdefs.h <<_ACEOF
50176 #define HAVE_FABSL 1
50177 _ACEOF
50178
50179 fi
50180 done
50181
50182 else
50183
50184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50185 $as_echo_n "checking for _fabsl declaration... " >&6; }
50186 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50187 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50188 $as_echo_n "(cached) " >&6
50189 else
50190
50191
50192 ac_ext=cpp
50193 ac_cpp='$CXXCPP $CPPFLAGS'
50194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50197
50198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50199 /* end confdefs.h. */
50200 #include <math.h>
50201 #ifdef HAVE_IEEEFP_H
50202 #include <ieeefp.h>
50203 #endif
50204
50205 int
50206 main ()
50207 {
50208 _fabsl(0);
50209 ;
50210 return 0;
50211 }
50212 _ACEOF
50213 if ac_fn_cxx_try_compile "$LINENO"; then :
50214 glibcxx_cv_func__fabsl_use=yes
50215 else
50216 glibcxx_cv_func__fabsl_use=no
50217 fi
50218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50219 ac_ext=c
50220 ac_cpp='$CPP $CPPFLAGS'
50221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50224
50225
50226 fi
50227
50228 fi
50229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50230 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50231
50232 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50233 for ac_func in _fabsl
50234 do :
50235 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50236 if test "x$ac_cv_func__fabsl" = x""yes; then :
50237 cat >>confdefs.h <<_ACEOF
50238 #define HAVE__FABSL 1
50239 _ACEOF
50240
50241 fi
50242 done
50243
50244 fi
50245 fi
50246
50247
50248
50249
50250
50251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50252 $as_echo_n "checking for fmodl declaration... " >&6; }
50253 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50254 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50255 $as_echo_n "(cached) " >&6
50256 else
50257
50258
50259 ac_ext=cpp
50260 ac_cpp='$CXXCPP $CPPFLAGS'
50261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50264
50265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50266 /* end confdefs.h. */
50267 #include <math.h>
50268 int
50269 main ()
50270 {
50271 fmodl(0, 0);
50272 ;
50273 return 0;
50274 }
50275 _ACEOF
50276 if ac_fn_cxx_try_compile "$LINENO"; then :
50277 glibcxx_cv_func_fmodl_use=yes
50278 else
50279 glibcxx_cv_func_fmodl_use=no
50280 fi
50281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50282 ac_ext=c
50283 ac_cpp='$CPP $CPPFLAGS'
50284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50287
50288
50289 fi
50290
50291 fi
50292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50293 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50294
50295 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50296 for ac_func in fmodl
50297 do :
50298 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50299 if test "x$ac_cv_func_fmodl" = x""yes; then :
50300 cat >>confdefs.h <<_ACEOF
50301 #define HAVE_FMODL 1
50302 _ACEOF
50303
50304 fi
50305 done
50306
50307 else
50308
50309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50310 $as_echo_n "checking for _fmodl declaration... " >&6; }
50311 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50312 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50313 $as_echo_n "(cached) " >&6
50314 else
50315
50316
50317 ac_ext=cpp
50318 ac_cpp='$CXXCPP $CPPFLAGS'
50319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50322
50323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50324 /* end confdefs.h. */
50325 #include <math.h>
50326 int
50327 main ()
50328 {
50329 _fmodl(0, 0);
50330 ;
50331 return 0;
50332 }
50333 _ACEOF
50334 if ac_fn_cxx_try_compile "$LINENO"; then :
50335 glibcxx_cv_func__fmodl_use=yes
50336 else
50337 glibcxx_cv_func__fmodl_use=no
50338 fi
50339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50340 ac_ext=c
50341 ac_cpp='$CPP $CPPFLAGS'
50342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50345
50346
50347 fi
50348
50349 fi
50350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50351 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50352
50353 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50354 for ac_func in _fmodl
50355 do :
50356 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50357 if test "x$ac_cv_func__fmodl" = x""yes; then :
50358 cat >>confdefs.h <<_ACEOF
50359 #define HAVE__FMODL 1
50360 _ACEOF
50361
50362 fi
50363 done
50364
50365 fi
50366 fi
50367
50368
50369
50370
50371
50372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50373 $as_echo_n "checking for frexpl declaration... " >&6; }
50374 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50375 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50376 $as_echo_n "(cached) " >&6
50377 else
50378
50379
50380 ac_ext=cpp
50381 ac_cpp='$CXXCPP $CPPFLAGS'
50382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50385
50386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50387 /* end confdefs.h. */
50388 #include <math.h>
50389 int
50390 main ()
50391 {
50392 frexpl(0, 0);
50393 ;
50394 return 0;
50395 }
50396 _ACEOF
50397 if ac_fn_cxx_try_compile "$LINENO"; then :
50398 glibcxx_cv_func_frexpl_use=yes
50399 else
50400 glibcxx_cv_func_frexpl_use=no
50401 fi
50402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50403 ac_ext=c
50404 ac_cpp='$CPP $CPPFLAGS'
50405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50408
50409
50410 fi
50411
50412 fi
50413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50414 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50415
50416 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50417 for ac_func in frexpl
50418 do :
50419 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50420 if test "x$ac_cv_func_frexpl" = x""yes; then :
50421 cat >>confdefs.h <<_ACEOF
50422 #define HAVE_FREXPL 1
50423 _ACEOF
50424
50425 fi
50426 done
50427
50428 else
50429
50430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50431 $as_echo_n "checking for _frexpl declaration... " >&6; }
50432 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50433 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50434 $as_echo_n "(cached) " >&6
50435 else
50436
50437
50438 ac_ext=cpp
50439 ac_cpp='$CXXCPP $CPPFLAGS'
50440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50443
50444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50445 /* end confdefs.h. */
50446 #include <math.h>
50447 int
50448 main ()
50449 {
50450 _frexpl(0, 0);
50451 ;
50452 return 0;
50453 }
50454 _ACEOF
50455 if ac_fn_cxx_try_compile "$LINENO"; then :
50456 glibcxx_cv_func__frexpl_use=yes
50457 else
50458 glibcxx_cv_func__frexpl_use=no
50459 fi
50460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50461 ac_ext=c
50462 ac_cpp='$CPP $CPPFLAGS'
50463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50466
50467
50468 fi
50469
50470 fi
50471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50472 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50473
50474 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50475 for ac_func in _frexpl
50476 do :
50477 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50478 if test "x$ac_cv_func__frexpl" = x""yes; then :
50479 cat >>confdefs.h <<_ACEOF
50480 #define HAVE__FREXPL 1
50481 _ACEOF
50482
50483 fi
50484 done
50485
50486 fi
50487 fi
50488
50489
50490
50491
50492
50493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50494 $as_echo_n "checking for hypotl declaration... " >&6; }
50495 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50496 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50497 $as_echo_n "(cached) " >&6
50498 else
50499
50500
50501 ac_ext=cpp
50502 ac_cpp='$CXXCPP $CPPFLAGS'
50503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50506
50507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50508 /* end confdefs.h. */
50509 #include <math.h>
50510 int
50511 main ()
50512 {
50513 hypotl(0, 0);
50514 ;
50515 return 0;
50516 }
50517 _ACEOF
50518 if ac_fn_cxx_try_compile "$LINENO"; then :
50519 glibcxx_cv_func_hypotl_use=yes
50520 else
50521 glibcxx_cv_func_hypotl_use=no
50522 fi
50523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50524 ac_ext=c
50525 ac_cpp='$CPP $CPPFLAGS'
50526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50529
50530
50531 fi
50532
50533 fi
50534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50535 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50536
50537 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50538 for ac_func in hypotl
50539 do :
50540 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50541 if test "x$ac_cv_func_hypotl" = x""yes; then :
50542 cat >>confdefs.h <<_ACEOF
50543 #define HAVE_HYPOTL 1
50544 _ACEOF
50545
50546 fi
50547 done
50548
50549 else
50550
50551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50552 $as_echo_n "checking for _hypotl declaration... " >&6; }
50553 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50554 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50555 $as_echo_n "(cached) " >&6
50556 else
50557
50558
50559 ac_ext=cpp
50560 ac_cpp='$CXXCPP $CPPFLAGS'
50561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50564
50565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50566 /* end confdefs.h. */
50567 #include <math.h>
50568 int
50569 main ()
50570 {
50571 _hypotl(0, 0);
50572 ;
50573 return 0;
50574 }
50575 _ACEOF
50576 if ac_fn_cxx_try_compile "$LINENO"; then :
50577 glibcxx_cv_func__hypotl_use=yes
50578 else
50579 glibcxx_cv_func__hypotl_use=no
50580 fi
50581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50582 ac_ext=c
50583 ac_cpp='$CPP $CPPFLAGS'
50584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50587
50588
50589 fi
50590
50591 fi
50592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50593 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50594
50595 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50596 for ac_func in _hypotl
50597 do :
50598 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50599 if test "x$ac_cv_func__hypotl" = x""yes; then :
50600 cat >>confdefs.h <<_ACEOF
50601 #define HAVE__HYPOTL 1
50602 _ACEOF
50603
50604 fi
50605 done
50606
50607 fi
50608 fi
50609
50610
50611
50612
50613
50614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50615 $as_echo_n "checking for ldexpl declaration... " >&6; }
50616 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50617 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50618 $as_echo_n "(cached) " >&6
50619 else
50620
50621
50622 ac_ext=cpp
50623 ac_cpp='$CXXCPP $CPPFLAGS'
50624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50627
50628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50629 /* end confdefs.h. */
50630 #include <math.h>
50631 int
50632 main ()
50633 {
50634 ldexpl(0, 0);
50635 ;
50636 return 0;
50637 }
50638 _ACEOF
50639 if ac_fn_cxx_try_compile "$LINENO"; then :
50640 glibcxx_cv_func_ldexpl_use=yes
50641 else
50642 glibcxx_cv_func_ldexpl_use=no
50643 fi
50644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50645 ac_ext=c
50646 ac_cpp='$CPP $CPPFLAGS'
50647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50650
50651
50652 fi
50653
50654 fi
50655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50656 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50657
50658 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50659 for ac_func in ldexpl
50660 do :
50661 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50662 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50663 cat >>confdefs.h <<_ACEOF
50664 #define HAVE_LDEXPL 1
50665 _ACEOF
50666
50667 fi
50668 done
50669
50670 else
50671
50672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50673 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50674 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50675 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50676 $as_echo_n "(cached) " >&6
50677 else
50678
50679
50680 ac_ext=cpp
50681 ac_cpp='$CXXCPP $CPPFLAGS'
50682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50685
50686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50687 /* end confdefs.h. */
50688 #include <math.h>
50689 int
50690 main ()
50691 {
50692 _ldexpl(0, 0);
50693 ;
50694 return 0;
50695 }
50696 _ACEOF
50697 if ac_fn_cxx_try_compile "$LINENO"; then :
50698 glibcxx_cv_func__ldexpl_use=yes
50699 else
50700 glibcxx_cv_func__ldexpl_use=no
50701 fi
50702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50703 ac_ext=c
50704 ac_cpp='$CPP $CPPFLAGS'
50705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50708
50709
50710 fi
50711
50712 fi
50713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50714 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50715
50716 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50717 for ac_func in _ldexpl
50718 do :
50719 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50720 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50721 cat >>confdefs.h <<_ACEOF
50722 #define HAVE__LDEXPL 1
50723 _ACEOF
50724
50725 fi
50726 done
50727
50728 fi
50729 fi
50730
50731
50732
50733
50734
50735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50736 $as_echo_n "checking for logl declaration... " >&6; }
50737 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50738 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50739 $as_echo_n "(cached) " >&6
50740 else
50741
50742
50743 ac_ext=cpp
50744 ac_cpp='$CXXCPP $CPPFLAGS'
50745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50748
50749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50750 /* end confdefs.h. */
50751 #include <math.h>
50752 #ifdef HAVE_IEEEFP_H
50753 #include <ieeefp.h>
50754 #endif
50755
50756 int
50757 main ()
50758 {
50759 logl(0);
50760 ;
50761 return 0;
50762 }
50763 _ACEOF
50764 if ac_fn_cxx_try_compile "$LINENO"; then :
50765 glibcxx_cv_func_logl_use=yes
50766 else
50767 glibcxx_cv_func_logl_use=no
50768 fi
50769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50770 ac_ext=c
50771 ac_cpp='$CPP $CPPFLAGS'
50772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50775
50776
50777 fi
50778
50779 fi
50780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50781 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50782
50783 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50784 for ac_func in logl
50785 do :
50786 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50787 if test "x$ac_cv_func_logl" = x""yes; then :
50788 cat >>confdefs.h <<_ACEOF
50789 #define HAVE_LOGL 1
50790 _ACEOF
50791
50792 fi
50793 done
50794
50795 else
50796
50797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50798 $as_echo_n "checking for _logl declaration... " >&6; }
50799 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50800 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50801 $as_echo_n "(cached) " >&6
50802 else
50803
50804
50805 ac_ext=cpp
50806 ac_cpp='$CXXCPP $CPPFLAGS'
50807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50810
50811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50812 /* end confdefs.h. */
50813 #include <math.h>
50814 #ifdef HAVE_IEEEFP_H
50815 #include <ieeefp.h>
50816 #endif
50817
50818 int
50819 main ()
50820 {
50821 _logl(0);
50822 ;
50823 return 0;
50824 }
50825 _ACEOF
50826 if ac_fn_cxx_try_compile "$LINENO"; then :
50827 glibcxx_cv_func__logl_use=yes
50828 else
50829 glibcxx_cv_func__logl_use=no
50830 fi
50831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50832 ac_ext=c
50833 ac_cpp='$CPP $CPPFLAGS'
50834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50837
50838
50839 fi
50840
50841 fi
50842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50843 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50844
50845 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50846 for ac_func in _logl
50847 do :
50848 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50849 if test "x$ac_cv_func__logl" = x""yes; then :
50850 cat >>confdefs.h <<_ACEOF
50851 #define HAVE__LOGL 1
50852 _ACEOF
50853
50854 fi
50855 done
50856
50857 fi
50858 fi
50859
50860
50861
50862
50863
50864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50865 $as_echo_n "checking for log10l declaration... " >&6; }
50866 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50867 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50868 $as_echo_n "(cached) " >&6
50869 else
50870
50871
50872 ac_ext=cpp
50873 ac_cpp='$CXXCPP $CPPFLAGS'
50874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50877
50878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50879 /* end confdefs.h. */
50880 #include <math.h>
50881 #ifdef HAVE_IEEEFP_H
50882 #include <ieeefp.h>
50883 #endif
50884
50885 int
50886 main ()
50887 {
50888 log10l(0);
50889 ;
50890 return 0;
50891 }
50892 _ACEOF
50893 if ac_fn_cxx_try_compile "$LINENO"; then :
50894 glibcxx_cv_func_log10l_use=yes
50895 else
50896 glibcxx_cv_func_log10l_use=no
50897 fi
50898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50899 ac_ext=c
50900 ac_cpp='$CPP $CPPFLAGS'
50901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50904
50905
50906 fi
50907
50908 fi
50909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50910 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50911
50912 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50913 for ac_func in log10l
50914 do :
50915 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50916 if test "x$ac_cv_func_log10l" = x""yes; then :
50917 cat >>confdefs.h <<_ACEOF
50918 #define HAVE_LOG10L 1
50919 _ACEOF
50920
50921 fi
50922 done
50923
50924 else
50925
50926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50927 $as_echo_n "checking for _log10l declaration... " >&6; }
50928 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50929 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50930 $as_echo_n "(cached) " >&6
50931 else
50932
50933
50934 ac_ext=cpp
50935 ac_cpp='$CXXCPP $CPPFLAGS'
50936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50939
50940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50941 /* end confdefs.h. */
50942 #include <math.h>
50943 #ifdef HAVE_IEEEFP_H
50944 #include <ieeefp.h>
50945 #endif
50946
50947 int
50948 main ()
50949 {
50950 _log10l(0);
50951 ;
50952 return 0;
50953 }
50954 _ACEOF
50955 if ac_fn_cxx_try_compile "$LINENO"; then :
50956 glibcxx_cv_func__log10l_use=yes
50957 else
50958 glibcxx_cv_func__log10l_use=no
50959 fi
50960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50961 ac_ext=c
50962 ac_cpp='$CPP $CPPFLAGS'
50963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50966
50967
50968 fi
50969
50970 fi
50971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50972 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50973
50974 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50975 for ac_func in _log10l
50976 do :
50977 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50978 if test "x$ac_cv_func__log10l" = x""yes; then :
50979 cat >>confdefs.h <<_ACEOF
50980 #define HAVE__LOG10L 1
50981 _ACEOF
50982
50983 fi
50984 done
50985
50986 fi
50987 fi
50988
50989
50990
50991
50992
50993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50994 $as_echo_n "checking for modfl declaration... " >&6; }
50995 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50996 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50997 $as_echo_n "(cached) " >&6
50998 else
50999
51000
51001 ac_ext=cpp
51002 ac_cpp='$CXXCPP $CPPFLAGS'
51003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51006
51007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51008 /* end confdefs.h. */
51009 #include <math.h>
51010 int
51011 main ()
51012 {
51013 modfl(0, 0);
51014 ;
51015 return 0;
51016 }
51017 _ACEOF
51018 if ac_fn_cxx_try_compile "$LINENO"; then :
51019 glibcxx_cv_func_modfl_use=yes
51020 else
51021 glibcxx_cv_func_modfl_use=no
51022 fi
51023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51024 ac_ext=c
51025 ac_cpp='$CPP $CPPFLAGS'
51026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51029
51030
51031 fi
51032
51033 fi
51034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51035 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51036
51037 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51038 for ac_func in modfl
51039 do :
51040 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51041 if test "x$ac_cv_func_modfl" = x""yes; then :
51042 cat >>confdefs.h <<_ACEOF
51043 #define HAVE_MODFL 1
51044 _ACEOF
51045
51046 fi
51047 done
51048
51049 else
51050
51051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51052 $as_echo_n "checking for _modfl declaration... " >&6; }
51053 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51054 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51055 $as_echo_n "(cached) " >&6
51056 else
51057
51058
51059 ac_ext=cpp
51060 ac_cpp='$CXXCPP $CPPFLAGS'
51061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51064
51065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51066 /* end confdefs.h. */
51067 #include <math.h>
51068 int
51069 main ()
51070 {
51071 _modfl(0, 0);
51072 ;
51073 return 0;
51074 }
51075 _ACEOF
51076 if ac_fn_cxx_try_compile "$LINENO"; then :
51077 glibcxx_cv_func__modfl_use=yes
51078 else
51079 glibcxx_cv_func__modfl_use=no
51080 fi
51081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51082 ac_ext=c
51083 ac_cpp='$CPP $CPPFLAGS'
51084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51087
51088
51089 fi
51090
51091 fi
51092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51093 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51094
51095 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51096 for ac_func in _modfl
51097 do :
51098 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51099 if test "x$ac_cv_func__modfl" = x""yes; then :
51100 cat >>confdefs.h <<_ACEOF
51101 #define HAVE__MODFL 1
51102 _ACEOF
51103
51104 fi
51105 done
51106
51107 fi
51108 fi
51109
51110
51111
51112
51113
51114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51115 $as_echo_n "checking for powl declaration... " >&6; }
51116 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51117 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51118 $as_echo_n "(cached) " >&6
51119 else
51120
51121
51122 ac_ext=cpp
51123 ac_cpp='$CXXCPP $CPPFLAGS'
51124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51127
51128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51129 /* end confdefs.h. */
51130 #include <math.h>
51131 int
51132 main ()
51133 {
51134 powl(0, 0);
51135 ;
51136 return 0;
51137 }
51138 _ACEOF
51139 if ac_fn_cxx_try_compile "$LINENO"; then :
51140 glibcxx_cv_func_powl_use=yes
51141 else
51142 glibcxx_cv_func_powl_use=no
51143 fi
51144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51145 ac_ext=c
51146 ac_cpp='$CPP $CPPFLAGS'
51147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51150
51151
51152 fi
51153
51154 fi
51155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51156 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51157
51158 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51159 for ac_func in powl
51160 do :
51161 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51162 if test "x$ac_cv_func_powl" = x""yes; then :
51163 cat >>confdefs.h <<_ACEOF
51164 #define HAVE_POWL 1
51165 _ACEOF
51166
51167 fi
51168 done
51169
51170 else
51171
51172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51173 $as_echo_n "checking for _powl declaration... " >&6; }
51174 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51175 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51176 $as_echo_n "(cached) " >&6
51177 else
51178
51179
51180 ac_ext=cpp
51181 ac_cpp='$CXXCPP $CPPFLAGS'
51182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51185
51186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51187 /* end confdefs.h. */
51188 #include <math.h>
51189 int
51190 main ()
51191 {
51192 _powl(0, 0);
51193 ;
51194 return 0;
51195 }
51196 _ACEOF
51197 if ac_fn_cxx_try_compile "$LINENO"; then :
51198 glibcxx_cv_func__powl_use=yes
51199 else
51200 glibcxx_cv_func__powl_use=no
51201 fi
51202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51203 ac_ext=c
51204 ac_cpp='$CPP $CPPFLAGS'
51205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51208
51209
51210 fi
51211
51212 fi
51213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51214 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51215
51216 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51217 for ac_func in _powl
51218 do :
51219 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51220 if test "x$ac_cv_func__powl" = x""yes; then :
51221 cat >>confdefs.h <<_ACEOF
51222 #define HAVE__POWL 1
51223 _ACEOF
51224
51225 fi
51226 done
51227
51228 fi
51229 fi
51230
51231
51232
51233
51234
51235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51236 $as_echo_n "checking for sqrtl declaration... " >&6; }
51237 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51238 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51239 $as_echo_n "(cached) " >&6
51240 else
51241
51242
51243 ac_ext=cpp
51244 ac_cpp='$CXXCPP $CPPFLAGS'
51245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51248
51249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51250 /* end confdefs.h. */
51251 #include <math.h>
51252 #ifdef HAVE_IEEEFP_H
51253 #include <ieeefp.h>
51254 #endif
51255
51256 int
51257 main ()
51258 {
51259 sqrtl(0);
51260 ;
51261 return 0;
51262 }
51263 _ACEOF
51264 if ac_fn_cxx_try_compile "$LINENO"; then :
51265 glibcxx_cv_func_sqrtl_use=yes
51266 else
51267 glibcxx_cv_func_sqrtl_use=no
51268 fi
51269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51270 ac_ext=c
51271 ac_cpp='$CPP $CPPFLAGS'
51272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51275
51276
51277 fi
51278
51279 fi
51280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51281 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51282
51283 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51284 for ac_func in sqrtl
51285 do :
51286 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51287 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51288 cat >>confdefs.h <<_ACEOF
51289 #define HAVE_SQRTL 1
51290 _ACEOF
51291
51292 fi
51293 done
51294
51295 else
51296
51297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51298 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51299 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51300 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51301 $as_echo_n "(cached) " >&6
51302 else
51303
51304
51305 ac_ext=cpp
51306 ac_cpp='$CXXCPP $CPPFLAGS'
51307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51310
51311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51312 /* end confdefs.h. */
51313 #include <math.h>
51314 #ifdef HAVE_IEEEFP_H
51315 #include <ieeefp.h>
51316 #endif
51317
51318 int
51319 main ()
51320 {
51321 _sqrtl(0);
51322 ;
51323 return 0;
51324 }
51325 _ACEOF
51326 if ac_fn_cxx_try_compile "$LINENO"; then :
51327 glibcxx_cv_func__sqrtl_use=yes
51328 else
51329 glibcxx_cv_func__sqrtl_use=no
51330 fi
51331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51332 ac_ext=c
51333 ac_cpp='$CPP $CPPFLAGS'
51334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51337
51338
51339 fi
51340
51341 fi
51342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51343 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51344
51345 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51346 for ac_func in _sqrtl
51347 do :
51348 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51349 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51350 cat >>confdefs.h <<_ACEOF
51351 #define HAVE__SQRTL 1
51352 _ACEOF
51353
51354 fi
51355 done
51356
51357 fi
51358 fi
51359
51360
51361
51362
51363
51364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51365 $as_echo_n "checking for sincosl declaration... " >&6; }
51366 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51367 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51368 $as_echo_n "(cached) " >&6
51369 else
51370
51371
51372 ac_ext=cpp
51373 ac_cpp='$CXXCPP $CPPFLAGS'
51374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51377
51378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51379 /* end confdefs.h. */
51380 #include <math.h>
51381 int
51382 main ()
51383 {
51384 sincosl(0, 0, 0);
51385 ;
51386 return 0;
51387 }
51388 _ACEOF
51389 if ac_fn_cxx_try_compile "$LINENO"; then :
51390 glibcxx_cv_func_sincosl_use=yes
51391 else
51392 glibcxx_cv_func_sincosl_use=no
51393 fi
51394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51395 ac_ext=c
51396 ac_cpp='$CPP $CPPFLAGS'
51397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51400
51401
51402 fi
51403
51404 fi
51405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51406 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51407
51408 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51409 for ac_func in sincosl
51410 do :
51411 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51412 if test "x$ac_cv_func_sincosl" = x""yes; then :
51413 cat >>confdefs.h <<_ACEOF
51414 #define HAVE_SINCOSL 1
51415 _ACEOF
51416
51417 fi
51418 done
51419
51420 else
51421
51422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51423 $as_echo_n "checking for _sincosl declaration... " >&6; }
51424 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51425 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51426 $as_echo_n "(cached) " >&6
51427 else
51428
51429
51430 ac_ext=cpp
51431 ac_cpp='$CXXCPP $CPPFLAGS'
51432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51435
51436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51437 /* end confdefs.h. */
51438 #include <math.h>
51439 int
51440 main ()
51441 {
51442 _sincosl(0, 0, 0);
51443 ;
51444 return 0;
51445 }
51446 _ACEOF
51447 if ac_fn_cxx_try_compile "$LINENO"; then :
51448 glibcxx_cv_func__sincosl_use=yes
51449 else
51450 glibcxx_cv_func__sincosl_use=no
51451 fi
51452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51453 ac_ext=c
51454 ac_cpp='$CPP $CPPFLAGS'
51455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51458
51459
51460 fi
51461
51462 fi
51463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51464 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51465
51466 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51467 for ac_func in _sincosl
51468 do :
51469 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51470 if test "x$ac_cv_func__sincosl" = x""yes; then :
51471 cat >>confdefs.h <<_ACEOF
51472 #define HAVE__SINCOSL 1
51473 _ACEOF
51474
51475 fi
51476 done
51477
51478 fi
51479 fi
51480
51481
51482
51483
51484
51485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51486 $as_echo_n "checking for finitel declaration... " >&6; }
51487 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51488 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51489 $as_echo_n "(cached) " >&6
51490 else
51491
51492
51493 ac_ext=cpp
51494 ac_cpp='$CXXCPP $CPPFLAGS'
51495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51498
51499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51500 /* end confdefs.h. */
51501 #include <math.h>
51502 #ifdef HAVE_IEEEFP_H
51503 #include <ieeefp.h>
51504 #endif
51505
51506 int
51507 main ()
51508 {
51509 finitel(0);
51510 ;
51511 return 0;
51512 }
51513 _ACEOF
51514 if ac_fn_cxx_try_compile "$LINENO"; then :
51515 glibcxx_cv_func_finitel_use=yes
51516 else
51517 glibcxx_cv_func_finitel_use=no
51518 fi
51519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51520 ac_ext=c
51521 ac_cpp='$CPP $CPPFLAGS'
51522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51525
51526
51527 fi
51528
51529 fi
51530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51531 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51532
51533 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51534 for ac_func in finitel
51535 do :
51536 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51537 if test "x$ac_cv_func_finitel" = x""yes; then :
51538 cat >>confdefs.h <<_ACEOF
51539 #define HAVE_FINITEL 1
51540 _ACEOF
51541
51542 fi
51543 done
51544
51545 else
51546
51547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51548 $as_echo_n "checking for _finitel declaration... " >&6; }
51549 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51550 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51551 $as_echo_n "(cached) " >&6
51552 else
51553
51554
51555 ac_ext=cpp
51556 ac_cpp='$CXXCPP $CPPFLAGS'
51557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51560
51561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51562 /* end confdefs.h. */
51563 #include <math.h>
51564 #ifdef HAVE_IEEEFP_H
51565 #include <ieeefp.h>
51566 #endif
51567
51568 int
51569 main ()
51570 {
51571 _finitel(0);
51572 ;
51573 return 0;
51574 }
51575 _ACEOF
51576 if ac_fn_cxx_try_compile "$LINENO"; then :
51577 glibcxx_cv_func__finitel_use=yes
51578 else
51579 glibcxx_cv_func__finitel_use=no
51580 fi
51581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51582 ac_ext=c
51583 ac_cpp='$CPP $CPPFLAGS'
51584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51587
51588
51589 fi
51590
51591 fi
51592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51593 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51594
51595 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51596 for ac_func in _finitel
51597 do :
51598 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51599 if test "x$ac_cv_func__finitel" = x""yes; then :
51600 cat >>confdefs.h <<_ACEOF
51601 #define HAVE__FINITEL 1
51602 _ACEOF
51603
51604 fi
51605 done
51606
51607 fi
51608 fi
51609
51610
51611
51612
51613 LIBS="$ac_save_LIBS"
51614 CXXFLAGS="$ac_save_CXXFLAGS"
51615
51616
51617 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51618 ac_save_CXXFLAGS="$CXXFLAGS"
51619 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51620
51621
51622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51623 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51624 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51625 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51626 $as_echo_n "(cached) " >&6
51627 else
51628
51629
51630 ac_ext=cpp
51631 ac_cpp='$CXXCPP $CPPFLAGS'
51632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51635
51636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51637 /* end confdefs.h. */
51638 #include <stdlib.h>
51639 int
51640 main ()
51641 {
51642 at_quick_exit(0);
51643 ;
51644 return 0;
51645 }
51646 _ACEOF
51647 if ac_fn_cxx_try_compile "$LINENO"; then :
51648 glibcxx_cv_func_at_quick_exit_use=yes
51649 else
51650 glibcxx_cv_func_at_quick_exit_use=no
51651 fi
51652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51653 ac_ext=c
51654 ac_cpp='$CPP $CPPFLAGS'
51655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51658
51659
51660 fi
51661
51662 fi
51663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51664 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51665 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51666 for ac_func in at_quick_exit
51667 do :
51668 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51669 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51670 cat >>confdefs.h <<_ACEOF
51671 #define HAVE_AT_QUICK_EXIT 1
51672 _ACEOF
51673
51674 fi
51675 done
51676
51677 fi
51678
51679
51680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51681 $as_echo_n "checking for quick_exit declaration... " >&6; }
51682 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51683 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51684 $as_echo_n "(cached) " >&6
51685 else
51686
51687
51688 ac_ext=cpp
51689 ac_cpp='$CXXCPP $CPPFLAGS'
51690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51693
51694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51695 /* end confdefs.h. */
51696 #include <stdlib.h>
51697 int
51698 main ()
51699 {
51700 quick_exit(0);
51701 ;
51702 return 0;
51703 }
51704 _ACEOF
51705 if ac_fn_cxx_try_compile "$LINENO"; then :
51706 glibcxx_cv_func_quick_exit_use=yes
51707 else
51708 glibcxx_cv_func_quick_exit_use=no
51709 fi
51710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51711 ac_ext=c
51712 ac_cpp='$CPP $CPPFLAGS'
51713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51716
51717
51718 fi
51719
51720 fi
51721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51722 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51723 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51724 for ac_func in quick_exit
51725 do :
51726 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51727 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51728 cat >>confdefs.h <<_ACEOF
51729 #define HAVE_QUICK_EXIT 1
51730 _ACEOF
51731
51732 fi
51733 done
51734
51735 fi
51736
51737
51738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51739 $as_echo_n "checking for strtold declaration... " >&6; }
51740 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51741 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51742 $as_echo_n "(cached) " >&6
51743 else
51744
51745
51746 ac_ext=cpp
51747 ac_cpp='$CXXCPP $CPPFLAGS'
51748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51751
51752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51753 /* end confdefs.h. */
51754 #include <stdlib.h>
51755 int
51756 main ()
51757 {
51758 strtold(0, 0);
51759 ;
51760 return 0;
51761 }
51762 _ACEOF
51763 if ac_fn_cxx_try_compile "$LINENO"; then :
51764 glibcxx_cv_func_strtold_use=yes
51765 else
51766 glibcxx_cv_func_strtold_use=no
51767 fi
51768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51769 ac_ext=c
51770 ac_cpp='$CPP $CPPFLAGS'
51771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51774
51775
51776 fi
51777
51778 fi
51779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51780 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51781 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51782 for ac_func in strtold
51783 do :
51784 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51785 if test "x$ac_cv_func_strtold" = x""yes; then :
51786 cat >>confdefs.h <<_ACEOF
51787 #define HAVE_STRTOLD 1
51788 _ACEOF
51789
51790 fi
51791 done
51792
51793 fi
51794
51795
51796
51797
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51799 $as_echo_n "checking for strtof declaration... " >&6; }
51800 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51801 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51802 $as_echo_n "(cached) " >&6
51803 else
51804
51805
51806 ac_ext=cpp
51807 ac_cpp='$CXXCPP $CPPFLAGS'
51808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51811
51812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51813 /* end confdefs.h. */
51814 #include <stdlib.h>
51815 int
51816 main ()
51817 {
51818 strtof(0, 0);
51819 ;
51820 return 0;
51821 }
51822 _ACEOF
51823 if ac_fn_cxx_try_compile "$LINENO"; then :
51824 glibcxx_cv_func_strtof_use=yes
51825 else
51826 glibcxx_cv_func_strtof_use=no
51827 fi
51828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51829 ac_ext=c
51830 ac_cpp='$CPP $CPPFLAGS'
51831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51834
51835
51836 fi
51837
51838 fi
51839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51840 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51841 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51842 for ac_func in strtof
51843 do :
51844 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51845 if test "x$ac_cv_func_strtof" = x""yes; then :
51846 cat >>confdefs.h <<_ACEOF
51847 #define HAVE_STRTOF 1
51848 _ACEOF
51849
51850 fi
51851 done
51852
51853 fi
51854
51855
51856
51857
51858 CXXFLAGS="$ac_save_CXXFLAGS"
51859
51860 ;;
51861
51862 *djgpp)
51863 # GLIBCXX_CHECK_MATH_SUPPORT
51864 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51865
51866 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51867
51868 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51869
51870 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51871
51872 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51873
51874 ;;
51875
51876 *-freebsd*)
51877 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51878
51879
51880 # If we're not using GNU ld, then there's no point in even trying these
51881 # tests. Check for that first. We should have already tested for gld
51882 # by now (in libtool), but require it now just to be safe...
51883 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51884 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51885
51886
51887
51888 # The name set by libtool depends on the version of libtool. Shame on us
51889 # for depending on an impl detail, but c'est la vie. Older versions used
51890 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51891 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51892 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51893 # set (hence we're using an older libtool), then set it.
51894 if test x${with_gnu_ld+set} != xset; then
51895 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51896 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51897 with_gnu_ld=no
51898 else
51899 with_gnu_ld=$ac_cv_prog_gnu_ld
51900 fi
51901 fi
51902
51903 # Start by getting the version number. I think the libtool test already
51904 # does some of this, but throws away the result.
51905 glibcxx_ld_is_gold=no
51906 if test x"$with_gnu_ld" = x"yes"; then
51907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51908 $as_echo_n "checking for ld version... " >&6; }
51909
51910 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51911 glibcxx_ld_is_gold=yes
51912 fi
51913 ldver=`$LD --version 2>/dev/null |
51914 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'`
51915
51916 glibcxx_gnu_ld_version=`echo $ldver | \
51917 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51919 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51920 fi
51921
51922 # Set --gc-sections.
51923 glibcxx_have_gc_sections=no
51924 if test "$glibcxx_ld_is_gold" = "yes"; then
51925 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51926 glibcxx_have_gc_sections=yes
51927 fi
51928 else
51929 glibcxx_gcsections_min_ld=21602
51930 if test x"$with_gnu_ld" = x"yes" &&
51931 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51932 glibcxx_have_gc_sections=yes
51933 fi
51934 fi
51935 if test "$glibcxx_have_gc_sections" = "yes"; then
51936 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51937 # NB: This flag only works reliably after 2.16.1. Configure tests
51938 # for this are difficult, so hard wire a value that should work.
51939
51940 ac_test_CFLAGS="${CFLAGS+set}"
51941 ac_save_CFLAGS="$CFLAGS"
51942 CFLAGS='-Wl,--gc-sections'
51943
51944 # Check for -Wl,--gc-sections
51945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51946 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51947 if test x$gcc_no_link = xyes; then
51948 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51949 fi
51950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51951 /* end confdefs.h. */
51952 int one(void) { return 1; }
51953 int two(void) { return 2; }
51954
51955 int
51956 main ()
51957 {
51958 two();
51959 ;
51960 return 0;
51961 }
51962 _ACEOF
51963 if ac_fn_c_try_link "$LINENO"; then :
51964 ac_gcsections=yes
51965 else
51966 ac_gcsections=no
51967 fi
51968 rm -f core conftest.err conftest.$ac_objext \
51969 conftest$ac_exeext conftest.$ac_ext
51970 if test "$ac_gcsections" = "yes"; then
51971 rm -f conftest.c
51972 touch conftest.c
51973 if $CC -c conftest.c; then
51974 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51975 grep "Warning: gc-sections option ignored" > /dev/null; then
51976 ac_gcsections=no
51977 fi
51978 fi
51979 rm -f conftest.c conftest.o conftest
51980 fi
51981 if test "$ac_gcsections" = "yes"; then
51982 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51983 fi
51984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51985 $as_echo "$ac_gcsections" >&6; }
51986
51987 if test "$ac_test_CFLAGS" = set; then
51988 CFLAGS="$ac_save_CFLAGS"
51989 else
51990 # this is the suspicious part
51991 CFLAGS=''
51992 fi
51993 fi
51994
51995 # Set -z,relro.
51996 # Note this is only for shared objects.
51997 ac_ld_relro=no
51998 if test x"$with_gnu_ld" = x"yes"; then
51999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52000 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52001 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52002 if test -n "$cxx_z_relo"; then
52003 OPT_LDFLAGS="-Wl,-z,relro"
52004 ac_ld_relro=yes
52005 fi
52006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52007 $as_echo "$ac_ld_relro" >&6; }
52008 fi
52009
52010 # Set linker optimization flags.
52011 if test x"$with_gnu_ld" = x"yes"; then
52012 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52013 fi
52014
52015
52016
52017
52018 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52019
52020 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52021
52022 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52023
52024 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52025
52026 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52027
52028 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52029
52030 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52031
52032 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52033
52034 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52035
52036
52037 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52038
52039 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52040
52041 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52042
52043 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52044
52045 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52046
52047 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52048
52049 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52050
52051 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52052
52053 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52054
52055 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52056
52057 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52058
52059 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52060
52061 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52062
52063 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52064
52065 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52066
52067 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52068
52069 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52070
52071 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52072
52073 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52074
52075 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52076
52077 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52078
52079 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52080
52081 if test x"long_double_math_on_this_cpu" = x"yes"; then
52082 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52083
52084 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52085
52086 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52087
52088 fi
52089 ;;
52090 *-hpux*)
52091 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52092
52093
52094 # If we're not using GNU ld, then there's no point in even trying these
52095 # tests. Check for that first. We should have already tested for gld
52096 # by now (in libtool), but require it now just to be safe...
52097 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52098 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52099
52100
52101
52102 # The name set by libtool depends on the version of libtool. Shame on us
52103 # for depending on an impl detail, but c'est la vie. Older versions used
52104 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52105 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52106 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52107 # set (hence we're using an older libtool), then set it.
52108 if test x${with_gnu_ld+set} != xset; then
52109 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52110 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52111 with_gnu_ld=no
52112 else
52113 with_gnu_ld=$ac_cv_prog_gnu_ld
52114 fi
52115 fi
52116
52117 # Start by getting the version number. I think the libtool test already
52118 # does some of this, but throws away the result.
52119 glibcxx_ld_is_gold=no
52120 if test x"$with_gnu_ld" = x"yes"; then
52121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52122 $as_echo_n "checking for ld version... " >&6; }
52123
52124 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52125 glibcxx_ld_is_gold=yes
52126 fi
52127 ldver=`$LD --version 2>/dev/null |
52128 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'`
52129
52130 glibcxx_gnu_ld_version=`echo $ldver | \
52131 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52133 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52134 fi
52135
52136 # Set --gc-sections.
52137 glibcxx_have_gc_sections=no
52138 if test "$glibcxx_ld_is_gold" = "yes"; then
52139 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52140 glibcxx_have_gc_sections=yes
52141 fi
52142 else
52143 glibcxx_gcsections_min_ld=21602
52144 if test x"$with_gnu_ld" = x"yes" &&
52145 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52146 glibcxx_have_gc_sections=yes
52147 fi
52148 fi
52149 if test "$glibcxx_have_gc_sections" = "yes"; then
52150 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52151 # NB: This flag only works reliably after 2.16.1. Configure tests
52152 # for this are difficult, so hard wire a value that should work.
52153
52154 ac_test_CFLAGS="${CFLAGS+set}"
52155 ac_save_CFLAGS="$CFLAGS"
52156 CFLAGS='-Wl,--gc-sections'
52157
52158 # Check for -Wl,--gc-sections
52159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52160 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52161 if test x$gcc_no_link = xyes; then
52162 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52163 fi
52164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52165 /* end confdefs.h. */
52166 int one(void) { return 1; }
52167 int two(void) { return 2; }
52168
52169 int
52170 main ()
52171 {
52172 two();
52173 ;
52174 return 0;
52175 }
52176 _ACEOF
52177 if ac_fn_c_try_link "$LINENO"; then :
52178 ac_gcsections=yes
52179 else
52180 ac_gcsections=no
52181 fi
52182 rm -f core conftest.err conftest.$ac_objext \
52183 conftest$ac_exeext conftest.$ac_ext
52184 if test "$ac_gcsections" = "yes"; then
52185 rm -f conftest.c
52186 touch conftest.c
52187 if $CC -c conftest.c; then
52188 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52189 grep "Warning: gc-sections option ignored" > /dev/null; then
52190 ac_gcsections=no
52191 fi
52192 fi
52193 rm -f conftest.c conftest.o conftest
52194 fi
52195 if test "$ac_gcsections" = "yes"; then
52196 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52197 fi
52198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52199 $as_echo "$ac_gcsections" >&6; }
52200
52201 if test "$ac_test_CFLAGS" = set; then
52202 CFLAGS="$ac_save_CFLAGS"
52203 else
52204 # this is the suspicious part
52205 CFLAGS=''
52206 fi
52207 fi
52208
52209 # Set -z,relro.
52210 # Note this is only for shared objects.
52211 ac_ld_relro=no
52212 if test x"$with_gnu_ld" = x"yes"; then
52213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52214 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52215 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52216 if test -n "$cxx_z_relo"; then
52217 OPT_LDFLAGS="-Wl,-z,relro"
52218 ac_ld_relro=yes
52219 fi
52220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52221 $as_echo "$ac_ld_relro" >&6; }
52222 fi
52223
52224 # Set linker optimization flags.
52225 if test x"$with_gnu_ld" = x"yes"; then
52226 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52227 fi
52228
52229
52230
52231
52232
52233 # GLIBCXX_CHECK_MATH_SUPPORT
52234 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52235
52236 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52237
52238 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52239
52240 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52241
52242 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52243
52244 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52245
52246 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52247
52248 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52249
52250 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52251
52252 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52253
52254 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52255
52256 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52257
52258 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52259
52260 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52261
52262 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52263
52264 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52265
52266 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52267
52268 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52269
52270 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52271
52272 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52273
52274 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52275
52276
52277 # GLIBCXX_CHECK_STDLIB_SUPPORT
52278 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52279
52280
52281
52282
52283 # Check whether --enable-tls was given.
52284 if test "${enable_tls+set}" = set; then :
52285 enableval=$enable_tls;
52286 case "$enableval" in
52287 yes|no) ;;
52288 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52289 esac
52290
52291 else
52292 enable_tls=yes
52293 fi
52294
52295
52296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52297 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52298 if test "${gcc_cv_have_tls+set}" = set; then :
52299 $as_echo_n "(cached) " >&6
52300 else
52301
52302 if test "$cross_compiling" = yes; then :
52303 if test x$gcc_no_link = xyes; then
52304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52305 fi
52306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52307 /* end confdefs.h. */
52308 __thread int a; int b; int main() { return a = b; }
52309 _ACEOF
52310 if ac_fn_c_try_link "$LINENO"; then :
52311 chktls_save_LDFLAGS="$LDFLAGS"
52312 case $host in
52313 *-*-linux*)
52314 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52315 ;;
52316 esac
52317 chktls_save_CFLAGS="$CFLAGS"
52318 CFLAGS="-fPIC $CFLAGS"
52319 if test x$gcc_no_link = xyes; then
52320 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52321 fi
52322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52323 /* end confdefs.h. */
52324 int f() { return 0; }
52325 _ACEOF
52326 if ac_fn_c_try_link "$LINENO"; then :
52327 if test x$gcc_no_link = xyes; then
52328 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52329 fi
52330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52331 /* end confdefs.h. */
52332 __thread int a; int b; int f() { return a = b; }
52333 _ACEOF
52334 if ac_fn_c_try_link "$LINENO"; then :
52335 gcc_cv_have_tls=yes
52336 else
52337 gcc_cv_have_tls=no
52338 fi
52339 rm -f core conftest.err conftest.$ac_objext \
52340 conftest$ac_exeext conftest.$ac_ext
52341 else
52342 gcc_cv_have_tls=yes
52343 fi
52344 rm -f core conftest.err conftest.$ac_objext \
52345 conftest$ac_exeext conftest.$ac_ext
52346 CFLAGS="$chktls_save_CFLAGS"
52347 LDFLAGS="$chktls_save_LDFLAGS"
52348 else
52349 gcc_cv_have_tls=no
52350 fi
52351 rm -f core conftest.err conftest.$ac_objext \
52352 conftest$ac_exeext conftest.$ac_ext
52353
52354
52355 else
52356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52357 /* end confdefs.h. */
52358 __thread int a; int b; int main() { return a = b; }
52359 _ACEOF
52360 if ac_fn_c_try_run "$LINENO"; then :
52361 chktls_save_LDFLAGS="$LDFLAGS"
52362 LDFLAGS="-static $LDFLAGS"
52363 if test x$gcc_no_link = xyes; then
52364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52365 fi
52366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52367 /* end confdefs.h. */
52368 int main() { return 0; }
52369 _ACEOF
52370 if ac_fn_c_try_link "$LINENO"; then :
52371 if test "$cross_compiling" = yes; then :
52372 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52373 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52374 as_fn_error "cannot run test program while cross compiling
52375 See \`config.log' for more details." "$LINENO" 5; }
52376 else
52377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52378 /* end confdefs.h. */
52379 __thread int a; int b; int main() { return a = b; }
52380 _ACEOF
52381 if ac_fn_c_try_run "$LINENO"; then :
52382 gcc_cv_have_tls=yes
52383 else
52384 gcc_cv_have_tls=no
52385 fi
52386 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52387 conftest.$ac_objext conftest.beam conftest.$ac_ext
52388 fi
52389
52390 else
52391 gcc_cv_have_tls=yes
52392 fi
52393 rm -f core conftest.err conftest.$ac_objext \
52394 conftest$ac_exeext conftest.$ac_ext
52395 LDFLAGS="$chktls_save_LDFLAGS"
52396 if test $gcc_cv_have_tls = yes; then
52397 chktls_save_CFLAGS="$CFLAGS"
52398 thread_CFLAGS=failed
52399 for flag in '' '-pthread' '-lpthread'; do
52400 CFLAGS="$flag $chktls_save_CFLAGS"
52401 if test x$gcc_no_link = xyes; then
52402 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52403 fi
52404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52405 /* end confdefs.h. */
52406 #include <pthread.h>
52407 void *g(void *d) { return NULL; }
52408 int
52409 main ()
52410 {
52411 pthread_t t; pthread_create(&t,NULL,g,NULL);
52412 ;
52413 return 0;
52414 }
52415 _ACEOF
52416 if ac_fn_c_try_link "$LINENO"; then :
52417 thread_CFLAGS="$flag"
52418 fi
52419 rm -f core conftest.err conftest.$ac_objext \
52420 conftest$ac_exeext conftest.$ac_ext
52421 if test "X$thread_CFLAGS" != Xfailed; then
52422 break
52423 fi
52424 done
52425 CFLAGS="$chktls_save_CFLAGS"
52426 if test "X$thread_CFLAGS" != Xfailed; then
52427 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52428 if test "$cross_compiling" = yes; then :
52429 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52431 as_fn_error "cannot run test program while cross compiling
52432 See \`config.log' for more details." "$LINENO" 5; }
52433 else
52434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52435 /* end confdefs.h. */
52436 #include <pthread.h>
52437 __thread int a;
52438 static int *volatile a_in_other_thread;
52439 static void *
52440 thread_func (void *arg)
52441 {
52442 a_in_other_thread = &a;
52443 return (void *)0;
52444 }
52445 int
52446 main ()
52447 {
52448 pthread_t thread;
52449 void *thread_retval;
52450 int *volatile a_in_main_thread;
52451 a_in_main_thread = &a;
52452 if (pthread_create (&thread, (pthread_attr_t *)0,
52453 thread_func, (void *)0))
52454 return 0;
52455 if (pthread_join (thread, &thread_retval))
52456 return 0;
52457 return (a_in_other_thread == a_in_main_thread);
52458 ;
52459 return 0;
52460 }
52461 _ACEOF
52462 if ac_fn_c_try_run "$LINENO"; then :
52463 gcc_cv_have_tls=yes
52464 else
52465 gcc_cv_have_tls=no
52466 fi
52467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52468 conftest.$ac_objext conftest.beam conftest.$ac_ext
52469 fi
52470
52471 CFLAGS="$chktls_save_CFLAGS"
52472 fi
52473 fi
52474 else
52475 gcc_cv_have_tls=no
52476 fi
52477 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52478 conftest.$ac_objext conftest.beam conftest.$ac_ext
52479 fi
52480
52481 fi
52482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52483 $as_echo "$gcc_cv_have_tls" >&6; }
52484 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52485
52486 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52487
52488 fi
52489 case "$target" in
52490 *-hpux10*)
52491 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52492
52493 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52494
52495 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52496
52497 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52498
52499 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52500
52501 ;;
52502 esac
52503 ;;
52504 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52505
52506 # All these tests are for C++; save the language and the compiler flags.
52507 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52508 # found in GLIBCXX_CONFIGURE.
52509
52510 ac_ext=cpp
52511 ac_cpp='$CXXCPP $CPPFLAGS'
52512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52515
52516 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52517 ac_save_CXXFLAGS="$CXXFLAGS"
52518
52519 # Check for maintainer-mode bits.
52520 if test x"$USE_MAINTAINER_MODE" = xno; then
52521 WERROR=''
52522 else
52523 WERROR='-Werror'
52524 fi
52525
52526 # Check for -ffunction-sections -fdata-sections
52527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52528 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52529 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52531 /* end confdefs.h. */
52532 int foo; void bar() { };
52533 int
52534 main ()
52535 {
52536
52537 ;
52538 return 0;
52539 }
52540 _ACEOF
52541 if ac_fn_cxx_try_compile "$LINENO"; then :
52542 ac_fdsections=yes
52543 else
52544 ac_fdsections=no
52545 fi
52546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52547 if test "$ac_test_CXXFLAGS" = set; then
52548 CXXFLAGS="$ac_save_CXXFLAGS"
52549 else
52550 # this is the suspicious part
52551 CXXFLAGS=''
52552 fi
52553 if test x"$ac_fdsections" = x"yes"; then
52554 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52555 fi
52556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52557 $as_echo "$ac_fdsections" >&6; }
52558
52559 ac_ext=c
52560 ac_cpp='$CPP $CPPFLAGS'
52561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52564
52565
52566
52567
52568
52569 # If we're not using GNU ld, then there's no point in even trying these
52570 # tests. Check for that first. We should have already tested for gld
52571 # by now (in libtool), but require it now just to be safe...
52572 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52573 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52574
52575
52576
52577 # The name set by libtool depends on the version of libtool. Shame on us
52578 # for depending on an impl detail, but c'est la vie. Older versions used
52579 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52580 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52581 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52582 # set (hence we're using an older libtool), then set it.
52583 if test x${with_gnu_ld+set} != xset; then
52584 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52585 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52586 with_gnu_ld=no
52587 else
52588 with_gnu_ld=$ac_cv_prog_gnu_ld
52589 fi
52590 fi
52591
52592 # Start by getting the version number. I think the libtool test already
52593 # does some of this, but throws away the result.
52594 glibcxx_ld_is_gold=no
52595 if test x"$with_gnu_ld" = x"yes"; then
52596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52597 $as_echo_n "checking for ld version... " >&6; }
52598
52599 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52600 glibcxx_ld_is_gold=yes
52601 fi
52602 ldver=`$LD --version 2>/dev/null |
52603 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'`
52604
52605 glibcxx_gnu_ld_version=`echo $ldver | \
52606 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52608 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52609 fi
52610
52611 # Set --gc-sections.
52612 glibcxx_have_gc_sections=no
52613 if test "$glibcxx_ld_is_gold" = "yes"; then
52614 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52615 glibcxx_have_gc_sections=yes
52616 fi
52617 else
52618 glibcxx_gcsections_min_ld=21602
52619 if test x"$with_gnu_ld" = x"yes" &&
52620 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52621 glibcxx_have_gc_sections=yes
52622 fi
52623 fi
52624 if test "$glibcxx_have_gc_sections" = "yes"; then
52625 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52626 # NB: This flag only works reliably after 2.16.1. Configure tests
52627 # for this are difficult, so hard wire a value that should work.
52628
52629 ac_test_CFLAGS="${CFLAGS+set}"
52630 ac_save_CFLAGS="$CFLAGS"
52631 CFLAGS='-Wl,--gc-sections'
52632
52633 # Check for -Wl,--gc-sections
52634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52635 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52636 if test x$gcc_no_link = xyes; then
52637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52638 fi
52639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52640 /* end confdefs.h. */
52641 int one(void) { return 1; }
52642 int two(void) { return 2; }
52643
52644 int
52645 main ()
52646 {
52647 two();
52648 ;
52649 return 0;
52650 }
52651 _ACEOF
52652 if ac_fn_c_try_link "$LINENO"; then :
52653 ac_gcsections=yes
52654 else
52655 ac_gcsections=no
52656 fi
52657 rm -f core conftest.err conftest.$ac_objext \
52658 conftest$ac_exeext conftest.$ac_ext
52659 if test "$ac_gcsections" = "yes"; then
52660 rm -f conftest.c
52661 touch conftest.c
52662 if $CC -c conftest.c; then
52663 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52664 grep "Warning: gc-sections option ignored" > /dev/null; then
52665 ac_gcsections=no
52666 fi
52667 fi
52668 rm -f conftest.c conftest.o conftest
52669 fi
52670 if test "$ac_gcsections" = "yes"; then
52671 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52672 fi
52673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52674 $as_echo "$ac_gcsections" >&6; }
52675
52676 if test "$ac_test_CFLAGS" = set; then
52677 CFLAGS="$ac_save_CFLAGS"
52678 else
52679 # this is the suspicious part
52680 CFLAGS=''
52681 fi
52682 fi
52683
52684 # Set -z,relro.
52685 # Note this is only for shared objects.
52686 ac_ld_relro=no
52687 if test x"$with_gnu_ld" = x"yes"; then
52688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52689 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52690 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52691 if test -n "$cxx_z_relo"; then
52692 OPT_LDFLAGS="-Wl,-z,relro"
52693 ac_ld_relro=yes
52694 fi
52695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52696 $as_echo "$ac_ld_relro" >&6; }
52697 fi
52698
52699 # Set linker optimization flags.
52700 if test x"$with_gnu_ld" = x"yes"; then
52701 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52702 fi
52703
52704
52705
52706
52707
52708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52709 ac_save_CXXFLAGS="$CXXFLAGS"
52710 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52711
52712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52713 $as_echo_n "checking for sin in -lm... " >&6; }
52714 if test "${ac_cv_lib_m_sin+set}" = set; then :
52715 $as_echo_n "(cached) " >&6
52716 else
52717 ac_check_lib_save_LIBS=$LIBS
52718 LIBS="-lm $LIBS"
52719 if test x$gcc_no_link = xyes; then
52720 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52721 fi
52722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52723 /* end confdefs.h. */
52724
52725 /* Override any GCC internal prototype to avoid an error.
52726 Use char because int might match the return type of a GCC
52727 builtin and then its argument prototype would still apply. */
52728 #ifdef __cplusplus
52729 extern "C"
52730 #endif
52731 char sin ();
52732 int
52733 main ()
52734 {
52735 return sin ();
52736 ;
52737 return 0;
52738 }
52739 _ACEOF
52740 if ac_fn_c_try_link "$LINENO"; then :
52741 ac_cv_lib_m_sin=yes
52742 else
52743 ac_cv_lib_m_sin=no
52744 fi
52745 rm -f core conftest.err conftest.$ac_objext \
52746 conftest$ac_exeext conftest.$ac_ext
52747 LIBS=$ac_check_lib_save_LIBS
52748 fi
52749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52750 $as_echo "$ac_cv_lib_m_sin" >&6; }
52751 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52752 libm="-lm"
52753 fi
52754
52755 ac_save_LIBS="$LIBS"
52756 LIBS="$LIBS $libm"
52757
52758
52759
52760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52761 $as_echo_n "checking for isinf declaration... " >&6; }
52762 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52763 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52764 $as_echo_n "(cached) " >&6
52765 else
52766
52767
52768 ac_ext=cpp
52769 ac_cpp='$CXXCPP $CPPFLAGS'
52770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52773
52774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52775 /* end confdefs.h. */
52776 #include <math.h>
52777 #ifdef HAVE_IEEEFP_H
52778 #include <ieeefp.h>
52779 #endif
52780
52781 int
52782 main ()
52783 {
52784 isinf(0);
52785 ;
52786 return 0;
52787 }
52788 _ACEOF
52789 if ac_fn_cxx_try_compile "$LINENO"; then :
52790 glibcxx_cv_func_isinf_use=yes
52791 else
52792 glibcxx_cv_func_isinf_use=no
52793 fi
52794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52795 ac_ext=c
52796 ac_cpp='$CPP $CPPFLAGS'
52797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52800
52801
52802 fi
52803
52804 fi
52805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52806 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52807
52808 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52809 for ac_func in isinf
52810 do :
52811 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52812 if test "x$ac_cv_func_isinf" = x""yes; then :
52813 cat >>confdefs.h <<_ACEOF
52814 #define HAVE_ISINF 1
52815 _ACEOF
52816
52817 fi
52818 done
52819
52820 else
52821
52822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52823 $as_echo_n "checking for _isinf declaration... " >&6; }
52824 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52825 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52826 $as_echo_n "(cached) " >&6
52827 else
52828
52829
52830 ac_ext=cpp
52831 ac_cpp='$CXXCPP $CPPFLAGS'
52832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52835
52836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52837 /* end confdefs.h. */
52838 #include <math.h>
52839 #ifdef HAVE_IEEEFP_H
52840 #include <ieeefp.h>
52841 #endif
52842
52843 int
52844 main ()
52845 {
52846 _isinf(0);
52847 ;
52848 return 0;
52849 }
52850 _ACEOF
52851 if ac_fn_cxx_try_compile "$LINENO"; then :
52852 glibcxx_cv_func__isinf_use=yes
52853 else
52854 glibcxx_cv_func__isinf_use=no
52855 fi
52856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52857 ac_ext=c
52858 ac_cpp='$CPP $CPPFLAGS'
52859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52862
52863
52864 fi
52865
52866 fi
52867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52868 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52869
52870 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52871 for ac_func in _isinf
52872 do :
52873 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52874 if test "x$ac_cv_func__isinf" = x""yes; then :
52875 cat >>confdefs.h <<_ACEOF
52876 #define HAVE__ISINF 1
52877 _ACEOF
52878
52879 fi
52880 done
52881
52882 fi
52883 fi
52884
52885
52886
52887
52888
52889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52890 $as_echo_n "checking for isnan declaration... " >&6; }
52891 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52892 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52893 $as_echo_n "(cached) " >&6
52894 else
52895
52896
52897 ac_ext=cpp
52898 ac_cpp='$CXXCPP $CPPFLAGS'
52899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52902
52903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52904 /* end confdefs.h. */
52905 #include <math.h>
52906 #ifdef HAVE_IEEEFP_H
52907 #include <ieeefp.h>
52908 #endif
52909
52910 int
52911 main ()
52912 {
52913 isnan(0);
52914 ;
52915 return 0;
52916 }
52917 _ACEOF
52918 if ac_fn_cxx_try_compile "$LINENO"; then :
52919 glibcxx_cv_func_isnan_use=yes
52920 else
52921 glibcxx_cv_func_isnan_use=no
52922 fi
52923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52924 ac_ext=c
52925 ac_cpp='$CPP $CPPFLAGS'
52926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52929
52930
52931 fi
52932
52933 fi
52934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52935 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52936
52937 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52938 for ac_func in isnan
52939 do :
52940 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52941 if test "x$ac_cv_func_isnan" = x""yes; then :
52942 cat >>confdefs.h <<_ACEOF
52943 #define HAVE_ISNAN 1
52944 _ACEOF
52945
52946 fi
52947 done
52948
52949 else
52950
52951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52952 $as_echo_n "checking for _isnan declaration... " >&6; }
52953 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52954 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52955 $as_echo_n "(cached) " >&6
52956 else
52957
52958
52959 ac_ext=cpp
52960 ac_cpp='$CXXCPP $CPPFLAGS'
52961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52964
52965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52966 /* end confdefs.h. */
52967 #include <math.h>
52968 #ifdef HAVE_IEEEFP_H
52969 #include <ieeefp.h>
52970 #endif
52971
52972 int
52973 main ()
52974 {
52975 _isnan(0);
52976 ;
52977 return 0;
52978 }
52979 _ACEOF
52980 if ac_fn_cxx_try_compile "$LINENO"; then :
52981 glibcxx_cv_func__isnan_use=yes
52982 else
52983 glibcxx_cv_func__isnan_use=no
52984 fi
52985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52986 ac_ext=c
52987 ac_cpp='$CPP $CPPFLAGS'
52988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52991
52992
52993 fi
52994
52995 fi
52996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52997 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52998
52999 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
53000 for ac_func in _isnan
53001 do :
53002 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
53003 if test "x$ac_cv_func__isnan" = x""yes; then :
53004 cat >>confdefs.h <<_ACEOF
53005 #define HAVE__ISNAN 1
53006 _ACEOF
53007
53008 fi
53009 done
53010
53011 fi
53012 fi
53013
53014
53015
53016
53017
53018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53019 $as_echo_n "checking for finite declaration... " >&6; }
53020 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53021 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53022 $as_echo_n "(cached) " >&6
53023 else
53024
53025
53026 ac_ext=cpp
53027 ac_cpp='$CXXCPP $CPPFLAGS'
53028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53031
53032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53033 /* end confdefs.h. */
53034 #include <math.h>
53035 #ifdef HAVE_IEEEFP_H
53036 #include <ieeefp.h>
53037 #endif
53038
53039 int
53040 main ()
53041 {
53042 finite(0);
53043 ;
53044 return 0;
53045 }
53046 _ACEOF
53047 if ac_fn_cxx_try_compile "$LINENO"; then :
53048 glibcxx_cv_func_finite_use=yes
53049 else
53050 glibcxx_cv_func_finite_use=no
53051 fi
53052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53053 ac_ext=c
53054 ac_cpp='$CPP $CPPFLAGS'
53055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53058
53059
53060 fi
53061
53062 fi
53063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53064 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53065
53066 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53067 for ac_func in finite
53068 do :
53069 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53070 if test "x$ac_cv_func_finite" = x""yes; then :
53071 cat >>confdefs.h <<_ACEOF
53072 #define HAVE_FINITE 1
53073 _ACEOF
53074
53075 fi
53076 done
53077
53078 else
53079
53080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53081 $as_echo_n "checking for _finite declaration... " >&6; }
53082 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53083 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53084 $as_echo_n "(cached) " >&6
53085 else
53086
53087
53088 ac_ext=cpp
53089 ac_cpp='$CXXCPP $CPPFLAGS'
53090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53093
53094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53095 /* end confdefs.h. */
53096 #include <math.h>
53097 #ifdef HAVE_IEEEFP_H
53098 #include <ieeefp.h>
53099 #endif
53100
53101 int
53102 main ()
53103 {
53104 _finite(0);
53105 ;
53106 return 0;
53107 }
53108 _ACEOF
53109 if ac_fn_cxx_try_compile "$LINENO"; then :
53110 glibcxx_cv_func__finite_use=yes
53111 else
53112 glibcxx_cv_func__finite_use=no
53113 fi
53114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53115 ac_ext=c
53116 ac_cpp='$CPP $CPPFLAGS'
53117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53120
53121
53122 fi
53123
53124 fi
53125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53126 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53127
53128 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53129 for ac_func in _finite
53130 do :
53131 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53132 if test "x$ac_cv_func__finite" = x""yes; then :
53133 cat >>confdefs.h <<_ACEOF
53134 #define HAVE__FINITE 1
53135 _ACEOF
53136
53137 fi
53138 done
53139
53140 fi
53141 fi
53142
53143
53144
53145
53146
53147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53148 $as_echo_n "checking for sincos declaration... " >&6; }
53149 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53150 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53151 $as_echo_n "(cached) " >&6
53152 else
53153
53154
53155 ac_ext=cpp
53156 ac_cpp='$CXXCPP $CPPFLAGS'
53157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53160
53161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53162 /* end confdefs.h. */
53163 #include <math.h>
53164 int
53165 main ()
53166 {
53167 sincos(0, 0, 0);
53168 ;
53169 return 0;
53170 }
53171 _ACEOF
53172 if ac_fn_cxx_try_compile "$LINENO"; then :
53173 glibcxx_cv_func_sincos_use=yes
53174 else
53175 glibcxx_cv_func_sincos_use=no
53176 fi
53177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53178 ac_ext=c
53179 ac_cpp='$CPP $CPPFLAGS'
53180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53183
53184
53185 fi
53186
53187 fi
53188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53189 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53190
53191 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53192 for ac_func in sincos
53193 do :
53194 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53195 if test "x$ac_cv_func_sincos" = x""yes; then :
53196 cat >>confdefs.h <<_ACEOF
53197 #define HAVE_SINCOS 1
53198 _ACEOF
53199
53200 fi
53201 done
53202
53203 else
53204
53205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53206 $as_echo_n "checking for _sincos declaration... " >&6; }
53207 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53208 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53209 $as_echo_n "(cached) " >&6
53210 else
53211
53212
53213 ac_ext=cpp
53214 ac_cpp='$CXXCPP $CPPFLAGS'
53215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53218
53219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53220 /* end confdefs.h. */
53221 #include <math.h>
53222 int
53223 main ()
53224 {
53225 _sincos(0, 0, 0);
53226 ;
53227 return 0;
53228 }
53229 _ACEOF
53230 if ac_fn_cxx_try_compile "$LINENO"; then :
53231 glibcxx_cv_func__sincos_use=yes
53232 else
53233 glibcxx_cv_func__sincos_use=no
53234 fi
53235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53236 ac_ext=c
53237 ac_cpp='$CPP $CPPFLAGS'
53238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53241
53242
53243 fi
53244
53245 fi
53246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53247 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53248
53249 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53250 for ac_func in _sincos
53251 do :
53252 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53253 if test "x$ac_cv_func__sincos" = x""yes; then :
53254 cat >>confdefs.h <<_ACEOF
53255 #define HAVE__SINCOS 1
53256 _ACEOF
53257
53258 fi
53259 done
53260
53261 fi
53262 fi
53263
53264
53265
53266
53267
53268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53269 $as_echo_n "checking for fpclass declaration... " >&6; }
53270 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53271 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53272 $as_echo_n "(cached) " >&6
53273 else
53274
53275
53276 ac_ext=cpp
53277 ac_cpp='$CXXCPP $CPPFLAGS'
53278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53281
53282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53283 /* end confdefs.h. */
53284 #include <math.h>
53285 #ifdef HAVE_IEEEFP_H
53286 #include <ieeefp.h>
53287 #endif
53288
53289 int
53290 main ()
53291 {
53292 fpclass(0);
53293 ;
53294 return 0;
53295 }
53296 _ACEOF
53297 if ac_fn_cxx_try_compile "$LINENO"; then :
53298 glibcxx_cv_func_fpclass_use=yes
53299 else
53300 glibcxx_cv_func_fpclass_use=no
53301 fi
53302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53303 ac_ext=c
53304 ac_cpp='$CPP $CPPFLAGS'
53305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53308
53309
53310 fi
53311
53312 fi
53313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53314 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53315
53316 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53317 for ac_func in fpclass
53318 do :
53319 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53320 if test "x$ac_cv_func_fpclass" = x""yes; then :
53321 cat >>confdefs.h <<_ACEOF
53322 #define HAVE_FPCLASS 1
53323 _ACEOF
53324
53325 fi
53326 done
53327
53328 else
53329
53330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53331 $as_echo_n "checking for _fpclass declaration... " >&6; }
53332 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53333 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53334 $as_echo_n "(cached) " >&6
53335 else
53336
53337
53338 ac_ext=cpp
53339 ac_cpp='$CXXCPP $CPPFLAGS'
53340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53343
53344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53345 /* end confdefs.h. */
53346 #include <math.h>
53347 #ifdef HAVE_IEEEFP_H
53348 #include <ieeefp.h>
53349 #endif
53350
53351 int
53352 main ()
53353 {
53354 _fpclass(0);
53355 ;
53356 return 0;
53357 }
53358 _ACEOF
53359 if ac_fn_cxx_try_compile "$LINENO"; then :
53360 glibcxx_cv_func__fpclass_use=yes
53361 else
53362 glibcxx_cv_func__fpclass_use=no
53363 fi
53364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53365 ac_ext=c
53366 ac_cpp='$CPP $CPPFLAGS'
53367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53370
53371
53372 fi
53373
53374 fi
53375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53376 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53377
53378 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53379 for ac_func in _fpclass
53380 do :
53381 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53382 if test "x$ac_cv_func__fpclass" = x""yes; then :
53383 cat >>confdefs.h <<_ACEOF
53384 #define HAVE__FPCLASS 1
53385 _ACEOF
53386
53387 fi
53388 done
53389
53390 fi
53391 fi
53392
53393
53394
53395
53396
53397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53398 $as_echo_n "checking for qfpclass declaration... " >&6; }
53399 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53400 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53401 $as_echo_n "(cached) " >&6
53402 else
53403
53404
53405 ac_ext=cpp
53406 ac_cpp='$CXXCPP $CPPFLAGS'
53407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53410
53411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53412 /* end confdefs.h. */
53413 #include <math.h>
53414 #ifdef HAVE_IEEEFP_H
53415 #include <ieeefp.h>
53416 #endif
53417
53418 int
53419 main ()
53420 {
53421 qfpclass(0);
53422 ;
53423 return 0;
53424 }
53425 _ACEOF
53426 if ac_fn_cxx_try_compile "$LINENO"; then :
53427 glibcxx_cv_func_qfpclass_use=yes
53428 else
53429 glibcxx_cv_func_qfpclass_use=no
53430 fi
53431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53432 ac_ext=c
53433 ac_cpp='$CPP $CPPFLAGS'
53434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53437
53438
53439 fi
53440
53441 fi
53442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53443 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53444
53445 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53446 for ac_func in qfpclass
53447 do :
53448 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53449 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53450 cat >>confdefs.h <<_ACEOF
53451 #define HAVE_QFPCLASS 1
53452 _ACEOF
53453
53454 fi
53455 done
53456
53457 else
53458
53459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53460 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53461 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53462 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53463 $as_echo_n "(cached) " >&6
53464 else
53465
53466
53467 ac_ext=cpp
53468 ac_cpp='$CXXCPP $CPPFLAGS'
53469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53472
53473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53474 /* end confdefs.h. */
53475 #include <math.h>
53476 #ifdef HAVE_IEEEFP_H
53477 #include <ieeefp.h>
53478 #endif
53479
53480 int
53481 main ()
53482 {
53483 _qfpclass(0);
53484 ;
53485 return 0;
53486 }
53487 _ACEOF
53488 if ac_fn_cxx_try_compile "$LINENO"; then :
53489 glibcxx_cv_func__qfpclass_use=yes
53490 else
53491 glibcxx_cv_func__qfpclass_use=no
53492 fi
53493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53494 ac_ext=c
53495 ac_cpp='$CPP $CPPFLAGS'
53496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53499
53500
53501 fi
53502
53503 fi
53504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53505 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53506
53507 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53508 for ac_func in _qfpclass
53509 do :
53510 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53511 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53512 cat >>confdefs.h <<_ACEOF
53513 #define HAVE__QFPCLASS 1
53514 _ACEOF
53515
53516 fi
53517 done
53518
53519 fi
53520 fi
53521
53522
53523
53524
53525
53526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53527 $as_echo_n "checking for hypot declaration... " >&6; }
53528 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53529 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53530 $as_echo_n "(cached) " >&6
53531 else
53532
53533
53534 ac_ext=cpp
53535 ac_cpp='$CXXCPP $CPPFLAGS'
53536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53539
53540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53541 /* end confdefs.h. */
53542 #include <math.h>
53543 int
53544 main ()
53545 {
53546 hypot(0, 0);
53547 ;
53548 return 0;
53549 }
53550 _ACEOF
53551 if ac_fn_cxx_try_compile "$LINENO"; then :
53552 glibcxx_cv_func_hypot_use=yes
53553 else
53554 glibcxx_cv_func_hypot_use=no
53555 fi
53556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53557 ac_ext=c
53558 ac_cpp='$CPP $CPPFLAGS'
53559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53562
53563
53564 fi
53565
53566 fi
53567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53568 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53569
53570 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53571 for ac_func in hypot
53572 do :
53573 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53574 if test "x$ac_cv_func_hypot" = x""yes; then :
53575 cat >>confdefs.h <<_ACEOF
53576 #define HAVE_HYPOT 1
53577 _ACEOF
53578
53579 fi
53580 done
53581
53582 else
53583
53584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53585 $as_echo_n "checking for _hypot declaration... " >&6; }
53586 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53587 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53588 $as_echo_n "(cached) " >&6
53589 else
53590
53591
53592 ac_ext=cpp
53593 ac_cpp='$CXXCPP $CPPFLAGS'
53594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53597
53598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53599 /* end confdefs.h. */
53600 #include <math.h>
53601 int
53602 main ()
53603 {
53604 _hypot(0, 0);
53605 ;
53606 return 0;
53607 }
53608 _ACEOF
53609 if ac_fn_cxx_try_compile "$LINENO"; then :
53610 glibcxx_cv_func__hypot_use=yes
53611 else
53612 glibcxx_cv_func__hypot_use=no
53613 fi
53614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53615 ac_ext=c
53616 ac_cpp='$CPP $CPPFLAGS'
53617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53620
53621
53622 fi
53623
53624 fi
53625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53626 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53627
53628 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53629 for ac_func in _hypot
53630 do :
53631 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53632 if test "x$ac_cv_func__hypot" = x""yes; then :
53633 cat >>confdefs.h <<_ACEOF
53634 #define HAVE__HYPOT 1
53635 _ACEOF
53636
53637 fi
53638 done
53639
53640 fi
53641 fi
53642
53643
53644
53645
53646
53647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53648 $as_echo_n "checking for float trig functions... " >&6; }
53649 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53650 $as_echo_n "(cached) " >&6
53651 else
53652
53653
53654 ac_ext=cpp
53655 ac_cpp='$CXXCPP $CPPFLAGS'
53656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53659
53660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53661 /* end confdefs.h. */
53662 #include <math.h>
53663 int
53664 main ()
53665 {
53666 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53667 ;
53668 return 0;
53669 }
53670 _ACEOF
53671 if ac_fn_cxx_try_compile "$LINENO"; then :
53672 glibcxx_cv_func_float_trig_use=yes
53673 else
53674 glibcxx_cv_func_float_trig_use=no
53675 fi
53676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53677 ac_ext=c
53678 ac_cpp='$CPP $CPPFLAGS'
53679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53682
53683 fi
53684
53685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53686 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53687 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53688 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53689 do :
53690 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53691 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53692 eval as_val=\$$as_ac_var
53693 if test "x$as_val" = x""yes; then :
53694 cat >>confdefs.h <<_ACEOF
53695 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53696 _ACEOF
53697
53698 fi
53699 done
53700
53701 else
53702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53703 $as_echo_n "checking for _float trig functions... " >&6; }
53704 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53705 $as_echo_n "(cached) " >&6
53706 else
53707
53708
53709 ac_ext=cpp
53710 ac_cpp='$CXXCPP $CPPFLAGS'
53711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53714
53715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53716 /* end confdefs.h. */
53717 #include <math.h>
53718 int
53719 main ()
53720 {
53721 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53722 ;
53723 return 0;
53724 }
53725 _ACEOF
53726 if ac_fn_cxx_try_compile "$LINENO"; then :
53727 glibcxx_cv_func__float_trig_use=yes
53728 else
53729 glibcxx_cv_func__float_trig_use=no
53730 fi
53731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53732 ac_ext=c
53733 ac_cpp='$CPP $CPPFLAGS'
53734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53737
53738 fi
53739
53740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53741 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53742 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53743 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53744 do :
53745 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53746 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53747 eval as_val=\$$as_ac_var
53748 if test "x$as_val" = x""yes; then :
53749 cat >>confdefs.h <<_ACEOF
53750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53751 _ACEOF
53752
53753 fi
53754 done
53755
53756 fi
53757 fi
53758
53759
53760
53761
53762
53763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53764 $as_echo_n "checking for float round functions... " >&6; }
53765 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53766 $as_echo_n "(cached) " >&6
53767 else
53768
53769
53770 ac_ext=cpp
53771 ac_cpp='$CXXCPP $CPPFLAGS'
53772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53775
53776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53777 /* end confdefs.h. */
53778 #include <math.h>
53779 int
53780 main ()
53781 {
53782 ceilf (0); floorf (0);
53783 ;
53784 return 0;
53785 }
53786 _ACEOF
53787 if ac_fn_cxx_try_compile "$LINENO"; then :
53788 glibcxx_cv_func_float_round_use=yes
53789 else
53790 glibcxx_cv_func_float_round_use=no
53791 fi
53792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53793 ac_ext=c
53794 ac_cpp='$CPP $CPPFLAGS'
53795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53798
53799 fi
53800
53801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53802 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53803 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53804 for ac_func in ceilf floorf
53805 do :
53806 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53807 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53808 eval as_val=\$$as_ac_var
53809 if test "x$as_val" = x""yes; then :
53810 cat >>confdefs.h <<_ACEOF
53811 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53812 _ACEOF
53813
53814 fi
53815 done
53816
53817 else
53818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53819 $as_echo_n "checking for _float round functions... " >&6; }
53820 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53821 $as_echo_n "(cached) " >&6
53822 else
53823
53824
53825 ac_ext=cpp
53826 ac_cpp='$CXXCPP $CPPFLAGS'
53827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53830
53831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53832 /* end confdefs.h. */
53833 #include <math.h>
53834 int
53835 main ()
53836 {
53837 _ceilf (0); _floorf (0);
53838 ;
53839 return 0;
53840 }
53841 _ACEOF
53842 if ac_fn_cxx_try_compile "$LINENO"; then :
53843 glibcxx_cv_func__float_round_use=yes
53844 else
53845 glibcxx_cv_func__float_round_use=no
53846 fi
53847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53848 ac_ext=c
53849 ac_cpp='$CPP $CPPFLAGS'
53850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53853
53854 fi
53855
53856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53857 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53858 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53859 for ac_func in _ceilf _floorf
53860 do :
53861 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53862 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53863 eval as_val=\$$as_ac_var
53864 if test "x$as_val" = x""yes; then :
53865 cat >>confdefs.h <<_ACEOF
53866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53867 _ACEOF
53868
53869 fi
53870 done
53871
53872 fi
53873 fi
53874
53875
53876
53877
53878
53879
53880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53881 $as_echo_n "checking for expf declaration... " >&6; }
53882 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53883 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53884 $as_echo_n "(cached) " >&6
53885 else
53886
53887
53888 ac_ext=cpp
53889 ac_cpp='$CXXCPP $CPPFLAGS'
53890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53893
53894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53895 /* end confdefs.h. */
53896 #include <math.h>
53897 #ifdef HAVE_IEEEFP_H
53898 #include <ieeefp.h>
53899 #endif
53900
53901 int
53902 main ()
53903 {
53904 expf(0);
53905 ;
53906 return 0;
53907 }
53908 _ACEOF
53909 if ac_fn_cxx_try_compile "$LINENO"; then :
53910 glibcxx_cv_func_expf_use=yes
53911 else
53912 glibcxx_cv_func_expf_use=no
53913 fi
53914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53915 ac_ext=c
53916 ac_cpp='$CPP $CPPFLAGS'
53917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53920
53921
53922 fi
53923
53924 fi
53925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53926 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53927
53928 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53929 for ac_func in expf
53930 do :
53931 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53932 if test "x$ac_cv_func_expf" = x""yes; then :
53933 cat >>confdefs.h <<_ACEOF
53934 #define HAVE_EXPF 1
53935 _ACEOF
53936
53937 fi
53938 done
53939
53940 else
53941
53942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53943 $as_echo_n "checking for _expf declaration... " >&6; }
53944 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53945 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53946 $as_echo_n "(cached) " >&6
53947 else
53948
53949
53950 ac_ext=cpp
53951 ac_cpp='$CXXCPP $CPPFLAGS'
53952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53955
53956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53957 /* end confdefs.h. */
53958 #include <math.h>
53959 #ifdef HAVE_IEEEFP_H
53960 #include <ieeefp.h>
53961 #endif
53962
53963 int
53964 main ()
53965 {
53966 _expf(0);
53967 ;
53968 return 0;
53969 }
53970 _ACEOF
53971 if ac_fn_cxx_try_compile "$LINENO"; then :
53972 glibcxx_cv_func__expf_use=yes
53973 else
53974 glibcxx_cv_func__expf_use=no
53975 fi
53976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53977 ac_ext=c
53978 ac_cpp='$CPP $CPPFLAGS'
53979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53982
53983
53984 fi
53985
53986 fi
53987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53988 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53989
53990 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53991 for ac_func in _expf
53992 do :
53993 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53994 if test "x$ac_cv_func__expf" = x""yes; then :
53995 cat >>confdefs.h <<_ACEOF
53996 #define HAVE__EXPF 1
53997 _ACEOF
53998
53999 fi
54000 done
54001
54002 fi
54003 fi
54004
54005
54006
54007
54008
54009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
54010 $as_echo_n "checking for isnanf declaration... " >&6; }
54011 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54012 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54013 $as_echo_n "(cached) " >&6
54014 else
54015
54016
54017 ac_ext=cpp
54018 ac_cpp='$CXXCPP $CPPFLAGS'
54019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54022
54023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54024 /* end confdefs.h. */
54025 #include <math.h>
54026 #ifdef HAVE_IEEEFP_H
54027 #include <ieeefp.h>
54028 #endif
54029
54030 int
54031 main ()
54032 {
54033 isnanf(0);
54034 ;
54035 return 0;
54036 }
54037 _ACEOF
54038 if ac_fn_cxx_try_compile "$LINENO"; then :
54039 glibcxx_cv_func_isnanf_use=yes
54040 else
54041 glibcxx_cv_func_isnanf_use=no
54042 fi
54043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54044 ac_ext=c
54045 ac_cpp='$CPP $CPPFLAGS'
54046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54049
54050
54051 fi
54052
54053 fi
54054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54055 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54056
54057 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54058 for ac_func in isnanf
54059 do :
54060 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54061 if test "x$ac_cv_func_isnanf" = x""yes; then :
54062 cat >>confdefs.h <<_ACEOF
54063 #define HAVE_ISNANF 1
54064 _ACEOF
54065
54066 fi
54067 done
54068
54069 else
54070
54071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54072 $as_echo_n "checking for _isnanf declaration... " >&6; }
54073 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54074 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54075 $as_echo_n "(cached) " >&6
54076 else
54077
54078
54079 ac_ext=cpp
54080 ac_cpp='$CXXCPP $CPPFLAGS'
54081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54084
54085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54086 /* end confdefs.h. */
54087 #include <math.h>
54088 #ifdef HAVE_IEEEFP_H
54089 #include <ieeefp.h>
54090 #endif
54091
54092 int
54093 main ()
54094 {
54095 _isnanf(0);
54096 ;
54097 return 0;
54098 }
54099 _ACEOF
54100 if ac_fn_cxx_try_compile "$LINENO"; then :
54101 glibcxx_cv_func__isnanf_use=yes
54102 else
54103 glibcxx_cv_func__isnanf_use=no
54104 fi
54105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54106 ac_ext=c
54107 ac_cpp='$CPP $CPPFLAGS'
54108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54111
54112
54113 fi
54114
54115 fi
54116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54117 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54118
54119 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54120 for ac_func in _isnanf
54121 do :
54122 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54123 if test "x$ac_cv_func__isnanf" = x""yes; then :
54124 cat >>confdefs.h <<_ACEOF
54125 #define HAVE__ISNANF 1
54126 _ACEOF
54127
54128 fi
54129 done
54130
54131 fi
54132 fi
54133
54134
54135
54136
54137
54138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54139 $as_echo_n "checking for isinff declaration... " >&6; }
54140 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54141 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54142 $as_echo_n "(cached) " >&6
54143 else
54144
54145
54146 ac_ext=cpp
54147 ac_cpp='$CXXCPP $CPPFLAGS'
54148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54151
54152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54153 /* end confdefs.h. */
54154 #include <math.h>
54155 #ifdef HAVE_IEEEFP_H
54156 #include <ieeefp.h>
54157 #endif
54158
54159 int
54160 main ()
54161 {
54162 isinff(0);
54163 ;
54164 return 0;
54165 }
54166 _ACEOF
54167 if ac_fn_cxx_try_compile "$LINENO"; then :
54168 glibcxx_cv_func_isinff_use=yes
54169 else
54170 glibcxx_cv_func_isinff_use=no
54171 fi
54172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54173 ac_ext=c
54174 ac_cpp='$CPP $CPPFLAGS'
54175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54178
54179
54180 fi
54181
54182 fi
54183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54184 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54185
54186 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54187 for ac_func in isinff
54188 do :
54189 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54190 if test "x$ac_cv_func_isinff" = x""yes; then :
54191 cat >>confdefs.h <<_ACEOF
54192 #define HAVE_ISINFF 1
54193 _ACEOF
54194
54195 fi
54196 done
54197
54198 else
54199
54200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54201 $as_echo_n "checking for _isinff declaration... " >&6; }
54202 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54203 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54204 $as_echo_n "(cached) " >&6
54205 else
54206
54207
54208 ac_ext=cpp
54209 ac_cpp='$CXXCPP $CPPFLAGS'
54210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54213
54214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54215 /* end confdefs.h. */
54216 #include <math.h>
54217 #ifdef HAVE_IEEEFP_H
54218 #include <ieeefp.h>
54219 #endif
54220
54221 int
54222 main ()
54223 {
54224 _isinff(0);
54225 ;
54226 return 0;
54227 }
54228 _ACEOF
54229 if ac_fn_cxx_try_compile "$LINENO"; then :
54230 glibcxx_cv_func__isinff_use=yes
54231 else
54232 glibcxx_cv_func__isinff_use=no
54233 fi
54234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54235 ac_ext=c
54236 ac_cpp='$CPP $CPPFLAGS'
54237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54240
54241
54242 fi
54243
54244 fi
54245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54246 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54247
54248 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54249 for ac_func in _isinff
54250 do :
54251 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54252 if test "x$ac_cv_func__isinff" = x""yes; then :
54253 cat >>confdefs.h <<_ACEOF
54254 #define HAVE__ISINFF 1
54255 _ACEOF
54256
54257 fi
54258 done
54259
54260 fi
54261 fi
54262
54263
54264
54265
54266
54267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54268 $as_echo_n "checking for atan2f declaration... " >&6; }
54269 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54270 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54271 $as_echo_n "(cached) " >&6
54272 else
54273
54274
54275 ac_ext=cpp
54276 ac_cpp='$CXXCPP $CPPFLAGS'
54277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54280
54281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54282 /* end confdefs.h. */
54283 #include <math.h>
54284 int
54285 main ()
54286 {
54287 atan2f(0, 0);
54288 ;
54289 return 0;
54290 }
54291 _ACEOF
54292 if ac_fn_cxx_try_compile "$LINENO"; then :
54293 glibcxx_cv_func_atan2f_use=yes
54294 else
54295 glibcxx_cv_func_atan2f_use=no
54296 fi
54297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54298 ac_ext=c
54299 ac_cpp='$CPP $CPPFLAGS'
54300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54303
54304
54305 fi
54306
54307 fi
54308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54309 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54310
54311 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54312 for ac_func in atan2f
54313 do :
54314 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54315 if test "x$ac_cv_func_atan2f" = x""yes; then :
54316 cat >>confdefs.h <<_ACEOF
54317 #define HAVE_ATAN2F 1
54318 _ACEOF
54319
54320 fi
54321 done
54322
54323 else
54324
54325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54326 $as_echo_n "checking for _atan2f declaration... " >&6; }
54327 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54328 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54329 $as_echo_n "(cached) " >&6
54330 else
54331
54332
54333 ac_ext=cpp
54334 ac_cpp='$CXXCPP $CPPFLAGS'
54335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54338
54339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54340 /* end confdefs.h. */
54341 #include <math.h>
54342 int
54343 main ()
54344 {
54345 _atan2f(0, 0);
54346 ;
54347 return 0;
54348 }
54349 _ACEOF
54350 if ac_fn_cxx_try_compile "$LINENO"; then :
54351 glibcxx_cv_func__atan2f_use=yes
54352 else
54353 glibcxx_cv_func__atan2f_use=no
54354 fi
54355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54356 ac_ext=c
54357 ac_cpp='$CPP $CPPFLAGS'
54358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54361
54362
54363 fi
54364
54365 fi
54366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54367 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54368
54369 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54370 for ac_func in _atan2f
54371 do :
54372 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54373 if test "x$ac_cv_func__atan2f" = x""yes; then :
54374 cat >>confdefs.h <<_ACEOF
54375 #define HAVE__ATAN2F 1
54376 _ACEOF
54377
54378 fi
54379 done
54380
54381 fi
54382 fi
54383
54384
54385
54386
54387
54388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54389 $as_echo_n "checking for fabsf declaration... " >&6; }
54390 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54391 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54392 $as_echo_n "(cached) " >&6
54393 else
54394
54395
54396 ac_ext=cpp
54397 ac_cpp='$CXXCPP $CPPFLAGS'
54398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54401
54402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54403 /* end confdefs.h. */
54404 #include <math.h>
54405 #ifdef HAVE_IEEEFP_H
54406 #include <ieeefp.h>
54407 #endif
54408
54409 int
54410 main ()
54411 {
54412 fabsf(0);
54413 ;
54414 return 0;
54415 }
54416 _ACEOF
54417 if ac_fn_cxx_try_compile "$LINENO"; then :
54418 glibcxx_cv_func_fabsf_use=yes
54419 else
54420 glibcxx_cv_func_fabsf_use=no
54421 fi
54422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54423 ac_ext=c
54424 ac_cpp='$CPP $CPPFLAGS'
54425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54428
54429
54430 fi
54431
54432 fi
54433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54434 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54435
54436 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54437 for ac_func in fabsf
54438 do :
54439 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54440 if test "x$ac_cv_func_fabsf" = x""yes; then :
54441 cat >>confdefs.h <<_ACEOF
54442 #define HAVE_FABSF 1
54443 _ACEOF
54444
54445 fi
54446 done
54447
54448 else
54449
54450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54451 $as_echo_n "checking for _fabsf declaration... " >&6; }
54452 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54453 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54454 $as_echo_n "(cached) " >&6
54455 else
54456
54457
54458 ac_ext=cpp
54459 ac_cpp='$CXXCPP $CPPFLAGS'
54460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54463
54464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54465 /* end confdefs.h. */
54466 #include <math.h>
54467 #ifdef HAVE_IEEEFP_H
54468 #include <ieeefp.h>
54469 #endif
54470
54471 int
54472 main ()
54473 {
54474 _fabsf(0);
54475 ;
54476 return 0;
54477 }
54478 _ACEOF
54479 if ac_fn_cxx_try_compile "$LINENO"; then :
54480 glibcxx_cv_func__fabsf_use=yes
54481 else
54482 glibcxx_cv_func__fabsf_use=no
54483 fi
54484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54485 ac_ext=c
54486 ac_cpp='$CPP $CPPFLAGS'
54487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54490
54491
54492 fi
54493
54494 fi
54495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54496 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54497
54498 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54499 for ac_func in _fabsf
54500 do :
54501 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54502 if test "x$ac_cv_func__fabsf" = x""yes; then :
54503 cat >>confdefs.h <<_ACEOF
54504 #define HAVE__FABSF 1
54505 _ACEOF
54506
54507 fi
54508 done
54509
54510 fi
54511 fi
54512
54513
54514
54515
54516
54517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54518 $as_echo_n "checking for fmodf declaration... " >&6; }
54519 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54520 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54521 $as_echo_n "(cached) " >&6
54522 else
54523
54524
54525 ac_ext=cpp
54526 ac_cpp='$CXXCPP $CPPFLAGS'
54527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54530
54531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54532 /* end confdefs.h. */
54533 #include <math.h>
54534 int
54535 main ()
54536 {
54537 fmodf(0, 0);
54538 ;
54539 return 0;
54540 }
54541 _ACEOF
54542 if ac_fn_cxx_try_compile "$LINENO"; then :
54543 glibcxx_cv_func_fmodf_use=yes
54544 else
54545 glibcxx_cv_func_fmodf_use=no
54546 fi
54547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54548 ac_ext=c
54549 ac_cpp='$CPP $CPPFLAGS'
54550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54553
54554
54555 fi
54556
54557 fi
54558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54559 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54560
54561 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54562 for ac_func in fmodf
54563 do :
54564 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54565 if test "x$ac_cv_func_fmodf" = x""yes; then :
54566 cat >>confdefs.h <<_ACEOF
54567 #define HAVE_FMODF 1
54568 _ACEOF
54569
54570 fi
54571 done
54572
54573 else
54574
54575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54576 $as_echo_n "checking for _fmodf declaration... " >&6; }
54577 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54578 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54579 $as_echo_n "(cached) " >&6
54580 else
54581
54582
54583 ac_ext=cpp
54584 ac_cpp='$CXXCPP $CPPFLAGS'
54585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54588
54589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54590 /* end confdefs.h. */
54591 #include <math.h>
54592 int
54593 main ()
54594 {
54595 _fmodf(0, 0);
54596 ;
54597 return 0;
54598 }
54599 _ACEOF
54600 if ac_fn_cxx_try_compile "$LINENO"; then :
54601 glibcxx_cv_func__fmodf_use=yes
54602 else
54603 glibcxx_cv_func__fmodf_use=no
54604 fi
54605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54606 ac_ext=c
54607 ac_cpp='$CPP $CPPFLAGS'
54608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54611
54612
54613 fi
54614
54615 fi
54616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54617 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54618
54619 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54620 for ac_func in _fmodf
54621 do :
54622 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54623 if test "x$ac_cv_func__fmodf" = x""yes; then :
54624 cat >>confdefs.h <<_ACEOF
54625 #define HAVE__FMODF 1
54626 _ACEOF
54627
54628 fi
54629 done
54630
54631 fi
54632 fi
54633
54634
54635
54636
54637
54638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54639 $as_echo_n "checking for frexpf declaration... " >&6; }
54640 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54641 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54642 $as_echo_n "(cached) " >&6
54643 else
54644
54645
54646 ac_ext=cpp
54647 ac_cpp='$CXXCPP $CPPFLAGS'
54648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54651
54652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54653 /* end confdefs.h. */
54654 #include <math.h>
54655 int
54656 main ()
54657 {
54658 frexpf(0, 0);
54659 ;
54660 return 0;
54661 }
54662 _ACEOF
54663 if ac_fn_cxx_try_compile "$LINENO"; then :
54664 glibcxx_cv_func_frexpf_use=yes
54665 else
54666 glibcxx_cv_func_frexpf_use=no
54667 fi
54668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54669 ac_ext=c
54670 ac_cpp='$CPP $CPPFLAGS'
54671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54674
54675
54676 fi
54677
54678 fi
54679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54680 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54681
54682 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54683 for ac_func in frexpf
54684 do :
54685 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54686 if test "x$ac_cv_func_frexpf" = x""yes; then :
54687 cat >>confdefs.h <<_ACEOF
54688 #define HAVE_FREXPF 1
54689 _ACEOF
54690
54691 fi
54692 done
54693
54694 else
54695
54696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54697 $as_echo_n "checking for _frexpf declaration... " >&6; }
54698 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54699 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54700 $as_echo_n "(cached) " >&6
54701 else
54702
54703
54704 ac_ext=cpp
54705 ac_cpp='$CXXCPP $CPPFLAGS'
54706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54709
54710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54711 /* end confdefs.h. */
54712 #include <math.h>
54713 int
54714 main ()
54715 {
54716 _frexpf(0, 0);
54717 ;
54718 return 0;
54719 }
54720 _ACEOF
54721 if ac_fn_cxx_try_compile "$LINENO"; then :
54722 glibcxx_cv_func__frexpf_use=yes
54723 else
54724 glibcxx_cv_func__frexpf_use=no
54725 fi
54726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54727 ac_ext=c
54728 ac_cpp='$CPP $CPPFLAGS'
54729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54732
54733
54734 fi
54735
54736 fi
54737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54738 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54739
54740 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54741 for ac_func in _frexpf
54742 do :
54743 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54744 if test "x$ac_cv_func__frexpf" = x""yes; then :
54745 cat >>confdefs.h <<_ACEOF
54746 #define HAVE__FREXPF 1
54747 _ACEOF
54748
54749 fi
54750 done
54751
54752 fi
54753 fi
54754
54755
54756
54757
54758
54759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54760 $as_echo_n "checking for hypotf declaration... " >&6; }
54761 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54762 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54763 $as_echo_n "(cached) " >&6
54764 else
54765
54766
54767 ac_ext=cpp
54768 ac_cpp='$CXXCPP $CPPFLAGS'
54769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54772
54773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54774 /* end confdefs.h. */
54775 #include <math.h>
54776 int
54777 main ()
54778 {
54779 hypotf(0, 0);
54780 ;
54781 return 0;
54782 }
54783 _ACEOF
54784 if ac_fn_cxx_try_compile "$LINENO"; then :
54785 glibcxx_cv_func_hypotf_use=yes
54786 else
54787 glibcxx_cv_func_hypotf_use=no
54788 fi
54789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54790 ac_ext=c
54791 ac_cpp='$CPP $CPPFLAGS'
54792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54795
54796
54797 fi
54798
54799 fi
54800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54801 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54802
54803 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54804 for ac_func in hypotf
54805 do :
54806 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54807 if test "x$ac_cv_func_hypotf" = x""yes; then :
54808 cat >>confdefs.h <<_ACEOF
54809 #define HAVE_HYPOTF 1
54810 _ACEOF
54811
54812 fi
54813 done
54814
54815 else
54816
54817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54818 $as_echo_n "checking for _hypotf declaration... " >&6; }
54819 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54820 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54821 $as_echo_n "(cached) " >&6
54822 else
54823
54824
54825 ac_ext=cpp
54826 ac_cpp='$CXXCPP $CPPFLAGS'
54827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54830
54831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54832 /* end confdefs.h. */
54833 #include <math.h>
54834 int
54835 main ()
54836 {
54837 _hypotf(0, 0);
54838 ;
54839 return 0;
54840 }
54841 _ACEOF
54842 if ac_fn_cxx_try_compile "$LINENO"; then :
54843 glibcxx_cv_func__hypotf_use=yes
54844 else
54845 glibcxx_cv_func__hypotf_use=no
54846 fi
54847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54848 ac_ext=c
54849 ac_cpp='$CPP $CPPFLAGS'
54850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54853
54854
54855 fi
54856
54857 fi
54858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54859 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54860
54861 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54862 for ac_func in _hypotf
54863 do :
54864 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54865 if test "x$ac_cv_func__hypotf" = x""yes; then :
54866 cat >>confdefs.h <<_ACEOF
54867 #define HAVE__HYPOTF 1
54868 _ACEOF
54869
54870 fi
54871 done
54872
54873 fi
54874 fi
54875
54876
54877
54878
54879
54880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54881 $as_echo_n "checking for ldexpf declaration... " >&6; }
54882 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54883 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54884 $as_echo_n "(cached) " >&6
54885 else
54886
54887
54888 ac_ext=cpp
54889 ac_cpp='$CXXCPP $CPPFLAGS'
54890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54893
54894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54895 /* end confdefs.h. */
54896 #include <math.h>
54897 int
54898 main ()
54899 {
54900 ldexpf(0, 0);
54901 ;
54902 return 0;
54903 }
54904 _ACEOF
54905 if ac_fn_cxx_try_compile "$LINENO"; then :
54906 glibcxx_cv_func_ldexpf_use=yes
54907 else
54908 glibcxx_cv_func_ldexpf_use=no
54909 fi
54910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54911 ac_ext=c
54912 ac_cpp='$CPP $CPPFLAGS'
54913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54916
54917
54918 fi
54919
54920 fi
54921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54922 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54923
54924 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54925 for ac_func in ldexpf
54926 do :
54927 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54928 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54929 cat >>confdefs.h <<_ACEOF
54930 #define HAVE_LDEXPF 1
54931 _ACEOF
54932
54933 fi
54934 done
54935
54936 else
54937
54938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54939 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54940 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54941 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54942 $as_echo_n "(cached) " >&6
54943 else
54944
54945
54946 ac_ext=cpp
54947 ac_cpp='$CXXCPP $CPPFLAGS'
54948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54951
54952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54953 /* end confdefs.h. */
54954 #include <math.h>
54955 int
54956 main ()
54957 {
54958 _ldexpf(0, 0);
54959 ;
54960 return 0;
54961 }
54962 _ACEOF
54963 if ac_fn_cxx_try_compile "$LINENO"; then :
54964 glibcxx_cv_func__ldexpf_use=yes
54965 else
54966 glibcxx_cv_func__ldexpf_use=no
54967 fi
54968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54969 ac_ext=c
54970 ac_cpp='$CPP $CPPFLAGS'
54971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54974
54975
54976 fi
54977
54978 fi
54979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54980 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54981
54982 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54983 for ac_func in _ldexpf
54984 do :
54985 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54986 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54987 cat >>confdefs.h <<_ACEOF
54988 #define HAVE__LDEXPF 1
54989 _ACEOF
54990
54991 fi
54992 done
54993
54994 fi
54995 fi
54996
54997
54998
54999
55000
55001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
55002 $as_echo_n "checking for logf declaration... " >&6; }
55003 if test x${glibcxx_cv_func_logf_use+set} != xset; then
55004 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
55005 $as_echo_n "(cached) " >&6
55006 else
55007
55008
55009 ac_ext=cpp
55010 ac_cpp='$CXXCPP $CPPFLAGS'
55011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55014
55015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55016 /* end confdefs.h. */
55017 #include <math.h>
55018 #ifdef HAVE_IEEEFP_H
55019 #include <ieeefp.h>
55020 #endif
55021
55022 int
55023 main ()
55024 {
55025 logf(0);
55026 ;
55027 return 0;
55028 }
55029 _ACEOF
55030 if ac_fn_cxx_try_compile "$LINENO"; then :
55031 glibcxx_cv_func_logf_use=yes
55032 else
55033 glibcxx_cv_func_logf_use=no
55034 fi
55035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55036 ac_ext=c
55037 ac_cpp='$CPP $CPPFLAGS'
55038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55041
55042
55043 fi
55044
55045 fi
55046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55047 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55048
55049 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55050 for ac_func in logf
55051 do :
55052 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55053 if test "x$ac_cv_func_logf" = x""yes; then :
55054 cat >>confdefs.h <<_ACEOF
55055 #define HAVE_LOGF 1
55056 _ACEOF
55057
55058 fi
55059 done
55060
55061 else
55062
55063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55064 $as_echo_n "checking for _logf declaration... " >&6; }
55065 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55066 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55067 $as_echo_n "(cached) " >&6
55068 else
55069
55070
55071 ac_ext=cpp
55072 ac_cpp='$CXXCPP $CPPFLAGS'
55073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55076
55077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55078 /* end confdefs.h. */
55079 #include <math.h>
55080 #ifdef HAVE_IEEEFP_H
55081 #include <ieeefp.h>
55082 #endif
55083
55084 int
55085 main ()
55086 {
55087 _logf(0);
55088 ;
55089 return 0;
55090 }
55091 _ACEOF
55092 if ac_fn_cxx_try_compile "$LINENO"; then :
55093 glibcxx_cv_func__logf_use=yes
55094 else
55095 glibcxx_cv_func__logf_use=no
55096 fi
55097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55098 ac_ext=c
55099 ac_cpp='$CPP $CPPFLAGS'
55100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55103
55104
55105 fi
55106
55107 fi
55108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55109 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55110
55111 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55112 for ac_func in _logf
55113 do :
55114 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55115 if test "x$ac_cv_func__logf" = x""yes; then :
55116 cat >>confdefs.h <<_ACEOF
55117 #define HAVE__LOGF 1
55118 _ACEOF
55119
55120 fi
55121 done
55122
55123 fi
55124 fi
55125
55126
55127
55128
55129
55130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55131 $as_echo_n "checking for log10f declaration... " >&6; }
55132 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55133 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55134 $as_echo_n "(cached) " >&6
55135 else
55136
55137
55138 ac_ext=cpp
55139 ac_cpp='$CXXCPP $CPPFLAGS'
55140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55143
55144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55145 /* end confdefs.h. */
55146 #include <math.h>
55147 #ifdef HAVE_IEEEFP_H
55148 #include <ieeefp.h>
55149 #endif
55150
55151 int
55152 main ()
55153 {
55154 log10f(0);
55155 ;
55156 return 0;
55157 }
55158 _ACEOF
55159 if ac_fn_cxx_try_compile "$LINENO"; then :
55160 glibcxx_cv_func_log10f_use=yes
55161 else
55162 glibcxx_cv_func_log10f_use=no
55163 fi
55164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55165 ac_ext=c
55166 ac_cpp='$CPP $CPPFLAGS'
55167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55170
55171
55172 fi
55173
55174 fi
55175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55176 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55177
55178 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55179 for ac_func in log10f
55180 do :
55181 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55182 if test "x$ac_cv_func_log10f" = x""yes; then :
55183 cat >>confdefs.h <<_ACEOF
55184 #define HAVE_LOG10F 1
55185 _ACEOF
55186
55187 fi
55188 done
55189
55190 else
55191
55192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55193 $as_echo_n "checking for _log10f declaration... " >&6; }
55194 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55195 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55196 $as_echo_n "(cached) " >&6
55197 else
55198
55199
55200 ac_ext=cpp
55201 ac_cpp='$CXXCPP $CPPFLAGS'
55202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55205
55206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55207 /* end confdefs.h. */
55208 #include <math.h>
55209 #ifdef HAVE_IEEEFP_H
55210 #include <ieeefp.h>
55211 #endif
55212
55213 int
55214 main ()
55215 {
55216 _log10f(0);
55217 ;
55218 return 0;
55219 }
55220 _ACEOF
55221 if ac_fn_cxx_try_compile "$LINENO"; then :
55222 glibcxx_cv_func__log10f_use=yes
55223 else
55224 glibcxx_cv_func__log10f_use=no
55225 fi
55226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55227 ac_ext=c
55228 ac_cpp='$CPP $CPPFLAGS'
55229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55232
55233
55234 fi
55235
55236 fi
55237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55238 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55239
55240 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55241 for ac_func in _log10f
55242 do :
55243 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55244 if test "x$ac_cv_func__log10f" = x""yes; then :
55245 cat >>confdefs.h <<_ACEOF
55246 #define HAVE__LOG10F 1
55247 _ACEOF
55248
55249 fi
55250 done
55251
55252 fi
55253 fi
55254
55255
55256
55257
55258
55259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55260 $as_echo_n "checking for modff declaration... " >&6; }
55261 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55262 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55263 $as_echo_n "(cached) " >&6
55264 else
55265
55266
55267 ac_ext=cpp
55268 ac_cpp='$CXXCPP $CPPFLAGS'
55269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55272
55273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55274 /* end confdefs.h. */
55275 #include <math.h>
55276 int
55277 main ()
55278 {
55279 modff(0, 0);
55280 ;
55281 return 0;
55282 }
55283 _ACEOF
55284 if ac_fn_cxx_try_compile "$LINENO"; then :
55285 glibcxx_cv_func_modff_use=yes
55286 else
55287 glibcxx_cv_func_modff_use=no
55288 fi
55289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55290 ac_ext=c
55291 ac_cpp='$CPP $CPPFLAGS'
55292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55295
55296
55297 fi
55298
55299 fi
55300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55301 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55302
55303 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55304 for ac_func in modff
55305 do :
55306 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55307 if test "x$ac_cv_func_modff" = x""yes; then :
55308 cat >>confdefs.h <<_ACEOF
55309 #define HAVE_MODFF 1
55310 _ACEOF
55311
55312 fi
55313 done
55314
55315 else
55316
55317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55318 $as_echo_n "checking for _modff declaration... " >&6; }
55319 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55320 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55321 $as_echo_n "(cached) " >&6
55322 else
55323
55324
55325 ac_ext=cpp
55326 ac_cpp='$CXXCPP $CPPFLAGS'
55327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55330
55331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55332 /* end confdefs.h. */
55333 #include <math.h>
55334 int
55335 main ()
55336 {
55337 _modff(0, 0);
55338 ;
55339 return 0;
55340 }
55341 _ACEOF
55342 if ac_fn_cxx_try_compile "$LINENO"; then :
55343 glibcxx_cv_func__modff_use=yes
55344 else
55345 glibcxx_cv_func__modff_use=no
55346 fi
55347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55348 ac_ext=c
55349 ac_cpp='$CPP $CPPFLAGS'
55350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55353
55354
55355 fi
55356
55357 fi
55358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55359 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55360
55361 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55362 for ac_func in _modff
55363 do :
55364 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55365 if test "x$ac_cv_func__modff" = x""yes; then :
55366 cat >>confdefs.h <<_ACEOF
55367 #define HAVE__MODFF 1
55368 _ACEOF
55369
55370 fi
55371 done
55372
55373 fi
55374 fi
55375
55376
55377
55378
55379
55380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55381 $as_echo_n "checking for modf declaration... " >&6; }
55382 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55383 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55384 $as_echo_n "(cached) " >&6
55385 else
55386
55387
55388 ac_ext=cpp
55389 ac_cpp='$CXXCPP $CPPFLAGS'
55390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55393
55394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55395 /* end confdefs.h. */
55396 #include <math.h>
55397 int
55398 main ()
55399 {
55400 modf(0, 0);
55401 ;
55402 return 0;
55403 }
55404 _ACEOF
55405 if ac_fn_cxx_try_compile "$LINENO"; then :
55406 glibcxx_cv_func_modf_use=yes
55407 else
55408 glibcxx_cv_func_modf_use=no
55409 fi
55410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55411 ac_ext=c
55412 ac_cpp='$CPP $CPPFLAGS'
55413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55416
55417
55418 fi
55419
55420 fi
55421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55422 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55423
55424 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55425 for ac_func in modf
55426 do :
55427 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55428 if test "x$ac_cv_func_modf" = x""yes; then :
55429 cat >>confdefs.h <<_ACEOF
55430 #define HAVE_MODF 1
55431 _ACEOF
55432
55433 fi
55434 done
55435
55436 else
55437
55438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55439 $as_echo_n "checking for _modf declaration... " >&6; }
55440 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55441 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55442 $as_echo_n "(cached) " >&6
55443 else
55444
55445
55446 ac_ext=cpp
55447 ac_cpp='$CXXCPP $CPPFLAGS'
55448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55451
55452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55453 /* end confdefs.h. */
55454 #include <math.h>
55455 int
55456 main ()
55457 {
55458 _modf(0, 0);
55459 ;
55460 return 0;
55461 }
55462 _ACEOF
55463 if ac_fn_cxx_try_compile "$LINENO"; then :
55464 glibcxx_cv_func__modf_use=yes
55465 else
55466 glibcxx_cv_func__modf_use=no
55467 fi
55468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55469 ac_ext=c
55470 ac_cpp='$CPP $CPPFLAGS'
55471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55474
55475
55476 fi
55477
55478 fi
55479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55480 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55481
55482 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55483 for ac_func in _modf
55484 do :
55485 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55486 if test "x$ac_cv_func__modf" = x""yes; then :
55487 cat >>confdefs.h <<_ACEOF
55488 #define HAVE__MODF 1
55489 _ACEOF
55490
55491 fi
55492 done
55493
55494 fi
55495 fi
55496
55497
55498
55499
55500
55501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55502 $as_echo_n "checking for powf declaration... " >&6; }
55503 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55504 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55505 $as_echo_n "(cached) " >&6
55506 else
55507
55508
55509 ac_ext=cpp
55510 ac_cpp='$CXXCPP $CPPFLAGS'
55511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55514
55515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55516 /* end confdefs.h. */
55517 #include <math.h>
55518 int
55519 main ()
55520 {
55521 powf(0, 0);
55522 ;
55523 return 0;
55524 }
55525 _ACEOF
55526 if ac_fn_cxx_try_compile "$LINENO"; then :
55527 glibcxx_cv_func_powf_use=yes
55528 else
55529 glibcxx_cv_func_powf_use=no
55530 fi
55531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55532 ac_ext=c
55533 ac_cpp='$CPP $CPPFLAGS'
55534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55537
55538
55539 fi
55540
55541 fi
55542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55543 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55544
55545 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55546 for ac_func in powf
55547 do :
55548 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55549 if test "x$ac_cv_func_powf" = x""yes; then :
55550 cat >>confdefs.h <<_ACEOF
55551 #define HAVE_POWF 1
55552 _ACEOF
55553
55554 fi
55555 done
55556
55557 else
55558
55559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55560 $as_echo_n "checking for _powf declaration... " >&6; }
55561 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55562 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55563 $as_echo_n "(cached) " >&6
55564 else
55565
55566
55567 ac_ext=cpp
55568 ac_cpp='$CXXCPP $CPPFLAGS'
55569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55572
55573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55574 /* end confdefs.h. */
55575 #include <math.h>
55576 int
55577 main ()
55578 {
55579 _powf(0, 0);
55580 ;
55581 return 0;
55582 }
55583 _ACEOF
55584 if ac_fn_cxx_try_compile "$LINENO"; then :
55585 glibcxx_cv_func__powf_use=yes
55586 else
55587 glibcxx_cv_func__powf_use=no
55588 fi
55589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55590 ac_ext=c
55591 ac_cpp='$CPP $CPPFLAGS'
55592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55595
55596
55597 fi
55598
55599 fi
55600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55601 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55602
55603 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55604 for ac_func in _powf
55605 do :
55606 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55607 if test "x$ac_cv_func__powf" = x""yes; then :
55608 cat >>confdefs.h <<_ACEOF
55609 #define HAVE__POWF 1
55610 _ACEOF
55611
55612 fi
55613 done
55614
55615 fi
55616 fi
55617
55618
55619
55620
55621
55622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55623 $as_echo_n "checking for sqrtf declaration... " >&6; }
55624 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55625 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55626 $as_echo_n "(cached) " >&6
55627 else
55628
55629
55630 ac_ext=cpp
55631 ac_cpp='$CXXCPP $CPPFLAGS'
55632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55635
55636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55637 /* end confdefs.h. */
55638 #include <math.h>
55639 #ifdef HAVE_IEEEFP_H
55640 #include <ieeefp.h>
55641 #endif
55642
55643 int
55644 main ()
55645 {
55646 sqrtf(0);
55647 ;
55648 return 0;
55649 }
55650 _ACEOF
55651 if ac_fn_cxx_try_compile "$LINENO"; then :
55652 glibcxx_cv_func_sqrtf_use=yes
55653 else
55654 glibcxx_cv_func_sqrtf_use=no
55655 fi
55656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55657 ac_ext=c
55658 ac_cpp='$CPP $CPPFLAGS'
55659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55662
55663
55664 fi
55665
55666 fi
55667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55668 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55669
55670 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55671 for ac_func in sqrtf
55672 do :
55673 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55674 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55675 cat >>confdefs.h <<_ACEOF
55676 #define HAVE_SQRTF 1
55677 _ACEOF
55678
55679 fi
55680 done
55681
55682 else
55683
55684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55685 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55686 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55687 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55688 $as_echo_n "(cached) " >&6
55689 else
55690
55691
55692 ac_ext=cpp
55693 ac_cpp='$CXXCPP $CPPFLAGS'
55694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55697
55698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55699 /* end confdefs.h. */
55700 #include <math.h>
55701 #ifdef HAVE_IEEEFP_H
55702 #include <ieeefp.h>
55703 #endif
55704
55705 int
55706 main ()
55707 {
55708 _sqrtf(0);
55709 ;
55710 return 0;
55711 }
55712 _ACEOF
55713 if ac_fn_cxx_try_compile "$LINENO"; then :
55714 glibcxx_cv_func__sqrtf_use=yes
55715 else
55716 glibcxx_cv_func__sqrtf_use=no
55717 fi
55718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55719 ac_ext=c
55720 ac_cpp='$CPP $CPPFLAGS'
55721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55724
55725
55726 fi
55727
55728 fi
55729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55730 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55731
55732 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55733 for ac_func in _sqrtf
55734 do :
55735 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55736 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55737 cat >>confdefs.h <<_ACEOF
55738 #define HAVE__SQRTF 1
55739 _ACEOF
55740
55741 fi
55742 done
55743
55744 fi
55745 fi
55746
55747
55748
55749
55750
55751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55752 $as_echo_n "checking for sincosf declaration... " >&6; }
55753 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55754 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55755 $as_echo_n "(cached) " >&6
55756 else
55757
55758
55759 ac_ext=cpp
55760 ac_cpp='$CXXCPP $CPPFLAGS'
55761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55764
55765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55766 /* end confdefs.h. */
55767 #include <math.h>
55768 int
55769 main ()
55770 {
55771 sincosf(0, 0, 0);
55772 ;
55773 return 0;
55774 }
55775 _ACEOF
55776 if ac_fn_cxx_try_compile "$LINENO"; then :
55777 glibcxx_cv_func_sincosf_use=yes
55778 else
55779 glibcxx_cv_func_sincosf_use=no
55780 fi
55781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55782 ac_ext=c
55783 ac_cpp='$CPP $CPPFLAGS'
55784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55787
55788
55789 fi
55790
55791 fi
55792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55793 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55794
55795 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55796 for ac_func in sincosf
55797 do :
55798 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55799 if test "x$ac_cv_func_sincosf" = x""yes; then :
55800 cat >>confdefs.h <<_ACEOF
55801 #define HAVE_SINCOSF 1
55802 _ACEOF
55803
55804 fi
55805 done
55806
55807 else
55808
55809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55810 $as_echo_n "checking for _sincosf declaration... " >&6; }
55811 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55812 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55813 $as_echo_n "(cached) " >&6
55814 else
55815
55816
55817 ac_ext=cpp
55818 ac_cpp='$CXXCPP $CPPFLAGS'
55819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55822
55823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55824 /* end confdefs.h. */
55825 #include <math.h>
55826 int
55827 main ()
55828 {
55829 _sincosf(0, 0, 0);
55830 ;
55831 return 0;
55832 }
55833 _ACEOF
55834 if ac_fn_cxx_try_compile "$LINENO"; then :
55835 glibcxx_cv_func__sincosf_use=yes
55836 else
55837 glibcxx_cv_func__sincosf_use=no
55838 fi
55839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55840 ac_ext=c
55841 ac_cpp='$CPP $CPPFLAGS'
55842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55845
55846
55847 fi
55848
55849 fi
55850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55851 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55852
55853 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55854 for ac_func in _sincosf
55855 do :
55856 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55857 if test "x$ac_cv_func__sincosf" = x""yes; then :
55858 cat >>confdefs.h <<_ACEOF
55859 #define HAVE__SINCOSF 1
55860 _ACEOF
55861
55862 fi
55863 done
55864
55865 fi
55866 fi
55867
55868
55869
55870
55871
55872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55873 $as_echo_n "checking for finitef declaration... " >&6; }
55874 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55875 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55876 $as_echo_n "(cached) " >&6
55877 else
55878
55879
55880 ac_ext=cpp
55881 ac_cpp='$CXXCPP $CPPFLAGS'
55882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55885
55886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55887 /* end confdefs.h. */
55888 #include <math.h>
55889 #ifdef HAVE_IEEEFP_H
55890 #include <ieeefp.h>
55891 #endif
55892
55893 int
55894 main ()
55895 {
55896 finitef(0);
55897 ;
55898 return 0;
55899 }
55900 _ACEOF
55901 if ac_fn_cxx_try_compile "$LINENO"; then :
55902 glibcxx_cv_func_finitef_use=yes
55903 else
55904 glibcxx_cv_func_finitef_use=no
55905 fi
55906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55907 ac_ext=c
55908 ac_cpp='$CPP $CPPFLAGS'
55909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55912
55913
55914 fi
55915
55916 fi
55917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55918 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55919
55920 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55921 for ac_func in finitef
55922 do :
55923 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55924 if test "x$ac_cv_func_finitef" = x""yes; then :
55925 cat >>confdefs.h <<_ACEOF
55926 #define HAVE_FINITEF 1
55927 _ACEOF
55928
55929 fi
55930 done
55931
55932 else
55933
55934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55935 $as_echo_n "checking for _finitef declaration... " >&6; }
55936 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55937 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55938 $as_echo_n "(cached) " >&6
55939 else
55940
55941
55942 ac_ext=cpp
55943 ac_cpp='$CXXCPP $CPPFLAGS'
55944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55947
55948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55949 /* end confdefs.h. */
55950 #include <math.h>
55951 #ifdef HAVE_IEEEFP_H
55952 #include <ieeefp.h>
55953 #endif
55954
55955 int
55956 main ()
55957 {
55958 _finitef(0);
55959 ;
55960 return 0;
55961 }
55962 _ACEOF
55963 if ac_fn_cxx_try_compile "$LINENO"; then :
55964 glibcxx_cv_func__finitef_use=yes
55965 else
55966 glibcxx_cv_func__finitef_use=no
55967 fi
55968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55969 ac_ext=c
55970 ac_cpp='$CPP $CPPFLAGS'
55971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55974
55975
55976 fi
55977
55978 fi
55979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55980 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55981
55982 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55983 for ac_func in _finitef
55984 do :
55985 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55986 if test "x$ac_cv_func__finitef" = x""yes; then :
55987 cat >>confdefs.h <<_ACEOF
55988 #define HAVE__FINITEF 1
55989 _ACEOF
55990
55991 fi
55992 done
55993
55994 fi
55995 fi
55996
55997
55998
55999
56000
56001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
56002 $as_echo_n "checking for long double trig functions... " >&6; }
56003 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
56004 $as_echo_n "(cached) " >&6
56005 else
56006
56007
56008 ac_ext=cpp
56009 ac_cpp='$CXXCPP $CPPFLAGS'
56010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56013
56014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56015 /* end confdefs.h. */
56016 #include <math.h>
56017 int
56018 main ()
56019 {
56020 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56021 ;
56022 return 0;
56023 }
56024 _ACEOF
56025 if ac_fn_cxx_try_compile "$LINENO"; then :
56026 glibcxx_cv_func_long_double_trig_use=yes
56027 else
56028 glibcxx_cv_func_long_double_trig_use=no
56029 fi
56030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56031 ac_ext=c
56032 ac_cpp='$CPP $CPPFLAGS'
56033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56036
56037 fi
56038
56039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56040 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56041 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56042 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56043 do :
56044 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56045 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56046 eval as_val=\$$as_ac_var
56047 if test "x$as_val" = x""yes; then :
56048 cat >>confdefs.h <<_ACEOF
56049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56050 _ACEOF
56051
56052 fi
56053 done
56054
56055 else
56056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56057 $as_echo_n "checking for _long double trig functions... " >&6; }
56058 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56059 $as_echo_n "(cached) " >&6
56060 else
56061
56062
56063 ac_ext=cpp
56064 ac_cpp='$CXXCPP $CPPFLAGS'
56065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56068
56069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56070 /* end confdefs.h. */
56071 #include <math.h>
56072 int
56073 main ()
56074 {
56075 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56076 ;
56077 return 0;
56078 }
56079 _ACEOF
56080 if ac_fn_cxx_try_compile "$LINENO"; then :
56081 glibcxx_cv_func__long_double_trig_use=yes
56082 else
56083 glibcxx_cv_func__long_double_trig_use=no
56084 fi
56085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56086 ac_ext=c
56087 ac_cpp='$CPP $CPPFLAGS'
56088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56091
56092 fi
56093
56094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56095 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56096 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56097 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56098 do :
56099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56101 eval as_val=\$$as_ac_var
56102 if test "x$as_val" = x""yes; then :
56103 cat >>confdefs.h <<_ACEOF
56104 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56105 _ACEOF
56106
56107 fi
56108 done
56109
56110 fi
56111 fi
56112
56113
56114
56115
56116
56117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56118 $as_echo_n "checking for long double round functions... " >&6; }
56119 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56120 $as_echo_n "(cached) " >&6
56121 else
56122
56123
56124 ac_ext=cpp
56125 ac_cpp='$CXXCPP $CPPFLAGS'
56126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56129
56130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56131 /* end confdefs.h. */
56132 #include <math.h>
56133 int
56134 main ()
56135 {
56136 ceill (0); floorl (0);
56137 ;
56138 return 0;
56139 }
56140 _ACEOF
56141 if ac_fn_cxx_try_compile "$LINENO"; then :
56142 glibcxx_cv_func_long_double_round_use=yes
56143 else
56144 glibcxx_cv_func_long_double_round_use=no
56145 fi
56146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56147 ac_ext=c
56148 ac_cpp='$CPP $CPPFLAGS'
56149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56152
56153 fi
56154
56155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56156 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56157 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56158 for ac_func in ceill floorl
56159 do :
56160 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56161 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56162 eval as_val=\$$as_ac_var
56163 if test "x$as_val" = x""yes; then :
56164 cat >>confdefs.h <<_ACEOF
56165 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56166 _ACEOF
56167
56168 fi
56169 done
56170
56171 else
56172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56173 $as_echo_n "checking for _long double round functions... " >&6; }
56174 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56175 $as_echo_n "(cached) " >&6
56176 else
56177
56178
56179 ac_ext=cpp
56180 ac_cpp='$CXXCPP $CPPFLAGS'
56181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56184
56185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56186 /* end confdefs.h. */
56187 #include <math.h>
56188 int
56189 main ()
56190 {
56191 _ceill (0); _floorl (0);
56192 ;
56193 return 0;
56194 }
56195 _ACEOF
56196 if ac_fn_cxx_try_compile "$LINENO"; then :
56197 glibcxx_cv_func__long_double_round_use=yes
56198 else
56199 glibcxx_cv_func__long_double_round_use=no
56200 fi
56201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56202 ac_ext=c
56203 ac_cpp='$CPP $CPPFLAGS'
56204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56207
56208 fi
56209
56210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56211 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56212 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56213 for ac_func in _ceill _floorl
56214 do :
56215 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56216 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56217 eval as_val=\$$as_ac_var
56218 if test "x$as_val" = x""yes; then :
56219 cat >>confdefs.h <<_ACEOF
56220 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56221 _ACEOF
56222
56223 fi
56224 done
56225
56226 fi
56227 fi
56228
56229
56230
56231
56232
56233
56234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56235 $as_echo_n "checking for isnanl declaration... " >&6; }
56236 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56237 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56238 $as_echo_n "(cached) " >&6
56239 else
56240
56241
56242 ac_ext=cpp
56243 ac_cpp='$CXXCPP $CPPFLAGS'
56244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56247
56248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56249 /* end confdefs.h. */
56250 #include <math.h>
56251 #ifdef HAVE_IEEEFP_H
56252 #include <ieeefp.h>
56253 #endif
56254
56255 int
56256 main ()
56257 {
56258 isnanl(0);
56259 ;
56260 return 0;
56261 }
56262 _ACEOF
56263 if ac_fn_cxx_try_compile "$LINENO"; then :
56264 glibcxx_cv_func_isnanl_use=yes
56265 else
56266 glibcxx_cv_func_isnanl_use=no
56267 fi
56268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56269 ac_ext=c
56270 ac_cpp='$CPP $CPPFLAGS'
56271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56274
56275
56276 fi
56277
56278 fi
56279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56280 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56281
56282 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56283 for ac_func in isnanl
56284 do :
56285 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56286 if test "x$ac_cv_func_isnanl" = x""yes; then :
56287 cat >>confdefs.h <<_ACEOF
56288 #define HAVE_ISNANL 1
56289 _ACEOF
56290
56291 fi
56292 done
56293
56294 else
56295
56296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56297 $as_echo_n "checking for _isnanl declaration... " >&6; }
56298 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56299 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56300 $as_echo_n "(cached) " >&6
56301 else
56302
56303
56304 ac_ext=cpp
56305 ac_cpp='$CXXCPP $CPPFLAGS'
56306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56309
56310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56311 /* end confdefs.h. */
56312 #include <math.h>
56313 #ifdef HAVE_IEEEFP_H
56314 #include <ieeefp.h>
56315 #endif
56316
56317 int
56318 main ()
56319 {
56320 _isnanl(0);
56321 ;
56322 return 0;
56323 }
56324 _ACEOF
56325 if ac_fn_cxx_try_compile "$LINENO"; then :
56326 glibcxx_cv_func__isnanl_use=yes
56327 else
56328 glibcxx_cv_func__isnanl_use=no
56329 fi
56330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56331 ac_ext=c
56332 ac_cpp='$CPP $CPPFLAGS'
56333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56336
56337
56338 fi
56339
56340 fi
56341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56342 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56343
56344 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56345 for ac_func in _isnanl
56346 do :
56347 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56348 if test "x$ac_cv_func__isnanl" = x""yes; then :
56349 cat >>confdefs.h <<_ACEOF
56350 #define HAVE__ISNANL 1
56351 _ACEOF
56352
56353 fi
56354 done
56355
56356 fi
56357 fi
56358
56359
56360
56361
56362
56363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56364 $as_echo_n "checking for isinfl declaration... " >&6; }
56365 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56366 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56367 $as_echo_n "(cached) " >&6
56368 else
56369
56370
56371 ac_ext=cpp
56372 ac_cpp='$CXXCPP $CPPFLAGS'
56373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56376
56377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56378 /* end confdefs.h. */
56379 #include <math.h>
56380 #ifdef HAVE_IEEEFP_H
56381 #include <ieeefp.h>
56382 #endif
56383
56384 int
56385 main ()
56386 {
56387 isinfl(0);
56388 ;
56389 return 0;
56390 }
56391 _ACEOF
56392 if ac_fn_cxx_try_compile "$LINENO"; then :
56393 glibcxx_cv_func_isinfl_use=yes
56394 else
56395 glibcxx_cv_func_isinfl_use=no
56396 fi
56397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56398 ac_ext=c
56399 ac_cpp='$CPP $CPPFLAGS'
56400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56403
56404
56405 fi
56406
56407 fi
56408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56409 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56410
56411 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56412 for ac_func in isinfl
56413 do :
56414 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56415 if test "x$ac_cv_func_isinfl" = x""yes; then :
56416 cat >>confdefs.h <<_ACEOF
56417 #define HAVE_ISINFL 1
56418 _ACEOF
56419
56420 fi
56421 done
56422
56423 else
56424
56425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56426 $as_echo_n "checking for _isinfl declaration... " >&6; }
56427 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56428 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56429 $as_echo_n "(cached) " >&6
56430 else
56431
56432
56433 ac_ext=cpp
56434 ac_cpp='$CXXCPP $CPPFLAGS'
56435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56438
56439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56440 /* end confdefs.h. */
56441 #include <math.h>
56442 #ifdef HAVE_IEEEFP_H
56443 #include <ieeefp.h>
56444 #endif
56445
56446 int
56447 main ()
56448 {
56449 _isinfl(0);
56450 ;
56451 return 0;
56452 }
56453 _ACEOF
56454 if ac_fn_cxx_try_compile "$LINENO"; then :
56455 glibcxx_cv_func__isinfl_use=yes
56456 else
56457 glibcxx_cv_func__isinfl_use=no
56458 fi
56459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56460 ac_ext=c
56461 ac_cpp='$CPP $CPPFLAGS'
56462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56465
56466
56467 fi
56468
56469 fi
56470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56471 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56472
56473 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56474 for ac_func in _isinfl
56475 do :
56476 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56477 if test "x$ac_cv_func__isinfl" = x""yes; then :
56478 cat >>confdefs.h <<_ACEOF
56479 #define HAVE__ISINFL 1
56480 _ACEOF
56481
56482 fi
56483 done
56484
56485 fi
56486 fi
56487
56488
56489
56490
56491
56492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56493 $as_echo_n "checking for atan2l declaration... " >&6; }
56494 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56495 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56496 $as_echo_n "(cached) " >&6
56497 else
56498
56499
56500 ac_ext=cpp
56501 ac_cpp='$CXXCPP $CPPFLAGS'
56502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56505
56506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56507 /* end confdefs.h. */
56508 #include <math.h>
56509 int
56510 main ()
56511 {
56512 atan2l(0, 0);
56513 ;
56514 return 0;
56515 }
56516 _ACEOF
56517 if ac_fn_cxx_try_compile "$LINENO"; then :
56518 glibcxx_cv_func_atan2l_use=yes
56519 else
56520 glibcxx_cv_func_atan2l_use=no
56521 fi
56522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56523 ac_ext=c
56524 ac_cpp='$CPP $CPPFLAGS'
56525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56528
56529
56530 fi
56531
56532 fi
56533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56534 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56535
56536 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56537 for ac_func in atan2l
56538 do :
56539 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56540 if test "x$ac_cv_func_atan2l" = x""yes; then :
56541 cat >>confdefs.h <<_ACEOF
56542 #define HAVE_ATAN2L 1
56543 _ACEOF
56544
56545 fi
56546 done
56547
56548 else
56549
56550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56551 $as_echo_n "checking for _atan2l declaration... " >&6; }
56552 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56553 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56554 $as_echo_n "(cached) " >&6
56555 else
56556
56557
56558 ac_ext=cpp
56559 ac_cpp='$CXXCPP $CPPFLAGS'
56560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56563
56564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56565 /* end confdefs.h. */
56566 #include <math.h>
56567 int
56568 main ()
56569 {
56570 _atan2l(0, 0);
56571 ;
56572 return 0;
56573 }
56574 _ACEOF
56575 if ac_fn_cxx_try_compile "$LINENO"; then :
56576 glibcxx_cv_func__atan2l_use=yes
56577 else
56578 glibcxx_cv_func__atan2l_use=no
56579 fi
56580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56581 ac_ext=c
56582 ac_cpp='$CPP $CPPFLAGS'
56583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56586
56587
56588 fi
56589
56590 fi
56591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56592 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56593
56594 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56595 for ac_func in _atan2l
56596 do :
56597 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56598 if test "x$ac_cv_func__atan2l" = x""yes; then :
56599 cat >>confdefs.h <<_ACEOF
56600 #define HAVE__ATAN2L 1
56601 _ACEOF
56602
56603 fi
56604 done
56605
56606 fi
56607 fi
56608
56609
56610
56611
56612
56613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56614 $as_echo_n "checking for expl declaration... " >&6; }
56615 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56616 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56617 $as_echo_n "(cached) " >&6
56618 else
56619
56620
56621 ac_ext=cpp
56622 ac_cpp='$CXXCPP $CPPFLAGS'
56623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56626
56627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56628 /* end confdefs.h. */
56629 #include <math.h>
56630 #ifdef HAVE_IEEEFP_H
56631 #include <ieeefp.h>
56632 #endif
56633
56634 int
56635 main ()
56636 {
56637 expl(0);
56638 ;
56639 return 0;
56640 }
56641 _ACEOF
56642 if ac_fn_cxx_try_compile "$LINENO"; then :
56643 glibcxx_cv_func_expl_use=yes
56644 else
56645 glibcxx_cv_func_expl_use=no
56646 fi
56647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56648 ac_ext=c
56649 ac_cpp='$CPP $CPPFLAGS'
56650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56653
56654
56655 fi
56656
56657 fi
56658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56659 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56660
56661 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56662 for ac_func in expl
56663 do :
56664 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56665 if test "x$ac_cv_func_expl" = x""yes; then :
56666 cat >>confdefs.h <<_ACEOF
56667 #define HAVE_EXPL 1
56668 _ACEOF
56669
56670 fi
56671 done
56672
56673 else
56674
56675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56676 $as_echo_n "checking for _expl declaration... " >&6; }
56677 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56678 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56679 $as_echo_n "(cached) " >&6
56680 else
56681
56682
56683 ac_ext=cpp
56684 ac_cpp='$CXXCPP $CPPFLAGS'
56685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56688
56689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56690 /* end confdefs.h. */
56691 #include <math.h>
56692 #ifdef HAVE_IEEEFP_H
56693 #include <ieeefp.h>
56694 #endif
56695
56696 int
56697 main ()
56698 {
56699 _expl(0);
56700 ;
56701 return 0;
56702 }
56703 _ACEOF
56704 if ac_fn_cxx_try_compile "$LINENO"; then :
56705 glibcxx_cv_func__expl_use=yes
56706 else
56707 glibcxx_cv_func__expl_use=no
56708 fi
56709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56710 ac_ext=c
56711 ac_cpp='$CPP $CPPFLAGS'
56712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56715
56716
56717 fi
56718
56719 fi
56720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56721 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56722
56723 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56724 for ac_func in _expl
56725 do :
56726 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56727 if test "x$ac_cv_func__expl" = x""yes; then :
56728 cat >>confdefs.h <<_ACEOF
56729 #define HAVE__EXPL 1
56730 _ACEOF
56731
56732 fi
56733 done
56734
56735 fi
56736 fi
56737
56738
56739
56740
56741
56742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56743 $as_echo_n "checking for fabsl declaration... " >&6; }
56744 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56745 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56746 $as_echo_n "(cached) " >&6
56747 else
56748
56749
56750 ac_ext=cpp
56751 ac_cpp='$CXXCPP $CPPFLAGS'
56752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56755
56756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56757 /* end confdefs.h. */
56758 #include <math.h>
56759 #ifdef HAVE_IEEEFP_H
56760 #include <ieeefp.h>
56761 #endif
56762
56763 int
56764 main ()
56765 {
56766 fabsl(0);
56767 ;
56768 return 0;
56769 }
56770 _ACEOF
56771 if ac_fn_cxx_try_compile "$LINENO"; then :
56772 glibcxx_cv_func_fabsl_use=yes
56773 else
56774 glibcxx_cv_func_fabsl_use=no
56775 fi
56776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56777 ac_ext=c
56778 ac_cpp='$CPP $CPPFLAGS'
56779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56782
56783
56784 fi
56785
56786 fi
56787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56788 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56789
56790 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56791 for ac_func in fabsl
56792 do :
56793 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56794 if test "x$ac_cv_func_fabsl" = x""yes; then :
56795 cat >>confdefs.h <<_ACEOF
56796 #define HAVE_FABSL 1
56797 _ACEOF
56798
56799 fi
56800 done
56801
56802 else
56803
56804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56805 $as_echo_n "checking for _fabsl declaration... " >&6; }
56806 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56807 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56808 $as_echo_n "(cached) " >&6
56809 else
56810
56811
56812 ac_ext=cpp
56813 ac_cpp='$CXXCPP $CPPFLAGS'
56814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56817
56818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56819 /* end confdefs.h. */
56820 #include <math.h>
56821 #ifdef HAVE_IEEEFP_H
56822 #include <ieeefp.h>
56823 #endif
56824
56825 int
56826 main ()
56827 {
56828 _fabsl(0);
56829 ;
56830 return 0;
56831 }
56832 _ACEOF
56833 if ac_fn_cxx_try_compile "$LINENO"; then :
56834 glibcxx_cv_func__fabsl_use=yes
56835 else
56836 glibcxx_cv_func__fabsl_use=no
56837 fi
56838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56839 ac_ext=c
56840 ac_cpp='$CPP $CPPFLAGS'
56841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56844
56845
56846 fi
56847
56848 fi
56849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56850 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56851
56852 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56853 for ac_func in _fabsl
56854 do :
56855 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56856 if test "x$ac_cv_func__fabsl" = x""yes; then :
56857 cat >>confdefs.h <<_ACEOF
56858 #define HAVE__FABSL 1
56859 _ACEOF
56860
56861 fi
56862 done
56863
56864 fi
56865 fi
56866
56867
56868
56869
56870
56871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56872 $as_echo_n "checking for fmodl declaration... " >&6; }
56873 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56874 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56875 $as_echo_n "(cached) " >&6
56876 else
56877
56878
56879 ac_ext=cpp
56880 ac_cpp='$CXXCPP $CPPFLAGS'
56881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56884
56885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56886 /* end confdefs.h. */
56887 #include <math.h>
56888 int
56889 main ()
56890 {
56891 fmodl(0, 0);
56892 ;
56893 return 0;
56894 }
56895 _ACEOF
56896 if ac_fn_cxx_try_compile "$LINENO"; then :
56897 glibcxx_cv_func_fmodl_use=yes
56898 else
56899 glibcxx_cv_func_fmodl_use=no
56900 fi
56901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56902 ac_ext=c
56903 ac_cpp='$CPP $CPPFLAGS'
56904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56907
56908
56909 fi
56910
56911 fi
56912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56913 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56914
56915 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56916 for ac_func in fmodl
56917 do :
56918 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56919 if test "x$ac_cv_func_fmodl" = x""yes; then :
56920 cat >>confdefs.h <<_ACEOF
56921 #define HAVE_FMODL 1
56922 _ACEOF
56923
56924 fi
56925 done
56926
56927 else
56928
56929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56930 $as_echo_n "checking for _fmodl declaration... " >&6; }
56931 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56932 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56933 $as_echo_n "(cached) " >&6
56934 else
56935
56936
56937 ac_ext=cpp
56938 ac_cpp='$CXXCPP $CPPFLAGS'
56939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56942
56943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56944 /* end confdefs.h. */
56945 #include <math.h>
56946 int
56947 main ()
56948 {
56949 _fmodl(0, 0);
56950 ;
56951 return 0;
56952 }
56953 _ACEOF
56954 if ac_fn_cxx_try_compile "$LINENO"; then :
56955 glibcxx_cv_func__fmodl_use=yes
56956 else
56957 glibcxx_cv_func__fmodl_use=no
56958 fi
56959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56960 ac_ext=c
56961 ac_cpp='$CPP $CPPFLAGS'
56962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56965
56966
56967 fi
56968
56969 fi
56970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56971 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56972
56973 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56974 for ac_func in _fmodl
56975 do :
56976 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56977 if test "x$ac_cv_func__fmodl" = x""yes; then :
56978 cat >>confdefs.h <<_ACEOF
56979 #define HAVE__FMODL 1
56980 _ACEOF
56981
56982 fi
56983 done
56984
56985 fi
56986 fi
56987
56988
56989
56990
56991
56992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56993 $as_echo_n "checking for frexpl declaration... " >&6; }
56994 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56995 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56996 $as_echo_n "(cached) " >&6
56997 else
56998
56999
57000 ac_ext=cpp
57001 ac_cpp='$CXXCPP $CPPFLAGS'
57002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57005
57006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57007 /* end confdefs.h. */
57008 #include <math.h>
57009 int
57010 main ()
57011 {
57012 frexpl(0, 0);
57013 ;
57014 return 0;
57015 }
57016 _ACEOF
57017 if ac_fn_cxx_try_compile "$LINENO"; then :
57018 glibcxx_cv_func_frexpl_use=yes
57019 else
57020 glibcxx_cv_func_frexpl_use=no
57021 fi
57022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57023 ac_ext=c
57024 ac_cpp='$CPP $CPPFLAGS'
57025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57028
57029
57030 fi
57031
57032 fi
57033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57034 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57035
57036 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57037 for ac_func in frexpl
57038 do :
57039 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57040 if test "x$ac_cv_func_frexpl" = x""yes; then :
57041 cat >>confdefs.h <<_ACEOF
57042 #define HAVE_FREXPL 1
57043 _ACEOF
57044
57045 fi
57046 done
57047
57048 else
57049
57050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57051 $as_echo_n "checking for _frexpl declaration... " >&6; }
57052 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57053 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57054 $as_echo_n "(cached) " >&6
57055 else
57056
57057
57058 ac_ext=cpp
57059 ac_cpp='$CXXCPP $CPPFLAGS'
57060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57063
57064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57065 /* end confdefs.h. */
57066 #include <math.h>
57067 int
57068 main ()
57069 {
57070 _frexpl(0, 0);
57071 ;
57072 return 0;
57073 }
57074 _ACEOF
57075 if ac_fn_cxx_try_compile "$LINENO"; then :
57076 glibcxx_cv_func__frexpl_use=yes
57077 else
57078 glibcxx_cv_func__frexpl_use=no
57079 fi
57080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57081 ac_ext=c
57082 ac_cpp='$CPP $CPPFLAGS'
57083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57086
57087
57088 fi
57089
57090 fi
57091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57092 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57093
57094 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57095 for ac_func in _frexpl
57096 do :
57097 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57098 if test "x$ac_cv_func__frexpl" = x""yes; then :
57099 cat >>confdefs.h <<_ACEOF
57100 #define HAVE__FREXPL 1
57101 _ACEOF
57102
57103 fi
57104 done
57105
57106 fi
57107 fi
57108
57109
57110
57111
57112
57113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57114 $as_echo_n "checking for hypotl declaration... " >&6; }
57115 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57116 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57117 $as_echo_n "(cached) " >&6
57118 else
57119
57120
57121 ac_ext=cpp
57122 ac_cpp='$CXXCPP $CPPFLAGS'
57123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57126
57127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57128 /* end confdefs.h. */
57129 #include <math.h>
57130 int
57131 main ()
57132 {
57133 hypotl(0, 0);
57134 ;
57135 return 0;
57136 }
57137 _ACEOF
57138 if ac_fn_cxx_try_compile "$LINENO"; then :
57139 glibcxx_cv_func_hypotl_use=yes
57140 else
57141 glibcxx_cv_func_hypotl_use=no
57142 fi
57143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57144 ac_ext=c
57145 ac_cpp='$CPP $CPPFLAGS'
57146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57149
57150
57151 fi
57152
57153 fi
57154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57155 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57156
57157 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57158 for ac_func in hypotl
57159 do :
57160 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57161 if test "x$ac_cv_func_hypotl" = x""yes; then :
57162 cat >>confdefs.h <<_ACEOF
57163 #define HAVE_HYPOTL 1
57164 _ACEOF
57165
57166 fi
57167 done
57168
57169 else
57170
57171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57172 $as_echo_n "checking for _hypotl declaration... " >&6; }
57173 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57174 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57175 $as_echo_n "(cached) " >&6
57176 else
57177
57178
57179 ac_ext=cpp
57180 ac_cpp='$CXXCPP $CPPFLAGS'
57181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57184
57185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57186 /* end confdefs.h. */
57187 #include <math.h>
57188 int
57189 main ()
57190 {
57191 _hypotl(0, 0);
57192 ;
57193 return 0;
57194 }
57195 _ACEOF
57196 if ac_fn_cxx_try_compile "$LINENO"; then :
57197 glibcxx_cv_func__hypotl_use=yes
57198 else
57199 glibcxx_cv_func__hypotl_use=no
57200 fi
57201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57202 ac_ext=c
57203 ac_cpp='$CPP $CPPFLAGS'
57204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57207
57208
57209 fi
57210
57211 fi
57212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57213 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57214
57215 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57216 for ac_func in _hypotl
57217 do :
57218 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57219 if test "x$ac_cv_func__hypotl" = x""yes; then :
57220 cat >>confdefs.h <<_ACEOF
57221 #define HAVE__HYPOTL 1
57222 _ACEOF
57223
57224 fi
57225 done
57226
57227 fi
57228 fi
57229
57230
57231
57232
57233
57234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57235 $as_echo_n "checking for ldexpl declaration... " >&6; }
57236 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57237 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57238 $as_echo_n "(cached) " >&6
57239 else
57240
57241
57242 ac_ext=cpp
57243 ac_cpp='$CXXCPP $CPPFLAGS'
57244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57247
57248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57249 /* end confdefs.h. */
57250 #include <math.h>
57251 int
57252 main ()
57253 {
57254 ldexpl(0, 0);
57255 ;
57256 return 0;
57257 }
57258 _ACEOF
57259 if ac_fn_cxx_try_compile "$LINENO"; then :
57260 glibcxx_cv_func_ldexpl_use=yes
57261 else
57262 glibcxx_cv_func_ldexpl_use=no
57263 fi
57264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57265 ac_ext=c
57266 ac_cpp='$CPP $CPPFLAGS'
57267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57270
57271
57272 fi
57273
57274 fi
57275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57276 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57277
57278 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57279 for ac_func in ldexpl
57280 do :
57281 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57282 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57283 cat >>confdefs.h <<_ACEOF
57284 #define HAVE_LDEXPL 1
57285 _ACEOF
57286
57287 fi
57288 done
57289
57290 else
57291
57292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57293 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57294 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57295 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57296 $as_echo_n "(cached) " >&6
57297 else
57298
57299
57300 ac_ext=cpp
57301 ac_cpp='$CXXCPP $CPPFLAGS'
57302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57305
57306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57307 /* end confdefs.h. */
57308 #include <math.h>
57309 int
57310 main ()
57311 {
57312 _ldexpl(0, 0);
57313 ;
57314 return 0;
57315 }
57316 _ACEOF
57317 if ac_fn_cxx_try_compile "$LINENO"; then :
57318 glibcxx_cv_func__ldexpl_use=yes
57319 else
57320 glibcxx_cv_func__ldexpl_use=no
57321 fi
57322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57323 ac_ext=c
57324 ac_cpp='$CPP $CPPFLAGS'
57325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57328
57329
57330 fi
57331
57332 fi
57333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57334 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57335
57336 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57337 for ac_func in _ldexpl
57338 do :
57339 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57340 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57341 cat >>confdefs.h <<_ACEOF
57342 #define HAVE__LDEXPL 1
57343 _ACEOF
57344
57345 fi
57346 done
57347
57348 fi
57349 fi
57350
57351
57352
57353
57354
57355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57356 $as_echo_n "checking for logl declaration... " >&6; }
57357 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57358 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57359 $as_echo_n "(cached) " >&6
57360 else
57361
57362
57363 ac_ext=cpp
57364 ac_cpp='$CXXCPP $CPPFLAGS'
57365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57368
57369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57370 /* end confdefs.h. */
57371 #include <math.h>
57372 #ifdef HAVE_IEEEFP_H
57373 #include <ieeefp.h>
57374 #endif
57375
57376 int
57377 main ()
57378 {
57379 logl(0);
57380 ;
57381 return 0;
57382 }
57383 _ACEOF
57384 if ac_fn_cxx_try_compile "$LINENO"; then :
57385 glibcxx_cv_func_logl_use=yes
57386 else
57387 glibcxx_cv_func_logl_use=no
57388 fi
57389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57390 ac_ext=c
57391 ac_cpp='$CPP $CPPFLAGS'
57392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57395
57396
57397 fi
57398
57399 fi
57400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57401 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57402
57403 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57404 for ac_func in logl
57405 do :
57406 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57407 if test "x$ac_cv_func_logl" = x""yes; then :
57408 cat >>confdefs.h <<_ACEOF
57409 #define HAVE_LOGL 1
57410 _ACEOF
57411
57412 fi
57413 done
57414
57415 else
57416
57417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57418 $as_echo_n "checking for _logl declaration... " >&6; }
57419 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57420 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57421 $as_echo_n "(cached) " >&6
57422 else
57423
57424
57425 ac_ext=cpp
57426 ac_cpp='$CXXCPP $CPPFLAGS'
57427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57430
57431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57432 /* end confdefs.h. */
57433 #include <math.h>
57434 #ifdef HAVE_IEEEFP_H
57435 #include <ieeefp.h>
57436 #endif
57437
57438 int
57439 main ()
57440 {
57441 _logl(0);
57442 ;
57443 return 0;
57444 }
57445 _ACEOF
57446 if ac_fn_cxx_try_compile "$LINENO"; then :
57447 glibcxx_cv_func__logl_use=yes
57448 else
57449 glibcxx_cv_func__logl_use=no
57450 fi
57451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57452 ac_ext=c
57453 ac_cpp='$CPP $CPPFLAGS'
57454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57457
57458
57459 fi
57460
57461 fi
57462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57463 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57464
57465 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57466 for ac_func in _logl
57467 do :
57468 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57469 if test "x$ac_cv_func__logl" = x""yes; then :
57470 cat >>confdefs.h <<_ACEOF
57471 #define HAVE__LOGL 1
57472 _ACEOF
57473
57474 fi
57475 done
57476
57477 fi
57478 fi
57479
57480
57481
57482
57483
57484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57485 $as_echo_n "checking for log10l declaration... " >&6; }
57486 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57487 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57488 $as_echo_n "(cached) " >&6
57489 else
57490
57491
57492 ac_ext=cpp
57493 ac_cpp='$CXXCPP $CPPFLAGS'
57494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57497
57498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57499 /* end confdefs.h. */
57500 #include <math.h>
57501 #ifdef HAVE_IEEEFP_H
57502 #include <ieeefp.h>
57503 #endif
57504
57505 int
57506 main ()
57507 {
57508 log10l(0);
57509 ;
57510 return 0;
57511 }
57512 _ACEOF
57513 if ac_fn_cxx_try_compile "$LINENO"; then :
57514 glibcxx_cv_func_log10l_use=yes
57515 else
57516 glibcxx_cv_func_log10l_use=no
57517 fi
57518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57519 ac_ext=c
57520 ac_cpp='$CPP $CPPFLAGS'
57521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57524
57525
57526 fi
57527
57528 fi
57529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57530 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57531
57532 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57533 for ac_func in log10l
57534 do :
57535 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57536 if test "x$ac_cv_func_log10l" = x""yes; then :
57537 cat >>confdefs.h <<_ACEOF
57538 #define HAVE_LOG10L 1
57539 _ACEOF
57540
57541 fi
57542 done
57543
57544 else
57545
57546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57547 $as_echo_n "checking for _log10l declaration... " >&6; }
57548 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57549 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57550 $as_echo_n "(cached) " >&6
57551 else
57552
57553
57554 ac_ext=cpp
57555 ac_cpp='$CXXCPP $CPPFLAGS'
57556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57559
57560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57561 /* end confdefs.h. */
57562 #include <math.h>
57563 #ifdef HAVE_IEEEFP_H
57564 #include <ieeefp.h>
57565 #endif
57566
57567 int
57568 main ()
57569 {
57570 _log10l(0);
57571 ;
57572 return 0;
57573 }
57574 _ACEOF
57575 if ac_fn_cxx_try_compile "$LINENO"; then :
57576 glibcxx_cv_func__log10l_use=yes
57577 else
57578 glibcxx_cv_func__log10l_use=no
57579 fi
57580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57581 ac_ext=c
57582 ac_cpp='$CPP $CPPFLAGS'
57583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57586
57587
57588 fi
57589
57590 fi
57591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57592 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57593
57594 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57595 for ac_func in _log10l
57596 do :
57597 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57598 if test "x$ac_cv_func__log10l" = x""yes; then :
57599 cat >>confdefs.h <<_ACEOF
57600 #define HAVE__LOG10L 1
57601 _ACEOF
57602
57603 fi
57604 done
57605
57606 fi
57607 fi
57608
57609
57610
57611
57612
57613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57614 $as_echo_n "checking for modfl declaration... " >&6; }
57615 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57616 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57617 $as_echo_n "(cached) " >&6
57618 else
57619
57620
57621 ac_ext=cpp
57622 ac_cpp='$CXXCPP $CPPFLAGS'
57623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57626
57627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57628 /* end confdefs.h. */
57629 #include <math.h>
57630 int
57631 main ()
57632 {
57633 modfl(0, 0);
57634 ;
57635 return 0;
57636 }
57637 _ACEOF
57638 if ac_fn_cxx_try_compile "$LINENO"; then :
57639 glibcxx_cv_func_modfl_use=yes
57640 else
57641 glibcxx_cv_func_modfl_use=no
57642 fi
57643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57644 ac_ext=c
57645 ac_cpp='$CPP $CPPFLAGS'
57646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57649
57650
57651 fi
57652
57653 fi
57654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57655 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57656
57657 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57658 for ac_func in modfl
57659 do :
57660 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57661 if test "x$ac_cv_func_modfl" = x""yes; then :
57662 cat >>confdefs.h <<_ACEOF
57663 #define HAVE_MODFL 1
57664 _ACEOF
57665
57666 fi
57667 done
57668
57669 else
57670
57671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57672 $as_echo_n "checking for _modfl declaration... " >&6; }
57673 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57674 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57675 $as_echo_n "(cached) " >&6
57676 else
57677
57678
57679 ac_ext=cpp
57680 ac_cpp='$CXXCPP $CPPFLAGS'
57681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57684
57685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57686 /* end confdefs.h. */
57687 #include <math.h>
57688 int
57689 main ()
57690 {
57691 _modfl(0, 0);
57692 ;
57693 return 0;
57694 }
57695 _ACEOF
57696 if ac_fn_cxx_try_compile "$LINENO"; then :
57697 glibcxx_cv_func__modfl_use=yes
57698 else
57699 glibcxx_cv_func__modfl_use=no
57700 fi
57701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57702 ac_ext=c
57703 ac_cpp='$CPP $CPPFLAGS'
57704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57707
57708
57709 fi
57710
57711 fi
57712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57713 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57714
57715 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57716 for ac_func in _modfl
57717 do :
57718 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57719 if test "x$ac_cv_func__modfl" = x""yes; then :
57720 cat >>confdefs.h <<_ACEOF
57721 #define HAVE__MODFL 1
57722 _ACEOF
57723
57724 fi
57725 done
57726
57727 fi
57728 fi
57729
57730
57731
57732
57733
57734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57735 $as_echo_n "checking for powl declaration... " >&6; }
57736 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57737 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57738 $as_echo_n "(cached) " >&6
57739 else
57740
57741
57742 ac_ext=cpp
57743 ac_cpp='$CXXCPP $CPPFLAGS'
57744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57747
57748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57749 /* end confdefs.h. */
57750 #include <math.h>
57751 int
57752 main ()
57753 {
57754 powl(0, 0);
57755 ;
57756 return 0;
57757 }
57758 _ACEOF
57759 if ac_fn_cxx_try_compile "$LINENO"; then :
57760 glibcxx_cv_func_powl_use=yes
57761 else
57762 glibcxx_cv_func_powl_use=no
57763 fi
57764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57765 ac_ext=c
57766 ac_cpp='$CPP $CPPFLAGS'
57767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57770
57771
57772 fi
57773
57774 fi
57775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57776 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57777
57778 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57779 for ac_func in powl
57780 do :
57781 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57782 if test "x$ac_cv_func_powl" = x""yes; then :
57783 cat >>confdefs.h <<_ACEOF
57784 #define HAVE_POWL 1
57785 _ACEOF
57786
57787 fi
57788 done
57789
57790 else
57791
57792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57793 $as_echo_n "checking for _powl declaration... " >&6; }
57794 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57795 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57796 $as_echo_n "(cached) " >&6
57797 else
57798
57799
57800 ac_ext=cpp
57801 ac_cpp='$CXXCPP $CPPFLAGS'
57802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57805
57806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57807 /* end confdefs.h. */
57808 #include <math.h>
57809 int
57810 main ()
57811 {
57812 _powl(0, 0);
57813 ;
57814 return 0;
57815 }
57816 _ACEOF
57817 if ac_fn_cxx_try_compile "$LINENO"; then :
57818 glibcxx_cv_func__powl_use=yes
57819 else
57820 glibcxx_cv_func__powl_use=no
57821 fi
57822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57823 ac_ext=c
57824 ac_cpp='$CPP $CPPFLAGS'
57825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57828
57829
57830 fi
57831
57832 fi
57833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57834 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57835
57836 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57837 for ac_func in _powl
57838 do :
57839 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57840 if test "x$ac_cv_func__powl" = x""yes; then :
57841 cat >>confdefs.h <<_ACEOF
57842 #define HAVE__POWL 1
57843 _ACEOF
57844
57845 fi
57846 done
57847
57848 fi
57849 fi
57850
57851
57852
57853
57854
57855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57856 $as_echo_n "checking for sqrtl declaration... " >&6; }
57857 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57858 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57859 $as_echo_n "(cached) " >&6
57860 else
57861
57862
57863 ac_ext=cpp
57864 ac_cpp='$CXXCPP $CPPFLAGS'
57865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57868
57869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57870 /* end confdefs.h. */
57871 #include <math.h>
57872 #ifdef HAVE_IEEEFP_H
57873 #include <ieeefp.h>
57874 #endif
57875
57876 int
57877 main ()
57878 {
57879 sqrtl(0);
57880 ;
57881 return 0;
57882 }
57883 _ACEOF
57884 if ac_fn_cxx_try_compile "$LINENO"; then :
57885 glibcxx_cv_func_sqrtl_use=yes
57886 else
57887 glibcxx_cv_func_sqrtl_use=no
57888 fi
57889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57890 ac_ext=c
57891 ac_cpp='$CPP $CPPFLAGS'
57892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57895
57896
57897 fi
57898
57899 fi
57900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57901 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57902
57903 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57904 for ac_func in sqrtl
57905 do :
57906 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57907 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57908 cat >>confdefs.h <<_ACEOF
57909 #define HAVE_SQRTL 1
57910 _ACEOF
57911
57912 fi
57913 done
57914
57915 else
57916
57917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57918 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57919 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57920 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57921 $as_echo_n "(cached) " >&6
57922 else
57923
57924
57925 ac_ext=cpp
57926 ac_cpp='$CXXCPP $CPPFLAGS'
57927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57930
57931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57932 /* end confdefs.h. */
57933 #include <math.h>
57934 #ifdef HAVE_IEEEFP_H
57935 #include <ieeefp.h>
57936 #endif
57937
57938 int
57939 main ()
57940 {
57941 _sqrtl(0);
57942 ;
57943 return 0;
57944 }
57945 _ACEOF
57946 if ac_fn_cxx_try_compile "$LINENO"; then :
57947 glibcxx_cv_func__sqrtl_use=yes
57948 else
57949 glibcxx_cv_func__sqrtl_use=no
57950 fi
57951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57952 ac_ext=c
57953 ac_cpp='$CPP $CPPFLAGS'
57954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57957
57958
57959 fi
57960
57961 fi
57962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57963 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57964
57965 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57966 for ac_func in _sqrtl
57967 do :
57968 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57969 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57970 cat >>confdefs.h <<_ACEOF
57971 #define HAVE__SQRTL 1
57972 _ACEOF
57973
57974 fi
57975 done
57976
57977 fi
57978 fi
57979
57980
57981
57982
57983
57984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57985 $as_echo_n "checking for sincosl declaration... " >&6; }
57986 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57987 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57988 $as_echo_n "(cached) " >&6
57989 else
57990
57991
57992 ac_ext=cpp
57993 ac_cpp='$CXXCPP $CPPFLAGS'
57994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57997
57998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57999 /* end confdefs.h. */
58000 #include <math.h>
58001 int
58002 main ()
58003 {
58004 sincosl(0, 0, 0);
58005 ;
58006 return 0;
58007 }
58008 _ACEOF
58009 if ac_fn_cxx_try_compile "$LINENO"; then :
58010 glibcxx_cv_func_sincosl_use=yes
58011 else
58012 glibcxx_cv_func_sincosl_use=no
58013 fi
58014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58015 ac_ext=c
58016 ac_cpp='$CPP $CPPFLAGS'
58017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58020
58021
58022 fi
58023
58024 fi
58025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58026 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58027
58028 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58029 for ac_func in sincosl
58030 do :
58031 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58032 if test "x$ac_cv_func_sincosl" = x""yes; then :
58033 cat >>confdefs.h <<_ACEOF
58034 #define HAVE_SINCOSL 1
58035 _ACEOF
58036
58037 fi
58038 done
58039
58040 else
58041
58042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58043 $as_echo_n "checking for _sincosl declaration... " >&6; }
58044 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58045 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58046 $as_echo_n "(cached) " >&6
58047 else
58048
58049
58050 ac_ext=cpp
58051 ac_cpp='$CXXCPP $CPPFLAGS'
58052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58055
58056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58057 /* end confdefs.h. */
58058 #include <math.h>
58059 int
58060 main ()
58061 {
58062 _sincosl(0, 0, 0);
58063 ;
58064 return 0;
58065 }
58066 _ACEOF
58067 if ac_fn_cxx_try_compile "$LINENO"; then :
58068 glibcxx_cv_func__sincosl_use=yes
58069 else
58070 glibcxx_cv_func__sincosl_use=no
58071 fi
58072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58073 ac_ext=c
58074 ac_cpp='$CPP $CPPFLAGS'
58075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58078
58079
58080 fi
58081
58082 fi
58083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58084 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58085
58086 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58087 for ac_func in _sincosl
58088 do :
58089 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58090 if test "x$ac_cv_func__sincosl" = x""yes; then :
58091 cat >>confdefs.h <<_ACEOF
58092 #define HAVE__SINCOSL 1
58093 _ACEOF
58094
58095 fi
58096 done
58097
58098 fi
58099 fi
58100
58101
58102
58103
58104
58105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58106 $as_echo_n "checking for finitel declaration... " >&6; }
58107 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58108 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58109 $as_echo_n "(cached) " >&6
58110 else
58111
58112
58113 ac_ext=cpp
58114 ac_cpp='$CXXCPP $CPPFLAGS'
58115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58118
58119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58120 /* end confdefs.h. */
58121 #include <math.h>
58122 #ifdef HAVE_IEEEFP_H
58123 #include <ieeefp.h>
58124 #endif
58125
58126 int
58127 main ()
58128 {
58129 finitel(0);
58130 ;
58131 return 0;
58132 }
58133 _ACEOF
58134 if ac_fn_cxx_try_compile "$LINENO"; then :
58135 glibcxx_cv_func_finitel_use=yes
58136 else
58137 glibcxx_cv_func_finitel_use=no
58138 fi
58139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58140 ac_ext=c
58141 ac_cpp='$CPP $CPPFLAGS'
58142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58145
58146
58147 fi
58148
58149 fi
58150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58151 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58152
58153 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58154 for ac_func in finitel
58155 do :
58156 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58157 if test "x$ac_cv_func_finitel" = x""yes; then :
58158 cat >>confdefs.h <<_ACEOF
58159 #define HAVE_FINITEL 1
58160 _ACEOF
58161
58162 fi
58163 done
58164
58165 else
58166
58167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58168 $as_echo_n "checking for _finitel declaration... " >&6; }
58169 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58170 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58171 $as_echo_n "(cached) " >&6
58172 else
58173
58174
58175 ac_ext=cpp
58176 ac_cpp='$CXXCPP $CPPFLAGS'
58177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58180
58181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58182 /* end confdefs.h. */
58183 #include <math.h>
58184 #ifdef HAVE_IEEEFP_H
58185 #include <ieeefp.h>
58186 #endif
58187
58188 int
58189 main ()
58190 {
58191 _finitel(0);
58192 ;
58193 return 0;
58194 }
58195 _ACEOF
58196 if ac_fn_cxx_try_compile "$LINENO"; then :
58197 glibcxx_cv_func__finitel_use=yes
58198 else
58199 glibcxx_cv_func__finitel_use=no
58200 fi
58201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58202 ac_ext=c
58203 ac_cpp='$CPP $CPPFLAGS'
58204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58207
58208
58209 fi
58210
58211 fi
58212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58213 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58214
58215 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58216 for ac_func in _finitel
58217 do :
58218 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58219 if test "x$ac_cv_func__finitel" = x""yes; then :
58220 cat >>confdefs.h <<_ACEOF
58221 #define HAVE__FINITEL 1
58222 _ACEOF
58223
58224 fi
58225 done
58226
58227 fi
58228 fi
58229
58230
58231
58232
58233 LIBS="$ac_save_LIBS"
58234 CXXFLAGS="$ac_save_CXXFLAGS"
58235
58236
58237 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58238 ac_save_CXXFLAGS="$CXXFLAGS"
58239 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58240
58241
58242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58243 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58244 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58245 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58246 $as_echo_n "(cached) " >&6
58247 else
58248
58249
58250 ac_ext=cpp
58251 ac_cpp='$CXXCPP $CPPFLAGS'
58252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58255
58256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58257 /* end confdefs.h. */
58258 #include <stdlib.h>
58259 int
58260 main ()
58261 {
58262 at_quick_exit(0);
58263 ;
58264 return 0;
58265 }
58266 _ACEOF
58267 if ac_fn_cxx_try_compile "$LINENO"; then :
58268 glibcxx_cv_func_at_quick_exit_use=yes
58269 else
58270 glibcxx_cv_func_at_quick_exit_use=no
58271 fi
58272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58273 ac_ext=c
58274 ac_cpp='$CPP $CPPFLAGS'
58275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58278
58279
58280 fi
58281
58282 fi
58283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58284 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58285 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58286 for ac_func in at_quick_exit
58287 do :
58288 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58289 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58290 cat >>confdefs.h <<_ACEOF
58291 #define HAVE_AT_QUICK_EXIT 1
58292 _ACEOF
58293
58294 fi
58295 done
58296
58297 fi
58298
58299
58300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58301 $as_echo_n "checking for quick_exit declaration... " >&6; }
58302 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58303 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58304 $as_echo_n "(cached) " >&6
58305 else
58306
58307
58308 ac_ext=cpp
58309 ac_cpp='$CXXCPP $CPPFLAGS'
58310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58313
58314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58315 /* end confdefs.h. */
58316 #include <stdlib.h>
58317 int
58318 main ()
58319 {
58320 quick_exit(0);
58321 ;
58322 return 0;
58323 }
58324 _ACEOF
58325 if ac_fn_cxx_try_compile "$LINENO"; then :
58326 glibcxx_cv_func_quick_exit_use=yes
58327 else
58328 glibcxx_cv_func_quick_exit_use=no
58329 fi
58330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58331 ac_ext=c
58332 ac_cpp='$CPP $CPPFLAGS'
58333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58336
58337
58338 fi
58339
58340 fi
58341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58342 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58343 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58344 for ac_func in quick_exit
58345 do :
58346 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58347 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58348 cat >>confdefs.h <<_ACEOF
58349 #define HAVE_QUICK_EXIT 1
58350 _ACEOF
58351
58352 fi
58353 done
58354
58355 fi
58356
58357
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58359 $as_echo_n "checking for strtold declaration... " >&6; }
58360 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58361 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58362 $as_echo_n "(cached) " >&6
58363 else
58364
58365
58366 ac_ext=cpp
58367 ac_cpp='$CXXCPP $CPPFLAGS'
58368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58371
58372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58373 /* end confdefs.h. */
58374 #include <stdlib.h>
58375 int
58376 main ()
58377 {
58378 strtold(0, 0);
58379 ;
58380 return 0;
58381 }
58382 _ACEOF
58383 if ac_fn_cxx_try_compile "$LINENO"; then :
58384 glibcxx_cv_func_strtold_use=yes
58385 else
58386 glibcxx_cv_func_strtold_use=no
58387 fi
58388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58389 ac_ext=c
58390 ac_cpp='$CPP $CPPFLAGS'
58391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58394
58395
58396 fi
58397
58398 fi
58399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58400 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58401 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58402 for ac_func in strtold
58403 do :
58404 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58405 if test "x$ac_cv_func_strtold" = x""yes; then :
58406 cat >>confdefs.h <<_ACEOF
58407 #define HAVE_STRTOLD 1
58408 _ACEOF
58409
58410 fi
58411 done
58412
58413 fi
58414
58415
58416
58417
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58419 $as_echo_n "checking for strtof declaration... " >&6; }
58420 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58421 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58422 $as_echo_n "(cached) " >&6
58423 else
58424
58425
58426 ac_ext=cpp
58427 ac_cpp='$CXXCPP $CPPFLAGS'
58428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58431
58432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58433 /* end confdefs.h. */
58434 #include <stdlib.h>
58435 int
58436 main ()
58437 {
58438 strtof(0, 0);
58439 ;
58440 return 0;
58441 }
58442 _ACEOF
58443 if ac_fn_cxx_try_compile "$LINENO"; then :
58444 glibcxx_cv_func_strtof_use=yes
58445 else
58446 glibcxx_cv_func_strtof_use=no
58447 fi
58448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58449 ac_ext=c
58450 ac_cpp='$CPP $CPPFLAGS'
58451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58454
58455
58456 fi
58457
58458 fi
58459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58460 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58461 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58462 for ac_func in strtof
58463 do :
58464 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58465 if test "x$ac_cv_func_strtof" = x""yes; then :
58466 cat >>confdefs.h <<_ACEOF
58467 #define HAVE_STRTOF 1
58468 _ACEOF
58469
58470 fi
58471 done
58472
58473 fi
58474
58475
58476
58477
58478 CXXFLAGS="$ac_save_CXXFLAGS"
58479
58480 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58481
58482
58483
58484 # Check whether --enable-tls was given.
58485 if test "${enable_tls+set}" = set; then :
58486 enableval=$enable_tls;
58487 case "$enableval" in
58488 yes|no) ;;
58489 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58490 esac
58491
58492 else
58493 enable_tls=yes
58494 fi
58495
58496
58497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58498 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58499 if test "${gcc_cv_have_tls+set}" = set; then :
58500 $as_echo_n "(cached) " >&6
58501 else
58502
58503 if test "$cross_compiling" = yes; then :
58504 if test x$gcc_no_link = xyes; then
58505 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58506 fi
58507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58508 /* end confdefs.h. */
58509 __thread int a; int b; int main() { return a = b; }
58510 _ACEOF
58511 if ac_fn_c_try_link "$LINENO"; then :
58512 chktls_save_LDFLAGS="$LDFLAGS"
58513 case $host in
58514 *-*-linux*)
58515 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58516 ;;
58517 esac
58518 chktls_save_CFLAGS="$CFLAGS"
58519 CFLAGS="-fPIC $CFLAGS"
58520 if test x$gcc_no_link = xyes; then
58521 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58522 fi
58523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58524 /* end confdefs.h. */
58525 int f() { return 0; }
58526 _ACEOF
58527 if ac_fn_c_try_link "$LINENO"; then :
58528 if test x$gcc_no_link = xyes; then
58529 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58530 fi
58531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58532 /* end confdefs.h. */
58533 __thread int a; int b; int f() { return a = b; }
58534 _ACEOF
58535 if ac_fn_c_try_link "$LINENO"; then :
58536 gcc_cv_have_tls=yes
58537 else
58538 gcc_cv_have_tls=no
58539 fi
58540 rm -f core conftest.err conftest.$ac_objext \
58541 conftest$ac_exeext conftest.$ac_ext
58542 else
58543 gcc_cv_have_tls=yes
58544 fi
58545 rm -f core conftest.err conftest.$ac_objext \
58546 conftest$ac_exeext conftest.$ac_ext
58547 CFLAGS="$chktls_save_CFLAGS"
58548 LDFLAGS="$chktls_save_LDFLAGS"
58549 else
58550 gcc_cv_have_tls=no
58551 fi
58552 rm -f core conftest.err conftest.$ac_objext \
58553 conftest$ac_exeext conftest.$ac_ext
58554
58555
58556 else
58557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58558 /* end confdefs.h. */
58559 __thread int a; int b; int main() { return a = b; }
58560 _ACEOF
58561 if ac_fn_c_try_run "$LINENO"; then :
58562 chktls_save_LDFLAGS="$LDFLAGS"
58563 LDFLAGS="-static $LDFLAGS"
58564 if test x$gcc_no_link = xyes; then
58565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58566 fi
58567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58568 /* end confdefs.h. */
58569 int main() { return 0; }
58570 _ACEOF
58571 if ac_fn_c_try_link "$LINENO"; then :
58572 if test "$cross_compiling" = yes; then :
58573 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58574 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58575 as_fn_error "cannot run test program while cross compiling
58576 See \`config.log' for more details." "$LINENO" 5; }
58577 else
58578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58579 /* end confdefs.h. */
58580 __thread int a; int b; int main() { return a = b; }
58581 _ACEOF
58582 if ac_fn_c_try_run "$LINENO"; then :
58583 gcc_cv_have_tls=yes
58584 else
58585 gcc_cv_have_tls=no
58586 fi
58587 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58588 conftest.$ac_objext conftest.beam conftest.$ac_ext
58589 fi
58590
58591 else
58592 gcc_cv_have_tls=yes
58593 fi
58594 rm -f core conftest.err conftest.$ac_objext \
58595 conftest$ac_exeext conftest.$ac_ext
58596 LDFLAGS="$chktls_save_LDFLAGS"
58597 if test $gcc_cv_have_tls = yes; then
58598 chktls_save_CFLAGS="$CFLAGS"
58599 thread_CFLAGS=failed
58600 for flag in '' '-pthread' '-lpthread'; do
58601 CFLAGS="$flag $chktls_save_CFLAGS"
58602 if test x$gcc_no_link = xyes; then
58603 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58604 fi
58605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58606 /* end confdefs.h. */
58607 #include <pthread.h>
58608 void *g(void *d) { return NULL; }
58609 int
58610 main ()
58611 {
58612 pthread_t t; pthread_create(&t,NULL,g,NULL);
58613 ;
58614 return 0;
58615 }
58616 _ACEOF
58617 if ac_fn_c_try_link "$LINENO"; then :
58618 thread_CFLAGS="$flag"
58619 fi
58620 rm -f core conftest.err conftest.$ac_objext \
58621 conftest$ac_exeext conftest.$ac_ext
58622 if test "X$thread_CFLAGS" != Xfailed; then
58623 break
58624 fi
58625 done
58626 CFLAGS="$chktls_save_CFLAGS"
58627 if test "X$thread_CFLAGS" != Xfailed; then
58628 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58629 if test "$cross_compiling" = yes; then :
58630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58632 as_fn_error "cannot run test program while cross compiling
58633 See \`config.log' for more details." "$LINENO" 5; }
58634 else
58635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58636 /* end confdefs.h. */
58637 #include <pthread.h>
58638 __thread int a;
58639 static int *volatile a_in_other_thread;
58640 static void *
58641 thread_func (void *arg)
58642 {
58643 a_in_other_thread = &a;
58644 return (void *)0;
58645 }
58646 int
58647 main ()
58648 {
58649 pthread_t thread;
58650 void *thread_retval;
58651 int *volatile a_in_main_thread;
58652 a_in_main_thread = &a;
58653 if (pthread_create (&thread, (pthread_attr_t *)0,
58654 thread_func, (void *)0))
58655 return 0;
58656 if (pthread_join (thread, &thread_retval))
58657 return 0;
58658 return (a_in_other_thread == a_in_main_thread);
58659 ;
58660 return 0;
58661 }
58662 _ACEOF
58663 if ac_fn_c_try_run "$LINENO"; then :
58664 gcc_cv_have_tls=yes
58665 else
58666 gcc_cv_have_tls=no
58667 fi
58668 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58669 conftest.$ac_objext conftest.beam conftest.$ac_ext
58670 fi
58671
58672 CFLAGS="$chktls_save_CFLAGS"
58673 fi
58674 fi
58675 else
58676 gcc_cv_have_tls=no
58677 fi
58678 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58679 conftest.$ac_objext conftest.beam conftest.$ac_ext
58680 fi
58681
58682 fi
58683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58684 $as_echo "$gcc_cv_have_tls" >&6; }
58685 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58686
58687 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58688
58689 fi
58690
58691
58692
58693
58694
58695 am_save_CPPFLAGS="$CPPFLAGS"
58696
58697 for element in $INCICONV; do
58698 haveit=
58699 for x in $CPPFLAGS; do
58700
58701 acl_save_prefix="$prefix"
58702 prefix="$acl_final_prefix"
58703 acl_save_exec_prefix="$exec_prefix"
58704 exec_prefix="$acl_final_exec_prefix"
58705 eval x=\"$x\"
58706 exec_prefix="$acl_save_exec_prefix"
58707 prefix="$acl_save_prefix"
58708
58709 if test "X$x" = "X$element"; then
58710 haveit=yes
58711 break
58712 fi
58713 done
58714 if test -z "$haveit"; then
58715 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58716 fi
58717 done
58718
58719
58720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58721 $as_echo_n "checking for iconv... " >&6; }
58722 if test "${am_cv_func_iconv+set}" = set; then :
58723 $as_echo_n "(cached) " >&6
58724 else
58725
58726 am_cv_func_iconv="no, consider installing GNU libiconv"
58727 am_cv_lib_iconv=no
58728 if test x$gcc_no_link = xyes; then
58729 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58730 fi
58731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58732 /* end confdefs.h. */
58733 #include <stdlib.h>
58734 #include <iconv.h>
58735 int
58736 main ()
58737 {
58738 iconv_t cd = iconv_open("","");
58739 iconv(cd,NULL,NULL,NULL,NULL);
58740 iconv_close(cd);
58741 ;
58742 return 0;
58743 }
58744 _ACEOF
58745 if ac_fn_c_try_link "$LINENO"; then :
58746 am_cv_func_iconv=yes
58747 fi
58748 rm -f core conftest.err conftest.$ac_objext \
58749 conftest$ac_exeext conftest.$ac_ext
58750 if test "$am_cv_func_iconv" != yes; then
58751 am_save_LIBS="$LIBS"
58752 LIBS="$LIBS $LIBICONV"
58753 if test x$gcc_no_link = xyes; then
58754 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58755 fi
58756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58757 /* end confdefs.h. */
58758 #include <stdlib.h>
58759 #include <iconv.h>
58760 int
58761 main ()
58762 {
58763 iconv_t cd = iconv_open("","");
58764 iconv(cd,NULL,NULL,NULL,NULL);
58765 iconv_close(cd);
58766 ;
58767 return 0;
58768 }
58769 _ACEOF
58770 if ac_fn_c_try_link "$LINENO"; then :
58771 am_cv_lib_iconv=yes
58772 am_cv_func_iconv=yes
58773 fi
58774 rm -f core conftest.err conftest.$ac_objext \
58775 conftest$ac_exeext conftest.$ac_ext
58776 LIBS="$am_save_LIBS"
58777 fi
58778
58779 fi
58780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58781 $as_echo "$am_cv_func_iconv" >&6; }
58782 if test "$am_cv_func_iconv" = yes; then
58783
58784 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58785
58786 fi
58787 if test "$am_cv_lib_iconv" = yes; then
58788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58789 $as_echo_n "checking how to link with libiconv... " >&6; }
58790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58791 $as_echo "$LIBICONV" >&6; }
58792 else
58793 CPPFLAGS="$am_save_CPPFLAGS"
58794 LIBICONV=
58795 LTLIBICONV=
58796 fi
58797
58798
58799
58800 if test "$am_cv_func_iconv" = yes; then
58801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58802 $as_echo_n "checking for iconv declaration... " >&6; }
58803 if test "${am_cv_proto_iconv+set}" = set; then :
58804 $as_echo_n "(cached) " >&6
58805 else
58806
58807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58808 /* end confdefs.h. */
58809
58810 #include <stdlib.h>
58811 #include <iconv.h>
58812 extern
58813 #ifdef __cplusplus
58814 "C"
58815 #endif
58816 #if defined(__STDC__) || defined(__cplusplus)
58817 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58818 #else
58819 size_t iconv();
58820 #endif
58821
58822 int
58823 main ()
58824 {
58825
58826 ;
58827 return 0;
58828 }
58829 _ACEOF
58830 if ac_fn_c_try_compile "$LINENO"; then :
58831 am_cv_proto_iconv_arg1=""
58832 else
58833 am_cv_proto_iconv_arg1="const"
58834 fi
58835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58836 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);"
58837 fi
58838
58839 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58841 }$am_cv_proto_iconv" >&5
58842 $as_echo "${ac_t:-
58843 }$am_cv_proto_iconv" >&6; }
58844
58845 cat >>confdefs.h <<_ACEOF
58846 #define ICONV_CONST $am_cv_proto_iconv_arg1
58847 _ACEOF
58848
58849 fi
58850
58851 ;;
58852 *-mingw32*)
58853
58854 # If we're not using GNU ld, then there's no point in even trying these
58855 # tests. Check for that first. We should have already tested for gld
58856 # by now (in libtool), but require it now just to be safe...
58857 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58858 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58859
58860
58861
58862 # The name set by libtool depends on the version of libtool. Shame on us
58863 # for depending on an impl detail, but c'est la vie. Older versions used
58864 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58865 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58866 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58867 # set (hence we're using an older libtool), then set it.
58868 if test x${with_gnu_ld+set} != xset; then
58869 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58870 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58871 with_gnu_ld=no
58872 else
58873 with_gnu_ld=$ac_cv_prog_gnu_ld
58874 fi
58875 fi
58876
58877 # Start by getting the version number. I think the libtool test already
58878 # does some of this, but throws away the result.
58879 glibcxx_ld_is_gold=no
58880 if test x"$with_gnu_ld" = x"yes"; then
58881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58882 $as_echo_n "checking for ld version... " >&6; }
58883
58884 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58885 glibcxx_ld_is_gold=yes
58886 fi
58887 ldver=`$LD --version 2>/dev/null |
58888 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'`
58889
58890 glibcxx_gnu_ld_version=`echo $ldver | \
58891 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58893 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58894 fi
58895
58896 # Set --gc-sections.
58897 glibcxx_have_gc_sections=no
58898 if test "$glibcxx_ld_is_gold" = "yes"; then
58899 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58900 glibcxx_have_gc_sections=yes
58901 fi
58902 else
58903 glibcxx_gcsections_min_ld=21602
58904 if test x"$with_gnu_ld" = x"yes" &&
58905 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58906 glibcxx_have_gc_sections=yes
58907 fi
58908 fi
58909 if test "$glibcxx_have_gc_sections" = "yes"; then
58910 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58911 # NB: This flag only works reliably after 2.16.1. Configure tests
58912 # for this are difficult, so hard wire a value that should work.
58913
58914 ac_test_CFLAGS="${CFLAGS+set}"
58915 ac_save_CFLAGS="$CFLAGS"
58916 CFLAGS='-Wl,--gc-sections'
58917
58918 # Check for -Wl,--gc-sections
58919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58920 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58921 if test x$gcc_no_link = xyes; then
58922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58923 fi
58924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58925 /* end confdefs.h. */
58926 int one(void) { return 1; }
58927 int two(void) { return 2; }
58928
58929 int
58930 main ()
58931 {
58932 two();
58933 ;
58934 return 0;
58935 }
58936 _ACEOF
58937 if ac_fn_c_try_link "$LINENO"; then :
58938 ac_gcsections=yes
58939 else
58940 ac_gcsections=no
58941 fi
58942 rm -f core conftest.err conftest.$ac_objext \
58943 conftest$ac_exeext conftest.$ac_ext
58944 if test "$ac_gcsections" = "yes"; then
58945 rm -f conftest.c
58946 touch conftest.c
58947 if $CC -c conftest.c; then
58948 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58949 grep "Warning: gc-sections option ignored" > /dev/null; then
58950 ac_gcsections=no
58951 fi
58952 fi
58953 rm -f conftest.c conftest.o conftest
58954 fi
58955 if test "$ac_gcsections" = "yes"; then
58956 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58957 fi
58958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58959 $as_echo "$ac_gcsections" >&6; }
58960
58961 if test "$ac_test_CFLAGS" = set; then
58962 CFLAGS="$ac_save_CFLAGS"
58963 else
58964 # this is the suspicious part
58965 CFLAGS=''
58966 fi
58967 fi
58968
58969 # Set -z,relro.
58970 # Note this is only for shared objects.
58971 ac_ld_relro=no
58972 if test x"$with_gnu_ld" = x"yes"; then
58973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58974 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58975 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58976 if test -n "$cxx_z_relo"; then
58977 OPT_LDFLAGS="-Wl,-z,relro"
58978 ac_ld_relro=yes
58979 fi
58980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58981 $as_echo "$ac_ld_relro" >&6; }
58982 fi
58983
58984 # Set linker optimization flags.
58985 if test x"$with_gnu_ld" = x"yes"; then
58986 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58987 fi
58988
58989
58990
58991
58992
58993 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58994 ac_save_CXXFLAGS="$CXXFLAGS"
58995 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58996
58997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58998 $as_echo_n "checking for sin in -lm... " >&6; }
58999 if test "${ac_cv_lib_m_sin+set}" = set; then :
59000 $as_echo_n "(cached) " >&6
59001 else
59002 ac_check_lib_save_LIBS=$LIBS
59003 LIBS="-lm $LIBS"
59004 if test x$gcc_no_link = xyes; then
59005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59006 fi
59007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59008 /* end confdefs.h. */
59009
59010 /* Override any GCC internal prototype to avoid an error.
59011 Use char because int might match the return type of a GCC
59012 builtin and then its argument prototype would still apply. */
59013 #ifdef __cplusplus
59014 extern "C"
59015 #endif
59016 char sin ();
59017 int
59018 main ()
59019 {
59020 return sin ();
59021 ;
59022 return 0;
59023 }
59024 _ACEOF
59025 if ac_fn_c_try_link "$LINENO"; then :
59026 ac_cv_lib_m_sin=yes
59027 else
59028 ac_cv_lib_m_sin=no
59029 fi
59030 rm -f core conftest.err conftest.$ac_objext \
59031 conftest$ac_exeext conftest.$ac_ext
59032 LIBS=$ac_check_lib_save_LIBS
59033 fi
59034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59035 $as_echo "$ac_cv_lib_m_sin" >&6; }
59036 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59037 libm="-lm"
59038 fi
59039
59040 ac_save_LIBS="$LIBS"
59041 LIBS="$LIBS $libm"
59042
59043
59044
59045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59046 $as_echo_n "checking for isinf declaration... " >&6; }
59047 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59048 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59049 $as_echo_n "(cached) " >&6
59050 else
59051
59052
59053 ac_ext=cpp
59054 ac_cpp='$CXXCPP $CPPFLAGS'
59055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058
59059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59060 /* end confdefs.h. */
59061 #include <math.h>
59062 #ifdef HAVE_IEEEFP_H
59063 #include <ieeefp.h>
59064 #endif
59065
59066 int
59067 main ()
59068 {
59069 isinf(0);
59070 ;
59071 return 0;
59072 }
59073 _ACEOF
59074 if ac_fn_cxx_try_compile "$LINENO"; then :
59075 glibcxx_cv_func_isinf_use=yes
59076 else
59077 glibcxx_cv_func_isinf_use=no
59078 fi
59079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59080 ac_ext=c
59081 ac_cpp='$CPP $CPPFLAGS'
59082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59085
59086
59087 fi
59088
59089 fi
59090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59091 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59092
59093 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59094 for ac_func in isinf
59095 do :
59096 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59097 if test "x$ac_cv_func_isinf" = x""yes; then :
59098 cat >>confdefs.h <<_ACEOF
59099 #define HAVE_ISINF 1
59100 _ACEOF
59101
59102 fi
59103 done
59104
59105 else
59106
59107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59108 $as_echo_n "checking for _isinf declaration... " >&6; }
59109 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59110 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59111 $as_echo_n "(cached) " >&6
59112 else
59113
59114
59115 ac_ext=cpp
59116 ac_cpp='$CXXCPP $CPPFLAGS'
59117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59120
59121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59122 /* end confdefs.h. */
59123 #include <math.h>
59124 #ifdef HAVE_IEEEFP_H
59125 #include <ieeefp.h>
59126 #endif
59127
59128 int
59129 main ()
59130 {
59131 _isinf(0);
59132 ;
59133 return 0;
59134 }
59135 _ACEOF
59136 if ac_fn_cxx_try_compile "$LINENO"; then :
59137 glibcxx_cv_func__isinf_use=yes
59138 else
59139 glibcxx_cv_func__isinf_use=no
59140 fi
59141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59142 ac_ext=c
59143 ac_cpp='$CPP $CPPFLAGS'
59144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59147
59148
59149 fi
59150
59151 fi
59152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59153 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59154
59155 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59156 for ac_func in _isinf
59157 do :
59158 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59159 if test "x$ac_cv_func__isinf" = x""yes; then :
59160 cat >>confdefs.h <<_ACEOF
59161 #define HAVE__ISINF 1
59162 _ACEOF
59163
59164 fi
59165 done
59166
59167 fi
59168 fi
59169
59170
59171
59172
59173
59174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59175 $as_echo_n "checking for isnan declaration... " >&6; }
59176 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59177 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59178 $as_echo_n "(cached) " >&6
59179 else
59180
59181
59182 ac_ext=cpp
59183 ac_cpp='$CXXCPP $CPPFLAGS'
59184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59187
59188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59189 /* end confdefs.h. */
59190 #include <math.h>
59191 #ifdef HAVE_IEEEFP_H
59192 #include <ieeefp.h>
59193 #endif
59194
59195 int
59196 main ()
59197 {
59198 isnan(0);
59199 ;
59200 return 0;
59201 }
59202 _ACEOF
59203 if ac_fn_cxx_try_compile "$LINENO"; then :
59204 glibcxx_cv_func_isnan_use=yes
59205 else
59206 glibcxx_cv_func_isnan_use=no
59207 fi
59208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59209 ac_ext=c
59210 ac_cpp='$CPP $CPPFLAGS'
59211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59214
59215
59216 fi
59217
59218 fi
59219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59220 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59221
59222 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59223 for ac_func in isnan
59224 do :
59225 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59226 if test "x$ac_cv_func_isnan" = x""yes; then :
59227 cat >>confdefs.h <<_ACEOF
59228 #define HAVE_ISNAN 1
59229 _ACEOF
59230
59231 fi
59232 done
59233
59234 else
59235
59236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59237 $as_echo_n "checking for _isnan declaration... " >&6; }
59238 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59239 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59240 $as_echo_n "(cached) " >&6
59241 else
59242
59243
59244 ac_ext=cpp
59245 ac_cpp='$CXXCPP $CPPFLAGS'
59246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59249
59250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59251 /* end confdefs.h. */
59252 #include <math.h>
59253 #ifdef HAVE_IEEEFP_H
59254 #include <ieeefp.h>
59255 #endif
59256
59257 int
59258 main ()
59259 {
59260 _isnan(0);
59261 ;
59262 return 0;
59263 }
59264 _ACEOF
59265 if ac_fn_cxx_try_compile "$LINENO"; then :
59266 glibcxx_cv_func__isnan_use=yes
59267 else
59268 glibcxx_cv_func__isnan_use=no
59269 fi
59270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59271 ac_ext=c
59272 ac_cpp='$CPP $CPPFLAGS'
59273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59276
59277
59278 fi
59279
59280 fi
59281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59282 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59283
59284 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59285 for ac_func in _isnan
59286 do :
59287 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59288 if test "x$ac_cv_func__isnan" = x""yes; then :
59289 cat >>confdefs.h <<_ACEOF
59290 #define HAVE__ISNAN 1
59291 _ACEOF
59292
59293 fi
59294 done
59295
59296 fi
59297 fi
59298
59299
59300
59301
59302
59303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59304 $as_echo_n "checking for finite declaration... " >&6; }
59305 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59306 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59307 $as_echo_n "(cached) " >&6
59308 else
59309
59310
59311 ac_ext=cpp
59312 ac_cpp='$CXXCPP $CPPFLAGS'
59313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59316
59317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59318 /* end confdefs.h. */
59319 #include <math.h>
59320 #ifdef HAVE_IEEEFP_H
59321 #include <ieeefp.h>
59322 #endif
59323
59324 int
59325 main ()
59326 {
59327 finite(0);
59328 ;
59329 return 0;
59330 }
59331 _ACEOF
59332 if ac_fn_cxx_try_compile "$LINENO"; then :
59333 glibcxx_cv_func_finite_use=yes
59334 else
59335 glibcxx_cv_func_finite_use=no
59336 fi
59337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59338 ac_ext=c
59339 ac_cpp='$CPP $CPPFLAGS'
59340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59343
59344
59345 fi
59346
59347 fi
59348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59349 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59350
59351 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59352 for ac_func in finite
59353 do :
59354 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59355 if test "x$ac_cv_func_finite" = x""yes; then :
59356 cat >>confdefs.h <<_ACEOF
59357 #define HAVE_FINITE 1
59358 _ACEOF
59359
59360 fi
59361 done
59362
59363 else
59364
59365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59366 $as_echo_n "checking for _finite declaration... " >&6; }
59367 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59368 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59369 $as_echo_n "(cached) " >&6
59370 else
59371
59372
59373 ac_ext=cpp
59374 ac_cpp='$CXXCPP $CPPFLAGS'
59375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59378
59379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59380 /* end confdefs.h. */
59381 #include <math.h>
59382 #ifdef HAVE_IEEEFP_H
59383 #include <ieeefp.h>
59384 #endif
59385
59386 int
59387 main ()
59388 {
59389 _finite(0);
59390 ;
59391 return 0;
59392 }
59393 _ACEOF
59394 if ac_fn_cxx_try_compile "$LINENO"; then :
59395 glibcxx_cv_func__finite_use=yes
59396 else
59397 glibcxx_cv_func__finite_use=no
59398 fi
59399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59400 ac_ext=c
59401 ac_cpp='$CPP $CPPFLAGS'
59402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59405
59406
59407 fi
59408
59409 fi
59410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59411 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59412
59413 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59414 for ac_func in _finite
59415 do :
59416 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59417 if test "x$ac_cv_func__finite" = x""yes; then :
59418 cat >>confdefs.h <<_ACEOF
59419 #define HAVE__FINITE 1
59420 _ACEOF
59421
59422 fi
59423 done
59424
59425 fi
59426 fi
59427
59428
59429
59430
59431
59432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59433 $as_echo_n "checking for sincos declaration... " >&6; }
59434 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59435 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59436 $as_echo_n "(cached) " >&6
59437 else
59438
59439
59440 ac_ext=cpp
59441 ac_cpp='$CXXCPP $CPPFLAGS'
59442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59445
59446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59447 /* end confdefs.h. */
59448 #include <math.h>
59449 int
59450 main ()
59451 {
59452 sincos(0, 0, 0);
59453 ;
59454 return 0;
59455 }
59456 _ACEOF
59457 if ac_fn_cxx_try_compile "$LINENO"; then :
59458 glibcxx_cv_func_sincos_use=yes
59459 else
59460 glibcxx_cv_func_sincos_use=no
59461 fi
59462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59463 ac_ext=c
59464 ac_cpp='$CPP $CPPFLAGS'
59465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59468
59469
59470 fi
59471
59472 fi
59473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59474 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59475
59476 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59477 for ac_func in sincos
59478 do :
59479 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59480 if test "x$ac_cv_func_sincos" = x""yes; then :
59481 cat >>confdefs.h <<_ACEOF
59482 #define HAVE_SINCOS 1
59483 _ACEOF
59484
59485 fi
59486 done
59487
59488 else
59489
59490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59491 $as_echo_n "checking for _sincos declaration... " >&6; }
59492 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59493 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59494 $as_echo_n "(cached) " >&6
59495 else
59496
59497
59498 ac_ext=cpp
59499 ac_cpp='$CXXCPP $CPPFLAGS'
59500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59503
59504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59505 /* end confdefs.h. */
59506 #include <math.h>
59507 int
59508 main ()
59509 {
59510 _sincos(0, 0, 0);
59511 ;
59512 return 0;
59513 }
59514 _ACEOF
59515 if ac_fn_cxx_try_compile "$LINENO"; then :
59516 glibcxx_cv_func__sincos_use=yes
59517 else
59518 glibcxx_cv_func__sincos_use=no
59519 fi
59520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59521 ac_ext=c
59522 ac_cpp='$CPP $CPPFLAGS'
59523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59526
59527
59528 fi
59529
59530 fi
59531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59532 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59533
59534 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59535 for ac_func in _sincos
59536 do :
59537 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59538 if test "x$ac_cv_func__sincos" = x""yes; then :
59539 cat >>confdefs.h <<_ACEOF
59540 #define HAVE__SINCOS 1
59541 _ACEOF
59542
59543 fi
59544 done
59545
59546 fi
59547 fi
59548
59549
59550
59551
59552
59553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59554 $as_echo_n "checking for fpclass declaration... " >&6; }
59555 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59556 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59557 $as_echo_n "(cached) " >&6
59558 else
59559
59560
59561 ac_ext=cpp
59562 ac_cpp='$CXXCPP $CPPFLAGS'
59563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59566
59567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59568 /* end confdefs.h. */
59569 #include <math.h>
59570 #ifdef HAVE_IEEEFP_H
59571 #include <ieeefp.h>
59572 #endif
59573
59574 int
59575 main ()
59576 {
59577 fpclass(0);
59578 ;
59579 return 0;
59580 }
59581 _ACEOF
59582 if ac_fn_cxx_try_compile "$LINENO"; then :
59583 glibcxx_cv_func_fpclass_use=yes
59584 else
59585 glibcxx_cv_func_fpclass_use=no
59586 fi
59587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59588 ac_ext=c
59589 ac_cpp='$CPP $CPPFLAGS'
59590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59593
59594
59595 fi
59596
59597 fi
59598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59599 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59600
59601 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59602 for ac_func in fpclass
59603 do :
59604 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59605 if test "x$ac_cv_func_fpclass" = x""yes; then :
59606 cat >>confdefs.h <<_ACEOF
59607 #define HAVE_FPCLASS 1
59608 _ACEOF
59609
59610 fi
59611 done
59612
59613 else
59614
59615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59616 $as_echo_n "checking for _fpclass declaration... " >&6; }
59617 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59618 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59619 $as_echo_n "(cached) " >&6
59620 else
59621
59622
59623 ac_ext=cpp
59624 ac_cpp='$CXXCPP $CPPFLAGS'
59625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59628
59629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59630 /* end confdefs.h. */
59631 #include <math.h>
59632 #ifdef HAVE_IEEEFP_H
59633 #include <ieeefp.h>
59634 #endif
59635
59636 int
59637 main ()
59638 {
59639 _fpclass(0);
59640 ;
59641 return 0;
59642 }
59643 _ACEOF
59644 if ac_fn_cxx_try_compile "$LINENO"; then :
59645 glibcxx_cv_func__fpclass_use=yes
59646 else
59647 glibcxx_cv_func__fpclass_use=no
59648 fi
59649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59650 ac_ext=c
59651 ac_cpp='$CPP $CPPFLAGS'
59652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59655
59656
59657 fi
59658
59659 fi
59660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59661 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59662
59663 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59664 for ac_func in _fpclass
59665 do :
59666 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59667 if test "x$ac_cv_func__fpclass" = x""yes; then :
59668 cat >>confdefs.h <<_ACEOF
59669 #define HAVE__FPCLASS 1
59670 _ACEOF
59671
59672 fi
59673 done
59674
59675 fi
59676 fi
59677
59678
59679
59680
59681
59682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59683 $as_echo_n "checking for qfpclass declaration... " >&6; }
59684 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59685 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59686 $as_echo_n "(cached) " >&6
59687 else
59688
59689
59690 ac_ext=cpp
59691 ac_cpp='$CXXCPP $CPPFLAGS'
59692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59695
59696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59697 /* end confdefs.h. */
59698 #include <math.h>
59699 #ifdef HAVE_IEEEFP_H
59700 #include <ieeefp.h>
59701 #endif
59702
59703 int
59704 main ()
59705 {
59706 qfpclass(0);
59707 ;
59708 return 0;
59709 }
59710 _ACEOF
59711 if ac_fn_cxx_try_compile "$LINENO"; then :
59712 glibcxx_cv_func_qfpclass_use=yes
59713 else
59714 glibcxx_cv_func_qfpclass_use=no
59715 fi
59716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59717 ac_ext=c
59718 ac_cpp='$CPP $CPPFLAGS'
59719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59722
59723
59724 fi
59725
59726 fi
59727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59728 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59729
59730 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59731 for ac_func in qfpclass
59732 do :
59733 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59734 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59735 cat >>confdefs.h <<_ACEOF
59736 #define HAVE_QFPCLASS 1
59737 _ACEOF
59738
59739 fi
59740 done
59741
59742 else
59743
59744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59745 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59746 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59747 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59748 $as_echo_n "(cached) " >&6
59749 else
59750
59751
59752 ac_ext=cpp
59753 ac_cpp='$CXXCPP $CPPFLAGS'
59754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59757
59758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59759 /* end confdefs.h. */
59760 #include <math.h>
59761 #ifdef HAVE_IEEEFP_H
59762 #include <ieeefp.h>
59763 #endif
59764
59765 int
59766 main ()
59767 {
59768 _qfpclass(0);
59769 ;
59770 return 0;
59771 }
59772 _ACEOF
59773 if ac_fn_cxx_try_compile "$LINENO"; then :
59774 glibcxx_cv_func__qfpclass_use=yes
59775 else
59776 glibcxx_cv_func__qfpclass_use=no
59777 fi
59778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59779 ac_ext=c
59780 ac_cpp='$CPP $CPPFLAGS'
59781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59784
59785
59786 fi
59787
59788 fi
59789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59790 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59791
59792 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59793 for ac_func in _qfpclass
59794 do :
59795 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59796 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59797 cat >>confdefs.h <<_ACEOF
59798 #define HAVE__QFPCLASS 1
59799 _ACEOF
59800
59801 fi
59802 done
59803
59804 fi
59805 fi
59806
59807
59808
59809
59810
59811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59812 $as_echo_n "checking for hypot declaration... " >&6; }
59813 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59814 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59815 $as_echo_n "(cached) " >&6
59816 else
59817
59818
59819 ac_ext=cpp
59820 ac_cpp='$CXXCPP $CPPFLAGS'
59821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59824
59825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59826 /* end confdefs.h. */
59827 #include <math.h>
59828 int
59829 main ()
59830 {
59831 hypot(0, 0);
59832 ;
59833 return 0;
59834 }
59835 _ACEOF
59836 if ac_fn_cxx_try_compile "$LINENO"; then :
59837 glibcxx_cv_func_hypot_use=yes
59838 else
59839 glibcxx_cv_func_hypot_use=no
59840 fi
59841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59842 ac_ext=c
59843 ac_cpp='$CPP $CPPFLAGS'
59844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59847
59848
59849 fi
59850
59851 fi
59852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59853 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59854
59855 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59856 for ac_func in hypot
59857 do :
59858 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59859 if test "x$ac_cv_func_hypot" = x""yes; then :
59860 cat >>confdefs.h <<_ACEOF
59861 #define HAVE_HYPOT 1
59862 _ACEOF
59863
59864 fi
59865 done
59866
59867 else
59868
59869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59870 $as_echo_n "checking for _hypot declaration... " >&6; }
59871 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59872 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59873 $as_echo_n "(cached) " >&6
59874 else
59875
59876
59877 ac_ext=cpp
59878 ac_cpp='$CXXCPP $CPPFLAGS'
59879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59882
59883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59884 /* end confdefs.h. */
59885 #include <math.h>
59886 int
59887 main ()
59888 {
59889 _hypot(0, 0);
59890 ;
59891 return 0;
59892 }
59893 _ACEOF
59894 if ac_fn_cxx_try_compile "$LINENO"; then :
59895 glibcxx_cv_func__hypot_use=yes
59896 else
59897 glibcxx_cv_func__hypot_use=no
59898 fi
59899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59900 ac_ext=c
59901 ac_cpp='$CPP $CPPFLAGS'
59902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59905
59906
59907 fi
59908
59909 fi
59910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59911 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59912
59913 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59914 for ac_func in _hypot
59915 do :
59916 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59917 if test "x$ac_cv_func__hypot" = x""yes; then :
59918 cat >>confdefs.h <<_ACEOF
59919 #define HAVE__HYPOT 1
59920 _ACEOF
59921
59922 fi
59923 done
59924
59925 fi
59926 fi
59927
59928
59929
59930
59931
59932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59933 $as_echo_n "checking for float trig functions... " >&6; }
59934 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59935 $as_echo_n "(cached) " >&6
59936 else
59937
59938
59939 ac_ext=cpp
59940 ac_cpp='$CXXCPP $CPPFLAGS'
59941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59944
59945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59946 /* end confdefs.h. */
59947 #include <math.h>
59948 int
59949 main ()
59950 {
59951 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59952 ;
59953 return 0;
59954 }
59955 _ACEOF
59956 if ac_fn_cxx_try_compile "$LINENO"; then :
59957 glibcxx_cv_func_float_trig_use=yes
59958 else
59959 glibcxx_cv_func_float_trig_use=no
59960 fi
59961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59962 ac_ext=c
59963 ac_cpp='$CPP $CPPFLAGS'
59964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59967
59968 fi
59969
59970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59971 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59972 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59973 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59974 do :
59975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59977 eval as_val=\$$as_ac_var
59978 if test "x$as_val" = x""yes; then :
59979 cat >>confdefs.h <<_ACEOF
59980 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59981 _ACEOF
59982
59983 fi
59984 done
59985
59986 else
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59988 $as_echo_n "checking for _float trig functions... " >&6; }
59989 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59990 $as_echo_n "(cached) " >&6
59991 else
59992
59993
59994 ac_ext=cpp
59995 ac_cpp='$CXXCPP $CPPFLAGS'
59996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59999
60000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60001 /* end confdefs.h. */
60002 #include <math.h>
60003 int
60004 main ()
60005 {
60006 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
60007 ;
60008 return 0;
60009 }
60010 _ACEOF
60011 if ac_fn_cxx_try_compile "$LINENO"; then :
60012 glibcxx_cv_func__float_trig_use=yes
60013 else
60014 glibcxx_cv_func__float_trig_use=no
60015 fi
60016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60017 ac_ext=c
60018 ac_cpp='$CPP $CPPFLAGS'
60019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60022
60023 fi
60024
60025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60026 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60027 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60028 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60029 do :
60030 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60031 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60032 eval as_val=\$$as_ac_var
60033 if test "x$as_val" = x""yes; then :
60034 cat >>confdefs.h <<_ACEOF
60035 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60036 _ACEOF
60037
60038 fi
60039 done
60040
60041 fi
60042 fi
60043
60044
60045
60046
60047
60048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60049 $as_echo_n "checking for float round functions... " >&6; }
60050 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60051 $as_echo_n "(cached) " >&6
60052 else
60053
60054
60055 ac_ext=cpp
60056 ac_cpp='$CXXCPP $CPPFLAGS'
60057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60060
60061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60062 /* end confdefs.h. */
60063 #include <math.h>
60064 int
60065 main ()
60066 {
60067 ceilf (0); floorf (0);
60068 ;
60069 return 0;
60070 }
60071 _ACEOF
60072 if ac_fn_cxx_try_compile "$LINENO"; then :
60073 glibcxx_cv_func_float_round_use=yes
60074 else
60075 glibcxx_cv_func_float_round_use=no
60076 fi
60077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60078 ac_ext=c
60079 ac_cpp='$CPP $CPPFLAGS'
60080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60083
60084 fi
60085
60086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60087 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60088 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60089 for ac_func in ceilf floorf
60090 do :
60091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60093 eval as_val=\$$as_ac_var
60094 if test "x$as_val" = x""yes; then :
60095 cat >>confdefs.h <<_ACEOF
60096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60097 _ACEOF
60098
60099 fi
60100 done
60101
60102 else
60103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60104 $as_echo_n "checking for _float round functions... " >&6; }
60105 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60106 $as_echo_n "(cached) " >&6
60107 else
60108
60109
60110 ac_ext=cpp
60111 ac_cpp='$CXXCPP $CPPFLAGS'
60112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60115
60116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60117 /* end confdefs.h. */
60118 #include <math.h>
60119 int
60120 main ()
60121 {
60122 _ceilf (0); _floorf (0);
60123 ;
60124 return 0;
60125 }
60126 _ACEOF
60127 if ac_fn_cxx_try_compile "$LINENO"; then :
60128 glibcxx_cv_func__float_round_use=yes
60129 else
60130 glibcxx_cv_func__float_round_use=no
60131 fi
60132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60133 ac_ext=c
60134 ac_cpp='$CPP $CPPFLAGS'
60135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60138
60139 fi
60140
60141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60142 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60143 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60144 for ac_func in _ceilf _floorf
60145 do :
60146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60148 eval as_val=\$$as_ac_var
60149 if test "x$as_val" = x""yes; then :
60150 cat >>confdefs.h <<_ACEOF
60151 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60152 _ACEOF
60153
60154 fi
60155 done
60156
60157 fi
60158 fi
60159
60160
60161
60162
60163
60164
60165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60166 $as_echo_n "checking for expf declaration... " >&6; }
60167 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60168 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60169 $as_echo_n "(cached) " >&6
60170 else
60171
60172
60173 ac_ext=cpp
60174 ac_cpp='$CXXCPP $CPPFLAGS'
60175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60178
60179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60180 /* end confdefs.h. */
60181 #include <math.h>
60182 #ifdef HAVE_IEEEFP_H
60183 #include <ieeefp.h>
60184 #endif
60185
60186 int
60187 main ()
60188 {
60189 expf(0);
60190 ;
60191 return 0;
60192 }
60193 _ACEOF
60194 if ac_fn_cxx_try_compile "$LINENO"; then :
60195 glibcxx_cv_func_expf_use=yes
60196 else
60197 glibcxx_cv_func_expf_use=no
60198 fi
60199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60200 ac_ext=c
60201 ac_cpp='$CPP $CPPFLAGS'
60202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60205
60206
60207 fi
60208
60209 fi
60210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60211 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60212
60213 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60214 for ac_func in expf
60215 do :
60216 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60217 if test "x$ac_cv_func_expf" = x""yes; then :
60218 cat >>confdefs.h <<_ACEOF
60219 #define HAVE_EXPF 1
60220 _ACEOF
60221
60222 fi
60223 done
60224
60225 else
60226
60227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60228 $as_echo_n "checking for _expf declaration... " >&6; }
60229 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60230 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60231 $as_echo_n "(cached) " >&6
60232 else
60233
60234
60235 ac_ext=cpp
60236 ac_cpp='$CXXCPP $CPPFLAGS'
60237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60240
60241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60242 /* end confdefs.h. */
60243 #include <math.h>
60244 #ifdef HAVE_IEEEFP_H
60245 #include <ieeefp.h>
60246 #endif
60247
60248 int
60249 main ()
60250 {
60251 _expf(0);
60252 ;
60253 return 0;
60254 }
60255 _ACEOF
60256 if ac_fn_cxx_try_compile "$LINENO"; then :
60257 glibcxx_cv_func__expf_use=yes
60258 else
60259 glibcxx_cv_func__expf_use=no
60260 fi
60261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60262 ac_ext=c
60263 ac_cpp='$CPP $CPPFLAGS'
60264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60267
60268
60269 fi
60270
60271 fi
60272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60273 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60274
60275 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60276 for ac_func in _expf
60277 do :
60278 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60279 if test "x$ac_cv_func__expf" = x""yes; then :
60280 cat >>confdefs.h <<_ACEOF
60281 #define HAVE__EXPF 1
60282 _ACEOF
60283
60284 fi
60285 done
60286
60287 fi
60288 fi
60289
60290
60291
60292
60293
60294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60295 $as_echo_n "checking for isnanf declaration... " >&6; }
60296 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60297 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60298 $as_echo_n "(cached) " >&6
60299 else
60300
60301
60302 ac_ext=cpp
60303 ac_cpp='$CXXCPP $CPPFLAGS'
60304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60307
60308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60309 /* end confdefs.h. */
60310 #include <math.h>
60311 #ifdef HAVE_IEEEFP_H
60312 #include <ieeefp.h>
60313 #endif
60314
60315 int
60316 main ()
60317 {
60318 isnanf(0);
60319 ;
60320 return 0;
60321 }
60322 _ACEOF
60323 if ac_fn_cxx_try_compile "$LINENO"; then :
60324 glibcxx_cv_func_isnanf_use=yes
60325 else
60326 glibcxx_cv_func_isnanf_use=no
60327 fi
60328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60329 ac_ext=c
60330 ac_cpp='$CPP $CPPFLAGS'
60331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60334
60335
60336 fi
60337
60338 fi
60339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60340 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60341
60342 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60343 for ac_func in isnanf
60344 do :
60345 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60346 if test "x$ac_cv_func_isnanf" = x""yes; then :
60347 cat >>confdefs.h <<_ACEOF
60348 #define HAVE_ISNANF 1
60349 _ACEOF
60350
60351 fi
60352 done
60353
60354 else
60355
60356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60357 $as_echo_n "checking for _isnanf declaration... " >&6; }
60358 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60359 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60360 $as_echo_n "(cached) " >&6
60361 else
60362
60363
60364 ac_ext=cpp
60365 ac_cpp='$CXXCPP $CPPFLAGS'
60366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60369
60370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60371 /* end confdefs.h. */
60372 #include <math.h>
60373 #ifdef HAVE_IEEEFP_H
60374 #include <ieeefp.h>
60375 #endif
60376
60377 int
60378 main ()
60379 {
60380 _isnanf(0);
60381 ;
60382 return 0;
60383 }
60384 _ACEOF
60385 if ac_fn_cxx_try_compile "$LINENO"; then :
60386 glibcxx_cv_func__isnanf_use=yes
60387 else
60388 glibcxx_cv_func__isnanf_use=no
60389 fi
60390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60391 ac_ext=c
60392 ac_cpp='$CPP $CPPFLAGS'
60393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60396
60397
60398 fi
60399
60400 fi
60401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60402 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60403
60404 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60405 for ac_func in _isnanf
60406 do :
60407 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60408 if test "x$ac_cv_func__isnanf" = x""yes; then :
60409 cat >>confdefs.h <<_ACEOF
60410 #define HAVE__ISNANF 1
60411 _ACEOF
60412
60413 fi
60414 done
60415
60416 fi
60417 fi
60418
60419
60420
60421
60422
60423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60424 $as_echo_n "checking for isinff declaration... " >&6; }
60425 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60426 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60427 $as_echo_n "(cached) " >&6
60428 else
60429
60430
60431 ac_ext=cpp
60432 ac_cpp='$CXXCPP $CPPFLAGS'
60433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60436
60437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60438 /* end confdefs.h. */
60439 #include <math.h>
60440 #ifdef HAVE_IEEEFP_H
60441 #include <ieeefp.h>
60442 #endif
60443
60444 int
60445 main ()
60446 {
60447 isinff(0);
60448 ;
60449 return 0;
60450 }
60451 _ACEOF
60452 if ac_fn_cxx_try_compile "$LINENO"; then :
60453 glibcxx_cv_func_isinff_use=yes
60454 else
60455 glibcxx_cv_func_isinff_use=no
60456 fi
60457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60458 ac_ext=c
60459 ac_cpp='$CPP $CPPFLAGS'
60460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60463
60464
60465 fi
60466
60467 fi
60468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60469 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60470
60471 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60472 for ac_func in isinff
60473 do :
60474 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60475 if test "x$ac_cv_func_isinff" = x""yes; then :
60476 cat >>confdefs.h <<_ACEOF
60477 #define HAVE_ISINFF 1
60478 _ACEOF
60479
60480 fi
60481 done
60482
60483 else
60484
60485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60486 $as_echo_n "checking for _isinff declaration... " >&6; }
60487 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60488 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60489 $as_echo_n "(cached) " >&6
60490 else
60491
60492
60493 ac_ext=cpp
60494 ac_cpp='$CXXCPP $CPPFLAGS'
60495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60498
60499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60500 /* end confdefs.h. */
60501 #include <math.h>
60502 #ifdef HAVE_IEEEFP_H
60503 #include <ieeefp.h>
60504 #endif
60505
60506 int
60507 main ()
60508 {
60509 _isinff(0);
60510 ;
60511 return 0;
60512 }
60513 _ACEOF
60514 if ac_fn_cxx_try_compile "$LINENO"; then :
60515 glibcxx_cv_func__isinff_use=yes
60516 else
60517 glibcxx_cv_func__isinff_use=no
60518 fi
60519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60520 ac_ext=c
60521 ac_cpp='$CPP $CPPFLAGS'
60522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60525
60526
60527 fi
60528
60529 fi
60530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60531 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60532
60533 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60534 for ac_func in _isinff
60535 do :
60536 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60537 if test "x$ac_cv_func__isinff" = x""yes; then :
60538 cat >>confdefs.h <<_ACEOF
60539 #define HAVE__ISINFF 1
60540 _ACEOF
60541
60542 fi
60543 done
60544
60545 fi
60546 fi
60547
60548
60549
60550
60551
60552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60553 $as_echo_n "checking for atan2f declaration... " >&6; }
60554 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60555 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60556 $as_echo_n "(cached) " >&6
60557 else
60558
60559
60560 ac_ext=cpp
60561 ac_cpp='$CXXCPP $CPPFLAGS'
60562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60565
60566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60567 /* end confdefs.h. */
60568 #include <math.h>
60569 int
60570 main ()
60571 {
60572 atan2f(0, 0);
60573 ;
60574 return 0;
60575 }
60576 _ACEOF
60577 if ac_fn_cxx_try_compile "$LINENO"; then :
60578 glibcxx_cv_func_atan2f_use=yes
60579 else
60580 glibcxx_cv_func_atan2f_use=no
60581 fi
60582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60583 ac_ext=c
60584 ac_cpp='$CPP $CPPFLAGS'
60585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60588
60589
60590 fi
60591
60592 fi
60593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60594 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60595
60596 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60597 for ac_func in atan2f
60598 do :
60599 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60600 if test "x$ac_cv_func_atan2f" = x""yes; then :
60601 cat >>confdefs.h <<_ACEOF
60602 #define HAVE_ATAN2F 1
60603 _ACEOF
60604
60605 fi
60606 done
60607
60608 else
60609
60610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60611 $as_echo_n "checking for _atan2f declaration... " >&6; }
60612 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60613 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60614 $as_echo_n "(cached) " >&6
60615 else
60616
60617
60618 ac_ext=cpp
60619 ac_cpp='$CXXCPP $CPPFLAGS'
60620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60623
60624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60625 /* end confdefs.h. */
60626 #include <math.h>
60627 int
60628 main ()
60629 {
60630 _atan2f(0, 0);
60631 ;
60632 return 0;
60633 }
60634 _ACEOF
60635 if ac_fn_cxx_try_compile "$LINENO"; then :
60636 glibcxx_cv_func__atan2f_use=yes
60637 else
60638 glibcxx_cv_func__atan2f_use=no
60639 fi
60640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60641 ac_ext=c
60642 ac_cpp='$CPP $CPPFLAGS'
60643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60646
60647
60648 fi
60649
60650 fi
60651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60652 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60653
60654 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60655 for ac_func in _atan2f
60656 do :
60657 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60658 if test "x$ac_cv_func__atan2f" = x""yes; then :
60659 cat >>confdefs.h <<_ACEOF
60660 #define HAVE__ATAN2F 1
60661 _ACEOF
60662
60663 fi
60664 done
60665
60666 fi
60667 fi
60668
60669
60670
60671
60672
60673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60674 $as_echo_n "checking for fabsf declaration... " >&6; }
60675 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60676 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60677 $as_echo_n "(cached) " >&6
60678 else
60679
60680
60681 ac_ext=cpp
60682 ac_cpp='$CXXCPP $CPPFLAGS'
60683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60686
60687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60688 /* end confdefs.h. */
60689 #include <math.h>
60690 #ifdef HAVE_IEEEFP_H
60691 #include <ieeefp.h>
60692 #endif
60693
60694 int
60695 main ()
60696 {
60697 fabsf(0);
60698 ;
60699 return 0;
60700 }
60701 _ACEOF
60702 if ac_fn_cxx_try_compile "$LINENO"; then :
60703 glibcxx_cv_func_fabsf_use=yes
60704 else
60705 glibcxx_cv_func_fabsf_use=no
60706 fi
60707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60708 ac_ext=c
60709 ac_cpp='$CPP $CPPFLAGS'
60710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60713
60714
60715 fi
60716
60717 fi
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60719 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60720
60721 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60722 for ac_func in fabsf
60723 do :
60724 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60725 if test "x$ac_cv_func_fabsf" = x""yes; then :
60726 cat >>confdefs.h <<_ACEOF
60727 #define HAVE_FABSF 1
60728 _ACEOF
60729
60730 fi
60731 done
60732
60733 else
60734
60735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60736 $as_echo_n "checking for _fabsf declaration... " >&6; }
60737 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60738 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60739 $as_echo_n "(cached) " >&6
60740 else
60741
60742
60743 ac_ext=cpp
60744 ac_cpp='$CXXCPP $CPPFLAGS'
60745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60748
60749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60750 /* end confdefs.h. */
60751 #include <math.h>
60752 #ifdef HAVE_IEEEFP_H
60753 #include <ieeefp.h>
60754 #endif
60755
60756 int
60757 main ()
60758 {
60759 _fabsf(0);
60760 ;
60761 return 0;
60762 }
60763 _ACEOF
60764 if ac_fn_cxx_try_compile "$LINENO"; then :
60765 glibcxx_cv_func__fabsf_use=yes
60766 else
60767 glibcxx_cv_func__fabsf_use=no
60768 fi
60769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60770 ac_ext=c
60771 ac_cpp='$CPP $CPPFLAGS'
60772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60775
60776
60777 fi
60778
60779 fi
60780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60781 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60782
60783 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60784 for ac_func in _fabsf
60785 do :
60786 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60787 if test "x$ac_cv_func__fabsf" = x""yes; then :
60788 cat >>confdefs.h <<_ACEOF
60789 #define HAVE__FABSF 1
60790 _ACEOF
60791
60792 fi
60793 done
60794
60795 fi
60796 fi
60797
60798
60799
60800
60801
60802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60803 $as_echo_n "checking for fmodf declaration... " >&6; }
60804 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60805 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60806 $as_echo_n "(cached) " >&6
60807 else
60808
60809
60810 ac_ext=cpp
60811 ac_cpp='$CXXCPP $CPPFLAGS'
60812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60815
60816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60817 /* end confdefs.h. */
60818 #include <math.h>
60819 int
60820 main ()
60821 {
60822 fmodf(0, 0);
60823 ;
60824 return 0;
60825 }
60826 _ACEOF
60827 if ac_fn_cxx_try_compile "$LINENO"; then :
60828 glibcxx_cv_func_fmodf_use=yes
60829 else
60830 glibcxx_cv_func_fmodf_use=no
60831 fi
60832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60833 ac_ext=c
60834 ac_cpp='$CPP $CPPFLAGS'
60835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60838
60839
60840 fi
60841
60842 fi
60843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60844 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60845
60846 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60847 for ac_func in fmodf
60848 do :
60849 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60850 if test "x$ac_cv_func_fmodf" = x""yes; then :
60851 cat >>confdefs.h <<_ACEOF
60852 #define HAVE_FMODF 1
60853 _ACEOF
60854
60855 fi
60856 done
60857
60858 else
60859
60860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60861 $as_echo_n "checking for _fmodf declaration... " >&6; }
60862 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60863 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60864 $as_echo_n "(cached) " >&6
60865 else
60866
60867
60868 ac_ext=cpp
60869 ac_cpp='$CXXCPP $CPPFLAGS'
60870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60873
60874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60875 /* end confdefs.h. */
60876 #include <math.h>
60877 int
60878 main ()
60879 {
60880 _fmodf(0, 0);
60881 ;
60882 return 0;
60883 }
60884 _ACEOF
60885 if ac_fn_cxx_try_compile "$LINENO"; then :
60886 glibcxx_cv_func__fmodf_use=yes
60887 else
60888 glibcxx_cv_func__fmodf_use=no
60889 fi
60890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60891 ac_ext=c
60892 ac_cpp='$CPP $CPPFLAGS'
60893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60896
60897
60898 fi
60899
60900 fi
60901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60902 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60903
60904 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60905 for ac_func in _fmodf
60906 do :
60907 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60908 if test "x$ac_cv_func__fmodf" = x""yes; then :
60909 cat >>confdefs.h <<_ACEOF
60910 #define HAVE__FMODF 1
60911 _ACEOF
60912
60913 fi
60914 done
60915
60916 fi
60917 fi
60918
60919
60920
60921
60922
60923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60924 $as_echo_n "checking for frexpf declaration... " >&6; }
60925 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60926 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60927 $as_echo_n "(cached) " >&6
60928 else
60929
60930
60931 ac_ext=cpp
60932 ac_cpp='$CXXCPP $CPPFLAGS'
60933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60936
60937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60938 /* end confdefs.h. */
60939 #include <math.h>
60940 int
60941 main ()
60942 {
60943 frexpf(0, 0);
60944 ;
60945 return 0;
60946 }
60947 _ACEOF
60948 if ac_fn_cxx_try_compile "$LINENO"; then :
60949 glibcxx_cv_func_frexpf_use=yes
60950 else
60951 glibcxx_cv_func_frexpf_use=no
60952 fi
60953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60954 ac_ext=c
60955 ac_cpp='$CPP $CPPFLAGS'
60956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60959
60960
60961 fi
60962
60963 fi
60964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60965 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60966
60967 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60968 for ac_func in frexpf
60969 do :
60970 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60971 if test "x$ac_cv_func_frexpf" = x""yes; then :
60972 cat >>confdefs.h <<_ACEOF
60973 #define HAVE_FREXPF 1
60974 _ACEOF
60975
60976 fi
60977 done
60978
60979 else
60980
60981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60982 $as_echo_n "checking for _frexpf declaration... " >&6; }
60983 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60984 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60985 $as_echo_n "(cached) " >&6
60986 else
60987
60988
60989 ac_ext=cpp
60990 ac_cpp='$CXXCPP $CPPFLAGS'
60991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60994
60995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60996 /* end confdefs.h. */
60997 #include <math.h>
60998 int
60999 main ()
61000 {
61001 _frexpf(0, 0);
61002 ;
61003 return 0;
61004 }
61005 _ACEOF
61006 if ac_fn_cxx_try_compile "$LINENO"; then :
61007 glibcxx_cv_func__frexpf_use=yes
61008 else
61009 glibcxx_cv_func__frexpf_use=no
61010 fi
61011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61012 ac_ext=c
61013 ac_cpp='$CPP $CPPFLAGS'
61014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61017
61018
61019 fi
61020
61021 fi
61022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61023 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61024
61025 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61026 for ac_func in _frexpf
61027 do :
61028 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61029 if test "x$ac_cv_func__frexpf" = x""yes; then :
61030 cat >>confdefs.h <<_ACEOF
61031 #define HAVE__FREXPF 1
61032 _ACEOF
61033
61034 fi
61035 done
61036
61037 fi
61038 fi
61039
61040
61041
61042
61043
61044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61045 $as_echo_n "checking for hypotf declaration... " >&6; }
61046 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61047 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61048 $as_echo_n "(cached) " >&6
61049 else
61050
61051
61052 ac_ext=cpp
61053 ac_cpp='$CXXCPP $CPPFLAGS'
61054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61057
61058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61059 /* end confdefs.h. */
61060 #include <math.h>
61061 int
61062 main ()
61063 {
61064 hypotf(0, 0);
61065 ;
61066 return 0;
61067 }
61068 _ACEOF
61069 if ac_fn_cxx_try_compile "$LINENO"; then :
61070 glibcxx_cv_func_hypotf_use=yes
61071 else
61072 glibcxx_cv_func_hypotf_use=no
61073 fi
61074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61075 ac_ext=c
61076 ac_cpp='$CPP $CPPFLAGS'
61077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61080
61081
61082 fi
61083
61084 fi
61085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61086 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61087
61088 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61089 for ac_func in hypotf
61090 do :
61091 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61092 if test "x$ac_cv_func_hypotf" = x""yes; then :
61093 cat >>confdefs.h <<_ACEOF
61094 #define HAVE_HYPOTF 1
61095 _ACEOF
61096
61097 fi
61098 done
61099
61100 else
61101
61102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61103 $as_echo_n "checking for _hypotf declaration... " >&6; }
61104 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61105 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61106 $as_echo_n "(cached) " >&6
61107 else
61108
61109
61110 ac_ext=cpp
61111 ac_cpp='$CXXCPP $CPPFLAGS'
61112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61115
61116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61117 /* end confdefs.h. */
61118 #include <math.h>
61119 int
61120 main ()
61121 {
61122 _hypotf(0, 0);
61123 ;
61124 return 0;
61125 }
61126 _ACEOF
61127 if ac_fn_cxx_try_compile "$LINENO"; then :
61128 glibcxx_cv_func__hypotf_use=yes
61129 else
61130 glibcxx_cv_func__hypotf_use=no
61131 fi
61132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61133 ac_ext=c
61134 ac_cpp='$CPP $CPPFLAGS'
61135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61138
61139
61140 fi
61141
61142 fi
61143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61144 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61145
61146 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61147 for ac_func in _hypotf
61148 do :
61149 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61150 if test "x$ac_cv_func__hypotf" = x""yes; then :
61151 cat >>confdefs.h <<_ACEOF
61152 #define HAVE__HYPOTF 1
61153 _ACEOF
61154
61155 fi
61156 done
61157
61158 fi
61159 fi
61160
61161
61162
61163
61164
61165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61166 $as_echo_n "checking for ldexpf declaration... " >&6; }
61167 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61168 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61169 $as_echo_n "(cached) " >&6
61170 else
61171
61172
61173 ac_ext=cpp
61174 ac_cpp='$CXXCPP $CPPFLAGS'
61175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61178
61179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61180 /* end confdefs.h. */
61181 #include <math.h>
61182 int
61183 main ()
61184 {
61185 ldexpf(0, 0);
61186 ;
61187 return 0;
61188 }
61189 _ACEOF
61190 if ac_fn_cxx_try_compile "$LINENO"; then :
61191 glibcxx_cv_func_ldexpf_use=yes
61192 else
61193 glibcxx_cv_func_ldexpf_use=no
61194 fi
61195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61196 ac_ext=c
61197 ac_cpp='$CPP $CPPFLAGS'
61198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61201
61202
61203 fi
61204
61205 fi
61206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61207 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61208
61209 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61210 for ac_func in ldexpf
61211 do :
61212 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61213 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61214 cat >>confdefs.h <<_ACEOF
61215 #define HAVE_LDEXPF 1
61216 _ACEOF
61217
61218 fi
61219 done
61220
61221 else
61222
61223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61224 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61225 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61226 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61227 $as_echo_n "(cached) " >&6
61228 else
61229
61230
61231 ac_ext=cpp
61232 ac_cpp='$CXXCPP $CPPFLAGS'
61233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61236
61237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61238 /* end confdefs.h. */
61239 #include <math.h>
61240 int
61241 main ()
61242 {
61243 _ldexpf(0, 0);
61244 ;
61245 return 0;
61246 }
61247 _ACEOF
61248 if ac_fn_cxx_try_compile "$LINENO"; then :
61249 glibcxx_cv_func__ldexpf_use=yes
61250 else
61251 glibcxx_cv_func__ldexpf_use=no
61252 fi
61253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61254 ac_ext=c
61255 ac_cpp='$CPP $CPPFLAGS'
61256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61259
61260
61261 fi
61262
61263 fi
61264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61265 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61266
61267 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61268 for ac_func in _ldexpf
61269 do :
61270 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61271 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61272 cat >>confdefs.h <<_ACEOF
61273 #define HAVE__LDEXPF 1
61274 _ACEOF
61275
61276 fi
61277 done
61278
61279 fi
61280 fi
61281
61282
61283
61284
61285
61286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61287 $as_echo_n "checking for logf declaration... " >&6; }
61288 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61289 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61290 $as_echo_n "(cached) " >&6
61291 else
61292
61293
61294 ac_ext=cpp
61295 ac_cpp='$CXXCPP $CPPFLAGS'
61296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61299
61300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61301 /* end confdefs.h. */
61302 #include <math.h>
61303 #ifdef HAVE_IEEEFP_H
61304 #include <ieeefp.h>
61305 #endif
61306
61307 int
61308 main ()
61309 {
61310 logf(0);
61311 ;
61312 return 0;
61313 }
61314 _ACEOF
61315 if ac_fn_cxx_try_compile "$LINENO"; then :
61316 glibcxx_cv_func_logf_use=yes
61317 else
61318 glibcxx_cv_func_logf_use=no
61319 fi
61320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61321 ac_ext=c
61322 ac_cpp='$CPP $CPPFLAGS'
61323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61326
61327
61328 fi
61329
61330 fi
61331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61332 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61333
61334 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61335 for ac_func in logf
61336 do :
61337 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61338 if test "x$ac_cv_func_logf" = x""yes; then :
61339 cat >>confdefs.h <<_ACEOF
61340 #define HAVE_LOGF 1
61341 _ACEOF
61342
61343 fi
61344 done
61345
61346 else
61347
61348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61349 $as_echo_n "checking for _logf declaration... " >&6; }
61350 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61351 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61352 $as_echo_n "(cached) " >&6
61353 else
61354
61355
61356 ac_ext=cpp
61357 ac_cpp='$CXXCPP $CPPFLAGS'
61358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61361
61362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61363 /* end confdefs.h. */
61364 #include <math.h>
61365 #ifdef HAVE_IEEEFP_H
61366 #include <ieeefp.h>
61367 #endif
61368
61369 int
61370 main ()
61371 {
61372 _logf(0);
61373 ;
61374 return 0;
61375 }
61376 _ACEOF
61377 if ac_fn_cxx_try_compile "$LINENO"; then :
61378 glibcxx_cv_func__logf_use=yes
61379 else
61380 glibcxx_cv_func__logf_use=no
61381 fi
61382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61383 ac_ext=c
61384 ac_cpp='$CPP $CPPFLAGS'
61385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61388
61389
61390 fi
61391
61392 fi
61393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61394 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61395
61396 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61397 for ac_func in _logf
61398 do :
61399 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61400 if test "x$ac_cv_func__logf" = x""yes; then :
61401 cat >>confdefs.h <<_ACEOF
61402 #define HAVE__LOGF 1
61403 _ACEOF
61404
61405 fi
61406 done
61407
61408 fi
61409 fi
61410
61411
61412
61413
61414
61415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61416 $as_echo_n "checking for log10f declaration... " >&6; }
61417 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61418 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61419 $as_echo_n "(cached) " >&6
61420 else
61421
61422
61423 ac_ext=cpp
61424 ac_cpp='$CXXCPP $CPPFLAGS'
61425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61428
61429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61430 /* end confdefs.h. */
61431 #include <math.h>
61432 #ifdef HAVE_IEEEFP_H
61433 #include <ieeefp.h>
61434 #endif
61435
61436 int
61437 main ()
61438 {
61439 log10f(0);
61440 ;
61441 return 0;
61442 }
61443 _ACEOF
61444 if ac_fn_cxx_try_compile "$LINENO"; then :
61445 glibcxx_cv_func_log10f_use=yes
61446 else
61447 glibcxx_cv_func_log10f_use=no
61448 fi
61449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61450 ac_ext=c
61451 ac_cpp='$CPP $CPPFLAGS'
61452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61455
61456
61457 fi
61458
61459 fi
61460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61461 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61462
61463 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61464 for ac_func in log10f
61465 do :
61466 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61467 if test "x$ac_cv_func_log10f" = x""yes; then :
61468 cat >>confdefs.h <<_ACEOF
61469 #define HAVE_LOG10F 1
61470 _ACEOF
61471
61472 fi
61473 done
61474
61475 else
61476
61477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61478 $as_echo_n "checking for _log10f declaration... " >&6; }
61479 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61480 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61481 $as_echo_n "(cached) " >&6
61482 else
61483
61484
61485 ac_ext=cpp
61486 ac_cpp='$CXXCPP $CPPFLAGS'
61487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61490
61491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61492 /* end confdefs.h. */
61493 #include <math.h>
61494 #ifdef HAVE_IEEEFP_H
61495 #include <ieeefp.h>
61496 #endif
61497
61498 int
61499 main ()
61500 {
61501 _log10f(0);
61502 ;
61503 return 0;
61504 }
61505 _ACEOF
61506 if ac_fn_cxx_try_compile "$LINENO"; then :
61507 glibcxx_cv_func__log10f_use=yes
61508 else
61509 glibcxx_cv_func__log10f_use=no
61510 fi
61511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61512 ac_ext=c
61513 ac_cpp='$CPP $CPPFLAGS'
61514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61517
61518
61519 fi
61520
61521 fi
61522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61523 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61524
61525 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61526 for ac_func in _log10f
61527 do :
61528 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61529 if test "x$ac_cv_func__log10f" = x""yes; then :
61530 cat >>confdefs.h <<_ACEOF
61531 #define HAVE__LOG10F 1
61532 _ACEOF
61533
61534 fi
61535 done
61536
61537 fi
61538 fi
61539
61540
61541
61542
61543
61544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61545 $as_echo_n "checking for modff declaration... " >&6; }
61546 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61547 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61548 $as_echo_n "(cached) " >&6
61549 else
61550
61551
61552 ac_ext=cpp
61553 ac_cpp='$CXXCPP $CPPFLAGS'
61554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61557
61558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61559 /* end confdefs.h. */
61560 #include <math.h>
61561 int
61562 main ()
61563 {
61564 modff(0, 0);
61565 ;
61566 return 0;
61567 }
61568 _ACEOF
61569 if ac_fn_cxx_try_compile "$LINENO"; then :
61570 glibcxx_cv_func_modff_use=yes
61571 else
61572 glibcxx_cv_func_modff_use=no
61573 fi
61574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61575 ac_ext=c
61576 ac_cpp='$CPP $CPPFLAGS'
61577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61580
61581
61582 fi
61583
61584 fi
61585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61586 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61587
61588 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61589 for ac_func in modff
61590 do :
61591 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61592 if test "x$ac_cv_func_modff" = x""yes; then :
61593 cat >>confdefs.h <<_ACEOF
61594 #define HAVE_MODFF 1
61595 _ACEOF
61596
61597 fi
61598 done
61599
61600 else
61601
61602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61603 $as_echo_n "checking for _modff declaration... " >&6; }
61604 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61605 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61606 $as_echo_n "(cached) " >&6
61607 else
61608
61609
61610 ac_ext=cpp
61611 ac_cpp='$CXXCPP $CPPFLAGS'
61612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61615
61616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61617 /* end confdefs.h. */
61618 #include <math.h>
61619 int
61620 main ()
61621 {
61622 _modff(0, 0);
61623 ;
61624 return 0;
61625 }
61626 _ACEOF
61627 if ac_fn_cxx_try_compile "$LINENO"; then :
61628 glibcxx_cv_func__modff_use=yes
61629 else
61630 glibcxx_cv_func__modff_use=no
61631 fi
61632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61633 ac_ext=c
61634 ac_cpp='$CPP $CPPFLAGS'
61635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61638
61639
61640 fi
61641
61642 fi
61643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61644 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61645
61646 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61647 for ac_func in _modff
61648 do :
61649 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61650 if test "x$ac_cv_func__modff" = x""yes; then :
61651 cat >>confdefs.h <<_ACEOF
61652 #define HAVE__MODFF 1
61653 _ACEOF
61654
61655 fi
61656 done
61657
61658 fi
61659 fi
61660
61661
61662
61663
61664
61665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61666 $as_echo_n "checking for modf declaration... " >&6; }
61667 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61668 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61669 $as_echo_n "(cached) " >&6
61670 else
61671
61672
61673 ac_ext=cpp
61674 ac_cpp='$CXXCPP $CPPFLAGS'
61675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61678
61679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61680 /* end confdefs.h. */
61681 #include <math.h>
61682 int
61683 main ()
61684 {
61685 modf(0, 0);
61686 ;
61687 return 0;
61688 }
61689 _ACEOF
61690 if ac_fn_cxx_try_compile "$LINENO"; then :
61691 glibcxx_cv_func_modf_use=yes
61692 else
61693 glibcxx_cv_func_modf_use=no
61694 fi
61695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61696 ac_ext=c
61697 ac_cpp='$CPP $CPPFLAGS'
61698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61701
61702
61703 fi
61704
61705 fi
61706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61707 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61708
61709 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61710 for ac_func in modf
61711 do :
61712 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61713 if test "x$ac_cv_func_modf" = x""yes; then :
61714 cat >>confdefs.h <<_ACEOF
61715 #define HAVE_MODF 1
61716 _ACEOF
61717
61718 fi
61719 done
61720
61721 else
61722
61723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61724 $as_echo_n "checking for _modf declaration... " >&6; }
61725 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61726 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61727 $as_echo_n "(cached) " >&6
61728 else
61729
61730
61731 ac_ext=cpp
61732 ac_cpp='$CXXCPP $CPPFLAGS'
61733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61736
61737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61738 /* end confdefs.h. */
61739 #include <math.h>
61740 int
61741 main ()
61742 {
61743 _modf(0, 0);
61744 ;
61745 return 0;
61746 }
61747 _ACEOF
61748 if ac_fn_cxx_try_compile "$LINENO"; then :
61749 glibcxx_cv_func__modf_use=yes
61750 else
61751 glibcxx_cv_func__modf_use=no
61752 fi
61753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61754 ac_ext=c
61755 ac_cpp='$CPP $CPPFLAGS'
61756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61759
61760
61761 fi
61762
61763 fi
61764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61765 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61766
61767 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61768 for ac_func in _modf
61769 do :
61770 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61771 if test "x$ac_cv_func__modf" = x""yes; then :
61772 cat >>confdefs.h <<_ACEOF
61773 #define HAVE__MODF 1
61774 _ACEOF
61775
61776 fi
61777 done
61778
61779 fi
61780 fi
61781
61782
61783
61784
61785
61786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61787 $as_echo_n "checking for powf declaration... " >&6; }
61788 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61789 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61790 $as_echo_n "(cached) " >&6
61791 else
61792
61793
61794 ac_ext=cpp
61795 ac_cpp='$CXXCPP $CPPFLAGS'
61796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61799
61800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61801 /* end confdefs.h. */
61802 #include <math.h>
61803 int
61804 main ()
61805 {
61806 powf(0, 0);
61807 ;
61808 return 0;
61809 }
61810 _ACEOF
61811 if ac_fn_cxx_try_compile "$LINENO"; then :
61812 glibcxx_cv_func_powf_use=yes
61813 else
61814 glibcxx_cv_func_powf_use=no
61815 fi
61816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61817 ac_ext=c
61818 ac_cpp='$CPP $CPPFLAGS'
61819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61822
61823
61824 fi
61825
61826 fi
61827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61828 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61829
61830 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61831 for ac_func in powf
61832 do :
61833 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61834 if test "x$ac_cv_func_powf" = x""yes; then :
61835 cat >>confdefs.h <<_ACEOF
61836 #define HAVE_POWF 1
61837 _ACEOF
61838
61839 fi
61840 done
61841
61842 else
61843
61844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61845 $as_echo_n "checking for _powf declaration... " >&6; }
61846 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61847 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61848 $as_echo_n "(cached) " >&6
61849 else
61850
61851
61852 ac_ext=cpp
61853 ac_cpp='$CXXCPP $CPPFLAGS'
61854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61857
61858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61859 /* end confdefs.h. */
61860 #include <math.h>
61861 int
61862 main ()
61863 {
61864 _powf(0, 0);
61865 ;
61866 return 0;
61867 }
61868 _ACEOF
61869 if ac_fn_cxx_try_compile "$LINENO"; then :
61870 glibcxx_cv_func__powf_use=yes
61871 else
61872 glibcxx_cv_func__powf_use=no
61873 fi
61874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61875 ac_ext=c
61876 ac_cpp='$CPP $CPPFLAGS'
61877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61880
61881
61882 fi
61883
61884 fi
61885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61886 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61887
61888 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61889 for ac_func in _powf
61890 do :
61891 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61892 if test "x$ac_cv_func__powf" = x""yes; then :
61893 cat >>confdefs.h <<_ACEOF
61894 #define HAVE__POWF 1
61895 _ACEOF
61896
61897 fi
61898 done
61899
61900 fi
61901 fi
61902
61903
61904
61905
61906
61907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61908 $as_echo_n "checking for sqrtf declaration... " >&6; }
61909 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61910 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61911 $as_echo_n "(cached) " >&6
61912 else
61913
61914
61915 ac_ext=cpp
61916 ac_cpp='$CXXCPP $CPPFLAGS'
61917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61920
61921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61922 /* end confdefs.h. */
61923 #include <math.h>
61924 #ifdef HAVE_IEEEFP_H
61925 #include <ieeefp.h>
61926 #endif
61927
61928 int
61929 main ()
61930 {
61931 sqrtf(0);
61932 ;
61933 return 0;
61934 }
61935 _ACEOF
61936 if ac_fn_cxx_try_compile "$LINENO"; then :
61937 glibcxx_cv_func_sqrtf_use=yes
61938 else
61939 glibcxx_cv_func_sqrtf_use=no
61940 fi
61941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61942 ac_ext=c
61943 ac_cpp='$CPP $CPPFLAGS'
61944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61947
61948
61949 fi
61950
61951 fi
61952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61953 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61954
61955 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61956 for ac_func in sqrtf
61957 do :
61958 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61959 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61960 cat >>confdefs.h <<_ACEOF
61961 #define HAVE_SQRTF 1
61962 _ACEOF
61963
61964 fi
61965 done
61966
61967 else
61968
61969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61970 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61971 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61972 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61973 $as_echo_n "(cached) " >&6
61974 else
61975
61976
61977 ac_ext=cpp
61978 ac_cpp='$CXXCPP $CPPFLAGS'
61979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61982
61983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61984 /* end confdefs.h. */
61985 #include <math.h>
61986 #ifdef HAVE_IEEEFP_H
61987 #include <ieeefp.h>
61988 #endif
61989
61990 int
61991 main ()
61992 {
61993 _sqrtf(0);
61994 ;
61995 return 0;
61996 }
61997 _ACEOF
61998 if ac_fn_cxx_try_compile "$LINENO"; then :
61999 glibcxx_cv_func__sqrtf_use=yes
62000 else
62001 glibcxx_cv_func__sqrtf_use=no
62002 fi
62003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62004 ac_ext=c
62005 ac_cpp='$CPP $CPPFLAGS'
62006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62009
62010
62011 fi
62012
62013 fi
62014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62015 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62016
62017 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62018 for ac_func in _sqrtf
62019 do :
62020 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62021 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62022 cat >>confdefs.h <<_ACEOF
62023 #define HAVE__SQRTF 1
62024 _ACEOF
62025
62026 fi
62027 done
62028
62029 fi
62030 fi
62031
62032
62033
62034
62035
62036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62037 $as_echo_n "checking for sincosf declaration... " >&6; }
62038 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62039 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62040 $as_echo_n "(cached) " >&6
62041 else
62042
62043
62044 ac_ext=cpp
62045 ac_cpp='$CXXCPP $CPPFLAGS'
62046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62049
62050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62051 /* end confdefs.h. */
62052 #include <math.h>
62053 int
62054 main ()
62055 {
62056 sincosf(0, 0, 0);
62057 ;
62058 return 0;
62059 }
62060 _ACEOF
62061 if ac_fn_cxx_try_compile "$LINENO"; then :
62062 glibcxx_cv_func_sincosf_use=yes
62063 else
62064 glibcxx_cv_func_sincosf_use=no
62065 fi
62066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62067 ac_ext=c
62068 ac_cpp='$CPP $CPPFLAGS'
62069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62072
62073
62074 fi
62075
62076 fi
62077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62078 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62079
62080 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62081 for ac_func in sincosf
62082 do :
62083 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62084 if test "x$ac_cv_func_sincosf" = x""yes; then :
62085 cat >>confdefs.h <<_ACEOF
62086 #define HAVE_SINCOSF 1
62087 _ACEOF
62088
62089 fi
62090 done
62091
62092 else
62093
62094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62095 $as_echo_n "checking for _sincosf declaration... " >&6; }
62096 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62097 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62098 $as_echo_n "(cached) " >&6
62099 else
62100
62101
62102 ac_ext=cpp
62103 ac_cpp='$CXXCPP $CPPFLAGS'
62104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62107
62108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62109 /* end confdefs.h. */
62110 #include <math.h>
62111 int
62112 main ()
62113 {
62114 _sincosf(0, 0, 0);
62115 ;
62116 return 0;
62117 }
62118 _ACEOF
62119 if ac_fn_cxx_try_compile "$LINENO"; then :
62120 glibcxx_cv_func__sincosf_use=yes
62121 else
62122 glibcxx_cv_func__sincosf_use=no
62123 fi
62124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62125 ac_ext=c
62126 ac_cpp='$CPP $CPPFLAGS'
62127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62130
62131
62132 fi
62133
62134 fi
62135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62136 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62137
62138 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62139 for ac_func in _sincosf
62140 do :
62141 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62142 if test "x$ac_cv_func__sincosf" = x""yes; then :
62143 cat >>confdefs.h <<_ACEOF
62144 #define HAVE__SINCOSF 1
62145 _ACEOF
62146
62147 fi
62148 done
62149
62150 fi
62151 fi
62152
62153
62154
62155
62156
62157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62158 $as_echo_n "checking for finitef declaration... " >&6; }
62159 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62160 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62161 $as_echo_n "(cached) " >&6
62162 else
62163
62164
62165 ac_ext=cpp
62166 ac_cpp='$CXXCPP $CPPFLAGS'
62167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62170
62171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62172 /* end confdefs.h. */
62173 #include <math.h>
62174 #ifdef HAVE_IEEEFP_H
62175 #include <ieeefp.h>
62176 #endif
62177
62178 int
62179 main ()
62180 {
62181 finitef(0);
62182 ;
62183 return 0;
62184 }
62185 _ACEOF
62186 if ac_fn_cxx_try_compile "$LINENO"; then :
62187 glibcxx_cv_func_finitef_use=yes
62188 else
62189 glibcxx_cv_func_finitef_use=no
62190 fi
62191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62192 ac_ext=c
62193 ac_cpp='$CPP $CPPFLAGS'
62194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62197
62198
62199 fi
62200
62201 fi
62202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62203 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62204
62205 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62206 for ac_func in finitef
62207 do :
62208 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62209 if test "x$ac_cv_func_finitef" = x""yes; then :
62210 cat >>confdefs.h <<_ACEOF
62211 #define HAVE_FINITEF 1
62212 _ACEOF
62213
62214 fi
62215 done
62216
62217 else
62218
62219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62220 $as_echo_n "checking for _finitef declaration... " >&6; }
62221 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62222 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62223 $as_echo_n "(cached) " >&6
62224 else
62225
62226
62227 ac_ext=cpp
62228 ac_cpp='$CXXCPP $CPPFLAGS'
62229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62232
62233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62234 /* end confdefs.h. */
62235 #include <math.h>
62236 #ifdef HAVE_IEEEFP_H
62237 #include <ieeefp.h>
62238 #endif
62239
62240 int
62241 main ()
62242 {
62243 _finitef(0);
62244 ;
62245 return 0;
62246 }
62247 _ACEOF
62248 if ac_fn_cxx_try_compile "$LINENO"; then :
62249 glibcxx_cv_func__finitef_use=yes
62250 else
62251 glibcxx_cv_func__finitef_use=no
62252 fi
62253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62254 ac_ext=c
62255 ac_cpp='$CPP $CPPFLAGS'
62256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62259
62260
62261 fi
62262
62263 fi
62264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62265 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62266
62267 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62268 for ac_func in _finitef
62269 do :
62270 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62271 if test "x$ac_cv_func__finitef" = x""yes; then :
62272 cat >>confdefs.h <<_ACEOF
62273 #define HAVE__FINITEF 1
62274 _ACEOF
62275
62276 fi
62277 done
62278
62279 fi
62280 fi
62281
62282
62283
62284
62285
62286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62287 $as_echo_n "checking for long double trig functions... " >&6; }
62288 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62289 $as_echo_n "(cached) " >&6
62290 else
62291
62292
62293 ac_ext=cpp
62294 ac_cpp='$CXXCPP $CPPFLAGS'
62295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62298
62299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62300 /* end confdefs.h. */
62301 #include <math.h>
62302 int
62303 main ()
62304 {
62305 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62306 ;
62307 return 0;
62308 }
62309 _ACEOF
62310 if ac_fn_cxx_try_compile "$LINENO"; then :
62311 glibcxx_cv_func_long_double_trig_use=yes
62312 else
62313 glibcxx_cv_func_long_double_trig_use=no
62314 fi
62315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62316 ac_ext=c
62317 ac_cpp='$CPP $CPPFLAGS'
62318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62321
62322 fi
62323
62324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62325 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62326 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62327 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62328 do :
62329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62331 eval as_val=\$$as_ac_var
62332 if test "x$as_val" = x""yes; then :
62333 cat >>confdefs.h <<_ACEOF
62334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62335 _ACEOF
62336
62337 fi
62338 done
62339
62340 else
62341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62342 $as_echo_n "checking for _long double trig functions... " >&6; }
62343 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62344 $as_echo_n "(cached) " >&6
62345 else
62346
62347
62348 ac_ext=cpp
62349 ac_cpp='$CXXCPP $CPPFLAGS'
62350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62353
62354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62355 /* end confdefs.h. */
62356 #include <math.h>
62357 int
62358 main ()
62359 {
62360 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62361 ;
62362 return 0;
62363 }
62364 _ACEOF
62365 if ac_fn_cxx_try_compile "$LINENO"; then :
62366 glibcxx_cv_func__long_double_trig_use=yes
62367 else
62368 glibcxx_cv_func__long_double_trig_use=no
62369 fi
62370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62371 ac_ext=c
62372 ac_cpp='$CPP $CPPFLAGS'
62373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62376
62377 fi
62378
62379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62380 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62381 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62382 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62383 do :
62384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62386 eval as_val=\$$as_ac_var
62387 if test "x$as_val" = x""yes; then :
62388 cat >>confdefs.h <<_ACEOF
62389 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62390 _ACEOF
62391
62392 fi
62393 done
62394
62395 fi
62396 fi
62397
62398
62399
62400
62401
62402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62403 $as_echo_n "checking for long double round functions... " >&6; }
62404 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62405 $as_echo_n "(cached) " >&6
62406 else
62407
62408
62409 ac_ext=cpp
62410 ac_cpp='$CXXCPP $CPPFLAGS'
62411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62414
62415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62416 /* end confdefs.h. */
62417 #include <math.h>
62418 int
62419 main ()
62420 {
62421 ceill (0); floorl (0);
62422 ;
62423 return 0;
62424 }
62425 _ACEOF
62426 if ac_fn_cxx_try_compile "$LINENO"; then :
62427 glibcxx_cv_func_long_double_round_use=yes
62428 else
62429 glibcxx_cv_func_long_double_round_use=no
62430 fi
62431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62432 ac_ext=c
62433 ac_cpp='$CPP $CPPFLAGS'
62434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62437
62438 fi
62439
62440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62441 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62442 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62443 for ac_func in ceill floorl
62444 do :
62445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62447 eval as_val=\$$as_ac_var
62448 if test "x$as_val" = x""yes; then :
62449 cat >>confdefs.h <<_ACEOF
62450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62451 _ACEOF
62452
62453 fi
62454 done
62455
62456 else
62457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62458 $as_echo_n "checking for _long double round functions... " >&6; }
62459 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62460 $as_echo_n "(cached) " >&6
62461 else
62462
62463
62464 ac_ext=cpp
62465 ac_cpp='$CXXCPP $CPPFLAGS'
62466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62469
62470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62471 /* end confdefs.h. */
62472 #include <math.h>
62473 int
62474 main ()
62475 {
62476 _ceill (0); _floorl (0);
62477 ;
62478 return 0;
62479 }
62480 _ACEOF
62481 if ac_fn_cxx_try_compile "$LINENO"; then :
62482 glibcxx_cv_func__long_double_round_use=yes
62483 else
62484 glibcxx_cv_func__long_double_round_use=no
62485 fi
62486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62487 ac_ext=c
62488 ac_cpp='$CPP $CPPFLAGS'
62489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62492
62493 fi
62494
62495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62496 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62497 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62498 for ac_func in _ceill _floorl
62499 do :
62500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62502 eval as_val=\$$as_ac_var
62503 if test "x$as_val" = x""yes; then :
62504 cat >>confdefs.h <<_ACEOF
62505 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62506 _ACEOF
62507
62508 fi
62509 done
62510
62511 fi
62512 fi
62513
62514
62515
62516
62517
62518
62519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62520 $as_echo_n "checking for isnanl declaration... " >&6; }
62521 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62522 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62523 $as_echo_n "(cached) " >&6
62524 else
62525
62526
62527 ac_ext=cpp
62528 ac_cpp='$CXXCPP $CPPFLAGS'
62529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62532
62533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62534 /* end confdefs.h. */
62535 #include <math.h>
62536 #ifdef HAVE_IEEEFP_H
62537 #include <ieeefp.h>
62538 #endif
62539
62540 int
62541 main ()
62542 {
62543 isnanl(0);
62544 ;
62545 return 0;
62546 }
62547 _ACEOF
62548 if ac_fn_cxx_try_compile "$LINENO"; then :
62549 glibcxx_cv_func_isnanl_use=yes
62550 else
62551 glibcxx_cv_func_isnanl_use=no
62552 fi
62553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62554 ac_ext=c
62555 ac_cpp='$CPP $CPPFLAGS'
62556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62559
62560
62561 fi
62562
62563 fi
62564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62565 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62566
62567 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62568 for ac_func in isnanl
62569 do :
62570 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62571 if test "x$ac_cv_func_isnanl" = x""yes; then :
62572 cat >>confdefs.h <<_ACEOF
62573 #define HAVE_ISNANL 1
62574 _ACEOF
62575
62576 fi
62577 done
62578
62579 else
62580
62581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62582 $as_echo_n "checking for _isnanl declaration... " >&6; }
62583 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62584 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62585 $as_echo_n "(cached) " >&6
62586 else
62587
62588
62589 ac_ext=cpp
62590 ac_cpp='$CXXCPP $CPPFLAGS'
62591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62594
62595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62596 /* end confdefs.h. */
62597 #include <math.h>
62598 #ifdef HAVE_IEEEFP_H
62599 #include <ieeefp.h>
62600 #endif
62601
62602 int
62603 main ()
62604 {
62605 _isnanl(0);
62606 ;
62607 return 0;
62608 }
62609 _ACEOF
62610 if ac_fn_cxx_try_compile "$LINENO"; then :
62611 glibcxx_cv_func__isnanl_use=yes
62612 else
62613 glibcxx_cv_func__isnanl_use=no
62614 fi
62615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62616 ac_ext=c
62617 ac_cpp='$CPP $CPPFLAGS'
62618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62621
62622
62623 fi
62624
62625 fi
62626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62627 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62628
62629 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62630 for ac_func in _isnanl
62631 do :
62632 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62633 if test "x$ac_cv_func__isnanl" = x""yes; then :
62634 cat >>confdefs.h <<_ACEOF
62635 #define HAVE__ISNANL 1
62636 _ACEOF
62637
62638 fi
62639 done
62640
62641 fi
62642 fi
62643
62644
62645
62646
62647
62648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62649 $as_echo_n "checking for isinfl declaration... " >&6; }
62650 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62651 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62652 $as_echo_n "(cached) " >&6
62653 else
62654
62655
62656 ac_ext=cpp
62657 ac_cpp='$CXXCPP $CPPFLAGS'
62658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62661
62662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62663 /* end confdefs.h. */
62664 #include <math.h>
62665 #ifdef HAVE_IEEEFP_H
62666 #include <ieeefp.h>
62667 #endif
62668
62669 int
62670 main ()
62671 {
62672 isinfl(0);
62673 ;
62674 return 0;
62675 }
62676 _ACEOF
62677 if ac_fn_cxx_try_compile "$LINENO"; then :
62678 glibcxx_cv_func_isinfl_use=yes
62679 else
62680 glibcxx_cv_func_isinfl_use=no
62681 fi
62682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62683 ac_ext=c
62684 ac_cpp='$CPP $CPPFLAGS'
62685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62688
62689
62690 fi
62691
62692 fi
62693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62694 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62695
62696 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62697 for ac_func in isinfl
62698 do :
62699 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62700 if test "x$ac_cv_func_isinfl" = x""yes; then :
62701 cat >>confdefs.h <<_ACEOF
62702 #define HAVE_ISINFL 1
62703 _ACEOF
62704
62705 fi
62706 done
62707
62708 else
62709
62710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62711 $as_echo_n "checking for _isinfl declaration... " >&6; }
62712 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62713 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62714 $as_echo_n "(cached) " >&6
62715 else
62716
62717
62718 ac_ext=cpp
62719 ac_cpp='$CXXCPP $CPPFLAGS'
62720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62723
62724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62725 /* end confdefs.h. */
62726 #include <math.h>
62727 #ifdef HAVE_IEEEFP_H
62728 #include <ieeefp.h>
62729 #endif
62730
62731 int
62732 main ()
62733 {
62734 _isinfl(0);
62735 ;
62736 return 0;
62737 }
62738 _ACEOF
62739 if ac_fn_cxx_try_compile "$LINENO"; then :
62740 glibcxx_cv_func__isinfl_use=yes
62741 else
62742 glibcxx_cv_func__isinfl_use=no
62743 fi
62744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62745 ac_ext=c
62746 ac_cpp='$CPP $CPPFLAGS'
62747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62750
62751
62752 fi
62753
62754 fi
62755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62756 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62757
62758 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62759 for ac_func in _isinfl
62760 do :
62761 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62762 if test "x$ac_cv_func__isinfl" = x""yes; then :
62763 cat >>confdefs.h <<_ACEOF
62764 #define HAVE__ISINFL 1
62765 _ACEOF
62766
62767 fi
62768 done
62769
62770 fi
62771 fi
62772
62773
62774
62775
62776
62777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62778 $as_echo_n "checking for atan2l declaration... " >&6; }
62779 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62780 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62781 $as_echo_n "(cached) " >&6
62782 else
62783
62784
62785 ac_ext=cpp
62786 ac_cpp='$CXXCPP $CPPFLAGS'
62787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62790
62791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62792 /* end confdefs.h. */
62793 #include <math.h>
62794 int
62795 main ()
62796 {
62797 atan2l(0, 0);
62798 ;
62799 return 0;
62800 }
62801 _ACEOF
62802 if ac_fn_cxx_try_compile "$LINENO"; then :
62803 glibcxx_cv_func_atan2l_use=yes
62804 else
62805 glibcxx_cv_func_atan2l_use=no
62806 fi
62807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62808 ac_ext=c
62809 ac_cpp='$CPP $CPPFLAGS'
62810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62813
62814
62815 fi
62816
62817 fi
62818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62819 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62820
62821 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62822 for ac_func in atan2l
62823 do :
62824 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62825 if test "x$ac_cv_func_atan2l" = x""yes; then :
62826 cat >>confdefs.h <<_ACEOF
62827 #define HAVE_ATAN2L 1
62828 _ACEOF
62829
62830 fi
62831 done
62832
62833 else
62834
62835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62836 $as_echo_n "checking for _atan2l declaration... " >&6; }
62837 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62838 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62839 $as_echo_n "(cached) " >&6
62840 else
62841
62842
62843 ac_ext=cpp
62844 ac_cpp='$CXXCPP $CPPFLAGS'
62845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62848
62849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62850 /* end confdefs.h. */
62851 #include <math.h>
62852 int
62853 main ()
62854 {
62855 _atan2l(0, 0);
62856 ;
62857 return 0;
62858 }
62859 _ACEOF
62860 if ac_fn_cxx_try_compile "$LINENO"; then :
62861 glibcxx_cv_func__atan2l_use=yes
62862 else
62863 glibcxx_cv_func__atan2l_use=no
62864 fi
62865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62866 ac_ext=c
62867 ac_cpp='$CPP $CPPFLAGS'
62868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62871
62872
62873 fi
62874
62875 fi
62876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62877 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62878
62879 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62880 for ac_func in _atan2l
62881 do :
62882 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62883 if test "x$ac_cv_func__atan2l" = x""yes; then :
62884 cat >>confdefs.h <<_ACEOF
62885 #define HAVE__ATAN2L 1
62886 _ACEOF
62887
62888 fi
62889 done
62890
62891 fi
62892 fi
62893
62894
62895
62896
62897
62898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62899 $as_echo_n "checking for expl declaration... " >&6; }
62900 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62901 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62902 $as_echo_n "(cached) " >&6
62903 else
62904
62905
62906 ac_ext=cpp
62907 ac_cpp='$CXXCPP $CPPFLAGS'
62908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62911
62912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62913 /* end confdefs.h. */
62914 #include <math.h>
62915 #ifdef HAVE_IEEEFP_H
62916 #include <ieeefp.h>
62917 #endif
62918
62919 int
62920 main ()
62921 {
62922 expl(0);
62923 ;
62924 return 0;
62925 }
62926 _ACEOF
62927 if ac_fn_cxx_try_compile "$LINENO"; then :
62928 glibcxx_cv_func_expl_use=yes
62929 else
62930 glibcxx_cv_func_expl_use=no
62931 fi
62932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62933 ac_ext=c
62934 ac_cpp='$CPP $CPPFLAGS'
62935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62938
62939
62940 fi
62941
62942 fi
62943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62944 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62945
62946 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62947 for ac_func in expl
62948 do :
62949 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62950 if test "x$ac_cv_func_expl" = x""yes; then :
62951 cat >>confdefs.h <<_ACEOF
62952 #define HAVE_EXPL 1
62953 _ACEOF
62954
62955 fi
62956 done
62957
62958 else
62959
62960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62961 $as_echo_n "checking for _expl declaration... " >&6; }
62962 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62963 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62964 $as_echo_n "(cached) " >&6
62965 else
62966
62967
62968 ac_ext=cpp
62969 ac_cpp='$CXXCPP $CPPFLAGS'
62970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62973
62974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62975 /* end confdefs.h. */
62976 #include <math.h>
62977 #ifdef HAVE_IEEEFP_H
62978 #include <ieeefp.h>
62979 #endif
62980
62981 int
62982 main ()
62983 {
62984 _expl(0);
62985 ;
62986 return 0;
62987 }
62988 _ACEOF
62989 if ac_fn_cxx_try_compile "$LINENO"; then :
62990 glibcxx_cv_func__expl_use=yes
62991 else
62992 glibcxx_cv_func__expl_use=no
62993 fi
62994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62995 ac_ext=c
62996 ac_cpp='$CPP $CPPFLAGS'
62997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63000
63001
63002 fi
63003
63004 fi
63005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
63006 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
63007
63008 if test x$glibcxx_cv_func__expl_use = x"yes"; then
63009 for ac_func in _expl
63010 do :
63011 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63012 if test "x$ac_cv_func__expl" = x""yes; then :
63013 cat >>confdefs.h <<_ACEOF
63014 #define HAVE__EXPL 1
63015 _ACEOF
63016
63017 fi
63018 done
63019
63020 fi
63021 fi
63022
63023
63024
63025
63026
63027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63028 $as_echo_n "checking for fabsl declaration... " >&6; }
63029 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63030 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63031 $as_echo_n "(cached) " >&6
63032 else
63033
63034
63035 ac_ext=cpp
63036 ac_cpp='$CXXCPP $CPPFLAGS'
63037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63040
63041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63042 /* end confdefs.h. */
63043 #include <math.h>
63044 #ifdef HAVE_IEEEFP_H
63045 #include <ieeefp.h>
63046 #endif
63047
63048 int
63049 main ()
63050 {
63051 fabsl(0);
63052 ;
63053 return 0;
63054 }
63055 _ACEOF
63056 if ac_fn_cxx_try_compile "$LINENO"; then :
63057 glibcxx_cv_func_fabsl_use=yes
63058 else
63059 glibcxx_cv_func_fabsl_use=no
63060 fi
63061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63062 ac_ext=c
63063 ac_cpp='$CPP $CPPFLAGS'
63064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63067
63068
63069 fi
63070
63071 fi
63072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63073 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63074
63075 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63076 for ac_func in fabsl
63077 do :
63078 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63079 if test "x$ac_cv_func_fabsl" = x""yes; then :
63080 cat >>confdefs.h <<_ACEOF
63081 #define HAVE_FABSL 1
63082 _ACEOF
63083
63084 fi
63085 done
63086
63087 else
63088
63089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63090 $as_echo_n "checking for _fabsl declaration... " >&6; }
63091 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63092 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63093 $as_echo_n "(cached) " >&6
63094 else
63095
63096
63097 ac_ext=cpp
63098 ac_cpp='$CXXCPP $CPPFLAGS'
63099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63102
63103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63104 /* end confdefs.h. */
63105 #include <math.h>
63106 #ifdef HAVE_IEEEFP_H
63107 #include <ieeefp.h>
63108 #endif
63109
63110 int
63111 main ()
63112 {
63113 _fabsl(0);
63114 ;
63115 return 0;
63116 }
63117 _ACEOF
63118 if ac_fn_cxx_try_compile "$LINENO"; then :
63119 glibcxx_cv_func__fabsl_use=yes
63120 else
63121 glibcxx_cv_func__fabsl_use=no
63122 fi
63123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63124 ac_ext=c
63125 ac_cpp='$CPP $CPPFLAGS'
63126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63129
63130
63131 fi
63132
63133 fi
63134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63135 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63136
63137 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63138 for ac_func in _fabsl
63139 do :
63140 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63141 if test "x$ac_cv_func__fabsl" = x""yes; then :
63142 cat >>confdefs.h <<_ACEOF
63143 #define HAVE__FABSL 1
63144 _ACEOF
63145
63146 fi
63147 done
63148
63149 fi
63150 fi
63151
63152
63153
63154
63155
63156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63157 $as_echo_n "checking for fmodl declaration... " >&6; }
63158 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63159 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63160 $as_echo_n "(cached) " >&6
63161 else
63162
63163
63164 ac_ext=cpp
63165 ac_cpp='$CXXCPP $CPPFLAGS'
63166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63169
63170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63171 /* end confdefs.h. */
63172 #include <math.h>
63173 int
63174 main ()
63175 {
63176 fmodl(0, 0);
63177 ;
63178 return 0;
63179 }
63180 _ACEOF
63181 if ac_fn_cxx_try_compile "$LINENO"; then :
63182 glibcxx_cv_func_fmodl_use=yes
63183 else
63184 glibcxx_cv_func_fmodl_use=no
63185 fi
63186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63187 ac_ext=c
63188 ac_cpp='$CPP $CPPFLAGS'
63189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63192
63193
63194 fi
63195
63196 fi
63197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63198 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63199
63200 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63201 for ac_func in fmodl
63202 do :
63203 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63204 if test "x$ac_cv_func_fmodl" = x""yes; then :
63205 cat >>confdefs.h <<_ACEOF
63206 #define HAVE_FMODL 1
63207 _ACEOF
63208
63209 fi
63210 done
63211
63212 else
63213
63214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63215 $as_echo_n "checking for _fmodl declaration... " >&6; }
63216 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63217 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63218 $as_echo_n "(cached) " >&6
63219 else
63220
63221
63222 ac_ext=cpp
63223 ac_cpp='$CXXCPP $CPPFLAGS'
63224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63227
63228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63229 /* end confdefs.h. */
63230 #include <math.h>
63231 int
63232 main ()
63233 {
63234 _fmodl(0, 0);
63235 ;
63236 return 0;
63237 }
63238 _ACEOF
63239 if ac_fn_cxx_try_compile "$LINENO"; then :
63240 glibcxx_cv_func__fmodl_use=yes
63241 else
63242 glibcxx_cv_func__fmodl_use=no
63243 fi
63244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63245 ac_ext=c
63246 ac_cpp='$CPP $CPPFLAGS'
63247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63250
63251
63252 fi
63253
63254 fi
63255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63256 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63257
63258 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63259 for ac_func in _fmodl
63260 do :
63261 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63262 if test "x$ac_cv_func__fmodl" = x""yes; then :
63263 cat >>confdefs.h <<_ACEOF
63264 #define HAVE__FMODL 1
63265 _ACEOF
63266
63267 fi
63268 done
63269
63270 fi
63271 fi
63272
63273
63274
63275
63276
63277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63278 $as_echo_n "checking for frexpl declaration... " >&6; }
63279 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63280 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63281 $as_echo_n "(cached) " >&6
63282 else
63283
63284
63285 ac_ext=cpp
63286 ac_cpp='$CXXCPP $CPPFLAGS'
63287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63290
63291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63292 /* end confdefs.h. */
63293 #include <math.h>
63294 int
63295 main ()
63296 {
63297 frexpl(0, 0);
63298 ;
63299 return 0;
63300 }
63301 _ACEOF
63302 if ac_fn_cxx_try_compile "$LINENO"; then :
63303 glibcxx_cv_func_frexpl_use=yes
63304 else
63305 glibcxx_cv_func_frexpl_use=no
63306 fi
63307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63308 ac_ext=c
63309 ac_cpp='$CPP $CPPFLAGS'
63310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63313
63314
63315 fi
63316
63317 fi
63318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63319 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63320
63321 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63322 for ac_func in frexpl
63323 do :
63324 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63325 if test "x$ac_cv_func_frexpl" = x""yes; then :
63326 cat >>confdefs.h <<_ACEOF
63327 #define HAVE_FREXPL 1
63328 _ACEOF
63329
63330 fi
63331 done
63332
63333 else
63334
63335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63336 $as_echo_n "checking for _frexpl declaration... " >&6; }
63337 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63338 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63339 $as_echo_n "(cached) " >&6
63340 else
63341
63342
63343 ac_ext=cpp
63344 ac_cpp='$CXXCPP $CPPFLAGS'
63345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63348
63349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63350 /* end confdefs.h. */
63351 #include <math.h>
63352 int
63353 main ()
63354 {
63355 _frexpl(0, 0);
63356 ;
63357 return 0;
63358 }
63359 _ACEOF
63360 if ac_fn_cxx_try_compile "$LINENO"; then :
63361 glibcxx_cv_func__frexpl_use=yes
63362 else
63363 glibcxx_cv_func__frexpl_use=no
63364 fi
63365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63366 ac_ext=c
63367 ac_cpp='$CPP $CPPFLAGS'
63368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63371
63372
63373 fi
63374
63375 fi
63376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63377 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63378
63379 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63380 for ac_func in _frexpl
63381 do :
63382 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63383 if test "x$ac_cv_func__frexpl" = x""yes; then :
63384 cat >>confdefs.h <<_ACEOF
63385 #define HAVE__FREXPL 1
63386 _ACEOF
63387
63388 fi
63389 done
63390
63391 fi
63392 fi
63393
63394
63395
63396
63397
63398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63399 $as_echo_n "checking for hypotl declaration... " >&6; }
63400 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63401 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63402 $as_echo_n "(cached) " >&6
63403 else
63404
63405
63406 ac_ext=cpp
63407 ac_cpp='$CXXCPP $CPPFLAGS'
63408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63411
63412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63413 /* end confdefs.h. */
63414 #include <math.h>
63415 int
63416 main ()
63417 {
63418 hypotl(0, 0);
63419 ;
63420 return 0;
63421 }
63422 _ACEOF
63423 if ac_fn_cxx_try_compile "$LINENO"; then :
63424 glibcxx_cv_func_hypotl_use=yes
63425 else
63426 glibcxx_cv_func_hypotl_use=no
63427 fi
63428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63429 ac_ext=c
63430 ac_cpp='$CPP $CPPFLAGS'
63431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63434
63435
63436 fi
63437
63438 fi
63439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63440 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63441
63442 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63443 for ac_func in hypotl
63444 do :
63445 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63446 if test "x$ac_cv_func_hypotl" = x""yes; then :
63447 cat >>confdefs.h <<_ACEOF
63448 #define HAVE_HYPOTL 1
63449 _ACEOF
63450
63451 fi
63452 done
63453
63454 else
63455
63456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63457 $as_echo_n "checking for _hypotl declaration... " >&6; }
63458 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63459 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63460 $as_echo_n "(cached) " >&6
63461 else
63462
63463
63464 ac_ext=cpp
63465 ac_cpp='$CXXCPP $CPPFLAGS'
63466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63469
63470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63471 /* end confdefs.h. */
63472 #include <math.h>
63473 int
63474 main ()
63475 {
63476 _hypotl(0, 0);
63477 ;
63478 return 0;
63479 }
63480 _ACEOF
63481 if ac_fn_cxx_try_compile "$LINENO"; then :
63482 glibcxx_cv_func__hypotl_use=yes
63483 else
63484 glibcxx_cv_func__hypotl_use=no
63485 fi
63486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63487 ac_ext=c
63488 ac_cpp='$CPP $CPPFLAGS'
63489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63492
63493
63494 fi
63495
63496 fi
63497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63498 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63499
63500 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63501 for ac_func in _hypotl
63502 do :
63503 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63504 if test "x$ac_cv_func__hypotl" = x""yes; then :
63505 cat >>confdefs.h <<_ACEOF
63506 #define HAVE__HYPOTL 1
63507 _ACEOF
63508
63509 fi
63510 done
63511
63512 fi
63513 fi
63514
63515
63516
63517
63518
63519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63520 $as_echo_n "checking for ldexpl declaration... " >&6; }
63521 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63522 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63523 $as_echo_n "(cached) " >&6
63524 else
63525
63526
63527 ac_ext=cpp
63528 ac_cpp='$CXXCPP $CPPFLAGS'
63529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63532
63533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63534 /* end confdefs.h. */
63535 #include <math.h>
63536 int
63537 main ()
63538 {
63539 ldexpl(0, 0);
63540 ;
63541 return 0;
63542 }
63543 _ACEOF
63544 if ac_fn_cxx_try_compile "$LINENO"; then :
63545 glibcxx_cv_func_ldexpl_use=yes
63546 else
63547 glibcxx_cv_func_ldexpl_use=no
63548 fi
63549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63550 ac_ext=c
63551 ac_cpp='$CPP $CPPFLAGS'
63552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63555
63556
63557 fi
63558
63559 fi
63560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63561 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63562
63563 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63564 for ac_func in ldexpl
63565 do :
63566 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63567 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63568 cat >>confdefs.h <<_ACEOF
63569 #define HAVE_LDEXPL 1
63570 _ACEOF
63571
63572 fi
63573 done
63574
63575 else
63576
63577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63578 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63579 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63580 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63581 $as_echo_n "(cached) " >&6
63582 else
63583
63584
63585 ac_ext=cpp
63586 ac_cpp='$CXXCPP $CPPFLAGS'
63587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63590
63591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63592 /* end confdefs.h. */
63593 #include <math.h>
63594 int
63595 main ()
63596 {
63597 _ldexpl(0, 0);
63598 ;
63599 return 0;
63600 }
63601 _ACEOF
63602 if ac_fn_cxx_try_compile "$LINENO"; then :
63603 glibcxx_cv_func__ldexpl_use=yes
63604 else
63605 glibcxx_cv_func__ldexpl_use=no
63606 fi
63607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63608 ac_ext=c
63609 ac_cpp='$CPP $CPPFLAGS'
63610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63613
63614
63615 fi
63616
63617 fi
63618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63619 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63620
63621 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63622 for ac_func in _ldexpl
63623 do :
63624 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63625 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63626 cat >>confdefs.h <<_ACEOF
63627 #define HAVE__LDEXPL 1
63628 _ACEOF
63629
63630 fi
63631 done
63632
63633 fi
63634 fi
63635
63636
63637
63638
63639
63640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63641 $as_echo_n "checking for logl declaration... " >&6; }
63642 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63643 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63644 $as_echo_n "(cached) " >&6
63645 else
63646
63647
63648 ac_ext=cpp
63649 ac_cpp='$CXXCPP $CPPFLAGS'
63650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63653
63654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63655 /* end confdefs.h. */
63656 #include <math.h>
63657 #ifdef HAVE_IEEEFP_H
63658 #include <ieeefp.h>
63659 #endif
63660
63661 int
63662 main ()
63663 {
63664 logl(0);
63665 ;
63666 return 0;
63667 }
63668 _ACEOF
63669 if ac_fn_cxx_try_compile "$LINENO"; then :
63670 glibcxx_cv_func_logl_use=yes
63671 else
63672 glibcxx_cv_func_logl_use=no
63673 fi
63674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63675 ac_ext=c
63676 ac_cpp='$CPP $CPPFLAGS'
63677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63680
63681
63682 fi
63683
63684 fi
63685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63686 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63687
63688 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63689 for ac_func in logl
63690 do :
63691 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63692 if test "x$ac_cv_func_logl" = x""yes; then :
63693 cat >>confdefs.h <<_ACEOF
63694 #define HAVE_LOGL 1
63695 _ACEOF
63696
63697 fi
63698 done
63699
63700 else
63701
63702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63703 $as_echo_n "checking for _logl declaration... " >&6; }
63704 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63705 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63706 $as_echo_n "(cached) " >&6
63707 else
63708
63709
63710 ac_ext=cpp
63711 ac_cpp='$CXXCPP $CPPFLAGS'
63712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63715
63716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63717 /* end confdefs.h. */
63718 #include <math.h>
63719 #ifdef HAVE_IEEEFP_H
63720 #include <ieeefp.h>
63721 #endif
63722
63723 int
63724 main ()
63725 {
63726 _logl(0);
63727 ;
63728 return 0;
63729 }
63730 _ACEOF
63731 if ac_fn_cxx_try_compile "$LINENO"; then :
63732 glibcxx_cv_func__logl_use=yes
63733 else
63734 glibcxx_cv_func__logl_use=no
63735 fi
63736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63737 ac_ext=c
63738 ac_cpp='$CPP $CPPFLAGS'
63739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63742
63743
63744 fi
63745
63746 fi
63747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63748 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63749
63750 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63751 for ac_func in _logl
63752 do :
63753 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63754 if test "x$ac_cv_func__logl" = x""yes; then :
63755 cat >>confdefs.h <<_ACEOF
63756 #define HAVE__LOGL 1
63757 _ACEOF
63758
63759 fi
63760 done
63761
63762 fi
63763 fi
63764
63765
63766
63767
63768
63769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63770 $as_echo_n "checking for log10l declaration... " >&6; }
63771 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63772 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63773 $as_echo_n "(cached) " >&6
63774 else
63775
63776
63777 ac_ext=cpp
63778 ac_cpp='$CXXCPP $CPPFLAGS'
63779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63782
63783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63784 /* end confdefs.h. */
63785 #include <math.h>
63786 #ifdef HAVE_IEEEFP_H
63787 #include <ieeefp.h>
63788 #endif
63789
63790 int
63791 main ()
63792 {
63793 log10l(0);
63794 ;
63795 return 0;
63796 }
63797 _ACEOF
63798 if ac_fn_cxx_try_compile "$LINENO"; then :
63799 glibcxx_cv_func_log10l_use=yes
63800 else
63801 glibcxx_cv_func_log10l_use=no
63802 fi
63803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63804 ac_ext=c
63805 ac_cpp='$CPP $CPPFLAGS'
63806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63809
63810
63811 fi
63812
63813 fi
63814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63815 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63816
63817 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63818 for ac_func in log10l
63819 do :
63820 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63821 if test "x$ac_cv_func_log10l" = x""yes; then :
63822 cat >>confdefs.h <<_ACEOF
63823 #define HAVE_LOG10L 1
63824 _ACEOF
63825
63826 fi
63827 done
63828
63829 else
63830
63831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63832 $as_echo_n "checking for _log10l declaration... " >&6; }
63833 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63834 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63835 $as_echo_n "(cached) " >&6
63836 else
63837
63838
63839 ac_ext=cpp
63840 ac_cpp='$CXXCPP $CPPFLAGS'
63841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63844
63845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63846 /* end confdefs.h. */
63847 #include <math.h>
63848 #ifdef HAVE_IEEEFP_H
63849 #include <ieeefp.h>
63850 #endif
63851
63852 int
63853 main ()
63854 {
63855 _log10l(0);
63856 ;
63857 return 0;
63858 }
63859 _ACEOF
63860 if ac_fn_cxx_try_compile "$LINENO"; then :
63861 glibcxx_cv_func__log10l_use=yes
63862 else
63863 glibcxx_cv_func__log10l_use=no
63864 fi
63865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63866 ac_ext=c
63867 ac_cpp='$CPP $CPPFLAGS'
63868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63871
63872
63873 fi
63874
63875 fi
63876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63877 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63878
63879 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63880 for ac_func in _log10l
63881 do :
63882 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63883 if test "x$ac_cv_func__log10l" = x""yes; then :
63884 cat >>confdefs.h <<_ACEOF
63885 #define HAVE__LOG10L 1
63886 _ACEOF
63887
63888 fi
63889 done
63890
63891 fi
63892 fi
63893
63894
63895
63896
63897
63898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63899 $as_echo_n "checking for modfl declaration... " >&6; }
63900 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63901 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63902 $as_echo_n "(cached) " >&6
63903 else
63904
63905
63906 ac_ext=cpp
63907 ac_cpp='$CXXCPP $CPPFLAGS'
63908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63911
63912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63913 /* end confdefs.h. */
63914 #include <math.h>
63915 int
63916 main ()
63917 {
63918 modfl(0, 0);
63919 ;
63920 return 0;
63921 }
63922 _ACEOF
63923 if ac_fn_cxx_try_compile "$LINENO"; then :
63924 glibcxx_cv_func_modfl_use=yes
63925 else
63926 glibcxx_cv_func_modfl_use=no
63927 fi
63928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63929 ac_ext=c
63930 ac_cpp='$CPP $CPPFLAGS'
63931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63934
63935
63936 fi
63937
63938 fi
63939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63940 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63941
63942 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63943 for ac_func in modfl
63944 do :
63945 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63946 if test "x$ac_cv_func_modfl" = x""yes; then :
63947 cat >>confdefs.h <<_ACEOF
63948 #define HAVE_MODFL 1
63949 _ACEOF
63950
63951 fi
63952 done
63953
63954 else
63955
63956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63957 $as_echo_n "checking for _modfl declaration... " >&6; }
63958 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63959 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63960 $as_echo_n "(cached) " >&6
63961 else
63962
63963
63964 ac_ext=cpp
63965 ac_cpp='$CXXCPP $CPPFLAGS'
63966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63969
63970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63971 /* end confdefs.h. */
63972 #include <math.h>
63973 int
63974 main ()
63975 {
63976 _modfl(0, 0);
63977 ;
63978 return 0;
63979 }
63980 _ACEOF
63981 if ac_fn_cxx_try_compile "$LINENO"; then :
63982 glibcxx_cv_func__modfl_use=yes
63983 else
63984 glibcxx_cv_func__modfl_use=no
63985 fi
63986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63987 ac_ext=c
63988 ac_cpp='$CPP $CPPFLAGS'
63989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63992
63993
63994 fi
63995
63996 fi
63997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63998 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63999
64000 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
64001 for ac_func in _modfl
64002 do :
64003 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
64004 if test "x$ac_cv_func__modfl" = x""yes; then :
64005 cat >>confdefs.h <<_ACEOF
64006 #define HAVE__MODFL 1
64007 _ACEOF
64008
64009 fi
64010 done
64011
64012 fi
64013 fi
64014
64015
64016
64017
64018
64019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64020 $as_echo_n "checking for powl declaration... " >&6; }
64021 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64022 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64023 $as_echo_n "(cached) " >&6
64024 else
64025
64026
64027 ac_ext=cpp
64028 ac_cpp='$CXXCPP $CPPFLAGS'
64029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64032
64033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64034 /* end confdefs.h. */
64035 #include <math.h>
64036 int
64037 main ()
64038 {
64039 powl(0, 0);
64040 ;
64041 return 0;
64042 }
64043 _ACEOF
64044 if ac_fn_cxx_try_compile "$LINENO"; then :
64045 glibcxx_cv_func_powl_use=yes
64046 else
64047 glibcxx_cv_func_powl_use=no
64048 fi
64049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64050 ac_ext=c
64051 ac_cpp='$CPP $CPPFLAGS'
64052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64055
64056
64057 fi
64058
64059 fi
64060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64061 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64062
64063 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64064 for ac_func in powl
64065 do :
64066 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64067 if test "x$ac_cv_func_powl" = x""yes; then :
64068 cat >>confdefs.h <<_ACEOF
64069 #define HAVE_POWL 1
64070 _ACEOF
64071
64072 fi
64073 done
64074
64075 else
64076
64077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64078 $as_echo_n "checking for _powl declaration... " >&6; }
64079 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64080 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64081 $as_echo_n "(cached) " >&6
64082 else
64083
64084
64085 ac_ext=cpp
64086 ac_cpp='$CXXCPP $CPPFLAGS'
64087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64090
64091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64092 /* end confdefs.h. */
64093 #include <math.h>
64094 int
64095 main ()
64096 {
64097 _powl(0, 0);
64098 ;
64099 return 0;
64100 }
64101 _ACEOF
64102 if ac_fn_cxx_try_compile "$LINENO"; then :
64103 glibcxx_cv_func__powl_use=yes
64104 else
64105 glibcxx_cv_func__powl_use=no
64106 fi
64107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64108 ac_ext=c
64109 ac_cpp='$CPP $CPPFLAGS'
64110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64113
64114
64115 fi
64116
64117 fi
64118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64119 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64120
64121 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64122 for ac_func in _powl
64123 do :
64124 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64125 if test "x$ac_cv_func__powl" = x""yes; then :
64126 cat >>confdefs.h <<_ACEOF
64127 #define HAVE__POWL 1
64128 _ACEOF
64129
64130 fi
64131 done
64132
64133 fi
64134 fi
64135
64136
64137
64138
64139
64140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64141 $as_echo_n "checking for sqrtl declaration... " >&6; }
64142 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64143 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64144 $as_echo_n "(cached) " >&6
64145 else
64146
64147
64148 ac_ext=cpp
64149 ac_cpp='$CXXCPP $CPPFLAGS'
64150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64153
64154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64155 /* end confdefs.h. */
64156 #include <math.h>
64157 #ifdef HAVE_IEEEFP_H
64158 #include <ieeefp.h>
64159 #endif
64160
64161 int
64162 main ()
64163 {
64164 sqrtl(0);
64165 ;
64166 return 0;
64167 }
64168 _ACEOF
64169 if ac_fn_cxx_try_compile "$LINENO"; then :
64170 glibcxx_cv_func_sqrtl_use=yes
64171 else
64172 glibcxx_cv_func_sqrtl_use=no
64173 fi
64174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64175 ac_ext=c
64176 ac_cpp='$CPP $CPPFLAGS'
64177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64180
64181
64182 fi
64183
64184 fi
64185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64186 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64187
64188 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64189 for ac_func in sqrtl
64190 do :
64191 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64192 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64193 cat >>confdefs.h <<_ACEOF
64194 #define HAVE_SQRTL 1
64195 _ACEOF
64196
64197 fi
64198 done
64199
64200 else
64201
64202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64203 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64204 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64205 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64206 $as_echo_n "(cached) " >&6
64207 else
64208
64209
64210 ac_ext=cpp
64211 ac_cpp='$CXXCPP $CPPFLAGS'
64212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64215
64216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64217 /* end confdefs.h. */
64218 #include <math.h>
64219 #ifdef HAVE_IEEEFP_H
64220 #include <ieeefp.h>
64221 #endif
64222
64223 int
64224 main ()
64225 {
64226 _sqrtl(0);
64227 ;
64228 return 0;
64229 }
64230 _ACEOF
64231 if ac_fn_cxx_try_compile "$LINENO"; then :
64232 glibcxx_cv_func__sqrtl_use=yes
64233 else
64234 glibcxx_cv_func__sqrtl_use=no
64235 fi
64236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64237 ac_ext=c
64238 ac_cpp='$CPP $CPPFLAGS'
64239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64242
64243
64244 fi
64245
64246 fi
64247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64248 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64249
64250 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64251 for ac_func in _sqrtl
64252 do :
64253 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64254 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64255 cat >>confdefs.h <<_ACEOF
64256 #define HAVE__SQRTL 1
64257 _ACEOF
64258
64259 fi
64260 done
64261
64262 fi
64263 fi
64264
64265
64266
64267
64268
64269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64270 $as_echo_n "checking for sincosl declaration... " >&6; }
64271 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64272 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64273 $as_echo_n "(cached) " >&6
64274 else
64275
64276
64277 ac_ext=cpp
64278 ac_cpp='$CXXCPP $CPPFLAGS'
64279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64282
64283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64284 /* end confdefs.h. */
64285 #include <math.h>
64286 int
64287 main ()
64288 {
64289 sincosl(0, 0, 0);
64290 ;
64291 return 0;
64292 }
64293 _ACEOF
64294 if ac_fn_cxx_try_compile "$LINENO"; then :
64295 glibcxx_cv_func_sincosl_use=yes
64296 else
64297 glibcxx_cv_func_sincosl_use=no
64298 fi
64299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64300 ac_ext=c
64301 ac_cpp='$CPP $CPPFLAGS'
64302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64305
64306
64307 fi
64308
64309 fi
64310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64311 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64312
64313 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64314 for ac_func in sincosl
64315 do :
64316 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64317 if test "x$ac_cv_func_sincosl" = x""yes; then :
64318 cat >>confdefs.h <<_ACEOF
64319 #define HAVE_SINCOSL 1
64320 _ACEOF
64321
64322 fi
64323 done
64324
64325 else
64326
64327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64328 $as_echo_n "checking for _sincosl declaration... " >&6; }
64329 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64330 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64331 $as_echo_n "(cached) " >&6
64332 else
64333
64334
64335 ac_ext=cpp
64336 ac_cpp='$CXXCPP $CPPFLAGS'
64337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64340
64341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64342 /* end confdefs.h. */
64343 #include <math.h>
64344 int
64345 main ()
64346 {
64347 _sincosl(0, 0, 0);
64348 ;
64349 return 0;
64350 }
64351 _ACEOF
64352 if ac_fn_cxx_try_compile "$LINENO"; then :
64353 glibcxx_cv_func__sincosl_use=yes
64354 else
64355 glibcxx_cv_func__sincosl_use=no
64356 fi
64357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64358 ac_ext=c
64359 ac_cpp='$CPP $CPPFLAGS'
64360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64363
64364
64365 fi
64366
64367 fi
64368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64369 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64370
64371 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64372 for ac_func in _sincosl
64373 do :
64374 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64375 if test "x$ac_cv_func__sincosl" = x""yes; then :
64376 cat >>confdefs.h <<_ACEOF
64377 #define HAVE__SINCOSL 1
64378 _ACEOF
64379
64380 fi
64381 done
64382
64383 fi
64384 fi
64385
64386
64387
64388
64389
64390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64391 $as_echo_n "checking for finitel declaration... " >&6; }
64392 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64393 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64394 $as_echo_n "(cached) " >&6
64395 else
64396
64397
64398 ac_ext=cpp
64399 ac_cpp='$CXXCPP $CPPFLAGS'
64400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64403
64404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64405 /* end confdefs.h. */
64406 #include <math.h>
64407 #ifdef HAVE_IEEEFP_H
64408 #include <ieeefp.h>
64409 #endif
64410
64411 int
64412 main ()
64413 {
64414 finitel(0);
64415 ;
64416 return 0;
64417 }
64418 _ACEOF
64419 if ac_fn_cxx_try_compile "$LINENO"; then :
64420 glibcxx_cv_func_finitel_use=yes
64421 else
64422 glibcxx_cv_func_finitel_use=no
64423 fi
64424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64425 ac_ext=c
64426 ac_cpp='$CPP $CPPFLAGS'
64427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64430
64431
64432 fi
64433
64434 fi
64435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64436 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64437
64438 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64439 for ac_func in finitel
64440 do :
64441 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64442 if test "x$ac_cv_func_finitel" = x""yes; then :
64443 cat >>confdefs.h <<_ACEOF
64444 #define HAVE_FINITEL 1
64445 _ACEOF
64446
64447 fi
64448 done
64449
64450 else
64451
64452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64453 $as_echo_n "checking for _finitel declaration... " >&6; }
64454 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64455 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64456 $as_echo_n "(cached) " >&6
64457 else
64458
64459
64460 ac_ext=cpp
64461 ac_cpp='$CXXCPP $CPPFLAGS'
64462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64465
64466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64467 /* end confdefs.h. */
64468 #include <math.h>
64469 #ifdef HAVE_IEEEFP_H
64470 #include <ieeefp.h>
64471 #endif
64472
64473 int
64474 main ()
64475 {
64476 _finitel(0);
64477 ;
64478 return 0;
64479 }
64480 _ACEOF
64481 if ac_fn_cxx_try_compile "$LINENO"; then :
64482 glibcxx_cv_func__finitel_use=yes
64483 else
64484 glibcxx_cv_func__finitel_use=no
64485 fi
64486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64487 ac_ext=c
64488 ac_cpp='$CPP $CPPFLAGS'
64489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64492
64493
64494 fi
64495
64496 fi
64497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64498 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64499
64500 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64501 for ac_func in _finitel
64502 do :
64503 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64504 if test "x$ac_cv_func__finitel" = x""yes; then :
64505 cat >>confdefs.h <<_ACEOF
64506 #define HAVE__FINITEL 1
64507 _ACEOF
64508
64509 fi
64510 done
64511
64512 fi
64513 fi
64514
64515
64516
64517
64518 LIBS="$ac_save_LIBS"
64519 CXXFLAGS="$ac_save_CXXFLAGS"
64520
64521
64522 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64523 ac_save_CXXFLAGS="$CXXFLAGS"
64524 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64525
64526
64527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64528 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64529 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64530 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64531 $as_echo_n "(cached) " >&6
64532 else
64533
64534
64535 ac_ext=cpp
64536 ac_cpp='$CXXCPP $CPPFLAGS'
64537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64540
64541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64542 /* end confdefs.h. */
64543 #include <stdlib.h>
64544 int
64545 main ()
64546 {
64547 at_quick_exit(0);
64548 ;
64549 return 0;
64550 }
64551 _ACEOF
64552 if ac_fn_cxx_try_compile "$LINENO"; then :
64553 glibcxx_cv_func_at_quick_exit_use=yes
64554 else
64555 glibcxx_cv_func_at_quick_exit_use=no
64556 fi
64557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64558 ac_ext=c
64559 ac_cpp='$CPP $CPPFLAGS'
64560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64563
64564
64565 fi
64566
64567 fi
64568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64569 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64570 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64571 for ac_func in at_quick_exit
64572 do :
64573 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64574 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64575 cat >>confdefs.h <<_ACEOF
64576 #define HAVE_AT_QUICK_EXIT 1
64577 _ACEOF
64578
64579 fi
64580 done
64581
64582 fi
64583
64584
64585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64586 $as_echo_n "checking for quick_exit declaration... " >&6; }
64587 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64588 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64589 $as_echo_n "(cached) " >&6
64590 else
64591
64592
64593 ac_ext=cpp
64594 ac_cpp='$CXXCPP $CPPFLAGS'
64595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64598
64599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64600 /* end confdefs.h. */
64601 #include <stdlib.h>
64602 int
64603 main ()
64604 {
64605 quick_exit(0);
64606 ;
64607 return 0;
64608 }
64609 _ACEOF
64610 if ac_fn_cxx_try_compile "$LINENO"; then :
64611 glibcxx_cv_func_quick_exit_use=yes
64612 else
64613 glibcxx_cv_func_quick_exit_use=no
64614 fi
64615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64616 ac_ext=c
64617 ac_cpp='$CPP $CPPFLAGS'
64618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64621
64622
64623 fi
64624
64625 fi
64626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64627 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64628 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64629 for ac_func in quick_exit
64630 do :
64631 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64632 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64633 cat >>confdefs.h <<_ACEOF
64634 #define HAVE_QUICK_EXIT 1
64635 _ACEOF
64636
64637 fi
64638 done
64639
64640 fi
64641
64642
64643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64644 $as_echo_n "checking for strtold declaration... " >&6; }
64645 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64646 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64647 $as_echo_n "(cached) " >&6
64648 else
64649
64650
64651 ac_ext=cpp
64652 ac_cpp='$CXXCPP $CPPFLAGS'
64653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64656
64657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64658 /* end confdefs.h. */
64659 #include <stdlib.h>
64660 int
64661 main ()
64662 {
64663 strtold(0, 0);
64664 ;
64665 return 0;
64666 }
64667 _ACEOF
64668 if ac_fn_cxx_try_compile "$LINENO"; then :
64669 glibcxx_cv_func_strtold_use=yes
64670 else
64671 glibcxx_cv_func_strtold_use=no
64672 fi
64673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64674 ac_ext=c
64675 ac_cpp='$CPP $CPPFLAGS'
64676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64679
64680
64681 fi
64682
64683 fi
64684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64685 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64686 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64687 for ac_func in strtold
64688 do :
64689 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64690 if test "x$ac_cv_func_strtold" = x""yes; then :
64691 cat >>confdefs.h <<_ACEOF
64692 #define HAVE_STRTOLD 1
64693 _ACEOF
64694
64695 fi
64696 done
64697
64698 fi
64699
64700
64701
64702
64703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64704 $as_echo_n "checking for strtof declaration... " >&6; }
64705 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64706 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64707 $as_echo_n "(cached) " >&6
64708 else
64709
64710
64711 ac_ext=cpp
64712 ac_cpp='$CXXCPP $CPPFLAGS'
64713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64716
64717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64718 /* end confdefs.h. */
64719 #include <stdlib.h>
64720 int
64721 main ()
64722 {
64723 strtof(0, 0);
64724 ;
64725 return 0;
64726 }
64727 _ACEOF
64728 if ac_fn_cxx_try_compile "$LINENO"; then :
64729 glibcxx_cv_func_strtof_use=yes
64730 else
64731 glibcxx_cv_func_strtof_use=no
64732 fi
64733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64734 ac_ext=c
64735 ac_cpp='$CPP $CPPFLAGS'
64736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64739
64740
64741 fi
64742
64743 fi
64744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64745 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64746 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64747 for ac_func in strtof
64748 do :
64749 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64750 if test "x$ac_cv_func_strtof" = x""yes; then :
64751 cat >>confdefs.h <<_ACEOF
64752 #define HAVE_STRTOF 1
64753 _ACEOF
64754
64755 fi
64756 done
64757
64758 fi
64759
64760
64761
64762
64763 CXXFLAGS="$ac_save_CXXFLAGS"
64764
64765 ;;
64766 *-netbsd*)
64767 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64768
64769
64770 # If we're not using GNU ld, then there's no point in even trying these
64771 # tests. Check for that first. We should have already tested for gld
64772 # by now (in libtool), but require it now just to be safe...
64773 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64774 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64775
64776
64777
64778 # The name set by libtool depends on the version of libtool. Shame on us
64779 # for depending on an impl detail, but c'est la vie. Older versions used
64780 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64781 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64782 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64783 # set (hence we're using an older libtool), then set it.
64784 if test x${with_gnu_ld+set} != xset; then
64785 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64786 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64787 with_gnu_ld=no
64788 else
64789 with_gnu_ld=$ac_cv_prog_gnu_ld
64790 fi
64791 fi
64792
64793 # Start by getting the version number. I think the libtool test already
64794 # does some of this, but throws away the result.
64795 glibcxx_ld_is_gold=no
64796 if test x"$with_gnu_ld" = x"yes"; then
64797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64798 $as_echo_n "checking for ld version... " >&6; }
64799
64800 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64801 glibcxx_ld_is_gold=yes
64802 fi
64803 ldver=`$LD --version 2>/dev/null |
64804 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'`
64805
64806 glibcxx_gnu_ld_version=`echo $ldver | \
64807 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64809 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64810 fi
64811
64812 # Set --gc-sections.
64813 glibcxx_have_gc_sections=no
64814 if test "$glibcxx_ld_is_gold" = "yes"; then
64815 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64816 glibcxx_have_gc_sections=yes
64817 fi
64818 else
64819 glibcxx_gcsections_min_ld=21602
64820 if test x"$with_gnu_ld" = x"yes" &&
64821 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64822 glibcxx_have_gc_sections=yes
64823 fi
64824 fi
64825 if test "$glibcxx_have_gc_sections" = "yes"; then
64826 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64827 # NB: This flag only works reliably after 2.16.1. Configure tests
64828 # for this are difficult, so hard wire a value that should work.
64829
64830 ac_test_CFLAGS="${CFLAGS+set}"
64831 ac_save_CFLAGS="$CFLAGS"
64832 CFLAGS='-Wl,--gc-sections'
64833
64834 # Check for -Wl,--gc-sections
64835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64836 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64837 if test x$gcc_no_link = xyes; then
64838 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64839 fi
64840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64841 /* end confdefs.h. */
64842 int one(void) { return 1; }
64843 int two(void) { return 2; }
64844
64845 int
64846 main ()
64847 {
64848 two();
64849 ;
64850 return 0;
64851 }
64852 _ACEOF
64853 if ac_fn_c_try_link "$LINENO"; then :
64854 ac_gcsections=yes
64855 else
64856 ac_gcsections=no
64857 fi
64858 rm -f core conftest.err conftest.$ac_objext \
64859 conftest$ac_exeext conftest.$ac_ext
64860 if test "$ac_gcsections" = "yes"; then
64861 rm -f conftest.c
64862 touch conftest.c
64863 if $CC -c conftest.c; then
64864 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64865 grep "Warning: gc-sections option ignored" > /dev/null; then
64866 ac_gcsections=no
64867 fi
64868 fi
64869 rm -f conftest.c conftest.o conftest
64870 fi
64871 if test "$ac_gcsections" = "yes"; then
64872 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64873 fi
64874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64875 $as_echo "$ac_gcsections" >&6; }
64876
64877 if test "$ac_test_CFLAGS" = set; then
64878 CFLAGS="$ac_save_CFLAGS"
64879 else
64880 # this is the suspicious part
64881 CFLAGS=''
64882 fi
64883 fi
64884
64885 # Set -z,relro.
64886 # Note this is only for shared objects.
64887 ac_ld_relro=no
64888 if test x"$with_gnu_ld" = x"yes"; then
64889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64890 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64891 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64892 if test -n "$cxx_z_relo"; then
64893 OPT_LDFLAGS="-Wl,-z,relro"
64894 ac_ld_relro=yes
64895 fi
64896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64897 $as_echo "$ac_ld_relro" >&6; }
64898 fi
64899
64900 # Set linker optimization flags.
64901 if test x"$with_gnu_ld" = x"yes"; then
64902 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64903 fi
64904
64905
64906
64907
64908 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64909
64910 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64911
64912 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64913
64914 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64915
64916 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64917
64918 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64919
64920 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64921
64922 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64923
64924 if test x"long_double_math_on_this_cpu" = x"yes"; then
64925 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64926
64927 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64928
64929 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64930
64931 fi
64932 ;;
64933 *-qnx6.1* | *-qnx6.2*)
64934 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64935
64936
64937 # If we're not using GNU ld, then there's no point in even trying these
64938 # tests. Check for that first. We should have already tested for gld
64939 # by now (in libtool), but require it now just to be safe...
64940 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64941 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64942
64943
64944
64945 # The name set by libtool depends on the version of libtool. Shame on us
64946 # for depending on an impl detail, but c'est la vie. Older versions used
64947 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64948 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64949 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64950 # set (hence we're using an older libtool), then set it.
64951 if test x${with_gnu_ld+set} != xset; then
64952 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64953 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64954 with_gnu_ld=no
64955 else
64956 with_gnu_ld=$ac_cv_prog_gnu_ld
64957 fi
64958 fi
64959
64960 # Start by getting the version number. I think the libtool test already
64961 # does some of this, but throws away the result.
64962 glibcxx_ld_is_gold=no
64963 if test x"$with_gnu_ld" = x"yes"; then
64964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64965 $as_echo_n "checking for ld version... " >&6; }
64966
64967 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64968 glibcxx_ld_is_gold=yes
64969 fi
64970 ldver=`$LD --version 2>/dev/null |
64971 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'`
64972
64973 glibcxx_gnu_ld_version=`echo $ldver | \
64974 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64976 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64977 fi
64978
64979 # Set --gc-sections.
64980 glibcxx_have_gc_sections=no
64981 if test "$glibcxx_ld_is_gold" = "yes"; then
64982 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64983 glibcxx_have_gc_sections=yes
64984 fi
64985 else
64986 glibcxx_gcsections_min_ld=21602
64987 if test x"$with_gnu_ld" = x"yes" &&
64988 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64989 glibcxx_have_gc_sections=yes
64990 fi
64991 fi
64992 if test "$glibcxx_have_gc_sections" = "yes"; then
64993 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64994 # NB: This flag only works reliably after 2.16.1. Configure tests
64995 # for this are difficult, so hard wire a value that should work.
64996
64997 ac_test_CFLAGS="${CFLAGS+set}"
64998 ac_save_CFLAGS="$CFLAGS"
64999 CFLAGS='-Wl,--gc-sections'
65000
65001 # Check for -Wl,--gc-sections
65002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65003 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65004 if test x$gcc_no_link = xyes; then
65005 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65006 fi
65007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65008 /* end confdefs.h. */
65009 int one(void) { return 1; }
65010 int two(void) { return 2; }
65011
65012 int
65013 main ()
65014 {
65015 two();
65016 ;
65017 return 0;
65018 }
65019 _ACEOF
65020 if ac_fn_c_try_link "$LINENO"; then :
65021 ac_gcsections=yes
65022 else
65023 ac_gcsections=no
65024 fi
65025 rm -f core conftest.err conftest.$ac_objext \
65026 conftest$ac_exeext conftest.$ac_ext
65027 if test "$ac_gcsections" = "yes"; then
65028 rm -f conftest.c
65029 touch conftest.c
65030 if $CC -c conftest.c; then
65031 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65032 grep "Warning: gc-sections option ignored" > /dev/null; then
65033 ac_gcsections=no
65034 fi
65035 fi
65036 rm -f conftest.c conftest.o conftest
65037 fi
65038 if test "$ac_gcsections" = "yes"; then
65039 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65040 fi
65041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65042 $as_echo "$ac_gcsections" >&6; }
65043
65044 if test "$ac_test_CFLAGS" = set; then
65045 CFLAGS="$ac_save_CFLAGS"
65046 else
65047 # this is the suspicious part
65048 CFLAGS=''
65049 fi
65050 fi
65051
65052 # Set -z,relro.
65053 # Note this is only for shared objects.
65054 ac_ld_relro=no
65055 if test x"$with_gnu_ld" = x"yes"; then
65056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65057 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65058 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65059 if test -n "$cxx_z_relo"; then
65060 OPT_LDFLAGS="-Wl,-z,relro"
65061 ac_ld_relro=yes
65062 fi
65063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65064 $as_echo "$ac_ld_relro" >&6; }
65065 fi
65066
65067 # Set linker optimization flags.
65068 if test x"$with_gnu_ld" = x"yes"; then
65069 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65070 fi
65071
65072
65073
65074
65075 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65076
65077 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65078
65079 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65080
65081 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65082
65083 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65084
65085 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65086
65087 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65088
65089 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65090
65091 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65092
65093 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65094
65095 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65096
65097 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65098
65099 ;;
65100 *-rtems*)
65101
65102 # All these tests are for C++; save the language and the compiler flags.
65103 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65104 # found in GLIBCXX_CONFIGURE.
65105
65106 ac_ext=cpp
65107 ac_cpp='$CXXCPP $CPPFLAGS'
65108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65111
65112 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65113 ac_save_CXXFLAGS="$CXXFLAGS"
65114
65115 # Check for maintainer-mode bits.
65116 if test x"$USE_MAINTAINER_MODE" = xno; then
65117 WERROR=''
65118 else
65119 WERROR='-Werror'
65120 fi
65121
65122 # Check for -ffunction-sections -fdata-sections
65123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65124 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65125 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65127 /* end confdefs.h. */
65128 int foo; void bar() { };
65129 int
65130 main ()
65131 {
65132
65133 ;
65134 return 0;
65135 }
65136 _ACEOF
65137 if ac_fn_cxx_try_compile "$LINENO"; then :
65138 ac_fdsections=yes
65139 else
65140 ac_fdsections=no
65141 fi
65142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65143 if test "$ac_test_CXXFLAGS" = set; then
65144 CXXFLAGS="$ac_save_CXXFLAGS"
65145 else
65146 # this is the suspicious part
65147 CXXFLAGS=''
65148 fi
65149 if test x"$ac_fdsections" = x"yes"; then
65150 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65151 fi
65152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65153 $as_echo "$ac_fdsections" >&6; }
65154
65155 ac_ext=c
65156 ac_cpp='$CPP $CPPFLAGS'
65157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65160
65161
65162
65163
65164
65165 # If we're not using GNU ld, then there's no point in even trying these
65166 # tests. Check for that first. We should have already tested for gld
65167 # by now (in libtool), but require it now just to be safe...
65168 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65169 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65170
65171
65172
65173 # The name set by libtool depends on the version of libtool. Shame on us
65174 # for depending on an impl detail, but c'est la vie. Older versions used
65175 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65176 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65177 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65178 # set (hence we're using an older libtool), then set it.
65179 if test x${with_gnu_ld+set} != xset; then
65180 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65181 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65182 with_gnu_ld=no
65183 else
65184 with_gnu_ld=$ac_cv_prog_gnu_ld
65185 fi
65186 fi
65187
65188 # Start by getting the version number. I think the libtool test already
65189 # does some of this, but throws away the result.
65190 glibcxx_ld_is_gold=no
65191 if test x"$with_gnu_ld" = x"yes"; then
65192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65193 $as_echo_n "checking for ld version... " >&6; }
65194
65195 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65196 glibcxx_ld_is_gold=yes
65197 fi
65198 ldver=`$LD --version 2>/dev/null |
65199 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'`
65200
65201 glibcxx_gnu_ld_version=`echo $ldver | \
65202 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65204 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65205 fi
65206
65207 # Set --gc-sections.
65208 glibcxx_have_gc_sections=no
65209 if test "$glibcxx_ld_is_gold" = "yes"; then
65210 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65211 glibcxx_have_gc_sections=yes
65212 fi
65213 else
65214 glibcxx_gcsections_min_ld=21602
65215 if test x"$with_gnu_ld" = x"yes" &&
65216 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65217 glibcxx_have_gc_sections=yes
65218 fi
65219 fi
65220 if test "$glibcxx_have_gc_sections" = "yes"; then
65221 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65222 # NB: This flag only works reliably after 2.16.1. Configure tests
65223 # for this are difficult, so hard wire a value that should work.
65224
65225 ac_test_CFLAGS="${CFLAGS+set}"
65226 ac_save_CFLAGS="$CFLAGS"
65227 CFLAGS='-Wl,--gc-sections'
65228
65229 # Check for -Wl,--gc-sections
65230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65231 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65232 if test x$gcc_no_link = xyes; then
65233 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65234 fi
65235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65236 /* end confdefs.h. */
65237 int one(void) { return 1; }
65238 int two(void) { return 2; }
65239
65240 int
65241 main ()
65242 {
65243 two();
65244 ;
65245 return 0;
65246 }
65247 _ACEOF
65248 if ac_fn_c_try_link "$LINENO"; then :
65249 ac_gcsections=yes
65250 else
65251 ac_gcsections=no
65252 fi
65253 rm -f core conftest.err conftest.$ac_objext \
65254 conftest$ac_exeext conftest.$ac_ext
65255 if test "$ac_gcsections" = "yes"; then
65256 rm -f conftest.c
65257 touch conftest.c
65258 if $CC -c conftest.c; then
65259 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65260 grep "Warning: gc-sections option ignored" > /dev/null; then
65261 ac_gcsections=no
65262 fi
65263 fi
65264 rm -f conftest.c conftest.o conftest
65265 fi
65266 if test "$ac_gcsections" = "yes"; then
65267 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65268 fi
65269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65270 $as_echo "$ac_gcsections" >&6; }
65271
65272 if test "$ac_test_CFLAGS" = set; then
65273 CFLAGS="$ac_save_CFLAGS"
65274 else
65275 # this is the suspicious part
65276 CFLAGS=''
65277 fi
65278 fi
65279
65280 # Set -z,relro.
65281 # Note this is only for shared objects.
65282 ac_ld_relro=no
65283 if test x"$with_gnu_ld" = x"yes"; then
65284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65285 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65286 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65287 if test -n "$cxx_z_relo"; then
65288 OPT_LDFLAGS="-Wl,-z,relro"
65289 ac_ld_relro=yes
65290 fi
65291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65292 $as_echo "$ac_ld_relro" >&6; }
65293 fi
65294
65295 # Set linker optimization flags.
65296 if test x"$with_gnu_ld" = x"yes"; then
65297 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65298 fi
65299
65300
65301
65302
65303
65304 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65305 ac_save_CXXFLAGS="$CXXFLAGS"
65306 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65307
65308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65309 $as_echo_n "checking for sin in -lm... " >&6; }
65310 if test "${ac_cv_lib_m_sin+set}" = set; then :
65311 $as_echo_n "(cached) " >&6
65312 else
65313 ac_check_lib_save_LIBS=$LIBS
65314 LIBS="-lm $LIBS"
65315 if test x$gcc_no_link = xyes; then
65316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65317 fi
65318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65319 /* end confdefs.h. */
65320
65321 /* Override any GCC internal prototype to avoid an error.
65322 Use char because int might match the return type of a GCC
65323 builtin and then its argument prototype would still apply. */
65324 #ifdef __cplusplus
65325 extern "C"
65326 #endif
65327 char sin ();
65328 int
65329 main ()
65330 {
65331 return sin ();
65332 ;
65333 return 0;
65334 }
65335 _ACEOF
65336 if ac_fn_c_try_link "$LINENO"; then :
65337 ac_cv_lib_m_sin=yes
65338 else
65339 ac_cv_lib_m_sin=no
65340 fi
65341 rm -f core conftest.err conftest.$ac_objext \
65342 conftest$ac_exeext conftest.$ac_ext
65343 LIBS=$ac_check_lib_save_LIBS
65344 fi
65345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65346 $as_echo "$ac_cv_lib_m_sin" >&6; }
65347 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65348 libm="-lm"
65349 fi
65350
65351 ac_save_LIBS="$LIBS"
65352 LIBS="$LIBS $libm"
65353
65354
65355
65356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65357 $as_echo_n "checking for isinf declaration... " >&6; }
65358 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65359 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65360 $as_echo_n "(cached) " >&6
65361 else
65362
65363
65364 ac_ext=cpp
65365 ac_cpp='$CXXCPP $CPPFLAGS'
65366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65369
65370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65371 /* end confdefs.h. */
65372 #include <math.h>
65373 #ifdef HAVE_IEEEFP_H
65374 #include <ieeefp.h>
65375 #endif
65376
65377 int
65378 main ()
65379 {
65380 isinf(0);
65381 ;
65382 return 0;
65383 }
65384 _ACEOF
65385 if ac_fn_cxx_try_compile "$LINENO"; then :
65386 glibcxx_cv_func_isinf_use=yes
65387 else
65388 glibcxx_cv_func_isinf_use=no
65389 fi
65390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65391 ac_ext=c
65392 ac_cpp='$CPP $CPPFLAGS'
65393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65396
65397
65398 fi
65399
65400 fi
65401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65402 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65403
65404 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65405 for ac_func in isinf
65406 do :
65407 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65408 if test "x$ac_cv_func_isinf" = x""yes; then :
65409 cat >>confdefs.h <<_ACEOF
65410 #define HAVE_ISINF 1
65411 _ACEOF
65412
65413 fi
65414 done
65415
65416 else
65417
65418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65419 $as_echo_n "checking for _isinf declaration... " >&6; }
65420 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65421 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65422 $as_echo_n "(cached) " >&6
65423 else
65424
65425
65426 ac_ext=cpp
65427 ac_cpp='$CXXCPP $CPPFLAGS'
65428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65431
65432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65433 /* end confdefs.h. */
65434 #include <math.h>
65435 #ifdef HAVE_IEEEFP_H
65436 #include <ieeefp.h>
65437 #endif
65438
65439 int
65440 main ()
65441 {
65442 _isinf(0);
65443 ;
65444 return 0;
65445 }
65446 _ACEOF
65447 if ac_fn_cxx_try_compile "$LINENO"; then :
65448 glibcxx_cv_func__isinf_use=yes
65449 else
65450 glibcxx_cv_func__isinf_use=no
65451 fi
65452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65453 ac_ext=c
65454 ac_cpp='$CPP $CPPFLAGS'
65455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65458
65459
65460 fi
65461
65462 fi
65463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65464 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65465
65466 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65467 for ac_func in _isinf
65468 do :
65469 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65470 if test "x$ac_cv_func__isinf" = x""yes; then :
65471 cat >>confdefs.h <<_ACEOF
65472 #define HAVE__ISINF 1
65473 _ACEOF
65474
65475 fi
65476 done
65477
65478 fi
65479 fi
65480
65481
65482
65483
65484
65485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65486 $as_echo_n "checking for isnan declaration... " >&6; }
65487 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65488 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65489 $as_echo_n "(cached) " >&6
65490 else
65491
65492
65493 ac_ext=cpp
65494 ac_cpp='$CXXCPP $CPPFLAGS'
65495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65498
65499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65500 /* end confdefs.h. */
65501 #include <math.h>
65502 #ifdef HAVE_IEEEFP_H
65503 #include <ieeefp.h>
65504 #endif
65505
65506 int
65507 main ()
65508 {
65509 isnan(0);
65510 ;
65511 return 0;
65512 }
65513 _ACEOF
65514 if ac_fn_cxx_try_compile "$LINENO"; then :
65515 glibcxx_cv_func_isnan_use=yes
65516 else
65517 glibcxx_cv_func_isnan_use=no
65518 fi
65519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65520 ac_ext=c
65521 ac_cpp='$CPP $CPPFLAGS'
65522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65525
65526
65527 fi
65528
65529 fi
65530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65531 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65532
65533 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65534 for ac_func in isnan
65535 do :
65536 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65537 if test "x$ac_cv_func_isnan" = x""yes; then :
65538 cat >>confdefs.h <<_ACEOF
65539 #define HAVE_ISNAN 1
65540 _ACEOF
65541
65542 fi
65543 done
65544
65545 else
65546
65547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65548 $as_echo_n "checking for _isnan declaration... " >&6; }
65549 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65550 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65551 $as_echo_n "(cached) " >&6
65552 else
65553
65554
65555 ac_ext=cpp
65556 ac_cpp='$CXXCPP $CPPFLAGS'
65557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65560
65561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65562 /* end confdefs.h. */
65563 #include <math.h>
65564 #ifdef HAVE_IEEEFP_H
65565 #include <ieeefp.h>
65566 #endif
65567
65568 int
65569 main ()
65570 {
65571 _isnan(0);
65572 ;
65573 return 0;
65574 }
65575 _ACEOF
65576 if ac_fn_cxx_try_compile "$LINENO"; then :
65577 glibcxx_cv_func__isnan_use=yes
65578 else
65579 glibcxx_cv_func__isnan_use=no
65580 fi
65581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65582 ac_ext=c
65583 ac_cpp='$CPP $CPPFLAGS'
65584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65587
65588
65589 fi
65590
65591 fi
65592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65593 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65594
65595 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65596 for ac_func in _isnan
65597 do :
65598 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65599 if test "x$ac_cv_func__isnan" = x""yes; then :
65600 cat >>confdefs.h <<_ACEOF
65601 #define HAVE__ISNAN 1
65602 _ACEOF
65603
65604 fi
65605 done
65606
65607 fi
65608 fi
65609
65610
65611
65612
65613
65614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65615 $as_echo_n "checking for finite declaration... " >&6; }
65616 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65617 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65618 $as_echo_n "(cached) " >&6
65619 else
65620
65621
65622 ac_ext=cpp
65623 ac_cpp='$CXXCPP $CPPFLAGS'
65624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65627
65628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65629 /* end confdefs.h. */
65630 #include <math.h>
65631 #ifdef HAVE_IEEEFP_H
65632 #include <ieeefp.h>
65633 #endif
65634
65635 int
65636 main ()
65637 {
65638 finite(0);
65639 ;
65640 return 0;
65641 }
65642 _ACEOF
65643 if ac_fn_cxx_try_compile "$LINENO"; then :
65644 glibcxx_cv_func_finite_use=yes
65645 else
65646 glibcxx_cv_func_finite_use=no
65647 fi
65648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65649 ac_ext=c
65650 ac_cpp='$CPP $CPPFLAGS'
65651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65654
65655
65656 fi
65657
65658 fi
65659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65660 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65661
65662 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65663 for ac_func in finite
65664 do :
65665 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65666 if test "x$ac_cv_func_finite" = x""yes; then :
65667 cat >>confdefs.h <<_ACEOF
65668 #define HAVE_FINITE 1
65669 _ACEOF
65670
65671 fi
65672 done
65673
65674 else
65675
65676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65677 $as_echo_n "checking for _finite declaration... " >&6; }
65678 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65679 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65680 $as_echo_n "(cached) " >&6
65681 else
65682
65683
65684 ac_ext=cpp
65685 ac_cpp='$CXXCPP $CPPFLAGS'
65686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65689
65690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65691 /* end confdefs.h. */
65692 #include <math.h>
65693 #ifdef HAVE_IEEEFP_H
65694 #include <ieeefp.h>
65695 #endif
65696
65697 int
65698 main ()
65699 {
65700 _finite(0);
65701 ;
65702 return 0;
65703 }
65704 _ACEOF
65705 if ac_fn_cxx_try_compile "$LINENO"; then :
65706 glibcxx_cv_func__finite_use=yes
65707 else
65708 glibcxx_cv_func__finite_use=no
65709 fi
65710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65711 ac_ext=c
65712 ac_cpp='$CPP $CPPFLAGS'
65713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65716
65717
65718 fi
65719
65720 fi
65721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65722 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65723
65724 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65725 for ac_func in _finite
65726 do :
65727 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65728 if test "x$ac_cv_func__finite" = x""yes; then :
65729 cat >>confdefs.h <<_ACEOF
65730 #define HAVE__FINITE 1
65731 _ACEOF
65732
65733 fi
65734 done
65735
65736 fi
65737 fi
65738
65739
65740
65741
65742
65743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65744 $as_echo_n "checking for sincos declaration... " >&6; }
65745 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65746 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65747 $as_echo_n "(cached) " >&6
65748 else
65749
65750
65751 ac_ext=cpp
65752 ac_cpp='$CXXCPP $CPPFLAGS'
65753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65756
65757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65758 /* end confdefs.h. */
65759 #include <math.h>
65760 int
65761 main ()
65762 {
65763 sincos(0, 0, 0);
65764 ;
65765 return 0;
65766 }
65767 _ACEOF
65768 if ac_fn_cxx_try_compile "$LINENO"; then :
65769 glibcxx_cv_func_sincos_use=yes
65770 else
65771 glibcxx_cv_func_sincos_use=no
65772 fi
65773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65774 ac_ext=c
65775 ac_cpp='$CPP $CPPFLAGS'
65776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65779
65780
65781 fi
65782
65783 fi
65784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65785 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65786
65787 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65788 for ac_func in sincos
65789 do :
65790 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65791 if test "x$ac_cv_func_sincos" = x""yes; then :
65792 cat >>confdefs.h <<_ACEOF
65793 #define HAVE_SINCOS 1
65794 _ACEOF
65795
65796 fi
65797 done
65798
65799 else
65800
65801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65802 $as_echo_n "checking for _sincos declaration... " >&6; }
65803 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65804 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65805 $as_echo_n "(cached) " >&6
65806 else
65807
65808
65809 ac_ext=cpp
65810 ac_cpp='$CXXCPP $CPPFLAGS'
65811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65814
65815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65816 /* end confdefs.h. */
65817 #include <math.h>
65818 int
65819 main ()
65820 {
65821 _sincos(0, 0, 0);
65822 ;
65823 return 0;
65824 }
65825 _ACEOF
65826 if ac_fn_cxx_try_compile "$LINENO"; then :
65827 glibcxx_cv_func__sincos_use=yes
65828 else
65829 glibcxx_cv_func__sincos_use=no
65830 fi
65831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65832 ac_ext=c
65833 ac_cpp='$CPP $CPPFLAGS'
65834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65837
65838
65839 fi
65840
65841 fi
65842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65843 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65844
65845 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65846 for ac_func in _sincos
65847 do :
65848 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65849 if test "x$ac_cv_func__sincos" = x""yes; then :
65850 cat >>confdefs.h <<_ACEOF
65851 #define HAVE__SINCOS 1
65852 _ACEOF
65853
65854 fi
65855 done
65856
65857 fi
65858 fi
65859
65860
65861
65862
65863
65864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65865 $as_echo_n "checking for fpclass declaration... " >&6; }
65866 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65867 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65868 $as_echo_n "(cached) " >&6
65869 else
65870
65871
65872 ac_ext=cpp
65873 ac_cpp='$CXXCPP $CPPFLAGS'
65874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65877
65878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65879 /* end confdefs.h. */
65880 #include <math.h>
65881 #ifdef HAVE_IEEEFP_H
65882 #include <ieeefp.h>
65883 #endif
65884
65885 int
65886 main ()
65887 {
65888 fpclass(0);
65889 ;
65890 return 0;
65891 }
65892 _ACEOF
65893 if ac_fn_cxx_try_compile "$LINENO"; then :
65894 glibcxx_cv_func_fpclass_use=yes
65895 else
65896 glibcxx_cv_func_fpclass_use=no
65897 fi
65898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65899 ac_ext=c
65900 ac_cpp='$CPP $CPPFLAGS'
65901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65904
65905
65906 fi
65907
65908 fi
65909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65910 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65911
65912 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65913 for ac_func in fpclass
65914 do :
65915 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65916 if test "x$ac_cv_func_fpclass" = x""yes; then :
65917 cat >>confdefs.h <<_ACEOF
65918 #define HAVE_FPCLASS 1
65919 _ACEOF
65920
65921 fi
65922 done
65923
65924 else
65925
65926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65927 $as_echo_n "checking for _fpclass declaration... " >&6; }
65928 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65929 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65930 $as_echo_n "(cached) " >&6
65931 else
65932
65933
65934 ac_ext=cpp
65935 ac_cpp='$CXXCPP $CPPFLAGS'
65936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65939
65940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65941 /* end confdefs.h. */
65942 #include <math.h>
65943 #ifdef HAVE_IEEEFP_H
65944 #include <ieeefp.h>
65945 #endif
65946
65947 int
65948 main ()
65949 {
65950 _fpclass(0);
65951 ;
65952 return 0;
65953 }
65954 _ACEOF
65955 if ac_fn_cxx_try_compile "$LINENO"; then :
65956 glibcxx_cv_func__fpclass_use=yes
65957 else
65958 glibcxx_cv_func__fpclass_use=no
65959 fi
65960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65961 ac_ext=c
65962 ac_cpp='$CPP $CPPFLAGS'
65963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65966
65967
65968 fi
65969
65970 fi
65971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65972 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65973
65974 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65975 for ac_func in _fpclass
65976 do :
65977 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65978 if test "x$ac_cv_func__fpclass" = x""yes; then :
65979 cat >>confdefs.h <<_ACEOF
65980 #define HAVE__FPCLASS 1
65981 _ACEOF
65982
65983 fi
65984 done
65985
65986 fi
65987 fi
65988
65989
65990
65991
65992
65993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65994 $as_echo_n "checking for qfpclass declaration... " >&6; }
65995 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65996 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65997 $as_echo_n "(cached) " >&6
65998 else
65999
66000
66001 ac_ext=cpp
66002 ac_cpp='$CXXCPP $CPPFLAGS'
66003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66006
66007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66008 /* end confdefs.h. */
66009 #include <math.h>
66010 #ifdef HAVE_IEEEFP_H
66011 #include <ieeefp.h>
66012 #endif
66013
66014 int
66015 main ()
66016 {
66017 qfpclass(0);
66018 ;
66019 return 0;
66020 }
66021 _ACEOF
66022 if ac_fn_cxx_try_compile "$LINENO"; then :
66023 glibcxx_cv_func_qfpclass_use=yes
66024 else
66025 glibcxx_cv_func_qfpclass_use=no
66026 fi
66027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66028 ac_ext=c
66029 ac_cpp='$CPP $CPPFLAGS'
66030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66033
66034
66035 fi
66036
66037 fi
66038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66039 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66040
66041 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66042 for ac_func in qfpclass
66043 do :
66044 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66045 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66046 cat >>confdefs.h <<_ACEOF
66047 #define HAVE_QFPCLASS 1
66048 _ACEOF
66049
66050 fi
66051 done
66052
66053 else
66054
66055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66056 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66057 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66058 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66059 $as_echo_n "(cached) " >&6
66060 else
66061
66062
66063 ac_ext=cpp
66064 ac_cpp='$CXXCPP $CPPFLAGS'
66065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66068
66069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66070 /* end confdefs.h. */
66071 #include <math.h>
66072 #ifdef HAVE_IEEEFP_H
66073 #include <ieeefp.h>
66074 #endif
66075
66076 int
66077 main ()
66078 {
66079 _qfpclass(0);
66080 ;
66081 return 0;
66082 }
66083 _ACEOF
66084 if ac_fn_cxx_try_compile "$LINENO"; then :
66085 glibcxx_cv_func__qfpclass_use=yes
66086 else
66087 glibcxx_cv_func__qfpclass_use=no
66088 fi
66089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66090 ac_ext=c
66091 ac_cpp='$CPP $CPPFLAGS'
66092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66095
66096
66097 fi
66098
66099 fi
66100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66101 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66102
66103 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66104 for ac_func in _qfpclass
66105 do :
66106 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66107 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66108 cat >>confdefs.h <<_ACEOF
66109 #define HAVE__QFPCLASS 1
66110 _ACEOF
66111
66112 fi
66113 done
66114
66115 fi
66116 fi
66117
66118
66119
66120
66121
66122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66123 $as_echo_n "checking for hypot declaration... " >&6; }
66124 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66125 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66126 $as_echo_n "(cached) " >&6
66127 else
66128
66129
66130 ac_ext=cpp
66131 ac_cpp='$CXXCPP $CPPFLAGS'
66132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66135
66136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66137 /* end confdefs.h. */
66138 #include <math.h>
66139 int
66140 main ()
66141 {
66142 hypot(0, 0);
66143 ;
66144 return 0;
66145 }
66146 _ACEOF
66147 if ac_fn_cxx_try_compile "$LINENO"; then :
66148 glibcxx_cv_func_hypot_use=yes
66149 else
66150 glibcxx_cv_func_hypot_use=no
66151 fi
66152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66153 ac_ext=c
66154 ac_cpp='$CPP $CPPFLAGS'
66155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66158
66159
66160 fi
66161
66162 fi
66163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66164 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66165
66166 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66167 for ac_func in hypot
66168 do :
66169 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66170 if test "x$ac_cv_func_hypot" = x""yes; then :
66171 cat >>confdefs.h <<_ACEOF
66172 #define HAVE_HYPOT 1
66173 _ACEOF
66174
66175 fi
66176 done
66177
66178 else
66179
66180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66181 $as_echo_n "checking for _hypot declaration... " >&6; }
66182 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66183 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66184 $as_echo_n "(cached) " >&6
66185 else
66186
66187
66188 ac_ext=cpp
66189 ac_cpp='$CXXCPP $CPPFLAGS'
66190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66193
66194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66195 /* end confdefs.h. */
66196 #include <math.h>
66197 int
66198 main ()
66199 {
66200 _hypot(0, 0);
66201 ;
66202 return 0;
66203 }
66204 _ACEOF
66205 if ac_fn_cxx_try_compile "$LINENO"; then :
66206 glibcxx_cv_func__hypot_use=yes
66207 else
66208 glibcxx_cv_func__hypot_use=no
66209 fi
66210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66211 ac_ext=c
66212 ac_cpp='$CPP $CPPFLAGS'
66213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66216
66217
66218 fi
66219
66220 fi
66221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66222 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66223
66224 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66225 for ac_func in _hypot
66226 do :
66227 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66228 if test "x$ac_cv_func__hypot" = x""yes; then :
66229 cat >>confdefs.h <<_ACEOF
66230 #define HAVE__HYPOT 1
66231 _ACEOF
66232
66233 fi
66234 done
66235
66236 fi
66237 fi
66238
66239
66240
66241
66242
66243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66244 $as_echo_n "checking for float trig functions... " >&6; }
66245 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66246 $as_echo_n "(cached) " >&6
66247 else
66248
66249
66250 ac_ext=cpp
66251 ac_cpp='$CXXCPP $CPPFLAGS'
66252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66255
66256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66257 /* end confdefs.h. */
66258 #include <math.h>
66259 int
66260 main ()
66261 {
66262 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66263 ;
66264 return 0;
66265 }
66266 _ACEOF
66267 if ac_fn_cxx_try_compile "$LINENO"; then :
66268 glibcxx_cv_func_float_trig_use=yes
66269 else
66270 glibcxx_cv_func_float_trig_use=no
66271 fi
66272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66273 ac_ext=c
66274 ac_cpp='$CPP $CPPFLAGS'
66275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66278
66279 fi
66280
66281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66282 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66283 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66284 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66285 do :
66286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66288 eval as_val=\$$as_ac_var
66289 if test "x$as_val" = x""yes; then :
66290 cat >>confdefs.h <<_ACEOF
66291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66292 _ACEOF
66293
66294 fi
66295 done
66296
66297 else
66298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66299 $as_echo_n "checking for _float trig functions... " >&6; }
66300 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66301 $as_echo_n "(cached) " >&6
66302 else
66303
66304
66305 ac_ext=cpp
66306 ac_cpp='$CXXCPP $CPPFLAGS'
66307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66310
66311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66312 /* end confdefs.h. */
66313 #include <math.h>
66314 int
66315 main ()
66316 {
66317 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66318 ;
66319 return 0;
66320 }
66321 _ACEOF
66322 if ac_fn_cxx_try_compile "$LINENO"; then :
66323 glibcxx_cv_func__float_trig_use=yes
66324 else
66325 glibcxx_cv_func__float_trig_use=no
66326 fi
66327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66328 ac_ext=c
66329 ac_cpp='$CPP $CPPFLAGS'
66330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66333
66334 fi
66335
66336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66337 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66338 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66339 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66340 do :
66341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66343 eval as_val=\$$as_ac_var
66344 if test "x$as_val" = x""yes; then :
66345 cat >>confdefs.h <<_ACEOF
66346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66347 _ACEOF
66348
66349 fi
66350 done
66351
66352 fi
66353 fi
66354
66355
66356
66357
66358
66359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66360 $as_echo_n "checking for float round functions... " >&6; }
66361 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66362 $as_echo_n "(cached) " >&6
66363 else
66364
66365
66366 ac_ext=cpp
66367 ac_cpp='$CXXCPP $CPPFLAGS'
66368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66371
66372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66373 /* end confdefs.h. */
66374 #include <math.h>
66375 int
66376 main ()
66377 {
66378 ceilf (0); floorf (0);
66379 ;
66380 return 0;
66381 }
66382 _ACEOF
66383 if ac_fn_cxx_try_compile "$LINENO"; then :
66384 glibcxx_cv_func_float_round_use=yes
66385 else
66386 glibcxx_cv_func_float_round_use=no
66387 fi
66388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66389 ac_ext=c
66390 ac_cpp='$CPP $CPPFLAGS'
66391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66394
66395 fi
66396
66397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66398 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66399 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66400 for ac_func in ceilf floorf
66401 do :
66402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66404 eval as_val=\$$as_ac_var
66405 if test "x$as_val" = x""yes; then :
66406 cat >>confdefs.h <<_ACEOF
66407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66408 _ACEOF
66409
66410 fi
66411 done
66412
66413 else
66414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66415 $as_echo_n "checking for _float round functions... " >&6; }
66416 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66417 $as_echo_n "(cached) " >&6
66418 else
66419
66420
66421 ac_ext=cpp
66422 ac_cpp='$CXXCPP $CPPFLAGS'
66423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66426
66427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66428 /* end confdefs.h. */
66429 #include <math.h>
66430 int
66431 main ()
66432 {
66433 _ceilf (0); _floorf (0);
66434 ;
66435 return 0;
66436 }
66437 _ACEOF
66438 if ac_fn_cxx_try_compile "$LINENO"; then :
66439 glibcxx_cv_func__float_round_use=yes
66440 else
66441 glibcxx_cv_func__float_round_use=no
66442 fi
66443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66444 ac_ext=c
66445 ac_cpp='$CPP $CPPFLAGS'
66446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66449
66450 fi
66451
66452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66453 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66454 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66455 for ac_func in _ceilf _floorf
66456 do :
66457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66459 eval as_val=\$$as_ac_var
66460 if test "x$as_val" = x""yes; then :
66461 cat >>confdefs.h <<_ACEOF
66462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66463 _ACEOF
66464
66465 fi
66466 done
66467
66468 fi
66469 fi
66470
66471
66472
66473
66474
66475
66476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66477 $as_echo_n "checking for expf declaration... " >&6; }
66478 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66479 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66480 $as_echo_n "(cached) " >&6
66481 else
66482
66483
66484 ac_ext=cpp
66485 ac_cpp='$CXXCPP $CPPFLAGS'
66486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66489
66490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66491 /* end confdefs.h. */
66492 #include <math.h>
66493 #ifdef HAVE_IEEEFP_H
66494 #include <ieeefp.h>
66495 #endif
66496
66497 int
66498 main ()
66499 {
66500 expf(0);
66501 ;
66502 return 0;
66503 }
66504 _ACEOF
66505 if ac_fn_cxx_try_compile "$LINENO"; then :
66506 glibcxx_cv_func_expf_use=yes
66507 else
66508 glibcxx_cv_func_expf_use=no
66509 fi
66510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66511 ac_ext=c
66512 ac_cpp='$CPP $CPPFLAGS'
66513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66516
66517
66518 fi
66519
66520 fi
66521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66522 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66523
66524 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66525 for ac_func in expf
66526 do :
66527 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66528 if test "x$ac_cv_func_expf" = x""yes; then :
66529 cat >>confdefs.h <<_ACEOF
66530 #define HAVE_EXPF 1
66531 _ACEOF
66532
66533 fi
66534 done
66535
66536 else
66537
66538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66539 $as_echo_n "checking for _expf declaration... " >&6; }
66540 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66541 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66542 $as_echo_n "(cached) " >&6
66543 else
66544
66545
66546 ac_ext=cpp
66547 ac_cpp='$CXXCPP $CPPFLAGS'
66548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66551
66552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66553 /* end confdefs.h. */
66554 #include <math.h>
66555 #ifdef HAVE_IEEEFP_H
66556 #include <ieeefp.h>
66557 #endif
66558
66559 int
66560 main ()
66561 {
66562 _expf(0);
66563 ;
66564 return 0;
66565 }
66566 _ACEOF
66567 if ac_fn_cxx_try_compile "$LINENO"; then :
66568 glibcxx_cv_func__expf_use=yes
66569 else
66570 glibcxx_cv_func__expf_use=no
66571 fi
66572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66573 ac_ext=c
66574 ac_cpp='$CPP $CPPFLAGS'
66575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66578
66579
66580 fi
66581
66582 fi
66583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66584 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66585
66586 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66587 for ac_func in _expf
66588 do :
66589 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66590 if test "x$ac_cv_func__expf" = x""yes; then :
66591 cat >>confdefs.h <<_ACEOF
66592 #define HAVE__EXPF 1
66593 _ACEOF
66594
66595 fi
66596 done
66597
66598 fi
66599 fi
66600
66601
66602
66603
66604
66605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66606 $as_echo_n "checking for isnanf declaration... " >&6; }
66607 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66608 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66609 $as_echo_n "(cached) " >&6
66610 else
66611
66612
66613 ac_ext=cpp
66614 ac_cpp='$CXXCPP $CPPFLAGS'
66615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66618
66619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66620 /* end confdefs.h. */
66621 #include <math.h>
66622 #ifdef HAVE_IEEEFP_H
66623 #include <ieeefp.h>
66624 #endif
66625
66626 int
66627 main ()
66628 {
66629 isnanf(0);
66630 ;
66631 return 0;
66632 }
66633 _ACEOF
66634 if ac_fn_cxx_try_compile "$LINENO"; then :
66635 glibcxx_cv_func_isnanf_use=yes
66636 else
66637 glibcxx_cv_func_isnanf_use=no
66638 fi
66639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66640 ac_ext=c
66641 ac_cpp='$CPP $CPPFLAGS'
66642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66645
66646
66647 fi
66648
66649 fi
66650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66651 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66652
66653 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66654 for ac_func in isnanf
66655 do :
66656 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66657 if test "x$ac_cv_func_isnanf" = x""yes; then :
66658 cat >>confdefs.h <<_ACEOF
66659 #define HAVE_ISNANF 1
66660 _ACEOF
66661
66662 fi
66663 done
66664
66665 else
66666
66667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66668 $as_echo_n "checking for _isnanf declaration... " >&6; }
66669 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66670 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66671 $as_echo_n "(cached) " >&6
66672 else
66673
66674
66675 ac_ext=cpp
66676 ac_cpp='$CXXCPP $CPPFLAGS'
66677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66680
66681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66682 /* end confdefs.h. */
66683 #include <math.h>
66684 #ifdef HAVE_IEEEFP_H
66685 #include <ieeefp.h>
66686 #endif
66687
66688 int
66689 main ()
66690 {
66691 _isnanf(0);
66692 ;
66693 return 0;
66694 }
66695 _ACEOF
66696 if ac_fn_cxx_try_compile "$LINENO"; then :
66697 glibcxx_cv_func__isnanf_use=yes
66698 else
66699 glibcxx_cv_func__isnanf_use=no
66700 fi
66701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66702 ac_ext=c
66703 ac_cpp='$CPP $CPPFLAGS'
66704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66707
66708
66709 fi
66710
66711 fi
66712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66713 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66714
66715 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66716 for ac_func in _isnanf
66717 do :
66718 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66719 if test "x$ac_cv_func__isnanf" = x""yes; then :
66720 cat >>confdefs.h <<_ACEOF
66721 #define HAVE__ISNANF 1
66722 _ACEOF
66723
66724 fi
66725 done
66726
66727 fi
66728 fi
66729
66730
66731
66732
66733
66734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66735 $as_echo_n "checking for isinff declaration... " >&6; }
66736 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66737 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66738 $as_echo_n "(cached) " >&6
66739 else
66740
66741
66742 ac_ext=cpp
66743 ac_cpp='$CXXCPP $CPPFLAGS'
66744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66747
66748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66749 /* end confdefs.h. */
66750 #include <math.h>
66751 #ifdef HAVE_IEEEFP_H
66752 #include <ieeefp.h>
66753 #endif
66754
66755 int
66756 main ()
66757 {
66758 isinff(0);
66759 ;
66760 return 0;
66761 }
66762 _ACEOF
66763 if ac_fn_cxx_try_compile "$LINENO"; then :
66764 glibcxx_cv_func_isinff_use=yes
66765 else
66766 glibcxx_cv_func_isinff_use=no
66767 fi
66768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66769 ac_ext=c
66770 ac_cpp='$CPP $CPPFLAGS'
66771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66774
66775
66776 fi
66777
66778 fi
66779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66780 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66781
66782 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66783 for ac_func in isinff
66784 do :
66785 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66786 if test "x$ac_cv_func_isinff" = x""yes; then :
66787 cat >>confdefs.h <<_ACEOF
66788 #define HAVE_ISINFF 1
66789 _ACEOF
66790
66791 fi
66792 done
66793
66794 else
66795
66796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66797 $as_echo_n "checking for _isinff declaration... " >&6; }
66798 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66799 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66800 $as_echo_n "(cached) " >&6
66801 else
66802
66803
66804 ac_ext=cpp
66805 ac_cpp='$CXXCPP $CPPFLAGS'
66806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66809
66810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66811 /* end confdefs.h. */
66812 #include <math.h>
66813 #ifdef HAVE_IEEEFP_H
66814 #include <ieeefp.h>
66815 #endif
66816
66817 int
66818 main ()
66819 {
66820 _isinff(0);
66821 ;
66822 return 0;
66823 }
66824 _ACEOF
66825 if ac_fn_cxx_try_compile "$LINENO"; then :
66826 glibcxx_cv_func__isinff_use=yes
66827 else
66828 glibcxx_cv_func__isinff_use=no
66829 fi
66830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66831 ac_ext=c
66832 ac_cpp='$CPP $CPPFLAGS'
66833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66836
66837
66838 fi
66839
66840 fi
66841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66842 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66843
66844 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66845 for ac_func in _isinff
66846 do :
66847 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66848 if test "x$ac_cv_func__isinff" = x""yes; then :
66849 cat >>confdefs.h <<_ACEOF
66850 #define HAVE__ISINFF 1
66851 _ACEOF
66852
66853 fi
66854 done
66855
66856 fi
66857 fi
66858
66859
66860
66861
66862
66863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66864 $as_echo_n "checking for atan2f declaration... " >&6; }
66865 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66866 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66867 $as_echo_n "(cached) " >&6
66868 else
66869
66870
66871 ac_ext=cpp
66872 ac_cpp='$CXXCPP $CPPFLAGS'
66873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66876
66877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66878 /* end confdefs.h. */
66879 #include <math.h>
66880 int
66881 main ()
66882 {
66883 atan2f(0, 0);
66884 ;
66885 return 0;
66886 }
66887 _ACEOF
66888 if ac_fn_cxx_try_compile "$LINENO"; then :
66889 glibcxx_cv_func_atan2f_use=yes
66890 else
66891 glibcxx_cv_func_atan2f_use=no
66892 fi
66893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66894 ac_ext=c
66895 ac_cpp='$CPP $CPPFLAGS'
66896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66899
66900
66901 fi
66902
66903 fi
66904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66905 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66906
66907 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66908 for ac_func in atan2f
66909 do :
66910 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66911 if test "x$ac_cv_func_atan2f" = x""yes; then :
66912 cat >>confdefs.h <<_ACEOF
66913 #define HAVE_ATAN2F 1
66914 _ACEOF
66915
66916 fi
66917 done
66918
66919 else
66920
66921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66922 $as_echo_n "checking for _atan2f declaration... " >&6; }
66923 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66924 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66925 $as_echo_n "(cached) " >&6
66926 else
66927
66928
66929 ac_ext=cpp
66930 ac_cpp='$CXXCPP $CPPFLAGS'
66931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66934
66935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66936 /* end confdefs.h. */
66937 #include <math.h>
66938 int
66939 main ()
66940 {
66941 _atan2f(0, 0);
66942 ;
66943 return 0;
66944 }
66945 _ACEOF
66946 if ac_fn_cxx_try_compile "$LINENO"; then :
66947 glibcxx_cv_func__atan2f_use=yes
66948 else
66949 glibcxx_cv_func__atan2f_use=no
66950 fi
66951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66952 ac_ext=c
66953 ac_cpp='$CPP $CPPFLAGS'
66954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66957
66958
66959 fi
66960
66961 fi
66962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66963 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66964
66965 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66966 for ac_func in _atan2f
66967 do :
66968 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66969 if test "x$ac_cv_func__atan2f" = x""yes; then :
66970 cat >>confdefs.h <<_ACEOF
66971 #define HAVE__ATAN2F 1
66972 _ACEOF
66973
66974 fi
66975 done
66976
66977 fi
66978 fi
66979
66980
66981
66982
66983
66984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66985 $as_echo_n "checking for fabsf declaration... " >&6; }
66986 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66987 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66988 $as_echo_n "(cached) " >&6
66989 else
66990
66991
66992 ac_ext=cpp
66993 ac_cpp='$CXXCPP $CPPFLAGS'
66994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66997
66998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66999 /* end confdefs.h. */
67000 #include <math.h>
67001 #ifdef HAVE_IEEEFP_H
67002 #include <ieeefp.h>
67003 #endif
67004
67005 int
67006 main ()
67007 {
67008 fabsf(0);
67009 ;
67010 return 0;
67011 }
67012 _ACEOF
67013 if ac_fn_cxx_try_compile "$LINENO"; then :
67014 glibcxx_cv_func_fabsf_use=yes
67015 else
67016 glibcxx_cv_func_fabsf_use=no
67017 fi
67018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67019 ac_ext=c
67020 ac_cpp='$CPP $CPPFLAGS'
67021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67024
67025
67026 fi
67027
67028 fi
67029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67030 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67031
67032 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67033 for ac_func in fabsf
67034 do :
67035 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67036 if test "x$ac_cv_func_fabsf" = x""yes; then :
67037 cat >>confdefs.h <<_ACEOF
67038 #define HAVE_FABSF 1
67039 _ACEOF
67040
67041 fi
67042 done
67043
67044 else
67045
67046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67047 $as_echo_n "checking for _fabsf declaration... " >&6; }
67048 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67049 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67050 $as_echo_n "(cached) " >&6
67051 else
67052
67053
67054 ac_ext=cpp
67055 ac_cpp='$CXXCPP $CPPFLAGS'
67056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67059
67060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67061 /* end confdefs.h. */
67062 #include <math.h>
67063 #ifdef HAVE_IEEEFP_H
67064 #include <ieeefp.h>
67065 #endif
67066
67067 int
67068 main ()
67069 {
67070 _fabsf(0);
67071 ;
67072 return 0;
67073 }
67074 _ACEOF
67075 if ac_fn_cxx_try_compile "$LINENO"; then :
67076 glibcxx_cv_func__fabsf_use=yes
67077 else
67078 glibcxx_cv_func__fabsf_use=no
67079 fi
67080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67081 ac_ext=c
67082 ac_cpp='$CPP $CPPFLAGS'
67083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67086
67087
67088 fi
67089
67090 fi
67091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67092 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67093
67094 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67095 for ac_func in _fabsf
67096 do :
67097 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67098 if test "x$ac_cv_func__fabsf" = x""yes; then :
67099 cat >>confdefs.h <<_ACEOF
67100 #define HAVE__FABSF 1
67101 _ACEOF
67102
67103 fi
67104 done
67105
67106 fi
67107 fi
67108
67109
67110
67111
67112
67113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67114 $as_echo_n "checking for fmodf declaration... " >&6; }
67115 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67116 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67117 $as_echo_n "(cached) " >&6
67118 else
67119
67120
67121 ac_ext=cpp
67122 ac_cpp='$CXXCPP $CPPFLAGS'
67123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67126
67127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67128 /* end confdefs.h. */
67129 #include <math.h>
67130 int
67131 main ()
67132 {
67133 fmodf(0, 0);
67134 ;
67135 return 0;
67136 }
67137 _ACEOF
67138 if ac_fn_cxx_try_compile "$LINENO"; then :
67139 glibcxx_cv_func_fmodf_use=yes
67140 else
67141 glibcxx_cv_func_fmodf_use=no
67142 fi
67143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67144 ac_ext=c
67145 ac_cpp='$CPP $CPPFLAGS'
67146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67149
67150
67151 fi
67152
67153 fi
67154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67155 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67156
67157 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67158 for ac_func in fmodf
67159 do :
67160 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67161 if test "x$ac_cv_func_fmodf" = x""yes; then :
67162 cat >>confdefs.h <<_ACEOF
67163 #define HAVE_FMODF 1
67164 _ACEOF
67165
67166 fi
67167 done
67168
67169 else
67170
67171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67172 $as_echo_n "checking for _fmodf declaration... " >&6; }
67173 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67174 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67175 $as_echo_n "(cached) " >&6
67176 else
67177
67178
67179 ac_ext=cpp
67180 ac_cpp='$CXXCPP $CPPFLAGS'
67181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67184
67185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67186 /* end confdefs.h. */
67187 #include <math.h>
67188 int
67189 main ()
67190 {
67191 _fmodf(0, 0);
67192 ;
67193 return 0;
67194 }
67195 _ACEOF
67196 if ac_fn_cxx_try_compile "$LINENO"; then :
67197 glibcxx_cv_func__fmodf_use=yes
67198 else
67199 glibcxx_cv_func__fmodf_use=no
67200 fi
67201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67202 ac_ext=c
67203 ac_cpp='$CPP $CPPFLAGS'
67204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67207
67208
67209 fi
67210
67211 fi
67212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67213 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67214
67215 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67216 for ac_func in _fmodf
67217 do :
67218 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67219 if test "x$ac_cv_func__fmodf" = x""yes; then :
67220 cat >>confdefs.h <<_ACEOF
67221 #define HAVE__FMODF 1
67222 _ACEOF
67223
67224 fi
67225 done
67226
67227 fi
67228 fi
67229
67230
67231
67232
67233
67234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67235 $as_echo_n "checking for frexpf declaration... " >&6; }
67236 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67237 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67238 $as_echo_n "(cached) " >&6
67239 else
67240
67241
67242 ac_ext=cpp
67243 ac_cpp='$CXXCPP $CPPFLAGS'
67244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67247
67248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67249 /* end confdefs.h. */
67250 #include <math.h>
67251 int
67252 main ()
67253 {
67254 frexpf(0, 0);
67255 ;
67256 return 0;
67257 }
67258 _ACEOF
67259 if ac_fn_cxx_try_compile "$LINENO"; then :
67260 glibcxx_cv_func_frexpf_use=yes
67261 else
67262 glibcxx_cv_func_frexpf_use=no
67263 fi
67264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67265 ac_ext=c
67266 ac_cpp='$CPP $CPPFLAGS'
67267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67270
67271
67272 fi
67273
67274 fi
67275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67276 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67277
67278 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67279 for ac_func in frexpf
67280 do :
67281 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67282 if test "x$ac_cv_func_frexpf" = x""yes; then :
67283 cat >>confdefs.h <<_ACEOF
67284 #define HAVE_FREXPF 1
67285 _ACEOF
67286
67287 fi
67288 done
67289
67290 else
67291
67292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67293 $as_echo_n "checking for _frexpf declaration... " >&6; }
67294 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67295 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67296 $as_echo_n "(cached) " >&6
67297 else
67298
67299
67300 ac_ext=cpp
67301 ac_cpp='$CXXCPP $CPPFLAGS'
67302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67305
67306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67307 /* end confdefs.h. */
67308 #include <math.h>
67309 int
67310 main ()
67311 {
67312 _frexpf(0, 0);
67313 ;
67314 return 0;
67315 }
67316 _ACEOF
67317 if ac_fn_cxx_try_compile "$LINENO"; then :
67318 glibcxx_cv_func__frexpf_use=yes
67319 else
67320 glibcxx_cv_func__frexpf_use=no
67321 fi
67322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67323 ac_ext=c
67324 ac_cpp='$CPP $CPPFLAGS'
67325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67328
67329
67330 fi
67331
67332 fi
67333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67334 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67335
67336 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67337 for ac_func in _frexpf
67338 do :
67339 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67340 if test "x$ac_cv_func__frexpf" = x""yes; then :
67341 cat >>confdefs.h <<_ACEOF
67342 #define HAVE__FREXPF 1
67343 _ACEOF
67344
67345 fi
67346 done
67347
67348 fi
67349 fi
67350
67351
67352
67353
67354
67355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67356 $as_echo_n "checking for hypotf declaration... " >&6; }
67357 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67358 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67359 $as_echo_n "(cached) " >&6
67360 else
67361
67362
67363 ac_ext=cpp
67364 ac_cpp='$CXXCPP $CPPFLAGS'
67365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67368
67369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67370 /* end confdefs.h. */
67371 #include <math.h>
67372 int
67373 main ()
67374 {
67375 hypotf(0, 0);
67376 ;
67377 return 0;
67378 }
67379 _ACEOF
67380 if ac_fn_cxx_try_compile "$LINENO"; then :
67381 glibcxx_cv_func_hypotf_use=yes
67382 else
67383 glibcxx_cv_func_hypotf_use=no
67384 fi
67385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67386 ac_ext=c
67387 ac_cpp='$CPP $CPPFLAGS'
67388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67391
67392
67393 fi
67394
67395 fi
67396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67397 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67398
67399 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67400 for ac_func in hypotf
67401 do :
67402 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67403 if test "x$ac_cv_func_hypotf" = x""yes; then :
67404 cat >>confdefs.h <<_ACEOF
67405 #define HAVE_HYPOTF 1
67406 _ACEOF
67407
67408 fi
67409 done
67410
67411 else
67412
67413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67414 $as_echo_n "checking for _hypotf declaration... " >&6; }
67415 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67416 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67417 $as_echo_n "(cached) " >&6
67418 else
67419
67420
67421 ac_ext=cpp
67422 ac_cpp='$CXXCPP $CPPFLAGS'
67423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67426
67427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67428 /* end confdefs.h. */
67429 #include <math.h>
67430 int
67431 main ()
67432 {
67433 _hypotf(0, 0);
67434 ;
67435 return 0;
67436 }
67437 _ACEOF
67438 if ac_fn_cxx_try_compile "$LINENO"; then :
67439 glibcxx_cv_func__hypotf_use=yes
67440 else
67441 glibcxx_cv_func__hypotf_use=no
67442 fi
67443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67444 ac_ext=c
67445 ac_cpp='$CPP $CPPFLAGS'
67446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67449
67450
67451 fi
67452
67453 fi
67454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67455 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67456
67457 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67458 for ac_func in _hypotf
67459 do :
67460 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67461 if test "x$ac_cv_func__hypotf" = x""yes; then :
67462 cat >>confdefs.h <<_ACEOF
67463 #define HAVE__HYPOTF 1
67464 _ACEOF
67465
67466 fi
67467 done
67468
67469 fi
67470 fi
67471
67472
67473
67474
67475
67476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67477 $as_echo_n "checking for ldexpf declaration... " >&6; }
67478 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67479 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67480 $as_echo_n "(cached) " >&6
67481 else
67482
67483
67484 ac_ext=cpp
67485 ac_cpp='$CXXCPP $CPPFLAGS'
67486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67489
67490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67491 /* end confdefs.h. */
67492 #include <math.h>
67493 int
67494 main ()
67495 {
67496 ldexpf(0, 0);
67497 ;
67498 return 0;
67499 }
67500 _ACEOF
67501 if ac_fn_cxx_try_compile "$LINENO"; then :
67502 glibcxx_cv_func_ldexpf_use=yes
67503 else
67504 glibcxx_cv_func_ldexpf_use=no
67505 fi
67506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67507 ac_ext=c
67508 ac_cpp='$CPP $CPPFLAGS'
67509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67512
67513
67514 fi
67515
67516 fi
67517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67518 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67519
67520 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67521 for ac_func in ldexpf
67522 do :
67523 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67524 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67525 cat >>confdefs.h <<_ACEOF
67526 #define HAVE_LDEXPF 1
67527 _ACEOF
67528
67529 fi
67530 done
67531
67532 else
67533
67534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67535 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67536 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67537 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67538 $as_echo_n "(cached) " >&6
67539 else
67540
67541
67542 ac_ext=cpp
67543 ac_cpp='$CXXCPP $CPPFLAGS'
67544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67547
67548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67549 /* end confdefs.h. */
67550 #include <math.h>
67551 int
67552 main ()
67553 {
67554 _ldexpf(0, 0);
67555 ;
67556 return 0;
67557 }
67558 _ACEOF
67559 if ac_fn_cxx_try_compile "$LINENO"; then :
67560 glibcxx_cv_func__ldexpf_use=yes
67561 else
67562 glibcxx_cv_func__ldexpf_use=no
67563 fi
67564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67565 ac_ext=c
67566 ac_cpp='$CPP $CPPFLAGS'
67567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67570
67571
67572 fi
67573
67574 fi
67575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67576 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67577
67578 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67579 for ac_func in _ldexpf
67580 do :
67581 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67582 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67583 cat >>confdefs.h <<_ACEOF
67584 #define HAVE__LDEXPF 1
67585 _ACEOF
67586
67587 fi
67588 done
67589
67590 fi
67591 fi
67592
67593
67594
67595
67596
67597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67598 $as_echo_n "checking for logf declaration... " >&6; }
67599 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67600 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67601 $as_echo_n "(cached) " >&6
67602 else
67603
67604
67605 ac_ext=cpp
67606 ac_cpp='$CXXCPP $CPPFLAGS'
67607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67610
67611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67612 /* end confdefs.h. */
67613 #include <math.h>
67614 #ifdef HAVE_IEEEFP_H
67615 #include <ieeefp.h>
67616 #endif
67617
67618 int
67619 main ()
67620 {
67621 logf(0);
67622 ;
67623 return 0;
67624 }
67625 _ACEOF
67626 if ac_fn_cxx_try_compile "$LINENO"; then :
67627 glibcxx_cv_func_logf_use=yes
67628 else
67629 glibcxx_cv_func_logf_use=no
67630 fi
67631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67632 ac_ext=c
67633 ac_cpp='$CPP $CPPFLAGS'
67634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67637
67638
67639 fi
67640
67641 fi
67642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67643 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67644
67645 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67646 for ac_func in logf
67647 do :
67648 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67649 if test "x$ac_cv_func_logf" = x""yes; then :
67650 cat >>confdefs.h <<_ACEOF
67651 #define HAVE_LOGF 1
67652 _ACEOF
67653
67654 fi
67655 done
67656
67657 else
67658
67659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67660 $as_echo_n "checking for _logf declaration... " >&6; }
67661 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67662 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67663 $as_echo_n "(cached) " >&6
67664 else
67665
67666
67667 ac_ext=cpp
67668 ac_cpp='$CXXCPP $CPPFLAGS'
67669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67672
67673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67674 /* end confdefs.h. */
67675 #include <math.h>
67676 #ifdef HAVE_IEEEFP_H
67677 #include <ieeefp.h>
67678 #endif
67679
67680 int
67681 main ()
67682 {
67683 _logf(0);
67684 ;
67685 return 0;
67686 }
67687 _ACEOF
67688 if ac_fn_cxx_try_compile "$LINENO"; then :
67689 glibcxx_cv_func__logf_use=yes
67690 else
67691 glibcxx_cv_func__logf_use=no
67692 fi
67693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67694 ac_ext=c
67695 ac_cpp='$CPP $CPPFLAGS'
67696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67699
67700
67701 fi
67702
67703 fi
67704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67705 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67706
67707 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67708 for ac_func in _logf
67709 do :
67710 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67711 if test "x$ac_cv_func__logf" = x""yes; then :
67712 cat >>confdefs.h <<_ACEOF
67713 #define HAVE__LOGF 1
67714 _ACEOF
67715
67716 fi
67717 done
67718
67719 fi
67720 fi
67721
67722
67723
67724
67725
67726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67727 $as_echo_n "checking for log10f declaration... " >&6; }
67728 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67729 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67730 $as_echo_n "(cached) " >&6
67731 else
67732
67733
67734 ac_ext=cpp
67735 ac_cpp='$CXXCPP $CPPFLAGS'
67736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67739
67740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67741 /* end confdefs.h. */
67742 #include <math.h>
67743 #ifdef HAVE_IEEEFP_H
67744 #include <ieeefp.h>
67745 #endif
67746
67747 int
67748 main ()
67749 {
67750 log10f(0);
67751 ;
67752 return 0;
67753 }
67754 _ACEOF
67755 if ac_fn_cxx_try_compile "$LINENO"; then :
67756 glibcxx_cv_func_log10f_use=yes
67757 else
67758 glibcxx_cv_func_log10f_use=no
67759 fi
67760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67761 ac_ext=c
67762 ac_cpp='$CPP $CPPFLAGS'
67763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67766
67767
67768 fi
67769
67770 fi
67771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67772 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67773
67774 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67775 for ac_func in log10f
67776 do :
67777 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67778 if test "x$ac_cv_func_log10f" = x""yes; then :
67779 cat >>confdefs.h <<_ACEOF
67780 #define HAVE_LOG10F 1
67781 _ACEOF
67782
67783 fi
67784 done
67785
67786 else
67787
67788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67789 $as_echo_n "checking for _log10f declaration... " >&6; }
67790 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67791 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67792 $as_echo_n "(cached) " >&6
67793 else
67794
67795
67796 ac_ext=cpp
67797 ac_cpp='$CXXCPP $CPPFLAGS'
67798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67801
67802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67803 /* end confdefs.h. */
67804 #include <math.h>
67805 #ifdef HAVE_IEEEFP_H
67806 #include <ieeefp.h>
67807 #endif
67808
67809 int
67810 main ()
67811 {
67812 _log10f(0);
67813 ;
67814 return 0;
67815 }
67816 _ACEOF
67817 if ac_fn_cxx_try_compile "$LINENO"; then :
67818 glibcxx_cv_func__log10f_use=yes
67819 else
67820 glibcxx_cv_func__log10f_use=no
67821 fi
67822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67823 ac_ext=c
67824 ac_cpp='$CPP $CPPFLAGS'
67825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67828
67829
67830 fi
67831
67832 fi
67833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67834 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67835
67836 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67837 for ac_func in _log10f
67838 do :
67839 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67840 if test "x$ac_cv_func__log10f" = x""yes; then :
67841 cat >>confdefs.h <<_ACEOF
67842 #define HAVE__LOG10F 1
67843 _ACEOF
67844
67845 fi
67846 done
67847
67848 fi
67849 fi
67850
67851
67852
67853
67854
67855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67856 $as_echo_n "checking for modff declaration... " >&6; }
67857 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67858 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67859 $as_echo_n "(cached) " >&6
67860 else
67861
67862
67863 ac_ext=cpp
67864 ac_cpp='$CXXCPP $CPPFLAGS'
67865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67868
67869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67870 /* end confdefs.h. */
67871 #include <math.h>
67872 int
67873 main ()
67874 {
67875 modff(0, 0);
67876 ;
67877 return 0;
67878 }
67879 _ACEOF
67880 if ac_fn_cxx_try_compile "$LINENO"; then :
67881 glibcxx_cv_func_modff_use=yes
67882 else
67883 glibcxx_cv_func_modff_use=no
67884 fi
67885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67886 ac_ext=c
67887 ac_cpp='$CPP $CPPFLAGS'
67888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67891
67892
67893 fi
67894
67895 fi
67896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67897 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67898
67899 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67900 for ac_func in modff
67901 do :
67902 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67903 if test "x$ac_cv_func_modff" = x""yes; then :
67904 cat >>confdefs.h <<_ACEOF
67905 #define HAVE_MODFF 1
67906 _ACEOF
67907
67908 fi
67909 done
67910
67911 else
67912
67913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67914 $as_echo_n "checking for _modff declaration... " >&6; }
67915 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67916 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67917 $as_echo_n "(cached) " >&6
67918 else
67919
67920
67921 ac_ext=cpp
67922 ac_cpp='$CXXCPP $CPPFLAGS'
67923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67926
67927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67928 /* end confdefs.h. */
67929 #include <math.h>
67930 int
67931 main ()
67932 {
67933 _modff(0, 0);
67934 ;
67935 return 0;
67936 }
67937 _ACEOF
67938 if ac_fn_cxx_try_compile "$LINENO"; then :
67939 glibcxx_cv_func__modff_use=yes
67940 else
67941 glibcxx_cv_func__modff_use=no
67942 fi
67943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67944 ac_ext=c
67945 ac_cpp='$CPP $CPPFLAGS'
67946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67949
67950
67951 fi
67952
67953 fi
67954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67955 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67956
67957 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67958 for ac_func in _modff
67959 do :
67960 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67961 if test "x$ac_cv_func__modff" = x""yes; then :
67962 cat >>confdefs.h <<_ACEOF
67963 #define HAVE__MODFF 1
67964 _ACEOF
67965
67966 fi
67967 done
67968
67969 fi
67970 fi
67971
67972
67973
67974
67975
67976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67977 $as_echo_n "checking for modf declaration... " >&6; }
67978 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67979 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67980 $as_echo_n "(cached) " >&6
67981 else
67982
67983
67984 ac_ext=cpp
67985 ac_cpp='$CXXCPP $CPPFLAGS'
67986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67989
67990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67991 /* end confdefs.h. */
67992 #include <math.h>
67993 int
67994 main ()
67995 {
67996 modf(0, 0);
67997 ;
67998 return 0;
67999 }
68000 _ACEOF
68001 if ac_fn_cxx_try_compile "$LINENO"; then :
68002 glibcxx_cv_func_modf_use=yes
68003 else
68004 glibcxx_cv_func_modf_use=no
68005 fi
68006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68007 ac_ext=c
68008 ac_cpp='$CPP $CPPFLAGS'
68009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68012
68013
68014 fi
68015
68016 fi
68017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68018 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68019
68020 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68021 for ac_func in modf
68022 do :
68023 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68024 if test "x$ac_cv_func_modf" = x""yes; then :
68025 cat >>confdefs.h <<_ACEOF
68026 #define HAVE_MODF 1
68027 _ACEOF
68028
68029 fi
68030 done
68031
68032 else
68033
68034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68035 $as_echo_n "checking for _modf declaration... " >&6; }
68036 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68037 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68038 $as_echo_n "(cached) " >&6
68039 else
68040
68041
68042 ac_ext=cpp
68043 ac_cpp='$CXXCPP $CPPFLAGS'
68044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68047
68048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68049 /* end confdefs.h. */
68050 #include <math.h>
68051 int
68052 main ()
68053 {
68054 _modf(0, 0);
68055 ;
68056 return 0;
68057 }
68058 _ACEOF
68059 if ac_fn_cxx_try_compile "$LINENO"; then :
68060 glibcxx_cv_func__modf_use=yes
68061 else
68062 glibcxx_cv_func__modf_use=no
68063 fi
68064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68065 ac_ext=c
68066 ac_cpp='$CPP $CPPFLAGS'
68067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68070
68071
68072 fi
68073
68074 fi
68075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68076 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68077
68078 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68079 for ac_func in _modf
68080 do :
68081 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68082 if test "x$ac_cv_func__modf" = x""yes; then :
68083 cat >>confdefs.h <<_ACEOF
68084 #define HAVE__MODF 1
68085 _ACEOF
68086
68087 fi
68088 done
68089
68090 fi
68091 fi
68092
68093
68094
68095
68096
68097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68098 $as_echo_n "checking for powf declaration... " >&6; }
68099 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68100 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68101 $as_echo_n "(cached) " >&6
68102 else
68103
68104
68105 ac_ext=cpp
68106 ac_cpp='$CXXCPP $CPPFLAGS'
68107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68110
68111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68112 /* end confdefs.h. */
68113 #include <math.h>
68114 int
68115 main ()
68116 {
68117 powf(0, 0);
68118 ;
68119 return 0;
68120 }
68121 _ACEOF
68122 if ac_fn_cxx_try_compile "$LINENO"; then :
68123 glibcxx_cv_func_powf_use=yes
68124 else
68125 glibcxx_cv_func_powf_use=no
68126 fi
68127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68128 ac_ext=c
68129 ac_cpp='$CPP $CPPFLAGS'
68130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68133
68134
68135 fi
68136
68137 fi
68138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68139 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68140
68141 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68142 for ac_func in powf
68143 do :
68144 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68145 if test "x$ac_cv_func_powf" = x""yes; then :
68146 cat >>confdefs.h <<_ACEOF
68147 #define HAVE_POWF 1
68148 _ACEOF
68149
68150 fi
68151 done
68152
68153 else
68154
68155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68156 $as_echo_n "checking for _powf declaration... " >&6; }
68157 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68158 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68159 $as_echo_n "(cached) " >&6
68160 else
68161
68162
68163 ac_ext=cpp
68164 ac_cpp='$CXXCPP $CPPFLAGS'
68165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68168
68169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68170 /* end confdefs.h. */
68171 #include <math.h>
68172 int
68173 main ()
68174 {
68175 _powf(0, 0);
68176 ;
68177 return 0;
68178 }
68179 _ACEOF
68180 if ac_fn_cxx_try_compile "$LINENO"; then :
68181 glibcxx_cv_func__powf_use=yes
68182 else
68183 glibcxx_cv_func__powf_use=no
68184 fi
68185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68186 ac_ext=c
68187 ac_cpp='$CPP $CPPFLAGS'
68188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68191
68192
68193 fi
68194
68195 fi
68196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68197 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68198
68199 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68200 for ac_func in _powf
68201 do :
68202 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68203 if test "x$ac_cv_func__powf" = x""yes; then :
68204 cat >>confdefs.h <<_ACEOF
68205 #define HAVE__POWF 1
68206 _ACEOF
68207
68208 fi
68209 done
68210
68211 fi
68212 fi
68213
68214
68215
68216
68217
68218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68219 $as_echo_n "checking for sqrtf declaration... " >&6; }
68220 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68221 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68222 $as_echo_n "(cached) " >&6
68223 else
68224
68225
68226 ac_ext=cpp
68227 ac_cpp='$CXXCPP $CPPFLAGS'
68228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68231
68232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68233 /* end confdefs.h. */
68234 #include <math.h>
68235 #ifdef HAVE_IEEEFP_H
68236 #include <ieeefp.h>
68237 #endif
68238
68239 int
68240 main ()
68241 {
68242 sqrtf(0);
68243 ;
68244 return 0;
68245 }
68246 _ACEOF
68247 if ac_fn_cxx_try_compile "$LINENO"; then :
68248 glibcxx_cv_func_sqrtf_use=yes
68249 else
68250 glibcxx_cv_func_sqrtf_use=no
68251 fi
68252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68253 ac_ext=c
68254 ac_cpp='$CPP $CPPFLAGS'
68255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68258
68259
68260 fi
68261
68262 fi
68263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68264 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68265
68266 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68267 for ac_func in sqrtf
68268 do :
68269 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68270 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68271 cat >>confdefs.h <<_ACEOF
68272 #define HAVE_SQRTF 1
68273 _ACEOF
68274
68275 fi
68276 done
68277
68278 else
68279
68280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68281 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68282 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68283 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68284 $as_echo_n "(cached) " >&6
68285 else
68286
68287
68288 ac_ext=cpp
68289 ac_cpp='$CXXCPP $CPPFLAGS'
68290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68293
68294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68295 /* end confdefs.h. */
68296 #include <math.h>
68297 #ifdef HAVE_IEEEFP_H
68298 #include <ieeefp.h>
68299 #endif
68300
68301 int
68302 main ()
68303 {
68304 _sqrtf(0);
68305 ;
68306 return 0;
68307 }
68308 _ACEOF
68309 if ac_fn_cxx_try_compile "$LINENO"; then :
68310 glibcxx_cv_func__sqrtf_use=yes
68311 else
68312 glibcxx_cv_func__sqrtf_use=no
68313 fi
68314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68315 ac_ext=c
68316 ac_cpp='$CPP $CPPFLAGS'
68317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68320
68321
68322 fi
68323
68324 fi
68325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68326 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68327
68328 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68329 for ac_func in _sqrtf
68330 do :
68331 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68332 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68333 cat >>confdefs.h <<_ACEOF
68334 #define HAVE__SQRTF 1
68335 _ACEOF
68336
68337 fi
68338 done
68339
68340 fi
68341 fi
68342
68343
68344
68345
68346
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68348 $as_echo_n "checking for sincosf declaration... " >&6; }
68349 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68350 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68351 $as_echo_n "(cached) " >&6
68352 else
68353
68354
68355 ac_ext=cpp
68356 ac_cpp='$CXXCPP $CPPFLAGS'
68357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68360
68361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68362 /* end confdefs.h. */
68363 #include <math.h>
68364 int
68365 main ()
68366 {
68367 sincosf(0, 0, 0);
68368 ;
68369 return 0;
68370 }
68371 _ACEOF
68372 if ac_fn_cxx_try_compile "$LINENO"; then :
68373 glibcxx_cv_func_sincosf_use=yes
68374 else
68375 glibcxx_cv_func_sincosf_use=no
68376 fi
68377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68378 ac_ext=c
68379 ac_cpp='$CPP $CPPFLAGS'
68380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68383
68384
68385 fi
68386
68387 fi
68388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68389 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68390
68391 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68392 for ac_func in sincosf
68393 do :
68394 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68395 if test "x$ac_cv_func_sincosf" = x""yes; then :
68396 cat >>confdefs.h <<_ACEOF
68397 #define HAVE_SINCOSF 1
68398 _ACEOF
68399
68400 fi
68401 done
68402
68403 else
68404
68405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68406 $as_echo_n "checking for _sincosf declaration... " >&6; }
68407 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68408 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68409 $as_echo_n "(cached) " >&6
68410 else
68411
68412
68413 ac_ext=cpp
68414 ac_cpp='$CXXCPP $CPPFLAGS'
68415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68418
68419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68420 /* end confdefs.h. */
68421 #include <math.h>
68422 int
68423 main ()
68424 {
68425 _sincosf(0, 0, 0);
68426 ;
68427 return 0;
68428 }
68429 _ACEOF
68430 if ac_fn_cxx_try_compile "$LINENO"; then :
68431 glibcxx_cv_func__sincosf_use=yes
68432 else
68433 glibcxx_cv_func__sincosf_use=no
68434 fi
68435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68436 ac_ext=c
68437 ac_cpp='$CPP $CPPFLAGS'
68438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68441
68442
68443 fi
68444
68445 fi
68446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68447 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68448
68449 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68450 for ac_func in _sincosf
68451 do :
68452 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68453 if test "x$ac_cv_func__sincosf" = x""yes; then :
68454 cat >>confdefs.h <<_ACEOF
68455 #define HAVE__SINCOSF 1
68456 _ACEOF
68457
68458 fi
68459 done
68460
68461 fi
68462 fi
68463
68464
68465
68466
68467
68468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68469 $as_echo_n "checking for finitef declaration... " >&6; }
68470 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68471 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68472 $as_echo_n "(cached) " >&6
68473 else
68474
68475
68476 ac_ext=cpp
68477 ac_cpp='$CXXCPP $CPPFLAGS'
68478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68481
68482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68483 /* end confdefs.h. */
68484 #include <math.h>
68485 #ifdef HAVE_IEEEFP_H
68486 #include <ieeefp.h>
68487 #endif
68488
68489 int
68490 main ()
68491 {
68492 finitef(0);
68493 ;
68494 return 0;
68495 }
68496 _ACEOF
68497 if ac_fn_cxx_try_compile "$LINENO"; then :
68498 glibcxx_cv_func_finitef_use=yes
68499 else
68500 glibcxx_cv_func_finitef_use=no
68501 fi
68502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68503 ac_ext=c
68504 ac_cpp='$CPP $CPPFLAGS'
68505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68508
68509
68510 fi
68511
68512 fi
68513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68514 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68515
68516 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68517 for ac_func in finitef
68518 do :
68519 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68520 if test "x$ac_cv_func_finitef" = x""yes; then :
68521 cat >>confdefs.h <<_ACEOF
68522 #define HAVE_FINITEF 1
68523 _ACEOF
68524
68525 fi
68526 done
68527
68528 else
68529
68530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68531 $as_echo_n "checking for _finitef declaration... " >&6; }
68532 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68533 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68534 $as_echo_n "(cached) " >&6
68535 else
68536
68537
68538 ac_ext=cpp
68539 ac_cpp='$CXXCPP $CPPFLAGS'
68540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68543
68544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68545 /* end confdefs.h. */
68546 #include <math.h>
68547 #ifdef HAVE_IEEEFP_H
68548 #include <ieeefp.h>
68549 #endif
68550
68551 int
68552 main ()
68553 {
68554 _finitef(0);
68555 ;
68556 return 0;
68557 }
68558 _ACEOF
68559 if ac_fn_cxx_try_compile "$LINENO"; then :
68560 glibcxx_cv_func__finitef_use=yes
68561 else
68562 glibcxx_cv_func__finitef_use=no
68563 fi
68564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68565 ac_ext=c
68566 ac_cpp='$CPP $CPPFLAGS'
68567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68570
68571
68572 fi
68573
68574 fi
68575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68576 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68577
68578 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68579 for ac_func in _finitef
68580 do :
68581 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68582 if test "x$ac_cv_func__finitef" = x""yes; then :
68583 cat >>confdefs.h <<_ACEOF
68584 #define HAVE__FINITEF 1
68585 _ACEOF
68586
68587 fi
68588 done
68589
68590 fi
68591 fi
68592
68593
68594
68595
68596
68597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68598 $as_echo_n "checking for long double trig functions... " >&6; }
68599 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68600 $as_echo_n "(cached) " >&6
68601 else
68602
68603
68604 ac_ext=cpp
68605 ac_cpp='$CXXCPP $CPPFLAGS'
68606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68609
68610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68611 /* end confdefs.h. */
68612 #include <math.h>
68613 int
68614 main ()
68615 {
68616 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68617 ;
68618 return 0;
68619 }
68620 _ACEOF
68621 if ac_fn_cxx_try_compile "$LINENO"; then :
68622 glibcxx_cv_func_long_double_trig_use=yes
68623 else
68624 glibcxx_cv_func_long_double_trig_use=no
68625 fi
68626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68627 ac_ext=c
68628 ac_cpp='$CPP $CPPFLAGS'
68629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68632
68633 fi
68634
68635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68636 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68637 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68638 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68639 do :
68640 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68641 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68642 eval as_val=\$$as_ac_var
68643 if test "x$as_val" = x""yes; then :
68644 cat >>confdefs.h <<_ACEOF
68645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68646 _ACEOF
68647
68648 fi
68649 done
68650
68651 else
68652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68653 $as_echo_n "checking for _long double trig functions... " >&6; }
68654 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68655 $as_echo_n "(cached) " >&6
68656 else
68657
68658
68659 ac_ext=cpp
68660 ac_cpp='$CXXCPP $CPPFLAGS'
68661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68664
68665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68666 /* end confdefs.h. */
68667 #include <math.h>
68668 int
68669 main ()
68670 {
68671 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68672 ;
68673 return 0;
68674 }
68675 _ACEOF
68676 if ac_fn_cxx_try_compile "$LINENO"; then :
68677 glibcxx_cv_func__long_double_trig_use=yes
68678 else
68679 glibcxx_cv_func__long_double_trig_use=no
68680 fi
68681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68682 ac_ext=c
68683 ac_cpp='$CPP $CPPFLAGS'
68684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68687
68688 fi
68689
68690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68691 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68692 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68693 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68694 do :
68695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68697 eval as_val=\$$as_ac_var
68698 if test "x$as_val" = x""yes; then :
68699 cat >>confdefs.h <<_ACEOF
68700 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68701 _ACEOF
68702
68703 fi
68704 done
68705
68706 fi
68707 fi
68708
68709
68710
68711
68712
68713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68714 $as_echo_n "checking for long double round functions... " >&6; }
68715 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68716 $as_echo_n "(cached) " >&6
68717 else
68718
68719
68720 ac_ext=cpp
68721 ac_cpp='$CXXCPP $CPPFLAGS'
68722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68725
68726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68727 /* end confdefs.h. */
68728 #include <math.h>
68729 int
68730 main ()
68731 {
68732 ceill (0); floorl (0);
68733 ;
68734 return 0;
68735 }
68736 _ACEOF
68737 if ac_fn_cxx_try_compile "$LINENO"; then :
68738 glibcxx_cv_func_long_double_round_use=yes
68739 else
68740 glibcxx_cv_func_long_double_round_use=no
68741 fi
68742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68743 ac_ext=c
68744 ac_cpp='$CPP $CPPFLAGS'
68745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68748
68749 fi
68750
68751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68752 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68753 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68754 for ac_func in ceill floorl
68755 do :
68756 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68757 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68758 eval as_val=\$$as_ac_var
68759 if test "x$as_val" = x""yes; then :
68760 cat >>confdefs.h <<_ACEOF
68761 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68762 _ACEOF
68763
68764 fi
68765 done
68766
68767 else
68768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68769 $as_echo_n "checking for _long double round functions... " >&6; }
68770 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68771 $as_echo_n "(cached) " >&6
68772 else
68773
68774
68775 ac_ext=cpp
68776 ac_cpp='$CXXCPP $CPPFLAGS'
68777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68780
68781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68782 /* end confdefs.h. */
68783 #include <math.h>
68784 int
68785 main ()
68786 {
68787 _ceill (0); _floorl (0);
68788 ;
68789 return 0;
68790 }
68791 _ACEOF
68792 if ac_fn_cxx_try_compile "$LINENO"; then :
68793 glibcxx_cv_func__long_double_round_use=yes
68794 else
68795 glibcxx_cv_func__long_double_round_use=no
68796 fi
68797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68798 ac_ext=c
68799 ac_cpp='$CPP $CPPFLAGS'
68800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68803
68804 fi
68805
68806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68807 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68808 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68809 for ac_func in _ceill _floorl
68810 do :
68811 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68812 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68813 eval as_val=\$$as_ac_var
68814 if test "x$as_val" = x""yes; then :
68815 cat >>confdefs.h <<_ACEOF
68816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68817 _ACEOF
68818
68819 fi
68820 done
68821
68822 fi
68823 fi
68824
68825
68826
68827
68828
68829
68830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68831 $as_echo_n "checking for isnanl declaration... " >&6; }
68832 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68833 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68834 $as_echo_n "(cached) " >&6
68835 else
68836
68837
68838 ac_ext=cpp
68839 ac_cpp='$CXXCPP $CPPFLAGS'
68840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68843
68844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68845 /* end confdefs.h. */
68846 #include <math.h>
68847 #ifdef HAVE_IEEEFP_H
68848 #include <ieeefp.h>
68849 #endif
68850
68851 int
68852 main ()
68853 {
68854 isnanl(0);
68855 ;
68856 return 0;
68857 }
68858 _ACEOF
68859 if ac_fn_cxx_try_compile "$LINENO"; then :
68860 glibcxx_cv_func_isnanl_use=yes
68861 else
68862 glibcxx_cv_func_isnanl_use=no
68863 fi
68864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68865 ac_ext=c
68866 ac_cpp='$CPP $CPPFLAGS'
68867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68870
68871
68872 fi
68873
68874 fi
68875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68876 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68877
68878 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68879 for ac_func in isnanl
68880 do :
68881 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68882 if test "x$ac_cv_func_isnanl" = x""yes; then :
68883 cat >>confdefs.h <<_ACEOF
68884 #define HAVE_ISNANL 1
68885 _ACEOF
68886
68887 fi
68888 done
68889
68890 else
68891
68892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68893 $as_echo_n "checking for _isnanl declaration... " >&6; }
68894 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68895 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68896 $as_echo_n "(cached) " >&6
68897 else
68898
68899
68900 ac_ext=cpp
68901 ac_cpp='$CXXCPP $CPPFLAGS'
68902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68905
68906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68907 /* end confdefs.h. */
68908 #include <math.h>
68909 #ifdef HAVE_IEEEFP_H
68910 #include <ieeefp.h>
68911 #endif
68912
68913 int
68914 main ()
68915 {
68916 _isnanl(0);
68917 ;
68918 return 0;
68919 }
68920 _ACEOF
68921 if ac_fn_cxx_try_compile "$LINENO"; then :
68922 glibcxx_cv_func__isnanl_use=yes
68923 else
68924 glibcxx_cv_func__isnanl_use=no
68925 fi
68926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68927 ac_ext=c
68928 ac_cpp='$CPP $CPPFLAGS'
68929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68932
68933
68934 fi
68935
68936 fi
68937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68938 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68939
68940 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68941 for ac_func in _isnanl
68942 do :
68943 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68944 if test "x$ac_cv_func__isnanl" = x""yes; then :
68945 cat >>confdefs.h <<_ACEOF
68946 #define HAVE__ISNANL 1
68947 _ACEOF
68948
68949 fi
68950 done
68951
68952 fi
68953 fi
68954
68955
68956
68957
68958
68959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68960 $as_echo_n "checking for isinfl declaration... " >&6; }
68961 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68962 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68963 $as_echo_n "(cached) " >&6
68964 else
68965
68966
68967 ac_ext=cpp
68968 ac_cpp='$CXXCPP $CPPFLAGS'
68969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68972
68973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68974 /* end confdefs.h. */
68975 #include <math.h>
68976 #ifdef HAVE_IEEEFP_H
68977 #include <ieeefp.h>
68978 #endif
68979
68980 int
68981 main ()
68982 {
68983 isinfl(0);
68984 ;
68985 return 0;
68986 }
68987 _ACEOF
68988 if ac_fn_cxx_try_compile "$LINENO"; then :
68989 glibcxx_cv_func_isinfl_use=yes
68990 else
68991 glibcxx_cv_func_isinfl_use=no
68992 fi
68993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68994 ac_ext=c
68995 ac_cpp='$CPP $CPPFLAGS'
68996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68999
69000
69001 fi
69002
69003 fi
69004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
69005 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
69006
69007 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
69008 for ac_func in isinfl
69009 do :
69010 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
69011 if test "x$ac_cv_func_isinfl" = x""yes; then :
69012 cat >>confdefs.h <<_ACEOF
69013 #define HAVE_ISINFL 1
69014 _ACEOF
69015
69016 fi
69017 done
69018
69019 else
69020
69021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69022 $as_echo_n "checking for _isinfl declaration... " >&6; }
69023 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69024 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69025 $as_echo_n "(cached) " >&6
69026 else
69027
69028
69029 ac_ext=cpp
69030 ac_cpp='$CXXCPP $CPPFLAGS'
69031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69034
69035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69036 /* end confdefs.h. */
69037 #include <math.h>
69038 #ifdef HAVE_IEEEFP_H
69039 #include <ieeefp.h>
69040 #endif
69041
69042 int
69043 main ()
69044 {
69045 _isinfl(0);
69046 ;
69047 return 0;
69048 }
69049 _ACEOF
69050 if ac_fn_cxx_try_compile "$LINENO"; then :
69051 glibcxx_cv_func__isinfl_use=yes
69052 else
69053 glibcxx_cv_func__isinfl_use=no
69054 fi
69055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69056 ac_ext=c
69057 ac_cpp='$CPP $CPPFLAGS'
69058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69061
69062
69063 fi
69064
69065 fi
69066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69067 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69068
69069 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69070 for ac_func in _isinfl
69071 do :
69072 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69073 if test "x$ac_cv_func__isinfl" = x""yes; then :
69074 cat >>confdefs.h <<_ACEOF
69075 #define HAVE__ISINFL 1
69076 _ACEOF
69077
69078 fi
69079 done
69080
69081 fi
69082 fi
69083
69084
69085
69086
69087
69088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69089 $as_echo_n "checking for atan2l declaration... " >&6; }
69090 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69091 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69092 $as_echo_n "(cached) " >&6
69093 else
69094
69095
69096 ac_ext=cpp
69097 ac_cpp='$CXXCPP $CPPFLAGS'
69098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69101
69102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69103 /* end confdefs.h. */
69104 #include <math.h>
69105 int
69106 main ()
69107 {
69108 atan2l(0, 0);
69109 ;
69110 return 0;
69111 }
69112 _ACEOF
69113 if ac_fn_cxx_try_compile "$LINENO"; then :
69114 glibcxx_cv_func_atan2l_use=yes
69115 else
69116 glibcxx_cv_func_atan2l_use=no
69117 fi
69118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69119 ac_ext=c
69120 ac_cpp='$CPP $CPPFLAGS'
69121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69124
69125
69126 fi
69127
69128 fi
69129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69130 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69131
69132 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69133 for ac_func in atan2l
69134 do :
69135 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69136 if test "x$ac_cv_func_atan2l" = x""yes; then :
69137 cat >>confdefs.h <<_ACEOF
69138 #define HAVE_ATAN2L 1
69139 _ACEOF
69140
69141 fi
69142 done
69143
69144 else
69145
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69147 $as_echo_n "checking for _atan2l declaration... " >&6; }
69148 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69149 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69150 $as_echo_n "(cached) " >&6
69151 else
69152
69153
69154 ac_ext=cpp
69155 ac_cpp='$CXXCPP $CPPFLAGS'
69156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69159
69160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69161 /* end confdefs.h. */
69162 #include <math.h>
69163 int
69164 main ()
69165 {
69166 _atan2l(0, 0);
69167 ;
69168 return 0;
69169 }
69170 _ACEOF
69171 if ac_fn_cxx_try_compile "$LINENO"; then :
69172 glibcxx_cv_func__atan2l_use=yes
69173 else
69174 glibcxx_cv_func__atan2l_use=no
69175 fi
69176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69177 ac_ext=c
69178 ac_cpp='$CPP $CPPFLAGS'
69179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69182
69183
69184 fi
69185
69186 fi
69187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69188 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69189
69190 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69191 for ac_func in _atan2l
69192 do :
69193 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69194 if test "x$ac_cv_func__atan2l" = x""yes; then :
69195 cat >>confdefs.h <<_ACEOF
69196 #define HAVE__ATAN2L 1
69197 _ACEOF
69198
69199 fi
69200 done
69201
69202 fi
69203 fi
69204
69205
69206
69207
69208
69209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69210 $as_echo_n "checking for expl declaration... " >&6; }
69211 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69212 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69213 $as_echo_n "(cached) " >&6
69214 else
69215
69216
69217 ac_ext=cpp
69218 ac_cpp='$CXXCPP $CPPFLAGS'
69219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69222
69223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69224 /* end confdefs.h. */
69225 #include <math.h>
69226 #ifdef HAVE_IEEEFP_H
69227 #include <ieeefp.h>
69228 #endif
69229
69230 int
69231 main ()
69232 {
69233 expl(0);
69234 ;
69235 return 0;
69236 }
69237 _ACEOF
69238 if ac_fn_cxx_try_compile "$LINENO"; then :
69239 glibcxx_cv_func_expl_use=yes
69240 else
69241 glibcxx_cv_func_expl_use=no
69242 fi
69243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69244 ac_ext=c
69245 ac_cpp='$CPP $CPPFLAGS'
69246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69249
69250
69251 fi
69252
69253 fi
69254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69255 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69256
69257 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69258 for ac_func in expl
69259 do :
69260 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69261 if test "x$ac_cv_func_expl" = x""yes; then :
69262 cat >>confdefs.h <<_ACEOF
69263 #define HAVE_EXPL 1
69264 _ACEOF
69265
69266 fi
69267 done
69268
69269 else
69270
69271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69272 $as_echo_n "checking for _expl declaration... " >&6; }
69273 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69274 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69275 $as_echo_n "(cached) " >&6
69276 else
69277
69278
69279 ac_ext=cpp
69280 ac_cpp='$CXXCPP $CPPFLAGS'
69281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69284
69285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69286 /* end confdefs.h. */
69287 #include <math.h>
69288 #ifdef HAVE_IEEEFP_H
69289 #include <ieeefp.h>
69290 #endif
69291
69292 int
69293 main ()
69294 {
69295 _expl(0);
69296 ;
69297 return 0;
69298 }
69299 _ACEOF
69300 if ac_fn_cxx_try_compile "$LINENO"; then :
69301 glibcxx_cv_func__expl_use=yes
69302 else
69303 glibcxx_cv_func__expl_use=no
69304 fi
69305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69306 ac_ext=c
69307 ac_cpp='$CPP $CPPFLAGS'
69308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69311
69312
69313 fi
69314
69315 fi
69316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69317 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69318
69319 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69320 for ac_func in _expl
69321 do :
69322 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69323 if test "x$ac_cv_func__expl" = x""yes; then :
69324 cat >>confdefs.h <<_ACEOF
69325 #define HAVE__EXPL 1
69326 _ACEOF
69327
69328 fi
69329 done
69330
69331 fi
69332 fi
69333
69334
69335
69336
69337
69338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69339 $as_echo_n "checking for fabsl declaration... " >&6; }
69340 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69341 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69342 $as_echo_n "(cached) " >&6
69343 else
69344
69345
69346 ac_ext=cpp
69347 ac_cpp='$CXXCPP $CPPFLAGS'
69348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69351
69352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69353 /* end confdefs.h. */
69354 #include <math.h>
69355 #ifdef HAVE_IEEEFP_H
69356 #include <ieeefp.h>
69357 #endif
69358
69359 int
69360 main ()
69361 {
69362 fabsl(0);
69363 ;
69364 return 0;
69365 }
69366 _ACEOF
69367 if ac_fn_cxx_try_compile "$LINENO"; then :
69368 glibcxx_cv_func_fabsl_use=yes
69369 else
69370 glibcxx_cv_func_fabsl_use=no
69371 fi
69372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69373 ac_ext=c
69374 ac_cpp='$CPP $CPPFLAGS'
69375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69378
69379
69380 fi
69381
69382 fi
69383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69384 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69385
69386 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69387 for ac_func in fabsl
69388 do :
69389 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69390 if test "x$ac_cv_func_fabsl" = x""yes; then :
69391 cat >>confdefs.h <<_ACEOF
69392 #define HAVE_FABSL 1
69393 _ACEOF
69394
69395 fi
69396 done
69397
69398 else
69399
69400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69401 $as_echo_n "checking for _fabsl declaration... " >&6; }
69402 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69403 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69404 $as_echo_n "(cached) " >&6
69405 else
69406
69407
69408 ac_ext=cpp
69409 ac_cpp='$CXXCPP $CPPFLAGS'
69410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69413
69414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69415 /* end confdefs.h. */
69416 #include <math.h>
69417 #ifdef HAVE_IEEEFP_H
69418 #include <ieeefp.h>
69419 #endif
69420
69421 int
69422 main ()
69423 {
69424 _fabsl(0);
69425 ;
69426 return 0;
69427 }
69428 _ACEOF
69429 if ac_fn_cxx_try_compile "$LINENO"; then :
69430 glibcxx_cv_func__fabsl_use=yes
69431 else
69432 glibcxx_cv_func__fabsl_use=no
69433 fi
69434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69435 ac_ext=c
69436 ac_cpp='$CPP $CPPFLAGS'
69437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69440
69441
69442 fi
69443
69444 fi
69445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69446 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69447
69448 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69449 for ac_func in _fabsl
69450 do :
69451 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69452 if test "x$ac_cv_func__fabsl" = x""yes; then :
69453 cat >>confdefs.h <<_ACEOF
69454 #define HAVE__FABSL 1
69455 _ACEOF
69456
69457 fi
69458 done
69459
69460 fi
69461 fi
69462
69463
69464
69465
69466
69467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69468 $as_echo_n "checking for fmodl declaration... " >&6; }
69469 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69470 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69471 $as_echo_n "(cached) " >&6
69472 else
69473
69474
69475 ac_ext=cpp
69476 ac_cpp='$CXXCPP $CPPFLAGS'
69477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69480
69481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69482 /* end confdefs.h. */
69483 #include <math.h>
69484 int
69485 main ()
69486 {
69487 fmodl(0, 0);
69488 ;
69489 return 0;
69490 }
69491 _ACEOF
69492 if ac_fn_cxx_try_compile "$LINENO"; then :
69493 glibcxx_cv_func_fmodl_use=yes
69494 else
69495 glibcxx_cv_func_fmodl_use=no
69496 fi
69497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69498 ac_ext=c
69499 ac_cpp='$CPP $CPPFLAGS'
69500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69503
69504
69505 fi
69506
69507 fi
69508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69509 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69510
69511 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69512 for ac_func in fmodl
69513 do :
69514 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69515 if test "x$ac_cv_func_fmodl" = x""yes; then :
69516 cat >>confdefs.h <<_ACEOF
69517 #define HAVE_FMODL 1
69518 _ACEOF
69519
69520 fi
69521 done
69522
69523 else
69524
69525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69526 $as_echo_n "checking for _fmodl declaration... " >&6; }
69527 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69528 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69529 $as_echo_n "(cached) " >&6
69530 else
69531
69532
69533 ac_ext=cpp
69534 ac_cpp='$CXXCPP $CPPFLAGS'
69535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69538
69539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69540 /* end confdefs.h. */
69541 #include <math.h>
69542 int
69543 main ()
69544 {
69545 _fmodl(0, 0);
69546 ;
69547 return 0;
69548 }
69549 _ACEOF
69550 if ac_fn_cxx_try_compile "$LINENO"; then :
69551 glibcxx_cv_func__fmodl_use=yes
69552 else
69553 glibcxx_cv_func__fmodl_use=no
69554 fi
69555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69556 ac_ext=c
69557 ac_cpp='$CPP $CPPFLAGS'
69558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69561
69562
69563 fi
69564
69565 fi
69566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69567 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69568
69569 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69570 for ac_func in _fmodl
69571 do :
69572 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69573 if test "x$ac_cv_func__fmodl" = x""yes; then :
69574 cat >>confdefs.h <<_ACEOF
69575 #define HAVE__FMODL 1
69576 _ACEOF
69577
69578 fi
69579 done
69580
69581 fi
69582 fi
69583
69584
69585
69586
69587
69588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69589 $as_echo_n "checking for frexpl declaration... " >&6; }
69590 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69591 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69592 $as_echo_n "(cached) " >&6
69593 else
69594
69595
69596 ac_ext=cpp
69597 ac_cpp='$CXXCPP $CPPFLAGS'
69598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69601
69602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69603 /* end confdefs.h. */
69604 #include <math.h>
69605 int
69606 main ()
69607 {
69608 frexpl(0, 0);
69609 ;
69610 return 0;
69611 }
69612 _ACEOF
69613 if ac_fn_cxx_try_compile "$LINENO"; then :
69614 glibcxx_cv_func_frexpl_use=yes
69615 else
69616 glibcxx_cv_func_frexpl_use=no
69617 fi
69618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69619 ac_ext=c
69620 ac_cpp='$CPP $CPPFLAGS'
69621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69624
69625
69626 fi
69627
69628 fi
69629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69630 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69631
69632 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69633 for ac_func in frexpl
69634 do :
69635 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69636 if test "x$ac_cv_func_frexpl" = x""yes; then :
69637 cat >>confdefs.h <<_ACEOF
69638 #define HAVE_FREXPL 1
69639 _ACEOF
69640
69641 fi
69642 done
69643
69644 else
69645
69646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69647 $as_echo_n "checking for _frexpl declaration... " >&6; }
69648 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69649 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69650 $as_echo_n "(cached) " >&6
69651 else
69652
69653
69654 ac_ext=cpp
69655 ac_cpp='$CXXCPP $CPPFLAGS'
69656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69659
69660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69661 /* end confdefs.h. */
69662 #include <math.h>
69663 int
69664 main ()
69665 {
69666 _frexpl(0, 0);
69667 ;
69668 return 0;
69669 }
69670 _ACEOF
69671 if ac_fn_cxx_try_compile "$LINENO"; then :
69672 glibcxx_cv_func__frexpl_use=yes
69673 else
69674 glibcxx_cv_func__frexpl_use=no
69675 fi
69676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69677 ac_ext=c
69678 ac_cpp='$CPP $CPPFLAGS'
69679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69682
69683
69684 fi
69685
69686 fi
69687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69688 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69689
69690 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69691 for ac_func in _frexpl
69692 do :
69693 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69694 if test "x$ac_cv_func__frexpl" = x""yes; then :
69695 cat >>confdefs.h <<_ACEOF
69696 #define HAVE__FREXPL 1
69697 _ACEOF
69698
69699 fi
69700 done
69701
69702 fi
69703 fi
69704
69705
69706
69707
69708
69709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69710 $as_echo_n "checking for hypotl declaration... " >&6; }
69711 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69712 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69713 $as_echo_n "(cached) " >&6
69714 else
69715
69716
69717 ac_ext=cpp
69718 ac_cpp='$CXXCPP $CPPFLAGS'
69719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69722
69723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69724 /* end confdefs.h. */
69725 #include <math.h>
69726 int
69727 main ()
69728 {
69729 hypotl(0, 0);
69730 ;
69731 return 0;
69732 }
69733 _ACEOF
69734 if ac_fn_cxx_try_compile "$LINENO"; then :
69735 glibcxx_cv_func_hypotl_use=yes
69736 else
69737 glibcxx_cv_func_hypotl_use=no
69738 fi
69739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69740 ac_ext=c
69741 ac_cpp='$CPP $CPPFLAGS'
69742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69745
69746
69747 fi
69748
69749 fi
69750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69751 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69752
69753 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69754 for ac_func in hypotl
69755 do :
69756 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69757 if test "x$ac_cv_func_hypotl" = x""yes; then :
69758 cat >>confdefs.h <<_ACEOF
69759 #define HAVE_HYPOTL 1
69760 _ACEOF
69761
69762 fi
69763 done
69764
69765 else
69766
69767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69768 $as_echo_n "checking for _hypotl declaration... " >&6; }
69769 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69770 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69771 $as_echo_n "(cached) " >&6
69772 else
69773
69774
69775 ac_ext=cpp
69776 ac_cpp='$CXXCPP $CPPFLAGS'
69777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69780
69781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69782 /* end confdefs.h. */
69783 #include <math.h>
69784 int
69785 main ()
69786 {
69787 _hypotl(0, 0);
69788 ;
69789 return 0;
69790 }
69791 _ACEOF
69792 if ac_fn_cxx_try_compile "$LINENO"; then :
69793 glibcxx_cv_func__hypotl_use=yes
69794 else
69795 glibcxx_cv_func__hypotl_use=no
69796 fi
69797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69798 ac_ext=c
69799 ac_cpp='$CPP $CPPFLAGS'
69800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69803
69804
69805 fi
69806
69807 fi
69808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69809 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69810
69811 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69812 for ac_func in _hypotl
69813 do :
69814 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69815 if test "x$ac_cv_func__hypotl" = x""yes; then :
69816 cat >>confdefs.h <<_ACEOF
69817 #define HAVE__HYPOTL 1
69818 _ACEOF
69819
69820 fi
69821 done
69822
69823 fi
69824 fi
69825
69826
69827
69828
69829
69830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69831 $as_echo_n "checking for ldexpl declaration... " >&6; }
69832 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69833 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69834 $as_echo_n "(cached) " >&6
69835 else
69836
69837
69838 ac_ext=cpp
69839 ac_cpp='$CXXCPP $CPPFLAGS'
69840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69843
69844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69845 /* end confdefs.h. */
69846 #include <math.h>
69847 int
69848 main ()
69849 {
69850 ldexpl(0, 0);
69851 ;
69852 return 0;
69853 }
69854 _ACEOF
69855 if ac_fn_cxx_try_compile "$LINENO"; then :
69856 glibcxx_cv_func_ldexpl_use=yes
69857 else
69858 glibcxx_cv_func_ldexpl_use=no
69859 fi
69860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69861 ac_ext=c
69862 ac_cpp='$CPP $CPPFLAGS'
69863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69866
69867
69868 fi
69869
69870 fi
69871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69872 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69873
69874 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69875 for ac_func in ldexpl
69876 do :
69877 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69878 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69879 cat >>confdefs.h <<_ACEOF
69880 #define HAVE_LDEXPL 1
69881 _ACEOF
69882
69883 fi
69884 done
69885
69886 else
69887
69888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69889 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69890 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69891 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69892 $as_echo_n "(cached) " >&6
69893 else
69894
69895
69896 ac_ext=cpp
69897 ac_cpp='$CXXCPP $CPPFLAGS'
69898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69901
69902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69903 /* end confdefs.h. */
69904 #include <math.h>
69905 int
69906 main ()
69907 {
69908 _ldexpl(0, 0);
69909 ;
69910 return 0;
69911 }
69912 _ACEOF
69913 if ac_fn_cxx_try_compile "$LINENO"; then :
69914 glibcxx_cv_func__ldexpl_use=yes
69915 else
69916 glibcxx_cv_func__ldexpl_use=no
69917 fi
69918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69919 ac_ext=c
69920 ac_cpp='$CPP $CPPFLAGS'
69921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69924
69925
69926 fi
69927
69928 fi
69929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69930 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69931
69932 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69933 for ac_func in _ldexpl
69934 do :
69935 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69936 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69937 cat >>confdefs.h <<_ACEOF
69938 #define HAVE__LDEXPL 1
69939 _ACEOF
69940
69941 fi
69942 done
69943
69944 fi
69945 fi
69946
69947
69948
69949
69950
69951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69952 $as_echo_n "checking for logl declaration... " >&6; }
69953 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69954 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69955 $as_echo_n "(cached) " >&6
69956 else
69957
69958
69959 ac_ext=cpp
69960 ac_cpp='$CXXCPP $CPPFLAGS'
69961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69964
69965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69966 /* end confdefs.h. */
69967 #include <math.h>
69968 #ifdef HAVE_IEEEFP_H
69969 #include <ieeefp.h>
69970 #endif
69971
69972 int
69973 main ()
69974 {
69975 logl(0);
69976 ;
69977 return 0;
69978 }
69979 _ACEOF
69980 if ac_fn_cxx_try_compile "$LINENO"; then :
69981 glibcxx_cv_func_logl_use=yes
69982 else
69983 glibcxx_cv_func_logl_use=no
69984 fi
69985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69986 ac_ext=c
69987 ac_cpp='$CPP $CPPFLAGS'
69988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69991
69992
69993 fi
69994
69995 fi
69996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69997 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69998
69999 if test x$glibcxx_cv_func_logl_use = x"yes"; then
70000 for ac_func in logl
70001 do :
70002 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
70003 if test "x$ac_cv_func_logl" = x""yes; then :
70004 cat >>confdefs.h <<_ACEOF
70005 #define HAVE_LOGL 1
70006 _ACEOF
70007
70008 fi
70009 done
70010
70011 else
70012
70013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70014 $as_echo_n "checking for _logl declaration... " >&6; }
70015 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70016 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70017 $as_echo_n "(cached) " >&6
70018 else
70019
70020
70021 ac_ext=cpp
70022 ac_cpp='$CXXCPP $CPPFLAGS'
70023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70026
70027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70028 /* end confdefs.h. */
70029 #include <math.h>
70030 #ifdef HAVE_IEEEFP_H
70031 #include <ieeefp.h>
70032 #endif
70033
70034 int
70035 main ()
70036 {
70037 _logl(0);
70038 ;
70039 return 0;
70040 }
70041 _ACEOF
70042 if ac_fn_cxx_try_compile "$LINENO"; then :
70043 glibcxx_cv_func__logl_use=yes
70044 else
70045 glibcxx_cv_func__logl_use=no
70046 fi
70047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70048 ac_ext=c
70049 ac_cpp='$CPP $CPPFLAGS'
70050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70053
70054
70055 fi
70056
70057 fi
70058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70059 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70060
70061 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70062 for ac_func in _logl
70063 do :
70064 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70065 if test "x$ac_cv_func__logl" = x""yes; then :
70066 cat >>confdefs.h <<_ACEOF
70067 #define HAVE__LOGL 1
70068 _ACEOF
70069
70070 fi
70071 done
70072
70073 fi
70074 fi
70075
70076
70077
70078
70079
70080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70081 $as_echo_n "checking for log10l declaration... " >&6; }
70082 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70083 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70084 $as_echo_n "(cached) " >&6
70085 else
70086
70087
70088 ac_ext=cpp
70089 ac_cpp='$CXXCPP $CPPFLAGS'
70090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70093
70094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70095 /* end confdefs.h. */
70096 #include <math.h>
70097 #ifdef HAVE_IEEEFP_H
70098 #include <ieeefp.h>
70099 #endif
70100
70101 int
70102 main ()
70103 {
70104 log10l(0);
70105 ;
70106 return 0;
70107 }
70108 _ACEOF
70109 if ac_fn_cxx_try_compile "$LINENO"; then :
70110 glibcxx_cv_func_log10l_use=yes
70111 else
70112 glibcxx_cv_func_log10l_use=no
70113 fi
70114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70115 ac_ext=c
70116 ac_cpp='$CPP $CPPFLAGS'
70117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70120
70121
70122 fi
70123
70124 fi
70125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70126 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70127
70128 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70129 for ac_func in log10l
70130 do :
70131 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70132 if test "x$ac_cv_func_log10l" = x""yes; then :
70133 cat >>confdefs.h <<_ACEOF
70134 #define HAVE_LOG10L 1
70135 _ACEOF
70136
70137 fi
70138 done
70139
70140 else
70141
70142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70143 $as_echo_n "checking for _log10l declaration... " >&6; }
70144 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70145 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70146 $as_echo_n "(cached) " >&6
70147 else
70148
70149
70150 ac_ext=cpp
70151 ac_cpp='$CXXCPP $CPPFLAGS'
70152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70155
70156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70157 /* end confdefs.h. */
70158 #include <math.h>
70159 #ifdef HAVE_IEEEFP_H
70160 #include <ieeefp.h>
70161 #endif
70162
70163 int
70164 main ()
70165 {
70166 _log10l(0);
70167 ;
70168 return 0;
70169 }
70170 _ACEOF
70171 if ac_fn_cxx_try_compile "$LINENO"; then :
70172 glibcxx_cv_func__log10l_use=yes
70173 else
70174 glibcxx_cv_func__log10l_use=no
70175 fi
70176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70177 ac_ext=c
70178 ac_cpp='$CPP $CPPFLAGS'
70179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70182
70183
70184 fi
70185
70186 fi
70187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70188 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70189
70190 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70191 for ac_func in _log10l
70192 do :
70193 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70194 if test "x$ac_cv_func__log10l" = x""yes; then :
70195 cat >>confdefs.h <<_ACEOF
70196 #define HAVE__LOG10L 1
70197 _ACEOF
70198
70199 fi
70200 done
70201
70202 fi
70203 fi
70204
70205
70206
70207
70208
70209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70210 $as_echo_n "checking for modfl declaration... " >&6; }
70211 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70212 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70213 $as_echo_n "(cached) " >&6
70214 else
70215
70216
70217 ac_ext=cpp
70218 ac_cpp='$CXXCPP $CPPFLAGS'
70219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70222
70223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70224 /* end confdefs.h. */
70225 #include <math.h>
70226 int
70227 main ()
70228 {
70229 modfl(0, 0);
70230 ;
70231 return 0;
70232 }
70233 _ACEOF
70234 if ac_fn_cxx_try_compile "$LINENO"; then :
70235 glibcxx_cv_func_modfl_use=yes
70236 else
70237 glibcxx_cv_func_modfl_use=no
70238 fi
70239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70240 ac_ext=c
70241 ac_cpp='$CPP $CPPFLAGS'
70242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70245
70246
70247 fi
70248
70249 fi
70250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70251 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70252
70253 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70254 for ac_func in modfl
70255 do :
70256 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70257 if test "x$ac_cv_func_modfl" = x""yes; then :
70258 cat >>confdefs.h <<_ACEOF
70259 #define HAVE_MODFL 1
70260 _ACEOF
70261
70262 fi
70263 done
70264
70265 else
70266
70267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70268 $as_echo_n "checking for _modfl declaration... " >&6; }
70269 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70270 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70271 $as_echo_n "(cached) " >&6
70272 else
70273
70274
70275 ac_ext=cpp
70276 ac_cpp='$CXXCPP $CPPFLAGS'
70277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70280
70281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70282 /* end confdefs.h. */
70283 #include <math.h>
70284 int
70285 main ()
70286 {
70287 _modfl(0, 0);
70288 ;
70289 return 0;
70290 }
70291 _ACEOF
70292 if ac_fn_cxx_try_compile "$LINENO"; then :
70293 glibcxx_cv_func__modfl_use=yes
70294 else
70295 glibcxx_cv_func__modfl_use=no
70296 fi
70297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70298 ac_ext=c
70299 ac_cpp='$CPP $CPPFLAGS'
70300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70303
70304
70305 fi
70306
70307 fi
70308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70309 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70310
70311 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70312 for ac_func in _modfl
70313 do :
70314 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70315 if test "x$ac_cv_func__modfl" = x""yes; then :
70316 cat >>confdefs.h <<_ACEOF
70317 #define HAVE__MODFL 1
70318 _ACEOF
70319
70320 fi
70321 done
70322
70323 fi
70324 fi
70325
70326
70327
70328
70329
70330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70331 $as_echo_n "checking for powl declaration... " >&6; }
70332 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70333 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70334 $as_echo_n "(cached) " >&6
70335 else
70336
70337
70338 ac_ext=cpp
70339 ac_cpp='$CXXCPP $CPPFLAGS'
70340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70343
70344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70345 /* end confdefs.h. */
70346 #include <math.h>
70347 int
70348 main ()
70349 {
70350 powl(0, 0);
70351 ;
70352 return 0;
70353 }
70354 _ACEOF
70355 if ac_fn_cxx_try_compile "$LINENO"; then :
70356 glibcxx_cv_func_powl_use=yes
70357 else
70358 glibcxx_cv_func_powl_use=no
70359 fi
70360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70361 ac_ext=c
70362 ac_cpp='$CPP $CPPFLAGS'
70363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70366
70367
70368 fi
70369
70370 fi
70371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70372 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70373
70374 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70375 for ac_func in powl
70376 do :
70377 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70378 if test "x$ac_cv_func_powl" = x""yes; then :
70379 cat >>confdefs.h <<_ACEOF
70380 #define HAVE_POWL 1
70381 _ACEOF
70382
70383 fi
70384 done
70385
70386 else
70387
70388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70389 $as_echo_n "checking for _powl declaration... " >&6; }
70390 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70391 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70392 $as_echo_n "(cached) " >&6
70393 else
70394
70395
70396 ac_ext=cpp
70397 ac_cpp='$CXXCPP $CPPFLAGS'
70398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70401
70402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70403 /* end confdefs.h. */
70404 #include <math.h>
70405 int
70406 main ()
70407 {
70408 _powl(0, 0);
70409 ;
70410 return 0;
70411 }
70412 _ACEOF
70413 if ac_fn_cxx_try_compile "$LINENO"; then :
70414 glibcxx_cv_func__powl_use=yes
70415 else
70416 glibcxx_cv_func__powl_use=no
70417 fi
70418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70419 ac_ext=c
70420 ac_cpp='$CPP $CPPFLAGS'
70421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70424
70425
70426 fi
70427
70428 fi
70429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70430 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70431
70432 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70433 for ac_func in _powl
70434 do :
70435 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70436 if test "x$ac_cv_func__powl" = x""yes; then :
70437 cat >>confdefs.h <<_ACEOF
70438 #define HAVE__POWL 1
70439 _ACEOF
70440
70441 fi
70442 done
70443
70444 fi
70445 fi
70446
70447
70448
70449
70450
70451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70452 $as_echo_n "checking for sqrtl declaration... " >&6; }
70453 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70454 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70455 $as_echo_n "(cached) " >&6
70456 else
70457
70458
70459 ac_ext=cpp
70460 ac_cpp='$CXXCPP $CPPFLAGS'
70461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70464
70465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70466 /* end confdefs.h. */
70467 #include <math.h>
70468 #ifdef HAVE_IEEEFP_H
70469 #include <ieeefp.h>
70470 #endif
70471
70472 int
70473 main ()
70474 {
70475 sqrtl(0);
70476 ;
70477 return 0;
70478 }
70479 _ACEOF
70480 if ac_fn_cxx_try_compile "$LINENO"; then :
70481 glibcxx_cv_func_sqrtl_use=yes
70482 else
70483 glibcxx_cv_func_sqrtl_use=no
70484 fi
70485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70486 ac_ext=c
70487 ac_cpp='$CPP $CPPFLAGS'
70488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70491
70492
70493 fi
70494
70495 fi
70496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70497 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70498
70499 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70500 for ac_func in sqrtl
70501 do :
70502 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70503 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70504 cat >>confdefs.h <<_ACEOF
70505 #define HAVE_SQRTL 1
70506 _ACEOF
70507
70508 fi
70509 done
70510
70511 else
70512
70513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70514 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70515 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70516 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70517 $as_echo_n "(cached) " >&6
70518 else
70519
70520
70521 ac_ext=cpp
70522 ac_cpp='$CXXCPP $CPPFLAGS'
70523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70526
70527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70528 /* end confdefs.h. */
70529 #include <math.h>
70530 #ifdef HAVE_IEEEFP_H
70531 #include <ieeefp.h>
70532 #endif
70533
70534 int
70535 main ()
70536 {
70537 _sqrtl(0);
70538 ;
70539 return 0;
70540 }
70541 _ACEOF
70542 if ac_fn_cxx_try_compile "$LINENO"; then :
70543 glibcxx_cv_func__sqrtl_use=yes
70544 else
70545 glibcxx_cv_func__sqrtl_use=no
70546 fi
70547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70548 ac_ext=c
70549 ac_cpp='$CPP $CPPFLAGS'
70550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70553
70554
70555 fi
70556
70557 fi
70558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70559 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70560
70561 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70562 for ac_func in _sqrtl
70563 do :
70564 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70565 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70566 cat >>confdefs.h <<_ACEOF
70567 #define HAVE__SQRTL 1
70568 _ACEOF
70569
70570 fi
70571 done
70572
70573 fi
70574 fi
70575
70576
70577
70578
70579
70580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70581 $as_echo_n "checking for sincosl declaration... " >&6; }
70582 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70583 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70584 $as_echo_n "(cached) " >&6
70585 else
70586
70587
70588 ac_ext=cpp
70589 ac_cpp='$CXXCPP $CPPFLAGS'
70590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70593
70594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70595 /* end confdefs.h. */
70596 #include <math.h>
70597 int
70598 main ()
70599 {
70600 sincosl(0, 0, 0);
70601 ;
70602 return 0;
70603 }
70604 _ACEOF
70605 if ac_fn_cxx_try_compile "$LINENO"; then :
70606 glibcxx_cv_func_sincosl_use=yes
70607 else
70608 glibcxx_cv_func_sincosl_use=no
70609 fi
70610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70611 ac_ext=c
70612 ac_cpp='$CPP $CPPFLAGS'
70613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70616
70617
70618 fi
70619
70620 fi
70621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70622 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70623
70624 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70625 for ac_func in sincosl
70626 do :
70627 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70628 if test "x$ac_cv_func_sincosl" = x""yes; then :
70629 cat >>confdefs.h <<_ACEOF
70630 #define HAVE_SINCOSL 1
70631 _ACEOF
70632
70633 fi
70634 done
70635
70636 else
70637
70638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70639 $as_echo_n "checking for _sincosl declaration... " >&6; }
70640 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70641 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70642 $as_echo_n "(cached) " >&6
70643 else
70644
70645
70646 ac_ext=cpp
70647 ac_cpp='$CXXCPP $CPPFLAGS'
70648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70651
70652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70653 /* end confdefs.h. */
70654 #include <math.h>
70655 int
70656 main ()
70657 {
70658 _sincosl(0, 0, 0);
70659 ;
70660 return 0;
70661 }
70662 _ACEOF
70663 if ac_fn_cxx_try_compile "$LINENO"; then :
70664 glibcxx_cv_func__sincosl_use=yes
70665 else
70666 glibcxx_cv_func__sincosl_use=no
70667 fi
70668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70669 ac_ext=c
70670 ac_cpp='$CPP $CPPFLAGS'
70671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70674
70675
70676 fi
70677
70678 fi
70679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70680 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70681
70682 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70683 for ac_func in _sincosl
70684 do :
70685 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70686 if test "x$ac_cv_func__sincosl" = x""yes; then :
70687 cat >>confdefs.h <<_ACEOF
70688 #define HAVE__SINCOSL 1
70689 _ACEOF
70690
70691 fi
70692 done
70693
70694 fi
70695 fi
70696
70697
70698
70699
70700
70701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70702 $as_echo_n "checking for finitel declaration... " >&6; }
70703 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70704 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70705 $as_echo_n "(cached) " >&6
70706 else
70707
70708
70709 ac_ext=cpp
70710 ac_cpp='$CXXCPP $CPPFLAGS'
70711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70714
70715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70716 /* end confdefs.h. */
70717 #include <math.h>
70718 #ifdef HAVE_IEEEFP_H
70719 #include <ieeefp.h>
70720 #endif
70721
70722 int
70723 main ()
70724 {
70725 finitel(0);
70726 ;
70727 return 0;
70728 }
70729 _ACEOF
70730 if ac_fn_cxx_try_compile "$LINENO"; then :
70731 glibcxx_cv_func_finitel_use=yes
70732 else
70733 glibcxx_cv_func_finitel_use=no
70734 fi
70735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70736 ac_ext=c
70737 ac_cpp='$CPP $CPPFLAGS'
70738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70741
70742
70743 fi
70744
70745 fi
70746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70747 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70748
70749 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70750 for ac_func in finitel
70751 do :
70752 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70753 if test "x$ac_cv_func_finitel" = x""yes; then :
70754 cat >>confdefs.h <<_ACEOF
70755 #define HAVE_FINITEL 1
70756 _ACEOF
70757
70758 fi
70759 done
70760
70761 else
70762
70763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70764 $as_echo_n "checking for _finitel declaration... " >&6; }
70765 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70766 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70767 $as_echo_n "(cached) " >&6
70768 else
70769
70770
70771 ac_ext=cpp
70772 ac_cpp='$CXXCPP $CPPFLAGS'
70773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70776
70777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70778 /* end confdefs.h. */
70779 #include <math.h>
70780 #ifdef HAVE_IEEEFP_H
70781 #include <ieeefp.h>
70782 #endif
70783
70784 int
70785 main ()
70786 {
70787 _finitel(0);
70788 ;
70789 return 0;
70790 }
70791 _ACEOF
70792 if ac_fn_cxx_try_compile "$LINENO"; then :
70793 glibcxx_cv_func__finitel_use=yes
70794 else
70795 glibcxx_cv_func__finitel_use=no
70796 fi
70797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70798 ac_ext=c
70799 ac_cpp='$CPP $CPPFLAGS'
70800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70803
70804
70805 fi
70806
70807 fi
70808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70809 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70810
70811 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70812 for ac_func in _finitel
70813 do :
70814 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70815 if test "x$ac_cv_func__finitel" = x""yes; then :
70816 cat >>confdefs.h <<_ACEOF
70817 #define HAVE__FINITEL 1
70818 _ACEOF
70819
70820 fi
70821 done
70822
70823 fi
70824 fi
70825
70826
70827
70828
70829 LIBS="$ac_save_LIBS"
70830 CXXFLAGS="$ac_save_CXXFLAGS"
70831
70832
70833 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70834 ac_save_CXXFLAGS="$CXXFLAGS"
70835 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70836
70837
70838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70839 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70840 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70841 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70842 $as_echo_n "(cached) " >&6
70843 else
70844
70845
70846 ac_ext=cpp
70847 ac_cpp='$CXXCPP $CPPFLAGS'
70848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70851
70852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70853 /* end confdefs.h. */
70854 #include <stdlib.h>
70855 int
70856 main ()
70857 {
70858 at_quick_exit(0);
70859 ;
70860 return 0;
70861 }
70862 _ACEOF
70863 if ac_fn_cxx_try_compile "$LINENO"; then :
70864 glibcxx_cv_func_at_quick_exit_use=yes
70865 else
70866 glibcxx_cv_func_at_quick_exit_use=no
70867 fi
70868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70869 ac_ext=c
70870 ac_cpp='$CPP $CPPFLAGS'
70871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70874
70875
70876 fi
70877
70878 fi
70879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70880 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70881 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70882 for ac_func in at_quick_exit
70883 do :
70884 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70885 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70886 cat >>confdefs.h <<_ACEOF
70887 #define HAVE_AT_QUICK_EXIT 1
70888 _ACEOF
70889
70890 fi
70891 done
70892
70893 fi
70894
70895
70896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70897 $as_echo_n "checking for quick_exit declaration... " >&6; }
70898 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70899 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70900 $as_echo_n "(cached) " >&6
70901 else
70902
70903
70904 ac_ext=cpp
70905 ac_cpp='$CXXCPP $CPPFLAGS'
70906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70909
70910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70911 /* end confdefs.h. */
70912 #include <stdlib.h>
70913 int
70914 main ()
70915 {
70916 quick_exit(0);
70917 ;
70918 return 0;
70919 }
70920 _ACEOF
70921 if ac_fn_cxx_try_compile "$LINENO"; then :
70922 glibcxx_cv_func_quick_exit_use=yes
70923 else
70924 glibcxx_cv_func_quick_exit_use=no
70925 fi
70926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70927 ac_ext=c
70928 ac_cpp='$CPP $CPPFLAGS'
70929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70932
70933
70934 fi
70935
70936 fi
70937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70938 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70939 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70940 for ac_func in quick_exit
70941 do :
70942 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70943 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70944 cat >>confdefs.h <<_ACEOF
70945 #define HAVE_QUICK_EXIT 1
70946 _ACEOF
70947
70948 fi
70949 done
70950
70951 fi
70952
70953
70954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70955 $as_echo_n "checking for strtold declaration... " >&6; }
70956 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70957 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70958 $as_echo_n "(cached) " >&6
70959 else
70960
70961
70962 ac_ext=cpp
70963 ac_cpp='$CXXCPP $CPPFLAGS'
70964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70967
70968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70969 /* end confdefs.h. */
70970 #include <stdlib.h>
70971 int
70972 main ()
70973 {
70974 strtold(0, 0);
70975 ;
70976 return 0;
70977 }
70978 _ACEOF
70979 if ac_fn_cxx_try_compile "$LINENO"; then :
70980 glibcxx_cv_func_strtold_use=yes
70981 else
70982 glibcxx_cv_func_strtold_use=no
70983 fi
70984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70985 ac_ext=c
70986 ac_cpp='$CPP $CPPFLAGS'
70987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70990
70991
70992 fi
70993
70994 fi
70995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70996 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70997 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70998 for ac_func in strtold
70999 do :
71000 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
71001 if test "x$ac_cv_func_strtold" = x""yes; then :
71002 cat >>confdefs.h <<_ACEOF
71003 #define HAVE_STRTOLD 1
71004 _ACEOF
71005
71006 fi
71007 done
71008
71009 fi
71010
71011
71012
71013
71014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71015 $as_echo_n "checking for strtof declaration... " >&6; }
71016 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71017 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71018 $as_echo_n "(cached) " >&6
71019 else
71020
71021
71022 ac_ext=cpp
71023 ac_cpp='$CXXCPP $CPPFLAGS'
71024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71027
71028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71029 /* end confdefs.h. */
71030 #include <stdlib.h>
71031 int
71032 main ()
71033 {
71034 strtof(0, 0);
71035 ;
71036 return 0;
71037 }
71038 _ACEOF
71039 if ac_fn_cxx_try_compile "$LINENO"; then :
71040 glibcxx_cv_func_strtof_use=yes
71041 else
71042 glibcxx_cv_func_strtof_use=no
71043 fi
71044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71045 ac_ext=c
71046 ac_cpp='$CPP $CPPFLAGS'
71047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71050
71051
71052 fi
71053
71054 fi
71055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71056 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71057 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71058 for ac_func in strtof
71059 do :
71060 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71061 if test "x$ac_cv_func_strtof" = x""yes; then :
71062 cat >>confdefs.h <<_ACEOF
71063 #define HAVE_STRTOF 1
71064 _ACEOF
71065
71066 fi
71067 done
71068
71069 fi
71070
71071
71072
71073
71074 CXXFLAGS="$ac_save_CXXFLAGS"
71075
71076 ;;
71077 *-solaris*)
71078
71079 # If we're not using GNU ld, then there's no point in even trying these
71080 # tests. Check for that first. We should have already tested for gld
71081 # by now (in libtool), but require it now just to be safe...
71082 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71083 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71084
71085
71086
71087 # The name set by libtool depends on the version of libtool. Shame on us
71088 # for depending on an impl detail, but c'est la vie. Older versions used
71089 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71090 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71091 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71092 # set (hence we're using an older libtool), then set it.
71093 if test x${with_gnu_ld+set} != xset; then
71094 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71095 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71096 with_gnu_ld=no
71097 else
71098 with_gnu_ld=$ac_cv_prog_gnu_ld
71099 fi
71100 fi
71101
71102 # Start by getting the version number. I think the libtool test already
71103 # does some of this, but throws away the result.
71104 glibcxx_ld_is_gold=no
71105 if test x"$with_gnu_ld" = x"yes"; then
71106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71107 $as_echo_n "checking for ld version... " >&6; }
71108
71109 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71110 glibcxx_ld_is_gold=yes
71111 fi
71112 ldver=`$LD --version 2>/dev/null |
71113 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'`
71114
71115 glibcxx_gnu_ld_version=`echo $ldver | \
71116 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71118 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71119 fi
71120
71121 # Set --gc-sections.
71122 glibcxx_have_gc_sections=no
71123 if test "$glibcxx_ld_is_gold" = "yes"; then
71124 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71125 glibcxx_have_gc_sections=yes
71126 fi
71127 else
71128 glibcxx_gcsections_min_ld=21602
71129 if test x"$with_gnu_ld" = x"yes" &&
71130 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71131 glibcxx_have_gc_sections=yes
71132 fi
71133 fi
71134 if test "$glibcxx_have_gc_sections" = "yes"; then
71135 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71136 # NB: This flag only works reliably after 2.16.1. Configure tests
71137 # for this are difficult, so hard wire a value that should work.
71138
71139 ac_test_CFLAGS="${CFLAGS+set}"
71140 ac_save_CFLAGS="$CFLAGS"
71141 CFLAGS='-Wl,--gc-sections'
71142
71143 # Check for -Wl,--gc-sections
71144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71145 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71146 if test x$gcc_no_link = xyes; then
71147 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71148 fi
71149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71150 /* end confdefs.h. */
71151 int one(void) { return 1; }
71152 int two(void) { return 2; }
71153
71154 int
71155 main ()
71156 {
71157 two();
71158 ;
71159 return 0;
71160 }
71161 _ACEOF
71162 if ac_fn_c_try_link "$LINENO"; then :
71163 ac_gcsections=yes
71164 else
71165 ac_gcsections=no
71166 fi
71167 rm -f core conftest.err conftest.$ac_objext \
71168 conftest$ac_exeext conftest.$ac_ext
71169 if test "$ac_gcsections" = "yes"; then
71170 rm -f conftest.c
71171 touch conftest.c
71172 if $CC -c conftest.c; then
71173 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71174 grep "Warning: gc-sections option ignored" > /dev/null; then
71175 ac_gcsections=no
71176 fi
71177 fi
71178 rm -f conftest.c conftest.o conftest
71179 fi
71180 if test "$ac_gcsections" = "yes"; then
71181 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71182 fi
71183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71184 $as_echo "$ac_gcsections" >&6; }
71185
71186 if test "$ac_test_CFLAGS" = set; then
71187 CFLAGS="$ac_save_CFLAGS"
71188 else
71189 # this is the suspicious part
71190 CFLAGS=''
71191 fi
71192 fi
71193
71194 # Set -z,relro.
71195 # Note this is only for shared objects.
71196 ac_ld_relro=no
71197 if test x"$with_gnu_ld" = x"yes"; then
71198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71199 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71200 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71201 if test -n "$cxx_z_relo"; then
71202 OPT_LDFLAGS="-Wl,-z,relro"
71203 ac_ld_relro=yes
71204 fi
71205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71206 $as_echo "$ac_ld_relro" >&6; }
71207 fi
71208
71209 # Set linker optimization flags.
71210 if test x"$with_gnu_ld" = x"yes"; then
71211 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71212 fi
71213
71214
71215
71216
71217 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71218
71219 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71220
71221 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71222
71223 # All of the dependencies for wide character support are here, so
71224 # turn it on.
71225 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71226
71227 # These two C99 functions are present only in Solaris >= 10
71228 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71229
71230 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71231
71232 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71233
71234 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71235
71236 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71237
71238 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71239
71240 ;;
71241 *-tpf)
71242 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71243 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71244
71245 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71246
71247 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71248
71249 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71250
71251 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71252
71253 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71254
71255 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71256
71257 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71258
71259 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71260
71261 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71262
71263 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71264
71265 if test x"long_double_math_on_this_cpu" = x"yes"; then
71266 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71267
71268 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71269
71270 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71271
71272 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71273
71274 fi
71275 ;;
71276 *-*vms*)
71277 # Check for available headers.
71278 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71279
71280 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71281 ac_save_CXXFLAGS="$CXXFLAGS"
71282 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71283
71284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71285 $as_echo_n "checking for sin in -lm... " >&6; }
71286 if test "${ac_cv_lib_m_sin+set}" = set; then :
71287 $as_echo_n "(cached) " >&6
71288 else
71289 ac_check_lib_save_LIBS=$LIBS
71290 LIBS="-lm $LIBS"
71291 if test x$gcc_no_link = xyes; then
71292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71293 fi
71294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71295 /* end confdefs.h. */
71296
71297 /* Override any GCC internal prototype to avoid an error.
71298 Use char because int might match the return type of a GCC
71299 builtin and then its argument prototype would still apply. */
71300 #ifdef __cplusplus
71301 extern "C"
71302 #endif
71303 char sin ();
71304 int
71305 main ()
71306 {
71307 return sin ();
71308 ;
71309 return 0;
71310 }
71311 _ACEOF
71312 if ac_fn_c_try_link "$LINENO"; then :
71313 ac_cv_lib_m_sin=yes
71314 else
71315 ac_cv_lib_m_sin=no
71316 fi
71317 rm -f core conftest.err conftest.$ac_objext \
71318 conftest$ac_exeext conftest.$ac_ext
71319 LIBS=$ac_check_lib_save_LIBS
71320 fi
71321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71322 $as_echo "$ac_cv_lib_m_sin" >&6; }
71323 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71324 libm="-lm"
71325 fi
71326
71327 ac_save_LIBS="$LIBS"
71328 LIBS="$LIBS $libm"
71329
71330
71331
71332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71333 $as_echo_n "checking for isinf declaration... " >&6; }
71334 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71335 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71336 $as_echo_n "(cached) " >&6
71337 else
71338
71339
71340 ac_ext=cpp
71341 ac_cpp='$CXXCPP $CPPFLAGS'
71342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71345
71346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71347 /* end confdefs.h. */
71348 #include <math.h>
71349 #ifdef HAVE_IEEEFP_H
71350 #include <ieeefp.h>
71351 #endif
71352
71353 int
71354 main ()
71355 {
71356 isinf(0);
71357 ;
71358 return 0;
71359 }
71360 _ACEOF
71361 if ac_fn_cxx_try_compile "$LINENO"; then :
71362 glibcxx_cv_func_isinf_use=yes
71363 else
71364 glibcxx_cv_func_isinf_use=no
71365 fi
71366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71367 ac_ext=c
71368 ac_cpp='$CPP $CPPFLAGS'
71369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71372
71373
71374 fi
71375
71376 fi
71377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71378 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71379
71380 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71381 for ac_func in isinf
71382 do :
71383 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71384 if test "x$ac_cv_func_isinf" = x""yes; then :
71385 cat >>confdefs.h <<_ACEOF
71386 #define HAVE_ISINF 1
71387 _ACEOF
71388
71389 fi
71390 done
71391
71392 else
71393
71394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71395 $as_echo_n "checking for _isinf declaration... " >&6; }
71396 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71397 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71398 $as_echo_n "(cached) " >&6
71399 else
71400
71401
71402 ac_ext=cpp
71403 ac_cpp='$CXXCPP $CPPFLAGS'
71404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71407
71408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71409 /* end confdefs.h. */
71410 #include <math.h>
71411 #ifdef HAVE_IEEEFP_H
71412 #include <ieeefp.h>
71413 #endif
71414
71415 int
71416 main ()
71417 {
71418 _isinf(0);
71419 ;
71420 return 0;
71421 }
71422 _ACEOF
71423 if ac_fn_cxx_try_compile "$LINENO"; then :
71424 glibcxx_cv_func__isinf_use=yes
71425 else
71426 glibcxx_cv_func__isinf_use=no
71427 fi
71428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71429 ac_ext=c
71430 ac_cpp='$CPP $CPPFLAGS'
71431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71434
71435
71436 fi
71437
71438 fi
71439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71440 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71441
71442 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71443 for ac_func in _isinf
71444 do :
71445 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71446 if test "x$ac_cv_func__isinf" = x""yes; then :
71447 cat >>confdefs.h <<_ACEOF
71448 #define HAVE__ISINF 1
71449 _ACEOF
71450
71451 fi
71452 done
71453
71454 fi
71455 fi
71456
71457
71458
71459
71460
71461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71462 $as_echo_n "checking for isnan declaration... " >&6; }
71463 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71464 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71465 $as_echo_n "(cached) " >&6
71466 else
71467
71468
71469 ac_ext=cpp
71470 ac_cpp='$CXXCPP $CPPFLAGS'
71471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71474
71475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71476 /* end confdefs.h. */
71477 #include <math.h>
71478 #ifdef HAVE_IEEEFP_H
71479 #include <ieeefp.h>
71480 #endif
71481
71482 int
71483 main ()
71484 {
71485 isnan(0);
71486 ;
71487 return 0;
71488 }
71489 _ACEOF
71490 if ac_fn_cxx_try_compile "$LINENO"; then :
71491 glibcxx_cv_func_isnan_use=yes
71492 else
71493 glibcxx_cv_func_isnan_use=no
71494 fi
71495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71496 ac_ext=c
71497 ac_cpp='$CPP $CPPFLAGS'
71498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71501
71502
71503 fi
71504
71505 fi
71506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71507 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71508
71509 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71510 for ac_func in isnan
71511 do :
71512 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71513 if test "x$ac_cv_func_isnan" = x""yes; then :
71514 cat >>confdefs.h <<_ACEOF
71515 #define HAVE_ISNAN 1
71516 _ACEOF
71517
71518 fi
71519 done
71520
71521 else
71522
71523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71524 $as_echo_n "checking for _isnan declaration... " >&6; }
71525 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71526 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71527 $as_echo_n "(cached) " >&6
71528 else
71529
71530
71531 ac_ext=cpp
71532 ac_cpp='$CXXCPP $CPPFLAGS'
71533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71536
71537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71538 /* end confdefs.h. */
71539 #include <math.h>
71540 #ifdef HAVE_IEEEFP_H
71541 #include <ieeefp.h>
71542 #endif
71543
71544 int
71545 main ()
71546 {
71547 _isnan(0);
71548 ;
71549 return 0;
71550 }
71551 _ACEOF
71552 if ac_fn_cxx_try_compile "$LINENO"; then :
71553 glibcxx_cv_func__isnan_use=yes
71554 else
71555 glibcxx_cv_func__isnan_use=no
71556 fi
71557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71558 ac_ext=c
71559 ac_cpp='$CPP $CPPFLAGS'
71560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71563
71564
71565 fi
71566
71567 fi
71568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71569 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71570
71571 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71572 for ac_func in _isnan
71573 do :
71574 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71575 if test "x$ac_cv_func__isnan" = x""yes; then :
71576 cat >>confdefs.h <<_ACEOF
71577 #define HAVE__ISNAN 1
71578 _ACEOF
71579
71580 fi
71581 done
71582
71583 fi
71584 fi
71585
71586
71587
71588
71589
71590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71591 $as_echo_n "checking for finite declaration... " >&6; }
71592 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71593 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71594 $as_echo_n "(cached) " >&6
71595 else
71596
71597
71598 ac_ext=cpp
71599 ac_cpp='$CXXCPP $CPPFLAGS'
71600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71603
71604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71605 /* end confdefs.h. */
71606 #include <math.h>
71607 #ifdef HAVE_IEEEFP_H
71608 #include <ieeefp.h>
71609 #endif
71610
71611 int
71612 main ()
71613 {
71614 finite(0);
71615 ;
71616 return 0;
71617 }
71618 _ACEOF
71619 if ac_fn_cxx_try_compile "$LINENO"; then :
71620 glibcxx_cv_func_finite_use=yes
71621 else
71622 glibcxx_cv_func_finite_use=no
71623 fi
71624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71625 ac_ext=c
71626 ac_cpp='$CPP $CPPFLAGS'
71627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71630
71631
71632 fi
71633
71634 fi
71635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71636 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71637
71638 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71639 for ac_func in finite
71640 do :
71641 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71642 if test "x$ac_cv_func_finite" = x""yes; then :
71643 cat >>confdefs.h <<_ACEOF
71644 #define HAVE_FINITE 1
71645 _ACEOF
71646
71647 fi
71648 done
71649
71650 else
71651
71652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71653 $as_echo_n "checking for _finite declaration... " >&6; }
71654 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71655 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71656 $as_echo_n "(cached) " >&6
71657 else
71658
71659
71660 ac_ext=cpp
71661 ac_cpp='$CXXCPP $CPPFLAGS'
71662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71665
71666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71667 /* end confdefs.h. */
71668 #include <math.h>
71669 #ifdef HAVE_IEEEFP_H
71670 #include <ieeefp.h>
71671 #endif
71672
71673 int
71674 main ()
71675 {
71676 _finite(0);
71677 ;
71678 return 0;
71679 }
71680 _ACEOF
71681 if ac_fn_cxx_try_compile "$LINENO"; then :
71682 glibcxx_cv_func__finite_use=yes
71683 else
71684 glibcxx_cv_func__finite_use=no
71685 fi
71686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71687 ac_ext=c
71688 ac_cpp='$CPP $CPPFLAGS'
71689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71692
71693
71694 fi
71695
71696 fi
71697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71698 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71699
71700 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71701 for ac_func in _finite
71702 do :
71703 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71704 if test "x$ac_cv_func__finite" = x""yes; then :
71705 cat >>confdefs.h <<_ACEOF
71706 #define HAVE__FINITE 1
71707 _ACEOF
71708
71709 fi
71710 done
71711
71712 fi
71713 fi
71714
71715
71716
71717
71718
71719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71720 $as_echo_n "checking for sincos declaration... " >&6; }
71721 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71722 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71723 $as_echo_n "(cached) " >&6
71724 else
71725
71726
71727 ac_ext=cpp
71728 ac_cpp='$CXXCPP $CPPFLAGS'
71729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71732
71733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71734 /* end confdefs.h. */
71735 #include <math.h>
71736 int
71737 main ()
71738 {
71739 sincos(0, 0, 0);
71740 ;
71741 return 0;
71742 }
71743 _ACEOF
71744 if ac_fn_cxx_try_compile "$LINENO"; then :
71745 glibcxx_cv_func_sincos_use=yes
71746 else
71747 glibcxx_cv_func_sincos_use=no
71748 fi
71749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71750 ac_ext=c
71751 ac_cpp='$CPP $CPPFLAGS'
71752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71755
71756
71757 fi
71758
71759 fi
71760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71761 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71762
71763 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71764 for ac_func in sincos
71765 do :
71766 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71767 if test "x$ac_cv_func_sincos" = x""yes; then :
71768 cat >>confdefs.h <<_ACEOF
71769 #define HAVE_SINCOS 1
71770 _ACEOF
71771
71772 fi
71773 done
71774
71775 else
71776
71777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71778 $as_echo_n "checking for _sincos declaration... " >&6; }
71779 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71780 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71781 $as_echo_n "(cached) " >&6
71782 else
71783
71784
71785 ac_ext=cpp
71786 ac_cpp='$CXXCPP $CPPFLAGS'
71787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71790
71791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71792 /* end confdefs.h. */
71793 #include <math.h>
71794 int
71795 main ()
71796 {
71797 _sincos(0, 0, 0);
71798 ;
71799 return 0;
71800 }
71801 _ACEOF
71802 if ac_fn_cxx_try_compile "$LINENO"; then :
71803 glibcxx_cv_func__sincos_use=yes
71804 else
71805 glibcxx_cv_func__sincos_use=no
71806 fi
71807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71808 ac_ext=c
71809 ac_cpp='$CPP $CPPFLAGS'
71810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71813
71814
71815 fi
71816
71817 fi
71818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71819 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71820
71821 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71822 for ac_func in _sincos
71823 do :
71824 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71825 if test "x$ac_cv_func__sincos" = x""yes; then :
71826 cat >>confdefs.h <<_ACEOF
71827 #define HAVE__SINCOS 1
71828 _ACEOF
71829
71830 fi
71831 done
71832
71833 fi
71834 fi
71835
71836
71837
71838
71839
71840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71841 $as_echo_n "checking for fpclass declaration... " >&6; }
71842 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71843 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71844 $as_echo_n "(cached) " >&6
71845 else
71846
71847
71848 ac_ext=cpp
71849 ac_cpp='$CXXCPP $CPPFLAGS'
71850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71853
71854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71855 /* end confdefs.h. */
71856 #include <math.h>
71857 #ifdef HAVE_IEEEFP_H
71858 #include <ieeefp.h>
71859 #endif
71860
71861 int
71862 main ()
71863 {
71864 fpclass(0);
71865 ;
71866 return 0;
71867 }
71868 _ACEOF
71869 if ac_fn_cxx_try_compile "$LINENO"; then :
71870 glibcxx_cv_func_fpclass_use=yes
71871 else
71872 glibcxx_cv_func_fpclass_use=no
71873 fi
71874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71875 ac_ext=c
71876 ac_cpp='$CPP $CPPFLAGS'
71877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71880
71881
71882 fi
71883
71884 fi
71885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71886 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71887
71888 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71889 for ac_func in fpclass
71890 do :
71891 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71892 if test "x$ac_cv_func_fpclass" = x""yes; then :
71893 cat >>confdefs.h <<_ACEOF
71894 #define HAVE_FPCLASS 1
71895 _ACEOF
71896
71897 fi
71898 done
71899
71900 else
71901
71902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71903 $as_echo_n "checking for _fpclass declaration... " >&6; }
71904 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71905 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71906 $as_echo_n "(cached) " >&6
71907 else
71908
71909
71910 ac_ext=cpp
71911 ac_cpp='$CXXCPP $CPPFLAGS'
71912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71915
71916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71917 /* end confdefs.h. */
71918 #include <math.h>
71919 #ifdef HAVE_IEEEFP_H
71920 #include <ieeefp.h>
71921 #endif
71922
71923 int
71924 main ()
71925 {
71926 _fpclass(0);
71927 ;
71928 return 0;
71929 }
71930 _ACEOF
71931 if ac_fn_cxx_try_compile "$LINENO"; then :
71932 glibcxx_cv_func__fpclass_use=yes
71933 else
71934 glibcxx_cv_func__fpclass_use=no
71935 fi
71936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71937 ac_ext=c
71938 ac_cpp='$CPP $CPPFLAGS'
71939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71942
71943
71944 fi
71945
71946 fi
71947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71948 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71949
71950 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71951 for ac_func in _fpclass
71952 do :
71953 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71954 if test "x$ac_cv_func__fpclass" = x""yes; then :
71955 cat >>confdefs.h <<_ACEOF
71956 #define HAVE__FPCLASS 1
71957 _ACEOF
71958
71959 fi
71960 done
71961
71962 fi
71963 fi
71964
71965
71966
71967
71968
71969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71970 $as_echo_n "checking for qfpclass declaration... " >&6; }
71971 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71972 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71973 $as_echo_n "(cached) " >&6
71974 else
71975
71976
71977 ac_ext=cpp
71978 ac_cpp='$CXXCPP $CPPFLAGS'
71979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71982
71983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71984 /* end confdefs.h. */
71985 #include <math.h>
71986 #ifdef HAVE_IEEEFP_H
71987 #include <ieeefp.h>
71988 #endif
71989
71990 int
71991 main ()
71992 {
71993 qfpclass(0);
71994 ;
71995 return 0;
71996 }
71997 _ACEOF
71998 if ac_fn_cxx_try_compile "$LINENO"; then :
71999 glibcxx_cv_func_qfpclass_use=yes
72000 else
72001 glibcxx_cv_func_qfpclass_use=no
72002 fi
72003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72004 ac_ext=c
72005 ac_cpp='$CPP $CPPFLAGS'
72006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72009
72010
72011 fi
72012
72013 fi
72014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72015 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72016
72017 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72018 for ac_func in qfpclass
72019 do :
72020 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72021 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72022 cat >>confdefs.h <<_ACEOF
72023 #define HAVE_QFPCLASS 1
72024 _ACEOF
72025
72026 fi
72027 done
72028
72029 else
72030
72031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72032 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72033 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72034 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72035 $as_echo_n "(cached) " >&6
72036 else
72037
72038
72039 ac_ext=cpp
72040 ac_cpp='$CXXCPP $CPPFLAGS'
72041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72044
72045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72046 /* end confdefs.h. */
72047 #include <math.h>
72048 #ifdef HAVE_IEEEFP_H
72049 #include <ieeefp.h>
72050 #endif
72051
72052 int
72053 main ()
72054 {
72055 _qfpclass(0);
72056 ;
72057 return 0;
72058 }
72059 _ACEOF
72060 if ac_fn_cxx_try_compile "$LINENO"; then :
72061 glibcxx_cv_func__qfpclass_use=yes
72062 else
72063 glibcxx_cv_func__qfpclass_use=no
72064 fi
72065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72066 ac_ext=c
72067 ac_cpp='$CPP $CPPFLAGS'
72068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72071
72072
72073 fi
72074
72075 fi
72076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72077 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72078
72079 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72080 for ac_func in _qfpclass
72081 do :
72082 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72083 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72084 cat >>confdefs.h <<_ACEOF
72085 #define HAVE__QFPCLASS 1
72086 _ACEOF
72087
72088 fi
72089 done
72090
72091 fi
72092 fi
72093
72094
72095
72096
72097
72098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72099 $as_echo_n "checking for hypot declaration... " >&6; }
72100 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72101 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72102 $as_echo_n "(cached) " >&6
72103 else
72104
72105
72106 ac_ext=cpp
72107 ac_cpp='$CXXCPP $CPPFLAGS'
72108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72111
72112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72113 /* end confdefs.h. */
72114 #include <math.h>
72115 int
72116 main ()
72117 {
72118 hypot(0, 0);
72119 ;
72120 return 0;
72121 }
72122 _ACEOF
72123 if ac_fn_cxx_try_compile "$LINENO"; then :
72124 glibcxx_cv_func_hypot_use=yes
72125 else
72126 glibcxx_cv_func_hypot_use=no
72127 fi
72128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72129 ac_ext=c
72130 ac_cpp='$CPP $CPPFLAGS'
72131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72134
72135
72136 fi
72137
72138 fi
72139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72140 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72141
72142 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72143 for ac_func in hypot
72144 do :
72145 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72146 if test "x$ac_cv_func_hypot" = x""yes; then :
72147 cat >>confdefs.h <<_ACEOF
72148 #define HAVE_HYPOT 1
72149 _ACEOF
72150
72151 fi
72152 done
72153
72154 else
72155
72156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72157 $as_echo_n "checking for _hypot declaration... " >&6; }
72158 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72159 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72160 $as_echo_n "(cached) " >&6
72161 else
72162
72163
72164 ac_ext=cpp
72165 ac_cpp='$CXXCPP $CPPFLAGS'
72166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72169
72170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72171 /* end confdefs.h. */
72172 #include <math.h>
72173 int
72174 main ()
72175 {
72176 _hypot(0, 0);
72177 ;
72178 return 0;
72179 }
72180 _ACEOF
72181 if ac_fn_cxx_try_compile "$LINENO"; then :
72182 glibcxx_cv_func__hypot_use=yes
72183 else
72184 glibcxx_cv_func__hypot_use=no
72185 fi
72186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72187 ac_ext=c
72188 ac_cpp='$CPP $CPPFLAGS'
72189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72192
72193
72194 fi
72195
72196 fi
72197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72198 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72199
72200 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72201 for ac_func in _hypot
72202 do :
72203 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72204 if test "x$ac_cv_func__hypot" = x""yes; then :
72205 cat >>confdefs.h <<_ACEOF
72206 #define HAVE__HYPOT 1
72207 _ACEOF
72208
72209 fi
72210 done
72211
72212 fi
72213 fi
72214
72215
72216
72217
72218
72219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72220 $as_echo_n "checking for float trig functions... " >&6; }
72221 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72222 $as_echo_n "(cached) " >&6
72223 else
72224
72225
72226 ac_ext=cpp
72227 ac_cpp='$CXXCPP $CPPFLAGS'
72228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72231
72232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72233 /* end confdefs.h. */
72234 #include <math.h>
72235 int
72236 main ()
72237 {
72238 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72239 ;
72240 return 0;
72241 }
72242 _ACEOF
72243 if ac_fn_cxx_try_compile "$LINENO"; then :
72244 glibcxx_cv_func_float_trig_use=yes
72245 else
72246 glibcxx_cv_func_float_trig_use=no
72247 fi
72248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72249 ac_ext=c
72250 ac_cpp='$CPP $CPPFLAGS'
72251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72254
72255 fi
72256
72257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72258 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72259 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72260 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72261 do :
72262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72264 eval as_val=\$$as_ac_var
72265 if test "x$as_val" = x""yes; then :
72266 cat >>confdefs.h <<_ACEOF
72267 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72268 _ACEOF
72269
72270 fi
72271 done
72272
72273 else
72274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72275 $as_echo_n "checking for _float trig functions... " >&6; }
72276 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72277 $as_echo_n "(cached) " >&6
72278 else
72279
72280
72281 ac_ext=cpp
72282 ac_cpp='$CXXCPP $CPPFLAGS'
72283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72286
72287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72288 /* end confdefs.h. */
72289 #include <math.h>
72290 int
72291 main ()
72292 {
72293 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72294 ;
72295 return 0;
72296 }
72297 _ACEOF
72298 if ac_fn_cxx_try_compile "$LINENO"; then :
72299 glibcxx_cv_func__float_trig_use=yes
72300 else
72301 glibcxx_cv_func__float_trig_use=no
72302 fi
72303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72304 ac_ext=c
72305 ac_cpp='$CPP $CPPFLAGS'
72306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72309
72310 fi
72311
72312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72313 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72314 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72315 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72316 do :
72317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72319 eval as_val=\$$as_ac_var
72320 if test "x$as_val" = x""yes; then :
72321 cat >>confdefs.h <<_ACEOF
72322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72323 _ACEOF
72324
72325 fi
72326 done
72327
72328 fi
72329 fi
72330
72331
72332
72333
72334
72335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72336 $as_echo_n "checking for float round functions... " >&6; }
72337 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72338 $as_echo_n "(cached) " >&6
72339 else
72340
72341
72342 ac_ext=cpp
72343 ac_cpp='$CXXCPP $CPPFLAGS'
72344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72347
72348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72349 /* end confdefs.h. */
72350 #include <math.h>
72351 int
72352 main ()
72353 {
72354 ceilf (0); floorf (0);
72355 ;
72356 return 0;
72357 }
72358 _ACEOF
72359 if ac_fn_cxx_try_compile "$LINENO"; then :
72360 glibcxx_cv_func_float_round_use=yes
72361 else
72362 glibcxx_cv_func_float_round_use=no
72363 fi
72364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72365 ac_ext=c
72366 ac_cpp='$CPP $CPPFLAGS'
72367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72370
72371 fi
72372
72373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72374 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72375 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72376 for ac_func in ceilf floorf
72377 do :
72378 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72379 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72380 eval as_val=\$$as_ac_var
72381 if test "x$as_val" = x""yes; then :
72382 cat >>confdefs.h <<_ACEOF
72383 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72384 _ACEOF
72385
72386 fi
72387 done
72388
72389 else
72390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72391 $as_echo_n "checking for _float round functions... " >&6; }
72392 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72393 $as_echo_n "(cached) " >&6
72394 else
72395
72396
72397 ac_ext=cpp
72398 ac_cpp='$CXXCPP $CPPFLAGS'
72399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72402
72403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72404 /* end confdefs.h. */
72405 #include <math.h>
72406 int
72407 main ()
72408 {
72409 _ceilf (0); _floorf (0);
72410 ;
72411 return 0;
72412 }
72413 _ACEOF
72414 if ac_fn_cxx_try_compile "$LINENO"; then :
72415 glibcxx_cv_func__float_round_use=yes
72416 else
72417 glibcxx_cv_func__float_round_use=no
72418 fi
72419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72420 ac_ext=c
72421 ac_cpp='$CPP $CPPFLAGS'
72422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72425
72426 fi
72427
72428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72429 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72430 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72431 for ac_func in _ceilf _floorf
72432 do :
72433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72435 eval as_val=\$$as_ac_var
72436 if test "x$as_val" = x""yes; then :
72437 cat >>confdefs.h <<_ACEOF
72438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72439 _ACEOF
72440
72441 fi
72442 done
72443
72444 fi
72445 fi
72446
72447
72448
72449
72450
72451
72452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72453 $as_echo_n "checking for expf declaration... " >&6; }
72454 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72455 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72456 $as_echo_n "(cached) " >&6
72457 else
72458
72459
72460 ac_ext=cpp
72461 ac_cpp='$CXXCPP $CPPFLAGS'
72462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72465
72466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72467 /* end confdefs.h. */
72468 #include <math.h>
72469 #ifdef HAVE_IEEEFP_H
72470 #include <ieeefp.h>
72471 #endif
72472
72473 int
72474 main ()
72475 {
72476 expf(0);
72477 ;
72478 return 0;
72479 }
72480 _ACEOF
72481 if ac_fn_cxx_try_compile "$LINENO"; then :
72482 glibcxx_cv_func_expf_use=yes
72483 else
72484 glibcxx_cv_func_expf_use=no
72485 fi
72486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72487 ac_ext=c
72488 ac_cpp='$CPP $CPPFLAGS'
72489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72492
72493
72494 fi
72495
72496 fi
72497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72498 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72499
72500 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72501 for ac_func in expf
72502 do :
72503 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72504 if test "x$ac_cv_func_expf" = x""yes; then :
72505 cat >>confdefs.h <<_ACEOF
72506 #define HAVE_EXPF 1
72507 _ACEOF
72508
72509 fi
72510 done
72511
72512 else
72513
72514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72515 $as_echo_n "checking for _expf declaration... " >&6; }
72516 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72517 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72518 $as_echo_n "(cached) " >&6
72519 else
72520
72521
72522 ac_ext=cpp
72523 ac_cpp='$CXXCPP $CPPFLAGS'
72524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72527
72528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72529 /* end confdefs.h. */
72530 #include <math.h>
72531 #ifdef HAVE_IEEEFP_H
72532 #include <ieeefp.h>
72533 #endif
72534
72535 int
72536 main ()
72537 {
72538 _expf(0);
72539 ;
72540 return 0;
72541 }
72542 _ACEOF
72543 if ac_fn_cxx_try_compile "$LINENO"; then :
72544 glibcxx_cv_func__expf_use=yes
72545 else
72546 glibcxx_cv_func__expf_use=no
72547 fi
72548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72549 ac_ext=c
72550 ac_cpp='$CPP $CPPFLAGS'
72551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72554
72555
72556 fi
72557
72558 fi
72559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72560 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72561
72562 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72563 for ac_func in _expf
72564 do :
72565 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72566 if test "x$ac_cv_func__expf" = x""yes; then :
72567 cat >>confdefs.h <<_ACEOF
72568 #define HAVE__EXPF 1
72569 _ACEOF
72570
72571 fi
72572 done
72573
72574 fi
72575 fi
72576
72577
72578
72579
72580
72581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72582 $as_echo_n "checking for isnanf declaration... " >&6; }
72583 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72584 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72585 $as_echo_n "(cached) " >&6
72586 else
72587
72588
72589 ac_ext=cpp
72590 ac_cpp='$CXXCPP $CPPFLAGS'
72591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72594
72595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72596 /* end confdefs.h. */
72597 #include <math.h>
72598 #ifdef HAVE_IEEEFP_H
72599 #include <ieeefp.h>
72600 #endif
72601
72602 int
72603 main ()
72604 {
72605 isnanf(0);
72606 ;
72607 return 0;
72608 }
72609 _ACEOF
72610 if ac_fn_cxx_try_compile "$LINENO"; then :
72611 glibcxx_cv_func_isnanf_use=yes
72612 else
72613 glibcxx_cv_func_isnanf_use=no
72614 fi
72615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72616 ac_ext=c
72617 ac_cpp='$CPP $CPPFLAGS'
72618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72621
72622
72623 fi
72624
72625 fi
72626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72627 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72628
72629 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72630 for ac_func in isnanf
72631 do :
72632 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72633 if test "x$ac_cv_func_isnanf" = x""yes; then :
72634 cat >>confdefs.h <<_ACEOF
72635 #define HAVE_ISNANF 1
72636 _ACEOF
72637
72638 fi
72639 done
72640
72641 else
72642
72643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72644 $as_echo_n "checking for _isnanf declaration... " >&6; }
72645 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72646 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72647 $as_echo_n "(cached) " >&6
72648 else
72649
72650
72651 ac_ext=cpp
72652 ac_cpp='$CXXCPP $CPPFLAGS'
72653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72656
72657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72658 /* end confdefs.h. */
72659 #include <math.h>
72660 #ifdef HAVE_IEEEFP_H
72661 #include <ieeefp.h>
72662 #endif
72663
72664 int
72665 main ()
72666 {
72667 _isnanf(0);
72668 ;
72669 return 0;
72670 }
72671 _ACEOF
72672 if ac_fn_cxx_try_compile "$LINENO"; then :
72673 glibcxx_cv_func__isnanf_use=yes
72674 else
72675 glibcxx_cv_func__isnanf_use=no
72676 fi
72677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72678 ac_ext=c
72679 ac_cpp='$CPP $CPPFLAGS'
72680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72683
72684
72685 fi
72686
72687 fi
72688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72689 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72690
72691 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72692 for ac_func in _isnanf
72693 do :
72694 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72695 if test "x$ac_cv_func__isnanf" = x""yes; then :
72696 cat >>confdefs.h <<_ACEOF
72697 #define HAVE__ISNANF 1
72698 _ACEOF
72699
72700 fi
72701 done
72702
72703 fi
72704 fi
72705
72706
72707
72708
72709
72710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72711 $as_echo_n "checking for isinff declaration... " >&6; }
72712 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72713 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72714 $as_echo_n "(cached) " >&6
72715 else
72716
72717
72718 ac_ext=cpp
72719 ac_cpp='$CXXCPP $CPPFLAGS'
72720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72723
72724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72725 /* end confdefs.h. */
72726 #include <math.h>
72727 #ifdef HAVE_IEEEFP_H
72728 #include <ieeefp.h>
72729 #endif
72730
72731 int
72732 main ()
72733 {
72734 isinff(0);
72735 ;
72736 return 0;
72737 }
72738 _ACEOF
72739 if ac_fn_cxx_try_compile "$LINENO"; then :
72740 glibcxx_cv_func_isinff_use=yes
72741 else
72742 glibcxx_cv_func_isinff_use=no
72743 fi
72744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72745 ac_ext=c
72746 ac_cpp='$CPP $CPPFLAGS'
72747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72750
72751
72752 fi
72753
72754 fi
72755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72756 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72757
72758 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72759 for ac_func in isinff
72760 do :
72761 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72762 if test "x$ac_cv_func_isinff" = x""yes; then :
72763 cat >>confdefs.h <<_ACEOF
72764 #define HAVE_ISINFF 1
72765 _ACEOF
72766
72767 fi
72768 done
72769
72770 else
72771
72772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72773 $as_echo_n "checking for _isinff declaration... " >&6; }
72774 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72775 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72776 $as_echo_n "(cached) " >&6
72777 else
72778
72779
72780 ac_ext=cpp
72781 ac_cpp='$CXXCPP $CPPFLAGS'
72782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72785
72786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72787 /* end confdefs.h. */
72788 #include <math.h>
72789 #ifdef HAVE_IEEEFP_H
72790 #include <ieeefp.h>
72791 #endif
72792
72793 int
72794 main ()
72795 {
72796 _isinff(0);
72797 ;
72798 return 0;
72799 }
72800 _ACEOF
72801 if ac_fn_cxx_try_compile "$LINENO"; then :
72802 glibcxx_cv_func__isinff_use=yes
72803 else
72804 glibcxx_cv_func__isinff_use=no
72805 fi
72806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72807 ac_ext=c
72808 ac_cpp='$CPP $CPPFLAGS'
72809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72812
72813
72814 fi
72815
72816 fi
72817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72818 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72819
72820 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72821 for ac_func in _isinff
72822 do :
72823 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72824 if test "x$ac_cv_func__isinff" = x""yes; then :
72825 cat >>confdefs.h <<_ACEOF
72826 #define HAVE__ISINFF 1
72827 _ACEOF
72828
72829 fi
72830 done
72831
72832 fi
72833 fi
72834
72835
72836
72837
72838
72839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72840 $as_echo_n "checking for atan2f declaration... " >&6; }
72841 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72842 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72843 $as_echo_n "(cached) " >&6
72844 else
72845
72846
72847 ac_ext=cpp
72848 ac_cpp='$CXXCPP $CPPFLAGS'
72849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72852
72853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72854 /* end confdefs.h. */
72855 #include <math.h>
72856 int
72857 main ()
72858 {
72859 atan2f(0, 0);
72860 ;
72861 return 0;
72862 }
72863 _ACEOF
72864 if ac_fn_cxx_try_compile "$LINENO"; then :
72865 glibcxx_cv_func_atan2f_use=yes
72866 else
72867 glibcxx_cv_func_atan2f_use=no
72868 fi
72869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72870 ac_ext=c
72871 ac_cpp='$CPP $CPPFLAGS'
72872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72875
72876
72877 fi
72878
72879 fi
72880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72881 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72882
72883 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72884 for ac_func in atan2f
72885 do :
72886 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72887 if test "x$ac_cv_func_atan2f" = x""yes; then :
72888 cat >>confdefs.h <<_ACEOF
72889 #define HAVE_ATAN2F 1
72890 _ACEOF
72891
72892 fi
72893 done
72894
72895 else
72896
72897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72898 $as_echo_n "checking for _atan2f declaration... " >&6; }
72899 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72900 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72901 $as_echo_n "(cached) " >&6
72902 else
72903
72904
72905 ac_ext=cpp
72906 ac_cpp='$CXXCPP $CPPFLAGS'
72907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72910
72911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72912 /* end confdefs.h. */
72913 #include <math.h>
72914 int
72915 main ()
72916 {
72917 _atan2f(0, 0);
72918 ;
72919 return 0;
72920 }
72921 _ACEOF
72922 if ac_fn_cxx_try_compile "$LINENO"; then :
72923 glibcxx_cv_func__atan2f_use=yes
72924 else
72925 glibcxx_cv_func__atan2f_use=no
72926 fi
72927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72928 ac_ext=c
72929 ac_cpp='$CPP $CPPFLAGS'
72930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72933
72934
72935 fi
72936
72937 fi
72938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72939 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72940
72941 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72942 for ac_func in _atan2f
72943 do :
72944 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72945 if test "x$ac_cv_func__atan2f" = x""yes; then :
72946 cat >>confdefs.h <<_ACEOF
72947 #define HAVE__ATAN2F 1
72948 _ACEOF
72949
72950 fi
72951 done
72952
72953 fi
72954 fi
72955
72956
72957
72958
72959
72960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72961 $as_echo_n "checking for fabsf declaration... " >&6; }
72962 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72963 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72964 $as_echo_n "(cached) " >&6
72965 else
72966
72967
72968 ac_ext=cpp
72969 ac_cpp='$CXXCPP $CPPFLAGS'
72970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72973
72974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72975 /* end confdefs.h. */
72976 #include <math.h>
72977 #ifdef HAVE_IEEEFP_H
72978 #include <ieeefp.h>
72979 #endif
72980
72981 int
72982 main ()
72983 {
72984 fabsf(0);
72985 ;
72986 return 0;
72987 }
72988 _ACEOF
72989 if ac_fn_cxx_try_compile "$LINENO"; then :
72990 glibcxx_cv_func_fabsf_use=yes
72991 else
72992 glibcxx_cv_func_fabsf_use=no
72993 fi
72994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72995 ac_ext=c
72996 ac_cpp='$CPP $CPPFLAGS'
72997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73000
73001
73002 fi
73003
73004 fi
73005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
73006 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
73007
73008 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
73009 for ac_func in fabsf
73010 do :
73011 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73012 if test "x$ac_cv_func_fabsf" = x""yes; then :
73013 cat >>confdefs.h <<_ACEOF
73014 #define HAVE_FABSF 1
73015 _ACEOF
73016
73017 fi
73018 done
73019
73020 else
73021
73022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73023 $as_echo_n "checking for _fabsf declaration... " >&6; }
73024 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73025 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73026 $as_echo_n "(cached) " >&6
73027 else
73028
73029
73030 ac_ext=cpp
73031 ac_cpp='$CXXCPP $CPPFLAGS'
73032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73035
73036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73037 /* end confdefs.h. */
73038 #include <math.h>
73039 #ifdef HAVE_IEEEFP_H
73040 #include <ieeefp.h>
73041 #endif
73042
73043 int
73044 main ()
73045 {
73046 _fabsf(0);
73047 ;
73048 return 0;
73049 }
73050 _ACEOF
73051 if ac_fn_cxx_try_compile "$LINENO"; then :
73052 glibcxx_cv_func__fabsf_use=yes
73053 else
73054 glibcxx_cv_func__fabsf_use=no
73055 fi
73056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73057 ac_ext=c
73058 ac_cpp='$CPP $CPPFLAGS'
73059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73062
73063
73064 fi
73065
73066 fi
73067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73068 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73069
73070 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73071 for ac_func in _fabsf
73072 do :
73073 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73074 if test "x$ac_cv_func__fabsf" = x""yes; then :
73075 cat >>confdefs.h <<_ACEOF
73076 #define HAVE__FABSF 1
73077 _ACEOF
73078
73079 fi
73080 done
73081
73082 fi
73083 fi
73084
73085
73086
73087
73088
73089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73090 $as_echo_n "checking for fmodf declaration... " >&6; }
73091 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73092 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73093 $as_echo_n "(cached) " >&6
73094 else
73095
73096
73097 ac_ext=cpp
73098 ac_cpp='$CXXCPP $CPPFLAGS'
73099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73102
73103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73104 /* end confdefs.h. */
73105 #include <math.h>
73106 int
73107 main ()
73108 {
73109 fmodf(0, 0);
73110 ;
73111 return 0;
73112 }
73113 _ACEOF
73114 if ac_fn_cxx_try_compile "$LINENO"; then :
73115 glibcxx_cv_func_fmodf_use=yes
73116 else
73117 glibcxx_cv_func_fmodf_use=no
73118 fi
73119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73120 ac_ext=c
73121 ac_cpp='$CPP $CPPFLAGS'
73122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73125
73126
73127 fi
73128
73129 fi
73130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73131 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73132
73133 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73134 for ac_func in fmodf
73135 do :
73136 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73137 if test "x$ac_cv_func_fmodf" = x""yes; then :
73138 cat >>confdefs.h <<_ACEOF
73139 #define HAVE_FMODF 1
73140 _ACEOF
73141
73142 fi
73143 done
73144
73145 else
73146
73147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73148 $as_echo_n "checking for _fmodf declaration... " >&6; }
73149 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73150 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73151 $as_echo_n "(cached) " >&6
73152 else
73153
73154
73155 ac_ext=cpp
73156 ac_cpp='$CXXCPP $CPPFLAGS'
73157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73160
73161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73162 /* end confdefs.h. */
73163 #include <math.h>
73164 int
73165 main ()
73166 {
73167 _fmodf(0, 0);
73168 ;
73169 return 0;
73170 }
73171 _ACEOF
73172 if ac_fn_cxx_try_compile "$LINENO"; then :
73173 glibcxx_cv_func__fmodf_use=yes
73174 else
73175 glibcxx_cv_func__fmodf_use=no
73176 fi
73177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73178 ac_ext=c
73179 ac_cpp='$CPP $CPPFLAGS'
73180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73183
73184
73185 fi
73186
73187 fi
73188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73189 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73190
73191 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73192 for ac_func in _fmodf
73193 do :
73194 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73195 if test "x$ac_cv_func__fmodf" = x""yes; then :
73196 cat >>confdefs.h <<_ACEOF
73197 #define HAVE__FMODF 1
73198 _ACEOF
73199
73200 fi
73201 done
73202
73203 fi
73204 fi
73205
73206
73207
73208
73209
73210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73211 $as_echo_n "checking for frexpf declaration... " >&6; }
73212 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73213 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73214 $as_echo_n "(cached) " >&6
73215 else
73216
73217
73218 ac_ext=cpp
73219 ac_cpp='$CXXCPP $CPPFLAGS'
73220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73223
73224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73225 /* end confdefs.h. */
73226 #include <math.h>
73227 int
73228 main ()
73229 {
73230 frexpf(0, 0);
73231 ;
73232 return 0;
73233 }
73234 _ACEOF
73235 if ac_fn_cxx_try_compile "$LINENO"; then :
73236 glibcxx_cv_func_frexpf_use=yes
73237 else
73238 glibcxx_cv_func_frexpf_use=no
73239 fi
73240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73241 ac_ext=c
73242 ac_cpp='$CPP $CPPFLAGS'
73243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73246
73247
73248 fi
73249
73250 fi
73251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73252 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73253
73254 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73255 for ac_func in frexpf
73256 do :
73257 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73258 if test "x$ac_cv_func_frexpf" = x""yes; then :
73259 cat >>confdefs.h <<_ACEOF
73260 #define HAVE_FREXPF 1
73261 _ACEOF
73262
73263 fi
73264 done
73265
73266 else
73267
73268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73269 $as_echo_n "checking for _frexpf declaration... " >&6; }
73270 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73271 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73272 $as_echo_n "(cached) " >&6
73273 else
73274
73275
73276 ac_ext=cpp
73277 ac_cpp='$CXXCPP $CPPFLAGS'
73278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73281
73282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73283 /* end confdefs.h. */
73284 #include <math.h>
73285 int
73286 main ()
73287 {
73288 _frexpf(0, 0);
73289 ;
73290 return 0;
73291 }
73292 _ACEOF
73293 if ac_fn_cxx_try_compile "$LINENO"; then :
73294 glibcxx_cv_func__frexpf_use=yes
73295 else
73296 glibcxx_cv_func__frexpf_use=no
73297 fi
73298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73299 ac_ext=c
73300 ac_cpp='$CPP $CPPFLAGS'
73301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73304
73305
73306 fi
73307
73308 fi
73309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73310 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73311
73312 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73313 for ac_func in _frexpf
73314 do :
73315 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73316 if test "x$ac_cv_func__frexpf" = x""yes; then :
73317 cat >>confdefs.h <<_ACEOF
73318 #define HAVE__FREXPF 1
73319 _ACEOF
73320
73321 fi
73322 done
73323
73324 fi
73325 fi
73326
73327
73328
73329
73330
73331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73332 $as_echo_n "checking for hypotf declaration... " >&6; }
73333 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73334 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73335 $as_echo_n "(cached) " >&6
73336 else
73337
73338
73339 ac_ext=cpp
73340 ac_cpp='$CXXCPP $CPPFLAGS'
73341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73344
73345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73346 /* end confdefs.h. */
73347 #include <math.h>
73348 int
73349 main ()
73350 {
73351 hypotf(0, 0);
73352 ;
73353 return 0;
73354 }
73355 _ACEOF
73356 if ac_fn_cxx_try_compile "$LINENO"; then :
73357 glibcxx_cv_func_hypotf_use=yes
73358 else
73359 glibcxx_cv_func_hypotf_use=no
73360 fi
73361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73362 ac_ext=c
73363 ac_cpp='$CPP $CPPFLAGS'
73364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73367
73368
73369 fi
73370
73371 fi
73372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73373 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73374
73375 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73376 for ac_func in hypotf
73377 do :
73378 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73379 if test "x$ac_cv_func_hypotf" = x""yes; then :
73380 cat >>confdefs.h <<_ACEOF
73381 #define HAVE_HYPOTF 1
73382 _ACEOF
73383
73384 fi
73385 done
73386
73387 else
73388
73389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73390 $as_echo_n "checking for _hypotf declaration... " >&6; }
73391 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73392 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73393 $as_echo_n "(cached) " >&6
73394 else
73395
73396
73397 ac_ext=cpp
73398 ac_cpp='$CXXCPP $CPPFLAGS'
73399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73402
73403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73404 /* end confdefs.h. */
73405 #include <math.h>
73406 int
73407 main ()
73408 {
73409 _hypotf(0, 0);
73410 ;
73411 return 0;
73412 }
73413 _ACEOF
73414 if ac_fn_cxx_try_compile "$LINENO"; then :
73415 glibcxx_cv_func__hypotf_use=yes
73416 else
73417 glibcxx_cv_func__hypotf_use=no
73418 fi
73419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73420 ac_ext=c
73421 ac_cpp='$CPP $CPPFLAGS'
73422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73425
73426
73427 fi
73428
73429 fi
73430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73431 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73432
73433 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73434 for ac_func in _hypotf
73435 do :
73436 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73437 if test "x$ac_cv_func__hypotf" = x""yes; then :
73438 cat >>confdefs.h <<_ACEOF
73439 #define HAVE__HYPOTF 1
73440 _ACEOF
73441
73442 fi
73443 done
73444
73445 fi
73446 fi
73447
73448
73449
73450
73451
73452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73453 $as_echo_n "checking for ldexpf declaration... " >&6; }
73454 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73455 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73456 $as_echo_n "(cached) " >&6
73457 else
73458
73459
73460 ac_ext=cpp
73461 ac_cpp='$CXXCPP $CPPFLAGS'
73462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73465
73466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73467 /* end confdefs.h. */
73468 #include <math.h>
73469 int
73470 main ()
73471 {
73472 ldexpf(0, 0);
73473 ;
73474 return 0;
73475 }
73476 _ACEOF
73477 if ac_fn_cxx_try_compile "$LINENO"; then :
73478 glibcxx_cv_func_ldexpf_use=yes
73479 else
73480 glibcxx_cv_func_ldexpf_use=no
73481 fi
73482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73483 ac_ext=c
73484 ac_cpp='$CPP $CPPFLAGS'
73485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73488
73489
73490 fi
73491
73492 fi
73493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73494 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73495
73496 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73497 for ac_func in ldexpf
73498 do :
73499 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73500 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73501 cat >>confdefs.h <<_ACEOF
73502 #define HAVE_LDEXPF 1
73503 _ACEOF
73504
73505 fi
73506 done
73507
73508 else
73509
73510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73511 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73512 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73513 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73514 $as_echo_n "(cached) " >&6
73515 else
73516
73517
73518 ac_ext=cpp
73519 ac_cpp='$CXXCPP $CPPFLAGS'
73520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73523
73524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73525 /* end confdefs.h. */
73526 #include <math.h>
73527 int
73528 main ()
73529 {
73530 _ldexpf(0, 0);
73531 ;
73532 return 0;
73533 }
73534 _ACEOF
73535 if ac_fn_cxx_try_compile "$LINENO"; then :
73536 glibcxx_cv_func__ldexpf_use=yes
73537 else
73538 glibcxx_cv_func__ldexpf_use=no
73539 fi
73540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73541 ac_ext=c
73542 ac_cpp='$CPP $CPPFLAGS'
73543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73546
73547
73548 fi
73549
73550 fi
73551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73552 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73553
73554 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73555 for ac_func in _ldexpf
73556 do :
73557 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73558 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73559 cat >>confdefs.h <<_ACEOF
73560 #define HAVE__LDEXPF 1
73561 _ACEOF
73562
73563 fi
73564 done
73565
73566 fi
73567 fi
73568
73569
73570
73571
73572
73573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73574 $as_echo_n "checking for logf declaration... " >&6; }
73575 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73576 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73577 $as_echo_n "(cached) " >&6
73578 else
73579
73580
73581 ac_ext=cpp
73582 ac_cpp='$CXXCPP $CPPFLAGS'
73583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73586
73587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73588 /* end confdefs.h. */
73589 #include <math.h>
73590 #ifdef HAVE_IEEEFP_H
73591 #include <ieeefp.h>
73592 #endif
73593
73594 int
73595 main ()
73596 {
73597 logf(0);
73598 ;
73599 return 0;
73600 }
73601 _ACEOF
73602 if ac_fn_cxx_try_compile "$LINENO"; then :
73603 glibcxx_cv_func_logf_use=yes
73604 else
73605 glibcxx_cv_func_logf_use=no
73606 fi
73607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73608 ac_ext=c
73609 ac_cpp='$CPP $CPPFLAGS'
73610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73613
73614
73615 fi
73616
73617 fi
73618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73619 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73620
73621 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73622 for ac_func in logf
73623 do :
73624 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73625 if test "x$ac_cv_func_logf" = x""yes; then :
73626 cat >>confdefs.h <<_ACEOF
73627 #define HAVE_LOGF 1
73628 _ACEOF
73629
73630 fi
73631 done
73632
73633 else
73634
73635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73636 $as_echo_n "checking for _logf declaration... " >&6; }
73637 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73638 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73639 $as_echo_n "(cached) " >&6
73640 else
73641
73642
73643 ac_ext=cpp
73644 ac_cpp='$CXXCPP $CPPFLAGS'
73645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73648
73649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73650 /* end confdefs.h. */
73651 #include <math.h>
73652 #ifdef HAVE_IEEEFP_H
73653 #include <ieeefp.h>
73654 #endif
73655
73656 int
73657 main ()
73658 {
73659 _logf(0);
73660 ;
73661 return 0;
73662 }
73663 _ACEOF
73664 if ac_fn_cxx_try_compile "$LINENO"; then :
73665 glibcxx_cv_func__logf_use=yes
73666 else
73667 glibcxx_cv_func__logf_use=no
73668 fi
73669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73670 ac_ext=c
73671 ac_cpp='$CPP $CPPFLAGS'
73672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73675
73676
73677 fi
73678
73679 fi
73680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73681 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73682
73683 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73684 for ac_func in _logf
73685 do :
73686 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73687 if test "x$ac_cv_func__logf" = x""yes; then :
73688 cat >>confdefs.h <<_ACEOF
73689 #define HAVE__LOGF 1
73690 _ACEOF
73691
73692 fi
73693 done
73694
73695 fi
73696 fi
73697
73698
73699
73700
73701
73702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73703 $as_echo_n "checking for log10f declaration... " >&6; }
73704 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73705 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73706 $as_echo_n "(cached) " >&6
73707 else
73708
73709
73710 ac_ext=cpp
73711 ac_cpp='$CXXCPP $CPPFLAGS'
73712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73715
73716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73717 /* end confdefs.h. */
73718 #include <math.h>
73719 #ifdef HAVE_IEEEFP_H
73720 #include <ieeefp.h>
73721 #endif
73722
73723 int
73724 main ()
73725 {
73726 log10f(0);
73727 ;
73728 return 0;
73729 }
73730 _ACEOF
73731 if ac_fn_cxx_try_compile "$LINENO"; then :
73732 glibcxx_cv_func_log10f_use=yes
73733 else
73734 glibcxx_cv_func_log10f_use=no
73735 fi
73736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73737 ac_ext=c
73738 ac_cpp='$CPP $CPPFLAGS'
73739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73742
73743
73744 fi
73745
73746 fi
73747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73748 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73749
73750 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73751 for ac_func in log10f
73752 do :
73753 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73754 if test "x$ac_cv_func_log10f" = x""yes; then :
73755 cat >>confdefs.h <<_ACEOF
73756 #define HAVE_LOG10F 1
73757 _ACEOF
73758
73759 fi
73760 done
73761
73762 else
73763
73764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73765 $as_echo_n "checking for _log10f declaration... " >&6; }
73766 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73767 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73768 $as_echo_n "(cached) " >&6
73769 else
73770
73771
73772 ac_ext=cpp
73773 ac_cpp='$CXXCPP $CPPFLAGS'
73774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73777
73778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73779 /* end confdefs.h. */
73780 #include <math.h>
73781 #ifdef HAVE_IEEEFP_H
73782 #include <ieeefp.h>
73783 #endif
73784
73785 int
73786 main ()
73787 {
73788 _log10f(0);
73789 ;
73790 return 0;
73791 }
73792 _ACEOF
73793 if ac_fn_cxx_try_compile "$LINENO"; then :
73794 glibcxx_cv_func__log10f_use=yes
73795 else
73796 glibcxx_cv_func__log10f_use=no
73797 fi
73798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73799 ac_ext=c
73800 ac_cpp='$CPP $CPPFLAGS'
73801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73804
73805
73806 fi
73807
73808 fi
73809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73810 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73811
73812 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73813 for ac_func in _log10f
73814 do :
73815 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73816 if test "x$ac_cv_func__log10f" = x""yes; then :
73817 cat >>confdefs.h <<_ACEOF
73818 #define HAVE__LOG10F 1
73819 _ACEOF
73820
73821 fi
73822 done
73823
73824 fi
73825 fi
73826
73827
73828
73829
73830
73831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73832 $as_echo_n "checking for modff declaration... " >&6; }
73833 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73834 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73835 $as_echo_n "(cached) " >&6
73836 else
73837
73838
73839 ac_ext=cpp
73840 ac_cpp='$CXXCPP $CPPFLAGS'
73841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73844
73845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73846 /* end confdefs.h. */
73847 #include <math.h>
73848 int
73849 main ()
73850 {
73851 modff(0, 0);
73852 ;
73853 return 0;
73854 }
73855 _ACEOF
73856 if ac_fn_cxx_try_compile "$LINENO"; then :
73857 glibcxx_cv_func_modff_use=yes
73858 else
73859 glibcxx_cv_func_modff_use=no
73860 fi
73861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73862 ac_ext=c
73863 ac_cpp='$CPP $CPPFLAGS'
73864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73867
73868
73869 fi
73870
73871 fi
73872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73873 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73874
73875 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73876 for ac_func in modff
73877 do :
73878 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73879 if test "x$ac_cv_func_modff" = x""yes; then :
73880 cat >>confdefs.h <<_ACEOF
73881 #define HAVE_MODFF 1
73882 _ACEOF
73883
73884 fi
73885 done
73886
73887 else
73888
73889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73890 $as_echo_n "checking for _modff declaration... " >&6; }
73891 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73892 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73893 $as_echo_n "(cached) " >&6
73894 else
73895
73896
73897 ac_ext=cpp
73898 ac_cpp='$CXXCPP $CPPFLAGS'
73899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73902
73903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73904 /* end confdefs.h. */
73905 #include <math.h>
73906 int
73907 main ()
73908 {
73909 _modff(0, 0);
73910 ;
73911 return 0;
73912 }
73913 _ACEOF
73914 if ac_fn_cxx_try_compile "$LINENO"; then :
73915 glibcxx_cv_func__modff_use=yes
73916 else
73917 glibcxx_cv_func__modff_use=no
73918 fi
73919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73920 ac_ext=c
73921 ac_cpp='$CPP $CPPFLAGS'
73922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73925
73926
73927 fi
73928
73929 fi
73930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73931 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73932
73933 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73934 for ac_func in _modff
73935 do :
73936 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73937 if test "x$ac_cv_func__modff" = x""yes; then :
73938 cat >>confdefs.h <<_ACEOF
73939 #define HAVE__MODFF 1
73940 _ACEOF
73941
73942 fi
73943 done
73944
73945 fi
73946 fi
73947
73948
73949
73950
73951
73952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73953 $as_echo_n "checking for modf declaration... " >&6; }
73954 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73955 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73956 $as_echo_n "(cached) " >&6
73957 else
73958
73959
73960 ac_ext=cpp
73961 ac_cpp='$CXXCPP $CPPFLAGS'
73962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73965
73966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73967 /* end confdefs.h. */
73968 #include <math.h>
73969 int
73970 main ()
73971 {
73972 modf(0, 0);
73973 ;
73974 return 0;
73975 }
73976 _ACEOF
73977 if ac_fn_cxx_try_compile "$LINENO"; then :
73978 glibcxx_cv_func_modf_use=yes
73979 else
73980 glibcxx_cv_func_modf_use=no
73981 fi
73982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73983 ac_ext=c
73984 ac_cpp='$CPP $CPPFLAGS'
73985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73988
73989
73990 fi
73991
73992 fi
73993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73994 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73995
73996 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73997 for ac_func in modf
73998 do :
73999 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
74000 if test "x$ac_cv_func_modf" = x""yes; then :
74001 cat >>confdefs.h <<_ACEOF
74002 #define HAVE_MODF 1
74003 _ACEOF
74004
74005 fi
74006 done
74007
74008 else
74009
74010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
74011 $as_echo_n "checking for _modf declaration... " >&6; }
74012 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74013 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74014 $as_echo_n "(cached) " >&6
74015 else
74016
74017
74018 ac_ext=cpp
74019 ac_cpp='$CXXCPP $CPPFLAGS'
74020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74023
74024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74025 /* end confdefs.h. */
74026 #include <math.h>
74027 int
74028 main ()
74029 {
74030 _modf(0, 0);
74031 ;
74032 return 0;
74033 }
74034 _ACEOF
74035 if ac_fn_cxx_try_compile "$LINENO"; then :
74036 glibcxx_cv_func__modf_use=yes
74037 else
74038 glibcxx_cv_func__modf_use=no
74039 fi
74040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74041 ac_ext=c
74042 ac_cpp='$CPP $CPPFLAGS'
74043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74046
74047
74048 fi
74049
74050 fi
74051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74052 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74053
74054 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74055 for ac_func in _modf
74056 do :
74057 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74058 if test "x$ac_cv_func__modf" = x""yes; then :
74059 cat >>confdefs.h <<_ACEOF
74060 #define HAVE__MODF 1
74061 _ACEOF
74062
74063 fi
74064 done
74065
74066 fi
74067 fi
74068
74069
74070
74071
74072
74073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74074 $as_echo_n "checking for powf declaration... " >&6; }
74075 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74076 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74077 $as_echo_n "(cached) " >&6
74078 else
74079
74080
74081 ac_ext=cpp
74082 ac_cpp='$CXXCPP $CPPFLAGS'
74083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74086
74087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74088 /* end confdefs.h. */
74089 #include <math.h>
74090 int
74091 main ()
74092 {
74093 powf(0, 0);
74094 ;
74095 return 0;
74096 }
74097 _ACEOF
74098 if ac_fn_cxx_try_compile "$LINENO"; then :
74099 glibcxx_cv_func_powf_use=yes
74100 else
74101 glibcxx_cv_func_powf_use=no
74102 fi
74103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74104 ac_ext=c
74105 ac_cpp='$CPP $CPPFLAGS'
74106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74109
74110
74111 fi
74112
74113 fi
74114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74115 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74116
74117 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74118 for ac_func in powf
74119 do :
74120 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74121 if test "x$ac_cv_func_powf" = x""yes; then :
74122 cat >>confdefs.h <<_ACEOF
74123 #define HAVE_POWF 1
74124 _ACEOF
74125
74126 fi
74127 done
74128
74129 else
74130
74131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74132 $as_echo_n "checking for _powf declaration... " >&6; }
74133 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74134 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74135 $as_echo_n "(cached) " >&6
74136 else
74137
74138
74139 ac_ext=cpp
74140 ac_cpp='$CXXCPP $CPPFLAGS'
74141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74144
74145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74146 /* end confdefs.h. */
74147 #include <math.h>
74148 int
74149 main ()
74150 {
74151 _powf(0, 0);
74152 ;
74153 return 0;
74154 }
74155 _ACEOF
74156 if ac_fn_cxx_try_compile "$LINENO"; then :
74157 glibcxx_cv_func__powf_use=yes
74158 else
74159 glibcxx_cv_func__powf_use=no
74160 fi
74161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74162 ac_ext=c
74163 ac_cpp='$CPP $CPPFLAGS'
74164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74167
74168
74169 fi
74170
74171 fi
74172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74173 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74174
74175 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74176 for ac_func in _powf
74177 do :
74178 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74179 if test "x$ac_cv_func__powf" = x""yes; then :
74180 cat >>confdefs.h <<_ACEOF
74181 #define HAVE__POWF 1
74182 _ACEOF
74183
74184 fi
74185 done
74186
74187 fi
74188 fi
74189
74190
74191
74192
74193
74194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74195 $as_echo_n "checking for sqrtf declaration... " >&6; }
74196 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74197 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74198 $as_echo_n "(cached) " >&6
74199 else
74200
74201
74202 ac_ext=cpp
74203 ac_cpp='$CXXCPP $CPPFLAGS'
74204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74207
74208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74209 /* end confdefs.h. */
74210 #include <math.h>
74211 #ifdef HAVE_IEEEFP_H
74212 #include <ieeefp.h>
74213 #endif
74214
74215 int
74216 main ()
74217 {
74218 sqrtf(0);
74219 ;
74220 return 0;
74221 }
74222 _ACEOF
74223 if ac_fn_cxx_try_compile "$LINENO"; then :
74224 glibcxx_cv_func_sqrtf_use=yes
74225 else
74226 glibcxx_cv_func_sqrtf_use=no
74227 fi
74228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74229 ac_ext=c
74230 ac_cpp='$CPP $CPPFLAGS'
74231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74234
74235
74236 fi
74237
74238 fi
74239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74240 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74241
74242 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74243 for ac_func in sqrtf
74244 do :
74245 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74246 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74247 cat >>confdefs.h <<_ACEOF
74248 #define HAVE_SQRTF 1
74249 _ACEOF
74250
74251 fi
74252 done
74253
74254 else
74255
74256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74257 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74258 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74259 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74260 $as_echo_n "(cached) " >&6
74261 else
74262
74263
74264 ac_ext=cpp
74265 ac_cpp='$CXXCPP $CPPFLAGS'
74266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74269
74270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74271 /* end confdefs.h. */
74272 #include <math.h>
74273 #ifdef HAVE_IEEEFP_H
74274 #include <ieeefp.h>
74275 #endif
74276
74277 int
74278 main ()
74279 {
74280 _sqrtf(0);
74281 ;
74282 return 0;
74283 }
74284 _ACEOF
74285 if ac_fn_cxx_try_compile "$LINENO"; then :
74286 glibcxx_cv_func__sqrtf_use=yes
74287 else
74288 glibcxx_cv_func__sqrtf_use=no
74289 fi
74290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74291 ac_ext=c
74292 ac_cpp='$CPP $CPPFLAGS'
74293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74296
74297
74298 fi
74299
74300 fi
74301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74302 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74303
74304 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74305 for ac_func in _sqrtf
74306 do :
74307 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74308 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74309 cat >>confdefs.h <<_ACEOF
74310 #define HAVE__SQRTF 1
74311 _ACEOF
74312
74313 fi
74314 done
74315
74316 fi
74317 fi
74318
74319
74320
74321
74322
74323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74324 $as_echo_n "checking for sincosf declaration... " >&6; }
74325 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74326 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74327 $as_echo_n "(cached) " >&6
74328 else
74329
74330
74331 ac_ext=cpp
74332 ac_cpp='$CXXCPP $CPPFLAGS'
74333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74336
74337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74338 /* end confdefs.h. */
74339 #include <math.h>
74340 int
74341 main ()
74342 {
74343 sincosf(0, 0, 0);
74344 ;
74345 return 0;
74346 }
74347 _ACEOF
74348 if ac_fn_cxx_try_compile "$LINENO"; then :
74349 glibcxx_cv_func_sincosf_use=yes
74350 else
74351 glibcxx_cv_func_sincosf_use=no
74352 fi
74353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74354 ac_ext=c
74355 ac_cpp='$CPP $CPPFLAGS'
74356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74359
74360
74361 fi
74362
74363 fi
74364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74365 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74366
74367 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74368 for ac_func in sincosf
74369 do :
74370 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74371 if test "x$ac_cv_func_sincosf" = x""yes; then :
74372 cat >>confdefs.h <<_ACEOF
74373 #define HAVE_SINCOSF 1
74374 _ACEOF
74375
74376 fi
74377 done
74378
74379 else
74380
74381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74382 $as_echo_n "checking for _sincosf declaration... " >&6; }
74383 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74384 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74385 $as_echo_n "(cached) " >&6
74386 else
74387
74388
74389 ac_ext=cpp
74390 ac_cpp='$CXXCPP $CPPFLAGS'
74391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74394
74395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74396 /* end confdefs.h. */
74397 #include <math.h>
74398 int
74399 main ()
74400 {
74401 _sincosf(0, 0, 0);
74402 ;
74403 return 0;
74404 }
74405 _ACEOF
74406 if ac_fn_cxx_try_compile "$LINENO"; then :
74407 glibcxx_cv_func__sincosf_use=yes
74408 else
74409 glibcxx_cv_func__sincosf_use=no
74410 fi
74411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74412 ac_ext=c
74413 ac_cpp='$CPP $CPPFLAGS'
74414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74417
74418
74419 fi
74420
74421 fi
74422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74423 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74424
74425 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74426 for ac_func in _sincosf
74427 do :
74428 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74429 if test "x$ac_cv_func__sincosf" = x""yes; then :
74430 cat >>confdefs.h <<_ACEOF
74431 #define HAVE__SINCOSF 1
74432 _ACEOF
74433
74434 fi
74435 done
74436
74437 fi
74438 fi
74439
74440
74441
74442
74443
74444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74445 $as_echo_n "checking for finitef declaration... " >&6; }
74446 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74447 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74448 $as_echo_n "(cached) " >&6
74449 else
74450
74451
74452 ac_ext=cpp
74453 ac_cpp='$CXXCPP $CPPFLAGS'
74454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74457
74458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74459 /* end confdefs.h. */
74460 #include <math.h>
74461 #ifdef HAVE_IEEEFP_H
74462 #include <ieeefp.h>
74463 #endif
74464
74465 int
74466 main ()
74467 {
74468 finitef(0);
74469 ;
74470 return 0;
74471 }
74472 _ACEOF
74473 if ac_fn_cxx_try_compile "$LINENO"; then :
74474 glibcxx_cv_func_finitef_use=yes
74475 else
74476 glibcxx_cv_func_finitef_use=no
74477 fi
74478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74479 ac_ext=c
74480 ac_cpp='$CPP $CPPFLAGS'
74481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74484
74485
74486 fi
74487
74488 fi
74489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74490 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74491
74492 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74493 for ac_func in finitef
74494 do :
74495 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74496 if test "x$ac_cv_func_finitef" = x""yes; then :
74497 cat >>confdefs.h <<_ACEOF
74498 #define HAVE_FINITEF 1
74499 _ACEOF
74500
74501 fi
74502 done
74503
74504 else
74505
74506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74507 $as_echo_n "checking for _finitef declaration... " >&6; }
74508 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74509 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74510 $as_echo_n "(cached) " >&6
74511 else
74512
74513
74514 ac_ext=cpp
74515 ac_cpp='$CXXCPP $CPPFLAGS'
74516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74519
74520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74521 /* end confdefs.h. */
74522 #include <math.h>
74523 #ifdef HAVE_IEEEFP_H
74524 #include <ieeefp.h>
74525 #endif
74526
74527 int
74528 main ()
74529 {
74530 _finitef(0);
74531 ;
74532 return 0;
74533 }
74534 _ACEOF
74535 if ac_fn_cxx_try_compile "$LINENO"; then :
74536 glibcxx_cv_func__finitef_use=yes
74537 else
74538 glibcxx_cv_func__finitef_use=no
74539 fi
74540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74541 ac_ext=c
74542 ac_cpp='$CPP $CPPFLAGS'
74543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74546
74547
74548 fi
74549
74550 fi
74551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74552 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74553
74554 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74555 for ac_func in _finitef
74556 do :
74557 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74558 if test "x$ac_cv_func__finitef" = x""yes; then :
74559 cat >>confdefs.h <<_ACEOF
74560 #define HAVE__FINITEF 1
74561 _ACEOF
74562
74563 fi
74564 done
74565
74566 fi
74567 fi
74568
74569
74570
74571
74572
74573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74574 $as_echo_n "checking for long double trig functions... " >&6; }
74575 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74576 $as_echo_n "(cached) " >&6
74577 else
74578
74579
74580 ac_ext=cpp
74581 ac_cpp='$CXXCPP $CPPFLAGS'
74582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74585
74586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74587 /* end confdefs.h. */
74588 #include <math.h>
74589 int
74590 main ()
74591 {
74592 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74593 ;
74594 return 0;
74595 }
74596 _ACEOF
74597 if ac_fn_cxx_try_compile "$LINENO"; then :
74598 glibcxx_cv_func_long_double_trig_use=yes
74599 else
74600 glibcxx_cv_func_long_double_trig_use=no
74601 fi
74602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74603 ac_ext=c
74604 ac_cpp='$CPP $CPPFLAGS'
74605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74608
74609 fi
74610
74611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74612 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74613 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74614 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74615 do :
74616 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74617 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74618 eval as_val=\$$as_ac_var
74619 if test "x$as_val" = x""yes; then :
74620 cat >>confdefs.h <<_ACEOF
74621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74622 _ACEOF
74623
74624 fi
74625 done
74626
74627 else
74628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74629 $as_echo_n "checking for _long double trig functions... " >&6; }
74630 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74631 $as_echo_n "(cached) " >&6
74632 else
74633
74634
74635 ac_ext=cpp
74636 ac_cpp='$CXXCPP $CPPFLAGS'
74637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74640
74641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74642 /* end confdefs.h. */
74643 #include <math.h>
74644 int
74645 main ()
74646 {
74647 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74648 ;
74649 return 0;
74650 }
74651 _ACEOF
74652 if ac_fn_cxx_try_compile "$LINENO"; then :
74653 glibcxx_cv_func__long_double_trig_use=yes
74654 else
74655 glibcxx_cv_func__long_double_trig_use=no
74656 fi
74657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74658 ac_ext=c
74659 ac_cpp='$CPP $CPPFLAGS'
74660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74663
74664 fi
74665
74666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74667 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74668 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74669 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74670 do :
74671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74673 eval as_val=\$$as_ac_var
74674 if test "x$as_val" = x""yes; then :
74675 cat >>confdefs.h <<_ACEOF
74676 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74677 _ACEOF
74678
74679 fi
74680 done
74681
74682 fi
74683 fi
74684
74685
74686
74687
74688
74689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74690 $as_echo_n "checking for long double round functions... " >&6; }
74691 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74692 $as_echo_n "(cached) " >&6
74693 else
74694
74695
74696 ac_ext=cpp
74697 ac_cpp='$CXXCPP $CPPFLAGS'
74698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74701
74702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74703 /* end confdefs.h. */
74704 #include <math.h>
74705 int
74706 main ()
74707 {
74708 ceill (0); floorl (0);
74709 ;
74710 return 0;
74711 }
74712 _ACEOF
74713 if ac_fn_cxx_try_compile "$LINENO"; then :
74714 glibcxx_cv_func_long_double_round_use=yes
74715 else
74716 glibcxx_cv_func_long_double_round_use=no
74717 fi
74718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74719 ac_ext=c
74720 ac_cpp='$CPP $CPPFLAGS'
74721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74724
74725 fi
74726
74727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74728 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74729 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74730 for ac_func in ceill floorl
74731 do :
74732 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74733 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74734 eval as_val=\$$as_ac_var
74735 if test "x$as_val" = x""yes; then :
74736 cat >>confdefs.h <<_ACEOF
74737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74738 _ACEOF
74739
74740 fi
74741 done
74742
74743 else
74744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74745 $as_echo_n "checking for _long double round functions... " >&6; }
74746 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74747 $as_echo_n "(cached) " >&6
74748 else
74749
74750
74751 ac_ext=cpp
74752 ac_cpp='$CXXCPP $CPPFLAGS'
74753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74756
74757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74758 /* end confdefs.h. */
74759 #include <math.h>
74760 int
74761 main ()
74762 {
74763 _ceill (0); _floorl (0);
74764 ;
74765 return 0;
74766 }
74767 _ACEOF
74768 if ac_fn_cxx_try_compile "$LINENO"; then :
74769 glibcxx_cv_func__long_double_round_use=yes
74770 else
74771 glibcxx_cv_func__long_double_round_use=no
74772 fi
74773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74774 ac_ext=c
74775 ac_cpp='$CPP $CPPFLAGS'
74776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74779
74780 fi
74781
74782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74783 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74784 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74785 for ac_func in _ceill _floorl
74786 do :
74787 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74788 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74789 eval as_val=\$$as_ac_var
74790 if test "x$as_val" = x""yes; then :
74791 cat >>confdefs.h <<_ACEOF
74792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74793 _ACEOF
74794
74795 fi
74796 done
74797
74798 fi
74799 fi
74800
74801
74802
74803
74804
74805
74806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74807 $as_echo_n "checking for isnanl declaration... " >&6; }
74808 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74809 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74810 $as_echo_n "(cached) " >&6
74811 else
74812
74813
74814 ac_ext=cpp
74815 ac_cpp='$CXXCPP $CPPFLAGS'
74816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74819
74820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74821 /* end confdefs.h. */
74822 #include <math.h>
74823 #ifdef HAVE_IEEEFP_H
74824 #include <ieeefp.h>
74825 #endif
74826
74827 int
74828 main ()
74829 {
74830 isnanl(0);
74831 ;
74832 return 0;
74833 }
74834 _ACEOF
74835 if ac_fn_cxx_try_compile "$LINENO"; then :
74836 glibcxx_cv_func_isnanl_use=yes
74837 else
74838 glibcxx_cv_func_isnanl_use=no
74839 fi
74840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74841 ac_ext=c
74842 ac_cpp='$CPP $CPPFLAGS'
74843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74846
74847
74848 fi
74849
74850 fi
74851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74852 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74853
74854 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74855 for ac_func in isnanl
74856 do :
74857 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74858 if test "x$ac_cv_func_isnanl" = x""yes; then :
74859 cat >>confdefs.h <<_ACEOF
74860 #define HAVE_ISNANL 1
74861 _ACEOF
74862
74863 fi
74864 done
74865
74866 else
74867
74868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74869 $as_echo_n "checking for _isnanl declaration... " >&6; }
74870 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74871 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74872 $as_echo_n "(cached) " >&6
74873 else
74874
74875
74876 ac_ext=cpp
74877 ac_cpp='$CXXCPP $CPPFLAGS'
74878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74881
74882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74883 /* end confdefs.h. */
74884 #include <math.h>
74885 #ifdef HAVE_IEEEFP_H
74886 #include <ieeefp.h>
74887 #endif
74888
74889 int
74890 main ()
74891 {
74892 _isnanl(0);
74893 ;
74894 return 0;
74895 }
74896 _ACEOF
74897 if ac_fn_cxx_try_compile "$LINENO"; then :
74898 glibcxx_cv_func__isnanl_use=yes
74899 else
74900 glibcxx_cv_func__isnanl_use=no
74901 fi
74902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74903 ac_ext=c
74904 ac_cpp='$CPP $CPPFLAGS'
74905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74908
74909
74910 fi
74911
74912 fi
74913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74914 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74915
74916 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74917 for ac_func in _isnanl
74918 do :
74919 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74920 if test "x$ac_cv_func__isnanl" = x""yes; then :
74921 cat >>confdefs.h <<_ACEOF
74922 #define HAVE__ISNANL 1
74923 _ACEOF
74924
74925 fi
74926 done
74927
74928 fi
74929 fi
74930
74931
74932
74933
74934
74935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74936 $as_echo_n "checking for isinfl declaration... " >&6; }
74937 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74938 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74939 $as_echo_n "(cached) " >&6
74940 else
74941
74942
74943 ac_ext=cpp
74944 ac_cpp='$CXXCPP $CPPFLAGS'
74945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74948
74949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74950 /* end confdefs.h. */
74951 #include <math.h>
74952 #ifdef HAVE_IEEEFP_H
74953 #include <ieeefp.h>
74954 #endif
74955
74956 int
74957 main ()
74958 {
74959 isinfl(0);
74960 ;
74961 return 0;
74962 }
74963 _ACEOF
74964 if ac_fn_cxx_try_compile "$LINENO"; then :
74965 glibcxx_cv_func_isinfl_use=yes
74966 else
74967 glibcxx_cv_func_isinfl_use=no
74968 fi
74969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74970 ac_ext=c
74971 ac_cpp='$CPP $CPPFLAGS'
74972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74975
74976
74977 fi
74978
74979 fi
74980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74981 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74982
74983 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74984 for ac_func in isinfl
74985 do :
74986 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74987 if test "x$ac_cv_func_isinfl" = x""yes; then :
74988 cat >>confdefs.h <<_ACEOF
74989 #define HAVE_ISINFL 1
74990 _ACEOF
74991
74992 fi
74993 done
74994
74995 else
74996
74997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74998 $as_echo_n "checking for _isinfl declaration... " >&6; }
74999 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
75000 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
75001 $as_echo_n "(cached) " >&6
75002 else
75003
75004
75005 ac_ext=cpp
75006 ac_cpp='$CXXCPP $CPPFLAGS'
75007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75010
75011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75012 /* end confdefs.h. */
75013 #include <math.h>
75014 #ifdef HAVE_IEEEFP_H
75015 #include <ieeefp.h>
75016 #endif
75017
75018 int
75019 main ()
75020 {
75021 _isinfl(0);
75022 ;
75023 return 0;
75024 }
75025 _ACEOF
75026 if ac_fn_cxx_try_compile "$LINENO"; then :
75027 glibcxx_cv_func__isinfl_use=yes
75028 else
75029 glibcxx_cv_func__isinfl_use=no
75030 fi
75031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75032 ac_ext=c
75033 ac_cpp='$CPP $CPPFLAGS'
75034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75037
75038
75039 fi
75040
75041 fi
75042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75043 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75044
75045 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75046 for ac_func in _isinfl
75047 do :
75048 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75049 if test "x$ac_cv_func__isinfl" = x""yes; then :
75050 cat >>confdefs.h <<_ACEOF
75051 #define HAVE__ISINFL 1
75052 _ACEOF
75053
75054 fi
75055 done
75056
75057 fi
75058 fi
75059
75060
75061
75062
75063
75064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75065 $as_echo_n "checking for atan2l declaration... " >&6; }
75066 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75067 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75068 $as_echo_n "(cached) " >&6
75069 else
75070
75071
75072 ac_ext=cpp
75073 ac_cpp='$CXXCPP $CPPFLAGS'
75074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75077
75078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75079 /* end confdefs.h. */
75080 #include <math.h>
75081 int
75082 main ()
75083 {
75084 atan2l(0, 0);
75085 ;
75086 return 0;
75087 }
75088 _ACEOF
75089 if ac_fn_cxx_try_compile "$LINENO"; then :
75090 glibcxx_cv_func_atan2l_use=yes
75091 else
75092 glibcxx_cv_func_atan2l_use=no
75093 fi
75094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75095 ac_ext=c
75096 ac_cpp='$CPP $CPPFLAGS'
75097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75100
75101
75102 fi
75103
75104 fi
75105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75106 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75107
75108 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75109 for ac_func in atan2l
75110 do :
75111 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75112 if test "x$ac_cv_func_atan2l" = x""yes; then :
75113 cat >>confdefs.h <<_ACEOF
75114 #define HAVE_ATAN2L 1
75115 _ACEOF
75116
75117 fi
75118 done
75119
75120 else
75121
75122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75123 $as_echo_n "checking for _atan2l declaration... " >&6; }
75124 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75125 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75126 $as_echo_n "(cached) " >&6
75127 else
75128
75129
75130 ac_ext=cpp
75131 ac_cpp='$CXXCPP $CPPFLAGS'
75132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75135
75136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75137 /* end confdefs.h. */
75138 #include <math.h>
75139 int
75140 main ()
75141 {
75142 _atan2l(0, 0);
75143 ;
75144 return 0;
75145 }
75146 _ACEOF
75147 if ac_fn_cxx_try_compile "$LINENO"; then :
75148 glibcxx_cv_func__atan2l_use=yes
75149 else
75150 glibcxx_cv_func__atan2l_use=no
75151 fi
75152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75153 ac_ext=c
75154 ac_cpp='$CPP $CPPFLAGS'
75155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75158
75159
75160 fi
75161
75162 fi
75163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75164 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75165
75166 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75167 for ac_func in _atan2l
75168 do :
75169 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75170 if test "x$ac_cv_func__atan2l" = x""yes; then :
75171 cat >>confdefs.h <<_ACEOF
75172 #define HAVE__ATAN2L 1
75173 _ACEOF
75174
75175 fi
75176 done
75177
75178 fi
75179 fi
75180
75181
75182
75183
75184
75185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75186 $as_echo_n "checking for expl declaration... " >&6; }
75187 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75188 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75189 $as_echo_n "(cached) " >&6
75190 else
75191
75192
75193 ac_ext=cpp
75194 ac_cpp='$CXXCPP $CPPFLAGS'
75195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75198
75199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75200 /* end confdefs.h. */
75201 #include <math.h>
75202 #ifdef HAVE_IEEEFP_H
75203 #include <ieeefp.h>
75204 #endif
75205
75206 int
75207 main ()
75208 {
75209 expl(0);
75210 ;
75211 return 0;
75212 }
75213 _ACEOF
75214 if ac_fn_cxx_try_compile "$LINENO"; then :
75215 glibcxx_cv_func_expl_use=yes
75216 else
75217 glibcxx_cv_func_expl_use=no
75218 fi
75219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75220 ac_ext=c
75221 ac_cpp='$CPP $CPPFLAGS'
75222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75225
75226
75227 fi
75228
75229 fi
75230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75231 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75232
75233 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75234 for ac_func in expl
75235 do :
75236 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75237 if test "x$ac_cv_func_expl" = x""yes; then :
75238 cat >>confdefs.h <<_ACEOF
75239 #define HAVE_EXPL 1
75240 _ACEOF
75241
75242 fi
75243 done
75244
75245 else
75246
75247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75248 $as_echo_n "checking for _expl declaration... " >&6; }
75249 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75250 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75251 $as_echo_n "(cached) " >&6
75252 else
75253
75254
75255 ac_ext=cpp
75256 ac_cpp='$CXXCPP $CPPFLAGS'
75257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75260
75261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75262 /* end confdefs.h. */
75263 #include <math.h>
75264 #ifdef HAVE_IEEEFP_H
75265 #include <ieeefp.h>
75266 #endif
75267
75268 int
75269 main ()
75270 {
75271 _expl(0);
75272 ;
75273 return 0;
75274 }
75275 _ACEOF
75276 if ac_fn_cxx_try_compile "$LINENO"; then :
75277 glibcxx_cv_func__expl_use=yes
75278 else
75279 glibcxx_cv_func__expl_use=no
75280 fi
75281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75282 ac_ext=c
75283 ac_cpp='$CPP $CPPFLAGS'
75284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75287
75288
75289 fi
75290
75291 fi
75292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75293 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75294
75295 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75296 for ac_func in _expl
75297 do :
75298 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75299 if test "x$ac_cv_func__expl" = x""yes; then :
75300 cat >>confdefs.h <<_ACEOF
75301 #define HAVE__EXPL 1
75302 _ACEOF
75303
75304 fi
75305 done
75306
75307 fi
75308 fi
75309
75310
75311
75312
75313
75314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75315 $as_echo_n "checking for fabsl declaration... " >&6; }
75316 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75317 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75318 $as_echo_n "(cached) " >&6
75319 else
75320
75321
75322 ac_ext=cpp
75323 ac_cpp='$CXXCPP $CPPFLAGS'
75324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75327
75328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75329 /* end confdefs.h. */
75330 #include <math.h>
75331 #ifdef HAVE_IEEEFP_H
75332 #include <ieeefp.h>
75333 #endif
75334
75335 int
75336 main ()
75337 {
75338 fabsl(0);
75339 ;
75340 return 0;
75341 }
75342 _ACEOF
75343 if ac_fn_cxx_try_compile "$LINENO"; then :
75344 glibcxx_cv_func_fabsl_use=yes
75345 else
75346 glibcxx_cv_func_fabsl_use=no
75347 fi
75348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75349 ac_ext=c
75350 ac_cpp='$CPP $CPPFLAGS'
75351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75354
75355
75356 fi
75357
75358 fi
75359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75360 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75361
75362 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75363 for ac_func in fabsl
75364 do :
75365 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75366 if test "x$ac_cv_func_fabsl" = x""yes; then :
75367 cat >>confdefs.h <<_ACEOF
75368 #define HAVE_FABSL 1
75369 _ACEOF
75370
75371 fi
75372 done
75373
75374 else
75375
75376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75377 $as_echo_n "checking for _fabsl declaration... " >&6; }
75378 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75379 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75380 $as_echo_n "(cached) " >&6
75381 else
75382
75383
75384 ac_ext=cpp
75385 ac_cpp='$CXXCPP $CPPFLAGS'
75386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75389
75390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75391 /* end confdefs.h. */
75392 #include <math.h>
75393 #ifdef HAVE_IEEEFP_H
75394 #include <ieeefp.h>
75395 #endif
75396
75397 int
75398 main ()
75399 {
75400 _fabsl(0);
75401 ;
75402 return 0;
75403 }
75404 _ACEOF
75405 if ac_fn_cxx_try_compile "$LINENO"; then :
75406 glibcxx_cv_func__fabsl_use=yes
75407 else
75408 glibcxx_cv_func__fabsl_use=no
75409 fi
75410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75411 ac_ext=c
75412 ac_cpp='$CPP $CPPFLAGS'
75413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75416
75417
75418 fi
75419
75420 fi
75421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75422 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75423
75424 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75425 for ac_func in _fabsl
75426 do :
75427 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75428 if test "x$ac_cv_func__fabsl" = x""yes; then :
75429 cat >>confdefs.h <<_ACEOF
75430 #define HAVE__FABSL 1
75431 _ACEOF
75432
75433 fi
75434 done
75435
75436 fi
75437 fi
75438
75439
75440
75441
75442
75443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75444 $as_echo_n "checking for fmodl declaration... " >&6; }
75445 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75446 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75447 $as_echo_n "(cached) " >&6
75448 else
75449
75450
75451 ac_ext=cpp
75452 ac_cpp='$CXXCPP $CPPFLAGS'
75453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75456
75457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75458 /* end confdefs.h. */
75459 #include <math.h>
75460 int
75461 main ()
75462 {
75463 fmodl(0, 0);
75464 ;
75465 return 0;
75466 }
75467 _ACEOF
75468 if ac_fn_cxx_try_compile "$LINENO"; then :
75469 glibcxx_cv_func_fmodl_use=yes
75470 else
75471 glibcxx_cv_func_fmodl_use=no
75472 fi
75473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75474 ac_ext=c
75475 ac_cpp='$CPP $CPPFLAGS'
75476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75479
75480
75481 fi
75482
75483 fi
75484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75485 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75486
75487 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75488 for ac_func in fmodl
75489 do :
75490 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75491 if test "x$ac_cv_func_fmodl" = x""yes; then :
75492 cat >>confdefs.h <<_ACEOF
75493 #define HAVE_FMODL 1
75494 _ACEOF
75495
75496 fi
75497 done
75498
75499 else
75500
75501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75502 $as_echo_n "checking for _fmodl declaration... " >&6; }
75503 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75504 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75505 $as_echo_n "(cached) " >&6
75506 else
75507
75508
75509 ac_ext=cpp
75510 ac_cpp='$CXXCPP $CPPFLAGS'
75511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75514
75515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75516 /* end confdefs.h. */
75517 #include <math.h>
75518 int
75519 main ()
75520 {
75521 _fmodl(0, 0);
75522 ;
75523 return 0;
75524 }
75525 _ACEOF
75526 if ac_fn_cxx_try_compile "$LINENO"; then :
75527 glibcxx_cv_func__fmodl_use=yes
75528 else
75529 glibcxx_cv_func__fmodl_use=no
75530 fi
75531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75532 ac_ext=c
75533 ac_cpp='$CPP $CPPFLAGS'
75534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75537
75538
75539 fi
75540
75541 fi
75542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75543 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75544
75545 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75546 for ac_func in _fmodl
75547 do :
75548 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75549 if test "x$ac_cv_func__fmodl" = x""yes; then :
75550 cat >>confdefs.h <<_ACEOF
75551 #define HAVE__FMODL 1
75552 _ACEOF
75553
75554 fi
75555 done
75556
75557 fi
75558 fi
75559
75560
75561
75562
75563
75564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75565 $as_echo_n "checking for frexpl declaration... " >&6; }
75566 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75567 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75568 $as_echo_n "(cached) " >&6
75569 else
75570
75571
75572 ac_ext=cpp
75573 ac_cpp='$CXXCPP $CPPFLAGS'
75574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75577
75578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75579 /* end confdefs.h. */
75580 #include <math.h>
75581 int
75582 main ()
75583 {
75584 frexpl(0, 0);
75585 ;
75586 return 0;
75587 }
75588 _ACEOF
75589 if ac_fn_cxx_try_compile "$LINENO"; then :
75590 glibcxx_cv_func_frexpl_use=yes
75591 else
75592 glibcxx_cv_func_frexpl_use=no
75593 fi
75594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75595 ac_ext=c
75596 ac_cpp='$CPP $CPPFLAGS'
75597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75600
75601
75602 fi
75603
75604 fi
75605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75606 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75607
75608 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75609 for ac_func in frexpl
75610 do :
75611 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75612 if test "x$ac_cv_func_frexpl" = x""yes; then :
75613 cat >>confdefs.h <<_ACEOF
75614 #define HAVE_FREXPL 1
75615 _ACEOF
75616
75617 fi
75618 done
75619
75620 else
75621
75622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75623 $as_echo_n "checking for _frexpl declaration... " >&6; }
75624 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75625 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75626 $as_echo_n "(cached) " >&6
75627 else
75628
75629
75630 ac_ext=cpp
75631 ac_cpp='$CXXCPP $CPPFLAGS'
75632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75635
75636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75637 /* end confdefs.h. */
75638 #include <math.h>
75639 int
75640 main ()
75641 {
75642 _frexpl(0, 0);
75643 ;
75644 return 0;
75645 }
75646 _ACEOF
75647 if ac_fn_cxx_try_compile "$LINENO"; then :
75648 glibcxx_cv_func__frexpl_use=yes
75649 else
75650 glibcxx_cv_func__frexpl_use=no
75651 fi
75652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75653 ac_ext=c
75654 ac_cpp='$CPP $CPPFLAGS'
75655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75658
75659
75660 fi
75661
75662 fi
75663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75664 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75665
75666 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75667 for ac_func in _frexpl
75668 do :
75669 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75670 if test "x$ac_cv_func__frexpl" = x""yes; then :
75671 cat >>confdefs.h <<_ACEOF
75672 #define HAVE__FREXPL 1
75673 _ACEOF
75674
75675 fi
75676 done
75677
75678 fi
75679 fi
75680
75681
75682
75683
75684
75685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75686 $as_echo_n "checking for hypotl declaration... " >&6; }
75687 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75688 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75689 $as_echo_n "(cached) " >&6
75690 else
75691
75692
75693 ac_ext=cpp
75694 ac_cpp='$CXXCPP $CPPFLAGS'
75695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75698
75699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75700 /* end confdefs.h. */
75701 #include <math.h>
75702 int
75703 main ()
75704 {
75705 hypotl(0, 0);
75706 ;
75707 return 0;
75708 }
75709 _ACEOF
75710 if ac_fn_cxx_try_compile "$LINENO"; then :
75711 glibcxx_cv_func_hypotl_use=yes
75712 else
75713 glibcxx_cv_func_hypotl_use=no
75714 fi
75715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75716 ac_ext=c
75717 ac_cpp='$CPP $CPPFLAGS'
75718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75721
75722
75723 fi
75724
75725 fi
75726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75727 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75728
75729 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75730 for ac_func in hypotl
75731 do :
75732 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75733 if test "x$ac_cv_func_hypotl" = x""yes; then :
75734 cat >>confdefs.h <<_ACEOF
75735 #define HAVE_HYPOTL 1
75736 _ACEOF
75737
75738 fi
75739 done
75740
75741 else
75742
75743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75744 $as_echo_n "checking for _hypotl declaration... " >&6; }
75745 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75746 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75747 $as_echo_n "(cached) " >&6
75748 else
75749
75750
75751 ac_ext=cpp
75752 ac_cpp='$CXXCPP $CPPFLAGS'
75753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75756
75757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75758 /* end confdefs.h. */
75759 #include <math.h>
75760 int
75761 main ()
75762 {
75763 _hypotl(0, 0);
75764 ;
75765 return 0;
75766 }
75767 _ACEOF
75768 if ac_fn_cxx_try_compile "$LINENO"; then :
75769 glibcxx_cv_func__hypotl_use=yes
75770 else
75771 glibcxx_cv_func__hypotl_use=no
75772 fi
75773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75774 ac_ext=c
75775 ac_cpp='$CPP $CPPFLAGS'
75776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75779
75780
75781 fi
75782
75783 fi
75784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75785 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75786
75787 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75788 for ac_func in _hypotl
75789 do :
75790 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75791 if test "x$ac_cv_func__hypotl" = x""yes; then :
75792 cat >>confdefs.h <<_ACEOF
75793 #define HAVE__HYPOTL 1
75794 _ACEOF
75795
75796 fi
75797 done
75798
75799 fi
75800 fi
75801
75802
75803
75804
75805
75806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75807 $as_echo_n "checking for ldexpl declaration... " >&6; }
75808 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75809 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75810 $as_echo_n "(cached) " >&6
75811 else
75812
75813
75814 ac_ext=cpp
75815 ac_cpp='$CXXCPP $CPPFLAGS'
75816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75819
75820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75821 /* end confdefs.h. */
75822 #include <math.h>
75823 int
75824 main ()
75825 {
75826 ldexpl(0, 0);
75827 ;
75828 return 0;
75829 }
75830 _ACEOF
75831 if ac_fn_cxx_try_compile "$LINENO"; then :
75832 glibcxx_cv_func_ldexpl_use=yes
75833 else
75834 glibcxx_cv_func_ldexpl_use=no
75835 fi
75836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75837 ac_ext=c
75838 ac_cpp='$CPP $CPPFLAGS'
75839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75842
75843
75844 fi
75845
75846 fi
75847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75848 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75849
75850 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75851 for ac_func in ldexpl
75852 do :
75853 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75854 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75855 cat >>confdefs.h <<_ACEOF
75856 #define HAVE_LDEXPL 1
75857 _ACEOF
75858
75859 fi
75860 done
75861
75862 else
75863
75864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75865 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75866 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75867 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75868 $as_echo_n "(cached) " >&6
75869 else
75870
75871
75872 ac_ext=cpp
75873 ac_cpp='$CXXCPP $CPPFLAGS'
75874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75877
75878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75879 /* end confdefs.h. */
75880 #include <math.h>
75881 int
75882 main ()
75883 {
75884 _ldexpl(0, 0);
75885 ;
75886 return 0;
75887 }
75888 _ACEOF
75889 if ac_fn_cxx_try_compile "$LINENO"; then :
75890 glibcxx_cv_func__ldexpl_use=yes
75891 else
75892 glibcxx_cv_func__ldexpl_use=no
75893 fi
75894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75895 ac_ext=c
75896 ac_cpp='$CPP $CPPFLAGS'
75897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75900
75901
75902 fi
75903
75904 fi
75905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75906 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75907
75908 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75909 for ac_func in _ldexpl
75910 do :
75911 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75912 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75913 cat >>confdefs.h <<_ACEOF
75914 #define HAVE__LDEXPL 1
75915 _ACEOF
75916
75917 fi
75918 done
75919
75920 fi
75921 fi
75922
75923
75924
75925
75926
75927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75928 $as_echo_n "checking for logl declaration... " >&6; }
75929 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75930 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75931 $as_echo_n "(cached) " >&6
75932 else
75933
75934
75935 ac_ext=cpp
75936 ac_cpp='$CXXCPP $CPPFLAGS'
75937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75940
75941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75942 /* end confdefs.h. */
75943 #include <math.h>
75944 #ifdef HAVE_IEEEFP_H
75945 #include <ieeefp.h>
75946 #endif
75947
75948 int
75949 main ()
75950 {
75951 logl(0);
75952 ;
75953 return 0;
75954 }
75955 _ACEOF
75956 if ac_fn_cxx_try_compile "$LINENO"; then :
75957 glibcxx_cv_func_logl_use=yes
75958 else
75959 glibcxx_cv_func_logl_use=no
75960 fi
75961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75962 ac_ext=c
75963 ac_cpp='$CPP $CPPFLAGS'
75964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75967
75968
75969 fi
75970
75971 fi
75972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75973 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75974
75975 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75976 for ac_func in logl
75977 do :
75978 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75979 if test "x$ac_cv_func_logl" = x""yes; then :
75980 cat >>confdefs.h <<_ACEOF
75981 #define HAVE_LOGL 1
75982 _ACEOF
75983
75984 fi
75985 done
75986
75987 else
75988
75989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75990 $as_echo_n "checking for _logl declaration... " >&6; }
75991 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75992 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75993 $as_echo_n "(cached) " >&6
75994 else
75995
75996
75997 ac_ext=cpp
75998 ac_cpp='$CXXCPP $CPPFLAGS'
75999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76002
76003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76004 /* end confdefs.h. */
76005 #include <math.h>
76006 #ifdef HAVE_IEEEFP_H
76007 #include <ieeefp.h>
76008 #endif
76009
76010 int
76011 main ()
76012 {
76013 _logl(0);
76014 ;
76015 return 0;
76016 }
76017 _ACEOF
76018 if ac_fn_cxx_try_compile "$LINENO"; then :
76019 glibcxx_cv_func__logl_use=yes
76020 else
76021 glibcxx_cv_func__logl_use=no
76022 fi
76023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76024 ac_ext=c
76025 ac_cpp='$CPP $CPPFLAGS'
76026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76029
76030
76031 fi
76032
76033 fi
76034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76035 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76036
76037 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76038 for ac_func in _logl
76039 do :
76040 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76041 if test "x$ac_cv_func__logl" = x""yes; then :
76042 cat >>confdefs.h <<_ACEOF
76043 #define HAVE__LOGL 1
76044 _ACEOF
76045
76046 fi
76047 done
76048
76049 fi
76050 fi
76051
76052
76053
76054
76055
76056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76057 $as_echo_n "checking for log10l declaration... " >&6; }
76058 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76059 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76060 $as_echo_n "(cached) " >&6
76061 else
76062
76063
76064 ac_ext=cpp
76065 ac_cpp='$CXXCPP $CPPFLAGS'
76066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76069
76070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76071 /* end confdefs.h. */
76072 #include <math.h>
76073 #ifdef HAVE_IEEEFP_H
76074 #include <ieeefp.h>
76075 #endif
76076
76077 int
76078 main ()
76079 {
76080 log10l(0);
76081 ;
76082 return 0;
76083 }
76084 _ACEOF
76085 if ac_fn_cxx_try_compile "$LINENO"; then :
76086 glibcxx_cv_func_log10l_use=yes
76087 else
76088 glibcxx_cv_func_log10l_use=no
76089 fi
76090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76091 ac_ext=c
76092 ac_cpp='$CPP $CPPFLAGS'
76093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76096
76097
76098 fi
76099
76100 fi
76101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76102 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76103
76104 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76105 for ac_func in log10l
76106 do :
76107 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76108 if test "x$ac_cv_func_log10l" = x""yes; then :
76109 cat >>confdefs.h <<_ACEOF
76110 #define HAVE_LOG10L 1
76111 _ACEOF
76112
76113 fi
76114 done
76115
76116 else
76117
76118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76119 $as_echo_n "checking for _log10l declaration... " >&6; }
76120 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76121 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76122 $as_echo_n "(cached) " >&6
76123 else
76124
76125
76126 ac_ext=cpp
76127 ac_cpp='$CXXCPP $CPPFLAGS'
76128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76131
76132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76133 /* end confdefs.h. */
76134 #include <math.h>
76135 #ifdef HAVE_IEEEFP_H
76136 #include <ieeefp.h>
76137 #endif
76138
76139 int
76140 main ()
76141 {
76142 _log10l(0);
76143 ;
76144 return 0;
76145 }
76146 _ACEOF
76147 if ac_fn_cxx_try_compile "$LINENO"; then :
76148 glibcxx_cv_func__log10l_use=yes
76149 else
76150 glibcxx_cv_func__log10l_use=no
76151 fi
76152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76153 ac_ext=c
76154 ac_cpp='$CPP $CPPFLAGS'
76155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76158
76159
76160 fi
76161
76162 fi
76163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76164 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76165
76166 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76167 for ac_func in _log10l
76168 do :
76169 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76170 if test "x$ac_cv_func__log10l" = x""yes; then :
76171 cat >>confdefs.h <<_ACEOF
76172 #define HAVE__LOG10L 1
76173 _ACEOF
76174
76175 fi
76176 done
76177
76178 fi
76179 fi
76180
76181
76182
76183
76184
76185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76186 $as_echo_n "checking for modfl declaration... " >&6; }
76187 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76188 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76189 $as_echo_n "(cached) " >&6
76190 else
76191
76192
76193 ac_ext=cpp
76194 ac_cpp='$CXXCPP $CPPFLAGS'
76195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76198
76199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76200 /* end confdefs.h. */
76201 #include <math.h>
76202 int
76203 main ()
76204 {
76205 modfl(0, 0);
76206 ;
76207 return 0;
76208 }
76209 _ACEOF
76210 if ac_fn_cxx_try_compile "$LINENO"; then :
76211 glibcxx_cv_func_modfl_use=yes
76212 else
76213 glibcxx_cv_func_modfl_use=no
76214 fi
76215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76216 ac_ext=c
76217 ac_cpp='$CPP $CPPFLAGS'
76218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76221
76222
76223 fi
76224
76225 fi
76226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76227 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76228
76229 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76230 for ac_func in modfl
76231 do :
76232 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76233 if test "x$ac_cv_func_modfl" = x""yes; then :
76234 cat >>confdefs.h <<_ACEOF
76235 #define HAVE_MODFL 1
76236 _ACEOF
76237
76238 fi
76239 done
76240
76241 else
76242
76243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76244 $as_echo_n "checking for _modfl declaration... " >&6; }
76245 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76246 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76247 $as_echo_n "(cached) " >&6
76248 else
76249
76250
76251 ac_ext=cpp
76252 ac_cpp='$CXXCPP $CPPFLAGS'
76253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76256
76257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76258 /* end confdefs.h. */
76259 #include <math.h>
76260 int
76261 main ()
76262 {
76263 _modfl(0, 0);
76264 ;
76265 return 0;
76266 }
76267 _ACEOF
76268 if ac_fn_cxx_try_compile "$LINENO"; then :
76269 glibcxx_cv_func__modfl_use=yes
76270 else
76271 glibcxx_cv_func__modfl_use=no
76272 fi
76273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76274 ac_ext=c
76275 ac_cpp='$CPP $CPPFLAGS'
76276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76279
76280
76281 fi
76282
76283 fi
76284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76285 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76286
76287 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76288 for ac_func in _modfl
76289 do :
76290 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76291 if test "x$ac_cv_func__modfl" = x""yes; then :
76292 cat >>confdefs.h <<_ACEOF
76293 #define HAVE__MODFL 1
76294 _ACEOF
76295
76296 fi
76297 done
76298
76299 fi
76300 fi
76301
76302
76303
76304
76305
76306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76307 $as_echo_n "checking for powl declaration... " >&6; }
76308 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76309 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76310 $as_echo_n "(cached) " >&6
76311 else
76312
76313
76314 ac_ext=cpp
76315 ac_cpp='$CXXCPP $CPPFLAGS'
76316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76319
76320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76321 /* end confdefs.h. */
76322 #include <math.h>
76323 int
76324 main ()
76325 {
76326 powl(0, 0);
76327 ;
76328 return 0;
76329 }
76330 _ACEOF
76331 if ac_fn_cxx_try_compile "$LINENO"; then :
76332 glibcxx_cv_func_powl_use=yes
76333 else
76334 glibcxx_cv_func_powl_use=no
76335 fi
76336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76337 ac_ext=c
76338 ac_cpp='$CPP $CPPFLAGS'
76339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76342
76343
76344 fi
76345
76346 fi
76347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76348 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76349
76350 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76351 for ac_func in powl
76352 do :
76353 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76354 if test "x$ac_cv_func_powl" = x""yes; then :
76355 cat >>confdefs.h <<_ACEOF
76356 #define HAVE_POWL 1
76357 _ACEOF
76358
76359 fi
76360 done
76361
76362 else
76363
76364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76365 $as_echo_n "checking for _powl declaration... " >&6; }
76366 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76367 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76368 $as_echo_n "(cached) " >&6
76369 else
76370
76371
76372 ac_ext=cpp
76373 ac_cpp='$CXXCPP $CPPFLAGS'
76374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76377
76378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76379 /* end confdefs.h. */
76380 #include <math.h>
76381 int
76382 main ()
76383 {
76384 _powl(0, 0);
76385 ;
76386 return 0;
76387 }
76388 _ACEOF
76389 if ac_fn_cxx_try_compile "$LINENO"; then :
76390 glibcxx_cv_func__powl_use=yes
76391 else
76392 glibcxx_cv_func__powl_use=no
76393 fi
76394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76395 ac_ext=c
76396 ac_cpp='$CPP $CPPFLAGS'
76397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76400
76401
76402 fi
76403
76404 fi
76405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76406 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76407
76408 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76409 for ac_func in _powl
76410 do :
76411 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76412 if test "x$ac_cv_func__powl" = x""yes; then :
76413 cat >>confdefs.h <<_ACEOF
76414 #define HAVE__POWL 1
76415 _ACEOF
76416
76417 fi
76418 done
76419
76420 fi
76421 fi
76422
76423
76424
76425
76426
76427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76428 $as_echo_n "checking for sqrtl declaration... " >&6; }
76429 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76430 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76431 $as_echo_n "(cached) " >&6
76432 else
76433
76434
76435 ac_ext=cpp
76436 ac_cpp='$CXXCPP $CPPFLAGS'
76437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76440
76441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76442 /* end confdefs.h. */
76443 #include <math.h>
76444 #ifdef HAVE_IEEEFP_H
76445 #include <ieeefp.h>
76446 #endif
76447
76448 int
76449 main ()
76450 {
76451 sqrtl(0);
76452 ;
76453 return 0;
76454 }
76455 _ACEOF
76456 if ac_fn_cxx_try_compile "$LINENO"; then :
76457 glibcxx_cv_func_sqrtl_use=yes
76458 else
76459 glibcxx_cv_func_sqrtl_use=no
76460 fi
76461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76462 ac_ext=c
76463 ac_cpp='$CPP $CPPFLAGS'
76464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76467
76468
76469 fi
76470
76471 fi
76472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76473 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76474
76475 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76476 for ac_func in sqrtl
76477 do :
76478 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76479 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76480 cat >>confdefs.h <<_ACEOF
76481 #define HAVE_SQRTL 1
76482 _ACEOF
76483
76484 fi
76485 done
76486
76487 else
76488
76489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76490 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76491 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76492 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76493 $as_echo_n "(cached) " >&6
76494 else
76495
76496
76497 ac_ext=cpp
76498 ac_cpp='$CXXCPP $CPPFLAGS'
76499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76502
76503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76504 /* end confdefs.h. */
76505 #include <math.h>
76506 #ifdef HAVE_IEEEFP_H
76507 #include <ieeefp.h>
76508 #endif
76509
76510 int
76511 main ()
76512 {
76513 _sqrtl(0);
76514 ;
76515 return 0;
76516 }
76517 _ACEOF
76518 if ac_fn_cxx_try_compile "$LINENO"; then :
76519 glibcxx_cv_func__sqrtl_use=yes
76520 else
76521 glibcxx_cv_func__sqrtl_use=no
76522 fi
76523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76524 ac_ext=c
76525 ac_cpp='$CPP $CPPFLAGS'
76526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76529
76530
76531 fi
76532
76533 fi
76534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76535 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76536
76537 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76538 for ac_func in _sqrtl
76539 do :
76540 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76541 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76542 cat >>confdefs.h <<_ACEOF
76543 #define HAVE__SQRTL 1
76544 _ACEOF
76545
76546 fi
76547 done
76548
76549 fi
76550 fi
76551
76552
76553
76554
76555
76556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76557 $as_echo_n "checking for sincosl declaration... " >&6; }
76558 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76559 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76560 $as_echo_n "(cached) " >&6
76561 else
76562
76563
76564 ac_ext=cpp
76565 ac_cpp='$CXXCPP $CPPFLAGS'
76566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76569
76570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76571 /* end confdefs.h. */
76572 #include <math.h>
76573 int
76574 main ()
76575 {
76576 sincosl(0, 0, 0);
76577 ;
76578 return 0;
76579 }
76580 _ACEOF
76581 if ac_fn_cxx_try_compile "$LINENO"; then :
76582 glibcxx_cv_func_sincosl_use=yes
76583 else
76584 glibcxx_cv_func_sincosl_use=no
76585 fi
76586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76587 ac_ext=c
76588 ac_cpp='$CPP $CPPFLAGS'
76589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76592
76593
76594 fi
76595
76596 fi
76597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76598 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76599
76600 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76601 for ac_func in sincosl
76602 do :
76603 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76604 if test "x$ac_cv_func_sincosl" = x""yes; then :
76605 cat >>confdefs.h <<_ACEOF
76606 #define HAVE_SINCOSL 1
76607 _ACEOF
76608
76609 fi
76610 done
76611
76612 else
76613
76614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76615 $as_echo_n "checking for _sincosl declaration... " >&6; }
76616 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76617 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76618 $as_echo_n "(cached) " >&6
76619 else
76620
76621
76622 ac_ext=cpp
76623 ac_cpp='$CXXCPP $CPPFLAGS'
76624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76627
76628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76629 /* end confdefs.h. */
76630 #include <math.h>
76631 int
76632 main ()
76633 {
76634 _sincosl(0, 0, 0);
76635 ;
76636 return 0;
76637 }
76638 _ACEOF
76639 if ac_fn_cxx_try_compile "$LINENO"; then :
76640 glibcxx_cv_func__sincosl_use=yes
76641 else
76642 glibcxx_cv_func__sincosl_use=no
76643 fi
76644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76645 ac_ext=c
76646 ac_cpp='$CPP $CPPFLAGS'
76647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76650
76651
76652 fi
76653
76654 fi
76655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76656 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76657
76658 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76659 for ac_func in _sincosl
76660 do :
76661 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76662 if test "x$ac_cv_func__sincosl" = x""yes; then :
76663 cat >>confdefs.h <<_ACEOF
76664 #define HAVE__SINCOSL 1
76665 _ACEOF
76666
76667 fi
76668 done
76669
76670 fi
76671 fi
76672
76673
76674
76675
76676
76677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76678 $as_echo_n "checking for finitel declaration... " >&6; }
76679 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76680 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76681 $as_echo_n "(cached) " >&6
76682 else
76683
76684
76685 ac_ext=cpp
76686 ac_cpp='$CXXCPP $CPPFLAGS'
76687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76690
76691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76692 /* end confdefs.h. */
76693 #include <math.h>
76694 #ifdef HAVE_IEEEFP_H
76695 #include <ieeefp.h>
76696 #endif
76697
76698 int
76699 main ()
76700 {
76701 finitel(0);
76702 ;
76703 return 0;
76704 }
76705 _ACEOF
76706 if ac_fn_cxx_try_compile "$LINENO"; then :
76707 glibcxx_cv_func_finitel_use=yes
76708 else
76709 glibcxx_cv_func_finitel_use=no
76710 fi
76711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76712 ac_ext=c
76713 ac_cpp='$CPP $CPPFLAGS'
76714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76717
76718
76719 fi
76720
76721 fi
76722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76723 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76724
76725 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76726 for ac_func in finitel
76727 do :
76728 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76729 if test "x$ac_cv_func_finitel" = x""yes; then :
76730 cat >>confdefs.h <<_ACEOF
76731 #define HAVE_FINITEL 1
76732 _ACEOF
76733
76734 fi
76735 done
76736
76737 else
76738
76739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76740 $as_echo_n "checking for _finitel declaration... " >&6; }
76741 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76742 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76743 $as_echo_n "(cached) " >&6
76744 else
76745
76746
76747 ac_ext=cpp
76748 ac_cpp='$CXXCPP $CPPFLAGS'
76749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76752
76753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76754 /* end confdefs.h. */
76755 #include <math.h>
76756 #ifdef HAVE_IEEEFP_H
76757 #include <ieeefp.h>
76758 #endif
76759
76760 int
76761 main ()
76762 {
76763 _finitel(0);
76764 ;
76765 return 0;
76766 }
76767 _ACEOF
76768 if ac_fn_cxx_try_compile "$LINENO"; then :
76769 glibcxx_cv_func__finitel_use=yes
76770 else
76771 glibcxx_cv_func__finitel_use=no
76772 fi
76773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76774 ac_ext=c
76775 ac_cpp='$CPP $CPPFLAGS'
76776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76779
76780
76781 fi
76782
76783 fi
76784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76785 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76786
76787 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76788 for ac_func in _finitel
76789 do :
76790 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76791 if test "x$ac_cv_func__finitel" = x""yes; then :
76792 cat >>confdefs.h <<_ACEOF
76793 #define HAVE__FINITEL 1
76794 _ACEOF
76795
76796 fi
76797 done
76798
76799 fi
76800 fi
76801
76802
76803
76804
76805 LIBS="$ac_save_LIBS"
76806 CXXFLAGS="$ac_save_CXXFLAGS"
76807
76808
76809 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76810 ac_save_CXXFLAGS="$CXXFLAGS"
76811 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76812
76813
76814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76815 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76816 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76817 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76818 $as_echo_n "(cached) " >&6
76819 else
76820
76821
76822 ac_ext=cpp
76823 ac_cpp='$CXXCPP $CPPFLAGS'
76824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76827
76828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76829 /* end confdefs.h. */
76830 #include <stdlib.h>
76831 int
76832 main ()
76833 {
76834 at_quick_exit(0);
76835 ;
76836 return 0;
76837 }
76838 _ACEOF
76839 if ac_fn_cxx_try_compile "$LINENO"; then :
76840 glibcxx_cv_func_at_quick_exit_use=yes
76841 else
76842 glibcxx_cv_func_at_quick_exit_use=no
76843 fi
76844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76845 ac_ext=c
76846 ac_cpp='$CPP $CPPFLAGS'
76847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76850
76851
76852 fi
76853
76854 fi
76855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76856 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76857 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76858 for ac_func in at_quick_exit
76859 do :
76860 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76861 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76862 cat >>confdefs.h <<_ACEOF
76863 #define HAVE_AT_QUICK_EXIT 1
76864 _ACEOF
76865
76866 fi
76867 done
76868
76869 fi
76870
76871
76872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76873 $as_echo_n "checking for quick_exit declaration... " >&6; }
76874 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76875 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76876 $as_echo_n "(cached) " >&6
76877 else
76878
76879
76880 ac_ext=cpp
76881 ac_cpp='$CXXCPP $CPPFLAGS'
76882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76885
76886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76887 /* end confdefs.h. */
76888 #include <stdlib.h>
76889 int
76890 main ()
76891 {
76892 quick_exit(0);
76893 ;
76894 return 0;
76895 }
76896 _ACEOF
76897 if ac_fn_cxx_try_compile "$LINENO"; then :
76898 glibcxx_cv_func_quick_exit_use=yes
76899 else
76900 glibcxx_cv_func_quick_exit_use=no
76901 fi
76902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76903 ac_ext=c
76904 ac_cpp='$CPP $CPPFLAGS'
76905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76908
76909
76910 fi
76911
76912 fi
76913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76914 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76915 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76916 for ac_func in quick_exit
76917 do :
76918 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76919 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76920 cat >>confdefs.h <<_ACEOF
76921 #define HAVE_QUICK_EXIT 1
76922 _ACEOF
76923
76924 fi
76925 done
76926
76927 fi
76928
76929
76930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76931 $as_echo_n "checking for strtold declaration... " >&6; }
76932 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76933 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76934 $as_echo_n "(cached) " >&6
76935 else
76936
76937
76938 ac_ext=cpp
76939 ac_cpp='$CXXCPP $CPPFLAGS'
76940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76943
76944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76945 /* end confdefs.h. */
76946 #include <stdlib.h>
76947 int
76948 main ()
76949 {
76950 strtold(0, 0);
76951 ;
76952 return 0;
76953 }
76954 _ACEOF
76955 if ac_fn_cxx_try_compile "$LINENO"; then :
76956 glibcxx_cv_func_strtold_use=yes
76957 else
76958 glibcxx_cv_func_strtold_use=no
76959 fi
76960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76961 ac_ext=c
76962 ac_cpp='$CPP $CPPFLAGS'
76963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76966
76967
76968 fi
76969
76970 fi
76971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76972 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76973 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76974 for ac_func in strtold
76975 do :
76976 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76977 if test "x$ac_cv_func_strtold" = x""yes; then :
76978 cat >>confdefs.h <<_ACEOF
76979 #define HAVE_STRTOLD 1
76980 _ACEOF
76981
76982 fi
76983 done
76984
76985 fi
76986
76987
76988
76989
76990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76991 $as_echo_n "checking for strtof declaration... " >&6; }
76992 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76993 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76994 $as_echo_n "(cached) " >&6
76995 else
76996
76997
76998 ac_ext=cpp
76999 ac_cpp='$CXXCPP $CPPFLAGS'
77000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77003
77004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77005 /* end confdefs.h. */
77006 #include <stdlib.h>
77007 int
77008 main ()
77009 {
77010 strtof(0, 0);
77011 ;
77012 return 0;
77013 }
77014 _ACEOF
77015 if ac_fn_cxx_try_compile "$LINENO"; then :
77016 glibcxx_cv_func_strtof_use=yes
77017 else
77018 glibcxx_cv_func_strtof_use=no
77019 fi
77020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77021 ac_ext=c
77022 ac_cpp='$CPP $CPPFLAGS'
77023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77026
77027
77028 fi
77029
77030 fi
77031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77032 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77033 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77034 for ac_func in strtof
77035 do :
77036 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77037 if test "x$ac_cv_func_strtof" = x""yes; then :
77038 cat >>confdefs.h <<_ACEOF
77039 #define HAVE_STRTOF 1
77040 _ACEOF
77041
77042 fi
77043 done
77044
77045 fi
77046
77047
77048
77049
77050 CXXFLAGS="$ac_save_CXXFLAGS"
77051
77052 ;;
77053 *-vxworks)
77054 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77055
77056 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77057
77058 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77059
77060 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77061
77062 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77063
77064 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77065
77066 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77067
77068 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77069
77070 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77071
77072 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77073
77074 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77075
77076 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77077
77078 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77079
77080 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77081
77082 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77083
77084 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77085
77086 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77087
77088 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77089
77090 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77091
77092 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77093
77094 ;;
77095 *)
77096 as_fn_error "No support for this host/target combination." "$LINENO" 5
77097 ;;
77098 esac
77099
77100 fi
77101
77102 # At some point, we should differentiate between architectures
77103 # like x86, which have long double versions, and alpha/powerpc/etc.,
77104 # which don't. For the time being, punt.
77105 if test x"long_double_math_on_this_cpu" = x"yes"; then
77106 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77107
77108 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77109
77110 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77111
77112 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77113
77114 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77115
77116 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77117
77118 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77119
77120 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77121
77122 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77123
77124 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77125
77126 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77127
77128 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77129
77130 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77131
77132 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77133
77134 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77135
77136 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77137
77138 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77139
77140 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77141
77142 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77143
77144 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77145
77146 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77147
77148 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77149
77150 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77151
77152 fi
77153 fi
77154
77155 # Check for _Unwind_GetIPInfo.
77156
77157
77158 # Check whether --with-system-libunwind was given.
77159 if test "${with_system_libunwind+set}" = set; then :
77160 withval=$with_system_libunwind;
77161 fi
77162
77163 # If system-libunwind was not specifically set, pick a default setting.
77164 if test x$with_system_libunwind = x; then
77165 case ${target} in
77166 ia64-*-hpux*) with_system_libunwind=yes ;;
77167 *) with_system_libunwind=no ;;
77168 esac
77169 fi
77170 # Based on system-libunwind and target, do we have ipinfo?
77171 if test x$with_system_libunwind = xyes; then
77172 case ${target} in
77173 ia64-*-*) have_unwind_getipinfo=no ;;
77174 *) have_unwind_getipinfo=yes ;;
77175 esac
77176 else
77177 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77178
77179 case ${target} in
77180 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77181 *) have_unwind_getipinfo=yes ;;
77182 esac
77183
77184 fi
77185
77186 if test x$have_unwind_getipinfo = xyes; then
77187
77188 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77189
77190 fi
77191
77192
77193 # Check whether --enable-linux-futex was given.
77194 if test "${enable_linux_futex+set}" = set; then :
77195 enableval=$enable_linux_futex;
77196 case "$enableval" in
77197 yes|no|default) ;;
77198 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77199 esac
77200
77201 else
77202 enable_linux_futex=default
77203 fi
77204
77205
77206 case "$target" in
77207 *-linux*)
77208 case "$enable_linux_futex" in
77209 default)
77210 # If headers don't have gettid/futex syscalls definition, then
77211 # default to no, otherwise there will be compile time failures.
77212 # Otherwise, default to yes. If we don't detect we are
77213 # compiled/linked against NPTL and not cross-compiling, check
77214 # if programs are run by default against NPTL and if not, issue
77215 # a warning.
77216 enable_linux_futex=no
77217 if test x$gcc_no_link = xyes; then
77218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77219 fi
77220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77221 /* end confdefs.h. */
77222 #include <sys/syscall.h>
77223 int lk;
77224 int
77225 main ()
77226 {
77227 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77228 ;
77229 return 0;
77230 }
77231 _ACEOF
77232 if ac_fn_c_try_link "$LINENO"; then :
77233 save_LIBS="$LIBS"
77234 LIBS="-lpthread $LIBS"
77235 if test x$gcc_no_link = xyes; then
77236 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77237 fi
77238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77239 /* end confdefs.h. */
77240 #ifndef _GNU_SOURCE
77241 #define _GNU_SOURCE 1
77242 #endif
77243 #include <pthread.h>
77244 pthread_t th; void *status;
77245 int
77246 main ()
77247 {
77248 pthread_tryjoin_np (th, &status);
77249 ;
77250 return 0;
77251 }
77252 _ACEOF
77253 if ac_fn_c_try_link "$LINENO"; then :
77254 enable_linux_futex=yes
77255 else
77256 if test x$cross_compiling = xno; then
77257 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77258 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77260 If so, please configure with --disable-linux-futex" >&5
77261 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77262 If so, please configure with --disable-linux-futex" >&2;}
77263 fi
77264 fi
77265 enable_linux_futex=yes
77266 fi
77267 rm -f core conftest.err conftest.$ac_objext \
77268 conftest$ac_exeext conftest.$ac_ext
77269 LIBS="$save_LIBS"
77270 fi
77271 rm -f core conftest.err conftest.$ac_objext \
77272 conftest$ac_exeext conftest.$ac_ext
77273 ;;
77274 yes)
77275 if test x$gcc_no_link = xyes; then
77276 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77277 fi
77278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77279 /* end confdefs.h. */
77280 #include <sys/syscall.h>
77281 int lk;
77282 int
77283 main ()
77284 {
77285 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77286 ;
77287 return 0;
77288 }
77289 _ACEOF
77290 if ac_fn_c_try_link "$LINENO"; then :
77291
77292 else
77293 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77294 fi
77295 rm -f core conftest.err conftest.$ac_objext \
77296 conftest$ac_exeext conftest.$ac_ext
77297 ;;
77298 esac
77299 ;;
77300 *)
77301 enable_linux_futex=no
77302 ;;
77303 esac
77304 if test x$enable_linux_futex = xyes; then
77305
77306 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77307
77308 fi
77309
77310
77311
77312
77313 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77314
77315 acx_cv_header_stdint=stddef.h
77316 acx_cv_header_stdint_kind="(already complete)"
77317 for i in stdint.h $inttype_headers; do
77318 unset ac_cv_type_uintptr_t
77319 unset ac_cv_type_uintmax_t
77320 unset ac_cv_type_int_least32_t
77321 unset ac_cv_type_int_fast32_t
77322 unset ac_cv_type_uint64_t
77323 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77324 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77325 #include <$i>
77326 "
77327 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77328 acx_cv_header_stdint=$i
77329 else
77330 continue
77331 fi
77332
77333 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77334 #include <$i>
77335 "
77336 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77337
77338 else
77339 acx_cv_header_stdint_kind="(mostly complete)"
77340 fi
77341
77342 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77343 #include <$i>
77344 "
77345 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77346
77347 else
77348 acx_cv_header_stdint_kind="(mostly complete)"
77349 fi
77350
77351 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77352 #include <$i>
77353 "
77354 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77355
77356 else
77357 acx_cv_header_stdint_kind="(mostly complete)"
77358 fi
77359
77360 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77361 #include <$i>
77362 "
77363 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77364
77365 else
77366 acx_cv_header_stdint_kind="(lacks uint64_t)"
77367 fi
77368
77369 break
77370 done
77371 if test "$acx_cv_header_stdint" = stddef.h; then
77372 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77373 for i in stdint.h $inttype_headers; do
77374 unset ac_cv_type_uintptr_t
77375 unset ac_cv_type_uint32_t
77376 unset ac_cv_type_uint64_t
77377 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77378 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77379 #include <$i>
77380 "
77381 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77382 acx_cv_header_stdint=$i
77383 else
77384 continue
77385 fi
77386
77387 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77388 #include <$i>
77389 "
77390 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77391
77392 fi
77393
77394 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77395 #include <$i>
77396 "
77397 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77398
77399 fi
77400
77401 break
77402 done
77403 fi
77404 if test "$acx_cv_header_stdint" = stddef.h; then
77405 acx_cv_header_stdint_kind="(u_intXX_t style)"
77406 for i in sys/types.h $inttype_headers; do
77407 unset ac_cv_type_u_int32_t
77408 unset ac_cv_type_u_int64_t
77409 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77410 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77411 #include <$i>
77412 "
77413 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77414 acx_cv_header_stdint=$i
77415 else
77416 continue
77417 fi
77418
77419 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77420 #include <$i>
77421 "
77422 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77423
77424 fi
77425
77426 break
77427 done
77428 fi
77429 if test "$acx_cv_header_stdint" = stddef.h; then
77430 acx_cv_header_stdint_kind="(using manual detection)"
77431 fi
77432
77433 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77434 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77435 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77436 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77437 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77438
77439 # ----------------- Summarize what we found so far
77440
77441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77442 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77443
77444 case `$as_basename -- include/gstdint.h ||
77445 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77446 Xinclude/gstdint.h : 'X\(//\)$' \| \
77447 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77448 $as_echo X/include/gstdint.h |
77449 sed '/^.*\/\([^/][^/]*\)\/*$/{
77450 s//\1/
77451 q
77452 }
77453 /^X\/\(\/\/\)$/{
77454 s//\1/
77455 q
77456 }
77457 /^X\/\(\/\).*/{
77458 s//\1/
77459 q
77460 }
77461 s/.*/./; q'` in
77462 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77463 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77464 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77465 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77466 *) ;;
77467 esac
77468
77469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77470 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77471
77472 # ----------------- done included file, check C basic types --------
77473
77474 # Lacking an uintptr_t? Test size of void *
77475 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77476 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77477 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77478 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77479 # This bug is HP SR number 8606223364.
77480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77481 $as_echo_n "checking size of void *... " >&6; }
77482 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77483 $as_echo_n "(cached) " >&6
77484 else
77485 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77486
77487 else
77488 if test "$ac_cv_type_void_p" = yes; then
77489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77491 { as_fn_set_status 77
77492 as_fn_error "cannot compute sizeof (void *)
77493 See \`config.log' for more details." "$LINENO" 5; }; }
77494 else
77495 ac_cv_sizeof_void_p=0
77496 fi
77497 fi
77498
77499 fi
77500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77501 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77502
77503
77504
77505 cat >>confdefs.h <<_ACEOF
77506 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77507 _ACEOF
77508
77509 ;;
77510 esac
77511
77512 # Lacking an uint64_t? Test size of long
77513 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77514 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77515 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77516 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77517 # This bug is HP SR number 8606223364.
77518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77519 $as_echo_n "checking size of long... " >&6; }
77520 if test "${ac_cv_sizeof_long+set}" = set; then :
77521 $as_echo_n "(cached) " >&6
77522 else
77523 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77524
77525 else
77526 if test "$ac_cv_type_long" = yes; then
77527 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77529 { as_fn_set_status 77
77530 as_fn_error "cannot compute sizeof (long)
77531 See \`config.log' for more details." "$LINENO" 5; }; }
77532 else
77533 ac_cv_sizeof_long=0
77534 fi
77535 fi
77536
77537 fi
77538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77539 $as_echo "$ac_cv_sizeof_long" >&6; }
77540
77541
77542
77543 cat >>confdefs.h <<_ACEOF
77544 #define SIZEOF_LONG $ac_cv_sizeof_long
77545 _ACEOF
77546
77547 ;;
77548 esac
77549
77550 if test $acx_cv_header_stdint = stddef.h; then
77551 # Lacking a good header? Test size of everything and deduce all types.
77552 # The cast to long int works around a bug in the HP C Compiler
77553 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77554 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77555 # This bug is HP SR number 8606223364.
77556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77557 $as_echo_n "checking size of int... " >&6; }
77558 if test "${ac_cv_sizeof_int+set}" = set; then :
77559 $as_echo_n "(cached) " >&6
77560 else
77561 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77562
77563 else
77564 if test "$ac_cv_type_int" = yes; then
77565 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77566 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77567 { as_fn_set_status 77
77568 as_fn_error "cannot compute sizeof (int)
77569 See \`config.log' for more details." "$LINENO" 5; }; }
77570 else
77571 ac_cv_sizeof_int=0
77572 fi
77573 fi
77574
77575 fi
77576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77577 $as_echo "$ac_cv_sizeof_int" >&6; }
77578
77579
77580
77581 cat >>confdefs.h <<_ACEOF
77582 #define SIZEOF_INT $ac_cv_sizeof_int
77583 _ACEOF
77584
77585
77586 # The cast to long int works around a bug in the HP C Compiler
77587 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77588 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77589 # This bug is HP SR number 8606223364.
77590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77591 $as_echo_n "checking size of short... " >&6; }
77592 if test "${ac_cv_sizeof_short+set}" = set; then :
77593 $as_echo_n "(cached) " >&6
77594 else
77595 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77596
77597 else
77598 if test "$ac_cv_type_short" = yes; then
77599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77601 { as_fn_set_status 77
77602 as_fn_error "cannot compute sizeof (short)
77603 See \`config.log' for more details." "$LINENO" 5; }; }
77604 else
77605 ac_cv_sizeof_short=0
77606 fi
77607 fi
77608
77609 fi
77610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77611 $as_echo "$ac_cv_sizeof_short" >&6; }
77612
77613
77614
77615 cat >>confdefs.h <<_ACEOF
77616 #define SIZEOF_SHORT $ac_cv_sizeof_short
77617 _ACEOF
77618
77619
77620 # The cast to long int works around a bug in the HP C Compiler
77621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77623 # This bug is HP SR number 8606223364.
77624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77625 $as_echo_n "checking size of char... " >&6; }
77626 if test "${ac_cv_sizeof_char+set}" = set; then :
77627 $as_echo_n "(cached) " >&6
77628 else
77629 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77630
77631 else
77632 if test "$ac_cv_type_char" = yes; then
77633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77635 { as_fn_set_status 77
77636 as_fn_error "cannot compute sizeof (char)
77637 See \`config.log' for more details." "$LINENO" 5; }; }
77638 else
77639 ac_cv_sizeof_char=0
77640 fi
77641 fi
77642
77643 fi
77644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77645 $as_echo "$ac_cv_sizeof_char" >&6; }
77646
77647
77648
77649 cat >>confdefs.h <<_ACEOF
77650 #define SIZEOF_CHAR $ac_cv_sizeof_char
77651 _ACEOF
77652
77653
77654
77655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77656 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77657 case "$ac_cv_sizeof_char" in
77658 1) acx_cv_type_int8_t=char ;;
77659 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77660 esac
77661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77662 $as_echo "$acx_cv_type_int8_t" >&6; }
77663
77664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77665 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77666 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77667 2:*) acx_cv_type_int16_t=int ;;
77668 *:2) acx_cv_type_int16_t=short ;;
77669 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77670 esac
77671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77672 $as_echo "$acx_cv_type_int16_t" >&6; }
77673
77674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77675 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77676 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77677 4:*) acx_cv_type_int32_t=int ;;
77678 *:4) acx_cv_type_int32_t=long ;;
77679 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77680 esac
77681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77682 $as_echo "$acx_cv_type_int32_t" >&6; }
77683 fi
77684
77685 # These tests are here to make the output prettier
77686
77687 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77688 case "$ac_cv_sizeof_long" in
77689 8) acx_cv_type_int64_t=long ;;
77690 esac
77691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77692 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77694 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77695 fi
77696
77697 # Now we can use the above types
77698
77699 if test "$ac_cv_type_uintptr_t" != yes; then
77700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77701 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77702 case $ac_cv_sizeof_void_p in
77703 2) acx_cv_type_intptr_t=int16_t ;;
77704 4) acx_cv_type_intptr_t=int32_t ;;
77705 8) acx_cv_type_intptr_t=int64_t ;;
77706 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77707 esac
77708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77709 $as_echo "$acx_cv_type_intptr_t" >&6; }
77710 fi
77711
77712 # ----------------- done all checks, emit header -------------
77713 ac_config_commands="$ac_config_commands include/gstdint.h"
77714
77715
77716
77717
77718
77719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77720 $as_echo_n "checking for GNU c++filt... " >&6; }
77721 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77722 $as_echo_n "(cached) " >&6
77723 else
77724 if test -z "$CXXFILT"; then
77725 ac_path_CXXFILT_found=false
77726 # Loop through the user's path and test for each of PROGNAME-LIST
77727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77728 for as_dir in $PATH
77729 do
77730 IFS=$as_save_IFS
77731 test -z "$as_dir" && as_dir=.
77732 for ac_prog in c++filt gc++filt; do
77733 for ac_exec_ext in '' $ac_executable_extensions; do
77734 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77735 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77736 # Check for GNU $ac_path_CXXFILT
77737 case `"$ac_path_CXXFILT" --version 2>&1` in
77738 *GNU*)
77739 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77740 esac
77741
77742 $ac_path_CXXFILT_found && break 3
77743 done
77744 done
77745 done
77746 IFS=$as_save_IFS
77747 if test -z "$ac_cv_path_CXXFILT"; then
77748 :
77749 fi
77750 else
77751 ac_cv_path_CXXFILT=$CXXFILT
77752 fi
77753
77754 fi
77755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77756 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77757 CXXFILT=$ac_cv_path_CXXFILT
77758
77759
77760
77761 # Check whether --enable-symvers was given.
77762 if test "${enable_symvers+set}" = set; then :
77763 enableval=$enable_symvers;
77764 case "$enableval" in
77765 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77766 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77767 esac
77768
77769 else
77770 enable_symvers=yes
77771 fi
77772
77773
77774
77775 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77776 # don't know enough about $LD to do tricks...
77777
77778 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77779 # with extern "C++" in version scripts.
77780
77781
77782 # Turn a 'yes' into a suitable default.
77783 if test x$enable_symvers = xyes ; then
77784 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77785 enable_symvers=no
77786 else
77787 if test $with_gnu_ld = yes ; then
77788 case ${target_os} in
77789 hpux*)
77790 enable_symvers=no ;;
77791 *)
77792 enable_symvers=gnu ;;
77793 esac
77794 else
77795 case ${target_os} in
77796 darwin*)
77797 enable_symvers=darwin ;;
77798 # Sun symbol versioning exists since Solaris 2.5.
77799 solaris2.[5-9]* | solaris2.1[0-9]*)
77800 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77801 # version scripts, so disable symbol versioning if none can be
77802 # found.
77803 if test -z "$ac_cv_path_CXXFILT"; then
77804 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77805 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77807 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77809 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77810 enable_symvers=no
77811 else
77812 enable_symvers=sun
77813 fi
77814 ;;
77815 *)
77816 enable_symvers=no ;;
77817 esac
77818 fi
77819 fi
77820 fi
77821
77822 # Check to see if 'darwin' or 'darwin-export' can win.
77823 if test x$enable_symvers = xdarwin-export ; then
77824 enable_symvers=darwin
77825 fi
77826
77827 # Check if 'sun' was requested on non-Solaris 2 platforms.
77828 if test x$enable_symvers = xsun ; then
77829 case ${target_os} in
77830 solaris2*)
77831 # All fine.
77832 ;;
77833 *)
77834 # Unlikely to work.
77835 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77836 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77838 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77839 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77840 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77841 enable_symvers=no
77842 ;;
77843 esac
77844 fi
77845
77846 # Check to see if 'gnu' can win.
77847 if test $enable_symvers = gnu ||
77848 test $enable_symvers = gnu-versioned-namespace ||
77849 test $enable_symvers = sun; then
77850 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77852 $as_echo_n "checking for shared libgcc... " >&6; }
77853 ac_save_CFLAGS="$CFLAGS"
77854 CFLAGS=' -lgcc_s'
77855 if test x$gcc_no_link = xyes; then
77856 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77857 fi
77858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77859 /* end confdefs.h. */
77860
77861 int
77862 main ()
77863 {
77864 return 0;
77865 ;
77866 return 0;
77867 }
77868 _ACEOF
77869 if ac_fn_c_try_link "$LINENO"; then :
77870 glibcxx_shared_libgcc=yes
77871 else
77872 glibcxx_shared_libgcc=no
77873 fi
77874 rm -f core conftest.err conftest.$ac_objext \
77875 conftest$ac_exeext conftest.$ac_ext
77876 CFLAGS="$ac_save_CFLAGS"
77877 if test $glibcxx_shared_libgcc = no; then
77878 cat > conftest.c <<EOF
77879 int main (void) { return 0; }
77880 EOF
77881 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77882 -shared -shared-libgcc -o conftest.so \
77883 conftest.c -v 2>&1 >/dev/null \
77884 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77885 rm -f conftest.c conftest.so
77886 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77887 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77888 if test x$gcc_no_link = xyes; then
77889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77890 fi
77891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77892 /* end confdefs.h. */
77893
77894 int
77895 main ()
77896 {
77897 return 0;
77898 ;
77899 return 0;
77900 }
77901 _ACEOF
77902 if ac_fn_c_try_link "$LINENO"; then :
77903 glibcxx_shared_libgcc=yes
77904 fi
77905 rm -f core conftest.err conftest.$ac_objext \
77906 conftest$ac_exeext conftest.$ac_ext
77907 CFLAGS="$ac_save_CFLAGS"
77908 fi
77909 fi
77910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77911 $as_echo "$glibcxx_shared_libgcc" >&6; }
77912
77913 # For GNU ld, we need at least this version. The format is described in
77914 # GLIBCXX_CHECK_LINKER_FEATURES above.
77915 glibcxx_min_gnu_ld_version=21400
77916
77917 # If no shared libgcc, can't win.
77918 if test $glibcxx_shared_libgcc != yes; then
77919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77920 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77922 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77924 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77925 enable_symvers=no
77926 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77927 : All interesting versions of Sun ld support sun style symbol versioning.
77928 elif test $with_gnu_ld != yes ; then
77929 # just fail for now
77930 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77931 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77933 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77934 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77935 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77936 enable_symvers=no
77937 elif test $glibcxx_ld_is_gold = yes ; then
77938 : All versions of gold support symbol versioning.
77939 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77940 # The right tools, the right setup, but too old. Fallbacks?
77941 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77942 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77943 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77944 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77946 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77947 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77948 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77949 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77950 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77951 enable_symvers=no
77952 fi
77953 fi
77954
77955 # For libtool versioning info, format is CURRENT:REVISION:AGE
77956 libtool_VERSION=6:21:0
77957
77958 # Everything parsed; figure out what files and settings to use.
77959 case $enable_symvers in
77960 no)
77961 SYMVER_FILE=config/abi/pre/none.ver
77962 ;;
77963 gnu)
77964 SYMVER_FILE=config/abi/pre/gnu.ver
77965
77966 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77967
77968 ;;
77969 gnu-versioned-namespace)
77970 libtool_VERSION=7:0:0
77971 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77972
77973 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77974
77975 ;;
77976 darwin)
77977 SYMVER_FILE=config/abi/pre/gnu.ver
77978
77979 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77980
77981 ;;
77982 sun)
77983 SYMVER_FILE=config/abi/pre/gnu.ver
77984
77985 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77986
77987 ;;
77988 esac
77989
77990 if test x$enable_symvers != xno ; then
77991
77992 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77993
77994 fi
77995
77996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77997 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77998 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77999 $as_echo_n "(cached) " >&6
78000 else
78001
78002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78003 /* end confdefs.h. */
78004 void foo (void); __asm (".symver foo, bar@SYMVER");
78005 int
78006 main ()
78007 {
78008
78009 ;
78010 return 0;
78011 }
78012 _ACEOF
78013 if ac_fn_c_try_compile "$LINENO"; then :
78014 glibcxx_cv_have_as_symver_directive=yes
78015 else
78016 glibcxx_cv_have_as_symver_directive=no
78017 fi
78018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78019 fi
78020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78021 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78022 if test $glibcxx_cv_have_as_symver_directive = yes; then
78023
78024 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78025
78026 fi
78027
78028
78029
78030
78031
78032
78033
78034
78035 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78036 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78037
78038 if test $enable_symvers != no ; then
78039 case ${target_os} in
78040 # The Solaris 2 runtime linker doesn't support the GNU extension of
78041 # binding the same symbol to different versions
78042 solaris2*)
78043 ;;
78044 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78045 *)
78046
78047 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78048
78049 ;;
78050 esac
78051 fi
78052
78053 # Now, set up compatibility support, if any.
78054 # In addition, need this to deal with std::size_t mangling in
78055 # src/compatibility.cc. In a perfect world, could use
78056 # typeid(std::size_t).name()[0] to do direct substitution.
78057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78058 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78059 ac_save_CFLAGS="$CFLAGS"
78060 CFLAGS="-Werror"
78061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78062 /* end confdefs.h. */
78063
78064 int
78065 main ()
78066 {
78067 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78068 ;
78069 return 0;
78070 }
78071 _ACEOF
78072 if ac_fn_c_try_compile "$LINENO"; then :
78073 glibcxx_size_t_is_i=yes
78074 else
78075 glibcxx_size_t_is_i=no
78076 fi
78077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78078 CFLAGS=$ac_save_CFLAGS
78079 if test "$glibcxx_size_t_is_i" = yes; then
78080
78081 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78082
78083 fi
78084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78085 $as_echo "$glibcxx_size_t_is_i" >&6; }
78086
78087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78088 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78089 ac_save_CFLAGS="$CFLAGS"
78090 CFLAGS="-Werror"
78091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78092 /* end confdefs.h. */
78093
78094 int
78095 main ()
78096 {
78097 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78098 ;
78099 return 0;
78100 }
78101 _ACEOF
78102 if ac_fn_c_try_compile "$LINENO"; then :
78103 glibcxx_ptrdiff_t_is_i=yes
78104 else
78105 glibcxx_ptrdiff_t_is_i=no
78106 fi
78107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78108 CFLAGS=$ac_save_CFLAGS
78109 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78110
78111 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78112
78113 fi
78114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78115 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78116
78117
78118
78119
78120 # Check whether --enable-libstdcxx-visibility was given.
78121 if test "${enable_libstdcxx_visibility+set}" = set; then :
78122 enableval=$enable_libstdcxx_visibility;
78123 case "$enableval" in
78124 yes|no) ;;
78125 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78126 esac
78127
78128 else
78129 enable_libstdcxx_visibility=yes
78130 fi
78131
78132
78133
78134 if test x$enable_libstdcxx_visibility = xyes ; then
78135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78136 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78137 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78138 $as_echo_n "(cached) " >&6
78139 else
78140
78141 save_CFLAGS="$CFLAGS"
78142 CFLAGS="$CFLAGS -Werror"
78143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78144 /* end confdefs.h. */
78145 void __attribute__((visibility("hidden"))) foo(void) { }
78146 int
78147 main ()
78148 {
78149
78150 ;
78151 return 0;
78152 }
78153 _ACEOF
78154 if ac_fn_c_try_compile "$LINENO"; then :
78155 glibcxx_cv_have_attribute_visibility=yes
78156 else
78157 glibcxx_cv_have_attribute_visibility=no
78158 fi
78159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78160 CFLAGS="$save_CFLAGS"
78161 fi
78162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78163 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78164 if test $glibcxx_cv_have_attribute_visibility = no; then
78165 enable_libstdcxx_visibility=no
78166 fi
78167 fi
78168
78169
78170 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78171 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78172
78173
78174
78175 # Check whether --enable-libstdcxx-dual-abi was given.
78176 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78177 enableval=$enable_libstdcxx_dual_abi;
78178 case "$enableval" in
78179 yes|no) ;;
78180 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78181 esac
78182
78183 else
78184 enable_libstdcxx_dual_abi=yes
78185 fi
78186
78187
78188 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78190 $as_echo "$as_me: dual ABI is disabled" >&6;}
78191 default_libstdcxx_abi="c++98"
78192 fi
78193
78194
78195
78196 if test x$enable_libstdcxx_dual_abi = xyes; then
78197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78198 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78199
78200 # Check whether --with-default-libstdcxx-abi was given.
78201 if test "${with_default_libstdcxx_abi+set}" = set; then :
78202 withval=$with_default_libstdcxx_abi; case "$withval" in
78203 c++98|gnu++98|c++03|gnu++03) default_libstdcxx_abi="c++98" ;;
78204 c++1?|gnu++1?) default_libstdcxx_abi="c++11" ;;
78205 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78206 esac
78207 else
78208 default_libstdcxx_abi="c++11"
78209 fi
78210
78211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78212 $as_echo "${default_libstdcxx_abi}" >&6; }
78213 fi
78214 if test $default_libstdcxx_abi = "c++11"; then
78215 glibcxx_cxx11_abi=1
78216 glibcxx_cxx98_abi=0
78217 else
78218 glibcxx_cxx11_abi=0
78219 glibcxx_cxx98_abi=1
78220 fi
78221
78222
78223
78224
78225 ac_ldbl_compat=no
78226 case "$target" in
78227 powerpc*-*-linux* | \
78228 sparc*-*-linux* | \
78229 s390*-*-linux* | \
78230 alpha*-*-linux*)
78231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78232 /* end confdefs.h. */
78233
78234 int
78235 main ()
78236 {
78237
78238 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78239 #error no need for long double compatibility
78240 #endif
78241
78242 ;
78243 return 0;
78244 }
78245 _ACEOF
78246 if ac_fn_c_try_compile "$LINENO"; then :
78247 ac_ldbl_compat=yes
78248 else
78249 ac_ldbl_compat=no
78250 fi
78251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78252 if test "$ac_ldbl_compat" = yes; then
78253
78254 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78255
78256 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78257 fi
78258 esac
78259
78260
78261 # Check if assembler supports disabling hardware capability support.
78262
78263 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78264
78265 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78266 # with a different meaning.
78267 case ${target_os} in
78268 solaris2*)
78269 ac_save_CFLAGS="$CFLAGS"
78270 CFLAGS="$CFLAGS -Wa,-nH"
78271
78272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78273 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78275 /* end confdefs.h. */
78276
78277 int
78278 main ()
78279 {
78280 return 0;
78281 ;
78282 return 0;
78283 }
78284 _ACEOF
78285 if ac_fn_c_try_compile "$LINENO"; then :
78286 ac_hwcap_flags=yes
78287 else
78288 ac_hwcap_flags=no
78289 fi
78290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78291 if test "$ac_hwcap_flags" = "yes"; then
78292 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78293 fi
78294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78295 $as_echo "$ac_hwcap_flags" >&6; }
78296
78297 CFLAGS="$ac_save_CFLAGS"
78298 ;;
78299 esac
78300
78301
78302
78303
78304 # Check if assembler supports rdrand opcode.
78305
78306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78307 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78308 if test "${ac_cv_x86_rdrand+set}" = set; then :
78309 $as_echo_n "(cached) " >&6
78310 else
78311
78312 ac_cv_x86_rdrand=no
78313 case "$target" in
78314 i?86-*-* | \
78315 x86_64-*-*)
78316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78317 /* end confdefs.h. */
78318
78319 int
78320 main ()
78321 {
78322 asm("rdrand %eax");
78323 ;
78324 return 0;
78325 }
78326 _ACEOF
78327 if ac_fn_c_try_compile "$LINENO"; then :
78328 ac_cv_x86_rdrand=yes
78329 else
78330 ac_cv_x86_rdrand=no
78331 fi
78332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78333 esac
78334
78335 fi
78336
78337 if test $ac_cv_x86_rdrand = yes; then
78338
78339 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78340
78341 fi
78342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78343 $as_echo "$ac_cv_x86_rdrand" >&6; }
78344
78345
78346 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78347
78348 if $GLIBCXX_IS_NATIVE ; then
78349 # Do checks for resource limit functions.
78350
78351 setrlimit_have_headers=yes
78352 for ac_header in unistd.h sys/time.h sys/resource.h
78353 do :
78354 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78355 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78356 eval as_val=\$$as_ac_Header
78357 if test "x$as_val" = x""yes; then :
78358 cat >>confdefs.h <<_ACEOF
78359 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78360 _ACEOF
78361
78362 else
78363 setrlimit_have_headers=no
78364 fi
78365
78366 done
78367
78368 # If don't have the headers, then we can't run the tests now, and we
78369 # won't be seeing any of these during testsuite compilation.
78370 if test $setrlimit_have_headers = yes; then
78371 # Can't do these in a loop, else the resulting syntax is wrong.
78372
78373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78374 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78376 /* end confdefs.h. */
78377 #include <unistd.h>
78378 #include <sys/time.h>
78379 #include <sys/resource.h>
78380
78381 int
78382 main ()
78383 {
78384 int f = RLIMIT_DATA ;
78385 ;
78386 return 0;
78387 }
78388 _ACEOF
78389 if ac_fn_c_try_compile "$LINENO"; then :
78390 glibcxx_mresult=1
78391 else
78392 glibcxx_mresult=0
78393 fi
78394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78395
78396 cat >>confdefs.h <<_ACEOF
78397 #define HAVE_LIMIT_DATA $glibcxx_mresult
78398 _ACEOF
78399
78400 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78402 $as_echo "$res" >&6; }
78403
78404
78405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78406 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78408 /* end confdefs.h. */
78409 #include <unistd.h>
78410 #include <sys/time.h>
78411 #include <sys/resource.h>
78412
78413 int
78414 main ()
78415 {
78416 int f = RLIMIT_RSS ;
78417 ;
78418 return 0;
78419 }
78420 _ACEOF
78421 if ac_fn_c_try_compile "$LINENO"; then :
78422 glibcxx_mresult=1
78423 else
78424 glibcxx_mresult=0
78425 fi
78426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78427
78428 cat >>confdefs.h <<_ACEOF
78429 #define HAVE_LIMIT_RSS $glibcxx_mresult
78430 _ACEOF
78431
78432 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78434 $as_echo "$res" >&6; }
78435
78436
78437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78438 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78440 /* end confdefs.h. */
78441 #include <unistd.h>
78442 #include <sys/time.h>
78443 #include <sys/resource.h>
78444
78445 int
78446 main ()
78447 {
78448 int f = RLIMIT_VMEM ;
78449 ;
78450 return 0;
78451 }
78452 _ACEOF
78453 if ac_fn_c_try_compile "$LINENO"; then :
78454 glibcxx_mresult=1
78455 else
78456 glibcxx_mresult=0
78457 fi
78458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78459
78460 cat >>confdefs.h <<_ACEOF
78461 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78462 _ACEOF
78463
78464 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78466 $as_echo "$res" >&6; }
78467
78468
78469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78470 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78472 /* end confdefs.h. */
78473 #include <unistd.h>
78474 #include <sys/time.h>
78475 #include <sys/resource.h>
78476
78477 int
78478 main ()
78479 {
78480 int f = RLIMIT_AS ;
78481 ;
78482 return 0;
78483 }
78484 _ACEOF
78485 if ac_fn_c_try_compile "$LINENO"; then :
78486 glibcxx_mresult=1
78487 else
78488 glibcxx_mresult=0
78489 fi
78490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78491
78492 cat >>confdefs.h <<_ACEOF
78493 #define HAVE_LIMIT_AS $glibcxx_mresult
78494 _ACEOF
78495
78496 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78498 $as_echo "$res" >&6; }
78499
78500
78501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78502 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78504 /* end confdefs.h. */
78505 #include <unistd.h>
78506 #include <sys/time.h>
78507 #include <sys/resource.h>
78508
78509 int
78510 main ()
78511 {
78512 int f = RLIMIT_FSIZE ;
78513 ;
78514 return 0;
78515 }
78516 _ACEOF
78517 if ac_fn_c_try_compile "$LINENO"; then :
78518 glibcxx_mresult=1
78519 else
78520 glibcxx_mresult=0
78521 fi
78522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78523
78524 cat >>confdefs.h <<_ACEOF
78525 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78526 _ACEOF
78527
78528 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78530 $as_echo "$res" >&6; }
78531
78532
78533 # Check for rlimit, setrlimit.
78534 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78535 $as_echo_n "(cached) " >&6
78536 else
78537
78538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78539 /* end confdefs.h. */
78540 #include <unistd.h>
78541 #include <sys/time.h>
78542 #include <sys/resource.h>
78543
78544 int
78545 main ()
78546 {
78547 struct rlimit r;
78548 setrlimit(0, &r);
78549 ;
78550 return 0;
78551 }
78552 _ACEOF
78553 if ac_fn_c_try_compile "$LINENO"; then :
78554 glibcxx_cv_setrlimit=yes
78555 else
78556 glibcxx_cv_setrlimit=no
78557 fi
78558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78559
78560 fi
78561
78562 fi
78563
78564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78565 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78566 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78567 ac_res_limits=yes
78568
78569 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78570
78571 else
78572 ac_res_limits=no
78573 fi
78574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78575 $as_echo "$ac_res_limits" >&6; }
78576
78577
78578 # Look for setenv, so that extended locale tests can be performed.
78579
78580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78581 $as_echo_n "checking for setenv declaration... " >&6; }
78582 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78583 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78584 $as_echo_n "(cached) " >&6
78585 else
78586
78587
78588 ac_ext=cpp
78589 ac_cpp='$CXXCPP $CPPFLAGS'
78590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78593
78594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78595 /* end confdefs.h. */
78596 #include <stdlib.h>
78597 int
78598 main ()
78599 {
78600 setenv(0, 0, 0);
78601 ;
78602 return 0;
78603 }
78604 _ACEOF
78605 if ac_fn_cxx_try_compile "$LINENO"; then :
78606 glibcxx_cv_func_setenv_use=yes
78607 else
78608 glibcxx_cv_func_setenv_use=no
78609 fi
78610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78611 ac_ext=c
78612 ac_cpp='$CPP $CPPFLAGS'
78613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78616
78617
78618 fi
78619
78620 fi
78621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78622 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78623 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78624 for ac_func in setenv
78625 do :
78626 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78627 if test "x$ac_cv_func_setenv" = x""yes; then :
78628 cat >>confdefs.h <<_ACEOF
78629 #define HAVE_SETENV 1
78630 _ACEOF
78631
78632 fi
78633 done
78634
78635 fi
78636
78637 fi
78638
78639 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78640 test $enable_symvers != no; then
78641 case "$host" in
78642 *-*-cygwin*)
78643 enable_abi_check=no ;;
78644 *)
78645 enable_abi_check=yes ;;
78646 esac
78647 else
78648 # Only build this as native, since automake does not understand
78649 # CXX_FOR_BUILD.
78650 enable_abi_check=no
78651 fi
78652
78653 # Export file names for ABI checking.
78654 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78655
78656 baseline_subdir_switch="$abi_baseline_subdir_switch"
78657
78658
78659
78660 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78661
78662 # Check whether --enable-libstdcxx-threads was given.
78663 if test "${enable_libstdcxx_threads+set}" = set; then :
78664 enableval=$enable_libstdcxx_threads;
78665 case "$enableval" in
78666 yes|no) ;;
78667 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78668 esac
78669
78670 else
78671 enable_libstdcxx_threads=auto
78672 fi
78673
78674
78675
78676 if test x$enable_libstdcxx_threads = xauto ||
78677 test x$enable_libstdcxx_threads = xyes; then
78678
78679
78680 ac_ext=cpp
78681 ac_cpp='$CXXCPP $CPPFLAGS'
78682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78685
78686
78687 ac_save_CXXFLAGS="$CXXFLAGS"
78688 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78689 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78690
78691 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78692 case $target_thread_file in
78693 posix)
78694 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78695 esac
78696
78697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78698 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78699
78700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78701 /* end confdefs.h. */
78702 #include <unistd.h>
78703 int
78704 main ()
78705 {
78706
78707 // In case of POSIX threads check _POSIX_TIMEOUTS.
78708 #if (defined(_PTHREADS) \
78709 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78710 #error
78711 #endif
78712
78713 ;
78714 return 0;
78715 }
78716 _ACEOF
78717 if ac_fn_cxx_try_compile "$LINENO"; then :
78718 ac_gthread_use_mutex_timedlock=1
78719 else
78720 ac_gthread_use_mutex_timedlock=0
78721 fi
78722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78723
78724
78725 cat >>confdefs.h <<_ACEOF
78726 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78727 _ACEOF
78728
78729
78730 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78731 else res_mutex_timedlock=no ; fi
78732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78733 $as_echo "$res_mutex_timedlock" >&6; }
78734
78735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78736 $as_echo_n "checking for gthreads library... " >&6; }
78737
78738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78739 /* end confdefs.h. */
78740 #include "gthr.h"
78741 int
78742 main ()
78743 {
78744
78745 #ifndef __GTHREADS_CXX0X
78746 #error
78747 #endif
78748
78749 ;
78750 return 0;
78751 }
78752 _ACEOF
78753 if ac_fn_cxx_try_compile "$LINENO"; then :
78754 ac_has_gthreads=yes
78755 else
78756 ac_has_gthreads=no
78757 fi
78758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78759 else
78760 ac_has_gthreads=no
78761 fi
78762
78763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78764 $as_echo "$ac_has_gthreads" >&6; }
78765
78766 if test x"$ac_has_gthreads" = x"yes"; then
78767
78768 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78769
78770 fi
78771
78772 CXXFLAGS="$ac_save_CXXFLAGS"
78773 ac_ext=c
78774 ac_cpp='$CPP $CPPFLAGS'
78775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78778
78779
78780
78781 # Define documentation rules conditionally.
78782
78783 # See if makeinfo has been installed and is modern enough
78784 # that we can use it.
78785
78786 # Extract the first word of "makeinfo", so it can be a program name with args.
78787 set dummy makeinfo; ac_word=$2
78788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78789 $as_echo_n "checking for $ac_word... " >&6; }
78790 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
78791 $as_echo_n "(cached) " >&6
78792 else
78793 if test -n "$MAKEINFO"; then
78794 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
78795 else
78796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78797 for as_dir in $PATH
78798 do
78799 IFS=$as_save_IFS
78800 test -z "$as_dir" && as_dir=.
78801 for ac_exec_ext in '' $ac_executable_extensions; do
78802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78803 ac_cv_prog_MAKEINFO="makeinfo"
78804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78805 break 2
78806 fi
78807 done
78808 done
78809 IFS=$as_save_IFS
78810
78811 fi
78812 fi
78813 MAKEINFO=$ac_cv_prog_MAKEINFO
78814 if test -n "$MAKEINFO"; then
78815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
78816 $as_echo "$MAKEINFO" >&6; }
78817 else
78818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78819 $as_echo "no" >&6; }
78820 fi
78821
78822
78823 if test -n "$MAKEINFO"; then
78824 # Found it, now check the version.
78825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
78826 $as_echo_n "checking for modern makeinfo... " >&6; }
78827 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
78828 $as_echo_n "(cached) " >&6
78829 else
78830 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
78831 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
78832
78833 case $ac_prog_version in
78834 '') gcc_cv_prog_makeinfo_modern=no;;
78835 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
78836 *) gcc_cv_prog_makeinfo_modern=no;;
78837 esac
78838
78839 fi
78840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
78841 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
78842 else
78843 gcc_cv_prog_makeinfo_modern=no
78844 fi
78845 if test $gcc_cv_prog_makeinfo_modern = no; then
78846 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
78847 fi
78848
78849 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
78850 BUILD_INFO_TRUE=
78851 BUILD_INFO_FALSE='#'
78852 else
78853 BUILD_INFO_TRUE='#'
78854 BUILD_INFO_FALSE=
78855 fi
78856
78857
78858 # Check for doxygen
78859 # Extract the first word of "doxygen", so it can be a program name with args.
78860 set dummy doxygen; ac_word=$2
78861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78862 $as_echo_n "checking for $ac_word... " >&6; }
78863 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
78864 $as_echo_n "(cached) " >&6
78865 else
78866 if test -n "$DOXYGEN"; then
78867 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
78868 else
78869 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78870 for as_dir in $PATH
78871 do
78872 IFS=$as_save_IFS
78873 test -z "$as_dir" && as_dir=.
78874 for ac_exec_ext in '' $ac_executable_extensions; do
78875 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78876 ac_cv_prog_DOXYGEN="yes"
78877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78878 break 2
78879 fi
78880 done
78881 done
78882 IFS=$as_save_IFS
78883
78884 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
78885 fi
78886 fi
78887 DOXYGEN=$ac_cv_prog_DOXYGEN
78888 if test -n "$DOXYGEN"; then
78889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
78890 $as_echo "$DOXYGEN" >&6; }
78891 else
78892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78893 $as_echo "no" >&6; }
78894 fi
78895
78896
78897 # Extract the first word of "dot", so it can be a program name with args.
78898 set dummy dot; ac_word=$2
78899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78900 $as_echo_n "checking for $ac_word... " >&6; }
78901 if test "${ac_cv_prog_DOT+set}" = set; then :
78902 $as_echo_n "(cached) " >&6
78903 else
78904 if test -n "$DOT"; then
78905 ac_cv_prog_DOT="$DOT" # Let the user override the test.
78906 else
78907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78908 for as_dir in $PATH
78909 do
78910 IFS=$as_save_IFS
78911 test -z "$as_dir" && as_dir=.
78912 for ac_exec_ext in '' $ac_executable_extensions; do
78913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78914 ac_cv_prog_DOT="yes"
78915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78916 break 2
78917 fi
78918 done
78919 done
78920 IFS=$as_save_IFS
78921
78922 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
78923 fi
78924 fi
78925 DOT=$ac_cv_prog_DOT
78926 if test -n "$DOT"; then
78927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
78928 $as_echo "$DOT" >&6; }
78929 else
78930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78931 $as_echo "no" >&6; }
78932 fi
78933
78934
78935
78936 # Check for docbook
78937 # Extract the first word of "xsltproc", so it can be a program name with args.
78938 set dummy xsltproc; ac_word=$2
78939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78940 $as_echo_n "checking for $ac_word... " >&6; }
78941 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
78942 $as_echo_n "(cached) " >&6
78943 else
78944 if test -n "$XSLTPROC"; then
78945 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
78946 else
78947 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78948 for as_dir in $PATH
78949 do
78950 IFS=$as_save_IFS
78951 test -z "$as_dir" && as_dir=.
78952 for ac_exec_ext in '' $ac_executable_extensions; do
78953 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78954 ac_cv_prog_XSLTPROC="yes"
78955 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78956 break 2
78957 fi
78958 done
78959 done
78960 IFS=$as_save_IFS
78961
78962 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
78963 fi
78964 fi
78965 XSLTPROC=$ac_cv_prog_XSLTPROC
78966 if test -n "$XSLTPROC"; then
78967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
78968 $as_echo "$XSLTPROC" >&6; }
78969 else
78970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78971 $as_echo "no" >&6; }
78972 fi
78973
78974
78975 # Extract the first word of "xmllint", so it can be a program name with args.
78976 set dummy xmllint; ac_word=$2
78977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
78978 $as_echo_n "checking for $ac_word... " >&6; }
78979 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
78980 $as_echo_n "(cached) " >&6
78981 else
78982 if test -n "$XMLLINT"; then
78983 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
78984 else
78985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78986 for as_dir in $PATH
78987 do
78988 IFS=$as_save_IFS
78989 test -z "$as_dir" && as_dir=.
78990 for ac_exec_ext in '' $ac_executable_extensions; do
78991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78992 ac_cv_prog_XMLLINT="yes"
78993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78994 break 2
78995 fi
78996 done
78997 done
78998 IFS=$as_save_IFS
78999
79000 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79001 fi
79002 fi
79003 XMLLINT=$ac_cv_prog_XMLLINT
79004 if test -n "$XMLLINT"; then
79005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79006 $as_echo "$XMLLINT" >&6; }
79007 else
79008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79009 $as_echo "no" >&6; }
79010 fi
79011
79012
79013
79014
79015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79016 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79017 glibcxx_stylesheets=no
79018 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
79019 glibcxx_stylesheets=yes
79020 fi
79021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79022 $as_echo "$glibcxx_stylesheets" >&6; }
79023
79024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79025 $as_echo_n "checking for local stylesheet directory... " >&6; }
79026 glibcxx_local_stylesheets=no
79027 if test x"$glibcxx_stylesheets" = x"yes"; then
79028 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79029 glibcxx_local_stylesheets=yes
79030 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79031 fi
79032 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79033 glibcxx_local_stylesheets=yes
79034 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79035 fi
79036 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79037 glibcxx_local_stylesheets=yes
79038 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79039 fi
79040 fi
79041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79042 $as_echo "$glibcxx_local_stylesheets" >&6; }
79043
79044 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79045
79046 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79047 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79048 else
79049 glibcxx_stylesheets=no
79050 fi
79051
79052 # Check for epub3 dependencies.
79053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79054 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79055 glibcxx_epub_stylesheets=no
79056 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79057 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79058 glibcxx_epub_stylesheets=yes
79059 fi
79060 fi
79061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79062 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79063 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79064 BUILD_EPUB_TRUE=
79065 BUILD_EPUB_FALSE='#'
79066 else
79067 BUILD_EPUB_TRUE='#'
79068 BUILD_EPUB_FALSE=
79069 fi
79070
79071
79072
79073
79074 # Check for xml/html dependencies.
79075 if test $ac_cv_prog_DOXYGEN = "yes" &&
79076 test $ac_cv_prog_DOT = "yes" &&
79077 test $ac_cv_prog_XSLTPROC = "yes" &&
79078 test $ac_cv_prog_XMLLINT = "yes" &&
79079 test $glibcxx_stylesheets = "yes"; then
79080 BUILD_XML_TRUE=
79081 BUILD_XML_FALSE='#'
79082 else
79083 BUILD_XML_TRUE='#'
79084 BUILD_XML_FALSE=
79085 fi
79086
79087
79088 if test $ac_cv_prog_DOXYGEN = "yes" &&
79089 test $ac_cv_prog_DOT = "yes" &&
79090 test $ac_cv_prog_XSLTPROC = "yes" &&
79091 test $ac_cv_prog_XMLLINT = "yes" &&
79092 test $glibcxx_stylesheets = "yes"; then
79093 BUILD_HTML_TRUE=
79094 BUILD_HTML_FALSE='#'
79095 else
79096 BUILD_HTML_TRUE='#'
79097 BUILD_HTML_FALSE=
79098 fi
79099
79100
79101 # Check for man dependencies.
79102 if test $ac_cv_prog_DOXYGEN = "yes" &&
79103 test $ac_cv_prog_DOT = "yes"; then
79104 BUILD_MAN_TRUE=
79105 BUILD_MAN_FALSE='#'
79106 else
79107 BUILD_MAN_TRUE='#'
79108 BUILD_MAN_FALSE=
79109 fi
79110
79111
79112 # Check for pdf dependencies.
79113 # Extract the first word of "dblatex", so it can be a program name with args.
79114 set dummy dblatex; ac_word=$2
79115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79116 $as_echo_n "checking for $ac_word... " >&6; }
79117 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79118 $as_echo_n "(cached) " >&6
79119 else
79120 if test -n "$DBLATEX"; then
79121 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79122 else
79123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79124 for as_dir in $PATH
79125 do
79126 IFS=$as_save_IFS
79127 test -z "$as_dir" && as_dir=.
79128 for ac_exec_ext in '' $ac_executable_extensions; do
79129 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79130 ac_cv_prog_DBLATEX="yes"
79131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79132 break 2
79133 fi
79134 done
79135 done
79136 IFS=$as_save_IFS
79137
79138 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79139 fi
79140 fi
79141 DBLATEX=$ac_cv_prog_DBLATEX
79142 if test -n "$DBLATEX"; then
79143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79144 $as_echo "$DBLATEX" >&6; }
79145 else
79146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79147 $as_echo "no" >&6; }
79148 fi
79149
79150
79151 # Extract the first word of "pdflatex", so it can be a program name with args.
79152 set dummy pdflatex; ac_word=$2
79153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79154 $as_echo_n "checking for $ac_word... " >&6; }
79155 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79156 $as_echo_n "(cached) " >&6
79157 else
79158 if test -n "$PDFLATEX"; then
79159 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79160 else
79161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79162 for as_dir in $PATH
79163 do
79164 IFS=$as_save_IFS
79165 test -z "$as_dir" && as_dir=.
79166 for ac_exec_ext in '' $ac_executable_extensions; do
79167 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79168 ac_cv_prog_PDFLATEX="yes"
79169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79170 break 2
79171 fi
79172 done
79173 done
79174 IFS=$as_save_IFS
79175
79176 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79177 fi
79178 fi
79179 PDFLATEX=$ac_cv_prog_PDFLATEX
79180 if test -n "$PDFLATEX"; then
79181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79182 $as_echo "$PDFLATEX" >&6; }
79183 else
79184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79185 $as_echo "no" >&6; }
79186 fi
79187
79188
79189 if test $ac_cv_prog_DBLATEX = "yes" &&
79190 test $ac_cv_prog_PDFLATEX = "yes"; then
79191 BUILD_PDF_TRUE=
79192 BUILD_PDF_FALSE='#'
79193 else
79194 BUILD_PDF_TRUE='#'
79195 BUILD_PDF_FALSE=
79196 fi
79197
79198
79199
79200 # Propagate the target-specific source directories through the build chain.
79201 ATOMICITY_SRCDIR=config/${atomicity_dir}
79202 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79203 ATOMIC_FLAGS=${atomic_flags}
79204 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79205 OS_INC_SRCDIR=config/${os_include_dir}
79206 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79207 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79208 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79209 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79210
79211
79212
79213
79214
79215
79216
79217
79218
79219
79220
79221 # Determine cross-compile flags and AM_CONDITIONALs.
79222 #AC_SUBST(GLIBCXX_IS_NATIVE)
79223 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79224 if test $is_hosted = yes; then
79225 GLIBCXX_HOSTED_TRUE=
79226 GLIBCXX_HOSTED_FALSE='#'
79227 else
79228 GLIBCXX_HOSTED_TRUE='#'
79229 GLIBCXX_HOSTED_FALSE=
79230 fi
79231
79232
79233 if test $enable_libstdcxx_pch = yes; then
79234 GLIBCXX_BUILD_PCH_TRUE=
79235 GLIBCXX_BUILD_PCH_FALSE='#'
79236 else
79237 GLIBCXX_BUILD_PCH_TRUE='#'
79238 GLIBCXX_BUILD_PCH_FALSE=
79239 fi
79240
79241
79242 if test $enable_cheaders = c; then
79243 GLIBCXX_C_HEADERS_C_TRUE=
79244 GLIBCXX_C_HEADERS_C_FALSE='#'
79245 else
79246 GLIBCXX_C_HEADERS_C_TRUE='#'
79247 GLIBCXX_C_HEADERS_C_FALSE=
79248 fi
79249
79250
79251 if test $enable_cheaders = c_std; then
79252 GLIBCXX_C_HEADERS_C_STD_TRUE=
79253 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79254 else
79255 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79256 GLIBCXX_C_HEADERS_C_STD_FALSE=
79257 fi
79258
79259
79260 if test $enable_cheaders = c_global; then
79261 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79262 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79263 else
79264 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79265 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79266 fi
79267
79268
79269 if test $c_compatibility = yes; then
79270 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79271 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79272 else
79273 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79274 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79275 fi
79276
79277
79278 if test $enable_libstdcxx_debug = yes; then
79279 GLIBCXX_BUILD_DEBUG_TRUE=
79280 GLIBCXX_BUILD_DEBUG_FALSE='#'
79281 else
79282 GLIBCXX_BUILD_DEBUG_TRUE='#'
79283 GLIBCXX_BUILD_DEBUG_FALSE=
79284 fi
79285
79286
79287 if test $enable_extern_template = yes; then
79288 ENABLE_EXTERN_TEMPLATE_TRUE=
79289 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79290 else
79291 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79292 ENABLE_EXTERN_TEMPLATE_FALSE=
79293 fi
79294
79295
79296 if test $python_mod_dir != no; then
79297 ENABLE_PYTHONDIR_TRUE=
79298 ENABLE_PYTHONDIR_FALSE='#'
79299 else
79300 ENABLE_PYTHONDIR_TRUE='#'
79301 ENABLE_PYTHONDIR_FALSE=
79302 fi
79303
79304
79305 if test $enable_werror = yes; then
79306 ENABLE_WERROR_TRUE=
79307 ENABLE_WERROR_FALSE='#'
79308 else
79309 ENABLE_WERROR_TRUE='#'
79310 ENABLE_WERROR_FALSE=
79311 fi
79312
79313
79314 if test $enable_vtable_verify = yes; then
79315 ENABLE_VTABLE_VERIFY_TRUE=
79316 ENABLE_VTABLE_VERIFY_FALSE='#'
79317 else
79318 ENABLE_VTABLE_VERIFY_TRUE='#'
79319 ENABLE_VTABLE_VERIFY_FALSE=
79320 fi
79321
79322
79323 if test $enable_symvers != no; then
79324 ENABLE_SYMVERS_TRUE=
79325 ENABLE_SYMVERS_FALSE='#'
79326 else
79327 ENABLE_SYMVERS_TRUE='#'
79328 ENABLE_SYMVERS_FALSE=
79329 fi
79330
79331
79332 if test $enable_symvers = gnu; then
79333 ENABLE_SYMVERS_GNU_TRUE=
79334 ENABLE_SYMVERS_GNU_FALSE='#'
79335 else
79336 ENABLE_SYMVERS_GNU_TRUE='#'
79337 ENABLE_SYMVERS_GNU_FALSE=
79338 fi
79339
79340
79341 if test $enable_symvers = gnu-versioned-namespace; then
79342 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79343 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79344 else
79345 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79346 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79347 fi
79348
79349
79350 if test $enable_symvers = darwin; then
79351 ENABLE_SYMVERS_DARWIN_TRUE=
79352 ENABLE_SYMVERS_DARWIN_FALSE='#'
79353 else
79354 ENABLE_SYMVERS_DARWIN_TRUE='#'
79355 ENABLE_SYMVERS_DARWIN_FALSE=
79356 fi
79357
79358
79359 if test $enable_symvers = sun; then
79360 ENABLE_SYMVERS_SUN_TRUE=
79361 ENABLE_SYMVERS_SUN_FALSE='#'
79362 else
79363 ENABLE_SYMVERS_SUN_TRUE='#'
79364 ENABLE_SYMVERS_SUN_FALSE=
79365 fi
79366
79367
79368 if test $enable_libstdcxx_visibility = yes; then
79369 ENABLE_VISIBILITY_TRUE=
79370 ENABLE_VISIBILITY_FALSE='#'
79371 else
79372 ENABLE_VISIBILITY_TRUE='#'
79373 ENABLE_VISIBILITY_FALSE=
79374 fi
79375
79376
79377 if test $enable_libstdcxx_dual_abi = yes; then
79378 ENABLE_DUAL_ABI_TRUE=
79379 ENABLE_DUAL_ABI_FALSE='#'
79380 else
79381 ENABLE_DUAL_ABI_TRUE='#'
79382 ENABLE_DUAL_ABI_FALSE=
79383 fi
79384
79385
79386 if test $glibcxx_cxx11_abi = 1; then
79387 ENABLE_CXX11_ABI_TRUE=
79388 ENABLE_CXX11_ABI_FALSE='#'
79389 else
79390 ENABLE_CXX11_ABI_TRUE='#'
79391 ENABLE_CXX11_ABI_FALSE=
79392 fi
79393
79394
79395 if test $ac_ldbl_compat = yes; then
79396 GLIBCXX_LDBL_COMPAT_TRUE=
79397 GLIBCXX_LDBL_COMPAT_FALSE='#'
79398 else
79399 GLIBCXX_LDBL_COMPAT_TRUE='#'
79400 GLIBCXX_LDBL_COMPAT_FALSE=
79401 fi
79402
79403
79404
79405
79406 cat >confcache <<\_ACEOF
79407 # This file is a shell script that caches the results of configure
79408 # tests run on this system so they can be shared between configure
79409 # scripts and configure runs, see configure's option --config-cache.
79410 # It is not useful on other systems. If it contains results you don't
79411 # want to keep, you may remove or edit it.
79412 #
79413 # config.status only pays attention to the cache file if you give it
79414 # the --recheck option to rerun configure.
79415 #
79416 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79417 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79418 # following values.
79419
79420 _ACEOF
79421
79422 # The following way of writing the cache mishandles newlines in values,
79423 # but we know of no workaround that is simple, portable, and efficient.
79424 # So, we kill variables containing newlines.
79425 # Ultrix sh set writes to stderr and can't be redirected directly,
79426 # and sets the high bit in the cache file unless we assign to the vars.
79427 (
79428 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79429 eval ac_val=\$$ac_var
79430 case $ac_val in #(
79431 *${as_nl}*)
79432 case $ac_var in #(
79433 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79434 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79435 esac
79436 case $ac_var in #(
79437 _ | IFS | as_nl) ;; #(
79438 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79439 *) { eval $ac_var=; unset $ac_var;} ;;
79440 esac ;;
79441 esac
79442 done
79443
79444 (set) 2>&1 |
79445 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79446 *${as_nl}ac_space=\ *)
79447 # `set' does not quote correctly, so add quotes: double-quote
79448 # substitution turns \\\\ into \\, and sed turns \\ into \.
79449 sed -n \
79450 "s/'/'\\\\''/g;
79451 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79452 ;; #(
79453 *)
79454 # `set' quotes correctly as required by POSIX, so do not add quotes.
79455 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79456 ;;
79457 esac |
79458 sort
79459 ) |
79460 sed '
79461 /^ac_cv_env_/b end
79462 t clear
79463 :clear
79464 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79465 t end
79466 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79467 :end' >>confcache
79468 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79469 if test -w "$cache_file"; then
79470 test "x$cache_file" != "x/dev/null" &&
79471 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79472 $as_echo "$as_me: updating cache $cache_file" >&6;}
79473 cat confcache >$cache_file
79474 else
79475 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79476 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79477 fi
79478 fi
79479 rm -f confcache
79480
79481 if test ${multilib} = yes; then
79482 multilib_arg="--enable-multilib"
79483 else
79484 multilib_arg=
79485 fi
79486
79487 # Export all the install information.
79488
79489 glibcxx_toolexecdir=no
79490 glibcxx_toolexeclibdir=no
79491 glibcxx_prefixdir=$prefix
79492
79493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
79494 $as_echo_n "checking for gxx-include-dir... " >&6; }
79495
79496 # Check whether --with-gxx-include-dir was given.
79497 if test "${with_gxx_include_dir+set}" = set; then :
79498 withval=$with_gxx_include_dir; case "$withval" in
79499 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
79500 no) gxx_include_dir=no ;;
79501 *) gxx_include_dir=$withval ;;
79502 esac
79503 else
79504 gxx_include_dir=no
79505 fi
79506
79507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79508 $as_echo "$gxx_include_dir" >&6; }
79509
79510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
79511 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
79512 # Check whether --enable-version-specific-runtime-libs was given.
79513 if test "${enable_version_specific_runtime_libs+set}" = set; then :
79514 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
79515 yes) version_specific_libs=yes ;;
79516 no) version_specific_libs=no ;;
79517 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
79518 esac
79519 else
79520 version_specific_libs=no
79521 fi
79522
79523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
79524 $as_echo "$version_specific_libs" >&6; }
79525
79526 # Default case for install directory for include files.
79527 if test $version_specific_libs = no && test $gxx_include_dir = no; then
79528 gxx_include_dir='include/c++/${gcc_version}'
79529 if test -n "$with_cross_host" &&
79530 test x"$with_cross_host" != x"no"; then
79531 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
79532 else
79533 gxx_include_dir='${prefix}/'"$gxx_include_dir"
79534 fi
79535 fi
79536
79537 # Version-specific runtime libs processing.
79538 if test $version_specific_libs = yes; then
79539 # Need the gcc compiler version to know where to install libraries
79540 # and header files if --enable-version-specific-runtime-libs option
79541 # is selected. FIXME: these variables are misnamed, there are
79542 # no executables installed in _toolexecdir or _toolexeclibdir.
79543 if test x"$gxx_include_dir" = x"no"; then
79544 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
79545 fi
79546 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79547 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
79548 fi
79549
79550 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
79551 # Install a library built with a cross compiler in tooldir, not libdir.
79552 if test x"$glibcxx_toolexecdir" = x"no"; then
79553 if test -n "$with_cross_host" &&
79554 test x"$with_cross_host" != x"no"; then
79555 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
79556 glibcxx_toolexeclibdir='${toolexecdir}/lib'
79557 else
79558 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
79559 glibcxx_toolexeclibdir='${libdir}'
79560 fi
79561 multi_os_directory=`$CXX -print-multi-os-directory`
79562 case $multi_os_directory in
79563 .) ;; # Avoid trailing /.
79564 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
79565 esac
79566 fi
79567
79568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
79569 $as_echo_n "checking for install location... " >&6; }
79570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
79571 $as_echo "$gxx_include_dir" >&6; }
79572
79573
79574
79575
79576
79577
79578
79579 # Export all the include and flag information to Makefiles.
79580
79581 # Used for every C++ compile we perform.
79582 GLIBCXX_INCLUDES="\
79583 -I$glibcxx_builddir/include/$host_alias \
79584 -I$glibcxx_builddir/include \
79585 -I$glibcxx_srcdir/libsupc++"
79586
79587 # For Canadian crosses, pick this up too.
79588 if test $CANADIAN = yes; then
79589 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
79590 fi
79591
79592 # Stuff in the actual top level. Currently only used by libsupc++ to
79593 # get unwind* headers from the libgcc dir.
79594 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
79595 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
79596
79597 # Now, export this to all the little Makefiles....
79598
79599
79600
79601
79602 # Optimization flags that are probably a good idea for thrill-seekers. Just
79603 # uncomment the lines below and make, everything else is ready to go...
79604 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
79605 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
79606
79607
79608 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
79609
79610
79611
79612 ac_config_files="$ac_config_files Makefile"
79613
79614 ac_config_files="$ac_config_files scripts/testsuite_flags"
79615
79616 ac_config_files="$ac_config_files scripts/extract_symvers"
79617
79618 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
79619
79620
79621 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
79622 # that multilib installs will end up installed in the correct place.
79623 # The testsuite needs it for multilib-aware ABI baseline files.
79624 # To work around this not being passed down from config-ml.in ->
79625 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
79626 # append it here. Only modify Makefiles that have just been created.
79627 #
79628 # Also, get rid of this simulated-VPATH thing that automake does.
79629 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"
79630
79631
79632 ac_config_commands="$ac_config_commands generate-headers"
79633
79634
79635 cat >confcache <<\_ACEOF
79636 # This file is a shell script that caches the results of configure
79637 # tests run on this system so they can be shared between configure
79638 # scripts and configure runs, see configure's option --config-cache.
79639 # It is not useful on other systems. If it contains results you don't
79640 # want to keep, you may remove or edit it.
79641 #
79642 # config.status only pays attention to the cache file if you give it
79643 # the --recheck option to rerun configure.
79644 #
79645 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79646 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79647 # following values.
79648
79649 _ACEOF
79650
79651 # The following way of writing the cache mishandles newlines in values,
79652 # but we know of no workaround that is simple, portable, and efficient.
79653 # So, we kill variables containing newlines.
79654 # Ultrix sh set writes to stderr and can't be redirected directly,
79655 # and sets the high bit in the cache file unless we assign to the vars.
79656 (
79657 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79658 eval ac_val=\$$ac_var
79659 case $ac_val in #(
79660 *${as_nl}*)
79661 case $ac_var in #(
79662 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79663 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79664 esac
79665 case $ac_var in #(
79666 _ | IFS | as_nl) ;; #(
79667 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79668 *) { eval $ac_var=; unset $ac_var;} ;;
79669 esac ;;
79670 esac
79671 done
79672
79673 (set) 2>&1 |
79674 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79675 *${as_nl}ac_space=\ *)
79676 # `set' does not quote correctly, so add quotes: double-quote
79677 # substitution turns \\\\ into \\, and sed turns \\ into \.
79678 sed -n \
79679 "s/'/'\\\\''/g;
79680 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79681 ;; #(
79682 *)
79683 # `set' quotes correctly as required by POSIX, so do not add quotes.
79684 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79685 ;;
79686 esac |
79687 sort
79688 ) |
79689 sed '
79690 /^ac_cv_env_/b end
79691 t clear
79692 :clear
79693 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79694 t end
79695 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79696 :end' >>confcache
79697 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79698 if test -w "$cache_file"; then
79699 test "x$cache_file" != "x/dev/null" &&
79700 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79701 $as_echo "$as_me: updating cache $cache_file" >&6;}
79702 cat confcache >$cache_file
79703 else
79704 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79705 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79706 fi
79707 fi
79708 rm -f confcache
79709
79710 test "x$prefix" = xNONE && prefix=$ac_default_prefix
79711 # Let make expand exec_prefix.
79712 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
79713
79714 DEFS=-DHAVE_CONFIG_H
79715
79716 ac_libobjs=
79717 ac_ltlibobjs=
79718 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
79719 # 1. Remove the extension, and $U if already installed.
79720 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
79721 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
79722 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
79723 # will be set to the directory where LIBOBJS objects are built.
79724 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
79725 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
79726 done
79727 LIBOBJS=$ac_libobjs
79728
79729 LTLIBOBJS=$ac_ltlibobjs
79730
79731
79732 if test -n "$EXEEXT"; then
79733 am__EXEEXT_TRUE=
79734 am__EXEEXT_FALSE='#'
79735 else
79736 am__EXEEXT_TRUE='#'
79737 am__EXEEXT_FALSE=
79738 fi
79739
79740 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
79741 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
79742 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79743 fi
79744 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
79745 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
79746 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79747 fi
79748 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
79749 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
79750 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79751 fi
79752 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
79753 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
79754 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79755 fi
79756 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
79757 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
79758 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79759 fi
79760 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
79761 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
79762 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79763 fi
79764 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
79765 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
79766 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79767 fi
79768 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
79769 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
79770 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79771 fi
79772 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
79773 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
79774 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79775 fi
79776 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
79777 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
79778 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79779 fi
79780 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
79781 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
79782 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79783 fi
79784 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
79785 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
79786 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79787 fi
79788 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
79789 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
79790 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79791 fi
79792 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
79793 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
79794 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79795 fi
79796 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
79797 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
79798 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79799 fi
79800 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
79801 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
79802 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79803 fi
79804 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
79805 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
79806 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79807 fi
79808 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
79809 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
79810 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79811 fi
79812 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
79813 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
79814 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79815 fi
79816 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
79817 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
79818 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79819 fi
79820 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
79821 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
79822 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79823 fi
79824 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
79825 as_fn_error "conditional \"BUILD_INFO\" was never defined.
79826 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79827 fi
79828 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
79829 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
79830 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79831 fi
79832 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
79833 as_fn_error "conditional \"BUILD_XML\" was never defined.
79834 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79835 fi
79836 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
79837 as_fn_error "conditional \"BUILD_HTML\" was never defined.
79838 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79839 fi
79840 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
79841 as_fn_error "conditional \"BUILD_MAN\" was never defined.
79842 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79843 fi
79844 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
79845 as_fn_error "conditional \"BUILD_PDF\" was never defined.
79846 Usually this means the macro was only invoked conditionally." "$LINENO" 5
79847 fi
79848
79849 : ${CONFIG_STATUS=./config.status}
79850 ac_write_fail=0
79851 ac_clean_files_save=$ac_clean_files
79852 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
79853 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
79854 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
79855 as_write_fail=0
79856 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
79857 #! $SHELL
79858 # Generated by $as_me.
79859 # Run this file to recreate the current configuration.
79860 # Compiler output produced by configure, useful for debugging
79861 # configure, is in config.log if it exists.
79862
79863 debug=false
79864 ac_cs_recheck=false
79865 ac_cs_silent=false
79866
79867 SHELL=\${CONFIG_SHELL-$SHELL}
79868 export SHELL
79869 _ASEOF
79870 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
79871 ## -------------------- ##
79872 ## M4sh Initialization. ##
79873 ## -------------------- ##
79874
79875 # Be more Bourne compatible
79876 DUALCASE=1; export DUALCASE # for MKS sh
79877 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
79878 emulate sh
79879 NULLCMD=:
79880 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
79881 # is contrary to our usage. Disable this feature.
79882 alias -g '${1+"$@"}'='"$@"'
79883 setopt NO_GLOB_SUBST
79884 else
79885 case `(set -o) 2>/dev/null` in #(
79886 *posix*) :
79887 set -o posix ;; #(
79888 *) :
79889 ;;
79890 esac
79891 fi
79892
79893
79894 as_nl='
79895 '
79896 export as_nl
79897 # Printing a long string crashes Solaris 7 /usr/bin/printf.
79898 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
79899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
79900 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
79901 # Prefer a ksh shell builtin over an external printf program on Solaris,
79902 # but without wasting forks for bash or zsh.
79903 if test -z "$BASH_VERSION$ZSH_VERSION" \
79904 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
79905 as_echo='print -r --'
79906 as_echo_n='print -rn --'
79907 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
79908 as_echo='printf %s\n'
79909 as_echo_n='printf %s'
79910 else
79911 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
79912 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
79913 as_echo_n='/usr/ucb/echo -n'
79914 else
79915 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
79916 as_echo_n_body='eval
79917 arg=$1;
79918 case $arg in #(
79919 *"$as_nl"*)
79920 expr "X$arg" : "X\\(.*\\)$as_nl";
79921 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
79922 esac;
79923 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
79924 '
79925 export as_echo_n_body
79926 as_echo_n='sh -c $as_echo_n_body as_echo'
79927 fi
79928 export as_echo_body
79929 as_echo='sh -c $as_echo_body as_echo'
79930 fi
79931
79932 # The user is always right.
79933 if test "${PATH_SEPARATOR+set}" != set; then
79934 PATH_SEPARATOR=:
79935 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79936 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79937 PATH_SEPARATOR=';'
79938 }
79939 fi
79940
79941
79942 # IFS
79943 # We need space, tab and new line, in precisely that order. Quoting is
79944 # there to prevent editors from complaining about space-tab.
79945 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
79946 # splitting by setting IFS to empty value.)
79947 IFS=" "" $as_nl"
79948
79949 # Find who we are. Look in the path if we contain no directory separator.
79950 case $0 in #((
79951 *[\\/]* ) as_myself=$0 ;;
79952 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79953 for as_dir in $PATH
79954 do
79955 IFS=$as_save_IFS
79956 test -z "$as_dir" && as_dir=.
79957 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79958 done
79959 IFS=$as_save_IFS
79960
79961 ;;
79962 esac
79963 # We did not find ourselves, most probably we were run as `sh COMMAND'
79964 # in which case we are not to be found in the path.
79965 if test "x$as_myself" = x; then
79966 as_myself=$0
79967 fi
79968 if test ! -f "$as_myself"; then
79969 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
79970 exit 1
79971 fi
79972
79973 # Unset variables that we do not need and which cause bugs (e.g. in
79974 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
79975 # suppresses any "Segmentation fault" message there. '((' could
79976 # trigger a bug in pdksh 5.2.14.
79977 for as_var in BASH_ENV ENV MAIL MAILPATH
79978 do eval test x\${$as_var+set} = xset \
79979 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
79980 done
79981 PS1='$ '
79982 PS2='> '
79983 PS4='+ '
79984
79985 # NLS nuisances.
79986 LC_ALL=C
79987 export LC_ALL
79988 LANGUAGE=C
79989 export LANGUAGE
79990
79991 # CDPATH.
79992 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
79993
79994
79995 # as_fn_error ERROR [LINENO LOG_FD]
79996 # ---------------------------------
79997 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
79998 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
79999 # script with status $?, using 1 if that was 0.
80000 as_fn_error ()
80001 {
80002 as_status=$?; test $as_status -eq 0 && as_status=1
80003 if test "$3"; then
80004 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80005 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80006 fi
80007 $as_echo "$as_me: error: $1" >&2
80008 as_fn_exit $as_status
80009 } # as_fn_error
80010
80011
80012 # as_fn_set_status STATUS
80013 # -----------------------
80014 # Set $? to STATUS, without forking.
80015 as_fn_set_status ()
80016 {
80017 return $1
80018 } # as_fn_set_status
80019
80020 # as_fn_exit STATUS
80021 # -----------------
80022 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80023 as_fn_exit ()
80024 {
80025 set +e
80026 as_fn_set_status $1
80027 exit $1
80028 } # as_fn_exit
80029
80030 # as_fn_unset VAR
80031 # ---------------
80032 # Portably unset VAR.
80033 as_fn_unset ()
80034 {
80035 { eval $1=; unset $1;}
80036 }
80037 as_unset=as_fn_unset
80038 # as_fn_append VAR VALUE
80039 # ----------------------
80040 # Append the text in VALUE to the end of the definition contained in VAR. Take
80041 # advantage of any shell optimizations that allow amortized linear growth over
80042 # repeated appends, instead of the typical quadratic growth present in naive
80043 # implementations.
80044 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80045 eval 'as_fn_append ()
80046 {
80047 eval $1+=\$2
80048 }'
80049 else
80050 as_fn_append ()
80051 {
80052 eval $1=\$$1\$2
80053 }
80054 fi # as_fn_append
80055
80056 # as_fn_arith ARG...
80057 # ------------------
80058 # Perform arithmetic evaluation on the ARGs, and store the result in the
80059 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80060 # must be portable across $(()) and expr.
80061 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80062 eval 'as_fn_arith ()
80063 {
80064 as_val=$(( $* ))
80065 }'
80066 else
80067 as_fn_arith ()
80068 {
80069 as_val=`expr "$@" || test $? -eq 1`
80070 }
80071 fi # as_fn_arith
80072
80073
80074 if expr a : '\(a\)' >/dev/null 2>&1 &&
80075 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80076 as_expr=expr
80077 else
80078 as_expr=false
80079 fi
80080
80081 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80082 as_basename=basename
80083 else
80084 as_basename=false
80085 fi
80086
80087 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80088 as_dirname=dirname
80089 else
80090 as_dirname=false
80091 fi
80092
80093 as_me=`$as_basename -- "$0" ||
80094 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80095 X"$0" : 'X\(//\)$' \| \
80096 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80097 $as_echo X/"$0" |
80098 sed '/^.*\/\([^/][^/]*\)\/*$/{
80099 s//\1/
80100 q
80101 }
80102 /^X\/\(\/\/\)$/{
80103 s//\1/
80104 q
80105 }
80106 /^X\/\(\/\).*/{
80107 s//\1/
80108 q
80109 }
80110 s/.*/./; q'`
80111
80112 # Avoid depending upon Character Ranges.
80113 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80114 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80115 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80116 as_cr_digits='0123456789'
80117 as_cr_alnum=$as_cr_Letters$as_cr_digits
80118
80119 ECHO_C= ECHO_N= ECHO_T=
80120 case `echo -n x` in #(((((
80121 -n*)
80122 case `echo 'xy\c'` in
80123 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80124 xy) ECHO_C='\c';;
80125 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80126 ECHO_T=' ';;
80127 esac;;
80128 *)
80129 ECHO_N='-n';;
80130 esac
80131
80132 rm -f conf$$ conf$$.exe conf$$.file
80133 if test -d conf$$.dir; then
80134 rm -f conf$$.dir/conf$$.file
80135 else
80136 rm -f conf$$.dir
80137 mkdir conf$$.dir 2>/dev/null
80138 fi
80139 if (echo >conf$$.file) 2>/dev/null; then
80140 if ln -s conf$$.file conf$$ 2>/dev/null; then
80141 as_ln_s='ln -s'
80142 # ... but there are two gotchas:
80143 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80144 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80145 # In both cases, we have to default to `cp -p'.
80146 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80147 as_ln_s='cp -p'
80148 elif ln conf$$.file conf$$ 2>/dev/null; then
80149 as_ln_s=ln
80150 else
80151 as_ln_s='cp -p'
80152 fi
80153 else
80154 as_ln_s='cp -p'
80155 fi
80156 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80157 rmdir conf$$.dir 2>/dev/null
80158
80159
80160 # as_fn_mkdir_p
80161 # -------------
80162 # Create "$as_dir" as a directory, including parents if necessary.
80163 as_fn_mkdir_p ()
80164 {
80165
80166 case $as_dir in #(
80167 -*) as_dir=./$as_dir;;
80168 esac
80169 test -d "$as_dir" || eval $as_mkdir_p || {
80170 as_dirs=
80171 while :; do
80172 case $as_dir in #(
80173 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80174 *) as_qdir=$as_dir;;
80175 esac
80176 as_dirs="'$as_qdir' $as_dirs"
80177 as_dir=`$as_dirname -- "$as_dir" ||
80178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80179 X"$as_dir" : 'X\(//\)[^/]' \| \
80180 X"$as_dir" : 'X\(//\)$' \| \
80181 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80182 $as_echo X"$as_dir" |
80183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80184 s//\1/
80185 q
80186 }
80187 /^X\(\/\/\)[^/].*/{
80188 s//\1/
80189 q
80190 }
80191 /^X\(\/\/\)$/{
80192 s//\1/
80193 q
80194 }
80195 /^X\(\/\).*/{
80196 s//\1/
80197 q
80198 }
80199 s/.*/./; q'`
80200 test -d "$as_dir" && break
80201 done
80202 test -z "$as_dirs" || eval "mkdir $as_dirs"
80203 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80204
80205
80206 } # as_fn_mkdir_p
80207 if mkdir -p . 2>/dev/null; then
80208 as_mkdir_p='mkdir -p "$as_dir"'
80209 else
80210 test -d ./-p && rmdir ./-p
80211 as_mkdir_p=false
80212 fi
80213
80214 if test -x / >/dev/null 2>&1; then
80215 as_test_x='test -x'
80216 else
80217 if ls -dL / >/dev/null 2>&1; then
80218 as_ls_L_option=L
80219 else
80220 as_ls_L_option=
80221 fi
80222 as_test_x='
80223 eval sh -c '\''
80224 if test -d "$1"; then
80225 test -d "$1/.";
80226 else
80227 case $1 in #(
80228 -*)set "./$1";;
80229 esac;
80230 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80231 ???[sx]*):;;*)false;;esac;fi
80232 '\'' sh
80233 '
80234 fi
80235 as_executable_p=$as_test_x
80236
80237 # Sed expression to map a string onto a valid CPP name.
80238 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80239
80240 # Sed expression to map a string onto a valid variable name.
80241 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80242
80243
80244 exec 6>&1
80245 ## ----------------------------------- ##
80246 ## Main body of $CONFIG_STATUS script. ##
80247 ## ----------------------------------- ##
80248 _ASEOF
80249 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80250
80251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80252 # Save the log message, to keep $0 and so on meaningful, and to
80253 # report actual input values of CONFIG_FILES etc. instead of their
80254 # values after options handling.
80255 ac_log="
80256 This file was extended by package-unused $as_me version-unused, which was
80257 generated by GNU Autoconf 2.64. Invocation command line was
80258
80259 CONFIG_FILES = $CONFIG_FILES
80260 CONFIG_HEADERS = $CONFIG_HEADERS
80261 CONFIG_LINKS = $CONFIG_LINKS
80262 CONFIG_COMMANDS = $CONFIG_COMMANDS
80263 $ $0 $@
80264
80265 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80266 "
80267
80268 _ACEOF
80269
80270 case $ac_config_files in *"
80271 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80272 esac
80273
80274 case $ac_config_headers in *"
80275 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80276 esac
80277
80278
80279 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80280 # Files that config.status was made for.
80281 config_files="$ac_config_files"
80282 config_headers="$ac_config_headers"
80283 config_commands="$ac_config_commands"
80284
80285 _ACEOF
80286
80287 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80288 ac_cs_usage="\
80289 \`$as_me' instantiates files and other configuration actions
80290 from templates according to the current configuration. Unless the files
80291 and actions are specified as TAGs, all are instantiated by default.
80292
80293 Usage: $0 [OPTION]... [TAG]...
80294
80295 -h, --help print this help, then exit
80296 -V, --version print version number and configuration settings, then exit
80297 -q, --quiet, --silent
80298 do not print progress messages
80299 -d, --debug don't remove temporary files
80300 --recheck update $as_me by reconfiguring in the same conditions
80301 --file=FILE[:TEMPLATE]
80302 instantiate the configuration file FILE
80303 --header=FILE[:TEMPLATE]
80304 instantiate the configuration header FILE
80305
80306 Configuration files:
80307 $config_files
80308
80309 Configuration headers:
80310 $config_headers
80311
80312 Configuration commands:
80313 $config_commands
80314
80315 Report bugs to the package provider."
80316
80317 _ACEOF
80318 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80319 ac_cs_version="\\
80320 package-unused config.status version-unused
80321 configured by $0, generated by GNU Autoconf 2.64,
80322 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80323
80324 Copyright (C) 2009 Free Software Foundation, Inc.
80325 This config.status script is free software; the Free Software Foundation
80326 gives unlimited permission to copy, distribute and modify it."
80327
80328 ac_pwd='$ac_pwd'
80329 srcdir='$srcdir'
80330 INSTALL='$INSTALL'
80331 MKDIR_P='$MKDIR_P'
80332 AWK='$AWK'
80333 test -n "\$AWK" || AWK=awk
80334 _ACEOF
80335
80336 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80337 # The default lists apply if the user does not specify any file.
80338 ac_need_defaults=:
80339 while test $# != 0
80340 do
80341 case $1 in
80342 --*=*)
80343 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80344 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80345 ac_shift=:
80346 ;;
80347 *)
80348 ac_option=$1
80349 ac_optarg=$2
80350 ac_shift=shift
80351 ;;
80352 esac
80353
80354 case $ac_option in
80355 # Handling of the options.
80356 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80357 ac_cs_recheck=: ;;
80358 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80359 $as_echo "$ac_cs_version"; exit ;;
80360 --debug | --debu | --deb | --de | --d | -d )
80361 debug=: ;;
80362 --file | --fil | --fi | --f )
80363 $ac_shift
80364 case $ac_optarg in
80365 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80366 esac
80367 as_fn_append CONFIG_FILES " '$ac_optarg'"
80368 ac_need_defaults=false;;
80369 --header | --heade | --head | --hea )
80370 $ac_shift
80371 case $ac_optarg in
80372 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80373 esac
80374 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80375 ac_need_defaults=false;;
80376 --he | --h)
80377 # Conflict between --help and --header
80378 as_fn_error "ambiguous option: \`$1'
80379 Try \`$0 --help' for more information.";;
80380 --help | --hel | -h )
80381 $as_echo "$ac_cs_usage"; exit ;;
80382 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80383 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80384 ac_cs_silent=: ;;
80385
80386 # This is an error.
80387 -*) as_fn_error "unrecognized option: \`$1'
80388 Try \`$0 --help' for more information." ;;
80389
80390 *) as_fn_append ac_config_targets " $1"
80391 ac_need_defaults=false ;;
80392
80393 esac
80394 shift
80395 done
80396
80397 ac_configure_extra_args=
80398
80399 if $ac_cs_silent; then
80400 exec 6>/dev/null
80401 ac_configure_extra_args="$ac_configure_extra_args --silent"
80402 fi
80403
80404 _ACEOF
80405 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80406 if \$ac_cs_recheck; then
80407 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80408 shift
80409 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80410 CONFIG_SHELL='$SHELL'
80411 export CONFIG_SHELL
80412 exec "\$@"
80413 fi
80414
80415 _ACEOF
80416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80417 exec 5>>config.log
80418 {
80419 echo
80420 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80421 ## Running $as_me. ##
80422 _ASBOX
80423 $as_echo "$ac_log"
80424 } >&5
80425
80426 _ACEOF
80427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80428 #
80429 # INIT-COMMANDS
80430 #
80431
80432 srcdir="$srcdir"
80433 host="$host"
80434 target="$target"
80435 with_multisubdir="$with_multisubdir"
80436 with_multisrctop="$with_multisrctop"
80437 with_target_subdir="$with_target_subdir"
80438 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80439 multi_basedir="$multi_basedir"
80440 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80441 CC="$CC"
80442 CXX="$CXX"
80443 GFORTRAN="$GFORTRAN"
80444 GCJ="$GCJ"
80445
80446
80447 # The HP-UX ksh and POSIX shell print the target directory to stdout
80448 # if CDPATH is set.
80449 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80450
80451 sed_quote_subst='$sed_quote_subst'
80452 double_quote_subst='$double_quote_subst'
80453 delay_variable_subst='$delay_variable_subst'
80454 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80455 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80456 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80457 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80458 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80459 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80460 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80461 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80462 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80463 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80464 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80465 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80466 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80467 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80468 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80469 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80470 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80471 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80472 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80473 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80474 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80475 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80476 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80477 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80478 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
80479 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
80480 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
80481 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
80482 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
80483 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
80484 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
80485 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
80486 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
80487 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
80488 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
80489 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
80490 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
80491 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80492 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80493 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
80494 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
80495 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
80496 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
80497 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
80498 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
80499 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
80500 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
80501 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
80502 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"`'
80503 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
80504 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
80505 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
80506 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
80507 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
80508 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
80509 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
80510 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
80511 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
80512 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
80513 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
80514 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
80515 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
80516 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
80517 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
80518 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80519 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
80520 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
80521 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
80522 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
80523 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
80524 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
80525 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
80526 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
80527 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80528 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
80529 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
80530 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
80531 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
80532 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
80533 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
80534 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
80535 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
80536 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
80537 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
80538 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
80539 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
80540 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
80541 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
80542 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
80543 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
80544 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
80545 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
80546 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
80547 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
80548 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
80549 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
80550 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
80551 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
80552 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
80553 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
80554 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
80555 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
80556 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
80557 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
80558 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
80559 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
80560 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
80561 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
80562 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
80563 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
80564 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
80565 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
80566 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
80567 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
80568 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
80569 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
80570 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
80571 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
80572 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
80573 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
80574 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
80575 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
80576 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
80577 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
80578 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
80579 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
80580 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
80581 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
80582 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80583 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80584 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
80585 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
80586 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
80587 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
80588 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
80589 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
80590 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
80591 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
80592 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
80593 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80594 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80595 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
80596 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80597 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80598 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80599 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80600 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80601 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80602 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
80603 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80604 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
80605 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
80606 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
80607 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
80608 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
80609 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
80610 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
80611 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
80612 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
80613 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
80614 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
80615 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
80616 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
80617 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80618 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80619 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
80620 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
80621 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
80622 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
80623 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
80624 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80625 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
80626 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
80627 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
80628 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
80629
80630 LTCC='$LTCC'
80631 LTCFLAGS='$LTCFLAGS'
80632 compiler='$compiler_DEFAULT'
80633
80634 # A function that is used when there is no print builtin or printf.
80635 func_fallback_echo ()
80636 {
80637 eval 'cat <<_LTECHO_EOF
80638 \$1
80639 _LTECHO_EOF'
80640 }
80641
80642 # Quote evaled strings.
80643 for var in SHELL \
80644 ECHO \
80645 SED \
80646 GREP \
80647 EGREP \
80648 FGREP \
80649 LD \
80650 NM \
80651 LN_S \
80652 lt_SP2NL \
80653 lt_NL2SP \
80654 reload_flag \
80655 OBJDUMP \
80656 deplibs_check_method \
80657 file_magic_cmd \
80658 AR \
80659 AR_FLAGS \
80660 STRIP \
80661 RANLIB \
80662 CC \
80663 CFLAGS \
80664 compiler \
80665 lt_cv_sys_global_symbol_pipe \
80666 lt_cv_sys_global_symbol_to_cdecl \
80667 lt_cv_sys_global_symbol_to_c_name_address \
80668 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
80669 lt_prog_compiler_no_builtin_flag \
80670 lt_prog_compiler_wl \
80671 lt_prog_compiler_pic \
80672 lt_prog_compiler_static \
80673 lt_cv_prog_compiler_c_o \
80674 need_locks \
80675 DSYMUTIL \
80676 NMEDIT \
80677 LIPO \
80678 OTOOL \
80679 OTOOL64 \
80680 shrext_cmds \
80681 export_dynamic_flag_spec \
80682 whole_archive_flag_spec \
80683 compiler_needs_object \
80684 with_gnu_ld \
80685 allow_undefined_flag \
80686 no_undefined_flag \
80687 hardcode_libdir_flag_spec \
80688 hardcode_libdir_flag_spec_ld \
80689 hardcode_libdir_separator \
80690 fix_srcfile_path \
80691 exclude_expsyms \
80692 include_expsyms \
80693 file_list_spec \
80694 variables_saved_for_relink \
80695 libname_spec \
80696 library_names_spec \
80697 soname_spec \
80698 install_override_mode \
80699 finish_eval \
80700 old_striplib \
80701 striplib \
80702 compiler_lib_search_dirs \
80703 predep_objects \
80704 postdep_objects \
80705 predeps \
80706 postdeps \
80707 compiler_lib_search_path \
80708 LD_CXX \
80709 reload_flag_CXX \
80710 compiler_CXX \
80711 lt_prog_compiler_no_builtin_flag_CXX \
80712 lt_prog_compiler_wl_CXX \
80713 lt_prog_compiler_pic_CXX \
80714 lt_prog_compiler_static_CXX \
80715 lt_cv_prog_compiler_c_o_CXX \
80716 export_dynamic_flag_spec_CXX \
80717 whole_archive_flag_spec_CXX \
80718 compiler_needs_object_CXX \
80719 with_gnu_ld_CXX \
80720 allow_undefined_flag_CXX \
80721 no_undefined_flag_CXX \
80722 hardcode_libdir_flag_spec_CXX \
80723 hardcode_libdir_flag_spec_ld_CXX \
80724 hardcode_libdir_separator_CXX \
80725 fix_srcfile_path_CXX \
80726 exclude_expsyms_CXX \
80727 include_expsyms_CXX \
80728 file_list_spec_CXX \
80729 compiler_lib_search_dirs_CXX \
80730 predep_objects_CXX \
80731 postdep_objects_CXX \
80732 predeps_CXX \
80733 postdeps_CXX \
80734 compiler_lib_search_path_CXX; do
80735 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80736 *[\\\\\\\`\\"\\\$]*)
80737 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
80738 ;;
80739 *)
80740 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80741 ;;
80742 esac
80743 done
80744
80745 # Double-quote double-evaled strings.
80746 for var in reload_cmds \
80747 old_postinstall_cmds \
80748 old_postuninstall_cmds \
80749 old_archive_cmds \
80750 extract_expsyms_cmds \
80751 old_archive_from_new_cmds \
80752 old_archive_from_expsyms_cmds \
80753 archive_cmds \
80754 archive_expsym_cmds \
80755 module_cmds \
80756 module_expsym_cmds \
80757 export_symbols_cmds \
80758 prelink_cmds \
80759 postinstall_cmds \
80760 postuninstall_cmds \
80761 finish_cmds \
80762 sys_lib_search_path_spec \
80763 sys_lib_dlsearch_path_spec \
80764 reload_cmds_CXX \
80765 old_archive_cmds_CXX \
80766 old_archive_from_new_cmds_CXX \
80767 old_archive_from_expsyms_cmds_CXX \
80768 archive_cmds_CXX \
80769 archive_expsym_cmds_CXX \
80770 module_cmds_CXX \
80771 module_expsym_cmds_CXX \
80772 export_symbols_cmds_CXX \
80773 prelink_cmds_CXX; do
80774 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
80775 *[\\\\\\\`\\"\\\$]*)
80776 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
80777 ;;
80778 *)
80779 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
80780 ;;
80781 esac
80782 done
80783
80784 ac_aux_dir='$ac_aux_dir'
80785 xsi_shell='$xsi_shell'
80786 lt_shell_append='$lt_shell_append'
80787
80788 # See if we are running on zsh, and set the options which allow our
80789 # commands through without removal of \ escapes INIT.
80790 if test -n "\${ZSH_VERSION+set}" ; then
80791 setopt NO_GLOB_SUBST
80792 fi
80793
80794
80795 PACKAGE='$PACKAGE'
80796 VERSION='$VERSION'
80797 TIMESTAMP='$TIMESTAMP'
80798 RM='$RM'
80799 ofile='$ofile'
80800
80801
80802
80803
80804
80805
80806 GCC="$GCC"
80807 CC="$CC"
80808 acx_cv_header_stdint="$acx_cv_header_stdint"
80809 acx_cv_type_int8_t="$acx_cv_type_int8_t"
80810 acx_cv_type_int16_t="$acx_cv_type_int16_t"
80811 acx_cv_type_int32_t="$acx_cv_type_int32_t"
80812 acx_cv_type_int64_t="$acx_cv_type_int64_t"
80813 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
80814 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
80815 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
80816 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
80817 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
80818 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
80819 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
80820 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
80821 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
80822
80823
80824 _ACEOF
80825
80826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80827
80828 # Handling of arguments.
80829 for ac_config_target in $ac_config_targets
80830 do
80831 case $ac_config_target in
80832 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
80833 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
80834 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
80835 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
80836 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
80837 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
80838 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
80839 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
80840 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
80841 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
80842 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
80843 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
80844 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
80845 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
80846 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
80847 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
80848 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
80849 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
80850
80851 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
80852 esac
80853 done
80854
80855
80856 # If the user did not use the arguments to specify the items to instantiate,
80857 # then the envvar interface is used. Set only those that are not.
80858 # We use the long form for the default assignment because of an extremely
80859 # bizarre bug on SunOS 4.1.3.
80860 if $ac_need_defaults; then
80861 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
80862 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
80863 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
80864 fi
80865
80866 # Have a temporary directory for convenience. Make it in the build tree
80867 # simply because there is no reason against having it here, and in addition,
80868 # creating and moving files from /tmp can sometimes cause problems.
80869 # Hook for its removal unless debugging.
80870 # Note that there is a small window in which the directory will not be cleaned:
80871 # after its creation but before its name has been assigned to `$tmp'.
80872 $debug ||
80873 {
80874 tmp=
80875 trap 'exit_status=$?
80876 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
80877 ' 0
80878 trap 'as_fn_exit 1' 1 2 13 15
80879 }
80880 # Create a (secure) tmp directory for tmp files.
80881
80882 {
80883 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
80884 test -n "$tmp" && test -d "$tmp"
80885 } ||
80886 {
80887 tmp=./conf$$-$RANDOM
80888 (umask 077 && mkdir "$tmp")
80889 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
80890
80891 # Set up the scripts for CONFIG_FILES section.
80892 # No need to generate them if there are no CONFIG_FILES.
80893 # This happens for instance with `./config.status config.h'.
80894 if test -n "$CONFIG_FILES"; then
80895
80896
80897 ac_cr=`echo X | tr X '\015'`
80898 # On cygwin, bash can eat \r inside `` if the user requested igncr.
80899 # But we know of no other shell where ac_cr would be empty at this
80900 # point, so we can use a bashism as a fallback.
80901 if test "x$ac_cr" = x; then
80902 eval ac_cr=\$\'\\r\'
80903 fi
80904 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
80905 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
80906 ac_cs_awk_cr='\r'
80907 else
80908 ac_cs_awk_cr=$ac_cr
80909 fi
80910
80911 echo 'BEGIN {' >"$tmp/subs1.awk" &&
80912 _ACEOF
80913
80914
80915 {
80916 echo "cat >conf$$subs.awk <<_ACEOF" &&
80917 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
80918 echo "_ACEOF"
80919 } >conf$$subs.sh ||
80920 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80921 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
80922 ac_delim='%!_!# '
80923 for ac_last_try in false false false false false :; do
80924 . ./conf$$subs.sh ||
80925 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80926
80927 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
80928 if test $ac_delim_n = $ac_delim_num; then
80929 break
80930 elif $ac_last_try; then
80931 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
80932 else
80933 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
80934 fi
80935 done
80936 rm -f conf$$subs.sh
80937
80938 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80939 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
80940 _ACEOF
80941 sed -n '
80942 h
80943 s/^/S["/; s/!.*/"]=/
80944 p
80945 g
80946 s/^[^!]*!//
80947 :repl
80948 t repl
80949 s/'"$ac_delim"'$//
80950 t delim
80951 :nl
80952 h
80953 s/\(.\{148\}\).*/\1/
80954 t more1
80955 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
80956 p
80957 n
80958 b repl
80959 :more1
80960 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80961 p
80962 g
80963 s/.\{148\}//
80964 t nl
80965 :delim
80966 h
80967 s/\(.\{148\}\).*/\1/
80968 t more2
80969 s/["\\]/\\&/g; s/^/"/; s/$/"/
80970 p
80971 b
80972 :more2
80973 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
80974 p
80975 g
80976 s/.\{148\}//
80977 t delim
80978 ' <conf$$subs.awk | sed '
80979 /^[^""]/{
80980 N
80981 s/\n//
80982 }
80983 ' >>$CONFIG_STATUS || ac_write_fail=1
80984 rm -f conf$$subs.awk
80985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80986 _ACAWK
80987 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
80988 for (key in S) S_is_set[key] = 1
80989 FS = "\a"
80990
80991 }
80992 {
80993 line = $ 0
80994 nfields = split(line, field, "@")
80995 substed = 0
80996 len = length(field[1])
80997 for (i = 2; i < nfields; i++) {
80998 key = field[i]
80999 keylen = length(key)
81000 if (S_is_set[key]) {
81001 value = S[key]
81002 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81003 len += length(value) + length(field[++i])
81004 substed = 1
81005 } else
81006 len += 1 + keylen
81007 }
81008
81009 print line
81010 }
81011
81012 _ACAWK
81013 _ACEOF
81014 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81015 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81016 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81017 else
81018 cat
81019 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81020 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81021 _ACEOF
81022
81023 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81024 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81025 # trailing colons and then remove the whole line if VPATH becomes empty
81026 # (actually we leave an empty line to preserve line numbers).
81027 if test "x$srcdir" = x.; then
81028 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81029 s/:*\$(srcdir):*/:/
81030 s/:*\${srcdir}:*/:/
81031 s/:*@srcdir@:*/:/
81032 s/^\([^=]*=[ ]*\):*/\1/
81033 s/:*$//
81034 s/^[^=]*=[ ]*$//
81035 }'
81036 fi
81037
81038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81039 fi # test -n "$CONFIG_FILES"
81040
81041 # Set up the scripts for CONFIG_HEADERS section.
81042 # No need to generate them if there are no CONFIG_HEADERS.
81043 # This happens for instance with `./config.status Makefile'.
81044 if test -n "$CONFIG_HEADERS"; then
81045 cat >"$tmp/defines.awk" <<\_ACAWK ||
81046 BEGIN {
81047 _ACEOF
81048
81049 # Transform confdefs.h into an awk script `defines.awk', embedded as
81050 # here-document in config.status, that substitutes the proper values into
81051 # config.h.in to produce config.h.
81052
81053 # Create a delimiter string that does not exist in confdefs.h, to ease
81054 # handling of long lines.
81055 ac_delim='%!_!# '
81056 for ac_last_try in false false :; do
81057 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81058 if test -z "$ac_t"; then
81059 break
81060 elif $ac_last_try; then
81061 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81062 else
81063 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81064 fi
81065 done
81066
81067 # For the awk script, D is an array of macro values keyed by name,
81068 # likewise P contains macro parameters if any. Preserve backslash
81069 # newline sequences.
81070
81071 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81072 sed -n '
81073 s/.\{148\}/&'"$ac_delim"'/g
81074 t rset
81075 :rset
81076 s/^[ ]*#[ ]*define[ ][ ]*/ /
81077 t def
81078 d
81079 :def
81080 s/\\$//
81081 t bsnl
81082 s/["\\]/\\&/g
81083 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81084 D["\1"]=" \3"/p
81085 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81086 d
81087 :bsnl
81088 s/["\\]/\\&/g
81089 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81090 D["\1"]=" \3\\\\\\n"\\/p
81091 t cont
81092 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81093 t cont
81094 d
81095 :cont
81096 n
81097 s/.\{148\}/&'"$ac_delim"'/g
81098 t clear
81099 :clear
81100 s/\\$//
81101 t bsnlc
81102 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81103 d
81104 :bsnlc
81105 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81106 b cont
81107 ' <confdefs.h | sed '
81108 s/'"$ac_delim"'/"\\\
81109 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81110
81111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81112 for (key in D) D_is_set[key] = 1
81113 FS = "\a"
81114 }
81115 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81116 line = \$ 0
81117 split(line, arg, " ")
81118 if (arg[1] == "#") {
81119 defundef = arg[2]
81120 mac1 = arg[3]
81121 } else {
81122 defundef = substr(arg[1], 2)
81123 mac1 = arg[2]
81124 }
81125 split(mac1, mac2, "(") #)
81126 macro = mac2[1]
81127 prefix = substr(line, 1, index(line, defundef) - 1)
81128 if (D_is_set[macro]) {
81129 # Preserve the white space surrounding the "#".
81130 print prefix "define", macro P[macro] D[macro]
81131 next
81132 } else {
81133 # Replace #undef with comments. This is necessary, for example,
81134 # in the case of _POSIX_SOURCE, which is predefined and required
81135 # on some systems where configure will not decide to define it.
81136 if (defundef == "undef") {
81137 print "/*", prefix defundef, macro, "*/"
81138 next
81139 }
81140 }
81141 }
81142 { print }
81143 _ACAWK
81144 _ACEOF
81145 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81146 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81147 fi # test -n "$CONFIG_HEADERS"
81148
81149
81150 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81151 shift
81152 for ac_tag
81153 do
81154 case $ac_tag in
81155 :[FHLC]) ac_mode=$ac_tag; continue;;
81156 esac
81157 case $ac_mode$ac_tag in
81158 :[FHL]*:*);;
81159 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81160 :[FH]-) ac_tag=-:-;;
81161 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81162 esac
81163 ac_save_IFS=$IFS
81164 IFS=:
81165 set x $ac_tag
81166 IFS=$ac_save_IFS
81167 shift
81168 ac_file=$1
81169 shift
81170
81171 case $ac_mode in
81172 :L) ac_source=$1;;
81173 :[FH])
81174 ac_file_inputs=
81175 for ac_f
81176 do
81177 case $ac_f in
81178 -) ac_f="$tmp/stdin";;
81179 *) # Look for the file first in the build tree, then in the source tree
81180 # (if the path is not absolute). The absolute path cannot be DOS-style,
81181 # because $ac_f cannot contain `:'.
81182 test -f "$ac_f" ||
81183 case $ac_f in
81184 [\\/$]*) false;;
81185 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81186 esac ||
81187 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81188 esac
81189 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81190 as_fn_append ac_file_inputs " '$ac_f'"
81191 done
81192
81193 # Let's still pretend it is `configure' which instantiates (i.e., don't
81194 # use $as_me), people would be surprised to read:
81195 # /* config.h. Generated by config.status. */
81196 configure_input='Generated from '`
81197 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81198 `' by configure.'
81199 if test x"$ac_file" != x-; then
81200 configure_input="$ac_file. $configure_input"
81201 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81202 $as_echo "$as_me: creating $ac_file" >&6;}
81203 fi
81204 # Neutralize special characters interpreted by sed in replacement strings.
81205 case $configure_input in #(
81206 *\&* | *\|* | *\\* )
81207 ac_sed_conf_input=`$as_echo "$configure_input" |
81208 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81209 *) ac_sed_conf_input=$configure_input;;
81210 esac
81211
81212 case $ac_tag in
81213 *:-:* | *:-) cat >"$tmp/stdin" \
81214 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81215 esac
81216 ;;
81217 esac
81218
81219 ac_dir=`$as_dirname -- "$ac_file" ||
81220 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81221 X"$ac_file" : 'X\(//\)[^/]' \| \
81222 X"$ac_file" : 'X\(//\)$' \| \
81223 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81224 $as_echo X"$ac_file" |
81225 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81226 s//\1/
81227 q
81228 }
81229 /^X\(\/\/\)[^/].*/{
81230 s//\1/
81231 q
81232 }
81233 /^X\(\/\/\)$/{
81234 s//\1/
81235 q
81236 }
81237 /^X\(\/\).*/{
81238 s//\1/
81239 q
81240 }
81241 s/.*/./; q'`
81242 as_dir="$ac_dir"; as_fn_mkdir_p
81243 ac_builddir=.
81244
81245 case "$ac_dir" in
81246 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81247 *)
81248 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81249 # A ".." for each directory in $ac_dir_suffix.
81250 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81251 case $ac_top_builddir_sub in
81252 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81253 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81254 esac ;;
81255 esac
81256 ac_abs_top_builddir=$ac_pwd
81257 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81258 # for backward compatibility:
81259 ac_top_builddir=$ac_top_build_prefix
81260
81261 case $srcdir in
81262 .) # We are building in place.
81263 ac_srcdir=.
81264 ac_top_srcdir=$ac_top_builddir_sub
81265 ac_abs_top_srcdir=$ac_pwd ;;
81266 [\\/]* | ?:[\\/]* ) # Absolute name.
81267 ac_srcdir=$srcdir$ac_dir_suffix;
81268 ac_top_srcdir=$srcdir
81269 ac_abs_top_srcdir=$srcdir ;;
81270 *) # Relative name.
81271 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81272 ac_top_srcdir=$ac_top_build_prefix$srcdir
81273 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81274 esac
81275 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81276
81277
81278 case $ac_mode in
81279 :F)
81280 #
81281 # CONFIG_FILE
81282 #
81283
81284 case $INSTALL in
81285 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81286 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81287 esac
81288 ac_MKDIR_P=$MKDIR_P
81289 case $MKDIR_P in
81290 [\\/$]* | ?:[\\/]* ) ;;
81291 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81292 esac
81293 _ACEOF
81294
81295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81296 # If the template does not know about datarootdir, expand it.
81297 # FIXME: This hack should be removed a few years after 2.60.
81298 ac_datarootdir_hack=; ac_datarootdir_seen=
81299 ac_sed_dataroot='
81300 /datarootdir/ {
81301 p
81302 q
81303 }
81304 /@datadir@/p
81305 /@docdir@/p
81306 /@infodir@/p
81307 /@localedir@/p
81308 /@mandir@/p'
81309 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81310 *datarootdir*) ac_datarootdir_seen=yes;;
81311 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81313 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81314 _ACEOF
81315 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81316 ac_datarootdir_hack='
81317 s&@datadir@&$datadir&g
81318 s&@docdir@&$docdir&g
81319 s&@infodir@&$infodir&g
81320 s&@localedir@&$localedir&g
81321 s&@mandir@&$mandir&g
81322 s&\\\${datarootdir}&$datarootdir&g' ;;
81323 esac
81324 _ACEOF
81325
81326 # Neutralize VPATH when `$srcdir' = `.'.
81327 # Shell code in configure.ac might set extrasub.
81328 # FIXME: do we really want to maintain this feature?
81329 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81330 ac_sed_extra="$ac_vpsub
81331 $extrasub
81332 _ACEOF
81333 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81334 :t
81335 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81336 s|@configure_input@|$ac_sed_conf_input|;t t
81337 s&@top_builddir@&$ac_top_builddir_sub&;t t
81338 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81339 s&@srcdir@&$ac_srcdir&;t t
81340 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81341 s&@top_srcdir@&$ac_top_srcdir&;t t
81342 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81343 s&@builddir@&$ac_builddir&;t t
81344 s&@abs_builddir@&$ac_abs_builddir&;t t
81345 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81346 s&@INSTALL@&$ac_INSTALL&;t t
81347 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81348 $ac_datarootdir_hack
81349 "
81350 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81351 || as_fn_error "could not create $ac_file" "$LINENO" 5
81352
81353 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81354 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81355 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81357 which seems to be undefined. Please make sure it is defined." >&5
81358 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81359 which seems to be undefined. Please make sure it is defined." >&2;}
81360
81361 rm -f "$tmp/stdin"
81362 case $ac_file in
81363 -) cat "$tmp/out" && rm -f "$tmp/out";;
81364 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81365 esac \
81366 || as_fn_error "could not create $ac_file" "$LINENO" 5
81367 ;;
81368 :H)
81369 #
81370 # CONFIG_HEADER
81371 #
81372 if test x"$ac_file" != x-; then
81373 {
81374 $as_echo "/* $configure_input */" \
81375 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81376 } >"$tmp/config.h" \
81377 || as_fn_error "could not create $ac_file" "$LINENO" 5
81378 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81379 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81380 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81381 else
81382 rm -f "$ac_file"
81383 mv "$tmp/config.h" "$ac_file" \
81384 || as_fn_error "could not create $ac_file" "$LINENO" 5
81385 fi
81386 else
81387 $as_echo "/* $configure_input */" \
81388 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81389 || as_fn_error "could not create -" "$LINENO" 5
81390 fi
81391 # Compute "$ac_file"'s index in $config_headers.
81392 _am_arg="$ac_file"
81393 _am_stamp_count=1
81394 for _am_header in $config_headers :; do
81395 case $_am_header in
81396 $_am_arg | $_am_arg:* )
81397 break ;;
81398 * )
81399 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81400 esac
81401 done
81402 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81403 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81404 X"$_am_arg" : 'X\(//\)[^/]' \| \
81405 X"$_am_arg" : 'X\(//\)$' \| \
81406 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81407 $as_echo X"$_am_arg" |
81408 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81409 s//\1/
81410 q
81411 }
81412 /^X\(\/\/\)[^/].*/{
81413 s//\1/
81414 q
81415 }
81416 /^X\(\/\/\)$/{
81417 s//\1/
81418 q
81419 }
81420 /^X\(\/\).*/{
81421 s//\1/
81422 q
81423 }
81424 s/.*/./; q'`/stamp-h$_am_stamp_count
81425 ;;
81426
81427 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81428 $as_echo "$as_me: executing $ac_file commands" >&6;}
81429 ;;
81430 esac
81431
81432
81433 case $ac_file$ac_mode in
81434 "default-1":C)
81435 # Only add multilib support code if we just rebuilt the top-level
81436 # Makefile.
81437 case " $CONFIG_FILES " in
81438 *" Makefile "*)
81439 ac_file=Makefile . ${multi_basedir}/config-ml.in
81440 ;;
81441 esac ;;
81442 "libtool":C)
81443
81444 # See if we are running on zsh, and set the options which allow our
81445 # commands through without removal of \ escapes.
81446 if test -n "${ZSH_VERSION+set}" ; then
81447 setopt NO_GLOB_SUBST
81448 fi
81449
81450 cfgfile="${ofile}T"
81451 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81452 $RM "$cfgfile"
81453
81454 cat <<_LT_EOF >> "$cfgfile"
81455 #! $SHELL
81456
81457 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81458 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81459 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81460 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81461 #
81462 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81463 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81464 # Written by Gordon Matzigkeit, 1996
81465 #
81466 # This file is part of GNU Libtool.
81467 #
81468 # GNU Libtool is free software; you can redistribute it and/or
81469 # modify it under the terms of the GNU General Public License as
81470 # published by the Free Software Foundation; either version 2 of
81471 # the License, or (at your option) any later version.
81472 #
81473 # As a special exception to the GNU General Public License,
81474 # if you distribute this file as part of a program or library that
81475 # is built using GNU Libtool, you may include this file under the
81476 # same distribution terms that you use for the rest of that program.
81477 #
81478 # GNU Libtool is distributed in the hope that it will be useful,
81479 # but WITHOUT ANY WARRANTY; without even the implied warranty of
81480 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
81481 # GNU General Public License for more details.
81482 #
81483 # You should have received a copy of the GNU General Public License
81484 # along with GNU Libtool; see the file COPYING. If not, a copy
81485 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
81486 # obtained by writing to the Free Software Foundation, Inc.,
81487 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
81488
81489
81490 # The names of the tagged configurations supported by this script.
81491 available_tags="CXX "
81492
81493 # ### BEGIN LIBTOOL CONFIG
81494
81495 # Which release of libtool.m4 was used?
81496 macro_version=$macro_version
81497 macro_revision=$macro_revision
81498
81499 # Whether or not to build shared libraries.
81500 build_libtool_libs=$enable_shared
81501
81502 # Whether or not to build static libraries.
81503 build_old_libs=$enable_static
81504
81505 # What type of objects to build.
81506 pic_mode=$pic_mode
81507
81508 # Whether or not to optimize for fast installation.
81509 fast_install=$enable_fast_install
81510
81511 # Shell to use when invoking shell scripts.
81512 SHELL=$lt_SHELL
81513
81514 # An echo program that protects backslashes.
81515 ECHO=$lt_ECHO
81516
81517 # The host system.
81518 host_alias=$host_alias
81519 host=$host
81520 host_os=$host_os
81521
81522 # The build system.
81523 build_alias=$build_alias
81524 build=$build
81525 build_os=$build_os
81526
81527 # A sed program that does not truncate output.
81528 SED=$lt_SED
81529
81530 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
81531 Xsed="\$SED -e 1s/^X//"
81532
81533 # A grep program that handles long lines.
81534 GREP=$lt_GREP
81535
81536 # An ERE matcher.
81537 EGREP=$lt_EGREP
81538
81539 # A literal string matcher.
81540 FGREP=$lt_FGREP
81541
81542 # A BSD- or MS-compatible name lister.
81543 NM=$lt_NM
81544
81545 # Whether we need soft or hard links.
81546 LN_S=$lt_LN_S
81547
81548 # What is the maximum length of a command?
81549 max_cmd_len=$max_cmd_len
81550
81551 # Object file suffix (normally "o").
81552 objext=$ac_objext
81553
81554 # Executable file suffix (normally "").
81555 exeext=$exeext
81556
81557 # whether the shell understands "unset".
81558 lt_unset=$lt_unset
81559
81560 # turn spaces into newlines.
81561 SP2NL=$lt_lt_SP2NL
81562
81563 # turn newlines into spaces.
81564 NL2SP=$lt_lt_NL2SP
81565
81566 # An object symbol dumper.
81567 OBJDUMP=$lt_OBJDUMP
81568
81569 # Method to check whether dependent libraries are shared objects.
81570 deplibs_check_method=$lt_deplibs_check_method
81571
81572 # Command to use when deplibs_check_method == "file_magic".
81573 file_magic_cmd=$lt_file_magic_cmd
81574
81575 # The archiver.
81576 AR=$lt_AR
81577 AR_FLAGS=$lt_AR_FLAGS
81578
81579 # A symbol stripping program.
81580 STRIP=$lt_STRIP
81581
81582 # Commands used to install an old-style archive.
81583 RANLIB=$lt_RANLIB
81584 old_postinstall_cmds=$lt_old_postinstall_cmds
81585 old_postuninstall_cmds=$lt_old_postuninstall_cmds
81586
81587 # Whether to use a lock for old archive extraction.
81588 lock_old_archive_extraction=$lock_old_archive_extraction
81589
81590 # A C compiler.
81591 LTCC=$lt_CC
81592
81593 # LTCC compiler flags.
81594 LTCFLAGS=$lt_CFLAGS
81595
81596 # Take the output of nm and produce a listing of raw symbols and C names.
81597 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
81598
81599 # Transform the output of nm in a proper C declaration.
81600 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
81601
81602 # Transform the output of nm in a C name address pair.
81603 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
81604
81605 # Transform the output of nm in a C name address pair when lib prefix is needed.
81606 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
81607
81608 # The name of the directory that contains temporary libtool files.
81609 objdir=$objdir
81610
81611 # Used to examine libraries when file_magic_cmd begins with "file".
81612 MAGIC_CMD=$MAGIC_CMD
81613
81614 # Must we lock files when doing compilation?
81615 need_locks=$lt_need_locks
81616
81617 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
81618 DSYMUTIL=$lt_DSYMUTIL
81619
81620 # Tool to change global to local symbols on Mac OS X.
81621 NMEDIT=$lt_NMEDIT
81622
81623 # Tool to manipulate fat objects and archives on Mac OS X.
81624 LIPO=$lt_LIPO
81625
81626 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
81627 OTOOL=$lt_OTOOL
81628
81629 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
81630 OTOOL64=$lt_OTOOL64
81631
81632 # Old archive suffix (normally "a").
81633 libext=$libext
81634
81635 # Shared library suffix (normally ".so").
81636 shrext_cmds=$lt_shrext_cmds
81637
81638 # The commands to extract the exported symbol list from a shared archive.
81639 extract_expsyms_cmds=$lt_extract_expsyms_cmds
81640
81641 # Variables whose values should be saved in libtool wrapper scripts and
81642 # restored at link time.
81643 variables_saved_for_relink=$lt_variables_saved_for_relink
81644
81645 # Do we need the "lib" prefix for modules?
81646 need_lib_prefix=$need_lib_prefix
81647
81648 # Do we need a version for libraries?
81649 need_version=$need_version
81650
81651 # Library versioning type.
81652 version_type=$version_type
81653
81654 # Shared library runtime path variable.
81655 runpath_var=$runpath_var
81656
81657 # Shared library path variable.
81658 shlibpath_var=$shlibpath_var
81659
81660 # Is shlibpath searched before the hard-coded library search path?
81661 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
81662
81663 # Format of library name prefix.
81664 libname_spec=$lt_libname_spec
81665
81666 # List of archive names. First name is the real one, the rest are links.
81667 # The last name is the one that the linker finds with -lNAME
81668 library_names_spec=$lt_library_names_spec
81669
81670 # The coded name of the library, if different from the real name.
81671 soname_spec=$lt_soname_spec
81672
81673 # Permission mode override for installation of shared libraries.
81674 install_override_mode=$lt_install_override_mode
81675
81676 # Command to use after installation of a shared archive.
81677 postinstall_cmds=$lt_postinstall_cmds
81678
81679 # Command to use after uninstallation of a shared archive.
81680 postuninstall_cmds=$lt_postuninstall_cmds
81681
81682 # Commands used to finish a libtool library installation in a directory.
81683 finish_cmds=$lt_finish_cmds
81684
81685 # As "finish_cmds", except a single script fragment to be evaled but
81686 # not shown.
81687 finish_eval=$lt_finish_eval
81688
81689 # Whether we should hardcode library paths into libraries.
81690 hardcode_into_libs=$hardcode_into_libs
81691
81692 # Compile-time system search path for libraries.
81693 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
81694
81695 # Run-time system search path for libraries.
81696 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
81697
81698 # Whether dlopen is supported.
81699 dlopen_support=$enable_dlopen
81700
81701 # Whether dlopen of programs is supported.
81702 dlopen_self=$enable_dlopen_self
81703
81704 # Whether dlopen of statically linked programs is supported.
81705 dlopen_self_static=$enable_dlopen_self_static
81706
81707 # Commands to strip libraries.
81708 old_striplib=$lt_old_striplib
81709 striplib=$lt_striplib
81710
81711
81712 # The linker used to build libraries.
81713 LD=$lt_LD
81714
81715 # How to create reloadable object files.
81716 reload_flag=$lt_reload_flag
81717 reload_cmds=$lt_reload_cmds
81718
81719 # Commands used to build an old-style archive.
81720 old_archive_cmds=$lt_old_archive_cmds
81721
81722 # A language specific compiler.
81723 CC=$lt_compiler
81724
81725 # Is the compiler the GNU compiler?
81726 with_gcc=$GCC
81727
81728 # Compiler flag to turn off builtin functions.
81729 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
81730
81731 # How to pass a linker flag through the compiler.
81732 wl=$lt_lt_prog_compiler_wl
81733
81734 # Additional compiler flags for building library objects.
81735 pic_flag=$lt_lt_prog_compiler_pic
81736
81737 # Compiler flag to prevent dynamic linking.
81738 link_static_flag=$lt_lt_prog_compiler_static
81739
81740 # Does compiler simultaneously support -c and -o options?
81741 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
81742
81743 # Whether or not to add -lc for building shared libraries.
81744 build_libtool_need_lc=$archive_cmds_need_lc
81745
81746 # Whether or not to disallow shared libs when runtime libs are static.
81747 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
81748
81749 # Compiler flag to allow reflexive dlopens.
81750 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
81751
81752 # Compiler flag to generate shared objects directly from archives.
81753 whole_archive_flag_spec=$lt_whole_archive_flag_spec
81754
81755 # Whether the compiler copes with passing no objects directly.
81756 compiler_needs_object=$lt_compiler_needs_object
81757
81758 # Create an old-style archive from a shared archive.
81759 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
81760
81761 # Create a temporary old-style archive to link instead of a shared archive.
81762 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
81763
81764 # Commands used to build a shared archive.
81765 archive_cmds=$lt_archive_cmds
81766 archive_expsym_cmds=$lt_archive_expsym_cmds
81767
81768 # Commands used to build a loadable module if different from building
81769 # a shared archive.
81770 module_cmds=$lt_module_cmds
81771 module_expsym_cmds=$lt_module_expsym_cmds
81772
81773 # Whether we are building with GNU ld or not.
81774 with_gnu_ld=$lt_with_gnu_ld
81775
81776 # Flag that allows shared libraries with undefined symbols to be built.
81777 allow_undefined_flag=$lt_allow_undefined_flag
81778
81779 # Flag that enforces no undefined symbols.
81780 no_undefined_flag=$lt_no_undefined_flag
81781
81782 # Flag to hardcode \$libdir into a binary during linking.
81783 # This must work even if \$libdir does not exist
81784 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
81785
81786 # If ld is used when linking, flag to hardcode \$libdir into a binary
81787 # during linking. This must work even if \$libdir does not exist.
81788 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
81789
81790 # Whether we need a single "-rpath" flag with a separated argument.
81791 hardcode_libdir_separator=$lt_hardcode_libdir_separator
81792
81793 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81794 # DIR into the resulting binary.
81795 hardcode_direct=$hardcode_direct
81796
81797 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
81798 # DIR into the resulting binary and the resulting library dependency is
81799 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
81800 # library is relocated.
81801 hardcode_direct_absolute=$hardcode_direct_absolute
81802
81803 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
81804 # into the resulting binary.
81805 hardcode_minus_L=$hardcode_minus_L
81806
81807 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
81808 # into the resulting binary.
81809 hardcode_shlibpath_var=$hardcode_shlibpath_var
81810
81811 # Set to "yes" if building a shared library automatically hardcodes DIR
81812 # into the library and all subsequent libraries and executables linked
81813 # against it.
81814 hardcode_automatic=$hardcode_automatic
81815
81816 # Set to yes if linker adds runtime paths of dependent libraries
81817 # to runtime path list.
81818 inherit_rpath=$inherit_rpath
81819
81820 # Whether libtool must link a program against all its dependency libraries.
81821 link_all_deplibs=$link_all_deplibs
81822
81823 # Fix the shell variable \$srcfile for the compiler.
81824 fix_srcfile_path=$lt_fix_srcfile_path
81825
81826 # Set to "yes" if exported symbols are required.
81827 always_export_symbols=$always_export_symbols
81828
81829 # The commands to list exported symbols.
81830 export_symbols_cmds=$lt_export_symbols_cmds
81831
81832 # Symbols that should not be listed in the preloaded symbols.
81833 exclude_expsyms=$lt_exclude_expsyms
81834
81835 # Symbols that must always be exported.
81836 include_expsyms=$lt_include_expsyms
81837
81838 # Commands necessary for linking programs (against libraries) with templates.
81839 prelink_cmds=$lt_prelink_cmds
81840
81841 # Specify filename containing input files.
81842 file_list_spec=$lt_file_list_spec
81843
81844 # How to hardcode a shared library path into an executable.
81845 hardcode_action=$hardcode_action
81846
81847 # The directories searched by this compiler when creating a shared library.
81848 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
81849
81850 # Dependencies to place before and after the objects being linked to
81851 # create a shared library.
81852 predep_objects=$lt_predep_objects
81853 postdep_objects=$lt_postdep_objects
81854 predeps=$lt_predeps
81855 postdeps=$lt_postdeps
81856
81857 # The library search path used internally by the compiler when linking
81858 # a shared library.
81859 compiler_lib_search_path=$lt_compiler_lib_search_path
81860
81861 # ### END LIBTOOL CONFIG
81862
81863 _LT_EOF
81864
81865 case $host_os in
81866 aix3*)
81867 cat <<\_LT_EOF >> "$cfgfile"
81868 # AIX sometimes has problems with the GCC collect2 program. For some
81869 # reason, if we set the COLLECT_NAMES environment variable, the problems
81870 # vanish in a puff of smoke.
81871 if test "X${COLLECT_NAMES+set}" != Xset; then
81872 COLLECT_NAMES=
81873 export COLLECT_NAMES
81874 fi
81875 _LT_EOF
81876 ;;
81877 esac
81878
81879
81880 ltmain="$ac_aux_dir/ltmain.sh"
81881
81882
81883 # We use sed instead of cat because bash on DJGPP gets confused if
81884 # if finds mixed CR/LF and LF-only lines. Since sed operates in
81885 # text mode, it properly converts lines to CR/LF. This bash problem
81886 # is reportedly fixed, but why not run on old versions too?
81887 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
81888 || (rm -f "$cfgfile"; exit 1)
81889
81890 case $xsi_shell in
81891 yes)
81892 cat << \_LT_EOF >> "$cfgfile"
81893
81894 # func_dirname file append nondir_replacement
81895 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81896 # otherwise set result to NONDIR_REPLACEMENT.
81897 func_dirname ()
81898 {
81899 case ${1} in
81900 */*) func_dirname_result="${1%/*}${2}" ;;
81901 * ) func_dirname_result="${3}" ;;
81902 esac
81903 }
81904
81905 # func_basename file
81906 func_basename ()
81907 {
81908 func_basename_result="${1##*/}"
81909 }
81910
81911 # func_dirname_and_basename file append nondir_replacement
81912 # perform func_basename and func_dirname in a single function
81913 # call:
81914 # dirname: Compute the dirname of FILE. If nonempty,
81915 # add APPEND to the result, otherwise set result
81916 # to NONDIR_REPLACEMENT.
81917 # value returned in "$func_dirname_result"
81918 # basename: Compute filename of FILE.
81919 # value retuned in "$func_basename_result"
81920 # Implementation must be kept synchronized with func_dirname
81921 # and func_basename. For efficiency, we do not delegate to
81922 # those functions but instead duplicate the functionality here.
81923 func_dirname_and_basename ()
81924 {
81925 case ${1} in
81926 */*) func_dirname_result="${1%/*}${2}" ;;
81927 * ) func_dirname_result="${3}" ;;
81928 esac
81929 func_basename_result="${1##*/}"
81930 }
81931
81932 # func_stripname prefix suffix name
81933 # strip PREFIX and SUFFIX off of NAME.
81934 # PREFIX and SUFFIX must not contain globbing or regex special
81935 # characters, hashes, percent signs, but SUFFIX may contain a leading
81936 # dot (in which case that matches only a dot).
81937 func_stripname ()
81938 {
81939 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
81940 # positional parameters, so assign one to ordinary parameter first.
81941 func_stripname_result=${3}
81942 func_stripname_result=${func_stripname_result#"${1}"}
81943 func_stripname_result=${func_stripname_result%"${2}"}
81944 }
81945
81946 # func_opt_split
81947 func_opt_split ()
81948 {
81949 func_opt_split_opt=${1%%=*}
81950 func_opt_split_arg=${1#*=}
81951 }
81952
81953 # func_lo2o object
81954 func_lo2o ()
81955 {
81956 case ${1} in
81957 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
81958 *) func_lo2o_result=${1} ;;
81959 esac
81960 }
81961
81962 # func_xform libobj-or-source
81963 func_xform ()
81964 {
81965 func_xform_result=${1%.*}.lo
81966 }
81967
81968 # func_arith arithmetic-term...
81969 func_arith ()
81970 {
81971 func_arith_result=$(( $* ))
81972 }
81973
81974 # func_len string
81975 # STRING may not start with a hyphen.
81976 func_len ()
81977 {
81978 func_len_result=${#1}
81979 }
81980
81981 _LT_EOF
81982 ;;
81983 *) # Bourne compatible functions.
81984 cat << \_LT_EOF >> "$cfgfile"
81985
81986 # func_dirname file append nondir_replacement
81987 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
81988 # otherwise set result to NONDIR_REPLACEMENT.
81989 func_dirname ()
81990 {
81991 # Extract subdirectory from the argument.
81992 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
81993 if test "X$func_dirname_result" = "X${1}"; then
81994 func_dirname_result="${3}"
81995 else
81996 func_dirname_result="$func_dirname_result${2}"
81997 fi
81998 }
81999
82000 # func_basename file
82001 func_basename ()
82002 {
82003 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82004 }
82005
82006
82007 # func_stripname prefix suffix name
82008 # strip PREFIX and SUFFIX off of NAME.
82009 # PREFIX and SUFFIX must not contain globbing or regex special
82010 # characters, hashes, percent signs, but SUFFIX may contain a leading
82011 # dot (in which case that matches only a dot).
82012 # func_strip_suffix prefix name
82013 func_stripname ()
82014 {
82015 case ${2} in
82016 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82017 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82018 esac
82019 }
82020
82021 # sed scripts:
82022 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82023 my_sed_long_arg='1s/^-[^=]*=//'
82024
82025 # func_opt_split
82026 func_opt_split ()
82027 {
82028 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82029 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82030 }
82031
82032 # func_lo2o object
82033 func_lo2o ()
82034 {
82035 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82036 }
82037
82038 # func_xform libobj-or-source
82039 func_xform ()
82040 {
82041 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82042 }
82043
82044 # func_arith arithmetic-term...
82045 func_arith ()
82046 {
82047 func_arith_result=`expr "$@"`
82048 }
82049
82050 # func_len string
82051 # STRING may not start with a hyphen.
82052 func_len ()
82053 {
82054 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82055 }
82056
82057 _LT_EOF
82058 esac
82059
82060 case $lt_shell_append in
82061 yes)
82062 cat << \_LT_EOF >> "$cfgfile"
82063
82064 # func_append var value
82065 # Append VALUE to the end of shell variable VAR.
82066 func_append ()
82067 {
82068 eval "$1+=\$2"
82069 }
82070 _LT_EOF
82071 ;;
82072 *)
82073 cat << \_LT_EOF >> "$cfgfile"
82074
82075 # func_append var value
82076 # Append VALUE to the end of shell variable VAR.
82077 func_append ()
82078 {
82079 eval "$1=\$$1\$2"
82080 }
82081
82082 _LT_EOF
82083 ;;
82084 esac
82085
82086
82087 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82088 || (rm -f "$cfgfile"; exit 1)
82089
82090 mv -f "$cfgfile" "$ofile" ||
82091 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82092 chmod +x "$ofile"
82093
82094
82095 cat <<_LT_EOF >> "$ofile"
82096
82097 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82098
82099 # The linker used to build libraries.
82100 LD=$lt_LD_CXX
82101
82102 # How to create reloadable object files.
82103 reload_flag=$lt_reload_flag_CXX
82104 reload_cmds=$lt_reload_cmds_CXX
82105
82106 # Commands used to build an old-style archive.
82107 old_archive_cmds=$lt_old_archive_cmds_CXX
82108
82109 # A language specific compiler.
82110 CC=$lt_compiler_CXX
82111
82112 # Is the compiler the GNU compiler?
82113 with_gcc=$GCC_CXX
82114
82115 # Compiler flag to turn off builtin functions.
82116 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82117
82118 # How to pass a linker flag through the compiler.
82119 wl=$lt_lt_prog_compiler_wl_CXX
82120
82121 # Additional compiler flags for building library objects.
82122 pic_flag=$lt_lt_prog_compiler_pic_CXX
82123
82124 # Compiler flag to prevent dynamic linking.
82125 link_static_flag=$lt_lt_prog_compiler_static_CXX
82126
82127 # Does compiler simultaneously support -c and -o options?
82128 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82129
82130 # Whether or not to add -lc for building shared libraries.
82131 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82132
82133 # Whether or not to disallow shared libs when runtime libs are static.
82134 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82135
82136 # Compiler flag to allow reflexive dlopens.
82137 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82138
82139 # Compiler flag to generate shared objects directly from archives.
82140 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82141
82142 # Whether the compiler copes with passing no objects directly.
82143 compiler_needs_object=$lt_compiler_needs_object_CXX
82144
82145 # Create an old-style archive from a shared archive.
82146 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82147
82148 # Create a temporary old-style archive to link instead of a shared archive.
82149 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82150
82151 # Commands used to build a shared archive.
82152 archive_cmds=$lt_archive_cmds_CXX
82153 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82154
82155 # Commands used to build a loadable module if different from building
82156 # a shared archive.
82157 module_cmds=$lt_module_cmds_CXX
82158 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82159
82160 # Whether we are building with GNU ld or not.
82161 with_gnu_ld=$lt_with_gnu_ld_CXX
82162
82163 # Flag that allows shared libraries with undefined symbols to be built.
82164 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82165
82166 # Flag that enforces no undefined symbols.
82167 no_undefined_flag=$lt_no_undefined_flag_CXX
82168
82169 # Flag to hardcode \$libdir into a binary during linking.
82170 # This must work even if \$libdir does not exist
82171 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82172
82173 # If ld is used when linking, flag to hardcode \$libdir into a binary
82174 # during linking. This must work even if \$libdir does not exist.
82175 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82176
82177 # Whether we need a single "-rpath" flag with a separated argument.
82178 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82179
82180 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82181 # DIR into the resulting binary.
82182 hardcode_direct=$hardcode_direct_CXX
82183
82184 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82185 # DIR into the resulting binary and the resulting library dependency is
82186 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82187 # library is relocated.
82188 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82189
82190 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82191 # into the resulting binary.
82192 hardcode_minus_L=$hardcode_minus_L_CXX
82193
82194 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82195 # into the resulting binary.
82196 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82197
82198 # Set to "yes" if building a shared library automatically hardcodes DIR
82199 # into the library and all subsequent libraries and executables linked
82200 # against it.
82201 hardcode_automatic=$hardcode_automatic_CXX
82202
82203 # Set to yes if linker adds runtime paths of dependent libraries
82204 # to runtime path list.
82205 inherit_rpath=$inherit_rpath_CXX
82206
82207 # Whether libtool must link a program against all its dependency libraries.
82208 link_all_deplibs=$link_all_deplibs_CXX
82209
82210 # Fix the shell variable \$srcfile for the compiler.
82211 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82212
82213 # Set to "yes" if exported symbols are required.
82214 always_export_symbols=$always_export_symbols_CXX
82215
82216 # The commands to list exported symbols.
82217 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82218
82219 # Symbols that should not be listed in the preloaded symbols.
82220 exclude_expsyms=$lt_exclude_expsyms_CXX
82221
82222 # Symbols that must always be exported.
82223 include_expsyms=$lt_include_expsyms_CXX
82224
82225 # Commands necessary for linking programs (against libraries) with templates.
82226 prelink_cmds=$lt_prelink_cmds_CXX
82227
82228 # Specify filename containing input files.
82229 file_list_spec=$lt_file_list_spec_CXX
82230
82231 # How to hardcode a shared library path into an executable.
82232 hardcode_action=$hardcode_action_CXX
82233
82234 # The directories searched by this compiler when creating a shared library.
82235 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82236
82237 # Dependencies to place before and after the objects being linked to
82238 # create a shared library.
82239 predep_objects=$lt_predep_objects_CXX
82240 postdep_objects=$lt_postdep_objects_CXX
82241 predeps=$lt_predeps_CXX
82242 postdeps=$lt_postdeps_CXX
82243
82244 # The library search path used internally by the compiler when linking
82245 # a shared library.
82246 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82247
82248 # ### END LIBTOOL TAG CONFIG: CXX
82249 _LT_EOF
82250
82251 ;;
82252 "include/gstdint.h":C)
82253 if test "$GCC" = yes; then
82254 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82255 else
82256 echo "/* generated for $CC */" > tmp-stdint.h
82257 fi
82258
82259 sed 's/^ *//' >> tmp-stdint.h <<EOF
82260
82261 #ifndef GCC_GENERATED_STDINT_H
82262 #define GCC_GENERATED_STDINT_H 1
82263
82264 #include <sys/types.h>
82265 EOF
82266
82267 if test "$acx_cv_header_stdint" != stdint.h; then
82268 echo "#include <stddef.h>" >> tmp-stdint.h
82269 fi
82270 if test "$acx_cv_header_stdint" != stddef.h; then
82271 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82272 fi
82273
82274 sed 's/^ *//' >> tmp-stdint.h <<EOF
82275 /* glibc uses these symbols as guards to prevent redefinitions. */
82276 #ifdef __int8_t_defined
82277 #define _INT8_T
82278 #define _INT16_T
82279 #define _INT32_T
82280 #endif
82281 #ifdef __uint32_t_defined
82282 #define _UINT32_T
82283 #endif
82284
82285 EOF
82286
82287 # ----------------- done header, emit basic int types -------------
82288 if test "$acx_cv_header_stdint" = stddef.h; then
82289 sed 's/^ *//' >> tmp-stdint.h <<EOF
82290
82291 #ifndef _UINT8_T
82292 #define _UINT8_T
82293 #ifndef __uint8_t_defined
82294 #define __uint8_t_defined
82295 #ifndef uint8_t
82296 typedef unsigned $acx_cv_type_int8_t uint8_t;
82297 #endif
82298 #endif
82299 #endif
82300
82301 #ifndef _UINT16_T
82302 #define _UINT16_T
82303 #ifndef __uint16_t_defined
82304 #define __uint16_t_defined
82305 #ifndef uint16_t
82306 typedef unsigned $acx_cv_type_int16_t uint16_t;
82307 #endif
82308 #endif
82309 #endif
82310
82311 #ifndef _UINT32_T
82312 #define _UINT32_T
82313 #ifndef __uint32_t_defined
82314 #define __uint32_t_defined
82315 #ifndef uint32_t
82316 typedef unsigned $acx_cv_type_int32_t uint32_t;
82317 #endif
82318 #endif
82319 #endif
82320
82321 #ifndef _INT8_T
82322 #define _INT8_T
82323 #ifndef __int8_t_defined
82324 #define __int8_t_defined
82325 #ifndef int8_t
82326 typedef $acx_cv_type_int8_t int8_t;
82327 #endif
82328 #endif
82329 #endif
82330
82331 #ifndef _INT16_T
82332 #define _INT16_T
82333 #ifndef __int16_t_defined
82334 #define __int16_t_defined
82335 #ifndef int16_t
82336 typedef $acx_cv_type_int16_t int16_t;
82337 #endif
82338 #endif
82339 #endif
82340
82341 #ifndef _INT32_T
82342 #define _INT32_T
82343 #ifndef __int32_t_defined
82344 #define __int32_t_defined
82345 #ifndef int32_t
82346 typedef $acx_cv_type_int32_t int32_t;
82347 #endif
82348 #endif
82349 #endif
82350 EOF
82351 elif test "$ac_cv_type_u_int32_t" = yes; then
82352 sed 's/^ *//' >> tmp-stdint.h <<EOF
82353
82354 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82355 #ifndef _INT8_T
82356 #define _INT8_T
82357 #endif
82358 #ifndef _INT16_T
82359 #define _INT16_T
82360 #endif
82361 #ifndef _INT32_T
82362 #define _INT32_T
82363 #endif
82364
82365 #ifndef _UINT8_T
82366 #define _UINT8_T
82367 #ifndef __uint8_t_defined
82368 #define __uint8_t_defined
82369 #ifndef uint8_t
82370 typedef u_int8_t uint8_t;
82371 #endif
82372 #endif
82373 #endif
82374
82375 #ifndef _UINT16_T
82376 #define _UINT16_T
82377 #ifndef __uint16_t_defined
82378 #define __uint16_t_defined
82379 #ifndef uint16_t
82380 typedef u_int16_t uint16_t;
82381 #endif
82382 #endif
82383 #endif
82384
82385 #ifndef _UINT32_T
82386 #define _UINT32_T
82387 #ifndef __uint32_t_defined
82388 #define __uint32_t_defined
82389 #ifndef uint32_t
82390 typedef u_int32_t uint32_t;
82391 #endif
82392 #endif
82393 #endif
82394 EOF
82395 else
82396 sed 's/^ *//' >> tmp-stdint.h <<EOF
82397
82398 /* Some systems have guard macros to prevent redefinitions, define them. */
82399 #ifndef _INT8_T
82400 #define _INT8_T
82401 #endif
82402 #ifndef _INT16_T
82403 #define _INT16_T
82404 #endif
82405 #ifndef _INT32_T
82406 #define _INT32_T
82407 #endif
82408 #ifndef _UINT8_T
82409 #define _UINT8_T
82410 #endif
82411 #ifndef _UINT16_T
82412 #define _UINT16_T
82413 #endif
82414 #ifndef _UINT32_T
82415 #define _UINT32_T
82416 #endif
82417 EOF
82418 fi
82419
82420 # ------------- done basic int types, emit int64_t types ------------
82421 if test "$ac_cv_type_uint64_t" = yes; then
82422 sed 's/^ *//' >> tmp-stdint.h <<EOF
82423
82424 /* system headers have good uint64_t and int64_t */
82425 #ifndef _INT64_T
82426 #define _INT64_T
82427 #endif
82428 #ifndef _UINT64_T
82429 #define _UINT64_T
82430 #endif
82431 EOF
82432 elif test "$ac_cv_type_u_int64_t" = yes; then
82433 sed 's/^ *//' >> tmp-stdint.h <<EOF
82434
82435 /* system headers have an u_int64_t (and int64_t) */
82436 #ifndef _INT64_T
82437 #define _INT64_T
82438 #endif
82439 #ifndef _UINT64_T
82440 #define _UINT64_T
82441 #ifndef __uint64_t_defined
82442 #define __uint64_t_defined
82443 #ifndef uint64_t
82444 typedef u_int64_t uint64_t;
82445 #endif
82446 #endif
82447 #endif
82448 EOF
82449 elif test -n "$acx_cv_type_int64_t"; then
82450 sed 's/^ *//' >> tmp-stdint.h <<EOF
82451
82452 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82453 #ifndef _INT64_T
82454 #define _INT64_T
82455 #ifndef int64_t
82456 typedef $acx_cv_type_int64_t int64_t;
82457 #endif
82458 #endif
82459 #ifndef _UINT64_T
82460 #define _UINT64_T
82461 #ifndef __uint64_t_defined
82462 #define __uint64_t_defined
82463 #ifndef uint64_t
82464 typedef unsigned $acx_cv_type_int64_t uint64_t;
82465 #endif
82466 #endif
82467 #endif
82468 EOF
82469 else
82470 sed 's/^ *//' >> tmp-stdint.h <<EOF
82471
82472 /* some common heuristics for int64_t, using compiler-specific tests */
82473 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82474 #ifndef _INT64_T
82475 #define _INT64_T
82476 #ifndef __int64_t_defined
82477 #ifndef int64_t
82478 typedef long long int64_t;
82479 #endif
82480 #endif
82481 #endif
82482 #ifndef _UINT64_T
82483 #define _UINT64_T
82484 #ifndef uint64_t
82485 typedef unsigned long long uint64_t;
82486 #endif
82487 #endif
82488
82489 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
82490 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
82491 does not implement __extension__. But that compiler doesn't define
82492 __GNUC_MINOR__. */
82493 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
82494 # define __extension__
82495 # endif
82496
82497 # ifndef _INT64_T
82498 # define _INT64_T
82499 # ifndef int64_t
82500 __extension__ typedef long long int64_t;
82501 # endif
82502 # endif
82503 # ifndef _UINT64_T
82504 # define _UINT64_T
82505 # ifndef uint64_t
82506 __extension__ typedef unsigned long long uint64_t;
82507 # endif
82508 # endif
82509
82510 #elif !defined __STRICT_ANSI__
82511 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
82512
82513 # ifndef _INT64_T
82514 # define _INT64_T
82515 # ifndef int64_t
82516 typedef __int64 int64_t;
82517 # endif
82518 # endif
82519 # ifndef _UINT64_T
82520 # define _UINT64_T
82521 # ifndef uint64_t
82522 typedef unsigned __int64 uint64_t;
82523 # endif
82524 # endif
82525 # endif /* compiler */
82526
82527 #endif /* ANSI version */
82528 EOF
82529 fi
82530
82531 # ------------- done int64_t types, emit intptr types ------------
82532 if test "$ac_cv_type_uintptr_t" != yes; then
82533 sed 's/^ *//' >> tmp-stdint.h <<EOF
82534
82535 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
82536 #ifndef __uintptr_t_defined
82537 #ifndef uintptr_t
82538 typedef u$acx_cv_type_intptr_t uintptr_t;
82539 #endif
82540 #endif
82541 #ifndef __intptr_t_defined
82542 #ifndef intptr_t
82543 typedef $acx_cv_type_intptr_t intptr_t;
82544 #endif
82545 #endif
82546 EOF
82547 fi
82548
82549 # ------------- done intptr types, emit int_least types ------------
82550 if test "$ac_cv_type_int_least32_t" != yes; then
82551 sed 's/^ *//' >> tmp-stdint.h <<EOF
82552
82553 /* Define int_least types */
82554 typedef int8_t int_least8_t;
82555 typedef int16_t int_least16_t;
82556 typedef int32_t int_least32_t;
82557 #ifdef _INT64_T
82558 typedef int64_t int_least64_t;
82559 #endif
82560
82561 typedef uint8_t uint_least8_t;
82562 typedef uint16_t uint_least16_t;
82563 typedef uint32_t uint_least32_t;
82564 #ifdef _UINT64_T
82565 typedef uint64_t uint_least64_t;
82566 #endif
82567 EOF
82568 fi
82569
82570 # ------------- done intptr types, emit int_fast types ------------
82571 if test "$ac_cv_type_int_fast32_t" != yes; then
82572 sed 's/^ *//' >> tmp-stdint.h <<EOF
82573
82574 /* Define int_fast types. short is often slow */
82575 typedef int8_t int_fast8_t;
82576 typedef int int_fast16_t;
82577 typedef int32_t int_fast32_t;
82578 #ifdef _INT64_T
82579 typedef int64_t int_fast64_t;
82580 #endif
82581
82582 typedef uint8_t uint_fast8_t;
82583 typedef unsigned int uint_fast16_t;
82584 typedef uint32_t uint_fast32_t;
82585 #ifdef _UINT64_T
82586 typedef uint64_t uint_fast64_t;
82587 #endif
82588 EOF
82589 fi
82590
82591 if test "$ac_cv_type_uintmax_t" != yes; then
82592 sed 's/^ *//' >> tmp-stdint.h <<EOF
82593
82594 /* Define intmax based on what we found */
82595 #ifndef intmax_t
82596 #ifdef _INT64_T
82597 typedef int64_t intmax_t;
82598 #else
82599 typedef long intmax_t;
82600 #endif
82601 #endif
82602 #ifndef uintmax_t
82603 #ifdef _UINT64_T
82604 typedef uint64_t uintmax_t;
82605 #else
82606 typedef unsigned long uintmax_t;
82607 #endif
82608 #endif
82609 EOF
82610 fi
82611
82612 sed 's/^ *//' >> tmp-stdint.h <<EOF
82613
82614 #endif /* GCC_GENERATED_STDINT_H */
82615 EOF
82616
82617 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
82618 rm -f tmp-stdint.h
82619 else
82620 mv -f tmp-stdint.h include/gstdint.h
82621 fi
82622
82623 ;;
82624 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
82625 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
82626 "include/Makefile":F) cat > vpsed$$ << \_EOF
82627 s!`test -f '$<' || echo '$(srcdir)/'`!!
82628 _EOF
82629 sed -f vpsed$$ $ac_file > tmp$$
82630 mv tmp$$ $ac_file
82631 rm vpsed$$
82632 echo 'MULTISUBDIR =' >> $ac_file
82633 ml_norecursion=yes
82634 . ${multi_basedir}/config-ml.in
82635 { ml_norecursion=; unset ml_norecursion;}
82636 ;;
82637 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
82638 s!`test -f '$<' || echo '$(srcdir)/'`!!
82639 _EOF
82640 sed -f vpsed$$ $ac_file > tmp$$
82641 mv tmp$$ $ac_file
82642 rm vpsed$$
82643 echo 'MULTISUBDIR =' >> $ac_file
82644 ml_norecursion=yes
82645 . ${multi_basedir}/config-ml.in
82646 { ml_norecursion=; unset ml_norecursion;}
82647 ;;
82648 "python/Makefile":F) cat > vpsed$$ << \_EOF
82649 s!`test -f '$<' || echo '$(srcdir)/'`!!
82650 _EOF
82651 sed -f vpsed$$ $ac_file > tmp$$
82652 mv tmp$$ $ac_file
82653 rm vpsed$$
82654 echo 'MULTISUBDIR =' >> $ac_file
82655 ml_norecursion=yes
82656 . ${multi_basedir}/config-ml.in
82657 { ml_norecursion=; unset ml_norecursion;}
82658 ;;
82659 "src/Makefile":F) cat > vpsed$$ << \_EOF
82660 s!`test -f '$<' || echo '$(srcdir)/'`!!
82661 _EOF
82662 sed -f vpsed$$ $ac_file > tmp$$
82663 mv tmp$$ $ac_file
82664 rm vpsed$$
82665 echo 'MULTISUBDIR =' >> $ac_file
82666 ml_norecursion=yes
82667 . ${multi_basedir}/config-ml.in
82668 { ml_norecursion=; unset ml_norecursion;}
82669 ;;
82670 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
82671 s!`test -f '$<' || echo '$(srcdir)/'`!!
82672 _EOF
82673 sed -f vpsed$$ $ac_file > tmp$$
82674 mv tmp$$ $ac_file
82675 rm vpsed$$
82676 echo 'MULTISUBDIR =' >> $ac_file
82677 ml_norecursion=yes
82678 . ${multi_basedir}/config-ml.in
82679 { ml_norecursion=; unset ml_norecursion;}
82680 ;;
82681 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
82682 s!`test -f '$<' || echo '$(srcdir)/'`!!
82683 _EOF
82684 sed -f vpsed$$ $ac_file > tmp$$
82685 mv tmp$$ $ac_file
82686 rm vpsed$$
82687 echo 'MULTISUBDIR =' >> $ac_file
82688 ml_norecursion=yes
82689 . ${multi_basedir}/config-ml.in
82690 { ml_norecursion=; unset ml_norecursion;}
82691 ;;
82692 "doc/Makefile":F) cat > vpsed$$ << \_EOF
82693 s!`test -f '$<' || echo '$(srcdir)/'`!!
82694 _EOF
82695 sed -f vpsed$$ $ac_file > tmp$$
82696 mv tmp$$ $ac_file
82697 rm vpsed$$
82698 echo 'MULTISUBDIR =' >> $ac_file
82699 ml_norecursion=yes
82700 . ${multi_basedir}/config-ml.in
82701 { ml_norecursion=; unset ml_norecursion;}
82702 ;;
82703 "po/Makefile":F) cat > vpsed$$ << \_EOF
82704 s!`test -f '$<' || echo '$(srcdir)/'`!!
82705 _EOF
82706 sed -f vpsed$$ $ac_file > tmp$$
82707 mv tmp$$ $ac_file
82708 rm vpsed$$
82709 echo 'MULTISUBDIR =' >> $ac_file
82710 ml_norecursion=yes
82711 . ${multi_basedir}/config-ml.in
82712 { ml_norecursion=; unset ml_norecursion;}
82713 ;;
82714 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
82715 s!`test -f '$<' || echo '$(srcdir)/'`!!
82716 _EOF
82717 sed -f vpsed$$ $ac_file > tmp$$
82718 mv tmp$$ $ac_file
82719 rm vpsed$$
82720 echo 'MULTISUBDIR =' >> $ac_file
82721 ml_norecursion=yes
82722 . ${multi_basedir}/config-ml.in
82723 { ml_norecursion=; unset ml_norecursion;}
82724 ;;
82725 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
82726
82727 esac
82728 done # for ac_tag
82729
82730
82731 as_fn_exit 0
82732 _ACEOF
82733 ac_clean_files=$ac_clean_files_save
82734
82735 test $ac_write_fail = 0 ||
82736 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
82737
82738
82739 # configure is writing to config.log, and then calls config.status.
82740 # config.status does its own redirection, appending to config.log.
82741 # Unfortunately, on DOS this fails, as config.log is still kept open
82742 # by configure, so config.status won't be able to write to it; its
82743 # output is simply discarded. So we exec the FD to /dev/null,
82744 # effectively closing config.log, so it can be properly (re)opened and
82745 # appended to by config.status. When coming back to configure, we
82746 # need to make the FD available again.
82747 if test "$no_create" != yes; then
82748 ac_cs_success=:
82749 ac_config_status_args=
82750 test "$silent" = yes &&
82751 ac_config_status_args="$ac_config_status_args --quiet"
82752 exec 5>/dev/null
82753 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
82754 exec 5>>config.log
82755 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
82756 # would make configure fail if this is the last instruction.
82757 $ac_cs_success || as_fn_exit $?
82758 fi
82759 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
82760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
82761 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
82762 fi
82763